.left-content>small {
  display: none !important;
}

body .container {
  max-width: 100%;
  width: 85%;
}

.about-banner-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
}

.about-banner-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 50px;
  color: #fff;
  margin-bottom: 1rem;
}

.about-banner-content h5 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
}

.about-page-content .section-para {
  width: 75%;
  margin: auto;
}



/* Banner */
.image-banner {
  text-align: center;
}

.image-banner img {
  max-height: 600px;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* content Section Styling start */
.custom-section {
  padding: 80px 20px;
  text-align: center;
  background: url('../images/optical/content-bg.png');
  background-repeat: repeat;
  background-size: 100% 100%;
}

.custom-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  /* ExtraBold */
  font-size: 40px;
  line-height: 100%;
  color: #016481;
  margin-bottom: 30px;
}

.custom-description {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  /* Regular */
  font-size: 20px;
  color: #757577;
  max-width: 1100px;
  margin: 0 auto;
}

/* Reusable fade-up animation */
.animate-bottom {
  opacity: 0;
  animation: fadeUp 1s ease-out forwards;
}

.animate-bottom:nth-child(1) {
  animation-delay: 0.2s;
}

.animate-bottom:nth-child(2) {
  animation-delay: 0.5s;
}

.animate-bottom:nth-child(3) {
  animation-delay: 0.8s;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(50px);

  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* content Section Styling end */


/* box section start */

.custom-benefit-section {
  padding: 80px 20px;
  text-align: center;
  padding-bottom: 8rem;
  padding-top: 0rem;
  background: url('../images/optical/box-iol-banner.png');
  background-repeat: repeat;
  background-size: 100% 100%;
}

.section-top-text {
  font-family: 'Lato', sans-serif;
  font-size: 22px;
  margin-bottom: 70px;
  color: #757577;
  margin-top: 30px;

}

.benefit-boxes {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.benefit-box {
  display: flex;
  align-items: center;
  background: url('../images/optical/feature-border.png') no-repeat center center/cover;
  width: 30%;
  border-radius: 12px;
  overflow: hidden;
  transition: background 0.3s ease;
  cursor: pointer;
  position: relative;
  padding: 20px 0 10px 30px;
  background-repeat: repeat;
  background-size: 100% 100%;
  height: 220px;
}

.benefit-box:hover {
  background: url('../images/optical/feature-hover-bg.png') no-repeat center center/cover;
  /* hover bg */
  background-repeat: repeat;
  background-size: 100% 100%;
}

.benefit-text {
  flex: 1;
  text-align: left;
  padding-right: 15px;
}

.benefit-text h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: #016481;
  margin-bottom: 20px;
}

.benefit-text p {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  color: #757577;
}

.benefit-image {
  width: 70px;
  height: 70px;
  position: absolute;
  top: 0;
  right: 0;
}

.benefit-image img {

  /*position: absolute;*/
  /*top: -77%;*/
  /*right: 10%;*/
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.benefit-image .normal-icon {
  opacity: 1;
  display: block;
}

.benefit-image .hover-icon {
  opacity: 0;
  display: none;
}

.benefit-box:hover .benefit-image .normal-icon {
  opacity: 0;
  display: none;
}

.benefit-box:hover .benefit-image .hover-icon {
  opacity: 1;
  display: block;
}

.benefit-box:hover .benefit-text h3,
.benefit-box:hover .benefit-text p {
  color: #fff;
}

/* box section end */

/* fourth glass section  start*/
.section-optical {
  position: relative;
  min-height: 600px;
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;

}

.section-optical .section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://d225z86ulllzkb.cloudfront.net/glass2-banner.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  z-index: 1;
}

.container.content-bottom {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0;
  padding-bottom: 2rem;
}

.optical-desc {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 22px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.feature-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 1rem;
}

.feature-box {
  display: flex;
  align-items: flex-start;
  flex: 1;
  padding: 0 30px;
  justify-content: center;
  align-items: center;
}

.feature-icon {
  flex-shrink: 0;
  margin-right: 15px;
}

.feature-icon img {
  width: auto;
  height: 70px;
}

.feature-text h3 {
  font-size: 28px;
  margin: 0 0 5px 0;
  font-weight: 600;
}

.feature-text p {
  font-size: 18px;
  line-height: 1.4;
  margin: 0;
}

.fx-icon,
.fx-text {
  opacity: 0;
  transform: translateY(10px);
}

.fx-show-icon {
  animation: iconPop 320ms cubic-bezier(.2, .75, .25, 1) forwards;
}

.fx-show-text {
  animation: textUp 360ms ease-out forwards;
}

@keyframes iconPop {
  0% {
    opacity: 0;
    transform: scale(.6);
    filter: blur(2px);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes textUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* fourth glass section end */


/* tips section start*/

#lens-steps {
  background: url('../images/optical/step-bg.png');
  background-repeat: repeat;
  background-size: 100% 100%;
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 40px;
  color: #016481;
  margin-bottom: 30px !important;

}

.steps-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.step {
  text-align: center;
  padding: 10px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  z-index: 1;
}

/* Ensure step icons show even if wrapper has constraints */
#lens-steps .step-icon img {
  max-width: 96px;
  /* adjust to your design */
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Make sure the SVG sits under content and doesn’t block clicks */
#lens-steps .steps-svg {
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

#lens-steps .container>* {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: auto;
}

#lens-steps.animate .step {
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: calc(var(--i) * 0.3s);
}

