

.left-content>small {
    display: none !important;
}

    /* Banner CSS for vertical smooth scroll */
.banner-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.banner-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.banner-item {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  user-select: none;
  pointer-events: none;
}

.products {
  display: flex;
  flex-wrap: wrap;
  /* justify-content: space-between; */
}

.product-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 10px;
  transition: 0.3s;
  width: 24%;
    color: #000;
    position: relative;
    margin-bottom: 20px;
    margin-right: 10px;
}

.top-corner {
  top: 115px;
  right: 8px;
}

button.tag-btn.active {
  background: #016481;
  color: white;
  border: #016481;
}

button.tag-btn {
  background: #e4f9ff;
  color: rgb(1, 100, 129);
  font-weight: bold;
}

input#searchInput {
  background: #f8fafa;
}

.card-content.text-left {
  text-align: left;
}

.input-group.search-input {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 50%;
  justify-self: center;
}

.full-width-section {
  position: relative;
  width: 100%;
  height: 100%;
  /* Adjust the height of the section */
  background: url("images/iol-aurovue.png") no-repeat center center/cover;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 5%;
  color: white;
  padding: 20px;
  max-width: 50%;
}

.circle-overlay {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
}

.container {
  z-index: 10;
  position: relative;
}

.section-text {
  padding: 30px 0;
}

p.lead_text {
  font-family: Montserrat;
  font-weight: 600;
  color: #016380;
  width: 75%;
}

.full-width-section .overlay-text h2 {
  font-family: Montserrat;
  font-weight: 800;
  color: #016380;
}

div#frame120,
div#frame121,
div#frame122 {
  padding-top: 50px;
  padding-bottom: 50px;
}

.main-container {
  padding: 0 20px;
  /* Add some side padding for better viewing */
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding: 20px 0;  */
}

/* --- The Box Container Styling (Core of the UI) --- */
.section_animation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  padding: 40px 60px;
  border: 2px solid #c2c2c2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  border-radius: 15px;
  min-height: 550px;
  /* opacity: 0; */
    /* transform: translateY(30px); */
    transition: opacity 0.6s ease-out, transform 0.4s ease-out;
}

.section_animation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1000px;
  padding: 40px 60px;
  border: 2px solid #C2C2C2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  border-radius: 15px;
  min-height: 450px;
  transition: all 0.5s ease-in-out;
  margin-bottom: 30px;
}



/* --- Content Styling --- */
.left-content {
  flex: 1;
  max-width: 50%;
  padding-right: 40px;
}

.left-content small {
  display: block;
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 5px;
  font-weight: 500;
}

.left-content h2 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 0;
  line-height: 1.1;
  transition: color 0.5s ease;
      font-family: 'Montserrat';
  

}

.left-content h3 {
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 15px;
  transition: color 0.5s ease;
  margin-top: 15px;
      font-family: 'Montserrat';
}

.left-content p {
  color: #757577;
  font-size: 16px;
  margin-bottom: 15px;
  margin-top: 15px;
  font-family: Lato;
  font-weight: 400;
}

/* --- Active vs. Faded Look Logic --- */

/* Default/Faded colors (for slides that are not active) */
.swiper-slide h2 {
  color: #ced4da;
  /* Light grey for unselected titles */
}

.swiper-slide h3 {
  color: #016481;
  /* Medium grey for unselected subtitles */
}

/* Override with the active/prominent colors */
.swiper-slide-active h2 {
  color: #016481;
  /* Primary Blue for the active slide */
}

.swiper-slide-active h3 {
  color: #016481;
  /* Darker color for the active slide's sub-title */
}

/* Slightly fade the button on unselected slides */

/* --- 'View Products' Button Styling --- */

/* --- Image Styling --- */
.right-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.right-image img {
  max-width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
}

/* --- Swiper Pagination Dots --- */
.swiper-pagination {
  position: relative;
  /* Position below the slider */
  padding-top: 20px;
}

