/* ==========================================================================
   sakibslt.com - Senior UI/UX Design System Stylesheet
   Designed with 10+ Years UI/UX Principles: Visual Hierarchy, Optical Kerning,
   WCAG 2.1 AAA Accessibility, Premium Glassmorphism & Micro-Interactions.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & SYSTEM VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Psychological Color Architecture: Authority + Medical Healing */
  --navy-deep: #071524;
  --navy-primary: #0A1E35;
  --navy-surface: #0F2A4A;
  --teal-primary: #0D9488;
  --teal-light: #14B8A6;
  --teal-subtle: #F0FDFA;
  --teal-glow: rgba(13, 148, 136, 0.18);
  --amber-accent: #D97706;
  --amber-light: #FEF3C7;
  --emerald-accent: #059669;

  /* Neutral Tone Scale (High Contrast & Reduced Eye Strain) */
  --bg-canvas: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-glass: rgba(226, 232, 240, 0.85);
  --border-light: #E2E8F0;
  --text-headline: #0B1E33;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-subtle: #94A3B8;

  /* Sophisticated Multi-Layered Shadows (Ambient Occlusion) */
  --shadow-xs: 0 1px 2px 0 rgba(11, 30, 51, 0.04);
  --shadow-sm: 0 2px 4px -1px rgba(11, 30, 51, 0.05), 0 1px 2px -1px rgba(11, 30, 51, 0.03);
  --shadow-md: 0 8px 16px -2px rgba(11, 30, 51, 0.06), 0 4px 6px -2px rgba(11, 30, 51, 0.03);
  --shadow-lg: 0 16px 28px -4px rgba(11, 30, 51, 0.08), 0 8px 12px -4px rgba(11, 30, 51, 0.04);
  --shadow-hover: 0 22px 35px -6px rgba(13, 148, 136, 0.15), 0 10px 14px -4px rgba(13, 148, 136, 0.08);
  --shadow-glass: 0 12px 30px -4px rgba(7, 21, 36, 0.07), inset 0 1px 0 0 rgba(255, 255, 255, 0.95);
  --shadow-dark-glass: 0 24px 48px -12px rgba(0, 0, 0, 0.35), inset 0 1px 0 0 rgba(255, 255, 255, 0.12);
}

/* --------------------------------------------------------------------------
   2. CORE TYPOGRAPHY & SMOOTH SCROLLING
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  font-size: 16px;
}

/* Wide Layout Responsive Containers */
.container-wide {
  width: 100%;
  max-width: 1580px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 640px) {
  .container-wide {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .container-wide {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

.container-medium {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 640px) {
  .container-medium {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .container-medium {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

body {
  font-family: 'Anek Bangla', 'Noto Sans Bengali', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-body);
  background-color: var(--bg-canvas);
  line-height: 1.7;
  letter-spacing: 0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Modern Optical Hierarchy for Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Anek Bangla', 'Noto Sans Bengali', 'Plus Jakarta Sans', sans-serif;
  color: var(--text-headline);
  letter-spacing: -0.018em;
  line-height: 1.32;
  font-weight: 800;
}

p {
  line-height: 1.75;
}

/* Custom Sleek Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
  border: 2px solid #F1F5F9;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* --------------------------------------------------------------------------
   3. MODERN GLASSMORPHYSIM SPECIFICATIONS
   -------------------------------------------------------------------------- */
/* Sticky Navigation Glass */
.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px -2px rgba(11, 30, 51, 0.04);
}

/* Island Floating Tab Bar */
.glass-island {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(203, 213, 225, 0.75);
  box-shadow: 0 4px 18px -2px rgba(11, 30, 51, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.95);
}

/* Light Card Glassmorphism */
.glass-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-glass);
}

/* Deep Clinical Dark Glass */
.glass-dark-card {
  background: linear-gradient(135deg, rgba(10, 30, 53, 0.96) 0%, rgba(7, 21, 36, 0.98) 100%);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-dark-glass);
}

/* --------------------------------------------------------------------------
   4. AMBIENT BACKGROUND GLOWS & LIGHTING
   -------------------------------------------------------------------------- */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(13, 148, 136, 0.08) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 65%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 65%, transparent 100%);
  z-index: 0;
}

