/* ==========================================================================
   AROGYA MEDICARE - NABH COMPLIANT CLINICAL HEALTHCARE PLATFORM
   Medicare Color Palette • Ultra-Curvy Futuristic Design • Spotless Clean UI
   Zero Overflows • Strict Non-Wrapping Menus & Buttons
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  /* Official Medicare Palette */
  --navy-darkest: #001428;
  --navy-deep: #001c38;
  --navy-medicare: #002855;
  --navy-soft: #0a325c;
  --blue-primary: #005a9c;
  --blue-medicare: #0071bc;
  --blue-vibrant: #0284c7;
  
  /* Futuristic Cyans & Medical Teals */
  --cyan-medicare: #00a3c4;
  --cyan-bright: #00b4d8;
  --cyan-glow: #38bdf8;
  --teal-clinical: #00a896;
  --teal-mint: #02c39a;

  /* Clinical Whites & Ice Backgrounds */
  --bg-page: #f5f9fd;
  --bg-card: #ffffff;
  --bg-card-glass: rgba(255, 255, 255, 0.94);
  --bg-dark-glass: rgba(0, 24, 48, 0.92);
  --bg-ice: #edf5fb;
  --bg-ice-subtle: #f0f7fd;

  /* Typography */
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Curvatures */
  --radius-full: 9999px;
  --radius-curvy-xl: 36px;
  --radius-curvy-lg: 26px;
  --radius-curvy-md: 18px;
  --radius-curvy-sm: 12px;

  /* Shadows & Glows */
  --shadow-card: 0 14px 35px -10px rgba(0, 40, 85, 0.08);
  --shadow-hover: 0 22px 48px -10px rgba(0, 75, 135, 0.16);
  --shadow-dock: 0 16px 40px -10px rgba(0, 31, 63, 0.18);
  --shadow-pill: 0 12px 30px -8px rgba(0, 40, 85, 0.12);
  --glow-cyan-aura: 0 0 35px rgba(0, 180, 216, 0.28);
  --glow-button: 0 6px 20px rgba(0, 113, 188, 0.35);

  /* Accents & States */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-amber: #d97706;
  --text-primary: #002244;
  --text-muted: #4e6178;
  --text-soft: #70849b;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 8% 12%, rgba(0, 163, 196, 0.06) 0%, transparent 35%),
    radial-gradient(circle at 92% 35%, rgba(0, 113, 188, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 18% 75%, rgba(0, 168, 150, 0.05) 0%, transparent 35%);
  background-attachment: fixed;
}

/* Ambient Radial Glow Orbs */
.ambient-glow-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  opacity: 0.42;
  animation: floatMorph 20s infinite alternate ease-in-out;
}

.glow-orb-1 {
  width: 520px;
  height: 520px;
  top: -100px;
  left: -80px;
  background: radial-gradient(circle, var(--cyan-bright) 0%, rgba(0, 180, 216, 0) 70%);
}

.glow-orb-2 {
  width: 600px;
  height: 600px;
  top: 38%;
  right: -120px;
  background: radial-gradient(circle, var(--blue-vibrant) 0%, rgba(2, 132, 199, 0) 70%);
  animation-duration: 25s;
  animation-delay: -6s;
}

.glow-orb-3 {
  width: 480px;
  height: 480px;
  bottom: 6%;
  left: 8%;
  background: radial-gradient(circle, var(--teal-clinical) 0%, rgba(0, 168, 150, 0) 70%);
  animation-duration: 22s;
  animation-delay: -11s;
}

@keyframes floatMorph {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(45px, 35px) scale(1.06) rotate(60deg); }
  100% { transform: translate(-25px, 50px) scale(0.96) rotate(120deg); }
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy-medicare);
  line-height: 1.24;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
h4 { font-size: 1.18rem; }
p { color: var(--text-muted); font-size: 1.02rem; }

a { color: var(--blue-medicare); text-decoration: none; transition: all 0.22s ease; }
a:hover { color: var(--cyan-medicare); }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   TOP EMERGENCY & NABH ASSURANCE UTILITY STRIP
   ========================================================================== */
.emergency-top-bar {
  background: #00172e;
  color: #bae6fd;
  font-size: 0.8rem;
  padding: 0.4rem 1.25rem;
  position: relative;
  z-index: 60;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.emergency-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.emergency-bar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.emergency-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
}

