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

[data-page-name="lumenis-opitlight-resource"] .navigation-14 .holder {
	    position: relative !important;
}

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

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

/* Fix Hero Video */
.homepage-video-slider {
  position: relative;
  overflow: hidden;
  height: min(800px, 56.25vw);
  max-height: 800px;
}

#the-video {
  height: 100%;
}

#ry-video-slider {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* HP Edits - Started <> */

/**/
	/*fonts*/
	/*btns*/

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

mm-burger {
    color: #374151; /*text-gray-700*/
}
.ry-menu .ry-nav li.primary .caret {
    border-color: #374151; /*text-gray-700*/
}
.ry-menu .ry-nav li.dropdown .dropdown-menu li a {
  color: var(--color-secondary-text);
}
.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, #000000ba);
}
.ry-menu .ry-nav li.dropdown .dropdown-menu li {
    background: var(--color-primary-background);
    color: var(--color-primary-text);
}

.ry-menu .ry-nav li.dropdown .dropdown-menu li a {
  color: white;
}

/* Hero */

#hp-slider .swiper-slide {
  position: relative;
}

#hp-slider .slider-info {
  position: absolute !important;
  inset: auto 0 65px !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  padding: 0 24px !important;
  margin: 0 !important;
  box-sizing: border-box;
  text-align: center !important;
}

#hp-slider .slider-info > div {
  white-space: normal !important;
  margin: 0 !important;
}

#hp-slider .slider-info h2 {
  font-size: clamp(32px, 4.5vw, 80px) !important;
  line-height: 1.1 !important;
  color: #fff !important;
  text-align: center !important;
  margin: 0 !important;
}

#hp-slider .swiper-pagination-1 {
  bottom: 18px !important;
}

@media (max-width: 767px) {
  #hp-slider .slider-info {
    bottom: 55px !important;
    padding-inline: 20px !important;
  }

  #hp-slider .slider-info h2 {
    font-size: clamp(30px, 8vw, 44px) !important;
  }
}


	/**/
#hp-slider, #hp-slider .swiper-wrapper, .homepage-swiper .swiper-slide img {
    height: 100vh !important;
    object-fit: cover;
}
#hp-slider .swiper-pagination-bullet {
    background-color: white;
}
.slider-info {
    min-height: fit-content;
}
/* Headings*/
#welcome-wrap h6,
#section-hp-team h6,
#hp-insurance-1 h6,
#HP-Testimonial h6 {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(18px, 2vw, 24px) !important;
  color: #5f6165 !important;
  text-transform: uppercase;
}
/* CTA */

.cta-btn {  /*button color*/
  color: var(--color-secondary-text);
  background: var(--color-primary-background);

}
.cta-btn:hover {
  color: var(--color-secondary-text);
  background: var(--color-secondary-background);
}


.ry-btn{
color: white;
}

.cta-wrapper .cta-section .text-primary-text,
.cta-wrapper .cta-section .text-primary-text a {
  color: #fff !important;
}
	/**/
/* Welcome */