.swiper-pagination-bullet-active {
  background: #016481 !important;
}

 .slide-bg {
            background-image: url('../images/cards/bg-grediant.png');
            background-position: center;
            /* Replace with your first image path */
        }
.slide-bg-cataract {
  background-image: url("../images/cards/bg-grediant-cataract.png");
  background-position: center;
  /* Replace with your first image path */
}
.slide-bg-retina {
  background-image: url("../images/cards/bg-grediant-retina.png");
  background-position: center;
  /* Replace with your first image path */
}

.slide-bg-orbit {
  background-image: url("../images/cards/bg-grediant-cataract.png");
  background-position: center;
  /* Replace with your first image path */
}
.slide-bg-cornea {
  background-image: url("../images/cards/bg-grediant-cornea.png");
  background-position: center;
  /* Replace with your first image path */
}
.slide-bg-general {
  background-image: url("../images/cards/bg-grediant-general.png");
  background-position: center;
  /* Replace with your first image path */
}
.slide-bg-glaucoma {
  background-image: url("../images/cards/bg-grediant-glaucoma.png");
  background-position: center;
  /* Replace with your first image path */
}
.slide-bg-speciality-products {
  background-image: url("../images/cards/bg-grediant-speciality-products.png");
  background-position: center;
  /* Replace with your first image path */
}


/* --- Text Animation Styling: NEW Right/Left Motion --- */