.pulsing-green-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreenBeacon 2s infinite;
}

@keyframes pulseGreenBeacon {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.pulsing-red-beacon {
  width: 6px;
  height: 6px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulseBeacon 1.8s infinite;
}

.nabh-strip-tag {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  padding: 0.18rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.top-strip-text {
  font-size: 0.78rem;
  color: #7dd3fc;
  opacity: 0.88;
}

.top-strip-helpline {
  font-size: 0.78rem;
  color: #bae6fd;
}

.hotline-highlight {
  color: #38bdf8;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.hotline-highlight:hover {
  color: #ffffff;
}

.top-strip-emergency-btn {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  padding: 0.25rem 0.85rem;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
}

.top-strip-emergency-btn:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.5);
}

.top-provider-portal-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e0f2fe;
  border-radius: var(--radius-full);
  padding: 0.22rem 0.75rem;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.top-provider-portal-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   PLEASING FLOATING CURVY NAVBAR (BALANCED & SPOTLESS)
   ========================================================================== */
.curvy-header-wrapper {
  position: sticky;
  top: 0.75rem;
  z-index: 50;
  padding: 0 1.5rem;
  margin-bottom: 1.25rem;
}

.navbar-curvy-pill {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-full);
  box-shadow: 0 12px 36px rgba(0, 40, 85, 0.08), 0 2px 8px rgba(0, 113, 188, 0.04);
  padding: 0.42rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1280px;
  margin: 0 auto;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-curvy-pill.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 35px rgba(0, 43, 73, 0.12);
  padding: 0.38rem 1.35rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-symbol-curvy {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue-medicare), var(--cyan-medicare));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 163, 196, 0.3);
  flex-shrink: 0;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.24rem;
  color: var(--navy-medicare);
  line-height: 1.05;
}

.brand-title span {
  color: var(--cyan-medicare);
}

.brand-subtitle {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--teal-clinical);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Nav Menu Links */
.nav-menu-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-item-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-medicare);
  padding: 0.42rem 0.72rem;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-block;
}

.nav-item-link:hover, .nav-item-link.active {
  color: var(--blue-medicare);
  background: rgba(0, 113, 188, 0.08);
}

/* Nav Actions Dock */
.nav-actions-dock {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* Compact Search Field (Expandable) */
.nav-search-wrapper {
  position: relative;
  width: 135px;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-search-wrapper:focus-within {
  width: 195px;
}

.curvy-search-field {
  width: 100%;
  background: #f1f7fd;
  border: 1px solid rgba(0, 90, 156, 0.14);
  border-radius: var(--radius-full);
  padding: 0.42rem 0.75rem 0.42rem 1.85rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--navy-medicare);
  outline: none;
  transition: all 0.22s ease;
}

.curvy-search-field:focus {
  background: #ffffff;
  border-color: var(--cyan-medicare);
  box-shadow: 0 0 0 3px rgba(0, 163, 196, 0.18);
}

.search-icon-adornment {
  position: absolute;
  left: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

.search-autocomplete-box {
  display: none;
  position: absolute;
  top: 120%;
  right: 0;
  width: 320px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0, 31, 63, 0.18);
  border: 1px solid #e2e8f0;
  z-index: 100;
  max-height: 340px;
  overflow-y: auto;
}

/* Primary Hero Callout Pill */
.btn-curvy-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.54rem 1.3rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

.btn-pill-medicare {
  background: linear-gradient(135deg, var(--blue-medicare), var(--cyan-medicare));
  color: #ffffff;
  box-shadow: var(--glow-button);
}

.btn-pill-medicare:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 113, 188, 0.4);
  color: #ffffff;
}

.btn-pill-emergency {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}

.btn-pill-emergency:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.45);
  color: #ffffff;
}

.btn-pill-subtle {
  background: rgba(0, 90, 156, 0.07);
  color: var(--blue-medicare);
  border: 1.5px solid rgba(0, 90, 156, 0.14);
}

.btn-pill-subtle:hover {
  background: rgba(0, 90, 156, 0.12);
  border-color: var(--blue-medicare);
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
  color: var(--navy-medicare);
}