.ry-section:has(.photo-1) {
    background-image: url("https://s3.amazonaws.com/static.organiclead.com/Site-e55f405e-67df-4e52-91f7-53c11e7e5607/1HP_Revision/BG_Welcome_3.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }


.ry-section .each.each-left {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  flex-wrap: wrap;
}

.ry-section .each.each-left .photo {
  max-width: 100%;
}

.ry-section .each.each-left .photo img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.ry-section img[src*="_Welcme_image.png"] {
  display: block !important;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
  height: auto !important;
}

#welcome-wrap h6,
#section-hp-team h6,
#hp-insurance-1 h6,
#HP-Testimonial h6 {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(18px, 2vw, 24px) !important;
  font-weight: 400 !important;
  color: #5f6165 !important;
  text-transform: uppercase;
  letter-spacing: 0.45em;
  line-height: 1.2 !important;
  margin: 0 0 8px !important;
}


:is(#welcome-wrap, #section-hp-team, #hp-insurance-1, #HP-Testimonial)
div:has(> h6) {
  margin-bottom: 0 !important;
}

:is(#welcome-wrap, #section-hp-team, #hp-insurance-1, #HP-Testimonial)
div:has(> h6) + div {
  margin-top: 8px !important;
}


:is(#welcome-wrap, #section-hp-team, #hp-insurance-1, #HP-Testimonial)
:is(h2, h3) {
  margin-top: 0 !important;
}
	/**/
/* Services */

#section-hp-services .hp-service {
  display: block !important;
}

/* Services subheading */
#section-hp-services h6 {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(18px, 2vw, 24px) !important;
  font-weight: 400 !important;
  color: #5f6165 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.45em !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}

/* Services main heading */
#section-hp-services h3 {
  font-family: 'Courgette', cursive !important;
  font-size: clamp(28px, 4vw, 48px) !important;
  font-weight: 700 !important;
  color: #0071a2 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  line-height: 1.15 !important;
  margin: 0 !important;
}

/* Reduce the gap between headings */
#section-hp-services div:has(> h6) {
  margin-bottom: 0 !important;
}

#section-hp-services div:has(> h6) + div {
  margin-top: 8px !important;
}
	/**/
/* Meet the Team */
#section-hp-team .homepage-team-swiper .swiper-slide > img {
  display: block !important;
  width: 100% !important;
  max-width: 300px !important;
  height: 350px !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  margin-inline: auto !important;
}

/* Glaucoma Management */
#section-hp-services .ry-hp-service-5 {
  background-image: url("https://s3.amazonaws.com/static.organiclead.com/Site-e55f405e-67df-4e52-91f7-53c11e7e5607/1HP_Revision/ser5.jpg") !important;
}

/* Vision Therapy */
#section-hp-services .ry-hp-service-6 {
  background-image: url("https://s3.amazonaws.com/static.organiclead.com/Site-e55f405e-67df-4e52-91f7-53c11e7e5607/1HP_Revision/ser6.jpg") !important;
}

/* Seventh service, if added */
#section-hp-services .ry-hp-service-7 {
  background-image: url("") !important;
}

	/**/
/* Insurance */
	/**/
/* Brand */
/* Brands and testimonial subheadings */
#hp-brands-5 h6,
#hp-testimonial h6 {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(18px, 2vw, 24px) !important;
  font-weight: 400 !important;
  color: #5f6165 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.45em !important;
  line-height: 1.2 !important;
  margin: 0 0 8px !important;
  text-align: center !important;
}

/* Reduce spacing above the main heading */
:is(#hp-brands-5, #hp-testimonial) div:has(> h6) {
  margin-bottom: 0 !important;
}

:is(#hp-brands-5, #hp-testimonial) div:has(> h6) + div {
  margin-top: 8px !important;
}

:is(#hp-brands-5, #hp-testimonial) h3 {
  margin-top: 0 !important;
}

	/**/
/* Request Appointment */
	/**/
/* Testimonials */
	/**/
/* Footer */
#ry-footer-3 h4,
#ry-footer-3 li,
#ry-footer-3 a,
#ry-footer-3 p,
#ry-footer-3 span {
  color: #fff !important;
}

#ry-footer-3 a:hover {
  color: #fff !important;
  font-weight: bold !important;
}

#ry-footer-3 i:hover,
#ry-footer-3 .group:hover i {
  background-color: var(--color-secondary-background) !important;
  color: #fff !important;
}
	/**/
/*Media Queries*/
	
	.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;
}

