/* ------------------------------------------------------
   BASE RESET
------------------------------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* .row{
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
} */

html, body {
  /* font-family: 'Poppins', sans-serif !important;
  font-weight: 500; */
  background: #ffffff;
  /* font-size: 16px; */
  color: #333333;
  overflow-x: hidden;
}

/* Headings (Elegant serif) */
h1, h2, h3, h4, h5, h6, .section-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Paragraphs + regular text */
body, p, .treat-content, .hero-p, li, a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ------------------------------------------------------
   HEADER
------------------------------------------------------ */
.header {
  width: 100%;
  background: #000000;
  border-bottom: 1px solid #eee;
  padding: 8px 0;
  position: fixed;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: auto;
  height: 60px;
}

.brand span {
  font-size: 20px;
  font-weight: 700;
  color: #25A46A;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  transition: 0.3s;
}

.nav a:hover {
  color: #25A46A;
}

/* ------------------------------------------------------
   HERO SECTION
------------------------------------------------------ */
.hero {
  background-color: #eef5f0;
  position: relative;
  width: 100%;
  padding: 150px 0;
  background-image: url("../images/bg/bg1.png");
  background-blend-mode: overlay;
  background-repeat: no-repeat;
  background-size: cover;     /* covers entire section */
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.subtitle {
  font-size: 18px;
  /* font-weight: 600; */
  color: #2a8244 !important;
  /* text-transform: uppercase; */
  margin-bottom: 12px;
}

.hero-head {
  font-size: 54px;
  line-height: 1.1;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333333!important;
}

.underline {
  display: block;
  width: 100px;
  height: 4px;
  background: #25A46A;
  margin: 12px 0 20px;
}

.hero-p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8em;
  max-width: 545px;
  margin-bottom: 30px;
  color: #444;
}

.btn-primary {
  display: inline-block;
  background: #2a8244;
  color: #fff;
  padding: 11px 28px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 18px;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #1E8A58;
}

.hero-right {
  position: relative;
}

.hero-illus img {
  width: 565px;
  margin-bottom: 125px;
}

@media (max-width:991px){
  .hero-illus img{
    margin-bottom: 0;
  }
}


/* ------------------------------------------------------
   FEATURES ROW
------------------------------------------------------ */
.hero {
    position: relative;
    overflow: visible;
}

.hero-clouds {
    position: absolute;
    top: 685px;
    bottom: 0;
    left: 0;
    width: 100%; /* stretch full width */
    height: 300px;
    pointer-events: none; /* so image won't block clicks */
}

.features-row {
  display: flex;
  justify-content: space-between;
  margin-top: 80px;
  gap: 40px;
}

.feature {
  flex: 1;
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.center {
  transform: translateY(-40px);
}

.icon-row {
  display: flex;
  gap: 20px;
}

.icon-row h3 {
  color: #2d8546;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.icon-row p {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

/* ------------------------------------------------------
   ABOUT SECTION
------------------------------------------------------ */
.about {
  display: flex;
  gap: 40px;
  align-items: center;
  margin: 80px auto;
}

.video img {
  width: 500px;
  border-radius: 20px;
}

.text h2 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 14px;
}

.text p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 660px;
  color: #444;
  margin-bottom: 20px;
}

/* ------------------------------------------------------
   LEGACY SECTION
------------------------------------------------------ */
.legacy-section {
    padding: 55px 0;
    position: relative;
}

/* Left text */
.legacy-text h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 25px;
}

