* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* --- Header & Navbar --- */
.nav {
  display: flex;
  flex-direction: row;
}

header {
  width: 100%;
  max-width: 1880px;
  height: 920px;
  position: relative;
  overflow: hidden;
  margin: 20px auto 0;
  border-radius: 30px;
  padding: 0px 60px;
  display: flex;
  flex-direction: column;
}

/* Video Styling */
.back-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  z-index: -1;
}

.navbar {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  margin-top: 16px;
  width: 100%;
  max-width: 1680px;
  margin: 16px auto 0;
  height: 84px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Responsive fix for video */
@media (max-width: 900px) {
  header {
    padding: 20px 20px;
  }

  .back-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  width: 100%;
  position: relative;
  z-index: 100;
}

.logo img {
  height: 50px;
}

.nav_list ul {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav_list ul li {
  list-style: none;
  position: relative;
}

.nav_list ul li a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
}

.nav_list ul li a:hover {
  color: #ff5c8d;
}

.dropdown-link::after {
  content: "▾";
  font-size: 12px;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.dropdown.active .dropdown-link::after {
  transform: rotate(180deg);
}

.dropdown {
  position: relative;
}

/* hidden by default */
#dropdownMenu {
  position: absolute;
  top: 160%;
  background: #ffffff;
  padding: 12px 15px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: none;
  gap: 10px;
  z-index: 1000;
}

#dropdownMenu.active {
  display: flex;
  flex-direction: row;
  gap: 150px;
  width: 900px;
}

#dropdownMenu li {
  list-style: none;
}

#dropdownMenu li a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  white-space: nowrap;
}

#dropdownMenu li a:hover {
  color: #ff5c8d;
}

.nav_btn {
  margin-left: 20px;
}

.nav_btn button,
.hero-btn,
.primary-btn {
  padding: 10px 22px;
  border-radius: 12px;
  border: 1px solid #ff5c8d;
  background: transparent;
  color: #ff5c8d;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

.nav_btn button:hover,
.hero-btn:hover,
.primary-btn:hover {
  background: #ff5c8d;
  color: #ffffff;
}

.menu-toggle i {
  display: none;
}

header {
  height: 350px;
}

.about {
  padding: 2rem 0;
}

.about-hero {
  background-color: #37845e;
  color: white;
  padding: 40px 20px;
  border-radius: 1rem;
  text-align: center;
  margin-bottom: 0;
}

.about-intro p {
  margin-top: 0;
  line-height: 1.8;
}

.intro-section {
  padding: 80px 10%;
  text-align: center;
  line-height: 1.8;
  color: #333;
}

.intro-section h2 {
  color: #2d6a4f;
  margin-bottom: 20px;
}

.about-intro {
  padding-top: 40px;
  padding-bottom: 60px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
}

/* --- Hero Section Content --- */
/* --- Hero Section Content --- */
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 100%;
  max-width: 1240px;
  height: auto;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  padding: 20px;
  text-align: center;
}

.hero-content h1 {
  font-family: "Manrope", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 86px;
  line-height: 106px;
  text-align: center;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-content p {
  font-family: "Manrope", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 32px;
  text-align: center;
  letter-spacing: -0.02em;
  color: #ffffff;
  opacity: 0.7;
  margin-bottom: 16px;
  max-width: 902px;
}

.hero-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 225px;
  height: 48px;
  background: #e02c60;
  border-radius: 12px;
  border: none;
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  color: #ffffff;
}

.hero-btn:hover {
  background: #c02550;
  color: #fff;
}

/* Badge specific for hero */
.hero-content .badge {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 6px 12px;
  gap: 10px;
  width: auto;
  min-width: 269px;
  height: 42px;
  background: #ebf7f1;
  border-radius: 16px;
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 30px;
  letter-spacing: -0.02em;
  color: #257c50;
  margin-bottom: 0;
}

/* --- Stats Section --- */
.stats-section {
  display: flex;
  justify-content: space-around;
  padding: 40px 60px;
  background: #fff;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-item {
  text-align: center;
}

.stat-item i {
  color: #ff5c8d;
  font-size: 24px;
  margin-bottom: 10px;
}

.stat-item h3 {
  font-size: 22px;
  margin-bottom: 5px;
}

