/* ==========================================================================
   LIFECARE MULTI-SPECIALITY HOSPITAL — OFFICIAL STYLESHEET
   Crafted by Nothing Media — Ahilyanagar
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Brand Palette */
  --primary: #0F6CBD;
  --primary-dark: #0A4C84;
  --primary-light: #2B88D8;
  --primary-rgb: 15, 108, 189;
  
  --secondary: #EAF5FF;
  --secondary-hover: #D6ECFF;
  
  --accent: #22C55E;
  --accent-dark: #16A34A;
  --accent-rgb: 34, 197, 94;

  --emergency-red: #EF4444;
  --emergency-dark: #DC2626;
  --emergency-rgb: 239, 68, 68;

  /* Neutral Spectrum */
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  --bg-white: #FFFFFF;
  --bg-soft-blue: #F4F9FD;
  --bg-alt: #F8FAFC;
  --border-light: #E2E8F0;
  --border-subtle: rgba(15, 108, 189, 0.12);

  /* Shadows & Glows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(15, 108, 189, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 16px 36px -6px rgba(15, 108, 189, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 22px 45px -8px rgba(15, 108, 189, 0.18), 0 6px 16px -3px rgba(0, 0, 0, 0.06);
  --shadow-red-glow: 0 8px 25px rgba(239, 68, 68, 0.35);

  /* Typography */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing & Transitions */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.65;
  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: color var(--transition-fast);
}

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

button {
  cursor: pointer;
  background: none;
}

ul, ol {
  list-style: none;
}

/* --- Common Layout & Utilities --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-padding {
  padding-top: 96px;
  padding-bottom: 96px;
}

.bg-soft-blue {
  background-color: var(--bg-soft-blue);
}

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

.text-red {
  color: var(--emergency-red) !important;
}

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

.section-header-centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px auto;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--secondary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.highlight-text {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, #1D4ED8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Icon Helpers */
.icon-inline {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  vertical-align: middle;
}

.icon-sm {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* --- Buttons System --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(var(--primary-rgb), 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

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

.btn-outline:hover {
  background: var(--secondary);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-emergency {
  position: relative;
  background: linear-gradient(135deg, var(--emergency-red) 0%, var(--emergency-dark) 100%);
  color: var(--bg-white);
  box-shadow: var(--shadow-red-glow);
}

.btn-emergency:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(var(--emergency-rgb), 0.5);
}

.btn-white-glass {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark);
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.btn-white-glass:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-call-now {
  background: #FFFFFF;
  color: var(--emergency-red);
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-call-now:hover {
  background: #FFF1F2;
  color: var(--emergency-dark);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.02rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary);
  font-size: 0.92rem;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.btn-text-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.btn-text-link:hover {
  color: var(--primary-dark);
}

.btn-text-link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  background: #FFFFFF;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
}

.heartbeat-loader {
  width: 140px;
  height: 50px;
  margin: 0 auto 16px auto;
}

.ecg-wave {
  width: 100%;
  height: 100%;
}

.ecg-wave path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: ecgStroke 1.6s infinite ease-in-out;
}

@keyframes ecgStroke {
  0% { stroke-dashoffset: 200; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -200; }
}

.preloader-text .hospital-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.preloader-text .sub-text {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 2px;
}

/* ==========================================================================
   TOP EMERGENCY & NOTICE BAR
   ========================================================================== */
.top-bar {
  background: #0B1E38;
  color: #DDEAF8;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.emergency-hotline {
  color: #FFFFFF;
}

.emergency-hotline .label {
  color: #FDA4AF;
  font-weight: 600;
}

.emergency-hotline .phone-link {
  color: #FFFFFF;
  font-weight: 700;
}

.emergency-hotline .phone-link:hover {
  color: #F87171;
}

.pulsing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emergency-red);
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulseBeacon 1.8s infinite;
}

@keyframes pulseBeacon {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.divider {
  color: rgba(255, 255, 255, 0.3);
}

.toll-free-badge {
  background: rgba(34, 197, 94, 0.2);
  color: #4ADE80;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(15, 108, 189, 0.35);
  color: #93C5FD;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

/* ==========================================================================
   STICKY NAVIGATION
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.brand-logo:hover .logo-mark {
  transform: scale(1.05);
}

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

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.brand-subtitle {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.5px;
}

/* Navigation Menu */
.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.emergency-quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF1F2;
  color: var(--emergency-red);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid #FECDD3;
  transition: all var(--transition-fast);
}

.emergency-quick-pill:hover {
  background: var(--emergency-red);
  color: #FFFFFF;
  border-color: var(--emergency-red);
}

.pulse-beacon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emergency-red);
  animation: pulseBeacon 1.6s infinite;
}

