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

/* 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: #000000;
}
/* Match interior body copy to homepage size on tablet/desktop */
@media (min-width: 768px) {
  #contents .leading-6.text-gray-600,
  #contents .leading-6.text-gray-600 p,
  #contents .leading-6.text-gray-600 li {
    font-size: 1.25rem;    /* 20px */
    line-height: 1.75rem;  /* 28px */
  }
}

/* HP Edits */

/*fonts*/
#section-hp-services h4, h6{
	font-family: Montserrat
}

/*btns*/

/*Modal*/
/* Header */
	/**/
.snap-mobile-menu {
    background: white;
}

mm-burger {
    color: #374151;
}
.ry-menu .ry-nav li.primary .caret {
    border-color: #374151;
}

.ry-menu .ry-nav li.primary:hover .caret {
    border-color: var(--color-secondary-background);
}
.with-gradient:before {
    background-image: linear-gradient(to bottom, white, transparent, transparent);
}
.ry-menu .ry-nav li.dropdown .dropdown-menu li {
    background: var(--color-primary-background);
    color: var(--color-primary-text);
}

span.caret {
    border-color: #616161;
}

body[data-page-name="index"] #navigation {
	position: absolute;
	z-index: 3;
}

.cta-btn:nth-child(3) {
  background-color: var(--color-primary-background);
  width: 20rem !important;
}

.cta-btn:nth-child(3):hover {
  background-color: white !important;
}

.cta-btn {
	width: 300px !important;
	justify-content: flex-start !important;
	padding-left: 32px !important;
	border-radius: 99px
}

.cta-btn a {
	white-space: nowrap !important;
}

.cta-btn > .mr-2 {
	margin-right: 12px !important;
}

#bottom-cta .cta-btn {
    background-color: transparent;
    color: var(--color-secondary-background);
    border: 1px solid var(--color-secondary-background);
	height: 50px;
}

#bottom-cta .cta-btn:hover {
    background-color: var(--color-secondary-background);
    color: white;
    opacity: 0.5;
}

#navigation-style-4 .navigation-4 .flex.gap-4,
#navigation-style-4 .flex.gap-4 {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end;
  align-items: center;
}

#navigation-style-4 .cta-btn:nth-child(3) {
  background-color: var(--color-primary-background);
}

#navigation-style-4 .cta-btn {
  white-space: nowrap !important;
  flex-shrink: 0;
  height: 72px !important;
}

div#navigation-style-4,
[id*="block-6"],
[class*="block-6"] {
  position: relative !important;
  z-index: 9999 !important;
}

[id*="block-7"],
[class*="block-7"],
[id*="html-7"],
[class*="html-7"],
.ry-menu,
[class*="ry-menu"] {
  position: relative !important;
  z-index: 1 !important;
}

#navigation-style-4 .cta-btn,
#navigation-style-4 .group,
#navigation-style-4 [id*="block-4"],
#navigation-style-4 [class*="block-4"],
.cta-btn {
  position: relative !important;
  overflow: visible !important;
}

.appt-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 190px !important;
  min-width: 190px !important;
  background-color: #ffffff !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18), 0 4px 10px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 999999 !important;
  pointer-events: auto !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.appt-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
}

#navigation-style-4 .cta-btn:hover .appt-dropdown-menu,
#navigation-style-4 .group:hover .appt-dropdown-menu,
#navigation-style-4 [id*="block-4"]:hover .appt-dropdown-menu,
#navigation-style-4 [class*="block-4"]:hover .appt-dropdown-menu,
.appt-dropdown-menu:hover {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

.appt-dropdown-menu .appt-dropdown-item {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  padding: 14px 0 !important;
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: #333333 !important;
  text-decoration: none !important;
  text-align: center !important;
  box-sizing: border-box !important;
  transition: background-color 0.15s ease, color 0.15s ease !important;
  cursor: pointer !important;
}

.appt-dropdown-menu .appt-dropdown-item:hover {
  background-color: #f3eff1 !important;
  color: #6e5358 !important;
}

.appt-dropdown-item + .appt-dropdown-item {
  border-top: 1px solid #ebebeb !important;
}

@media (max-width: 1280px) {
  #navigation-style-4 .navigation-4 .flex.gap-4,
  #navigation-style-4 .flex.gap-4 {
    gap: 0.4rem !important;
  }

  #navigation-style-4 .cta-btn {
    height: 72px !important;
    min-height: 72px !important;
    width: auto !important;
    max-width: 100% !important;
    flex: 1 1 0px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    padding: 0 10px !important;
  }

  #navigation-style-4 .cta-btn > div.flex,
  #navigation-style-4 .cta-btn a,
  #navigation-style-4 .cta-btn span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: normal !important;
    line-height: 1.15 !important;
    text-align: center;
    font-size: 0.8rem !important;
    margin: 0 !important;
  }

  #navigation-style-4 .cta-btn [class*="mr-"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 8px !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important;
  }

  #navigation-style-4 .cta-btn [class*="mr-"] svg,
  #navigation-style-4 .cta-btn [class*="mr-"] i {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    line-height: 1 !important;
  }
}