/* --- About Section Styles --- */
.about-section {
  padding: 80px 60px;
  background-color: #ffffff;
  margin-top: -12%;
  /* width: 1, 880px; Removed fixed width */
  /* height: 7, 606px; Removed fixed height */
  width: 100%;
  height: auto;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1, 680px;
  padding: 80px 0 0 0;
}

.about-content {
  flex: 1;
}

.badge {
  background-color: #ebf7f1;
  color: #257c50;
  padding: 5px 15px;
  border-radius: 1rem;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}

.about-content h2 {
  font-size: 32px;
  line-height: 1.2;
  color: #333;
  margin-bottom: 25px;
  font-weight: 700;
}

.about-content p {
  font-size: 15px;
  line-height: 32px;
  color: #555;
  margin-bottom: 30px;
}

/* Red button variant for this section */
.nav_btn_red {
  padding: 12px 25px;
  border-radius: 8px;
  border: none;
  background: #e91e63;
  /* Pinkish-red from design */
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.nav_btn_red:hover {
  background: #d81b60;
}

/* Video Wrapper */
.about-video {
  flex: 1;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    text-align: left;
  }

  .about-section {
    padding: 40px 20px;
  }
}

/* --- Root Cause & Mission Styles --- */
.root-mission-section {
  padding: 80px 60px;
  background-color: #fcfcfc;
}

.root-header {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  align-items: flex-start;
}

.root-left {
  flex: 1.5;
}

.root-right {
  flex: 1;
  padding-top: 50px;
  /* Aligns with the start of the H2 text */
}

.badge-light {
  color: #37845e;
  background: #e8f5e9;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}

.root-left h2 {
  font-size: 30px;
  line-height: 1.3;
  color: #222;
}

.root-left h2 strong {
  color: #111;
}

.root-right p {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
}

/* Mission Vision Cards */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.info-card {
  background: #f4f4f4;
  /* Light grey background from design */
  padding: 40px;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  color: #ff5c8d;
  /* Pink accent */
  font-size: 24px;
  margin-bottom: 20px;
}

.info-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.info-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .root-mission-section {
    padding: 0px 20px;
  }
  .root-header {
    flex-direction: column;
  }

  .root-right {
    padding-top: 0;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Why Us Section Styles --- */
.why-us-section {
  padding: 80px 60px;
  background-color: #ffffff;
}

.why-us-header {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
}

.why-us-left {
  flex: 1.2;
}

.why-us-right {
  flex: 1;
  padding-top: 40px;
}

.why-us-left h2 {
  font-size: 32px;
  color: #222;
  font-weight: 700;
}

.why-us-right p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

/* Advantage Grid */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.advantage-card {
  background-color: #f7fdf9;
  /* Very light green background */
  padding: 30px;
  border-radius: 12px;
  transition: box-shadow 0.3s ease;
}

.advantage-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Card 4 and 5 alignment */
.advantage-card:nth-child(4),
.advantage-card:nth-child(5) {
  grid-column: span 1;
}

.advantage-icon {
  width: 40px;
  height: 40px;
  background: #fff0f5;
  /* Light pink icon background */
  color: #ff5c8d;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 18px;
}

.advantage-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #333;
}

.advantage-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .why-us-header {
    flex-direction: column;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .why-us-section {
    padding: 40px 20px;
  }
}

/* --- Conditions We Treat Styles --- */
.conditions-section {
  padding: 80px 60px;
  background-color: #fcfcfc;
}

.conditions-header {
  margin-bottom: 40px;
}

.conditions-header h2 {
  font-size: 32px;
  margin: 15px 0;
}

.conditions-header p {
  font-size: 14px;
  color: #666;
  max-width: 900px;
  line-height: 1.6;
}

.conditions-container {
  display: flex;
  gap: 30px;
}

/* Sidebar */
.conditions-sidebar {
  flex: 1;
  background: #f1f7f4;
  border-radius: 12px;
  padding: 20px;
}

.conditions-sidebar ul {
  list-style: none;
}

.conditions-sidebar li {
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  color: #555;
  transition: all 0.3s ease;
}

.conditions-sidebar li.active {
  background-color: #e91e63;
  /* Pink from design */
  color: #fff;
}

.conditions-sidebar li:hover:not(.active) {
  background-color: #e0eee6;
}

/* Display Area */
.conditions-display {
  flex: 2;
  position: relative;
}

.display-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 100%;
}

