/* ==========================================================================
   Dietitian Rashmi — Design System & Custom Stylesheet (Aura Health Inspired)
   ========================================================================== */

/* Custom Properties (Tokens) */
:root {
  /* Color Palette */
  --primary: #1E3F35;
  --primary-light: #2D5E50;
  --primary-rgb: 30, 63, 53;
  --secondary: #BFA683;
  --secondary-light: #D8C7B0;
  --secondary-dark: #A58B66;
  --bg-primary: #FDFCF9;
  --bg-secondary: #F6F4EB;
  --bg-dark: #162822;
  --bg-dark-rgb: 22, 40, 34;
  --text-primary: #2A3439;
  --text-secondary: #4C565B;
  --text-light: #8E999E;
  --white: #FFFFFF;
  --whatsapp: #25D366;
  --whatsapp-hover: #20BA5A;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Layout Spacing */
  --container-width: 1200px;
  --header-height: 80px;
  --header-shrink-height: 64px;

  /* Elevation (Shadows) */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(30, 63, 53, 0.06);
  --shadow-lg: 0 16px 40px rgba(30, 63, 53, 0.1);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.06);

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-full: 9999px;

  /* Animations & Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.2s ease;
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-shrink-height) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-light);
}

/* Accessibility Focus Ring */
*:focus-visible {
  /* outline: 2px solid var(--secondary); */
  outline-offset: 4px;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

.text-serif {
  font-family: var(--font-display);
  font-weight: 500;
}

.text-italic {
  font-style: italic;
}

/* Fluid Heading Typography via Clamp */
h1, .hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem); /* scales 36px to 60px */
}

h2, .section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem); /* scales 30px to 44px */
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

/* --------------------------------------------------------------------------
   Utility Classes & Components
   -------------------------------------------------------------------------- */
.section-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.w-full { width: 100%; }
.text-center { text-align: center; }

/* Eyebrow Label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary);
  /* margin-bottom: 1rem; */
}

.eyebrow i {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-sm {
  padding: 0.65rem 1.5rem;
  font-size: 0.85rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-light);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  border-radius: var(--radius-full);
}

.btn-primary:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary-light);
}

.btn-outline:hover {
  background-color: rgba(30, 63, 53, 0.04);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-icon {
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   Scroll-Reveal Animation (Observer Hook)
   -------------------------------------------------------------------------- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal, .float-anim, .float-anim-reverse {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   Sticky Header / Navbar
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Shrink & blur effect on scroll */
.navbar.scrolled {
  height: var(--header-shrink-height);
  background-color: rgba(253, 252, 249, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30, 63, 53, 0.08);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.logo-subtext {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--secondary);
  margin-top: 0.15rem;
}

/* Navigation Links */
.nav-menu {
  display: flex;
}

.nav-list {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  opacity: 0.85;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--secondary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link:hover {
  opacity: 1;
  color: var(--primary);
}

/* Actions in navbar */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(30, 63, 53, 0.1);
  color: var(--primary);
  background-color: rgba(253, 252, 249, 0.5);
  transition: var(--transition-fast);
}

.nav-icon-link i {
  width: 18px;
  height: 18px;
}

.nav-icon-link:hover {
  transform: translateY(-2px);
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.nav-icon-link.whatsapp-color:hover {
  background-color: var(--whatsapp);
  border-color: var(--whatsapp);
  color: var(--white);
}

/* Hamburger Trigger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  z-index: 110;
}

.hamburger .bar {
  height: 2px;
  width: 100%;
  background-color: var(--primary);
  border-radius: 2px;
  transition: var(--transition-fast);
  transform-origin: left center;
}

/* Hamburger active animation */
.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(2px, 0px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(2px, 2px);
}

/* --------------------------------------------------------------------------
   Mobile Drawer Menu
   -------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-primary);
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 2rem 2rem;
  transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
}

.mobile-menu-cta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.mobile-social-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(30, 63, 53, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  background: radial-gradient(circle at 80% 20%, rgba(191, 166, 131, 0.06) 0%, transparent 60%);
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-weight: 800;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

/* Hero Stats Strip */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background-color: var(--white);
  padding: 1.5rem 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(30, 63, 53, 0.04);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--secondary);
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  margin-top: 0.35rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: rgba(30, 63, 53, 0.1);
}

/* Hero Visual & Image */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  z-index: 2;
}

.organic-shape-bg {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(191, 166, 131, 0.25) 0%, rgba(191, 166, 131, 0) 70%);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  z-index: -1;
  animation: organic-morph 15s ease-in-out infinite alternate;
}

.hero-image {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 120px 40px 120px 40px;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(253, 252, 249, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(30, 63, 53, 0.08);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-md);
  z-index: 10;
}

