/* 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{
color: #303030;
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;
}

/* 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: #303030;
}


/* HP Testi Box Slider Bg */

.module-testimonials {
    background-image: url(https://s3.amazonaws.com/static.organiclead.com/Site-8823bb89-f719-46f2-9482-6637cfb7e657/1_HP/testi_bg_uu.jpg);
    background-size: cover;
}


.hp-brands-bg {
    background-image: url(https://s3.amazonaws.com/static.organiclead.com/Site-96ccafc2-dba3-45de-b2a3-ea4197fd52c4/1_HP/services_circle_bg.jpg);background-size: cover;
}

.footer-heading h4 {
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 500 !important;
    letter-spacing: 1px;
}

.subheading{
    letter-spacing: 10px;
}

/* HP Heading Styles */
h3 {
        font-size: 32px !important;
    text-transform: none;
}

h6 { 
    font-family: Poppins;
    text-transform: uppercase;
    letter-spacing: 10px;
}

body[data-page-name="articles"] div#contents ul li, body[data-page-name="articles"] div#contents ul li a,
body[data-page-name="blog"] div#contents ul li, body[data-page-name="blog"] div#contents ul li a {
    list-style: none !important;
    color: #fff !important;
}

body[data-page-name="contact-us"] #footer-map {
	display: none;
}

body[data-page-name="contact-us"] #ry-footer-3 {
	padding-top: 220px;
}



/*RESPONSIVE*/

@media (max-width:1080px) {
	div#navigation-style-4, .ry-menu {
		display: none !important;
	}

	.snap-mobile-menu {
		display: flex !important;
	}
	
	.homepage-swiper h2 {
	  font-size: 28px;
	  line-height: 1.1;
	}

	.homepage-swiper {
		text-align:center;
	}
	
	.snap-mobile-menu .gap-4 {
    gap: 0 10px;
}

	#hp-insurance-1, .hp-testi-bg,.homepage-swiper h2, #hp-brands-3,
	#hp-brands-6, #section-hp-team, .ry-services.style2, .module-testimonials.style-4 {
	  text-align: center;
		padding: 4em 0;
	}

	#footer-map {
	  height: 400px !important;
	}

	div.module-welcome h6 {
		text-align:center !important;
	}


	.module-welcome.style-5 .ry-flex {
		gap: 2em 0;
	}
	
	
	
	.module-testimonials.style-4 .flex.items-center.space-x-2.mb-5 {
		justify-content: center;
	}

	
	

	.snap-mobile-menu img {
			max-width: 200px;
	}

	.snap-mobile-menu .gap-6 {
			gap: 0 10px;
	}

	div.module-testimonials {
		text-align: center;
	}
	.comments-holder {
		padding: 5em 1em !important;
	}
	
	.ry-services.style2 .each-block .photo:before {
		        background: transparent !important;
	}

}


@media (max-width:500px) {
	.snap-mobile-menu img {
        max-width: 160px !important;
    }
	
	.ry-services.style2, #section-hp-team, div#hp-insurance-1 {
		padding: 4em 1em !important;
	}


	.module-testimonials.style-4 {
		padding: 4em 1em 6em !important;
	}
}