.lens-steps-section .top-row {
  position: relative;
}

.lens-steps-section .top-row::after {
  content: '';
  position: absolute;
  left: -95px;
  top: 53px;
  width: 1650px;
  height: 290px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-image: url('../images/optical/ARROW\ DOTTED\ LINE.svg');
}

/* Common step style */
.steps-wrap .step {
  /* width: 100px; */
  width: 260px;
  margin: 10px;
  padding: 15px;
  border-radius: 10px;
  font-weight: bold;
}

/* Wave effect: shift row 2 down */
.steps-wrap .step:nth-child(5),
.steps-wrap .step:nth-child(6),
.steps-wrap .step:nth-child(7) {
  transform: translateY(80px);
}

/* Reverse visual order for row 2 */
.steps-wrap .step:nth-child(5) {
  order: 7;
}

.steps-wrap .step:nth-child(6) {
  order: 6;
}

.steps-wrap .step:nth-child(7) {
  order: 5;
}

.step-icon {
  background: #00bcd4;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.step-icon {
  background: none;
}

.step-icon img {
  width: 60%;
  /* force inside */
  height: auto;
  object-fit: contain;
  display: block;
}

.step h6 {
  font-weight: bold;
  color: #0d3b66;
  font-size: 18px;
  margin-bottom: 8px;
}

.step p,
.step li {
  font-size: 16px;
  color: #000000;
  margin: 0;
  font-weight: 500;
  text-align: left;

}

.step-points {
  text-align: center;

}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* tips section end */

/* do section start */


/* ================== Variables ================== */
:root {
  --c-teal: #0aa3a3;
  --c-deep: #0b5573;
  --c-sub: #6b7b86;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(14, 36, 49, 0.08);
  --icon-in: 600ms;
  /* slower */
  --text-in: 600ms;
  /* slower */
  --gap-between-rows: 400ms;
  /* slower delay */
}

#care-section {
  background-image: url('../images/optical/do banner.png');
  background-repeat: repeat;
  background-size: 100% 100%;
  padding: 80px 20px;
}

#care-section .row {
  display: flex;
  justify-content: center;
  gap: 10%;
  margin-top: 3rem;
}

#care-section .col-lg-6 {
  flex: 0 0 30%;
  max-width: 28%;
}

.care-title {
  text-align: center;
  font-weight: 800;
  margin: 28px 0;
  color: #016481;
  font-size: 40px;
  line-height: 100%;
  font-family: "Montserrat", sans-serif;
}

.care-panel {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 10px;
  min-height: 420px;
  border: 1px solid #C2C2C2;
}

.side-tab {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  height: 400px;
  border-radius: 16px 0 0 16px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 35%;
  box-shadow: var(--shadow);
}

.side-tab .vtxt {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 1.6px;
}

.side-tab.left {
  left: -70px;
  background: var(--c-teal);
}

.side-tab.left2 {
  left: -70px;
  background: var(--c-deep);
}

/* Lists */
.care-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.care-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 8px;
  border-radius: 14px;
}

.care-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.neg .care-icon {
  background: #edf3f8;
}