.display-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tag-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.condition-tag {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 12px;
}

/* --- Gallery & Stats Section Styles --- */
.gallery-stats-section {
  padding: 40px 60px 120px;
  background-color: #ffffff;
  height: 500px;
}

/* Gallery Layout */
.image-gallery {
  display: flex;
  gap: 20px;
  width: 100%;
  margin-bottom: 50px;
  height: auto;
}

.gallery-item {
  width: 640px;
  height: 420px;
  flex: 0 0 640px;
  border-radius: 20px;
  overflow: hidden; /* ensures image stays inside */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills div without distortion */
  display: block;
}
@keyframes galleryScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.carousel:hover .carousel-track {
  animation-play-state: paused;
}

/* --- MOBILE GALLERY SLIDER --- */
@media screen and (max-width: 768px) {
  .gallery-stats-section {
    padding: 0;
    margin: 20px 0;
    position: relative;
  }

  .image-gallery {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory; /* Smooth snapping */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    gap: 0;
  }

  .image-gallery::-webkit-scrollbar {
    display: none;
  }

  .gallery-item {
    width: 100%;
    height: 260px;
    flex: 0 0 100%;
    border-radius: 16px;
  }

  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .carousel-track {
    animation-duration: 90s; /* slower on mobile */
  }

  .gallery-item {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .gallery-item img {
    height: 250px;
    border-radius: 0;
  }
}
@media (max-width: 768px) {
  /* Stack the header and main container */
  .conditions-section {
    padding: 40px 15px;
  }

  .conditions-container {
    display: flex;
    flex-direction: column; /* Stack Menu on top of Image */
    gap: 20px;
  }

  /* Transform Sidebar into Horizontal Scroll Menu */
  .conditions-sidebar {
    width: 100% !important;
    overflow-x: auto; /* Enable swipe */
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }

  /* Hide scrollbar for a clean look */
  .conditions-sidebar::-webkit-scrollbar {
    display: none;
  }

  .conditions-sidebar ul {
    display: flex; /* Row layout */
    flex-direction: row !important;
    gap: 10px;
    padding: 0 5px;
  }

  .conditions-sidebar li {
    white-space: nowrap; /* Prevent text wrapping */
    padding: 10px 20px !important;
    background: #f1f1f1;
    border-radius: 50px; /* Pill shape */
    font-size: 14px;
    border: 1px solid transparent;
    color: #555;
  }

  /* Active pill style */
  .conditions-sidebar li.active {
    background: #e02c60 !important;
    color: #fff !important;
  }

  /* Adjust the image display card */
  .conditions-display {
    width: 100% !important;
  }

  .display-card {
    border-radius: 20px;
    overflow: hidden;
    height: auto;
  }

  .display-card img {
    height: 250px;
    object-fit: cover;
    width: 100%;
    height: 450px;
    display: block;
  }

  /* Style the tags below the image */
  .tag-overlay {
    position: static !important; /* Move from hovering to below image */
    padding: 20px 20px;
    background: transparent;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    margin-top: -90%;
  }

  .condition-tag {
    font-size: 13px;
    background: transparent;
    padding: 8px 15px;
    border-radius: 8px;
    color: white;
  }
}

/* Stats Layout */
.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 100%;
  max-width: 1683px;
  height: auto;
  margin: 0 auto;
}

.stat-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  height: auto;
}

.stat-icon {
  width: 35px;
  height: 35px;
  background: #fff0f5;
  /* Light pink background */
  color: #ff5c8d;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 10px;
}

.right-side {
  border-right: 2px solid #e7e7e8;
  height: 230px;
}

.stat-column h2 {
  font-size: 28px;
  color: #333;
  font-weight: 700;
}

.stat-subtitle {
  font-weight: 700;
  color: #37845e;
  /* Green color from design */
  font-size: 14px;
  line-height: 1.3;
}

.stat-description {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bottom-side {
    padding-bottom: 1rem;
    border-bottom: 2px solid #e7e7e8;
  }

  .right-side {
    border-right: none;
    border-bottom: none;
  }
  .stats-container {
    grid-template-columns: 1fr;
  }

  .gallery-stats-section {
    padding: 20px;
  }
}