.legacy-text p {
    font-size: 16px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Right image container */
.legacy-image {
    position: relative;
}

/* Add leaf background behind the number */
.legacy-section {
    position: relative;
    width: 100%;
    padding: 45px 0;
    background-image: url("../images/bg/bg2.png");
    background-repeat: no-repeat;
    background-size: 100% auto; /* width 100%, height auto */
    background-position: center;
}


.legacy-image img {
    margin: 0 auto 110px;
    display: block;
    width: 80%;
    max-width: 450px;
}

@media (max-width: 768px) {
    .legacy-text h2 {
        font-size: 31px;
    }

    .legacy-image::before {
        background-size: 250px;
        right: 0;
        opacity: 0.18;
    }
}


/* ------------------------------------------------------
   TREATMENT GRID
------------------------------------------------------ */
.treatments {
  padding: 30px 0 100px;
}

.t-grid {
  display: grid;
  width: 90%;
  max-width: 1200px;
  margin: auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.t-card {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.t-card:hover {
  transform: translateY(-6px);
}

.t-card h4 {
  font-size: 20px;
  margin: 12px 0;
  font-weight: 700;
}

.t-card p {
  font-size: 15px;
  line-height: 28px;
  max-width: 100%;
  color: #555;
  margin-bottom: 20px;
}

.link {
  color: #25A46A;
  font-weight: 600;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 800px) {
    .t-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .t-grid {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------
    FOOTER SECTION
------------------------------ */

.footer {
    background: #000;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-logo{
  width: auto;
  height: 60px;
}

.footer-top {
    max-width: 1200px;
    margin: auto;
}

.footer-top p {
    font-size: 15px;
    line-height: 1.7;
    max-width: 495px;
}

.footer-about p {
    font-size: 15px;
    line-height: 1.7;
    max-width: 520px;
    margin: 20px 0 25px;
}

.footer-social a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: #1F7F4A;
    background: #fff;
    border-radius: 50%;
    font-size: 16px;
    margin-right: 12px;
    transition: 0.2s;
}

.footer-social a:hover {
    background: #1F7F4A;
    color: #fff;
}

/* Divider line */
.footer-divider {
    border: none;
    border-top: 1px solid #333;
    margin: 40px 0;
}

/* Info boxes */
.footer-info {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.info-box {
    width: 30%;
    min-width: 250px;
}

.info-box i {
    color: #1F7F4A;
    font-size: 22px;
    margin-bottom: 10px;
}

.info-box h4 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 700;
}

.info-box p {
    font-size: 15px;
    line-height: 1.6;
}

/* Bottom area */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    font-size: 14px;
    border-top: 1px solid #111;
}

.footer-bottom .brand-link {
    color: #1F7F4A;
    font-weight: 600;
}

.address-text {
    max-width: 300px;   /* Increase this value as you like */
    line-height: 1.6;
}

@media (max-width: 768px) {
  
  .color-gray{
    font-size: 13px;
  }

  .footer-bottom .col-12 {
    flex-direction: column !important;
    text-align: center !important;
    gap: 10px; 
  }

  .footer-bottom nav,
  .footer-bottom .powered-by {
    width: 100%;
    justify-content: center !important;
  }

  .footer-bottom .powered-by {
    margin-top: 5px;
  }
}

@media (max-width: 768px) {
  .footer-bottom .col-12 {
    flex-direction: column !important;
    text-align: center !important;
    gap: 10px;
  }

  .footer-bottom nav,
  .footer-bottom .powered-by {
    justify-content: center !important;
    width: 100%;
  }
}


/* ------------------------------------------------------
   PHONE BUBBLE
------------------------------------------------------ */
.phone-bubble {
  position: fixed;
  bottom: 24px;
  left: 24px;   /* changed from right to left */
  width: 60px;
  height: 60px;
  background: #2a8244;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  z-index: 9999 !important;
}

/* ------------------------------------------------------
   RESPONSIVE DESIGN
------------------------------------------------------ */
@media (max-width: 1200px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .features-row {
    flex-direction: column;
  }

  .about {
    flex-direction: column;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .t-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .t-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }
}

/* Animation */

.reveal {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: 0.8s ease;
}

.feature, .t-card, .stat, .about, .hero-left, .hero-right {
  opacity: 0;
  transform: translateY(40px);
}

.item-size{
  width: auto;
  height: 60px;
}

/* boxes */

.features-row {
  display: flex;
  gap: 40px;
  align-items: stretch;  
  padding: 30px 0px 30px 0px;
}

/* .feature {
  height: 170px;           
  display: flex;
  flex-direction: column;
} */

/* Box styling – added without touching your styles */
.feature {
  background: #f1f8f1;
  height: 170px;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  justify-content: center;
}

/* Center (green) box */
.feature.center {
  background: #2d8546;
  color: white;
}

.feature.center h3,
.feature.center p {
  color: white;
}

.icon-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.icon-row img {
  width: 48px;
}

/* video */

.video video {
    height: 310px;
    width: auto;
    border-radius: 20px;
    display: block;
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
}

/* Boxes inside homepage */

/* ------------------------------
   STATS (BOX)
------------------------------ */
.legacy-sections {
    position: relative;
    width: 100%;
}

.legacy-bg {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: brightness(0.55);
}

/* GREEN OVERLAY BOXES */
.legacy-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1100px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.legacy-box {
    background: #1f7f4a63;      /* green */
    padding: 35px 20px;
    text-align: center;
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.legacy-box h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 6px;
}

.legacy-box p {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 800px) {
    .legacy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .legacy-box h2 {
        font-size: 36px;
    }
}

@media (max-width: 500px) {
    .legacy-grid {
        grid-template-columns: 1fr;
    }
}
/* MOBILE FIX */
@media (max-width: 500px) {

    /* Section height must grow with boxes */
    .legacy-sections {
        position: relative;
        width: 100%;
        padding: 40px 0;
        min-height: 550px; /* adjust height as needed */
        overflow: hidden;
    }

    /* Background image must stretch */
    .legacy-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;           /* fills the entire height of section */
        object-fit: cover;      /* stretches image properly */
        object-position: center;
        filter: brightness(0.55);
        z-index: 1;
    }

    /* Boxes should flow normally (not centered absolute) */
    .legacy-grid {
        position: relative;
        transform: none;
        top: 0;
        left: 0;
        width: 90%;
        margin: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        z-index: 2;             /* ensure boxes appear above image */
    }

    .legacy-content {
        position: relative;
        z-index: 3;     /* text above background */
        padding: 40px 20px;
        color: #fff;
        text-align: left !important;
    }
}

/* ------------------------------
   TREATMENT SECTION HEADING
------------------------------ */

.treatments-section {
    padding-top: 20px;
    background-color: #eef5f0;
}

.treatment-intro {
    text-align: center;
    max-width: 800px;
    margin: 35px auto 20px;
}

.treatment-title {
    font-size: 42px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
}

.treatment-text {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
}

/* About bg */

.about-section {
    margin-top: 70px;
    background-color: #eef5f0;
    width: 100%;
    background-image: url("../images/bg/bg1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;      /* adds spacing */
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* About Section Animation */

/* INITIAL HIDDEN POSITION */
.video, .text {
    opacity: 0;
    transform: translateX(60px);
    transition: all 1.2s ease-out;
}

/* VIDEO SHOULD COME FROM LEFT */
.video {
    transform: translateX(-60px);
}

/* WHEN VISIBLE → APPLY ANIMATION */
.show .video,
.show .text {
    opacity: 1;
    transform: translateX(0);
}

/* Legacy Animation */

/* INITIAL STATE (HIDDEN + MOVED) */
.legacy-text,
.legacy-image {
    opacity: 0;
    transition: all 1.2s ease-out;
}

/* TEXT slides from LEFT */
.legacy-text {
    transform: translateX(-60px);
}

/* IMAGE slides from RIGHT */
.legacy-image {
    transform: translateX(60px);
}

/* WHEN VISIBLE */
.legacy-show .legacy-text,
.legacy-show .legacy-image {
    opacity: 1;
    transform: translateX(0);
}

/* Phone Icon */

.phone-solid{
  margin: 0px 32px 0px 0px;
  color: white;
}

/* Whatsapp Icon */

.whatsapp-bubble {
  position: fixed;
  bottom: 32px;
  right: 30px;          /* Right side */
  width: 50px;           /* adjust size */
  height: 50px;
  z-index: 9999;
  transition: transform 0.3s;
}

.whatsapp-bubble img {
    width: auto;
    height: auto;
    max-width: 60px;
  object-fit: contain;    /* keeps PNG aspect ratio */
  display: block;
}

/* Hover effect (optional) */
.whatsapp-bubble:hover {
  transform: scale(1.1);
}

/* Navbar Dropdown */

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;  /* below the parent link */
  left: 0;
  background-color: #000000;
  min-width: 260px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  z-index: 1000;
  flex-direction: column;
}

.dropdown-content a {
  padding: 10px 10px;
  color: #ffffff;
  display: block;
}

.dropdown-content a:hover {
  background-color: #000000;
}

.dropdown:hover .dropdown-content {
  display: flex; /* show menu on hover */
}

/* Hero section Image BounceIn Effect */
.bounce-in {
  animation: bounceIn 1s ease-out;
  transform-origin: center;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* Inner Page */
.hero-illuss img {
  width: 530px;
}
/* Para Section */

.paragraph {
  background: #fff;
  padding: 25px;
  font-size: 17px;
  border-radius: 12px;
  width: 100%;
}

.inner-clouds{
  position: absolute;
  top: 525px;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 300px;
  pointer-events: none;
}

/* Elements */

.panchakarma-section {
  background-color: #eef5f0;  /* Same light green background */
  padding-top: 40px;
  padding-bottom: 20px;
}

.panchakarma-heading {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 40px;
}

.pk-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform .3s ease;
  height: 100%;          /* IMPORTANT */
  display: flex;         /* IMPORTANT */
  flex-direction: column;
}

.pk-card:hover {
  transform: translateY(-6px);
}

.pk-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
}

.pk-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #111;
}

.pk-card ul {
  padding-left: 18px;
}

.pk-card ul li {
  margin-bottom: 8px;
  color: #444;
  line-height: 1.5;
}

/* Phases Section */

/* Section spacing and alignment */
.pk-phase-section {
  padding: 80px 0;
  background: #ffffff;
  text-align: center;
}

.pk-title {
  font-size: 42px;
  font-weight: 700;
  color: #242424;
  margin-bottom: 10px;
}

.pk-subtitle {
  font-size: 18px;
  color: #444;
  margin-bottom: 50px;
}

/* Box styles */
.pk-box {
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 10px 30px rgb(0 0 0 / 18%);
  height: 100%;
  text-align: left;
  transition: 0.3s ease;
}

.pk-box:hover {
  transform: translateY(-6px);
}

/* Colors */
.light-box {
  background: #eef6ef;
}

.green-box {
  background: #1f7d43;
  color: #fff;
}

/* Icon style */
.pk-icon {
  width: 55px;
  height: 55px;
  border: 2px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 15px;
}

.green-box .pk-icon {
  border-color: #fff;
  color: #fff;
}

.pk-box h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.pk-box p {
  line-height: 1.6;
  font-size: 16px;
  color: inherit;
}

/* Benefits */

.benefits-section {
    background: #eef5f0;
    padding: 80px 0;
    position: relative;
    /* margin-top: 70px; */
    background-color: #eef5f0;
    width: 100%;
    background-image: url("../images/bg/bg1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;      /* adds spacing */
}

/* Image styling */
.benefit-img {
    width: 100%;
    border-radius: 12px;
}

/* Title */
.benefit-title {
    font-size: 42px;
    font-weight: 700;
    color: #2b2b2b;
    margin-top: 32px;
    margin-bottom: 25px;
}

/* Bullet list */
.benefit-list {
    list-style: none;
    padding-left: 0;
}

.benefit-list li {
    font-size: 16px;
    margin-bottom: 18px;
    color: #333;
    display: flex;
    align-items: flex-start;
}

/* Custom green bullet icon */
.benefit-list li::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 3px solid #2f7d45;
    border-radius: 50%;
    margin-right: 12px;
    margin-top: 6px;     
    flex-shrink: 0;
}

/* Decorative leaf images */
.leaf-left,
.leaf-right {
    position: absolute;
    width: 200px;
    opacity: 0.4;
}

.leaf-left {
    left: 0;
    bottom: 30px;
}

.leaf-right {
    right: 0;
    top: 10px;
}

.benefit-img-col {
    padding-right: 40px;   /* space between image and text */
}

.benefit-text-col {
    padding-left: 40px;    /* extra space (optional) */
}

/* Animation Panchakarma*/

/* Initial state */
.pk-card {
  opacity: 0;
  transform: translateX(0);
  transition: transform 0.8s ease, opacity 0.8s ease;
}

/* Animation when visible */
.pk-card.show {
  opacity: 1;
}

/* Left column animation (goes from center to left) */
.pk-left {
  transform: translateX(80px);
}
.pk-left.show {
  transform: translateX(0);
}

/* Right column animation (goes from center to right) */
.pk-right {
  transform: translateX(-80px);
}
.pk-right.show {
  transform: translateX(0);
}

/* Animation Phases */

/* Initial hidden state */
.pk-box {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease-out;
}

/* When visible */
.pk-box.show {
  opacity: 1;
  transform: translateY(0);
}

/* Animation Benefits */

/* Initial state */
.benefit-img-col,
.benefit-text-col {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.benefit-img-col {
    transform: translateX(-80px);   /* left → center */
}

.benefit-text-col {
    transform: translateX(80px);    /* right → center */
}

/* When visible */
.benefit-img-col.show,
.benefit-text-col.show {
    opacity: 1;
    transform: translateX(0);
}

/* Animation weight */

.treatment-section {
  padding: 80px 0;
}

.section-title {
  font-size: 40px;
  font-weight: 600;
  color: #1c1c1c;
  margin-bottom: 18px;
}

.treatment-section p {
  font-size: 16px;
  color: #333;
  margin-bottom: 18px;
  line-height: 1.7;
}

/* .treatment-section ul {
  padding-left: 20px;
} */

.treatment-section ul li {
  font-size: 16px;
  margin-bottom: 8px;
}

/* Right Image + Background Leaf */
.treatment-img-wrapper {
  position: relative;
}

/* Background Leaf Image */
.treatment-img-wrapper::before {
  content: "";
  position: absolute;
  right: -144px;
  top: -280px;
  width: 260px;
  height: 270%;
  background-image: url("../images/bg/bg2.png"); 
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center right;
  opacity: 1.25; /* light faded effect */
  z-index: 1;
}

.treatment-img {
  width: 100%;
  border-radius: 10px;
  position: relative;
  z-index: 2;
}

/* Animation weight */

/* Initial hidden state */
.treatment-section .col-lg-6 {
  opacity: 0;
  transform: translateX(-50px); /* Left content moves from left */
  transition: all 1s ease-out;
}

.treatment-section .treatment-img-wrapper {
  opacity: 0;
  transform: scale(0.8); /* Image zoom in effect */
  transition: all 1s ease-out;
}

/* Animate when visible */
.treatment-section.animate .col-lg-6 {
  opacity: 1;
  transform: translateX(0);
}

.treatment-section.animate .treatment-img-wrapper {
  opacity: 1;
  transform: scale(1);
}

/* Pain */

/* .benefits-sections {
    background: #eef5f0;
    padding: 80px 0;
    position: relative;
    margin-top: 70px;
    background-color: #eef5f0;
    width: 100%;
    background-image: url(../images/bg/bg1.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
} */

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 4rem !important;
}


.bg-light-custom {
  background: #eef7f3;
}

.bg-green-custom {
  background: #247A3B;
}

.icon-img {
  width: 55px;    /* same as screenshot */
}

.card-title-text {
  color: #1d4c2f;
}

.card-desc {
  color: #444;
}

/* Causes Section */

.infertility-section {
  background: #e9f4ee;
}

.inf-title {
  font-size: 40px;
  font-weight: 600;
  padding: 0px 0px 20px 0px;
}

.inf-subtitle {
  color: #333;
  font-size: 16px;
}

/* CARD BOX */
.inf-card {
  background: #fff;
  border-radius: 16px;
  border: 2px solid #daebe3;

  min-height: 260px;
  height: 100%;        
  display: flex;       
  flex-direction: column;
  justify-content: flex-start;
  /* align-items: center; */

  padding: 30px;
  transition: 0.3s ease;
}

.inf-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.inf-icon {
  width: 60px;
  height: auto;
  opacity: 0.9;
}

.inf-text {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-top: 15px;
}

/* Slide from Left for ALL cards at same time */
@keyframes slideFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.inf-card {
  opacity: 0;
  transform: translateX(-80px);
  transition: all 0.8s ease-out;
}

.inf-card.show {
  opacity: 1;
  transform: translateX(0);
}

/* Optional: add slight delay between rows */
.row-delay-1 {
  transition-delay: 0.2s;
}
.row-delay-2 {
  transition-delay: 0.6s;
}

.inf-title-box {
  background: #e6f3eb;
  padding: 20px 30px;
  border-radius: 15px;
  display: inline-block;
  margin: 0 auto 40px auto;
}

.inf-main-title {
  font-size: 24px;
  margin: 0;
  color: #222;
}

.male-animate-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: all 0.8s ease-out;
}