@media (max-width: 1024px) {
  /* Center section text */
  :is(
    #hp-slider,
    #welcome-wrap,
    #section-hp-services,
    #section-hp-team,
    #hp-brands-5,
    #hp-insurance-1,
    #hp-testimonial,
    #ry-footer-3
  ) {
    text-align: center !important;
  }

  :is(
    #hp-slider,
    #welcome-wrap,
    #section-hp-services,
    #section-hp-team,
    #hp-brands-5,
    #hp-insurance-1,
    #hp-testimonial,
    #ry-footer-3
  ) :is(h1, h2, h3, h4, h5, h6, p) {
    text-align: center !important;
  }

  /* Center buttons and their icons */
  :is(
    #welcome-wrap,
    #section-hp-services,
    #section-hp-team,
    #hp-brands-5,
    #hp-insurance-1,
    #hp-testimonial,
    #ry-footer-3
  ) :is(.ry-btn, .ry-btn-hover-effect),
  #hp-slider .slider-info a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px;
    width: fit-content !important;
    max-width: 100%;
    margin-inline: auto !important;
    float: none !important;
    text-align: center !important;
  }

  /* Center service icons without stretching the white shape */
  #section-hp-services .hp-service .ry-icon {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    float: none !important;
    width: 75px !important;
    height: 75px !important;
    min-width: 75px !important;
    padding: 0 !important;
    margin-inline: auto !important;
  }

  #section-hp-services .hp-service .ry-icon img {
    display: block !important;
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
    margin: 0 !important;
  }

  /* Center welcome images */
  #welcome-wrap img {
    display: block;
    margin-inline: auto !important;
  }

  #welcome-wrap .each.each-left {
    justify-content: center !important;
  }
}

@media (max-width: 767px) {
  /* Consistent mobile slider height */
  #hp-slider {
    --hero-height: clamp(380px, 65svh, 560px);
  }

  #hp-slider,
  #hp-slider .homepage-swiper,
  #hp-slider .swiper-wrapper,
  #hp-slider .swiper-slide,
  #hp-slider .with-gradient {
    height: var(--hero-height) !important;
    min-height: 0 !important;
  }

  #hp-slider .homepage-swiper {
    overflow: hidden !important;
  }

  #hp-slider .swiper-slide {
    position: relative;
  }

  /* Responsive hero images */
  #hp-slider .swp-img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  /* Place text over the lower portion of the image */
  #hp-slider .slider-info {
    position: absolute !important;
    inset: auto 0 55px !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    padding: 0 24px !important;
    margin: 0 !important;
    box-sizing: border-box;
    background: transparent !important;
    text-align: center !important;
    z-index: 3;
  }

  #hp-slider .slider-info > div {
    white-space: normal !important;
    margin: 0 !important;
  }

  #hp-slider .slider-info h2 {
    font-size: clamp(26px, 7vw, 40px) !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    text-align: center !important;
    color: #fff !important;
    margin: 0 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }

  /* Contrast behind the hero text */
  #hp-slider .with-gradient::before {
    background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.05) 35%,
      rgba(0, 0, 0, 0.7) 100%
    ) !important;
  }

  /* Keep pagination below the text */
  #hp-slider .swiper-pagination-1 {
    bottom: 18px !important;
  }

  /* Smaller slider arrows */
  #hp-slider :is(.swiper-button-prev, .swiper-button-next) {
    width: 28px !important;
    height: 36px !important;
  }

  #hp-slider :is(.swiper-button-prev, .swiper-button-next)::after {
    font-size: 22px !important;
  }
}

	/**/
	
	
/* End - HP Edits*/
	
	div#contents ul.pagination li {
    list-style: none !important;
}

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

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

.list-3 ul p {
		margin: 0;
	}
@media (min-width: 620px) {
	.list-3 ul {
		column-count: 3;
	}
}
	
	body[data-page-name="frames"] div#contents ul li {
    list-style: none !important;
}
	
	/*revision codes*/