.hero-glow-teal {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.14) 0%, rgba(13, 148, 136, 0) 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-blue {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, rgba(14, 165, 233, 0) 70%);
  filter: blur(65px);
  pointer-events: none;
  z-index: 0;
}

/* Floating Badges on Portrait Frame (Senior UX Designer Micro-Cards) */
.floating-badge-award {
  position: absolute;
  top: -8px;
  right: -8px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.5rem 0.8rem;
  border-radius: 1rem;
  box-shadow: 0 12px 28px -6px rgba(10, 30, 53, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(13, 148, 136, 0.22);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 20;
  animation: statFloat 4s ease-in-out infinite;
}

.floating-badge-exp {
  position: absolute;
  top: 36%;
  left: -14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.45rem 0.75rem;
  border-radius: 0.95rem;
  box-shadow: 0 10px 24px -5px rgba(10, 30, 53, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(13, 148, 136, 0.2);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  z-index: 20;
  animation: statFloat 4.2s ease-in-out 2s infinite;
}

/* --------------------------------------------------------------------------
   5. MICRO-INTERACTIONS & MOTION DESIGN
   -------------------------------------------------------------------------- */
.card-hover-lift {
  transition: transform 0.28s cubic-bezier(0.2, 0, 0, 1), 
              box-shadow 0.28s cubic-bezier(0.2, 0, 0, 1), 
              border-color 0.28s ease;
}

.card-hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(13, 148, 136, 0.45);
}

/* Active Nav Link Indicator */
.nav-link {
  transition: all 0.22s cubic-bezier(0.2, 0, 0, 1);
  position: relative;
  font-size: 0.925rem;
  letter-spacing: -0.01em;
}

.nav-link:hover {
  background: rgba(240, 253, 250, 0.9);
  color: var(--teal-primary) !important;
  transform: translateY(-1px);
}

.nav-link.active {
  background: linear-gradient(135deg, #0D9488 0%, #0F766E 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
  font-weight: 800;
  transform: translateY(-1px);
}

/* Doctor Portrait Frame with Gradient Depth */
.doctor-portrait-frame {
  position: relative;
  border-radius: 1.75rem;
  padding: 0.75rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(145deg, #FFFFFF 0%, #F0FDFA 50%, #E2E8F0 100%);
  box-shadow: 0 20px 40px -12px rgba(10, 30, 53, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.doctor-portrait-inner {
  position: relative;
  aspect-ratio: 4 / 4.9;
  border-radius: 1.35rem;
  overflow: hidden;
  background: linear-gradient(180deg, #64748B 0%, #334155 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Pulse Animation for Live Consultation Badge */
.pulse-dot {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #10B981;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -2.5px;
  left: -2.5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #10B981;
  opacity: 0.75;
  animation: pulse-ring 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.9);
    opacity: 0.85;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Accordion Smooth Height Transition */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}

.accordion-content.open {
  max-height: 600px;
  opacity: 1;
}

/* Mobile Nav Drawer */
#mobileMenu {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}

#mobileMenu.closed {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

#mobileMenu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Floating WhatsApp Action Center */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 40;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.25s ease;
}

.whatsapp-floating-btn:hover {
  transform: translateY(-3px) scale(1.04);
}

/* Back to Top Floating Button */
.back-to-top-btn {
  position: fixed;
  bottom: 92px;
  right: 26px;
  z-index: 39;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.back-to-top-btn.hidden-btn {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.back-to-top-btn.visible-btn {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Interactive Filter Buttons */
.filter-btn {
  transition: all 0.22s cubic-bezier(0.2, 0, 0, 1);
}

.filter-btn.active {
  background-color: var(--navy-primary);
  color: #FFFFFF;
  border-color: var(--navy-primary);
  box-shadow: 0 4px 12px rgba(10, 30, 53, 0.2);
}

/* Hero Credential Authority Card (Clean, Professional & Compact) */
.hero-credential-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 0.85rem;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: all 0.2s ease;
}

.hero-credential-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.hero-credential-title {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .hero-credential-title {
    font-size: 0.935rem;
  }
}

.hero-credential-sub {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 0.775rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .hero-credential-sub {
    font-size: 0.825rem;
  }
}

/* ==========================================================================
   Animated Glowing Clinical Trust Metric Cards (2026 Trend)
   ========================================================================== */

@keyframes statFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes statGlowPulse {
  0%, 100% {
    opacity: 0.45;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.05);
  }
}

.stat-icon-float {
  animation: statFloat 3.6s ease-in-out infinite;
}

.stat-icon-float-delay-1 {
  animation: statFloat 3.6s ease-in-out 0.9s infinite;
}

.stat-icon-float-delay-2 {
  animation: statFloat 3.6s ease-in-out 1.8s infinite;
}

.stat-icon-float-delay-3 {
  animation: statFloat 3.6s ease-in-out 2.7s infinite;
}

.stat-glow-card {
  position: relative;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 1.25rem;
  padding: 1.25rem 1rem 1.15rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(226, 232, 240, 0.8);
}

.stat-glow-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 1.5rem;
  padding: 1.5px;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.stat-ambient-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  animation: statGlowPulse 4.2s ease-in-out infinite;
}

.stat-shimmer-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  opacity: 0.9;
}

/* Color Variant 1: Emerald / Teal (PROMPT USA) */
.stat-glow-teal {
  border: 1px solid rgba(13, 148, 136, 0.25);
}
.stat-glow-teal:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(13, 148, 136, 0.65);
  box-shadow: 0 22px 40px -10px rgba(13, 148, 136, 0.35), 0 0 24px 2px rgba(20, 184, 166, 0.25);
}
.stat-glow-teal .stat-ambient-glow {
  background: radial-gradient(circle at 50% 10%, rgba(20, 184, 166, 0.25) 0%, rgba(13, 148, 136, 0) 72%);
}

/* Color Variant 2: Indigo / Violet (Genetics Research) */
.stat-glow-indigo {
  border: 1px solid rgba(99, 102, 241, 0.25);
}
.stat-glow-indigo:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(99, 102, 241, 0.65);
  box-shadow: 0 22px 40px -10px rgba(99, 102, 241, 0.35), 0 0 24px 2px rgba(129, 140, 248, 0.25);
}
.stat-glow-indigo .stat-ambient-glow {
  background: radial-gradient(circle at 50% 10%, rgba(99, 102, 241, 0.25) 0%, rgba(99, 102, 241, 0) 72%);
}

/* Color Variant 3: Amber / Gold (University of Dhaka & CRP) */
.stat-glow-amber {
  border: 1px solid rgba(245, 158, 11, 0.28);
}
.stat-glow-amber:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(245, 158, 11, 0.65);
  box-shadow: 0 22px 40px -10px rgba(245, 158, 11, 0.35), 0 0 24px 2px rgba(251, 191, 36, 0.25);
}
.stat-glow-amber .stat-ambient-glow {
  background: radial-gradient(circle at 50% 10%, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0) 72%);
}