/* 1. Define the base state (hidden/off-screen) */
/* Apply to ALL animatable elements in the left column */
.left-content small,
.left-content h2,
.left-content h3,
.left-content p,
.left-content .hover-btn {
  opacity: 0;
  /* START HIDDEN TO THE LEFT */
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Apply to the right image to make it slide from the right */
.right-image img {
  opacity: 0;
  /* START HIDDEN TO THE RIGHT */
  transform: translateX(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* --- Animation Base State (Initial Hidden Position) --- */

/* Group all elements that should start off-screen and invisible. */
.left-content :is(small, h2, h3, p, .hover-btn) {
  opacity: 0 !important;
  /* Use !important temporarily for testing if needed, but try without first */
  transform: translateX(-50px) !important;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.right-image img {
  opacity: 0 !important;
  transform: translateX(50px) !important;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* --- Animation Active State (Final Visible Position) --- */

/* When the active slide has the 'is-animated' class, transition elements to their final state. */
.swiper-slide-active
  .section_animation.is-animated
  .left-content
  :is(small, h2, h3, p, .hover-btn) {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.swiper-slide-active .section_animation.is-animated .right-image img {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* --- Staggered Delays (Ensuring each element animates one after the other) --- */

.swiper-slide-active .section_animation.is-animated .left-content small {
  transition-delay: 0.2s;
}

.swiper-slide-active .section_animation.is-animated .left-content h2 {
  transition-delay: 0.4s;
}

.swiper-slide-active .section_animation.is-animated .left-content h3 {
  transition-delay: 0.6s;
}

.swiper-slide-active .section_animation.is-animated .left-content p {
  transition-delay: 0.8s;
}

.swiper-slide-active .section_animation.is-animated .left-content .hover-btn {
  transition-delay: 1s;
}

.swiper-slide-active .section_animation.is-animated .right-image img {
  transition-delay: 0.5s;
}

.home-about-content p{
        width: 80%;
    margin: auto;
}
.text-banner-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
}

.text-banner-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 40px;
    color: #fff;
    margin-bottom: 1rem;
}

.text-banner-content h5 {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #fff;
    line-height: 1.5em;
        width: 34%;
}

.get-in-touch-banner {
    position: absolute;
    left: 105%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
}

.get-in-touch-banner h3 {
        font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 40px;
    color: #016481;
    margin-bottom: 1rem;
    width: 50%;
}

.get-in-touch-banner h5 {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #fff;
    line-height: 1.5em;
        width: 34%;
}

.about-page-content .section-para {
    width: 75%;
    margin: auto;
}

.text-banner-content.pharma h5 {
    color: #000000;
    width: 43%;
}
.text-banner-content.pharma h3 {
    color: #016481;
    width: 50%;
}

/* *** IMPORTANT DEBUGGING STEP: ***
   If the animation still doesn't fire, try adding the !important declarations above. 
   If it works with !important, it means another CSS rule is overriding your initial 
   (opacity: 0) or final (opacity: 1) states. If it works without !important, that's better.
*/

/* --- Media Query for smaller screens --- */
@media (max-width: 768px) {
  .section_animation {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
  }

  .section_animation {
    border: unset;
    box-shadow: unset;
  }

  .left-content {
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 20px;
  }

  .right-image {
    justify-content: center;
  }

  .left-content h2 {
    font-size: 36px;
  }

  .left-content h3 {
    font-size: 24px;
  }
}

/* For tablet-sized screens (e.g., 768px to 1024px wide) */
@media (max-width: 1024px) {
  .product-card {
    width: 48%;
    /* 2 items per row */
  }
}

/* For smaller screens (e.g., 480px to 767px wide) */
@media (max-width: 767px) {
  .product-card {
    width: 98%;
    /* 1 item per row */
  }
}

/* For very small screens (e.g., mobile phones under 480px) */
@media (max-width: 480px) {
  .product-card {
    width: 98%;
    /* 1 item per row, same as above */
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .overlay-text {
    background-color: transparent !important;
    /* remove dark overlay */
    padding: 0;
    max-width: 100%;
  }

  .circle-overlay {
    display: none;
    /* hide circle on mobile */
  }

  p.lead_text {
    width: 100%;
    text-align: left;
  }

  p.desc-text {
    text-align: left;
  }

  .full-width-section .overlay-text h2 {
    font-family: Montserrat;
    font-weight: 800;
    color: #016380;
    text-align: left;
  }
}

@media (max-width: 576px) {
  .full-width-section {
    text-align: center;
  }

  .overlay-text {
    background: rgba(0, 0, 0, 0.6);
  }

  .circle-overlay {
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 992px) {
  .slide-bg,
  .slide-bg-2,
  .slide-bg-3 {
    /* flex-direction: column-reverse; */
    padding: 40px 40px;
    text-align: center;
  }

  .left-content {
    max-width: 100%;
    margin-top: 20px;
  }

  .right-image {
    max-width: 80%;
    margin: 0 auto;
  }
}

/* Responsive for mobile */
@media (max-width: 576px) {
  .slide-bg,
  .slide-bg-2,
  .slide-bg-3 {
    padding: 20px 20px;
  }

  .left-content h2 {
    font-size: 1.5rem;
  }

  .left-content h3 {
    font-size: 1.2rem;
  }

  .left-content p {
    font-size: 0.95rem;
  }

  .right-image {
    max-width: 100%;
  }
  .home-about-content p {
    width: 100%;
    margin: auto;
}
div#tagBar {
    gap: 10px;
        justify-content:center;
}

.text-banner-content{
  top: 65%;
    z-index: 2;
}
.text-banner-content h3 {
        font-size: 30px;
    }
    body .container {
    max-width: 100%;
    width: 100%;
}
.text-banner-content h5 {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #fff;
    line-height: 1.5em;
    width: 85%;
}


.get-in-touch-banner{
  top: 88%;
    z-index: 2;
            text-align: center;
}
.get-in-touch-banner h3 {
        font-size: 18px;
        width: 100%;

    }
    body .container {
    max-width: 100%;
    width: 100%;
}
.get-in-touch-banner h5 {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #fff;
    line-height: 1.5em;
    width: 85%;
}
.get-in-touch-banner.desktop .view-products-btn {
    margin: 0;
    margin-bottom: 30px;
}
.text-banner-content.pharma h5 {
    color: #ffffff;
    width: 100%;

}
.text-banner-content.pharma h3 {
    color: #ffffff;
    width: 100%;
}
div#frame120, div#frame121, div#frame122 {
    /* padding-top: 10px;
    padding-bottom: 10px; */
}
.section_animation {
        min-height: 700px !important;
        height: 700px !important;
    }
   
}
