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

div#ry-footer a:hover {
    color: #24656b;
}

.ry-photo img {
    max-width: 600px;
    margin: 0 auto;
}

.sticky-icons ul {
    padding: 0;
}
.sticky-icons ul li {
    list-style: unset;
}
/* 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: #ffffff;
}

.homepage-swiper h2 {
	text-shadow: 3px 3px 3px rgb(0 0 0 / 40%);
	letter-spacing: 4px;
	font-size: clamp(1.625rem, 0.95rem + 3.375vw, 5rem);
	line-height: 120%;
}

#ry-pg-body :is(.navigation-3) {
    position: relative !important;
}

.mm-navbar__title > span {
    color: #fff;
}

@media (min-width: 1024px) {
	.navigation-3.fixed > .block.lg\:absolute.inset-0 {
		position: relative;
	}
	.ry-menu .ry-nav li.primary {
		margin-top: 0px;
	}
}

@media (max-width: 1440px) {
	div#navigation-style-4.container {
		max-width: 1280px;
	}
}

div#navigation-style-4 {
    max-width: 1600px;
    width: 90%;
    padding: 1em 0 !important;
}

body#ry-pg-body div#navigation {
    position: static;
}

.module-testimonials h6, .module-testimonials p, .module-testimonials h2 {
    text-align: center !important;
}

#navigation-style-4  .max-w-\[240px\]{
    max-width: 260px;
}

@media (max-width: 1080px) { 
	.ry-menu .ry-nav {
		font-size: 14px !important;
	}
	
	div.module-testimonials h6, .module-testimonials p, .module-testimonials h2 {
		text-align: center !important;
	}
	
	div#team-inner-block {
		padding: 2em 1em;
	}

	div#team-inner-block img {
		max-width: 220px;
	}

	div#team-inner-block {
		flex-direction: column;
	}

	div#team-inner-block .flex {
		padding: 0 !important;
		background: transparent;
		width: 100%;
	}

}

@media (max-width: 1200px) { 
	div#navigation-style-4 {
		max-width: 90%;
	}
	.ry-menu .ry-nav {
		gap: 20px !important;
	}
	div#navigation-style-4 .cursor-pointer img {
		max-width: 260px;
	}
}

@media (max-width:991px) {

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

	.sub-title h4 {
		font-size: 20px !important;
	}
	
	div#section-hp-services .grid h4 {
		font-size: 23px;
		line-height: 1.3;
	}
	
	div#footer-map {
		height: 400px !important;
	}
}

@media (max-width:767px) {
	
	.snap-mobile-menu .gap-6 {
		gap: 0 10px;
	}

	.homepage-swiper .slider-info {
		max-width: 100%;
		text-align: center;
		position:static !important;
	}

	.homepage-swiper .slider-info .mb-4 {
		margin-bottom:0 !important;
	}

	.homepage-swiper .homepage-swiper {
		margin-top: 0em;
	}

	.homepage-swiper .swiper-slide {
		padding-top:6em
	}
	
	.homepage-swiper .swiper-slide img {
		height: 100% !important;
	}
	.homepage-swiper .slider-info {
		padding-bottom: 50px;
	}
}

@media (max-width: 500px) {
	
   .snap-mobile-menu img { 
		max-height: 85px;
	}
	
	.snap-mobile-menu .gap-6 {
		gap: 0 10px;
	}
}
div#section-hp-team .swiper.homepage-team-swiper h6 {
    letter-spacing: 1px;
    font-size: 20px;
	color: #ffffff;
}

div#section-hp-team .swiper.homepage-team-swiper p {
    color: #444;
    text-transform: uppercase;
    margin-top: 4px;
}

@media (max-width: 1024px) {
	div#section-hp-team .mx-auto .md\:text-center.text-gray-500>p {
		text-align: center !important;
	}
	.homepage-team-swiper .text-gray-800 {
		font-size: 20px;
	}
	.homepage-team-swiper .text-gray-600 {
		font-size: 16px;
	}
}

.homepage-swiper .swiper-slide img {
	object-position: center 0%;
}

@media (min-width:1200px) {
    #ry-video-slider, #ry-video-slider video {
		width: 100%;
		height: 100vh;
		object-fit: cover;
	}
}

@media (max-width: 1080px) {
	.homepage-swiper .swiper-slide img {
		height: 100% !important;
	}
	.slider-info {
		width: 100% !important;
		max-width: 100% !important;
	}
	.slider-info {
		width: 100%;
		max-width: 100%;
	}
	.homepage-swiper h2 {
		text-align: center !important;
	}
	#navigation-style-3,
	.navigation-3 .hidden.lg\:flex,
	.homepage-video-slider::before {
		display: none !important;
	}
}

@media (min-width: 1081px) {
	.homepage-video-slider {
		max-height: 100vh;
		overflow: hidden;
	}
	.homepage-video-slider::before {
		background: linear-gradient(to bottom, white 14%, transparent, transparent);
		opacity: 0;
	}
}


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

#ry-footer ul {
	line-height: 2;
}

.slider-info-center-bottom {
	max-width: 100% !important;
}


body#page div#hp-insurance-1 {
    background: linear-gradient(to top, #ecebe8, #f9f9f9);
}
body#page div#hp-insurance-1 .rounded-lg.bg-gray-200 {
    background: transparent;
}

#section-hp-team:before {
	box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.5);
    border-top: 14px solid #14c4d6;
    border-bottom: 14px solid #14c4d6;
}

@media(max-width:1680px) {
    #navigation-style-4 .flex.flex-col {
        flex-direction:column;
        justify-content:center;
        align-items:end;
        gap:10px
    }
}

/*--- HP SLIDER UPDATE ---*/