/* Color Variant 4: Azure / Cyan (SSLT National Board) */
.stat-glow-cyan {
  border: 1px solid rgba(14, 165, 233, 0.28);
}
.stat-glow-cyan:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(14, 165, 233, 0.65);
  box-shadow: 0 22px 40px -10px rgba(14, 165, 233, 0.35), 0 0 24px 2px rgba(56, 189, 248, 0.25);
}
.stat-glow-cyan .stat-ambient-glow {
  background: radial-gradient(circle at 50% 10%, rgba(14, 165, 233, 0.25) 0%, rgba(14, 165, 233, 0) 72%);
}

/* ==========================================================================
   Centered Interactive Scroll-Driven Neon Timeline
   ========================================================================== */

.timeline-spine-track {
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 3.5px;
  background: #E2E8F0;
  border-radius: 9999px;
  left: 20px;
}

@media (min-width: 768px) {
  .timeline-spine-track {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-spine-fill {
  position: absolute;
  top: 8px;
  width: 4px;
  height: 0%;
  border-radius: 9999px;
  background: linear-gradient(180deg, #0D9488 0%, #14B8A6 60%, #38BDF8 100%);
  box-shadow: 0 0 14px 2.5px rgba(13, 148, 136, 0.8), 
              0 0 28px 5px rgba(56, 189, 248, 0.5);
  left: 20px;
  will-change: height;
  transition: height 0.08s linear;
  z-index: 2;
}

@media (min-width: 768px) {
  .timeline-spine-fill {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-spine-head {
  position: absolute;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #38BDF8;
  border: 2.5px solid #FFFFFF;
  box-shadow: 0 0 14px 3px rgba(56, 189, 248, 0.95), 
              0 0 25px 6px rgba(13, 148, 136, 0.6);
  left: 20px;
  transform: translate(-5px, -50%);
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  transition: top 0.08s linear, opacity 0.25s ease;
}

@media (min-width: 768px) {
  .timeline-spine-head {
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

/* Timeline Milestone Item */
.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 50px;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .timeline-item {
    margin-bottom: 2.5rem;
    padding-left: 0;
    width: 50%;
  }

  .timeline-item-left {
    margin-right: auto;
    padding-right: 2.75rem;
  }

  .timeline-item-right {
    margin-left: auto;
    padding-left: 2.75rem;
  }
}

/* Node Dot on the Spine */
.timeline-dot-wrapper {
  position: absolute;
  top: 20px;
  left: 14px;
  width: 16px;
  height: 16px;
  z-index: 3;
}

@media (min-width: 768px) {
  .timeline-item-left .timeline-dot-wrapper {
    right: -8px;
    left: auto;
  }

  .timeline-item-right .timeline-dot-wrapper {
    left: -8px;
  }
}

.timeline-dot-inner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid #94A3B8;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item.neon-active .timeline-dot-inner {
  background: #0D9488;
  border-color: #14B8A6;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 1), 
              0 0 12px 3px rgba(13, 148, 136, 0.6);
  transform: scale(1.15);
}

.timeline-item.neon-current .timeline-dot-inner {
  background: #0D9488;
  border-color: #38BDF8;
  box-shadow: 0 0 0 3.5px rgba(255, 255, 255, 1), 
              0 0 20px 6px rgba(13, 148, 136, 0.9),
              0 0 30px rgba(56, 189, 248, 0.85);
  transform: scale(1.35);
}

/* Timeline Card */
.timeline-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid #E2E8F0;
  border-radius: 1.25rem;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 4px 15px -3px rgba(15, 23, 42, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s ease;
  position: relative;
  z-index: 1;
}

/* Card transform origins to expand outward from center spine */
.timeline-item-left .timeline-card {
  transform-origin: right center;
}

.timeline-item-right .timeline-card {
  transform-origin: left center;
}

@media (max-width: 767px) {
  .timeline-item-left .timeline-card,
  .timeline-item-right .timeline-card {
    transform-origin: left center;
  }
}

/* Passed Milestones: Soft persistent light */
.timeline-item.neon-active .timeline-card {
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: 0 6px 20px -4px rgba(13, 148, 136, 0.1), 0 0 10px rgba(13, 148, 136, 0.05);
}

/* Current Reached Milestone: Enlarged & Glowing in Primary Brand Color */
.timeline-item.neon-current .timeline-card {
  border-color: #0D9488;
  background: linear-gradient(135deg, #FFFFFF 0%, #F0FDFA 100%);
  transform: scale(1.035);
  box-shadow: 0 0 0 2.5px rgba(13, 148, 136, 0.35), 
              0 18px 36px -6px rgba(13, 148, 136, 0.24), 
              0 0 25px rgba(13, 148, 136, 0.18);
  z-index: 10;
}

@media (max-width: 767px) {
  .timeline-item.neon-current .timeline-card {
    transform: scale(1.025);
  }
}

.timeline-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px -5px rgba(13, 148, 136, 0.25), 0 0 15px rgba(13, 148, 136, 0.15);
  border-color: rgba(13, 148, 136, 0.7);
  z-index: 15;
}

/* Enhanced Form Inputs (Focus Rings & Ergonomics) */
input, select, textarea {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--teal-primary) !important;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.25) !important;
}

/* Tele-therapy & Consultation Cards Enhanced Styling */
.tele-card {
  border: 1px solid rgba(13, 148, 136, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 253, 250, 0.55) 100%);
  position: relative;
}

.home-card {
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.6) 100%);
  position: relative;
}