.male-animate-left.show {
    opacity: 1;
    transform: translateX(0);
}

.male-row-2 {
    transition-delay: 0.3s; /* slower than row 1 */
}

.inf-title-box {
    text-align: center;        /* horizontal centering */
    display: flex;
    justify-content: center;   /* horizontal flex centering */
    align-items: center;       /* vertical centering if needed */
    flex-direction: column;
    margin-bottom: 3rem;       /* spacing from content below */
}

.inf-title-boxs{
  padding: 25px;
}

.inf-card {
    background: #fff;          /* card background */
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* smooth zoom */
    cursor: pointer;
}

.inf-card:hover {
    transform: scale(1.05);    /* zoom in slightly */
    box-shadow: 0 10px 20px rgba(0,0,0,0.15); /* optional shadow for depth */
}

/* Pain Cause Animation */

/* Initial state: hidden and translated down */
.pain-card-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

/* Animated state: visible and in place */
.pain-card-animate.show {
    opacity: 1;
    transform: translateY(0);
}

/* Infertility Treatment */
.sections-title {
    font-size: 40px;
    font-weight: 600;
    color: #1c1c1c;
    /* margin-bottom: 25px; */
}

.inf-treatment-section .section-subtitle {
  color: #333;
  font-size: 17px;
}

.treat-card {
  background: #eaf4ee;
  border-radius: 12px;
  padding: 25px;
  border: 2px solid #d4e8dd;
  height: 100%;               
  display: flex;                
  flex-direction: column;
}

