/* Importing Google fonts - Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}
html {
  scroll-behavior: smooth;
}

/* Fixed navbar spacing */
body {
  padding-top: 0 !important; /* Remove initial padding */
  font-family: 'Dancing Script', cursive;
}
/* Navbar styles */
  /* Floating whatsapp */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 55px;
  height: 55px;
  background-color: #007B38;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}
.floating-whatsapp img {
  width: 32px;
  height: 32px;
}

/* WhatsApp button custom look */
.whatsapp-btn {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 25px;
  transition: background 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #007B38;
  text-decoration: none;
}

/* Navbar link hover effects */
/* Default navbar style */

.navbar {
  background-color: #ffffff !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08); /* optional shadow */
  transition: background-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease; /* Add opacity transition */
  color:#000 !important;
  border-top: 6px solid #007B38;
}
.navbar img.logo {
  width: 120px;

}
/* When scrolled down, add a "scrolled" class */
.navbar.scrolled {
  opacity: 1; /* Fade effect */
  background-color: #f8f9fa; /* Slightly darker white (if you want) */
}

.navbar-nav .nav-link {
  position: relative;
  font-weight: 500;
  transition: color 0.3s ease;
  color:#000 !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: #007B38;
  transition: 0.4s;
}

.navbar-nav .nav-link:hover {
  color: #007B38;
}
.custom-navbar {
  transition: all 0.3s ease-in-out;
}
.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Optional: smoother mobile collapse */
.navbar-collapse {
  transition: height 0.3s ease;
}
/* Slider styles */
.slider-container {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.slider-wrapper .slider-item {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
}

/* .slider-wrapper .slider-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(20%);
  background-image: url("images/mainbg-1.png");
  background-size: cover;
  background-position: center;
}

.slider-wrapper .slider-item:nth-child(2):before {
  background-image: url("images/obesity.jpeg");
}

.slider-wrapper .slider-item:nth-child(3):before {
  background-image: url("images/img-3.jpg");
}

.slider-wrapper .slider-item:nth-child(4):before {
  filter: grayscale(25%) brightness(80%);
  background-image: url("images/img-4.jpg");
} */
.slider-item {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh; /* or your desired height */
  filter: grayscale(20%); /* Or your desired filter */
}



.slider-wrapper .slider-item .slide-content {
  position: relative;
  z-index: 10;
  color: #000000;
  width: 100%;
  opacity: 0;
  margin: 0 auto;
  max-width: 1400px;
  padding: 0 20px 10px;
}

.slider-item.swiper-slide-active .slide-content {
  animation: animate_opacity 0.8s 0.6s linear forwards;
}

@keyframes animate_opacity {
  100% {
    opacity: 1;
  }
}

.slider-wrapper .slider-item .slide-content > * {
  max-width: 35%;
}
.slider-wrapper .slider-item .slide-content .main-card{
  max-width: 55%;
}

.slider-item .slide-content .slide-title {
  font-weight: var(--light-font);
  font-size: 2em;
  line-height: 50px;
  text-align: center;
  color: #030303;
  margin-top: 5px;
  opacity: 0;
  text-transform: uppercase;
 
}
.slider-item .slide-content .slide-title  span {

  color: #007B38;

}
.slider-item  .slide-title {
  font-weight: var(--light-font);
  font-size: 2em;
  line-height: 50px;
  text-align: start;
  color: #030303;
  margin-top: 5px;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(60%);
}
.slider-item  .slide-title  span {

  color: #007B38;

}

.slider-item .slide-content .slide-subtitle {
  font-size: 1rem;
  font-weight: normal;
  opacity: 0;
  transform: translateY(60%);
}

.slider-item.swiper-slide-active :where(.slide-title, .slide-subtitle) {
  animation: animate_text 0.6s 0.6s linear forwards;
}

@keyframes animate_text {
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider-item .slide-content .slide-description {
  margin-top: 25px;
  line-height: 25px;
  opacity: 0;
  transform: translateY(60%);
}

.slider-item.swiper-slide-active .slide-description {
  animation: animate_text 0.6s 1s linear forwards;
}

.slider-item .slide-content .btn-success {
  display: block;
  margin-top: 20px;
  background-color: #007B38 !important;
  border: none !important;
  box-shadow: rgba(50, 50, 93, 0.25) 0 6px 12px -2px, rgba(0, 0, 0, 0.3) 0 3px 7px -3px !important;
  width: 0;
  padding: 13px 0;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: 0.5s ease;
  opacity: 0;
  color: #fff !important;
  white-space: nowrap;
}
.slider-item .slide-content .btn-success:hover {
  background-color: #258736 !important;
  border: none !important;
  box-shadow: rgba(50, 50, 93, 0.25) 0 6px 12px -2px, rgba(0, 0, 0, 0.3) 0 3px 7px -3px !important;
  transition: 0.5s ease-in-out;
}
.slider-item  .btn-success {
  display: block;
  margin-top: 20px;
  background-color: #007B38 !important;
  border: none !important;
  box-shadow: rgba(50, 50, 93, 0.25) 0 6px 12px -2px, rgba(0, 0, 0, 0.3) 0 3px 7px -3px !important;
  width: 0;
  padding: 13px 0;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: 0.5s ease;
  opacity: 0;
  color: #fff !important;
  white-space: nowrap;
}
.slider-item  .btn-success:hover {
  background-color: #258736 !important;
  border: none !important;
  box-shadow: rgba(50, 50, 93, 0.25) 0 6px 12px -2px, rgba(0, 0, 0, 0.3) 0 3px 7px -3px !important;
  transition: 0.5s ease-in-out;
}
.slider-item.swiper-slide-active .slide-button {
  animation: animate_button 0.5s 1.3s linear forwards;
}

@keyframes animate_button {
  100% {
    width: 250px;
    opacity: 1;
  }
}
.slider-item .slide-content {
  margin-right: 2vw;  /* for right-side alignment */
  margin-left: 2vw;   /* for left-side alignment */
}

.slider-item .slide-content .slide-button span {
  opacity: 0;
}

.slider-item.swiper-slide-active .slide-button span {
  animation: animate_opacity 0.5s 1.5s linear forwards;
}

.slider-item .slide-content .slide-button:hover {
  color: #000;
  background: #fff;
}

.slider-container .slider-controls {
  position: absolute;
  bottom: 45px;
  z-index: 30;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.slider-controls .slider-pagination {
  display: flex;
  list-style: none;
  margin: 0 auto;
  max-width: 1400px;
  padding: 0 20px;
  position: relative;
  justify-content: center;
 
}

.slider-pagination .slider-indicator {
  position: absolute;
  bottom: 0;
  height: 2px;
  background-color: #007B38;
  transition: transform 0.5s ease, width 0.5s ease;
  width: 0; /* Initially zero; updated via JS */
  left: 0; /* Required to make transform work properly */
  border-radius: 10px;
}

.slider-pagination .slider-tab {
  color: #000000;
  background-color:rgba(255, 255, 255, 0.5);;
  padding: 20px 30px;
  cursor: pointer;
  text-align: center;
  font-weight: 500;
  font-size: 0.85rem;
  transition: color 0.3s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.slider-controls .slider-tab.current {
  color: #007B38;
  transition: color 0.3s;
}

.slider-navigations button {
  position: absolute;
  top: 50%;
  color: #fff;
  z-index: 20;
  border: none;
  height: 40px; 
  width: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #202022;
  transform: translateY(-50%);
  transition: 0.4s ease;
}

.slider-navigations button:hover {
  background: #323235;
}

.slider-navigations button.swiper-button-disabled {
  display: none;
}

.slider-navigations button#slide-prev {
  left: 20px;
}

.slider-navigations button#slide-next {
  right: 20px;
}

@media (max-width: 1536px) {
  .slider-wrapper .slider-item .slide-content,
  .slider-controls .slider-pagination {
    width: 85%;
  }
}

@media (max-width: 1024px) {
  .slider-wrapper .slider-item .slide-content,
  .slider-controls .slider-pagination {
    width: 100%;
  }

  .slider-wrapper .slider-item .slide-content > * {
    max-width: 66%;
  }

  .slider-container .slider-controls {
    bottom: 50px;
  }

  @keyframes animate_button {
    100% {
      width: 100%;
      opacity: 1;
    }
  }

  .slider-navigations button {
    top: unset;
    bottom: -15px;
    background: none;
  }

  .slider-navigations button:hover {
    background: none;
  }
}

@media (max-width: 768px) {
  
  .slide-description:first-of-type, /* targets "Start your journey..." */
  .slide-description ul {
    display: none !important;
  }
  .slider-controls,
  .slider-pagination,
  .slider-pagination .slider-indicator {
    display: none !important;
  }
  
  .slider-item .slide-title {
    font-size: 1.5rem;
    line-height: 1.4;
    text-align: center;
  }

  .slider-item .slide-description {
    font-size: 0.95rem;
    text-align: center;
  }

  .slider-item .slide-content {
    padding: 0 15px;
  }

  .slider-item .slide-content ul {
    padding-left: 0;
    text-align: left;
    margin: 0 auto;
    max-width: 90%;
  }

  .slider-item .slide-button {
    width: 100% !important;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
  }

  .bmi-form {
    padding: 20px 15px;
  }

  .bmi-form h4 {
    text-align: center;
    font-size: 1.1rem;
  }

  .slider-wrapper .slider-item .slide-content > * {
    max-width: 100%;
  }

  .card.card-lg {
    margin-top: 20px;
  }
}
@media (max-width: 576px) {
  .slide-description + ul {
    display: none !important;
  }

  .slide-description:first-of-type {
    display: none !important;
  }
  .slider-controls,
  .slider-pagination,
  .slider-pagination .slider-indicator {
    display: none !important;
  }
  .slider-item .slide-title {
    margin-top: 10px;
  }

  .slider-item .slide-button {
    margin-top: 25px;
  }

}

/* BMI Calculator  */
.bmi-form input.form-control {
  /* max-width: 240px; */
  text-align: center;
  margin: 0 auto;
  font-size: 0.9rem;
  padding: 8px 10px;
}

.bmi-form button.btn {
  padding: 6px 16px;
  font-size: 0.9rem;
}

#bmi-result {
  font-size: 1rem;
  color: #007B38;
}
#bmi-result-card {
  background: #f4fef6;
}