/* Mobile Navigation Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 20, 40, 0.65);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 320px;
  height: 100%;
  background: #ffffff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-stage-section {
  position: relative;
  padding: 2.8rem 0 4.5rem;
  overflow: hidden;
}

.hero-main-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(90deg, rgba(0, 113, 188, 0.08), rgba(0, 163, 196, 0.12));
  border: 1px solid rgba(0, 163, 196, 0.3);
  border-radius: var(--radius-full);
  padding: 0.35rem 1.15rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-medicare);
  white-space: nowrap;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--cyan-medicare);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 163, 196, 0.7);
  animation: pulseBeacon 2s infinite;
}

@keyframes pulseBeacon {
  0% { box-shadow: 0 0 0 0 rgba(0, 163, 196, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(0, 163, 196, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 163, 196, 0); }
}

.hero-main-title {
  margin-bottom: 1.15rem;
}

.gradient-medicare-text {
  background: linear-gradient(135deg, var(--navy-medicare) 15%, var(--blue-medicare) 55%, var(--cyan-medicare) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead-text {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 780px;
  margin-bottom: 2.2rem;
}

/* Quick Care Booking Dock - Clean Grid */
.quick-booking-dock-curvy {
  width: 100%;
  max-width: 960px;
  background: var(--bg-card);
  border: 2px solid rgba(0, 113, 188, 0.12);
  border-radius: var(--radius-curvy-xl);
  padding: 0.9rem 1.2rem;
  box-shadow: var(--shadow-dock), 0 0 35px rgba(0, 163, 196, 0.08);
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr auto;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 2.6rem;
}

.dock-field-wrap {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0.35rem 0.65rem;
  border-right: 1px solid #e2e8f0;
}

.dock-field-wrap:last-of-type {
  border-right: none;
}

.dock-field-wrap label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.curvy-select {
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--navy-medicare);
  outline: none;
  cursor: pointer;
  width: 100%;
}

.dock-btn-wrap {
  padding: 0 0.25rem;
  flex-shrink: 0;
}

/* Trust Proof Metrics Bar */
.trust-metrics-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 1.4rem 2rem;
  background: var(--bg-card-glass);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-card);
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  white-space: nowrap;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy-medicare);
  line-height: 1.1;
}

.metric-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   NABH CLINICAL STANDARDS ASSURANCE STRIP
   ========================================================================= */
.nabh-assurance-banner {
  background: linear-gradient(135deg, #f0fdf4, #e6f9f0);
  border: 1.5px solid rgba(16, 185, 129, 0.28);
  border-radius: var(--radius-curvy-lg);
  padding: 1.6rem 2.2rem;
  margin-bottom: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.08);
}

.nabh-banner-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nabh-gold-seal {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #059669, #10b981);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
  flex-shrink: 0;
}

.nabh-banner-text h4 {
  color: #064e3b;
  font-size: 1.12rem;
  margin-bottom: 0.2rem;
}

.nabh-banner-text p {
  color: #047857;
  font-size: 0.88rem;
  margin: 0;
}

.nabh-checklist-horizontal {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  list-style: none;
}

.nabh-checklist-horizontal li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #065f46;
  white-space: nowrap;
}

/* ==========================================================================
   CURVY SVG WAVE DIVIDERS
   ========================================================================== */
.curvy-wave-divider {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  z-index: 10;
}

.curvy-wave-divider svg {
  display: block;
  width: 100%;
  height: 85px;
}

.curvy-wave-divider.wave-flip svg {
  transform: rotate(180deg);
}

/* ==========================================================================
   SECTION COMMON LAYOUTS
   ========================================================================== */
.section-wrapper {
  padding: 5.5rem 0;
  position: relative;
}

.section-wrapper.bg-subtle {
  background: linear-gradient(180deg, #edf5fc 0%, #f7fbfe 100%);
}

.section-wrapper.bg-navy-dark {
  background: linear-gradient(165deg, var(--navy-darkest) 0%, var(--navy-medicare) 65%, #001830 100%);
  color: #ffffff;
}

.section-wrapper.bg-navy-dark h2,
.section-wrapper.bg-navy-dark h3,
.section-wrapper.bg-navy-dark h4 {
  color: #ffffff;
}

.section-wrapper.bg-navy-dark p {
  color: #cbd5e1;
}

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

.section-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 113, 188, 0.08);
  border: 1px solid rgba(0, 113, 188, 0.22);
  color: var(--blue-medicare);
  border-radius: var(--radius-full);
  padding: 0.32rem 1.05rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  white-space: nowrap;
}