.treat-img {
  width: 100%;
  margin-bottom: 15px;
}

.treat-content {
  margin-top: auto;            
}

.treat-content p {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
}

/* Animation Inf Treatment */

.infertility-wrapper { background: #ffffff; padding: 60px 0; }

/* heading */
.infertility-heading .section-title,
.infertility-heading .section-subtitle {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 700ms ease, transform 700ms ease;
}

/* cards base */
.treat-card {
  background: #eef5f0;
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  opacity: 0;
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.9,.3,1);
  will-change: transform, opacity;
}

/* image styling */
.treat-img { width: 100%; border-radius: 10px; display:block; }

/* INITIAL POSITIONS */
/* first-row cards start moved left */
.first-row-card {
  transform: translateX(-80px);
}

/* second-row cards start moved right */
.second-row-card {
  transform: translateX(80px);
}

/* VISIBLE state */
.in-view {
  opacity: 1 !important;
  transform: translateX(0) translateY(0) !important;
}

/* heading visible class */
.infertility-heading .in-view-heading {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* responsive spacing tweaks if needed */
@media (max-width: 991px) {
  .first-row-card, .second-row-card { transform: translateY(30px); } /* on small screens use vertical reveal */
}

/* inner wrapper for hover zoom */
.treat-card-inner {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  border-radius: 12px;
  padding: 10px;
  height: 100%;
}

/* hover zoom effect */
.treat-card:hover .treat-card-inner {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Cause Psoriasis */

.psoriasis-causes-section {
  background: #eef5ef;
  padding: 80px 0;
}

.cause-title {
  font-size: 40px;
  font-weight: 600;
  color: #222;
}

.cause-subtitle {
  font-size: 16px;
  color: #555;
}

/* Cause Box */
.cause-box img {
  display: block;              /* Makes margin auto work */
  margin: 0 auto 20px auto;    /* Centers the icon */
  width: 95px;
  height: auto;
  /* max-width: 100%; */
  padding: 12px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cause-box h5 {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
}

/* Center all content */
.cause-box {
  text-align: center;
}

/* Psoriasis Symptoms */

/* Heading */
.ps-title {
  font-size: 40px;
  font-weight: 600;
  color: #000;
  margin-bottom: 20px;
}

.ps-subtitle {
  max-width: 100%;
  margin: 0 auto;
  font-size: 16px;
  color: #444;
}

/* Image */
.ps-image {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
}

/* List */
.ps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ps-list li {
  font-size: 18px;
  margin-bottom: 15px;
  padding-left: 35px;
  position: relative;
  color: #333;
}

/* Green circle bullet */
.ps-list li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid #2f7d45;
  position: absolute;
  left: 0;
  top: 8px;
}

.ps-right {
  padding-left: 40px;
}

/* Approach Section */

/* Section Background */
.approach-section {
  background-color: #eef5ef;   /* light green background */
  padding: 80px 0;
}

/* Title */
.approach-title {
  font-size: 48px;
  font-weight: 600;
  color: #222;
  margin-bottom: 25px;
}

/* Text */
.approach-text {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  max-width: 90%;
}

/* Image Styling */
.approach-img-wrapper {
  width: 100%;
}

.approach-img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.approach-tretimg-wrapper{
  position: relative;
  z-index: 2;
}

.approach-tretimg-wrapper::before {
  content: "";
  position: absolute;
  right: -155px;
  top: -272px;
  width: 260px;
  height: 270%;
  background-image: url("../images/bg/bg2.png"); 
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center right;
  opacity: 1.25; /* light faded effect */
  z-index: -1;
}

/* Symptoms */

/* Custom 5-column layout for large screens */
.col-lg-5col {
  flex: 0 0 20%;
  max-width: 20%;
}

/* Animation psoriasis */
/* INITIAL STATE (before scroll) */
.ps-image {
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.9s ease;
}

.ps-right {
  opacity: 0;
  transform: translateX(80px);
  transition: all 0.9s ease;
}

/* FINAL ANIMATED STATE */
.in-view {
  opacity: 1 !important;
  transform: none !important;
}

/* INITIAL – before scroll */
.approach-title,
.approach-text {
  opacity: 0;
  transform: translateX(-80px);
  transition: all 0.9s ease;
}

.approach-img {
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.9s ease;
}

/* FINAL – when in-view */
.in-view {
  opacity: 1 !important;
  transform: none !important;
}


/* Obesity */

/* Sub Heading */
.section-subtext {
  font-size: 16px;
  color: #444;
  margin-bottom: 20px;
}

/* Green Circle Icon */
.o-icon {
  width: 14px;
  height: 14px;
  border: 3px solid #2f7d45;
  border-radius: 50%;
  margin-top: 6px; /* aligns with first text line */
  flex-shrink: 0; /* prevents shrinking on mobile */
}

/* Lists */
.obesity-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.obesity-list li {
  font-size: 16px;
  margin-bottom: 15px;
  color: #333;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* Horizontal list in second section */
.horizontal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
}

/* Image Wrapper */
.obesity-img-wrap img {
  width: 95%;
  /* margin-bottom: 50px; */
  border-radius: 6px !important;
  object-fit: cover;
}

/* Section Background */
.obesity-treatment-section {
  background: #eef6f0;
  border-radius: 20px;
}

/* Inline treatment list */
.treat-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin-top: 30px;
  flex-wrap: nowrap; /* keep items in ONE line */
  gap: 40px;
}

.treat-inline li {
  display: flex;
  align-items: center;
  font-size: 18px;
  white-space: nowrap; /* prevents breaking into 2 lines */
  padding-top: 22px;
}

/* Animation Obesity */

/* IMAGE animation */
.obesity-complications-section .obesity-img-wrap img {
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.9s ease;
}

/* TEXT animation — slide from right */
.obesity-complications-section .section-title,
.obesity-complications-section p,
.obesity-complications-section .obesity-list {
  opacity: 0;
  transform: translateX(80px);
  transition: all 0.9s ease;
}

/* Activated on scroll */
.in-view {
  opacity: 1 !important;
  transform: none !important;
}

/* Animation */
/* IMAGE ZOOM */
.obesity-treatment-section .obesity-img-wrap img {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.9s ease;
}

/* TEXT FROM LEFT */
.obesity-treatment-section .section-title,
.obesity-treatment-section p {
  opacity: 0;
  transform: translateX(-80px);
  transition: all 0.9s ease;
}

/* LIST (Second animation trigger) */
.obesity-treatment-section .obesity-list li {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.in-view {
  opacity: 1 !important;
  transform: none !important;
}

/* Migrian */
.inf-cards {
  background: #fff;
  border-radius: 16px;
  border: 2px solid #daebe3;
  min-height: 160px;
  height: 100%;        
  display: flex;       
  flex-direction: column;
  justify-content: flex-start;
  /* align-items: center; */

  padding: 30px;
  transition: 0.3s ease;
}

.inf-cards:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.obesity-list.two-column {
  list-style: none;
  padding: 0;
  margin: 0;
  column-count: 2; /* two columns */
  column-gap: 2rem; /* gap between columns */
}

/* spondylitis */

/* WRAPPER SECTION */
.spine-info-section {
  padding: 110px 0px 110px 0px;  
  position: relative;
  z-index: 5;   /* lower than image */
}

/* BACKGROUND IMAGE */
.spine-bg-clouds {
  position: absolute;
  top: -205px;          /* move upward as much as you want */
  left: 0;
  width: 100%;
  height: 300px;
  /* object-fit: cover; */

  z-index: 6;           /* higher than the above section */
  pointer-events: none;
}


/* Paragraph */
.spine-description p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 40px;
  text-align: center;
}

/* Card Style (EXACT FORMAT LIKE SCREENSHOT) */
.sp-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f6f6f6;
  padding: 18px 20px;
  border-radius: 12px;
  box-shadow: 0px 3px 10px rgba(0,0,0,0.08);
  transition: 0.3s ease-in-out;
  height: 110px;        /* FIXED HEIGHT LIKE SCREENSHOT */
}