/* --- Best Physiotherapists Section --- */
.physio-team-section {
  padding: 80px 100px;
}

.physio-container {
  display: flex;
  align-items: stretch; /* makes both columns equal height */
  gap: 50px;
  max-width: 1400px;
  background-color: rgba(224, 224, 224, 0.3);
  padding: 4rem 4rem;
  margin: 0 auto;
  border-radius: 2rem;
}



/* Content column */
.physio-content {
  flex: 1.2;
}

.badge {
  font-family: Manrope;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -2%;
  display: inline-block;
  margin-bottom: 20px;
}

.section-title {
  font-size: 32px;
  color: #222;
  margin-bottom: 20px;
  font-weight: 700;
}

.team-intro {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

.visionary-heading {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.visionary-details {
  list-style: none;
  padding: 0;
}

.visionary-details li {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

.visionary-details li::before {
  content: "•";
  color: #ccc;
  position: absolute;
  left: 0;
  font-weight: bold;
}



.physio-image {
 flex: 1; 
  display: flex;
}

.physio-image img {
    
    width: 100%;
  height: 100%; 
  object-fit: cover; 
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* --- Mobile Responsive Fixes --- */
@media (max-width: 992px) {
    
    
    .physio-team-section {
        padding: 40px 20px; 
    }


    .physio-container {
        flex-direction: column; 
        padding: 2rem 1.5rem;  
        gap: 30px;
        width: 100%;           
        box-sizing: border-box;
    }

    
    .section-title {
        font-size: 28px;       
        word-wrap: break-word;
        line-height: 1.3;
    }

    
    .badge {
        white-space: normal;   
    }
    
}

@media (width:1024px) {
   .physio-container {
        flex-direction: column; 
        padding: 2rem 1.5rem;  
        gap: 30px;
        width: 100%;           
        box-sizing: border-box;
    }

  .physio-image img {
    display: none;
  }
}

/* Container Spacing */
.expert-team-section {
  padding: 80px 60px;
  background-color: #ffffff;
  max-width: 1400px;
  margin: 0 auto;
}

/* Header with Flexbox */
.team-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.header-text {
  max-width: 800px;
}

.badge-green {
  background-color: #e8f5e9;
  color: #37845e;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 15px;
}

.section-title {
  font-size: 32px;
  color: #1a1a1a;
  font-weight: 700;
}

.team-description {
  font-size: 14px;
  color: #666;
  width: 100%;
  line-height: 1.6;
  margin-top: 10px;
}

/* Slider Controls */
.slider-nav {
  display: flex;
  gap: 12px;
}

.nav-arrow {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid #eee;
  background: #f8f8f8;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.nav-arrow.active {
  background: #ff5c8d;
  /* Matches your brand pink */
  color: white;
  border: none;
}

/* Grid Layout */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border: gray;
}

/* Doctor Cards with Glassmorphism Overlay */
.team-member-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 520px;
  box-shadow: 0 4px 15px rgba(124, 123, 123, 0.05);
}

.team-member-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member-card:hover img {
  transform: scale(1.05);
}

.member-overlay {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  background: rgba(25, 35, 51, 0.4);
  backdrop-filter: blur(10px);
  /* The Glass Effect */
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 10px;
  color: white;
}

.member-overlay h4 {
  font-size: 16px;
  margin-bottom: 3px;
  font-weight: 600;
}

.member-overlay span {
  font-size: 11px;
  opacity: 0.9;
  letter-spacing: 0.3px;
}

@media screen and (max-width: 768px) {

  .physio-image img {
    display: none;
  }

  .team-member-card img{
    width: 100%;
  }
  .team-header-row {
    display: flex;
    flex-direction: row !important; /* Keep text and arrows on same row */
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
  }

  .header-text {
    width: 70%; /* Give space for arrows */
  }

  /* Make the buttons visible and smaller */
  .slider-nav {
    display: flex !important;
    gap: 10px;
  }

  .nav-arrow {
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f0f0;
    border: 1px solid #ddd;
    cursor: pointer;
  }

  .nav-arrow.active {
    background: #e02c60;
    color: white;
    border-color: #e02c60;
  }

  /* The Scrolling Grid */
  .team-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    scroll-behavior: smooth;
  }

  .team-grid::-webkit-scrollbar {
    display: none;
  }

  .team-member-card {
    min-width: 100%; /* Show one card clearly */
    flex: 0 0 85%;
    scroll-snap-align: center;
  }

  .team-member-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 820px;
  box-shadow: 0 4px 15px rgba(124, 123, 123, 0.05);
}

}