.section-wrapper.bg-navy-dark .section-badge-pill {
  background: rgba(0, 180, 216, 0.15);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.section-title {
  margin-bottom: 0.8rem;
}

.section-description {
  font-size: 1.12rem;
  line-height: 1.6;
}

/* ==========================================================================
   SERVICES GRID & FILTER TABS
   ========================================================================== */
.services-filter-dock {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-tab-pill {
  background: var(--bg-card);
  border: 1.5px solid rgba(0, 90, 156, 0.12);
  border-radius: var(--radius-full);
  padding: 0.58rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-medicare);
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 43, 73, 0.03);
}

.filter-tab-pill:hover {
  border-color: var(--cyan-medicare);
  color: var(--blue-medicare);
}

.filter-tab-pill.active {
  background: linear-gradient(135deg, var(--navy-medicare), var(--blue-medicare));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(0, 90, 156, 0.25);
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.8rem;
}

.service-curvy-card {
  background: var(--bg-card);
  border: 1.5px solid rgba(0, 90, 156, 0.09);
  border-radius: var(--radius-curvy-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-curvy-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 163, 196, 0.35);
}

.service-card-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}

.service-category-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--blue-medicare);
  background: rgba(0, 113, 188, 0.08);
  padding: 0.22rem 0.7rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.service-rating-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-medicare);
  white-space: nowrap;
}

.service-curvy-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--navy-medicare);
}

.service-price-row {
  margin: 0.6rem 0 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  white-space: nowrap;
}

.service-price-num {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--blue-medicare);
}

.service-price-unit {
  font-size: 0.82rem;
  color: var(--text-soft);
}

.service-checklist-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-checklist-features li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.check-cyan-icon {
  color: var(--cyan-medicare);
  font-weight: 800;
  flex-shrink: 0;
}

.service-card-actions {
  padding-top: 1.1rem;
  border-top: 1px solid #f1f5f9;
}

/* ==========================================================================
   EQUIPMENT HUB & TOGGLE SWITCH
   ========================================================================== */
.equipment-stage-card {
  background: var(--bg-card);
  border-radius: var(--radius-curvy-xl);
  border: 1.5px solid rgba(0, 90, 156, 0.1);
  padding: 2.8rem;
  box-shadow: var(--shadow-dock);
}

.toggle-switch-dock {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.toggle-btn-curvy {
  background: var(--bg-ice-subtle);
  border: 1.5px solid rgba(0, 90, 156, 0.15);
  border-radius: var(--radius-full);
  padding: 0.6rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-medicare);
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.toggle-btn-curvy.active {
  background: var(--blue-medicare);
  color: white;
  border-color: var(--blue-medicare);
  box-shadow: 0 4px 16px rgba(0, 113, 188, 0.28);
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}

.equipment-item-card {
  background: #f8fbfe;
  border: 1px solid rgba(0, 90, 156, 0.1);
  border-radius: var(--radius-curvy-md);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.equipment-item-card:hover {
  background: #ffffff;
  border-color: var(--cyan-medicare);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.eq-badge {
  background: #dbeafe;
  color: var(--blue-medicare);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 0.75rem;
  white-space: nowrap;
}

.equipment-item-card h4 {
  font-size: 1.12rem;
  margin-bottom: 0.35rem;
  color: var(--navy-medicare);
}

.eq-price-tag {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue-medicare);
  margin: 0.35rem 0 0.9rem;
  white-space: nowrap;
}

.shiprocket-guarantee-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: var(--teal-clinical);
  font-weight: 700;
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e2e8f0;
  white-space: nowrap;
}

/* ==========================================================================
   SUPPORTED SENIOR OUTINGS
   ========================================================================== */
.outings-featured-box {
  background: linear-gradient(135deg, #002855, #001830);
  border-radius: var(--radius-curvy-xl);
  border: 1.5px solid rgba(0, 180, 216, 0.25);
  padding: 3.2rem;
  color: white;
  box-shadow: var(--shadow-dock), var(--glow-cyan-aura);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.outings-cards-mini {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.outing-card-row {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-curvy-md);
  padding: 1.1rem 1.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
  transition: all 0.22s ease;
}

.outing-card-row:hover {
  background: rgba(0, 180, 216, 0.16);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateX(4px);
}

.outing-row-info h5 {
  color: white;
  font-size: 1.02rem;
  margin-bottom: 0.2rem;
}

.outing-row-info p {
  color: #bae6fd;
  font-size: 0.8rem;
  margin: 0 0 0.25rem;
}

/* ==========================================================================
   INTERACTIVE CARE COST ESTIMATOR
   ========================================================================== */
.estimator-wrapper-card {
  background: var(--bg-card);
  border-radius: var(--radius-curvy-xl);
  border: 2px solid rgba(0, 90, 156, 0.12);
  padding: 3rem;
  box-shadow: var(--shadow-dock);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: center;
}

.slider-container-box {
  margin: 1.6rem 0;
  background: #f1f7fd;
  border-radius: var(--radius-curvy-md);
  padding: 1.4rem;
  border: 1px solid rgba(0, 90, 156, 0.1);
}

.slider-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  white-space: nowrap;
}

.days-count-display {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--blue-medicare);
}

.curvy-slider {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  background: #cbd5e1;
  border-radius: var(--radius-full);
  outline: none;
}

.curvy-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-medicare), var(--cyan-medicare));
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 113, 188, 0.4);
  border: 3px solid #ffffff;
}