/* Light Card */
.sp-light {
  background: #fafafa;
}

/* Green Card */
.sp-green {
  background: #2a8244;
}

/* Icon */
.sp-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* Text */
.sp-text {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #2a8244;
  line-height: 1.3;
}

.sp-texts{
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

.benefitreat-section{
    padding: 80px 0;
    position: relative;
    /* margin-top: 70px; */
    background-color: #ffffff;
    width: 100%;
    background-image: url(../images/bg/bg1.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
}

.pad-img{
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
  font-weight: 600;
}

.heading-bold{
  font-weight: 600;
  font-size: 20px;
  color: #1e1f1f !important;
  line-height: 1.2em;
}

/* Pcod Cause */

/* SECTION BG */
.pcod-section {
  background: #EEF5EF;
  padding: 80px 0;
}

/* HEADING */
.pcod-title {
  text-align: center;
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 60px;
}

/* ROW GAP */
.pcod-row {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: nowrap !important; /* STOP Bootstrap from wrapping */
}

/* .pcod-row .col-lg-6 {
  width: 50%;
} */

/* BOX STYLE */
.pcod-box {
  display: flex;
  gap: 25px;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* LIGHT BOX */
.pcod-light {
  background: #ffffff;
}

/* GREEN BOX */
.pcod-green {
  background: #207839;
  color: white !important;
}

/* ICON */
.pcod-icon img {
  width: 225px;
}

/* TEXT */
.pcod-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #207839;
  margin-bottom: 10px;
}

.pcod-content p {
  font-size: 16px;
  line-height: 1.6;
}

.pcod-contents h3 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.pcod-contents p {
  font-size: 16px;
  line-height: 1.6;
}

/* Make both columns stretch equally */

.pcod-box {
  height: 100%;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .pcod-row {
    flex-direction: column;
  }
}

/* Animation */
/* INITIAL HIDDEN STATE */
.pcod-box {
    opacity: 0;
    transform: translateY(60px);   /* move from bottom */
    transition: all 0.7s ease-out;
}

/* VISIBLE STATE AFTER SCROLL */
.pcod-box.show {
    opacity: 1;
    transform: translateY(0);
}

/* Symptoms */

/* SECTION WRAPPER */
.pcod-signs-section {
    padding: 70px 0;
}

/* TITLE */
.pcod-title {
    text-align: center;
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 50px;
    color: #333;
}

/* ROW */
.pcod-signs-row {
    display: flex;
    flex-wrap: wrap;              /* allows wrapping to next row */
    gap: 30px;                    /* spacing between cards */
}

.pcod-card {
    background: #eef7f0;
    padding: 45px 30px;
    border-radius: 18px;
    width: calc(33.33% - 30px);   /* 3 cards in 1 row */
    min-height: 250px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* For tablets */
@media (max-width: 992px) {
    .pcod-card {
        width: calc(50% - 30px);  /* 2 cards per row */
    }
}

/* For mobile */
@media (max-width: 576px) {
    .pcod-card {
        width: 100%;              /* 1 card per row */
    }
}

/* ICON */
.pcod-icon {
    width: 235px;
    display: block;
    margin: 0 auto 20px; /* centers the icon */
}

.pcod-icons {
    width: 80px;
    display: block;
    margin: 0 auto 20px; /* centers the icon */
}

/* TEXT */
.pcod-card p {
    font-size: 16px;
    line-height: 1.55;
    color: #444;
}

/* Treatment */

.legacy-bg {
    filter: brightness(40%); /* dark overlay effect */
}

.legacy-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 90%;
    max-width: 1200px;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.legacy-content h2 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 15px;
}

.legacy-content p {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

/* Treatment Main */

/* SECTION BACKGROUND */
.pc-section {
  padding: 80px 0;
  background: #eef6f2;
  position: relative;
  overflow: hidden;
}

/* CONTAINER & ROW */
.pc-container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
}

.pc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

/* LEFT IMAGE */
.pc-img-box {
  flex: 1;
  display: flex;
  justify-content: center;
}

.pc-img {
  width: 100%;
  max-width: 550px;
  border-radius: 8px;
  object-fit: cover;
}

/* RIGHT CONTENT */
.pc-text-box {
  flex: 1;
  position: relative;
  padding-right: 60px;
}

.pc-heading {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 25px;
  line-height: 1.2;
}

.pc-description {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

/* LEAF BACKGROUND */
.pc-text-box::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0px;
  transform: translateY(-50%);
  width: 350px;
  height: 350px;
  background-image: url('leaf.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.17;
  z-index: -1;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .pc-row {
    flex-direction: column;
  }

  .pc-text-box {
    padding-right: 0;
    margin-top: 40px;
  }

  .pc-text-box::after {
    display: none;
  }
}

/* ---------------------- */
/* ANIMATION INITIAL STATE */
/* ---------------------- */
.pc-zoom,
.pc-slide-right {
  opacity: 0;
  transition: all 0.8s ease;
}

/* IMAGE ZOOM ANIMATION */
.pc-zoom.reveal {
  opacity: 1;
  transform: scale(1);
}

.pc-zoom {
  transform: scale(0.7);
}

/* TEXT SLIDE FROM RIGHT */
.pc-slide-right {
  transform: translateX(80px);
}

.pc-slide-right.reveal {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive */
@media(max-width: 768px){
  .pc-row {
    flex-direction: column;
    text-align: center;
    gap: 0 !important;
  }
  .pc-slide-right {
    transform: translateX(0); /* No right sliding on small screens */
  }
}

/* Yoga */

.yoga-section {
    background: #eef5f0;
    padding: 80px 0;
    position: relative;
    /* margin-top: 70px; */
    background-color: #eef5f0;
    width: 100%;
    padding: 80px 0;      /* adds spacing */
}

/* Fatty-Liver */

/* MAIN SECTION */
.fat-section {
  background: #eef6f2;
  padding: 80px 0;
  overflow: hidden; /* avoids scroll-right */
}

/* TITLES */
.fat-title {
  font-size: 42px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}

.fat-subtitle {
  text-align: center;
  font-size: 18px;
  margin-bottom: 40px;
}

/* CARDS */
.fat-card {
  background: #fff;
  padding: 35px 20px;
  border-radius: 18px;
  /* text-align: center; */
  box-shadow: 0px 10px 25px rgba(0,0,0,0.07);
  min-height: 210px;
  transition: transform .3s ease, box-shadow .3s ease;
}

/* HOVER EFFECT */
.fat-card:hover {
  transform: translateY(-50px);
  box-shadow: 0px 15px 30px rgba(0,0,0,0.12);
  transition: all .3s ease;
}

.fat-icon {
  width: 55px;
}

.fat-text {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 500;
  color: #666;
}

/* ---------------------------------------------------- */
/* INITIAL STATES */
.fat-fade-up,
.fat-row1,
.fat-row2 {
  opacity: 0;
  transition: all .9s ease;
}

/* Heading + Subtitle */
.fat-fade-up {
  transform: translateY(40px);
}

/* ROW 1 → SLIDE FROM LEFT */
.fat-row1 {
  transform: translateX(-120px);
}

/* ROW 2 → SLIDE FROM RIGHT */
.fat-row2 {
  transform: translateX(120px);
}

/* WHEN VISIBLE */
.reveal {
  opacity: 1 !important;
  transform: translate(0, 0);
}

/* MOBILE: No sliding left/right */
@media(max-width: 768px) {
  .fat-row1,
  .fat-row2 {
    transform: translateX(0);
  }
}

/* SECTION WRAPPER */
.symptoms-sec {
  padding: 60px 0;
  background: #ffffff;
}

/* CONTAINER */
.symptoms-container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
  text-align: center;
}

/* TITLE */
.symptoms-title {
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 10px;
}

.symptoms-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

/* GRID */
.symptoms-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* BOX STYLE */
.symptom-card {
  width: 30%;
  background: #eef7f1;
  border-radius: 16px;
  padding: 40px 25px;
  text-align: center;
  transition: 0.3s ease;
}

/* ACTIVE (GREEN) BOX */
.symptom-card.active {
  background: #1b7a41;
  color: #fff;
}

.symptom-card.active .symptom-text {
  color: #fff;
}

.symptom-card.active .symptom-icon {
  filter: brightness(0) invert(1);
}

/* ICON */
.symptom-icon {
  width: 60px;
  margin-bottom: 25px;
  display: block;
}

/* TEXT */
.symptom-text {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  text-align: left;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .symptom-card {
    width: 45%;
  }
}

@media (max-width: 600px) {
  .symptom-card {
    width: 100%;
  }

  .symptom-icon {
    width: 65px;
  }
}

/* ---- ANIMATION EXTRA CSS ---- */
.symptoms-title,
.symptoms-subtitle,
.symptom-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all .8s ease;
}

.reveal {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Revital Section */

/* SECTION BACKGROUND */
.revital-section {
    padding: 60px 0;
    background: #e8f3ec;
}

/* CONTAINER */
.revital-container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    text-align: center;
}

/* TITLE */
.revital-title {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #222;
}

/* SUBTITLE */
.revital-subtitle {
    font-size: 16px;
    color: #444;
    max-width: 850px;
    margin: 0 auto 50px;
}

/* GRID */
.revital-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

/* CARD STYLE */
.revital-card {
    width: 48%;
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    transition: 0.3s ease;
}

/* IMAGE */
.revital-img {
    width: 100%;
    margin-bottom: 25px;
}

/* TITLE INSIDE CARD */
.revital-card-title {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
    text-align: left;
}

/* PARAGRAPH INSIDE CARD */
.revital-card-text {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    text-align: left;
}

/* DURATION */
.duration {
  font-size: 17px;
  font-weight: 700;
  color: #666;
  margin-top: 15px;
  display: block;
  text-align: left;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .revital-card {
        width: 100%;
    }
}

/* Abhyanga */

/* SECTION */
.massage-section {
  padding: 80px 0;
  background: #ffffff;
}

/* CONTAINER */
.massage-container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
  text-align: center;
}

/* TITLES */
.massage-title {
  font-size: 42px;
  font-weight: 600;
}

.massage-subtitle {
  margin-top: 10px;
  font-size: 17px;
  color: #555;
  margin-bottom: 50px;
}

/* GRID */
.massage-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  justify-content: center;
}