/* Button */
	/**/

/* Hero */
	/**/
#hp-slider, #hp-slider .swiper-wrapper, .homepage-swiper .swiper-slide img {
    height: 100vh !important;
    object-fit: cover;
	object-position:top
}

#hp-slider .swiper-pagination-bullet {
    background-color: white;
}

.with-gradient:before {
    background-image: none !important;
}

.homepage-swiper h1 {
	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%;
}

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

#hp-slider .slider-info {
    bottom:20px
}

#hp-slider .slider-info h1{
    font-size: 5rem !important;
    font-weight:600;
    line-height:1.2 !important
}

#hp-slider .swiper-button-prev,
#hp-slider .swiper-button-next {
    display:none
}

#hp-slider a.ry-btn {
  display: flex !important;
}

@media(min-width:991px) {
	.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:992px) {
    #hp-slider .slider-info h1{
        font-size: 2rem !important;
    }
    #hp-slider .slider-info h1 span {
        margin-top:5px
    }
	.homepage-swiper .swiper-slide .with-gradient::after {
		height: 100%;
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		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%   
		);
	}
	#hp-slider .slider-info {
    	padding-inline: 10vw;
	}
}

/* CTA */
	/**/
#cta-background {
    background-image: url('https://s3.amazonaws.com/static.organiclead.com/Site-86e89b8d-efb3-4aa9-91b2-a8ea3250b03c/images/CustomEyes_Background_Image.jpg');
	background-repeat: no-repeat;
  	background-position: center;
  	background-size: cover;
}

#cta-background p {
  color: #374151;
}

/* Welcome */
	/**/
#welcome-wrap .text-wrapper h2 {
    text-align: left !important;
}

#welcome-wrap .ry-text p {
    text-align: left !important;
}

#welcome-wrap .ry-btn {
    margin-left: 0 !important;
    margin-right: auto !important;
}

.module-welcome.style-5 .ry-each.image-wrapper{
    border: none;
}

.module-welcome.style-5 .ry-each.image-wrapper .photo img {
    object-fit: contain;
}

.module-welcome.style-5 .ry-flex{
    align-items: center;
} 

.module-welcome.style-5 .ry-each.image-wrapper .photo {
    padding-top: 40%;
}

#welcome-wrap :before {
    background-color: white;
}

@media (width < 1080px) {
    .module-welcome.style-5:before {
        opacity: 1;
    }
}

/* Services */
	/**/
/* Meet the Team */
	/**/
#section-hp-team .ry-btn-primary {
    color: var(--color-secondary-background);
    background-color: white;
    border: 1px solid white;
}

#section-hp-team .ry-btn-primary:hover {
    color: white;
    background-color: var(--color-primary-background);
    border: 1px solid var(--color-primary-background);
}


#section-hp-team #loadMoreTeam {
    color: white;
    border: 1px solid white;
}

#section-hp-team #loadMoreTeam:hover {
    color: white;
    border: 1px solid var(--color-primary-background);
}

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

/* Insurance */
	/**/
div#hp-insurance-1 {
    background-color: white;
}

#hsa-card-link {
    width: fit-content;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    cursor: pointer;
    text-decoration: none;
	padding: 2rem 4rem;
}

#hsa-card-link:hover {
    transform: scale(1.05); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

#hsa-card-link:active {
    transform: scale(0.98);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#hsa-card-link img {
    display: block;
    border-radius: inherit;
}

/* Brand */
	/**/
div#hp-brands-6{
    background-color: white;
}

.brands-swiper-4 img {
    mix-blend-mode: normal;
}

div#hp-brands-6 .swiper-backface-hidden .swiper-slide{
    background-color: #F2F4F7 !important;
    border-radius: 1rem; 
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 
                0 1px 2px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