/* CTA*/
body[data-page-name="index"] .section-p.style-6 {
  background-image: url("https://s3.amazonaws.com/static.organiclead.com/Site-e55f405e-67df-4e52-91f7-53c11e7e5607/1HP_Revision/CTA_BG.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

body[data-page-name="index"] .section-p.style-6 > .relative > .flex {
  gap: 24px;
}

/* Photo column */
body[data-page-name="index"] .section-p.style-6 > .relative > .flex > div:has(> img) {
  width: 100%;
  min-width: 0;
  margin: 0;
}

body[data-page-name="index"] .section-p.style-6 > .relative > .flex > div > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
}

/* Icons in the right-hand column */
body[data-page-name="index"] .section-p.style-6 > .relative > .flex > div:last-child .group img {
  width: 88px;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

@media (min-width: 1024px) {
  body[data-page-name="index"] .section-p.style-6 {
    padding-inline: 96px clamp(24px, 2vw, 40px);
  }

  body[data-page-name="index"] .section-p.style-6 > .relative {
    margin-block: 0;
  }

  body[data-page-name="index"] .section-p.style-6 > .relative > .flex {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: start;
    gap: 0;
  }

  body[data-page-name="index"] .section-p.style-6 > .relative > .flex > div:last-child {
    align-self: center;
  }

  body[data-page-name="index"] .section-p.style-6 > .relative > .flex > div:last-child .group img {
    width: 112px;
  }
}
	/*End*/
	/*Service Section*/


#section-hp-services > div:has(h6, h2) {
  position: relative;

}
	#section-hp-services .group h4 {
  font-size: clamp(20px, 2vw, 32px) !important;
  line-height: 1.2;
  text-wrap: balance;
}
	#section-hp-services .group h4 {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(20px, 2vw, 32px) !important;
  line-height: 1.2;
  text-wrap: balance;
}
	
	@media (min-width: 1024px) {
  #section-hp-services {
    box-sizing: border-box;
    width: 100%;
    max-width: 1560px;
    margin-inline: auto;
    padding-inline: clamp(24px, 3vw, 48px);
  }

  #section-hp-services > .max-w-7xl:has(.hp-service) {
    max-width: none;
  }
}
	/*end*/
	/*team*/

#section-hp-team .homepage-team-swiper-2 .swiper-slide > .grid > img {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  max-height: 480px !important;
  object-fit: contain;
  place-self: center;
}


@media (min-width: 1024px) {
  #section-hp-team .homepage-team-swiper-2 .swiper-slide a.ry-btn {
    margin-left: 0;
    margin-right: auto;
  }
}
	#section-hp-team .swiper-pagination-bullet-active {
  background-color: var(--color-primary-background, #0071a2) !important;
  opacity: 1;
}
	/*end*/
	
	/*hero*/
	@media (max-width: 1023px) {
  #hp-slider {
    --hero-height: clamp(360px, 65svh, 660px);
  }

  #hp-slider,
  #hp-slider :is(.homepage-swiper, .swiper-wrapper, .swiper-slide),
  #hp-slider .swiper-slide > div:first-child {
    height: var(--hero-height) !important;
    min-height: 0 !important;
  }

  #hp-slider .homepage-swiper {
    overflow: hidden;
  }

  #hp-slider .swiper-slide > div:first-child {
    position: relative;
  }

  #hp-slider .swp-img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
  }

  #hp-slider .swiper-slide > div:first-child::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 35%, rgb(0 0 0 / 70%));
    pointer-events: none;
  }

  #hp-slider .slider-info {
    inset: auto 0 52px !important;
    padding-inline: 20px !important;
    background: transparent !important;
    z-index: 3;
  }

  #hp-slider .slider-info h2 {
    font-size: clamp(26px, 5vw, 46px) !important;
    line-height: 1.15 !important;
    white-space: normal;
    text-wrap: balance;
  }

  #hp-slider .swiper-pagination-1 {
    display: block;
    bottom: 16px !important;
    left: 0;
    width: 100%;
  }
}
		
/* Desktop header logo */
#navigation-style-3 > .flex-shrink-0 > img {
  max-width: 320px;
  height: auto;
}

/* Tablet and mobile header logo */
#navigation .snap-mobile-menu a > img {
  width: min(220px, calc(100vw - 175px));
  max-height: none;
  height: auto;
}		
		
/* White header on internal pages */
body#ry-pg-body #navigation.navigation-3 > .bg-primary-background {
  background-color: #fff !important;
}	