/* CARD */
.massage-card {
  width: 30%;
  background: #eaf4ec;
  border-radius: 14px;
  padding: 40px 25px;
  text-align: left;
  transition: 0.3s ease;
}

.massage-card:hover {
  transform: translateY(-6px);
}

/* ICON */
.massage-icon {
  width: 55px;
  margin-bottom: 25px;
}

/* TEXT */
.massage-text {
  font-size: 16px;
  color: #666;
  font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .massage-card {
    width: 45%;
  }
}

@media (max-width: 600px) {
  .massage-card {
    width: 100%;
  }
  .massage-icon {
    width: 65px;
  }
}

/* FASTER FADE-IN for heading & subtitle */
.massage-title,
.massage-subtitle {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.5s ease-out; /* faster */
}

/* BOXES ANIMATION (row-wise slide) */
.massage-card {
  opacity: 0;
  transform: translateX(-60px); /* smaller slide */
  transition: all 0.6s ease-out; /* faster */
}

/* WHEN REVEALED */
.massage-reveal {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* Animation */

/* FADE-IN FOR HEADING & SUBTITLE */
.rev-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all .9s ease;
}

/* INITIAL STATES FOR CARDS */
.rev-row1, 
.rev-row2 {
  opacity: 0;
  transform: rotateY(90deg);
  transition: all .9s ease;
}