/* Responsive Design */
@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .expert-team-section {
    padding: 40px 20px;
  }
}

/* --- Testimonials Section --- */
.testimonials {
  background-color: #37845e;
  /* Matches footer brand green */
  padding: 80px 60px;
  color: #ffffff;
  text-align: center;
}

.testimonials .container {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials .header {
  margin-bottom: 50px;
}

.testimonials .badge {
  background: rgb(255, 255, 255);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  display: inline-block;
  margin-bottom: 20px;
}

.testimonials h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.testimonials .header p {
  font-size: 15px;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
  line-height: 1.6;
}

/* Slider and Cards */
.testimonial-slider {
  overflow: hidden;
  margin-bottom: 40px;
}

.slider-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonials .card {
  background: rgba(255, 255, 255, 0.1);
  /* Glassmorphism card */
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 15px;
  text-align: left;
  height: 100%;
}

.testimonials .content {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 25px;
  min-height: 120px;
}

.testimonials .profile {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonials .profile img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonials .info h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.testimonials .stars {
  color: #ffb400;
  /* Gold/Yellow stars */
  font-size: 12px;
}

/* Controls */
.testimonials .controls {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.arrow-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: #ff5c8d;
  color: white;
  cursor: pointer;
  font-size: 18px;
  transition: 0.3s;
}

.arrow-btn.active {
  background: #ff5c8d;
  /* Matches brand pink button */
  border-color: #ff5c8d;
}

/* Responsive */
@media (max-width: 992px) {
  .slider-wrapper {
    grid-template-columns: 1fr;
  }
  .testimonials {
    padding: 20px 20px;
    text-align: left;
  }
}

/* --- FAQ Section Styles --- */
.faq-section {
  padding: 100px 60px;
  background-color: #ffffff;
}

.faq-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  /* Image side slightly smaller than text side */
  gap: 80px;
  max-width: 1250px;
  margin: 0 auto;
}

/* Left Content */
.faq-info .badge-green {
  background: #e8f5e9;
  color: #37845e;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}

.faq-info h1 {
  font-size: 38px;
  color: #1a1a1a;
  line-height: 1.2;
  margin-bottom: 20px;
}

.faq-info p {
  color: #666;
  line-height: 1.6;
  font-size: 15px;
  margin-bottom: 40px;
}

.faq-image-wrapper img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

/* Accordion Styles */
.faq-accordion {
  display: flex;
  flex-direction: column;
}

.accordion-item {
  border-bottom: 1px solid #eee;
}

.accordion-header {
  width: 100%;
  padding: 25px 0;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  color: #333;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

.accordion-header:hover {
  color: #37845e;
  /* Brand Green */
}

.accordion-header .icon {
  font-size: 24px;
  color: #ccc;
  transition: transform 0.3s ease;
}

/* Content logic */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-content p {
  padding-bottom: 25px;
  color: #666;
  line-height: 1.7;
  font-size: 14.5px;
}

/* Active State */
.accordion-item.active .accordion-content {
  max-height: 200px;
  /* Adjust as needed */
}

.accordion-item.active .accordion-header {
  color: #1a1a1a;
}

.accordion-item.active .icon {
  transform: rotate(0deg);
  color: #ff5c8d;
  /* Brand Pink when active */
}

/* Responsive */
@media (max-width: 1024px) {
  .faq-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .faq-section {
    padding: 60px 20px;
  }
  
}
.site-footer {
  background-color: #3e7b56;

  color: #ffffff;
  padding: 60px 20px 20px;
  position: relative;
  height: auto;
}

.footer-container {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
}



/* White Card Section (Logo & Map) */
.footer-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 20px;
  flex: 1;
  min-width: 300px;
  max-width: 540px;
  color: #333;
}

.brand-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.footer-logo {
  max-width: 150px;
  height: auto;
}

.social-links span {
  font-size: 11px;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  color: #555;
}

.icons {
  display: flex;
  gap: 10px;
}

.icons img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}

.icons img:hover {
  transform: scale(1.1);
}

.map-container img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

/* Link Columns */
.footer-column {
  flex: 0 1 200px;
}

.footer-column h3 {
  font-size: 14px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Contact Info Column */
.contact-info p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 200px;
  z-index: 1000;
}

.btn {
  gap: 1rem;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
  min-width: 200px;
}

.float-btn:hover {
  transform: translateY(-5px);
}

.call-btn {
  background-color: #2b78c5;
}

.wa-btn {
  background-color: #25d366;
}

.btn-text {
  font-size: 12px;
  line-height: 1.2;
}

.btn-text strong {
  font-size: 14px;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #e0e0e0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 40px 15px 20px;
  }

  .footer-container {
    gap: 0;
  }

  .footer-card {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .footer-column {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 10px;
    margin-bottom: 20px;
  }

  .footer-column ul li a {
    font-size: 13px;
  }

  .footer-column.contact-info {
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 10px;
  }

  .footer-bottom {
    margin-top: 20px;
  }

  .map-container iframe{
    width: 100%;
  }
}




@media (max-width: 768px) {
  /* --- FLOATING ACTIONS --- */
  .floating-actions {
    display: none;
  }

  .float-btn {
    display: none;
  }
}

/* --- Modal Styles --- */
/* Note: Modal styles have been moved to popup-modal.css for consistency across all pages */
/* Please use popup-modal.css and popup-modal.js for popup functionality */

/* --- Add this to the bottom of style.css --- */

/* 1. Reset/Hide Mobile Elements on Desktop */
.mobile-nav-header,
.mobile-dropdown-item,
.menu-toggle {
  display: none;
}

/* 2. Mobile Styles */
@media screen and (max-width: 1024px) {

  .map-container iframe{
    width: 100%;
  }
  /* Hamburger Container */
  .menu-toggle {
    display: block !important;
    cursor: pointer;
    z-index: 1100;
    /* Center the SVG */
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Drawer Container */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 375px;
    height: 100vh;
    background: #ffffff;
    display: flex !important;
    flex-direction: column;
    padding: 0;
    transition: right 0.4s ease-in-out;
    z-index: 2000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    border-radius: 1rem;
  }

  .nav.active {
    right: 0;
  }

  /* Mobile Header */
  .mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    margin-bottom: 10px;
  }

  .mobile-logo img {
    height: 50px;
    width: auto;
  }

  /* Pink Close Button Circle */
  .close-btn-circle {
    width: 32px;
    height: 32px;
    background-color: #e02c60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(224, 44, 96, 0.3);
  }

  /* Dropdown Styles */

  .mobile-dropdown-item {
    display: block !important;
    width: 100%;
  }

  .mobile-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: "Manrope", sans-serif;
    font-size: 17px;
    color: #555;
    font-weight: 500;
  }

  /* Arrow Rotation */
  .arrow-icon {
    transition: transform 0.3s ease;
  }

  .mobile-dropdown-list {
    display: none;
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    margin-top: 15px !important;
    border-left: 2px solid #f0f0f0;
  }

  .mobile-dropdown-list.show {
    display: flex;
  }

  .mobile-dropdown-list li {
    list-style: none;
  }

  .mobile-dropdown-list li a {
    text-decoration: none;
    font-size: 15px;
    color: #666;
  }

  /* Standard Links */
  .nav_list {
    padding: 0 25px;
    flex-grow: 1;
  }

  .nav_list ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-top: 10px;
  }

  .nav-link {
    font-size: 17px;
    color: #555;
    font-weight: 500;
    text-decoration: none;
    display: block;
  }

  .nav-link.active {
    color: #e02c60;
    font-weight: 700;
  }

  /* Bottom Button */
  .nav_btns {
    margin-top: auto;
    padding: 20px 25px 40px;
    width: 100%;
    display: block;
  }

  .nav_btns button {
    width: 90%;
    background-color: #e02c60;
    color: white;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
}