.care-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Text */
.step-title {
  margin: 2px 0 0;
  font-family: Lato;
  font-weight: 800;
  font-size: 18px;
  color: #000000;


}

.step-desc {
  margin: 6px 0 0;
  color: #000000;
  font-family: Lato;
  font-weight: 400;
  font-size: 16px;


}

/* Animations */
.care-icon,
.step-text {
  opacity: 0;
  transform: translateY(12px);
}

.show-icon {
  animation: iconPopSmooth var(--icon-in) forwards;
}

.show-text {
  animation: textFadeUp var(--text-in) forwards;
}

img.tab-icon {
  width: 80%;
}

@keyframes iconPopSmooth {
  0% {
    opacity: 0;
    transform: scale(0.7);
    filter: blur(2px);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes textFadeUp {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================== Responsive ================== */
@media (max-width: 1024px) {
  .container.content-bottom {
    padding-bottom: 3rem;
  }

  #care-section .col-lg-6 {
    flex: 0 0 40%;
    max-width: 40%;
  }
}



/* Responsive: Stack boxes on small screens */
@media (max-width: 900px) {
  .care-panel {
    min-height: auto;
  }

  .feature-row {
    flex-direction: column;
    gap: 20px;
  }

  .feature-box {
    flex: 1 1 100%;
  }
}


@media (max-width: 768px) {
  .section-optical {
    min-height: 800px;
    color: #fff;
  }

.section-optical .section-bg
 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(https://d225z86ulllzkb.cloudfront.net/glass2-banner.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    z-index: 1;
}

  .container.content-bottom {
    display: none;

  }

  /*.feature-text p {*/
  /*    font-size: 16px;*/
  /*    color:#000000;*/

  /*}*/
  /*.feature-text h3 {*/
  /*    font-size: 20px;*/
  /*    margin: 0 0 5px 0;*/
  /*    font-weight: 600;*/
  /*    color:#000000;*/
  /*}*/
  /*.feature-icon img {*/
  /*    width: 50px;*/
  /*    height: 50px;*/
  /*}*/
  /* .feature-box {*/
  /*       padding:10px;*/
  /*    }*/
  /*.optical-desc {*/
  /*    margin-bottom: 1rem;*/
  /*    font-size: 20px;*/
  /*}*/

  #care-section .row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  #care-section .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Show and restyle side-tab on mobile */
  .side-tab {
    position: relative;
    /* not absolute */
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: 60%;
    height: auto;
    padding: 6px 12px;
    margin-bottom: 16px;
    /* space below */
    border-radius: 8px;
    display: inline-flex;
    /* show inline */
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .side-tab .tab-icon {
    width: 20px;
    height: 20px;
    opacity: 0.95;
  }

  .side-tab .vtxt {
    writing-mode: horizontal-tb;
    transform: none;
    margin-left: 8px;
    font-size: 14px;
    letter-spacing: 1px;
  }

  .benefit-box {
    width: 100%;
    height: 190px;
    padding: 10px 20px;
  }

  body .container {
    max-width: 100%;
    width: 100%;
  }

  .benefit-image {
    width: 60px;
    height: 60px;
    position: absolute;
    top: 0px;
    right: 0%;
  }

  .side-tab.left {
    left: -35px;
  }

  .side-tab.left2 {
    left: -35px;
    background: var(--c-deep);
  }

  .section-title,
  .care-title,
  .custom-title {
    font-size: 28px;

  }

  .about-banner-content {
    position: absolute;
    left: 50%;
    top: 65%;
    transform: translate(-50%, -50%);
    width: 90%;
    z-index: 1;
  }

  .benefit-text h3 {
    font-size: 24px;
    color: #016481;
    margin-bottom: 10px;
  }

  .custom-section {
    padding-bottom: 20px;
  }
}

@media (max-width: 600px) {
  #lens-steps .container>* {
    width: 100%;
  }

  s .lens-steps-section .top-row::after {
    display: none;
  }
}











/* 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;  */
}

/* .slide-frame {
  position: absolute;
  width: 450px;
  height: 450px;
  object-fit: contain;
  right: 18%;
  bottom: 0%;
} */

/* --- The Box Container Styling (Core of the UI) --- */
.section_animation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1000px;
  padding: 40px 100px;
  border: 2px solid #c2c2c2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  border-radius: 15px;
  min-height: 450px;
  /* opacity: 0; */
  /* transform: translateY(30px); */
  transition: opacity 0.6s ease-out, transform 0.4s ease-out;
}