div#hp-brands-6 .swiper-backface-hidden .swiper-slide {
    background-color: white !important;
}

body#page .brands-swiper-4 .swiper-slide {
    border: 1px solid var(--color-secondary-background)!important;
    background: white !important;
    backdrop-filter: blur(5px)!important;
    -webkit-backdrop-filter: blur(5px)!important;
}

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

/* Request Appointment */
	/**/


.form-group {
  display: flex !important;
}

/* Testimonials */
	/**/
.testimonials-swiper svg{
    color: rgb(253 224 71 / var(--tw-text-opacity, 1));
}



.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;
}

div#testimonial-container {
    display: none;
}

.reviews-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr; /* 1 column on mobile */
}

.load-more-btn {
    background-color: var(--color-primary-background) !important;
    border: 2px solid var(--color-primary-background) !important;
    border-radius: 99px !important; 
}

.load-more-btn:hover {
    background-color: var(--color-secondary-background) !important;
    border: 2px solid var(--color-secondary-background) !important;
}

@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(5, 1fr); /* 5 columns on desktop */
  }
}


/* Footer */

div#ry-footer .flex.justify-between p {
    font-size: 15px;
}

#ry-footer::before {
    background-color: var(--color-secondary-background);
}

@media (min-width: 768px) {
  #map-container {
    display: flex !important;
    flex-direction: row !important;
  }

  #map-container > #footer-map {
    flex: 1 1 50% !important;
    width: 50% !important;
    max-width: 50% !important;
  }
}

#ry-footer .grid-cols-12,
#ry-footer .grid-cols-12 *,
#ry-footer #location-container,
#ry-footer #location-container * {
  text-align: center !important;
}

#ry-footer .grid-cols-12 > div:nth-child(1),
#ry-footer .grid-cols-12 > div:nth-child(2) {
  grid-column: span 12 / span 12 !important;
  width: 100% !important;
  margin-bottom: 2rem !important;
}

#ry-footer #location-container {
  grid-column: span 12 / span 12 !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2rem !important;
}

#ry-footer #location-container > div {
  width: 100% !important;
  grid-column: span 12 / span 12 !important;
}

#ry-footer #location-container table {
  margin: 0 auto !important;
  width: auto !important;
  max-width: 100% !important;
}

@media (min-width: 768px) and (max-width: 1023px) {
  #ry-footer .grid-cols-12 > div:nth-child(1),
  #ry-footer .grid-cols-12 > div:nth-child(2) {
    grid-column: span 6 / span 6 !important;
    margin-bottom: 2rem !important;
  }

  #ry-footer #location-container {
    grid-column: span 12 / span 12 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 2rem 1.5rem !important;
  }

  #ry-footer #location-container > div {
    grid-column: span 1 / span 1 !important;
  }
}

@media (min-width: 1200px) {
  #ry-footer .grid-cols-12 > div:nth-child(1) {
    grid-column: span 6 / span 6 !important;
    margin-bottom: 2.5rem !important;
  }

  #ry-footer .grid-cols-12 > div:nth-child(2) {
    grid-column: span 6 / span 6 !important;
    margin-bottom: 2.5rem !important;
  }

  #ry-footer #location-container {
    grid-column: span 12 / span 12 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.5rem !important;
  }

  #ry-footer #location-container > div {
    grid-column: span 1 / span 1 !important;
    width: 100% !important;
  }
}

/*Media Queries*/
	/**/
@media (max-width: 1080px) {
    .module-welcome.style-5 .ry-each.image-wrapper .photo{
        padding-top: 10%;
    }   
	.module-welcome.style-5 .ry-each.image-wrapper .photo img {
    left: 0;
	}
}


@media (max-width: 1023px) {
    #hp-slider, #hp-slider .swiper-wrapper, .homepage-swiper .swiper-slide img{
        height: 100% !important;
    }
    body[data-page-name="index"] #navigation {
    position: relative;
    }
}

@media (max-width: 767px) {
    body[data-page-name="index"] h6, h2, h3, p,
    .mt-3, .block  {
        text-align: center !important;
    }
}

@media (max-width: 1024px) {
    #welcome-wrap .text-wrapper p,
    #welcome-wrap .text-wrapper h2, h3, h6  {
        text-align: center !important;
    }

    #welcome-wrap a.ry-btn {
      display: inline-block !important;
    }
}


/* VS Ads Style */
	/**/
.col-xs-12.photo {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
}