.addon-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.addon-check-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-curvy-sm);
  padding: 0.8rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.addon-check-label:hover {
  background: #ffffff;
  border-color: var(--cyan-medicare);
}

.addon-check-label input[type="checkbox"] {
  accent-color: var(--cyan-medicare);
  width: 17px;
  height: 17px;
}

/* Estimator Live Output Math Card */
.estimator-math-card {
  background: linear-gradient(145deg, var(--navy-medicare), var(--navy-darkest));
  border-radius: var(--radius-curvy-lg);
  border: 1.5px solid rgba(56, 189, 248, 0.32);
  padding: 2rem;
  color: white;
  box-shadow: var(--shadow-card), var(--glow-cyan-aura);
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
  color: #cbd5e1;
  white-space: nowrap;
}

.calc-breakdown-row.discount-row {
  color: #10b981;
  font-weight: 700;
}

.total-estimate-box {
  background: rgba(0, 180, 216, 0.14);
  border-radius: var(--radius-curvy-sm);
  padding: 1.1rem;
  margin-top: 1.4rem;
  text-align: center;
}

.total-estimate-figure {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: #38bdf8;
  line-height: 1.1;
  white-space: nowrap;
}

/* ==========================================
   SMARTPHONE APP SHOWCASE
   ========================================== */
.device-app-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.2rem;
  align-items: center;
}

.smartphone-outer-frame {
  width: 310px;
  height: 620px;
  background: #090d16;
  border-radius: 46px;
  border: 8px solid #1e293b;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1), var(--glow-cyan-aura);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-island-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 105px;
  height: 22px;
  background: #000000;
  border-radius: var(--radius-full);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
}