.payment-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 700;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.payment-chip:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08);
}

/* Premium Glassmorphic Appointment Card & Inputs */
.glass-appointment-card {
  background: radial-gradient(130% 130% at 50% -10%, rgba(13, 148, 136, 0.16) 0%, rgba(10, 30, 53, 0.94) 40%, rgba(7, 21, 36, 0.98) 100%);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 65px -15px rgba(0, 0, 0, 0.65), 
              0 0 0 1px rgba(255, 255, 255, 0.08),
              inset 0 1px 1px 0 rgba(255, 255, 255, 0.25);
  position: relative;
}

.glass-input-box {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
  color: #FFFFFF;
}

.glass-input-box:focus-within {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(20, 184, 166, 0.85);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.25), 0 4px 20px -2px rgba(13, 148, 136, 0.3);
}

.glass-input-box.input-error {
  border-color: rgba(244, 63, 94, 0.85) !important;
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.25) !important;
  animation: inputShake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.glass-input-box.input-success {
  border-color: rgba(16, 185, 129, 0.75) !important;
}

@keyframes inputShake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-3px, 0, 0); }
  40%, 60% { transform: translate3d(3px, 0, 0); }
}

/* Elite PROMPT USA Spotlight Card - Clean, Warm & Friendly Clinical Card */
.prompt-card {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0;
  border-radius: 1.75rem;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05), 0 20px 40px -15px rgba(13, 148, 136, 0.06);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.prompt-card:hover {
  border-color: rgba(13, 148, 136, 0.5);
  box-shadow: 0 15px 35px -10px rgba(13, 148, 136, 0.1), 0 25px 50px -15px rgba(15, 23, 42, 0.08);
}