.module-welcome.style-5 .ry-each.image-wrapper .photo {
  position: relative !important;
  display: block !important;
  height: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.module-welcome.style-5 .ry-each.image-wrapper .photo img {
  object-fit: contain !important;
  position: relative !important;
  top: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: 620px !important;
  height: auto !important;
  margin: 0 auto !important;
}

.col-xs-12.photo .each.each-left {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 620px !important;
  position: relative !important;
  gap: 15px !important;
  margin-top: 1rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  z-index: 2 !important;
}

.col-xs-12.photo .photo-1 img,
.col-xs-12.photo .photo-2 img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  position: relative !important;
}

.col-xs-12.ry-content,
.col-xs-12.ry-flex.gap-10 {
  display: flex !important;
  align-items: center !important;
  justify-content: center;
}

@media (max-width: 1080px) {
  .col-xs-12.photo .each.each-left {
    margin-top: 1rem !important;
  }
}

@media (max-width: 680px) {
  .col-xs-12.photo .each.each-left {
    margin-top: 1rem !important;
  }
}

@media (max-width: 480px) {
  .col-xs-12.photo .each.each-left {
    margin-top: 1rem !important;
  }
}

.col-xs-12.ry-content, .col-xs-12.ry-flex.gap-10 {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
}

/* End - HP Edits*/

.snap-mobile-menu img {
    max-height: 70px;
}



.btn-flex p {
  display: flex;
  justify-content: flex-start;
  margin: 0;
  gap: 10px;
}
.btn-flex p .ry-btn {
  margin: 0;
}

@media (max-width:1024px) {
  .btn-flex p {
      justify-content: center;
    flex-direction: column !important;
    align-items: center;
   
  }
  
  .btn-flex {
    max-width:400px;
    margin:auto;
  
  }
}


/*HOMEAPAGE CENTER V2*/

#ry-footer h4 {
    font-size: 23px;
    font-weight: 400 !important;
}

#ry-footer font-semibold {
    font-weight: 400 !important;
}


@media (max-width:1199px) {

	 #section-hp-services h4 {
       font-size:20px !important;
       line-height:1.3 !important;
       font-weight:normal !important;
   } 

	
#ry-footer ul.max-w-\[300px\] {
    margin:1em auto;
}

    #hp-slider .slider-info h1{
    font-size: 3rem !important;
    font-weight:400;
    line-height:1.2 !important
}

    #hp-slider, #hp-slider .swiper-wrapper, .homepage-swiper .swiper-slide img {
    height: auto !important;
}

	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 11px;
	}

	

	div.slider-info-center-bottom {
		transform: initial !important;
		position: static !important;
		padding: 3em 1em !important;
		background:#927057;
		height:auto !important;
	}
		
	div#hp-slider, div#hp-slider img {
		height: auto !important;
	}


	.h-main h2 {
		font-size: 40px !important;
	}

 div#hp-slider h2, div#hp-slider h1 {
		font-size: 40px;
	 text-shadow:none;
	 font-weight:normal !important;
	}
	
	.homepage-swiper h2 {
	  font-size: 35px;
	  line-height: 1.1;
	}
	
	
	#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;
	}

	.hp-testi-bg .swiper-wrapper .flex.items-center.space-x-2.mb-5 {
	  justify-content: center;
	  margin: 3px 0 11px;
	}
	#footer-map {
	  height: 400px !important;
	}

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


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

	#ry-footer .grid-cols-12 {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		text-align: center;
		gap: 0;
	}


	#ry-footer .flex.justify-between.flex-col.xl\:flex-row {
		text-align: center;
		gap: 11px;
		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: 11px;
	}

	.snap-mobile-menu {
			background: #fff;
	}

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

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

	div.module-testimonials {
		text-align: center;
	}
	.comments-holder {
		padding: 5em 1em !important;
	}

	.ry-hp-team {
		gap: 3em;
		display: flex;
		flex-direction: column;
	}
	.ry-hp-team .max-w-7xl {
		max-width: 110%;
	}
	.ry-hp-team {
		padding: 5em 1em 0;
	}

	.ry-hp-team .img-responsive.max-w-sm {
		max-width: 250px;
		margin-top: 2em;
	}
}



/*HOMEAPAGE CENTER V2*/

/*Added code color updates*/
	
	.sticky-icons li a i {
  position: absolute;
  top: 0px;
  left: 20px;
  font-size: 27px;
  color: white !important;
}
.sticky-icons ul li a span {
  display: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  color:white !important;
}