.emergency-quick-pill:hover .pulse-beacon {
  background: #FFFFFF;
}

.btn-nav-cta {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  padding: 0;
}

.hamburger-bar {
  width: 100%;
  height: 2.5px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  padding: 60px 0 80px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F7FF 100%);
  overflow: hidden;
}

.hero-background-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.hero-background-shapes .shape-1 {
  width: 480px;
  height: 480px;
  background: rgba(15, 108, 189, 0.08);
  top: -80px;
  right: -80px;
}

.hero-background-shapes .shape-2 {
  width: 350px;
  height: 350px;
  background: rgba(34, 197, 94, 0.06);
  bottom: 20px;
  left: -50px;
}

.hero-background-shapes .shape-3 {
  width: 250px;
  height: 250px;
  background: rgba(15, 108, 189, 0.05);
  top: 40%;
  left: 30%;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}

/* Hero Content */
.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 108, 189, 0.08);
  border: 1px solid rgba(15, 108, 189, 0.18);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero-trust-badge .badge-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
}

.hero-trust-badge .badge-icon svg {
  width: 100%;
  height: 100%;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 26px;
}

.hero-key-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.hero-feature-pill svg {
  width: 16px;
  height: 16px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.hero-emergency-notice {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-light);
  padding: 10px 18px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.notice-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFF1F2;
  color: var(--emergency-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.notice-icon svg {
  width: 20px;
  height: 20px;
}

.notice-info {
  display: flex;
  flex-direction: column;
}

.notice-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.notice-phone {
  font-size: 1.15rem;
  color: var(--primary);
  font-family: var(--font-heading);
}

.notice-badge {
  background: #DCFCE7;
  color: #15803D;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

/* Hero Visual & Floating Cards */
.hero-visual-wrapper {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}

.hero-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFFFFF;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, transparent 65%, rgba(11, 30, 56, 0.35) 100%);
  pointer-events: none;
}

/* Floating Glass Cards */
.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  transition: transform var(--transition-base);
  animation: floatCardAnim 4s ease-in-out infinite alternate;
}

.hero-float-card:hover {
  transform: translateY(-4px) scale(1.02);
}