.prompt-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #D97706 0%, #0D9488 50%, #2563EB 100%);
  pointer-events: none;
}

/* User-Friendly & Intuitive Appointment Form Styling */
.therapy-choice-card {
  border: 2px solid #E2E8F0;
  border-radius: 1.25rem;
  padding: 1.15rem 1.25rem;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  user-select: none;
  box-shadow: 0 2px 6px rgba(11, 30, 51, 0.03);
}

.therapy-choice-card:hover {
  border-color: #0D9488;
  background: #F0FDFA;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(13, 148, 136, 0.12);
}

.therapy-choice-card.active {
  border-color: #0D9488;
  background: linear-gradient(135deg, #F0FDFA 0%, #FFFFFF 100%);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.22), 0 12px 25px -4px rgba(13, 148, 136, 0.18);
}

.problem-chip {
  border: 2px solid #E2E8F0;
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  background: #FFFFFF;
  color: #1E293B;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.2, 0, 0, 1);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  user-select: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  width: 100%;
}

.problem-chip:hover {
  border-color: #0D9488;
  color: #0F766E;
  background: #F0FDFA;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.12);
}

.problem-chip.active {
  border-color: #0D9488;
  background: linear-gradient(135deg, #0D9488 0%, #0F766E 100%);
  color: #FFFFFF !important;
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.32);
  transform: translateY(-1px);
}

.problem-chip.active i {
  color: #CCFBF1 !important;
}

.slot-choice-chip {
  border: 2px solid #E2E8F0;
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  background: #FFFFFF;
  color: #1E293B;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  user-select: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.slot-choice-chip:hover {
  border-color: #0D9488;
  background: #F0FDFA;
  transform: translateY(-1px);
}

.slot-choice-chip.active {
  border-color: #0F172A;
  background: #0F172A;
  color: #FFFFFF;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.25);
}

.friendly-input {
  border: 2px solid #CBD5E1;
  background: #FFFFFF;
  border-radius: 1rem;
  padding: 0.9rem 1.1rem 0.9rem 3rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: #0F172A;
  transition: all 0.22s ease;
  width: 100%;
}

.friendly-input::placeholder {
  color: #94A3B8;
  font-weight: 400;
}

.friendly-input:focus {
  border-color: #0D9488;
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.18);
  outline: none;
}