#ry-footer,
#ry-footer :is(
  h1, h2, h3, h4, h5, h6,
  p, a, span, li, ul, ol,
  div, td, th, i
) {
  color: #ffffff !important;
}


#ry-footer a:hover,
#ry-footer a:focus {
  color: #ffffff !important;
}


#ry-footer,
#ry-footer .bg-secondary-background {
  background-color: #927057 !important;
}


#ry-footer > div > svg {
  color: #927057 !important;
}

.ry-btn{
color: white;
}

/* Testimonial text and patient names */
.module-testimonials .testimonials-swiper-4 .swiper-slide,
.module-testimonials .testimonials-swiper-4 .swiper-slide :is(div, p, span, a) {
  color: #ffffff !important;
}

/* Quotation mark */
.module-testimonials .review-separator {
  color: #ffffff !important;
}

/* CTA labels */
.cta-wrapper .cta-section .text-primary-text,
.cta-wrapper .cta-section .text-primary-text a,
.cta-wrapper .cta-section .text-primary-text a:hover,
.cta-wrapper .cta-section .text-primary-text a:focus {
  color: #ffffff !important;
}

/* Header CTA default colors */
#navigation-style-4 .cta-btn:not(:hover) {
  background: #927057 !important;
  color: #ffffff !important;
}

#navigation-style-4 .cta-btn:not(:hover) > .flex > a,
#navigation-style-4 .cta-btn:not(:hover) .cta-icon-wrap,
#navigation-style-4 .cta-btn:not(:hover) .cta-icon,
#navigation-style-4 .cta-btn:not(:hover) .cta-icon i {
  color: #ffffff !important;
}

/* Mobile hero text background */
@media (max-width: 767px) {
  .homepage-swiper,
  .homepage-swiper .slider-info {
    background-color: #927057 !important;
  }
}



/* Header dropdown text */
#navigation .ry-nav .dropdown-menu a,
#navigation .ry-nav .dropdown-menu a:hover,
#navigation .ry-nav .dropdown-menu a:focus {
  color: #ffffff !important;
}

/* ========================================================
   SCHINDLER & DEIS OPTOMETRY - BRAND COLOR SYSTEM OVERRIDE
   Primary: #7A5C61 | Secondary BG: #E5DCDF | Text: #101216 / #FFF
   ======================================================== */

/* Header CTA Buttons */
#navigation-style-4 .cta-btn:not(:hover) {
  background: #7A5C61 !important;
  color: #ffffff !important;
}

#navigation-style-4 .cta-btn:not(:hover) > .flex > a,
#navigation-style-4 .cta-btn:not(:hover) .cta-icon-wrap,
#navigation-style-4 .cta-btn:not(:hover) .cta-icon,
#navigation-style-4 .cta-btn:not(:hover) .cta-icon i {
  color: #ffffff !important;
}

#navigation-style-4 .cta-btn:hover {
  background: #63484c !important;
}

/* Header Dropdown Hover */
#navigation .ry-nav .dropdown-menu a,
#navigation .ry-nav .dropdown-menu a:hover,
#navigation .ry-nav .dropdown-menu a:focus {
  color: #ffffff !important;
}

/* Hero Text: Transparent on Desktop, Solid #7A5C61 on Mobile */
@media (min-width: 768px) {
  .homepage-swiper .slider-info,
  div.slider-info-center-bottom {
    background: transparent !important;
    background-color: transparent !important;
  }
}

@media (max-width: 767px) {
  .homepage-swiper,
  .homepage-swiper .slider-info,
  div.slider-info-center-bottom {
    background-color: #7A5C61 !important;
  }
}

/* General Buttons */
.ry-btn,
.module-welcome .ry-btn,
.module-services .ry-btn {
  background-color: #7A5C61 !important;
  color: #ffffff !important;
}

.ry-btn:hover,
.module-welcome .ry-btn:hover,
.module-services .ry-btn:hover {
  background-color: #63484c !important;
  color: #ffffff !important;
}

/* Mid-Page Banners & Brand Slider */
.module-brands.style-4 .section-headline h2,
.module-brands.style-5 .section-headline h2,
.module-services.style-11 .ry-flex .ry-each .services-details h4 {
  color: #7A5C61 !important;
}

.module-brands.style-4 .content .brand-block .each-brand .logo,
.module-brands.style-5 .content .brand-block .each-brand .logo,
.module-brands.style-4 .slick-dots li button,
.module-brands.style-5 .slick-dots li button {
  background: #E5DCDF !important;
}