.phone-lens { width: 7px; height: 7px; border-radius: 50%; background: #111e38; }
.phone-speaker-slot { width: 38px; height: 3px; border-radius: 2px; background: #1e293b; }

.phone-live-screen {
  flex: 1;
  background: #f8fafc;
  padding: 2.6rem 1rem 1.4rem;
  overflow-y: auto;
  color: var(--text-primary);
}

.phone-live-screen::-webkit-scrollbar { display: none; }

/* ==========================================
   PATIENT TESTIMONIALS
   ========================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.8rem;
}

.testimonial-curvy-card {
  background: var(--bg-card);
  border-radius: var(--radius-curvy-lg);
  border: 1.5px solid rgba(0, 90, 156, 0.08);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars-row {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}

.testimonial-comment {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.3rem;
  font-style: italic;
}

.testimonial-author-meta h5 {
  font-size: 1.02rem;
  color: var(--navy-medicare);
}

.testimonial-author-meta span {
  font-size: 0.76rem;
  color: var(--text-soft);
}

/* ==========================================
   MODALS (HTML Living Standard <dialog>)
   ========================================== */
dialog.curvy-dialog-modal {
  margin: auto;
  border: none;
  border-radius: var(--radius-curvy-xl);
  background: var(--bg-card);
  box-shadow: 0 30px 85px rgba(0, 20, 45, 0.4), 0 0 40px rgba(0, 113, 188, 0.18);
  width: 92%;
  max-width: 580px;
  padding: 0;
  overflow: hidden;
  border: 1.5px solid rgba(0, 90, 156, 0.14);
}

dialog.curvy-dialog-modal::backdrop {
  background: rgba(0, 20, 40, 0.7);
  backdrop-filter: blur(8px);
}

.dialog-header {
  background: linear-gradient(135deg, var(--navy-medicare), var(--blue-medicare));
  color: white;
  padding: 1.3rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dialog-header h4 {
  color: white;
}

.dialog-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.dialog-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.dialog-body-content {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-label-curvy {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.3rem;
  display: block;
}

.form-input-curvy {
  width: 100%;
  background: #f1f7fd;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-full);
  padding: 0.7rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--navy-medicare);
  outline: none;
  transition: all 0.22s ease;
}

.form-input-curvy:focus {
  border-color: var(--cyan-medicare);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 163, 196, 0.25);
}

/* ==========================================
   24/7 FLOATING EMERGENCY QUICK CALLOUT PILL
   ========================================== */
.floating-emergency-pill {
  position: fixed;
  bottom: 1.8rem;
  left: 1.8rem;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  padding: 0.75rem 1.4rem;
  box-shadow: 0 10px 28px rgba(239, 68, 68, 0.45);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 100;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  animation: pulseFab 2.8s infinite;
}

@keyframes pulseFab {
  0% { box-shadow: 0 10px 28px rgba(239, 68, 68, 0.45), 0 0 0 0 rgba(239, 68, 68, 0.5); }
  70% { box-shadow: 0 10px 28px rgba(239, 68, 68, 0.45), 0 0 0 12px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 10px 28px rgba(239, 68, 68, 0.45), 0 0 0 0 rgba(239, 68, 68, 0); }
}

.floating-emergency-pill:hover {
  transform: translateY(-2px) scale(1.03);
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  box-shadow: 0 14px 35px rgba(239, 68, 68, 0.55);
}

/* Toast Notification */
.curvy-toast-alert {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  background: var(--navy-medicare);
  color: white;
  border: 1.5px solid var(--cyan-bright);
  border-radius: var(--radius-full);
  padding: 0.8rem 1.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), var(--glow-cyan-aura);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1000;
  font-weight: 600;
  font-size: 0.92rem;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.curvy-toast-alert.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================
   SPOTLESS CURVY FOOTER
   ========================================== */
.footer-curvy-stage {
  background: var(--navy-darkest);
  color: #cbd5e1;
  padding: 4.8rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.8rem;
  margin-bottom: 3.2rem;
}

.footer-col h5 {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
  white-space: nowrap;
}

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

.footer-links-list a {
  color: #94a3b8;
  font-size: 0.9rem;
  white-space: nowrap;
}

.footer-links-list a:hover {
  color: var(--cyan-bright);
  transform: translateX(4px);
  display: inline-block;
}

.footer-bottom-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.84rem;
  color: #64748b;
}

/* Responsive Rules & No-Wrap Protection */
@media (max-width: 1100px) {
  .nav-menu-list {
    display: none;
  }
  .mobile-nav-toggle-btn {
    display: block;
  }
  .quick-booking-dock-curvy {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .dock-field-wrap {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.6rem;
  }
  .dock-btn-wrap {
    grid-column: span 2;
  }
  .dock-btn-wrap button {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .estimator-wrapper-card, .outings-featured-box, .device-app-showcase-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.2rem;
  }
  .footer-columns-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .emergency-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .emergency-bar-left, .emergency-bar-right {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .quick-booking-dock-curvy {
    grid-template-columns: 1fr;
  }
  .dock-btn-wrap {
    grid-column: span 1;
  }
  .trust-metrics-strip {
    gap: 1.4rem;
  }
  .footer-columns-grid {
    grid-template-columns: 1fr;
  }
  .floating-emergency-pill {
    bottom: 1rem;
    left: 1rem;
    padding: 0.55rem 1rem;
    font-size: 0.78rem;
  }
  .nabh-assurance-banner {
    padding: 1.4rem;
  }
}