.form-step-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #0D9488 0%, #0F766E 100%);
  color: #FFFFFF;
  font-size: 0.825rem;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.25);
  flex-shrink: 0;
}

.appointment-glass-card {
  background: #FFFFFF;
  border-radius: 2rem;
  box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(13, 148, 136, 0.12);
  position: relative;
  overflow: hidden;
}

/* ==========================================
   Dignified & Modern Footer Styles
   ========================================== */
.footer-gradient-bg {
  background: radial-gradient(ellipse at 50% 0%, rgba(13, 148, 136, 0.14) 0%, rgba(15, 23, 42, 0.98) 45%, #030712 100%);
}

.footer-top-glow {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(13, 148, 136, 0.5) 20%, #2dd4bf 50%, rgba(13, 148, 136, 0.5) 80%, transparent 100%);
}

.footer-link {
  color: #94a3b8;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link:hover {
  color: #2dd4bf;
  transform: translateX(4px);
}

.footer-link i {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-link:hover i {
  transform: translateX(2px);
  color: #2dd4bf;
}

/* ==========================================================================
   6. NATIVE MOBILE APP-LIKE RESPONSIVE EXPERIENCE
   ========================================================================== */

/* Universal Native App Touch Ergonomics */
* {
  -webkit-tap-highlight-color: transparent;
}

button, a, input, select, textarea, .therapy-choice-card, .problem-chip, .slot-choice-chip, .mobile-tab-item, .mobile-tab-action-wrapper {
  touch-action: manipulation;
}

/* Micro-Haptic Touch Press Feedback */
button:active, .filter-btn:active, .faq-filter-btn:active, .therapy-choice-card:active, .problem-chip:active, .slot-choice-chip:active {
  transform: scale(0.97);
  transition: transform 0.1s ease;
}

/* Hide Scrollbar for Horizontal Swipeable Pill Bars */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Fixed Bottom App Navigation Bar (Native Mobile Feel) */
.mobile-app-tab-bar {
  height: calc(62px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobile-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.5rem;
  color: #64748B;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
  text-decoration: none;
  min-width: 52px;
  position: relative;
  user-select: none;
}

.mobile-tab-item:active {
  transform: scale(0.92);
}

.mobile-tab-icon {
  font-size: 1.15rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-tab-label {
  font-size: 0.68rem;
  font-weight: 700;
  margin-top: 0.2rem;
  line-height: 1;
  letter-spacing: -0.01em;
}

/* Active Bottom Tab State with Indicator Pill */
.mobile-tab-item.active {
  color: #0D9488;
}

.mobile-tab-item.active .mobile-tab-icon {
  transform: translateY(-2px);
  color: #0D9488;
}

.mobile-tab-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  width: 20px;
  height: 3px;
  background: #0D9488;
  border-radius: 9999px;
  box-shadow: 0 1px 4px rgba(13, 148, 136, 0.4);
}

/* Center Elevated Action Tab (Book Appointment) */
.mobile-tab-action-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -1.35rem;
  position: relative;
  text-decoration: none;
  user-select: none;
}

.mobile-tab-action-wrapper:active {
  transform: scale(0.92);
}

.mobile-tab-action-btn {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #0D9488 0%, #0F766E 50%, #0A1E35 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px -2px rgba(13, 148, 136, 0.45), 0 0 0 4px #FFFFFF;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.2s ease;
}

.mobile-tab-action-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: #0F766E;
  margin-top: 0.2rem;
  line-height: 1;
}

/* Mobile Viewport Spacing & Safe-Area Adjustments */
@media (max-width: 1023px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }
  .whatsapp-floating-btn {
    bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
    right: 14px !important;
  }
  .back-to-top-btn {
    bottom: calc(130px + env(safe-area-inset-bottom, 0px)) !important;
    right: 16px !important;
  }
}

/* Prevent unwanted iOS auto-zoom when tapping inputs */
@media (max-width: 767px) {
  input, select, textarea, .friendly-input {
    font-size: 16px !important;
  }
}

/* Print Optimization */
@media print {
  header, footer, #appointmentForm, .whatsapp-floating-btn, .back-to-top-btn {
    display: none !important;
  }
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
  }
}