#hp-slider .slider-info {
    bottom:20px
}
#hp-slider .slider-info h1{
    font-size: clamp(2.5rem, 1.5441rem + 3.9216vw, 6.25rem);
    font-weight:400;
    line-height:1.2 !important
}

#hp-slider .slider-info h1 span {
    font-size: clamp(1.5rem, 1.4573rem + 0.2439vw, 1.75rem);
    display:block;
    width:fit-content;
    margin-inline:auto
}


@media(min-width:767px) {
	.homepage-swiper .swiper-slide .with-gradient::after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 35%; 
		background: linear-gradient(
			to top,
			rgba(0, 0, 0, 0.65) 0%,
			rgba(0, 0, 0, 0.2) 60%,
			rgba(0, 0, 0, 0) 100%   
		);
	}

	.homepage-swiper .swiper-slide {
		position: relative;
	}

	.homepage-swiper .swiper-slide img {
		display: block;
		width: 100%;
		height: auto;
	}
 
}
@media(max-width:991px) {
    #hp-slider .slider-info h1{
        font-size: clamp(2.1875rem, 1.7819rem + 1.6639vw, 2.8125rem);
    }
    #hp-slider .slider-info h1 span {
        margin-top:5px
    }
}

.ry-menu .ry-nav {
    margin-top: 8px;
}

.swiper.homepage-team-swiper-2 {
        background: #eef1f5;
    border-radius: 30px;
    overflow: hidden;
    padding-bottom: 120px;
    padding-top: 120px;
    box-shadow: 0 0 60px rgb(0 0 0 / 15%);
}

@media (min-width: 1024px) {
	div#section-hp-team .main-title h2,
	div#section-hp-team .sub-title h4 {
		text-align: center;
	}
}

.module-testimonials.style-2 {
    padding-bottom: 60px;
}
.module-testimonials.style-2::before, .module-testimonials.style-3::after {
	    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-dfd31a68-f4c0-4ce3-8667-e82c8acb95e0/Assets/review_bg.jpg);
background-size: cover;
	background-size: cover;
    height: 100%;
    background-position: center top;
}

.mm-navbar {
	color: #333;
}

body#page .brands-swiper-4 .swiper-slide {
    border: 1px solid var(--color-secondary-background);
    background: rgb(255 255 255 / 70%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.brands-swiper-4 img {
	mix-blend-mode: unset;
	filter: brightness(0) invert(.2);
}

.module-testimonials .mt-3.sm\:mt-6.text-base.md\:text-xl p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
}

#ry-footer::before {
	background-color: #252525;
}

#ry-footer-3::after {
	background: #252525;
}

.background-section, .background-section img {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}

div#navigation.navigation-4.bg-White99 {
    /*position: relative;*/
    background: #fff;
}

div#navigation.navigation-4.bg-transparent {
    background: transparent;
}

div#navigation.navigation-4.bg-White99 .cursor-pointer img {
    height: 140px;
}

.module-welcome.style-5 .ry-container {
	max-width: 1280px;
}

 /* Section Spacing & Container */
  .hp-insurance-section {
    background: transparent !important;
    width: 100%;
  }

  .hp-insurance-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 24px 0;
    box-sizing: border-box;
  }
  .hp-insurance-header {
    margin-bottom: 24px;
  }
  .hp-insurance-header .main-title {
    margin-top: 10px;
  }
  .hp-insurance-desc {
    max-width: 720px;
    margin: 0 auto 32px auto;
  }
  /* Badges Grid Layout */
  .hp-insurance-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto 36px auto;
  }
  .hp-badge {
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    color: #1f2937;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .hp-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }
  /* CTA Button Spacing */
  .hp-insurance-cta a {
    display: inline-block;
    padding: 14px 32px;
  }
  /* Mobile Adjustments */
  @media (max-width: 768px) {
    .hp-insurance-wrapper {
      padding: 40px 16px;
    }
    .hp-insurance-badges {
      gap: 8px;
    }
    .hp-badge {
      padding: 8px 14px;
      font-size: 13px;
    }
  }