@keyframes floatCardAnim {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.card-emergency {
  top: 24px;
  left: -28px;
  animation-delay: 0.2s;
}

.card-rating {
  bottom: -22px;
  left: 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  animation-delay: 1.2s;
}

.card-specialists {
  top: 55%;
  right: -24px;
  animation-delay: 0.7s;
}

.float-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-icon-box svg {
  width: 22px;
  height: 22px;
}

.bg-red {
  background: #FEE2E2;
  color: var(--emergency-red);
}

.bg-blue {
  background: #E0F2FE;
  color: var(--primary);
}

.float-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.float-text span {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #F59E0B;
}

.rating-stars .star {
  font-size: 1rem;
}

.rating-stars .score {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-left: 6px;
}

/* ==========================================================================
   STATS COUNTER SECTION
   ========================================================================== */
.stats-section {
  position: relative;
  margin-top: -36px;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(var(--primary-rgb), 0.25);
}

.stat-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.bg-blue-light { background: #E0F2FE; }
.bg-green-light { background: #DCFCE7; }
.bg-red-light { background: #FEE2E2; }
.bg-indigo-light { background: #EDE9FE; }

.stat-counter-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-counter, .stat-counter-text {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 4px;
}

.stat-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

/* ==========================================================================
   ABOUT HOSPITAL SECTION
   ========================================================================== */
.about-intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 70px;
}

.about-visual-cluster {
  position: relative;
}

.main-about-img-box {
  width: 88%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFFFFF;
}

.about-img-main {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.main-about-img-box:hover .about-img-main {
  transform: scale(1.03);
}

.secondary-about-img-box {
  position: absolute;
  right: 0;
  bottom: -30px;
  width: 52%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 4px solid #FFFFFF;
}

.about-img-sub {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.experience-badge-float {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--primary);
  color: #FFFFFF;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 160px;
}

.experience-badge-float .badge-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge-float .badge-lbl {
  display: block;
  font-size: 0.74rem;
  line-height: 1.3;
  margin-top: 4px;
}

.section-subtext {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.about-highlights-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 32px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-soft-blue);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary);
}

.highlight-item .hl-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.highlight-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.highlight-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.about-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* 6 Feature Cards */
.about-features-container {
  margin-top: 30px;
}

.subsection-title {
  font-size: 1.85rem;
  margin-bottom: 10px;
}

.subsection-desc {
  font-size: 1rem;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(var(--primary-rgb), 0.2);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.bg-blue-tint { background: #EAF5FF; }
.bg-cyan-tint { background: #E0F2FE; }
.bg-red-tint { background: #FEE2E2; }
.bg-emerald-tint { background: #DCFCE7; }
.bg-amber-tint { background: #FEF3C7; }
.bg-purple-tint { background: #F3E8FF; }
.bg-pink-tint { background: #FCE7F3; }
.bg-indigo-tint { background: #EDE9FE; }

.feature-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.feature-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   DEPARTMENTS SECTION
   ========================================================================== */
.departments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.dept-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
}

.dept-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(var(--primary-rgb), 0.25);
}

.dept-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.dept-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dept-icon-box svg {
  width: 24px;
  height: 24px;
}

.dept-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--secondary);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.dept-name {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.dept-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.dept-points {
  margin-bottom: 20px;
  border-top: 1px dashed var(--border-light);
  padding-top: 14px;
}

.dept-points li {
  font-size: 0.8rem;
  color: var(--text-body);
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
}

.dept-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.dept-footer {
  margin-top: auto;
}

/* ==========================================================================
   DOCTORS SECTION
   ========================================================================== */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.doctor-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(var(--primary-rgb), 0.25);
}

.doc-image-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  background-color: #E2E8F0;
  overflow: hidden;
}

.doc-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-smooth);
}

.doctor-card:hover .doc-photo {
  transform: scale(1.05);
}

.doc-badge-exp {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 30, 56, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.doc-rating-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.doc-rating-pill span {
  color: #F59E0B;
  font-weight: 700;
}

.doc-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doc-name {
  font-size: 1.18rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.doc-spec {
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 4px;
}

.doc-qualification {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.doc-schedule {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.79rem;
  color: var(--text-body);
  background: var(--bg-soft-blue);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.doc-schedule svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
  flex-shrink: 0;
}

.doc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.doc-tags .tag {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.book-doctor-btn {
  margin-top: auto;
  font-size: 0.88rem;
  padding: 10px;
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.why-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(var(--primary-rgb), 0.25);
}

.why-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-icon-box svg {
  width: 28px;
  height: 28px;
}

.why-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.why-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   APPOINTMENT SECTION
   ========================================================================== */
.appointment-wrapper {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 50px;
  align-items: flex-start;
}

.appointment-main-title {
  font-size: 2.3rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.appointment-side-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 30px;
}

.appointment-perks-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 34px;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.perk-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #DCFCE7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.perk-icon svg {
  width: 16px;
  height: 16px;
}

.perk-item strong {
  display: block;
  font-size: 0.98rem;
  color: var(--text-dark);
}

.perk-item p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.emergency-help-card {
  background: linear-gradient(135deg, #0B1E38 0%, #1E3A8A 100%);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.help-card-inner {
  display: flex;
  align-items: center;
  gap: 18px;
}

.help-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.25);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #F87171;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.help-icon svg {
  width: 24px;
  height: 24px;
}

.help-tag {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: #93C5FD;
  font-weight: 600;
  letter-spacing: 0.8px;
}

.help-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.help-number:hover {
  color: #FDA4AF;
}

.help-sub {
  display: block;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Appointment Form Card */
.appointment-form-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 38px 34px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.form-card-header {
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}

.form-card-header h3 {
  font-size: 1.45rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.form-card-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.required {
  color: var(--emergency-red);
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--text-light);
  pointer-events: none;
}

.input-prefix {
  position: absolute;
  left: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  pointer-events: none;
}

.form-control {
  width: 100%;
  padding: 12px 14px 12px 42px;
  background-color: var(--bg-alt);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.form-control.input-has-prefix {
  padding-left: 48px;
}

.form-control:focus {
  background-color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

textarea.form-control {
  padding-left: 14px;
  resize: vertical;
  min-height: 80px;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select.form-control {
  appearance: none;
  -webkit-appearance: none;
  padding-left: 14px;
  padding-right: 36px;
  cursor: pointer;
}

.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

.error-msg {
  display: none;
  font-size: 0.78rem;
  color: var(--emergency-red);
  margin-top: 4px;
}

.has-error .form-control {
  border-color: var(--emergency-red) !important;
  background-color: #FFF5F5;
}

.has-error .error-msg {
  display: block;
}

.form-guarantee-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

/* Spinner inside button */
.btn-loader {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.spinner {
  animation: rotate 2s linear infinite;
  width: 18px;
  height: 18px;
}

.spinner .path {
  stroke: #FFFFFF;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

@keyframes dash {
  0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
  50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
  100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testimonial-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(var(--primary-rgb), 0.25);
}

.testimonial-rating {
  color: #F59E0B;
  font-size: 1.15rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.68;
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
}

.patient-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.patient-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
  flex-shrink: 0;
}

.patient-name {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.patient-treatment {
  display: block;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}

.patient-city {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ==========================================================================
   EMERGENCY CTA BANNER
   ========================================================================== */
.emergency-cta-section {
  padding: 30px 0;
}

.emergency-banner-box {
  position: relative;
  background: linear-gradient(135deg, #0F6CBD 0%, #064377 100%);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  color: #FFFFFF;
  text-align: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.banner-siren-ring {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.banner-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.25);
  border: 1px solid rgba(254, 202, 202, 0.4);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: #FEE2E2;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.banner-headline {
  font-size: 2.7rem;
  color: #FFFFFF;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}

.banner-subheadline {
  font-size: 1.1rem;
  color: #E0F2FE;
  line-height: 1.65;
  margin-bottom: 28px;
}

.banner-phone-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.banner-phone-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  color: #BAE6FD;
  letter-spacing: 1.2px;
  font-weight: 600;
  margin-bottom: 4px;
}

.banner-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: #FFFFFF;
  transition: transform var(--transition-fast);
}

.banner-phone-link svg {
  width: 32px;
  height: 32px;
  color: #F87171;
}

.banner-phone-link:hover {
  transform: scale(1.04);
  color: #FEF08A;
}

.banner-buttons-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 46px;
}

.contact-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  text-align: center;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(var(--primary-rgb), 0.25);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
}

.contact-card-title {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.contact-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-item-link {
  font-size: 0.9rem;
  color: var(--primary);
}

.contact-item-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.chat-availability {
  font-size: 0.72rem;
  color: var(--accent-dark);
  font-weight: 600;
}

.contact-address {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* Map Wrapper */
.map-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.map-container {
  position: relative;
  height: 420px;
  width: 100%;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  filter: contrast(1.02);
}

.map-overlay-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 480px;
}

.badge-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-header strong {
  display: block;
  font-size: 0.94rem;
  color: var(--text-dark);
}

.badge-header span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: #071527;
  color: #CBD5E1;
  padding-top: 76px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer-logo {
  margin-bottom: 18px;
}

.footer-logo .brand-title {
  color: #FFFFFF;
}

.footer-logo .brand-subtitle {
  color: #93C5FD;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #E2E8F0;
  margin-bottom: 12px;
}

.footer-about-text {
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 22px;
}

.footer-social-links {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E2E8F0;
  transition: all var(--transition-fast);
}

.social-icon svg {
  width: 17px;
  height: 17px;
}

.social-icon:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 1.08rem;
  color: #FFFFFF;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  font-size: 0.88rem;
  color: #94A3B8;
  transition: all var(--transition-fast);
}

.footer-menu a:hover {
  color: #FFFFFF;
  padding-left: 5px;
}

.footer-emergency-text {
  font-size: 0.85rem;
  color: #94A3B8;
  margin-bottom: 18px;
}

.footer-emergency-box {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.emergency-icon-ring {
  font-size: 1.6rem;
}

.emergency-label {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  color: #FECDD3;
  font-weight: 600;
}

.emergency-big-number {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 800;
  color: #FFFFFF;
}

.emergency-big-number:hover {
  color: #FDA4AF;
}

.footer-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.accreditation-pill {
  background: rgba(255, 255, 255, 0.08);
  color: #BAE6FD;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Footer Bottom Bar */
.footer-bottom {
  background: #040D1A;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.84rem;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.copyright-text {
  color: #94A3B8;
}

.demo-attribution {
  color: #F8FAFC;
  background: rgba(15, 108, 189, 0.25);
  border: 1px solid rgba(15, 108, 189, 0.5);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 500;
}

.demo-attribution strong {
  color: #38BDF8;
}

/* ==========================================================================
   MODALS (SUCCESS & EMERGENCY)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 24, 43, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  width: 100%;
  max-width: 520px;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-card {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.8rem;
  color: var(--text-light);
  line-height: 1;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-dark);
}

.modal-title {
  font-size: 1.6rem;
  margin-top: 14px;
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 22px;
}

/* Animated Checkmark */
.success-checkmark-wrapper {
  width: 72px;
  height: 72px;
  margin: 0 auto;
}

.checkmark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: block;
  stroke-width: 3;
  stroke: var(--accent);
  stroke-miterlimit: 10;
  box-shadow: inset 0 0 0 var(--accent);
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke-miterlimit: 10;
  stroke: var(--accent);
  fill: none;
  animation: stroke .6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke .3s cubic-bezier(0.65, 0, 0.45, 1) .8s forwards;
}

@keyframes stroke {
  100% { stroke-dashoffset: 0; }
}
@keyframes scale {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}
@keyframes fill {
  100% { box-shadow: inset 0 0 0 40px rgba(34, 197, 94, 0.1); }
}

/* Receipt Card */
.appointment-receipt {
  background: var(--bg-soft-blue);
  border: 1.5px dashed rgba(15, 108, 189, 0.3);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-align: left;
  margin-bottom: 24px;
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.receipt-hospital {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary);
}

.receipt-token {
  font-size: 0.8rem;
  font-weight: 700;
  background: #FFFFFF;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
}

.receipt-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.rc-label {
  color: var(--text-muted);
}

.rc-val {
  color: var(--text-dark);
  text-align: right;
}

.receipt-footer-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
  text-align: center;
}

.modal-action-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* Emergency Modal Elements */
.emergency-modal-icon {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #FEE2E2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.emergency-modal-icon svg {
  width: 32px;
  height: 32px;
}

.siren-pulse-modal {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--emergency-red);
  animation: pulseBeacon 1.6s infinite;
}

.emergency-action-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.em-action-card {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  background: var(--bg-alt);
  transition: all var(--transition-fast);
  text-align: left;
}

.em-action-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.em-action-card.primary-call {
  background: #FFF1F2;
  border-color: #FECDD3;
}

.em-action-card .em-icon {
  font-size: 1.5rem;
  margin-right: 14px;
}

.em-action-card .em-info {
  flex-grow: 1;
}

.em-action-card .em-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.em-action-card .em-num {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.em-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--emergency-red);
  color: #FFFFFF;
}

.em-action-card.ambulance-call .em-badge {
  background: #0284C7;
}

.em-action-card.directions-card .em-badge {
  background: var(--primary);
}

/* ==========================================================================
   FLOATING WHATSAPP & BACK TO TOP BUTTONS
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 26px;
  left: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 990;
  transition: all var(--transition-base);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 2;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulseBeacon 2s infinite;
}

.whatsapp-tooltip {
  position: absolute;
  left: 68px;
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.9);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all var(--transition-fast);
  pointer-events: none;
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--primary);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-base);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   SCROLL ANIMATIONS (INTERSECTION OBSERVER)
   ========================================================================== */
[data-animate] {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-animate="fade-up"] {
  transform: translateY(30px);
}

[data-animate="fade-left"] {
  transform: translateX(35px);
}

[data-animate="fade-right"] {
  transform: translateX(-35px);
}

[data-animate="zoom-in"] {
  transform: scale(0.92);
}

[data-animate].animated {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual-wrapper {
    max-width: 580px;
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-images-col {
    max-width: 520px;
    margin: 0 auto;
  }

  .departments-grid, .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .appointment-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar-right {
    display: none;
  }

  .top-bar-container {
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-light);
    padding: 24px;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nav-link {
    font-size: 1.05rem;
    display: block;
    width: 100%;
  }

  .emergency-quick-pill .emergency-number-text {
    display: none;
  }

  .btn-nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .hero-main-img {
    height: 360px;
  }

  .card-emergency {
    left: 0;
    top: 10px;
  }

  .card-specialists {
    right: 0;
    top: 60%;
  }

  .card-rating {
    left: 10px;
    bottom: -15px;
  }

  .section-title {
    font-size: 1.85rem;
  }

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

  .departments-grid, .doctors-grid, .why-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .appointment-form-card {
    padding: 26px 20px;
  }

  .banner-headline {
    font-size: 2rem;
  }

  .banner-phone-link {
    font-size: 1.7rem;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr;
  }

  .map-overlay-badge {
    position: static;
    margin-top: 14px;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }

  .floating-whatsapp {
    bottom: 20px;
    left: 20px;
    width: 52px;
    height: 52px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
  }
}

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

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-float-card {
    position: static;
    margin-top: 10px;
  }

  .hero-image-frame {
    display: flex;
    flex-direction: column;
  }

  .about-highlights-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PRINT STYLES FOR APPOINTMENT RECEIPT
   ========================================================================== */
@media print {
  body * {
    visibility: hidden;
  }
  #appointmentReceipt, #appointmentReceipt * {
    visibility: visible;
  }
  #appointmentReceipt {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    border: 1px solid #000000;
    box-shadow: none;
    padding: 20px;
  }
}