@media screen and (max-width: 768px) {
  .bmi-form input.form-control {
    max-width: 100%;
  }
  .bmi-form button.btn {
    width: 100%;
  }
  #bmi-result {
    font-size: 0.9rem;
  }
  .bmi-form {
    padding: 20px 15px;
  }

  .bmi-form h4 {
    text-align: center;
    font-size: 1.1rem;
  }


  .card.card-lg {
    margin-top: 20px;
  }
  
}
@media (max-width: 576px) {

  .bmi-form input.form-control,
  .bmi-form select {
    margin-bottom: 10px;
  }

  .bmi-form label {
    font-size: 0.9rem;
  }
}
/* why Jeevanrekha  */
.bg-heading {
  background-color: rgba(76, 175, 80, 0.1);
}
@media (min-width: 1400px) {
  .legacy-head {
      font-size: 30px;
      line-height: 30px;
      font-weight: var(--bold-font);
  }
}
@media (min-width: 1200px) {
  .legacy-head {
      font-size: 30px;
      line-height: 30px;
      font-weight: var(--bold-font);
  }
}

@media (min-width: 992px) {
  .legacy-head {
      font-size: 30px;
      line-height: 30px;
      font-weight: var(--bold-font);
  }
}
@media (min-width: 768px) {
  .legacy-head {
      font-size: 20px;
      line-height: 30px;
      font-weight: var(--bold-font);
      text-align: center;
      padding-left: auto;
      padding-right: auto;
  }
}
@media (min-width: 576px) {
  .legacy-head {
      font-size: 20px;
      line-height: 30px;
      font-weight: var(--bold-font);
      text-align: center;
      padding-left: auto;
      padding-right: auto;
  }
}
@media (min-width: 0) {
  .legacy-head {
      font-size: 20px;
      line-height: 30px;
      font-weight: var(--bold-font);
      text-align: center;
      padding-left: auto;
      padding-right: auto;
  }
}
.legacy-head {
  font-size: 30px;
  line-height: 30px;
  font-weight: var(--bold-font);
  text-align: center;

}
.why .text-head {
  color: white;
  font-size: 1.3em;
}
.why svg{
 fill: #fff;

}
.why rect{
  fill: #436734;
  opacity: 0.7;

}
.container-fluid {
  padding: 0;;
}
    /* Main section to hold the video and cards */
    .video-section {
      position: relative;
      margin: 0 auto;
      padding: 0;
      height: 220px; /* Set a height to help form the capsule shape */
      border-radius: 100px; /* Capsule shape: full rounding on top and bottom */
      overflow: hidden; /* Hide anything outside the capsule */
      background-color: transparent; /* fallback background */
      box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;     }

    /* Shared Video */
    .shared-video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%; /* Wide enough for all cards */
      height: 100%;
      object-fit: cover;
      z-index: -1;
      pointer-events: none;
    }
    

    /* Container for the cards */
    .card-container {
      display: flex;
      gap: 0; /* Already good */
      position: relative;
      z-index: 1;
      width: 100%;
    }

    /* Card styles */
    .card-mask {
      position: relative;
      flex: 1;
      height: 200px;
      border-radius: 0px;
      /* box-shadow: 0 0 12px rgba(0, 0, 0, 0.15); */
      background-color: transparent;
      overflow: hidden;
      margin: 0;
    }

    /* Mask the video within each card */
    .card-mask:nth-child(1) .video-view {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      clip-path: inset(0 80% 0 0); /* Left side for the first card */
      object-fit: cover;
    }

    .card-mask:nth-child(2) .video-view {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      clip-path: inset(0 60% 0 20%); /* Second card */
      object-fit: cover;
    }

    .card-mask:nth-child(3) .video-view {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      clip-path: inset(0 40% 0 40%); /* Third card */
      object-fit: cover;
    }

    .card-mask:nth-child(4) .video-view {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      clip-path: inset(0 20% 0 60%); /* Fourth card */
      object-fit: cover;
    }

    .card-mask:nth-child(5) .video-view {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      clip-path: inset(0 0 0 80%); /* Fifth card */
      object-fit: cover;
    }

    /* Card content (text inside the card) */
    .card-content {
      position: absolute;
      top: 2vh;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgb(10, 10, 10);
      font-weight: 600;
      text-align: center;
      font-family: "Montserrat", sans-serif;
      font-size: 0.9em !important;
    }

    /* Gap Element to hide the video between the cards */
    .gap {
      width: 0px;
      background-color: white;
      z-index: 2;
    }
    
    /* Treatments  */ 
    .treatments .card {
      border: none;
      border-radius: 0.5rem;
      overflow: hidden;
      position: relative;
   
      width: 100%;
    }
    .treatments .card .arrow-move {
      transition: transform 0.3s ease;
    }
    .treatments .card:hover .arrow-move {
      transform: translateX(5px);
    }
    .treatments .bg-treatment-text{
      background-color:#80808086;
  
    }

    .treatments .color-treatment-text{
      color: #ffffff;
    }
    /* Remove Safari blue tap highlight */