/* WHEN ELEMENTS BECOME VISIBLE */
.rev-reveal {
  opacity: 1 !important;
  transform: rotateY(0deg) translateY(0) !important;
}

/* Slower animation */
.revital-title,
.revital-subtitle,
.revital-card {
  transition: all 1.1s ease !important;
}

/* CARDS — STAGGER DELAY */
.revital-card:nth-child(1) { transition-delay: 0.1s; }
.revital-card:nth-child(2) { transition-delay: 0.2s; }
.revital-card:nth-child(3) { transition-delay: 0.3s; }
.revital-card:nth-child(4) { transition-delay: 0.4s; }

/* INITIAL STATES */
.revital-title,
.revital-subtitle {
  opacity: 0;
  transform: translateY(40px);
}

/* HOVER ZOOM EFFECT INSIDE CARD */
.revital-card {
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(60px) rotateY(25deg);
}

.revital-card * {
  transition: .3s ease;
}

.revital-card:hover .revital-img {
  transform: scale(1.08);
}

.revital-card:hover .revital-card-title,
.revital-card:hover .revital-card-text,
.revital-card:hover .duration, 
.revital-card:hover .slim-card {
  transform: scale(1.05);
}

/* Detox */
.legacy-contents {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 90%;
    max-width: 1242px;
    text-align: center;
    color: rgb(0, 0, 0);
    padding: 0 20px;
}

.legacy-contents h2 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 15px;
}

.legacy-contents p {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
    color: #333333;
}

/* Slimming */