/* --- Content Styling --- */
.left-content {
  flex: 1;
  max-width: 100%;
  padding-left: 0rem;
  text-align: left;
}

.left-content small {
  display: block;
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 45px;
  font-weight: 500;
}

.left-content h2 {
  font-size: 46px;
  font-weight: 800;
  margin-bottom: 0;
  line-height: 1.1;
  transition: color 0.5s ease;
  font-family: 'Montserrat';
  text-transform: uppercase;


}

.left-content h3 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 10px;
  transition: color 0.5s ease;
  font-family: 'Montserrat';
}

.left-content p {
  color: #757577;
  font-size: 16px;
  margin-bottom: 10px;
  margin-top: 10px;
  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 */
}

/* --- 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;
}

.slider-frame 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;
}

.slider-frame 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 .slider-frame 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 .slider-frame 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 !important;
  font-size: 50px;
  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: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
}

.get-in-touch-banner h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 50px;
  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;
  }

  .slide-frame {
    position: absolute;
    width: 310px;
    height: 310px;
    right: 0%;
    bottom: 0%;
  }

  .section_animation {
    border: unset;
    box-shadow: unset;
  }

  .left-content {
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 20px;
  }

  .left-content {
    padding-left: 0rem;
  }

  .right-image {
    justify-content: center;
  }

  .left-content h2 {
    font-size: 36px;
  }

  .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;
    width: 100%;
  }

  .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: 36px;
  }

  .left-content h3 {
    font-size: 22px;
    margin: 10px 0;
  }

  .left-content p {
    font-size: 20px;
  }

  .right-image {
    max-width: 100%;
  }

  .home-about-content p {
    width: 100%;
    margin: auto;
  }

  div#tagBar {
    gap: 10px;
  }

  .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;
  }

}





/* --- 1. Base Image Styling (Starts small and off-screen) --- */

.slide-frame {
  position: absolute;
  /* width: 500px;
  height: 500px; */
  right: 18%;
  bottom: 0%;

  /* INITIAL STATE: Image starts small and off-screen (to the right) */
  transform: translateX(100px) scale(0.8);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
  /* Define the transition properties */
}

/* --- 2. Left Content Styling (Starts off-screen to the left) --- */

.left-content {
  /* INITIAL STATE: Content starts off-screen (to the left) */
  transform: translateX(-50px);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

/* --- 3. The Animation Trigger (Final State) --- */

/* When .is-animated is applied to .section_animation, target the child elements */

/* 🚀 TEXT ANIMATES FIRST */
/* --- 1. Base Image Styling (Starts small and off-screen) --- */

.slide-frame {
  position: absolute;
  width: 450px;
  height: 450px;
  right: 18%;
  bottom: 0%;

  /* INITIAL STATE: Image starts small and off-screen (to the right) */
  transform: translateX(100px) scale(0.8);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
  /* Define the transition properties */
}

/* --- 2. Left Content Styling (Starts off-screen to the left) --- */

.left-content {
  /* INITIAL STATE: Content starts off-screen (to the left) */
  transform: translateX(-50px);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

/* --- 3. The Animation Trigger (Final State) --- */

/* When .is-animated is applied to .section_animation, target the child elements */

/* 🚀 TEXT ANIMATES FIRST */
.section_animation.is-animated .left-content {
  /* FINAL STATE: Content slides into view */
  transform: translateX(0);
  opacity: 1;
  /* Reduced delay (starts sooner) */
  transition-delay: 0.1s;
}

/* 🐢 IMAGE ANIMATES SECOND */
.section_animation.is-animated .slide-frame {
  /* FINAL STATE: Image returns to its normal position and scale */
  transform: translateX(0) scale(1);
  opacity: 1;
  /* Increased delay (starts later) */
  transition-delay: 0.8s;
}


@media (max-width: 768px) and (min-width: 450px) {
  .slide-frame {
    right: 0;
  }
}

@media (max-width: 420px) {
  .section_animation {
    min-height: 500px !important;
    height: 600px !important;
  }

  .slide-frame {
    width: 300px;
    height: auto;
  }

  .left-content h2 {
    font-size: 30px;
  }
}