/* The dark tint covering the whole screen */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dull/dim color */
  opacity: 0;
  pointer-events: none; /* Allows you to click things underneath */
  transition: opacity 0.3s ease;
  z-index: 10;
}

/* The item you want to highlight */
.hover-target {
  position: relative;
  z-index: 20; /* Higher than overlay */
  background: white;
  padding: 20px;
  display: inline-block;
}

/* When the div is hovered, show the overlay */
.hover-target:hover ~ .overlay,
body:has(.hover-target:hover) .overlay {
  opacity: 1;
}

.dropdown_menu {
  display: none; /* Hidden by default */
  position: absolute;
  top: 100%; /* Below the link */
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 10px;
  width: 700px; /* Wide mega menu */
  justify-content: space-between;
  z-index: 999;
  flex-direction: row;
}

/* Show Dropdown on Hover */
.dropdown:hover .dropdown_menu {
  display: flex;
}

.step {
  flex: 1;
  padding: 0 15px;
}

.step li {
  margin-bottom: 12px;
  list-style: none;
}

.step li a {
  font-size: 14px !important;
  font-weight: 500;
  color: #555;
  display: block;
}

@media (max-width: 768px) {
  .dropdown_menu {
    position: static;
    width: 100%;
    transform: none;
    box-shadow: none;
    flex-direction: column;
    background: #f9f9f9;
    display: none;
    padding: 0 15px;
    border-left: 2px solid #e02c60;
    margin-top: 5px;
  }

  /* Override global ID styles */
  #dropdownMenu.active {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
    position: static;
    /* Reset absolute positioning */
    transform: none;
    /* Reset transform */
    min-width: 0;
    /* Reset width constraints */
    max-width: none;
    left: auto;
  }

  /* Flatten the 'step' structure in mobile */
  .dropdown_menu .step {
    width: 100%;
    padding: 0;
    flex: none;
  }

  .dropdown_menu .step li {
    margin-bottom: 0;
    border-bottom: 1px solid #e0e0e0;
  }

  .dropdown_menu .step li:last-child {
    border-bottom: none;
  }

  .dropdown_menu .step li a {
    padding: 8px 0;
    /* Reduced padding for mobile */
    font-size: 15px !important;
    color: #444;
  }

  .dropdown.show-dropdown .dropdown_menu {
    display: flex;
  }

  .step {
    padding: 10px 0;
    text-align: left;
    margin-bottom: 0;
  }

  .step li {
    border-bottom: none;
    /* No border for sub-items */
    margin-bottom: 5px;
  }

  .step li a {
    padding: 5px 0;
    font-size: 14px;
    color: #555;
  }

  /* Close Button Style (to be injected) */
  .sidebar-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
    color: #333;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
  }

  .sidebar-close-btn:hover {
    background: #e0e0e0;
    color: #e02c60;
  }
}
.carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: galleryScroll 65s linear infinite; /* slow & smooth */
}
.carousel-slide {
  min-width: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}


