/* Before adding any unnecessary CSS rules, please check out the Snap documentation at https://bit.ly/3PqSii8. */
/* Override Styles */
/*
.service-style-1 h2 {margin: 10px 0;}
.ry-menu .ry-nav li .dropdown-toggle {padding: 30px 0;}
ul#quick-links li a {display: block;width: 100%;}
#in-services-3 ul li a {margin-left: 0px;margin-top:30px}
*/
[x-cloak] { display: none !important; }
.promotions img { min-width: 22rem; max-width:22rem;}
#in-services-style-2.squares .ry-each:before, #in-services-style-2.squares .ry-each img {border-radius: 0;}
.mobile-menu-icon a{display: flex;height: 100%;width: 100%;justify-content: center;align-items: center;}
body.fancybox-active .ry-sticky-menu.fixed {z-index: 9999;}
.testimonials-swiper p,
.testimonials-swiper-2 p{
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4
}
.service-hover {
    position: absolute;
    z-index: 9;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: white;
}

.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each.phone .ry-text span.span-2,
.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each.phone .ry-text a {
    font-size: 23px !important;
    font-weight: bold;
    color: #373737;
}

/* Show service-hover when parent with data-target is hovered */
[data-target]:hover .service-hover {
    opacity: 1;
}

/* Apply the overlay effect when parent is hovered */
[data-target]:hover .service-hover::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1; /* Make sure it's behind the text */
}
.mm-navbar {
	color: #030303;
}


.footer-links li {font-size: 15px;}
.footer-copyright p {font-size: 15px!important;}

.icon-invert {filter: invert(10);}

.hp-testi_four-bg{
	background-image: url(https://s3.amazonaws.com/static.organiclead.com/Site-a19ba698-05f6-4a69-9062-003c8bd5170b/hp_reviews_bg_u.jpg);
	background-size:cover;
	padding-bottom: 200px !important;
}

.cta-btn-circle:hover .cta-icon {
    color: #577e8f;
}

div#hp-cta-section {
    padding: 15em 5em;
}



@media (max-width:1500px) {
    div#navigation-style-5 img {
		max-width: 280px !important;
	}

	.ry-menu .ry-nav {
		gap: 0 25px;
		font-size: 18px !important;
	}
}

@media (max-width:1218px) {
    div.footer-copyright >div {
		align-items: center;
		text-align: center;

	}


	#ry-footer li, .footer-copyright p, .footer-copyright a, #ry-footer li span {
		font-weight: normal !important;
		font-size: 14px !important;
	}


	.footer-copyright span, .footer-copyright p, .footer-copyright a {
		font-size: 14px !important;
		line-height: 1.5;
	}

}

@media (max-width:1199px) {
	  .snap-mobile-menu {
		display: flex !important;
	}
	
	div.testimonials-swiper-4 .flex.items-center.space-x-2.mb-5 {
		justify-content: center;
		margin-top:10px;
	}
	
	div.module-welcome p {
		text-align: center !important;
	}

	.snap-mobile-menu img {
		max-width: 220px;
		max-height: 70px !important;
	}

	div#navigation-style-5 {
		display: none;
	}
	
	div#hp-cta-section {
		padding: 4em !important;
	}
	
	div.slider-info-center-bottom {
	   position: static;
	   transform: initial !important;
	   background-color: var(--color-secondary-background);
	   text-align: center;
	}
	
	div.slider-info-center-bottom a.ry-btn.ry-btn-primary {
		margin-bottom: 2em !important;
	}
	
	div#section-hp-services .module-welcome.style-6 {
		text-align: center;
	}

	.homepage-swiper h2 {
		font-size: 30px !important;
		line-height: 1.2 !important;
	}

	div#section-hp-services,
	div#section-hp-team,
	div#hp-brands-6,
	div#hp-insurance-1,
	.module-testimonials.style-4{
		text-align: center !important;
	}

	div#hp-brands-6 .gap-2, div#hp-insurance-1 .gap-2 {
		justify-content: center !important;
		align-items: center !important;
	}
	
	.module-welcome.style-6 .text-wrapper p {
		text-align: center !important;
	}
	
	.hp-testi_four-bg {
	  padding-bottom:  7em !important;
	}

}

@media (max-width:991px) {
	   div#hp-cta-section {
		padding: 0.5em 1em 3em !important;
	}
	
	.snap-mobile-menu .gap-4 {
        gap: 0 10px !important;
	}

     div#hp-cta-section  img {
         max-width:250px !important;
         margin: 0 auto !important;
	}
	
	.snap-mobile-menu img {
        max-width: 180px !important;
        max-height: 60px !important;
    }
	
	.module-welcome.style-6 .ry-each h2 {
        font-size: 30px;
        line-height: 1.2;
    }
}

div#rev-flex {
    flex-direction: row;
	margin-top: 2em;
}

div#rev-flex div#pub-goo {
    width: 45%;
}

div#rev-flex a.ry-btn.ry-btn-primary {
    white-space: nowrap;
    padding: 12px 10px;
    min-width:170px;
	text-decoration: none;
}

.publish-social img {
    max-width: 150px;
    margin: 0 auto 10px;
}


@media (max-width:500px) {
	div#rev-flex a.ry-btn {
		 min-width: 150px !important;
		font-size: 14px !important;
	}
}
#navigation{
    position:absolute;
    background:#fff !important
}

@media (min-width: 1200px) {
    .homepage-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
}
    .slider-info-center-bottom {
        max-width:900px;
        width:100%
    }

.homepage-swiper .swiper-slide::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 400px; /* adjust as needed */
    background: linear-gradient(
        to top,
        rgb(0 0 0) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
}
}
@media (min-width: 768px) {
    .slider-info-center-bottom {
        bottom: 0%;
    }
}
@media (max-width: 768px) {
.homepage-swiper .swiper-slide img {
    height:60vh !important
}
}

.homepage-swiper .swiper-slide .ry-btn:hover {
    background:var(--color-primary-background)
}

.homepage-swiper .swiper-slide .max-h-\[100px\] {
    min-height:fit-content;
    overflow:hidden
}
#section-hp-services .w-2\/3 {
    width:fit-content
}

.custom-social-wrapper .social-inner-wrap li a.tiktok {
	background:#000
}