.module-brands.style-4 .slick-dots li.slick-active button,
.module-brands.style-5 .slick-dots li.slick-active button {
  background: #7A5C61 !important;
}

/* Testimonials */
.module-testimonials .testimonials-swiper-4 .swiper-slide,
.module-testimonials .testimonials-swiper-4 .swiper-slide :is(div, p, span, a),
.module-testimonials .review-separator {
  color: #ffffff !important;
}

/* Footer & Wave SVG */
#ry-footer,
#ry-footer .bg-secondary-background {
  background-color: #7A5C61 !important;
}

#ry-footer > div > svg {
  color: #7A5C61 !important;
  fill: #7A5C61 !important;
}

#ry-footer,
#ry-footer :is(h1, h2, h3, h4, h5, h6, p, a, span, li, ul, ol, div, td, th, i) {
  color: #ffffff !important;
}

#ry-footer a:hover,
#ry-footer a:focus {
  color: #E5DCDF !important;
}

/* Cherry Floating Button */
.cherry-floating-btn {
  --cherry-color: #7A5C61 !important;
  background: #7A5C61 !important;
}

.cherry-floating-btn:hover {
  background: #63484c !important;
}

.sticky-icons li a i,
.sticky-icons ul li a span {
  color: #ffffff !important;
}

/* Eyebrow Headings Across All Sections */
.text-secondary-background:has(h6),
.text-secondary-background h6,
#welcome-wrap h6,
.module-welcome h6,
#section-hp-services h6,
#hp-brands-6 h6,
.module-testimonials h6 {
  color: #7A5C61 !important;
}

/* What We Offer (Services) Card Hover */
#section-hp-services .group:hover div[class*="group-hover:bg-secondary-background"],
#section-hp-services .group:hover [class*="group-hover:bg-secondary-background"] {
  background-color: #7A5C61 !important;
  color: #ffffff !important;
  border-top-color: transparent !important;
  border-bottom-color: transparent !important;
}

#section-hp-services .group:hover div[class*="group-hover:bg-secondary-background"] h4 {
  color: #ffffff !important;
}

/* Mobile Header Icons (Phone & Calendar) */
.mobile-menu-icon {
  background-color: #7A5C61 !important;
  color: #ffffff !important;
}

/* ========================================================
   MEET OUR DOCTORS / TEAM SECTION (#section-hp-team)
   Solid #E5DCDF Background & Crisp Contrast Text Colors
   ======================================================== */

#section-hp-team::before {
  background-image: none !important;
  background-color: #E5DCDF !important;
  box-shadow: none !important;
  border-top: 14px solid #7A5C61 !important;
  border-bottom: 14px solid #7A5C61 !important;
}

#section-hp-team,
.ry-section:has(#section-hp-team) {
  background-color: #E5DCDF !important;
  background-image: none !important;
}

/* Eyebrow & Main Title */
#section-hp-team h6 {
  color: #7A5C61 !important;
}

#section-hp-team h3 {
  color: #7A5C61 !important;
}

/* Section Paragraph & Details */
#section-hp-team p,
#section-hp-team .text-white\/70,
#section-hp-team .text-white {
  color: #101216 !important;
}

/* Doctor Titles */
#section-hp-team p.text-xs,
#section-hp-team p[class*="text-"] {
  color: #4b5563 !important;
}

/* Meet The Team Button */
#section-hp-team .ry-btn-primary {
  background-color: #7A5C61 !important;
  color: #ffffff !important;
  border: 1px solid #7A5C61 !important;
}

#section-hp-team .ry-btn-primary:hover {
  background-color: #63484c !important;
  color: #ffffff !important;
}
	
/* Appointment Popup */
.image-popup {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.image-popup.active {
    display: flex;
}
	
.image-popup-content {
    position: relative;
    max-width: max-content;
    width: 100%;
    max-height: 90vh;
    background: transparent;
    padding: 10px;
    border-radius: 8px;
    animation: popupFadeIn 0.3s ease;
}
	
.image-popup-content img {
    display: block;
    width: 100%;
    max-height: 85vh;
    object-fit: contain;
}
.image-popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--color-primary-background);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-popup-close:hover {
    background: #982f20;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
	
@media (max-width: 767px) {
    .image-popup-content {
        max-width: 95%;
    }

    .image-popup-close {
        top: -12px;
        right: -12px;
    }
}
/* END Appointment Popup */