.badge-icon {
  background-color: rgba(191, 166, 131, 0.15);
  color: var(--primary);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon i {
  width: 16px;
  height: 16px;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
}

.badge-subtitle {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.badge-top-left {
  top: 15%;
  left: -15%;
}

.badge-bottom-right {
  bottom: 10%;
  right: -10%;
}

.badge-bottom-left {
  bottom: 25%;
  left: -20%;
}

/* Floating Badge Animations */
.float-anim {
  animation: float-badge 6s ease-in-out infinite;
}

.float-anim-reverse {
  animation: float-badge-reverse 6s ease-in-out infinite;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes float-badge-reverse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@keyframes organic-morph {
  0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  100% { border-radius: 60% 40% 50% 50% / 50% 60% 40% 60%; }
}

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.about {
  padding: 3rem 0;
  background-color: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.about-image {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 40px 120px 40px 120px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.decorative-border-shape {
  position: absolute;
  top: -15px;
  left: -15px;
  width: calc(100% + 30px);
  height: calc(100% + 30px);
  border: 2px solid var(--secondary);
  border-radius: 44px 124px 44px 124px;
  z-index: 1;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.credential-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--white);
  color: var(--primary);
  border: 1px solid rgba(30, 63, 53, 0.08);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.pill i {
  width: 14px;
  height: 14px;
  color: var(--secondary);
}

.pill:hover {
  transform: translateY(-2px);
  border-color: var(--secondary);
}

/* --------------------------------------------------------------------------
   Signature Program Section
   -------------------------------------------------------------------------- */
.programs {
  padding: 8rem 0;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Diabetes Stat Box styling */
.diabetes-stat-box {
  background-color: var(--bg-dark);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 3rem;
  margin-bottom: 5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-box-content {
  display: grid;
  grid-template-columns: 0.4fr 1.6fr;
  align-items: center;
  gap: 3rem;
}

.stat-box-number {
  font-family: var(--font-display);
  font-size: 6.5rem;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
  display: flex;
  align-items: baseline;
}

.stat-box-number span:last-child {
  font-size: 3rem;
  font-weight: 600;
}

.stat-box-text h3 {
  color: var(--white);
  font-size: 1.65rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.stat-box-text p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
}

/* 3-Step Process Steps */
.process-container {
  position: relative;
}

.process-line {
  position: absolute;
  top: 55px;
  left: 10%;
  width: 80%;
  height: 4px;
  background-color: var(--bg-secondary);
  z-index: 1;
}

.process-line-progress {
  width: 0%;
  height: 100%;
  background-color: var(--secondary);
  transition: width 1s ease-out;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.process-card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(30, 63, 53, 0.04);
  transition: var(--transition-smooth);
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(191, 166, 131, 0.3);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--secondary);
  background-color: var(--bg-secondary);
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
}

.process-card:hover .step-num {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.process-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.process-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Range of Services Section
   -------------------------------------------------------------------------- */
.services {
  padding: 8rem 0;
  background-color: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.services-grid .service-card:nth-child(4) {
  /* grid-column: span 1; */
}

/* Make it flow nicely. Since we have 5 items:
   Row 1: 3 items, Row 2: 2 items centered */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3) {
    grid-column: span 2;
  }
  .service-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .service-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.service-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 3rem 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(30, 63, 53, 0.04);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(191, 166, 131, 0.3);
}

.service-icon {
  background-color: rgba(191, 166, 131, 0.12);
  color: var(--primary);
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.service-icon i {
  width: 24px;
  height: 24px;
  transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
  background-color: var(--primary);
  color: var(--white);
}

.service-card:hover .service-icon i {
  transform: scale(1.15) rotate(5deg);
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Real Results / Success Stories Section
   -------------------------------------------------------------------------- */
.stories {
  padding: 8rem 0;
}

.carousel-wrapper {
  max-width: 800px;
  margin: 0 auto 4rem;
  position: relative;
}

.carousel-container {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(30, 63, 53, 0.06);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
}

.story-card {
  background-color: var(--white);
  padding: 4rem 4.5rem;
  display: flex;
  flex-direction: column;
}

.story-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.story-avatar {
  background-color: var(--primary);
  color: var(--white);
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}

.story-author-details {
  display: flex;
  flex-direction: column;
}

.story-name {
  font-size: 1.25rem;
  color: var(--primary);
}

.story-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
}

.story-stats-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.badge-mini {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(30, 63, 53, 0.04);
}

.badge-mini i {
  width: 12px;
  height: 12px;
  color: var(--primary);
}

.story-quote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.6;
  color: var(--text-primary);
  font-style: italic;
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--secondary);
}

/* Carousel Control Elements */
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.carousel-btn {
  background-color: var(--white);
  color: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(30, 63, 53, 0.08);
  transition: var(--transition-fast);
}

.carousel-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: rgba(30, 63, 53, 0.15);
  transition: var(--transition-fast);
}

.carousel-dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

/* Stories Trust Bar */
.stories-trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 2.25rem 3rem;
  margin-top: 4rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(30, 63, 53, 0.02);
}

.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.trust-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}

.trust-divider {
  width: 1px;
  height: 30px;
  background-color: rgba(30, 63, 53, 0.15);
}

/* --------------------------------------------------------------------------
   FAQ Accordion Section
   -------------------------------------------------------------------------- */
.faq {
  padding: 8rem 0;
  background-color: var(--bg-secondary);
}

.faq-accordion-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(30, 63, 53, 0.05);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(191, 166, 131, 0.3);
  box-shadow: var(--shadow-md);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 2.25rem;
  text-align: left;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.faq-icon-wrapper {
  background-color: var(--bg-secondary);
  color: var(--primary);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.faq-icon {
  width: 14px;
  height: 14px;
  stroke-width: 3;
  transition: transform 0.4s ease;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-content p {
  padding: 0 2.25rem 2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* FAQ Active State */
.faq-item.active {
  border-color: var(--secondary-light);
}

.faq-item.active .faq-icon-wrapper {
  background-color: var(--primary);
  color: var(--white);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact {
  padding: 8rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
}

.contact-intro {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.clinics-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.clinic-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  display: flex;
  gap: 1.25rem;
  border: 1px solid rgba(30, 63, 53, 0.02);
  transition: var(--transition-smooth);
}

.clinic-card:hover {
  transform: translateX(4px);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  border-color: rgba(191, 166, 131, 0.2);
}

.clinic-icon {
  color: var(--secondary);
  margin-top: 0.25rem;
}

.clinic-icon i {
  width: 20px;
  height: 20px;
}

.clinic-name {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.clinic-address {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Direct contact buttons columns */
.direct-contacts {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.contact-btn {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--white);
  border: 1px solid rgba(30, 63, 53, 0.08);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.contact-btn-icon {
  background-color: rgba(30, 63, 53, 0.05);
  color: var(--primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.contact-btn-icon i {
  width: 18px;
  height: 18px;
}

.contact-btn-text {
  display: flex;
  flex-direction: column;
}

.contact-btn-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.contact-btn-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.contact-btn:hover .contact-btn-icon {
  background-color: var(--primary);
  color: var(--white);
}

.contact-btn.whatsapp-btn:hover {
  border-color: var(--whatsapp);
}

.contact-btn.whatsapp-btn:hover .contact-btn-icon {
  background-color: var(--whatsapp);
}

/* Contact Form Column */
.contact-form-col {
  display: flex;
}

.form-container {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem 3rem;
  width: 100%;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(30, 63, 53, 0.04);
  position: relative;
  min-height: 450px;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  height: 100%;
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-control {
  width: 100%;
  border-bottom: 2px solid rgba(30, 63, 53, 0.1);
  padding: 0.75rem 0;
  color: var(--text-primary);
  font-weight: 500;
  transition: border-color 0.3s ease;
  background-color: transparent;
}

textarea.form-control {
  resize: none;
}

/* Floating label design */
.floating-label {
  position: absolute;
  top: 0.75rem;
  left: 0;
  color: var(--text-secondary);
  font-weight: 500;
  transition: transform 0.3s ease, color 0.3s ease;
  transform-origin: left top;
  pointer-events: none;
}

/* Active floating label states */
.form-control:focus ~ .floating-label,
.form-control:not(:placeholder-shown) ~ .floating-label {
  transform: translateY(-1.25rem) scale(0.85);
  color: var(--secondary);
}

.form-control:focus {
  border-color: var(--primary);
}

/* Form error indicators */
.form-control.error {
  border-color: #E53E3E;
}

.error-msg {
  color: #E53E3E;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: none;
}

.form-control.error ~ .error-msg {
  display: block;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.inline-icon {
  width: 12px;
  height: 12px;
}

/* Form Button Submitting Spinner */
.loading-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.submitting .btn-text {
  display: none;
}

.submitting .loading-spinner {
  display: block;
}

/* Success Form Panel overlay style */
.form-success-message {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  border-radius: var(--radius-md);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem;
  z-index: 10;
}

.form-success-message.active {
  display: flex;
  animation: fade-in-scale 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.success-icon {
  background-color: rgba(37, 211, 102, 0.1);
  color: var(--whatsapp);
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.success-icon i {
  width: 32px;
  height: 32px;
  stroke-width: 3;
}

.form-success-message h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.form-success-message p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 320px;
}

@keyframes fade-in-scale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* --------------------------------------------------------------------------
   Footer (Aura Health Inspired)
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 8rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1) 50%, transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr 0.9fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

/* Brand block */
.footer-logo .logo-text {
  color: var(--white);
}

.footer-logo .logo-subtext {
  color: var(--secondary-light);
}

.brand-description {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.footer-trust-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary-light);
}

.trust-icon {
  width: 16px;
  height: 16px;
}

/* Links Columns */
.footer-title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

/* Address Link styling override */
.address-links {
  gap: 1.25rem;
}

.address-links li {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

.address-links strong {
  color: var(--white);
  font-size: 0.9rem;
}

/* Social & Direct Call */
.footer-social-icons {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-fast);
}

.social-icon i,
.social-icon svg {
  width: 16px;
  height: 16px;
}

.social-icon:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--bg-dark);
  transform: translateY(-3px);
}

.social-icon.whatsapp:hover {
  background-color: var(--whatsapp);
  border-color: var(--whatsapp);
  color: var(--white);
}

.footer-direct-contact {
  display: flex;
  flex-direction: column;
}

.direct-contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.45);
}

.direct-contact-val {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--secondary-light);
  margin-top: 0.25rem;
}

.direct-contact-val:hover {
  color: var(--white);
}

/* Bottom Bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Responsive Design Breakpoints
   -------------------------------------------------------------------------- */

/* Tablets (<1024px) */
@media (max-width: 1024px) {
  :root {
    --header-height: 70px;
    --header-shrink-height: 60px;
  }

  .nav-menu {
    display: none;
  }

  .btn-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-stats {
    align-self: center;
  }

  .hero-image-wrapper {
    max-width: 380px;
  }

  .hero-image {
    height: 400px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about-content {
    align-items: center;
    text-align: center;
  }

  .credential-pills {
    justify-content: center;
  }

  .stat-box-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .stat-box-number {
    justify-content: center;
  }

  .process-line {
    display: none;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 3rem;
  }

  .footer-col:last-child {
    grid-column: span 3;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
  }

  .footer-social-icons {
    margin-bottom: 0;
  }
}

/* Mobile Screens (<640px) */
@media (max-width: 640px) {
  .section-container {
    padding: 0 1.25rem;
  }

  .hero {
    padding-bottom: 4rem;
  }

  .hero-ctas {
    width: 100%;
    flex-direction: column;
    gap: 1rem;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    padding: 1.5rem;
  }

  .stat-divider {
    width: 60%;
    height: 1px;
  }

  .hero-image-wrapper {
    max-width: 100%;
  }

  .hero-image {
    height: 450px;
    border-radius: 60px 20px 60px 20px;
  }

  .floating-badge {
    padding: 0.5rem 1rem;
  }

  .badge-top-left {
    left: -2%;
    top: 5%;
  display: none;
  }

  .badge-bottom-right {
    right: -2%;
    bottom: 5%;
  }

  .badge-bottom-left {
    display: none; /* Hide third floating badge on narrow mobile to keep screen clear */
  }

  .about {
    padding: 5rem 0;
  }

  .about-image {
    height: 380px;
    border-radius: 20px 60px 20px 60px;
  }

  .decorative-border-shape {
    border-radius: 24px 64px 24px 64px;
  }

  .programs, .services, .stories, .faq, .contact {
    padding: 5rem 0;
  }

  .diabetes-stat-box {
    padding: 1.5rem;
  }

  .stat-box-number {
    font-size: 4.5rem;
  }

  .stat-box-number span:last-child {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .story-card {
    padding: 2.5rem 1.5rem;
  }

  .story-quote {
    font-size: 1.15rem;
  }

  .stories-trust-bar {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
  }

  .trust-divider {
    display: none;
  }

  .faq-trigger {
    padding: 1.5rem 1.25rem;
  }

  .faq-question {
    font-size: 0.95rem;
  }

  .faq-content p {
    padding: 0 1.25rem 1.5rem;
  }

  .form-container {
    padding: 2.25rem 1.5rem;
  }

  .direct-contacts {
    flex-direction: column;
  }

  .footer {
    padding-top: 5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-col:last-child {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 0.75rem;
  }
}



.floating-call {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background-color: var(--color-amber);
    /*color: #fff;*/
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 6px 20px rgba(232, 162, 61, 0.4);
    z-index: 99;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 99;
    text-decoration: none;
    transition: var(--transition-smooth);
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
    
        .floating-call {
        bottom: 1.5rem;
        left: 1.5rem;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}