.touch-link {
  -webkit-tap-highlight-color: transparent;
  display: block;
  text-decoration: none;
}

/* Touch/hover compression effect */
.touch-card {
  transition: transform 0.15s ease-out;
  will-change: transform;
}

.touch-card:active {
  transform: scale(0.97); /* iOS-style compress */
}

/* Optional hover effect for desktop */
@media (hover: hover) {
  .touch-card:hover {
    transform: scale(1.02);
  }
}

/* About us Section  */

@media (min-width: 1400px) {
  .aboutus-bg {
      background-image: url(images/bg.svg);
      background-position: right;
      background-repeat: no-repeat;
      background-size: auto;
      height: 100%;
  }
}
@media (min-width: 1200px) {
  .aboutus-bg {
      background-image: url(images/bg.svg);
      background-position: right;
      background-repeat: no-repeat;
      background-size: auto;
      height: 100%;
  }
}
@media (min-width: 992px) {
  .aboutus-bg {
      background-image: url(images/bg.svg);
      background-position: center bottom;
      background-repeat: no-repeat;
      background-size: auto;
      height: 100%;
  }
}
@media (min-width: 768px) {
  .aboutus-bg {
      background-image: url(images/bg.svg);
      background-position: center bottom;
      background-repeat: no-repeat;
      background-size: auto;
      height: 100%;
  }
}
@media (min-width: 576px) {
  .aboutus-bg {
      background-image: url(images/bg.svg);
      background-position: center bottom;
      background-repeat: no-repeat;
      background-size: auto;
      height: 100%;
  }
}
@media (min-width: 0) {
  .aboutus-bg {
      background-image: url(images/bg.svg);
      background-position: center bottom;
      background-repeat: no-repeat;
      background-size: auto;
      height: 100%;
  }
}
.aboutus-bg {
  background-image: url(images/bg.svg);
  background-position: right;
  background-repeat: no-repeat;
  background-size: auto;
  height: 100%;
}
#scrollspy-aboutus {
  scroll-margin-top: 80px; /* Adjust based on header height */

  transition: background 0.5s ease;
}

@media (min-width: 768px) {
  #scrollspy-aboutus .about-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s ease-out;
  }

  #scrollspy-aboutus.show .about-animate {
    opacity: 1;
    transform: translateY(0);
  }
}
.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}
video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}