.slim-card{
  text-align: left;
  font-size: 16px;
  color: #5a5a5a;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Beauty Care */

.treat-list {
  margin-top: 10px;
  margin-bottom: 20px;
  padding-left: 18px;
}

.treat-list li {
  font-size: 16px;
  color: #5a5a5a;
  /* margin-bottom: 8px; */
  line-height: 1.6;
}

/* Hair Care */

/* SECTION */
.haircare-section {
    padding: 80px 0;
    background: #f8fdf7;
    text-align: center;
}

/* TITLE */
.haircare-title {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 60px;
}

/* GRID */
.haircare-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* CARD */
.hair-card {
    width: 36%;
    background: #eef7f1;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: .3s ease;
}

/* IMAGE */
.hair-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* CONTENT */
.hair-content {
    padding: 35px;
    text-align: left;
}

.hair-card-title {
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 15px;
}

.hair-card-text {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .hair-card {
        width: 90%;
    }
}

@media (max-width: 600px) {
    .hair-img {
        height: 300px;
    }
}

/* Animation start state */
.hair-card {
    transform: scale(0.7);
    opacity: 0;
    transition: .5s ease-in-out;
}

/* Show animation */
.hair-card.show {
    transform: scale(1);
    opacity: 1;
}

/* Hover Effect */
.hair-card:hover {
    transform: scale(1.05) translateY(-10px);
}

/* Contact */

/* ---------- MAP BOX (ADDED NEW CODE ONLY) ---------- */

.map-box {
    width: 550px;
    height: 420px;
    background: rgba(0, 0, 0, 0.1);
    padding: 35px;
    border-radius: 1px;
    box-shadow: 0 4px 14px rgb(0 0 0 / 17%);
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 991px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .map-box {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .map-box {
        height: 320px;
        padding: 15px;
    }
}

/* Response panchakarma */

@media (max-width: 991px){
  .pk-title{
    font-size: 36px;
  }

  .pk-phase-section{
    padding: 40px 0;
  }
}

/* PCOD Medicine */

.top-padding{
  margin-top: 30px;
}

/* Response home page*/

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #247A3B;
  border-radius: 2px;
}

/* MOBILE */
@media (max-width: 768px) {

  .menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
    flex-direction: column;
    background: #000;
    position: absolute;
    width: 100%;
    top: 80px;
    left: 0;
    padding: 20px;
    z-index: 999;
  }

  .nav.show {
    display: flex;
  }

  .nav a {
    padding: 0px;
    font-size: 16px;
    color: #fff;
  }

  .dropdown-content a{
    padding: 10px 10px;
  }

  /* Dropdown mobile */
  .dropdown-content {
    position: static;
    display: none;
    background: #111;
    margin-left: 10px;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }
}

@media (max-width: 1200px){
  .hero-head{
    text-align: left;
    font-size: 38px;
  }
  .subtitle{
    text-align: left;
    font-size: 20px;
    margin-top: 50px;
  }
  .hero p{
    text-align: justify;
  }
  .hero{
    padding: 100px 0;
  }
}

@media (max-width: 1200px) {
  .hero-clouds, .inner-clouds, .spine-bg-clouds {
    display: none !important;
  }

  .features-row{
    padding: 0;
  }

  .feature{
    min-height: 165px;
  }

}

/* Mobile View Fix */
@media (max-width: 991px) {
    .about-content {
        flex-direction: column;
        text-align: left;
    }

    .text {
        width: 100%;
    }

    .video {
        width: 100%;
    }

    .video video {
        width: 100%;
        height: auto;
    }
}

/* Mobile: Image first, text below */
@media (max-width: 768px) {
    .legacy-row {
        display: flex;
        flex-direction: column-reverse; /* Moves image above text */
    }

    .legacy-image img {
        margin: 0 auto 20px auto !important;
        width: 100%;
    }

    .legacy-section {
        height: auto !important; /* Fix stretched background on mobile */
        background-size: cover;
        padding-top: 20px;
    }
}

/* @media (max-width: 768px) {
    .phone-bubble,
    .whatsapp-bubble {
        bottom: 96px !important;
        margin-right: 5px;
    }
} */

@media (max-width: 991px){
  .paragraph{
    padding: 22px 15px;
  }
}

@media (max-width: 991px){
  .benefit-img{
    margin-left: 15px;
  }

  /* .text h2{
    margin-top: 35px;
  } */

  .treatment-section {
    padding: 45px 0;
  }

  .text-center, .spine-description p {
    text-align: left !important;
}
}

/* Animation Obesity */

/* Mobile view: stack items one by one */
@media (max-width: 991px) {
  .treat-inline {
    flex-direction: column; /* stack items vertically */
    align-items: flex-start; /* optional: align left */
    gap: 0px; /* smaller gap between items */
  }

  .treat-inline li {
    white-space: normal; /* allow text to wrap */
    padding-top: 10px;  /* reduce top padding for smaller screens */
  }
}

/* Response PCOD */

@media (max-width: 991px) {
  .pcod-row .col-12 {
    margin-bottom: 20px;
  }

  .pcod-row {
  flex-wrap: wrap !important; /* STOP Bootstrap from wrapping */
}
}

@media (max-width: 991px){
  .pc-heading, .pc-description{
    text-align: left;
  }
}

/* Response Slimming */

@media (max-width: 991px){
  .revital-title{
    font-size: 32px;
  }
}

/* Response stress */

@media (max-width: 991px){
  .approach-title{
    font-size: 36px;
  }
}

/* Response skin care*/
@media (max-width: 991px){
  .benefit-text-col{
    padding-left: 20px;
  }

  .section-title{
    font-size: 32px;
  }
}

/* Pcod heading */
@media (max-width: 991px){
  .pcod-title, .fat-title, .symptoms-title, .massage-title{
    text-align: left;
    font-size: 31px;
  }

  .revital-title{
    text-align: left;
    font-size: 27px;
  }
}

/* Last Section Detox */

@media (max-width: 991px){
  .detox-section{
    display: none;
  }
}

/* chevron-up */

.scroll-top-btn {
    position: fixed;
    right: 0;                 /* stick at right edge */
    bottom: 125px;
    background: #00000073;
    color: #ffffff;
    width: 43px;
    height: 42px;
    border: none;
    border-radius: 5px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999999;          /* increased */

    /* Start invisible & hidden off-screen */
    opacity: 0;
    pointer-events: none;     /* prevent clicking while hidden */
    transform: translateX(60px);

    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.scroll-top-btn i {
    font-size: 20px;
    color: #ffffff;
}

/* When scrolled down */
.scroll-top-btn.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

/* Sub heading */

.subtitles {
  font-size: 14px;
  font-weight: 400;
  color: #2a8244 !important;
  /* text-transform: uppercase; */
  margin-bottom: 12px;
}

@media (max-width: 991px){
  .inf-title{
    font-size: 28px;
  }
}