/* --- MOBILE & TABLET (Max-width 1024px) --- */
@media screen and (max-width: 1024px) {

  /* 1. Main Container */
  .gallery-stats-section {
    padding: 20px 0;
    height: auto; /* Let height grow with image */
    background-color: #fff;
    overflow: hidden; /* Hide anything outside the box */
  }

  /* 2. The Moving Track */
  .carousel-track {
    display: flex;
    width: max-content; /* Ensure track is as wide as all images combined */
    gap: 10px;
    
    /* FORCE ANIMATION ON MOBILE */
    animation: galleryScroll 30s linear infinite; /* Faster speed for mobile */
    
    /* DISABLE MANUAL SCROLLING (Required for auto-move to work smoothly) */
    overflow-x: hidden; 
  }

  /* 3. The Item Wrapper */
  .gallery-item {
    /* Make each item slightly smaller than full screen for a "slider" look, 
       or use 100% for full width. */
    width: 85vw; /* 85% of viewport width */
    flex: 0 0 85vw;
    
    height: 450px; /* No fixed height = No Zoom */
    border-radius: 10px;
  }

  /* 4. The Image (Fixes the Zoom) */
  .gallery-item img {
    width: 100%;
    height: 100%; /* Scales proportionally */
    display: block;
    object-fit: cover;
    border-radius: 10px;
  }
}

/* Ensure the animation keyframes exist globally */
@keyframes galleryScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}