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


/* HP Testi Box Slider Bg */

.module-testimonials {
    background-image: url(https://s3.amazonaws.com/static.organiclead.com/Site-9fd54b4f-2210-4d06-a6ac-b99364d2d998/1_HP/testi_bg.jpg);
    background-size: cover;
    background position: center top;
}


.hp-brands-bg {
    background-image: url(https://s3.amazonaws.com/static.organiclead.com/Site-9fd54b4f-2210-4d06-a6ac-b99364d2d998/1_HP/brands_bg.jpg);
    background-size: cover;
    background position: center top;
}

.hp-cta-bg {
    background-image: url(https://s3.amazonaws.com/static.organiclead.com/Site-9fd54b4f-2210-4d06-a6ac-b99364d2d998/1_HP/cta_bg.jpg);
    background-size: cover;
    background position: center top;
}

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

.subheading{
    letter-spacing: 10px;
}


div#navigation {
  background: #fff!important;
}

/* HP Heading Styles */



.h-main h3 {
    font-size: 4rem!important;
    text-transform: uppercase;
    line-height: 1;
	font-weight: 400 !important;
}

.h-sub h6 { 
    font-family: Poppins;
    text-transform: uppercase;
    letter-spacing: 10px;
	font-weight: 200 !important;
}

.white-img {
    filter: invert(1) brightness(10) contrast(10);
}

.ry-menu .ry-nav li.primary {
    text-transform: uppercase;
}


@media (max-width: 1200px) {
	.footer-heading h4 {
		font-size: 22px;
	}
}

@media (max-width:1080px) {
	div#navigation-style-4, .ry-menu {
		display: none !important;
	}
	.snap-mobile-menu {
		display: flex !important;
		background:#fff;
	}
	.snap-mobile-menu mm-burger {
		color: #333 !important;
	}
	.snap-mobile-menu .gap-6, .snap-mobile-menu .gap-4 {
		gap: 0 10px;
	}
	.h-main h3, .homepage-swiper .swiper-slide h3 {
		font-size: 35px !important;
	}
	div#hp-slider h3, div#hp-slider h1 {
		font-size: 40px;
	}
	.slider-info {
		padding: 3em 2em;
		min-height: 100% !important;
	}
	.hp-cta-bg {
		padding: 4em 1em !important;
	}
	div.slider-info-center-bottom {
		padding: 3em 2em;
		background: var(--color-primary-text);
		position: static;
		transform: none !important;
	}
	div#hp-slider, div#hp-slider img {
		height: auto !important;
	}
	#hp-brands-3 {
		padding: 4em 0;
	}
	#hp-brands-3 .pb-20 {
		padding: 0 !important;
	}
	#hp-brands-3 .max-w-4xl {
		padding: 0 1em;
	}
	.ry-hp-team {
		padding: 4em 1em !important
	}
	div#hp-slider .ry-btn.ry-btn-primary {
		background: var(--color-primary-background);
	}
	#hp-insurance-1 {
		padding: 4em 1em !important;
	}
	div.module-testimonials {
		padding-bottom: 5em;
	}
	#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;
	}
	#footer-map {
		height: 400px !important;
	}
	.module-testimonials.style-4 .flex.items-center.space-x-2.mb-5 {
		justify-content: center;
	}
	div.module-testimonials .md\:grid {
		display: flex;
		flex-direction: column;
		padding: 0;
		gap: 1em 0;
	}
	div.module-testimonials img {
		max-width: 250px;
		margin: 0 auto 1em;
	}
	.module-testimonials .swiper-wrapper {
		max-width: 700px;
	}
	
	.module-testimonials.style-4 .review-separator {
		display: none;
	}
	#ry-footer .grid-cols-12 {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		text-align: center;
		gap: 3em 0 !important;
	}
	#ry-footer .flex.justify-between.flex-col.xl\:flex-row {
		text-align: center;
		gap: 10px;
		justify-content: center;
		text-align: ;
	}
	#ry-footer .flex.flex-col.md\:flex-row.items-center.gap-x-2 {
		text-align: center;
		justify-content: Ce;
		flex-direction: column;
		gap: 10px;
	}
	.module-testimonials .swiper-pagination {
		margin-top: 2em;
	}
	
	.hp-cta-bg .max-lg\:border-b {
		 border: none;
	}
	
	.ry-hp-team img {
		max-width: 300px !important;
	}

	.ry-hp-team .max-w-7xl {
		flex-direction: column;
		gap: 2em 0;
	}
}




@media (max-width: 1023px) {
    .promotions .max-w-fit {
        max-width: 300px !important;
        margin: auto;
    }
	.promotions h3, .promotions p {
        text-align: center;
    }
	.promotions p {
        max-width: 100%;
        margin: 10px 0;
    }
	.promotions .ry-btn {
        margin: auto;
    }
	.promotions .max-w-fit {
        max-width: 300px !important;
        margin: auto;
    }
	.promotions img {
        min-width: auto;
        max-width: 250px;
        width: 100%;
        margin: 0 auto;
    }
}

.t-swiper-button-next, .t-swiper-button-prev, .brand-4-swiper-button-next, .brand-4-swiper-button-prev, .brand-3-swiper-button-next, .brand-3-swiper-button-prev {
    -webkit-text-stroke: 1px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    justify-items: center;
    align-items: center;
    color: var(--color-secondary-text);
    background-color: var(--color-secondary-background);
}

body[data-page-name="frames"] .hp-brands-bg {
    background-image: unset !important;
    
}
