/* ==========================================================================
   SEHATMITRA HEALTHTECH PVT. LTD. - PRESTIGE LUXURY DESIGN SYSTEM
   CIN: U86201RJ2025PTC105794
   Brand Palette Extracted Directly from Official 3D Stethoscope Logo:
   - Deep Royal Medical Navy (#163b5e / #0d2843 / #071525)
   - Vibrant Fresh Lime Leaf Green (#7cb32e / #84cc16 / #9dd838)
   - Stethoscope Diagnostic Electric Cyan (#06b6d4 / #00d2d3 / #22d3ee)
   ========================================================================== */

:root {
  /* Core Brand Colors (Derived from Official 3D Logo) */
  --primary: #163b5e;
  --primary-dark: #0d2843;
  --primary-deep: #071525;
  --primary-light: #256096;
  --primary-soft: rgba(22, 59, 94, 0.08);
  --primary-glow: rgba(22, 59, 94, 0.35);

  /* Secondary: Fresh Lime Health / Vitality Sprout */
  --secondary: #7cb32e;
  --secondary-dark: #5f8c1f;
  --secondary-light: #9dd838;
  --secondary-soft: rgba(124, 179, 46, 0.12);
  --secondary-glow: rgba(124, 179, 46, 0.35);

  /* Tertiary / Tech Accent: Diagnostic Stethoscope Lens Cyan */
  --accent: #06b6d4;
  --accent-dark: #0891b2;
  --accent-light: #22d3ee;
  --accent-soft: rgba(6, 182, 212, 0.12);
  --accent-glow: rgba(6, 182, 212, 0.4);

  /* Micro Accents */
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --gold-soft: rgba(245, 158, 11, 0.15);

  --danger: #ef4444;
  --danger-dark: #dc2626;
  --danger-soft: rgba(239, 68, 68, 0.12);

  --success: #7cb32e;
  --success-soft: rgba(124, 179, 46, 0.15);

  /* Neutrals & Surfaces - Light Mode (Porcelain & Alabaster) */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-glass: rgba(255, 255, 255, 0.88);
  --bg-secondary: #f1f5f9;
  --bg-subtle: #f8fafc;

  --text-main: #0a192f;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --border-light: rgba(22, 59, 94, 0.09);
  --border-medium: rgba(22, 59, 94, 0.16);
  --border-focus: #163b5e;
  --border-glass: rgba(255, 255, 255, 0.6);
  --border-accent: rgba(124, 179, 46, 0.3);

  /* Luxury Multi-layered Shadows */
  --shadow-xs: 0 1px 3px rgba(10, 25, 47, 0.05);
  --shadow-sm: 0 4px 12px -2px rgba(10, 25, 47, 0.06);
  --shadow-md: 0 12px 30px -4px rgba(10, 25, 47, 0.08), 0 4px 12px -2px rgba(10, 25, 47, 0.04);
  --shadow-lg: 0 22px 48px -8px rgba(10, 25, 47, 0.12), 0 8px 20px -4px rgba(10, 25, 47, 0.06);
  --shadow-xl: 0 32px 64px -12px rgba(10, 25, 47, 0.18);
  --shadow-glow: 0 0 25px rgba(124, 179, 46, 0.3);
  --shadow-glow-cyan: 0 0 25px rgba(6, 182, 212, 0.35);

  /* Curated Luxury Gradients */
  --gradient-primary: linear-gradient(135deg, #163b5e 0%, #1e5282 50%, #0d2843 100%);
  --gradient-brand: linear-gradient(135deg, #163b5e 0%, #1a4d7c 50%, #7cb32e 100%);
  --gradient-hero: linear-gradient(140deg, #06162a 0%, #0c233f 50%, #14355a 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --gradient-lime: linear-gradient(135deg, #7cb32e 0%, #9dd838 100%);
  --gradient-cyan: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-glow: radial-gradient(circle at top right, rgba(124, 179, 46, 0.15), transparent 70%);

  /* Premium Typography: Outfit (Headings) & Plus Jakarta Sans / Inter (Body) */
  --font-main: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout & Transitions */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.18s ease-out;
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  --container-max: 1240px;
}

/* Dark Mode Theme - Midnight Executive Healthtech */
[data-theme="dark"] {
  --bg-main: #060e18;
  --bg-surface: #0a1727;
  --bg-surface-elevated: #0f2238;
  --bg-surface-glass: rgba(10, 23, 39, 0.85);
  --bg-secondary: #0b1a2d;
  --bg-subtle: #081422;

  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8fa0b5;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-focus: #7cb32e;
  --border-accent: rgba(124, 179, 46, 0.4);

  --shadow-sm: 0 4px 12px -2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 12px 30px -4px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 22px 48px -8px rgba(0, 0, 0, 0.7);
  --shadow-xl: 0 32px 64px -12px rgba(0, 0, 0, 0.85);

  --gradient-primary: linear-gradient(135deg, #1b4974 0%, #256096 50%, #0f2238 100%);
  --gradient-card: linear-gradient(180deg, #0f2238 0%, #0a1727 100%);
  --gradient-glow: radial-gradient(circle at top right, rgba(124, 179, 46, 0.14), transparent 70%);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-main);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

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

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   Utility Classes & Badges
   ========================================================================== */
.gradient-text {
  color: var(--primary);
  display: inline-block;
}

[data-theme="dark"] .gradient-text {
  color: var(--secondary-light);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-family: var(--font-main);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.badge-primary {
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(22, 59, 94, 0.2);
}

[data-theme="dark"] .badge-primary {
  background: rgba(37, 96, 150, 0.2);
  color: #7dd3fc;
  border-color: rgba(37, 96, 150, 0.4);
}

.badge-secondary {
  background: var(--secondary-soft);
  color: var(--secondary);
  border: 1px solid rgba(124, 179, 46, 0.25);
}

.badge-accent {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

[data-theme="dark"] .badge-accent {
  color: var(--accent-light);
}

.badge-emerald {
  background: rgba(124, 179, 46, 0.12);
  color: #55880f;
  border: 1px solid rgba(124, 179, 46, 0.3);
}

[data-theme="dark"] .badge-emerald {
  color: #a3e635;
}

.badge-blue {
  background: rgba(22, 59, 94, 0.1);
  color: var(--primary);
  border: 1px solid rgba(22, 59, 94, 0.25);
}

[data-theme="dark"] .badge-blue {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
}

.badge-purple {
  background: rgba(147, 51, 234, 0.1);
  color: #9333ea;
  border: 1px solid rgba(147, 51, 234, 0.25);
}

.badge-danger {
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Pulse indicators */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulse-ring-glow 1.8s infinite;
  margin-right: 0.35rem;
}

.pulse-dot-lime {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7cb32e;
  box-shadow: 0 0 0 0 rgba(124, 179, 46, 0.7);
  animation: pulse-ring-lime 1.8s infinite;
  margin-right: 0.35rem;
}

@keyframes pulse-ring-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(239, 68, 68, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

@keyframes pulse-ring-lime {
  0% {
    box-shadow: 0 0 0 0 rgba(124, 179, 46, 0.8);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(124, 179, 46, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(124, 179, 46, 0);
  }
}

/* ==========================================================================
   Luxury Buttons & Shimmer Micro-interactions
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.78rem 1.7rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Metallic Shimmer Highlight on Primary CTA */
.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(22, 59, 94, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(25deg);
  transition: var(--transition);
}

.btn-primary:hover::after {
  left: 120%;
  transition: all 0.75s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(22, 59, 94, 0.45);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-emergency {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
}

.btn-emergency:hover {
  background: linear-gradient(135deg, #dc2626 0%, #991b1c 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(239, 68, 68, 0.5);
}

.btn-lime {
  background: var(--gradient-lime);
  color: #071525;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(124, 179, 46, 0.35);
}

.btn-lime:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(124, 179, 46, 0.5);
}

.btn-white {
  background: #ffffff;
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1.05rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Sections & Typography Structure */
.section-padding {
  padding: 5.5rem 0;
}

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

.section-header .section-subtitle {
  margin-bottom: 0.85rem;
}

.section-header .section-title {
  font-size: 2.6rem;
  margin-bottom: 1.1rem;
  letter-spacing: -0.03em;
}

.section-header .section-desc {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   Top Notification / Emergency Bar
   ========================================================================== */
.top-bar {
  background: #071525;
  color: #cbd5e1;
  font-size: 0.82rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #cbd5e1;
}

.top-bar-item i {
  color: var(--secondary-light);
}

.top-bar-item strong {
  color: #ffffff;
}

.top-bar-emergency {
  background: rgba(239, 68, 68, 0.16);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 0.22rem 0.8rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.top-bar-emergency:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #ffffff;
}

.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--secondary);
  color: #071525;
  border-color: var(--secondary);
}

/* ==========================================================================
   Navigation Bar (Glassmorphism & Crisp Brand Identity)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition-fast);
}

.brand-logo-link:hover {
  transform: translateY(-1px);
}

.brand-logo-img {
  height: 72px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
}

.drawer-logo-img {
  height: 58px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-link {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-main);
  padding: 0.5rem 0.2rem;
  position: relative;
  transition: var(--transition-fast);
}

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

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
  color: var(--secondary-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-full);
  transition: width 0.25s ease;
}

[data-theme="dark"] .nav-link::after {
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle-btn {
  display: none;
  background: transparent;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--bg-surface);
  z-index: 2000;
  padding: 2rem 1.5rem;
  box-shadow: -5px 0 35px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 21, 37, 0.65);
  backdrop-filter: blur(5px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.drawer-close-btn {
  background: var(--bg-secondary);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  font-size: 1.1rem;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.drawer-link {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.drawer-link:hover,
.drawer-link.active {
  background: var(--primary-soft);
  color: var(--primary);
}

/* ==========================================================================
   Hero Section (Luxury Grand Stage)
   ========================================================================== */
.hero-section {
  position: relative;
  background: var(--gradient-hero);
  color: #ffffff;
  padding: 6rem 0 7rem;
  overflow: hidden;
}

.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: -15%;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 96, 150, 0.22) 0%, transparent 70%);
  filter: blur(80px);
}

.hero-glow-2 {
  position: absolute;
  bottom: -15%;
  right: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(22, 59, 94, 0.35) 0%, transparent 70%);
  filter: blur(90px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.8rem;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.hero-content .hero-badge {
  margin-bottom: 1.35rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #a3e635;
  backdrop-filter: blur(12px);
  padding: 0.45rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: var(--radius-full);
  max-width: 100%;
  white-space: normal !important;
  word-break: break-word;
  box-sizing: border-box;
  line-height: 1.35;
}

.hero-content .hero-badge span {
  white-space: normal !important;
  word-break: break-word;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.35rem;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.hero-title span {
  color: #84cc16;
}

.hero-desc {
  font-size: 1.18rem;
  color: #e2e8f0;
  line-height: 1.7;
  margin-bottom: 2.3rem;
  max-width: 590px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-bottom: 2.8rem;
}

.hero-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.hero-features-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-features-list li i {
  color: #84cc16;
}

/* Hero Right Visual / Unified Luxury Medical Showcase */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-showcase-wrapper {
  position: relative;
}

.hero-main-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 35px 85px -15px rgba(0, 0, 0, 0.68), 0 0 0 1px rgba(255, 255, 255, 0.18);
  background: #071525;
}

.hero-main-img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  filter: brightness(0.98);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-main-card:hover .hero-main-img {
  transform: scale(1.03);
}

.hero-img-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 21, 37, 0.04) 0%, rgba(7, 21, 37, 0.3) 100%);
  pointer-events: none;
}

/* Floating Badges on Hero Visual */
.hero-float-top-left {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(7, 21, 37, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  z-index: 3;
}

.hero-float-top-left img {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
}

.hero-float-top-left-text {
  display: flex;
  flex-direction: column;
}

.hero-float-top-left-text strong {
  font-size: 0.86rem;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
}

.hero-float-top-left-text span {
  font-size: 0.72rem;
  color: #a3e635;
  font-weight: 600;
}

.hero-float-top-right {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(16, 185, 129, 0.92);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
  z-index: 3;
}

.hero-float-bottom-bar {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(7, 21, 37, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
  z-index: 3;
}

.hero-float-stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-float-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(124, 179, 46, 0.2);
  color: #a3e635;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid rgba(124, 179, 46, 0.35);
}

.hero-float-stat-info h5 {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.hero-float-stat-info p {
  color: #cbd5e1;
  font-size: 0.75rem;
  margin: 0;
}

/* Units Switcher Strip Below Main Image */
.hero-units-bar {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.hero-unit-card-mini {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.hero-unit-card-mini:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #a3e635;
  transform: translateY(-2px);
}

.hero-unit-mini-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #163b5e 0%, #7cb32e 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.hero-unit-mini-text h6 {
  font-size: 0.8rem;
  color: #ffffff;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-unit-mini-text span {
  font-size: 0.72rem;
  color: #a3e635;
  display: block;
}

.card-header-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
}

.hospital-units-preview {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.unit-chip {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition-fast);
}

.unit-chip:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(124, 179, 46, 0.4);
  transform: translateX(4px);
}

.unit-chip-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #163b5e 0%, #7cb32e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.unit-chip-info h4 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.unit-chip-info p {
  font-size: 0.8rem;
  color: #cbd5e1;
}

/* Floating Stats Counter Banner */
.hero-stats-banner {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.8rem;
  margin-top: -3.8rem;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

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

.stat-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.stat-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--secondary-soft);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  border: 1px solid rgba(124, 179, 46, 0.2);
}

.stat-info .stat-number {
  font-family: var(--font-main);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-info .stat-label {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   Story & Inception Section
   ========================================================================== */
.story-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-surface);
}

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

.story-quote-card {
  background: linear-gradient(135deg, rgba(22, 59, 94, 0.05) 0%, rgba(124, 179, 46, 0.05) 100%);
  border: 1px solid var(--border-light);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.story-quote-card i.fa-quote-left {
  font-size: 2.5rem;
  color: var(--primary-soft);
  position: absolute;
  top: 1.5rem;
  right: 1.8rem;
}

.meaning-box {
  background: var(--gradient-primary);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  margin-top: 2rem;
  box-shadow: 0 12px 35px rgba(22, 59, 94, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.meaning-box h3 {
  color: #ffffff;
  font-size: 1.45rem;
  margin-bottom: 0.8rem;
}

.meaning-box p {
  color: #e2e8f0;
  font-size: 1rem;
  line-height: 1.65;
}

.meaning-pills {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.35rem;
  flex-wrap: wrap;
}

.meaning-pill {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   About / Story Health Image Showcase
   ========================================================================== */
.about-image-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  background: var(--bg-surface-elevated);
}

.about-main-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-frame:hover .about-main-img {
  transform: scale(1.025);
}

.about-img-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 21, 37, 0.85) 100%);
  pointer-events: none;
}

.about-floating-badge {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  color: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

[data-theme="dark"] .about-floating-badge {
  background: rgba(13, 40, 67, 0.92);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
}

.about-floating-badge i {
  color: #ef4444;
}

.about-floating-card {
  position: absolute;
  bottom: 1.4rem;
  left: 1.4rem;
  right: 1.4rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.85);
  z-index: 2;
}

[data-theme="dark"] .about-floating-card {
  background: rgba(13, 40, 67, 0.95);
  border-color: rgba(255, 255, 255, 0.15);
}

.about-floating-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--secondary-soft);
  color: var(--secondary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  border: 1px solid rgba(124, 179, 46, 0.35);
}

.about-floating-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.2rem;
}

.about-floating-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.about-action-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.founders-spotlight {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.founder-card-compact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.founder-card-compact:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.founder-avatar {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  flex-shrink: 0;
  border: 2px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

[data-theme="dark"] .founder-avatar {
  background: rgba(37, 96, 150, 0.2);
  color: var(--secondary-light);
  border-color: rgba(255, 255, 255, 0.1);
}

.founder-info h4 {
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.founder-info .role {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.founder-info p {
  font-size: 0.86rem;
}

/* ==========================================================================
   Hospital Network Section
   ========================================================================== */
.hospitals-section {
  background: var(--bg-secondary);
}

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

.hospital-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.hospital-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.hospital-card-header {
  padding: 1.6rem 1.4rem 1.3rem;
  background: linear-gradient(135deg, rgba(22, 59, 94, 0.08) 0%, rgba(124, 179, 46, 0.05) 100%);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

[data-theme="dark"] .hospital-card-header {
  background: linear-gradient(135deg, rgba(22, 59, 94, 0.3) 0%, rgba(124, 179, 46, 0.1) 100%);
}

.hospital-badge-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  flex-wrap: nowrap;
}

.hospital-badge-bar .badge {
  margin-bottom: 0 !important;
  font-size: 0.65rem !important;
  padding: 0.2rem 0.5rem !important;
  letter-spacing: 0.2px !important;
  white-space: nowrap !important;
  line-height: 1.25 !important;
  flex-shrink: 0;
}

.hospital-badge-bar .badge-open {
  background: rgba(124, 179, 46, 0.14);
  color: #3f6212;
  font-weight: 700;
  border: 1px solid rgba(124, 179, 46, 0.32);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.hospital-badge-bar .badge-open i {
  font-size: 0.52rem;
  color: #65a30d;
}

.hospital-card-header h3 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.hospital-card-header .location-tag {
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

[data-theme="dark"] .hospital-card-header .location-tag {
  color: var(--secondary-light);
}

.hospital-card-body {
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hospital-address-box {
  display: flex;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.hospital-address-box i {
  color: var(--secondary);
  font-size: 1.15rem;
  margin-top: 0.2rem;
}

.dept-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

.dept-tag {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.32rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.hospital-card-footer {
  margin-top: auto;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

/* ==========================================================================
   13 Healthcare Verticals (Scope of Services)
   ========================================================================== */
.verticals-section {
  background: var(--bg-surface);
}

.verticals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
}

.vertical-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.vertical-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--card-color, var(--secondary));
  opacity: 0.85;
}

.vertical-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.vertical-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.35rem;
  transition: var(--transition-fast);
}

.vertical-card:hover .vertical-icon-box {
  transform: scale(1.1);
}

.vertical-title {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.vertical-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.9rem;
  display: inline-block;
}

.vertical-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.35rem;
  flex-grow: 1;
}

.vertical-points {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.6rem;
}

.vertical-points li {
  font-size: 0.84rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.vertical-points li i {
  color: var(--secondary);
  margin-top: 0.25rem;
  font-size: 0.75rem;
}

.vertical-action {
  margin-top: auto;
}

/* ==========================================================================
   Medical Super-Specialist & Leadership Panel
   ========================================================================== */
.doctors-section {
  background: var(--bg-secondary);
}

.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(22, 59, 94, 0.3);
}

[data-theme="dark"] .filter-btn:hover,
[data-theme="dark"] .filter-btn.active {
  background: var(--secondary);
  color: #071525;
  border-color: var(--secondary);
  box-shadow: 0 4px 14px rgba(124, 179, 46, 0.4);
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
  gap: 2rem;
}

.doctor-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.doctors-section .section-header {
  margin-bottom: 2rem;
}

.doctor-card-compact {
  padding: 1.35rem 1.4rem !important;
  text-decoration: none !important;
  color: inherit !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  height: auto !important;
  min-height: auto !important;
}

.doctor-card-compact .doctor-card-top {
  display: flex !important;
  align-items: center !important;
  gap: 1.15rem !important;
  margin-bottom: 0 !important;
}

.doctor-card-compact .doctor-avatar-circle {
  width: 66px !important;
  height: 66px !important;
  font-size: 1.65rem !important;
  flex-shrink: 0;
}

.doctor-card-compact .doctor-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.doctor-card-compact .doctor-role-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.74rem;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.doctor-card-compact h3,
.doctor-meta h3 {
  font-size: 1.2rem !important;
  margin: 0 0 0.15rem 0 !important;
  letter-spacing: -0.015em;
  font-weight: 700;
  line-height: 1.25;
}

.doctor-card-compact .doctor-qualification {
  font-size: 0.82rem !important;
  color: var(--text-muted) !important;
  font-weight: 600 !important;
  margin: 0 !important;
  line-height: 1.2;
}

.doctor-card-compact .doctor-specialty {
  margin-top: 0.75rem;
  margin-bottom: 0;
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 600;
}

[data-theme="dark"] .doctor-card-compact .doctor-specialty {
  color: var(--secondary-light);
}

.doctor-card-top {
  display: flex;
  gap: 1.35rem;
  align-items: flex-start;
  margin-bottom: 1.35rem;
}

.doctor-avatar-circle {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(22, 59, 94, 0.12), rgba(124, 179, 46, 0.18));
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  flex-shrink: 0;
  border: 2px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.doctor-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

[data-theme="dark"] .doctor-avatar-circle {
  background: linear-gradient(135deg, rgba(37, 96, 150, 0.3), rgba(124, 179, 46, 0.2));
  color: var(--secondary-light);
  border-color: rgba(255, 255, 255, 0.12);
}

.doctor-meta {
  flex-grow: 1;
}

.doctor-meta h3 {
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}

.doctor-qualification {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.doctor-role-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  border: 1px solid rgba(22, 59, 94, 0.15);
}

[data-theme="dark"] .doctor-role-badge {
  color: #7dd3fc;
  background: rgba(37, 96, 150, 0.2);
  border-color: rgba(37, 96, 150, 0.3);
}

.doctor-specialty {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

[data-theme="dark"] .doctor-specialty {
  color: var(--secondary-light);
}

.doctor-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.35rem;
  line-height: 1.6;
}

.doctor-expertise-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.doctor-expertise-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.6rem;
}

.doctor-expertise-list li {
  font-size: 0.84rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.doctor-expertise-list li i {
  color: var(--secondary);
  font-size: 0.72rem;
}

.doctor-units {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.6rem;
}

.doctor-unit-tag {
  font-size: 0.76rem;
  background: var(--bg-secondary);
  color: var(--text-muted);
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.doctor-card-footer {
  margin-top: auto;
  display: flex;
  gap: 0.85rem;
}

/* ==========================================================================
   Vision, Mission & Core Values Section
   ========================================================================== */
.values-section {
  background: var(--bg-surface);
}

/* Grand Vision Showcase Card */
.vision-card-modern {
  background: linear-gradient(135deg, #071525 0%, #0d2843 50%, #163b5e 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  padding: 3.8rem 3.5rem;
  margin-bottom: 4.5rem;
  box-shadow: 0 25px 60px -15px rgba(7, 21, 37, 0.45);
  position: relative;
  overflow: hidden;
}

.vision-card-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(124, 179, 46, 0.22) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.vision-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.2rem;
  position: relative;
  z-index: 2;
}

.vision-badge {
  background: rgba(124, 179, 46, 0.18);
  border: 1px solid rgba(124, 179, 46, 0.4);
  color: #a3e635;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.vision-cin-chip {
  font-size: 0.82rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.vision-quote-wrap {
  position: relative;
  margin-bottom: 2.8rem;
  padding-left: 3.8rem;
  z-index: 2;
}

.vision-quote-icon {
  position: absolute;
  top: -0.3rem;
  left: 0;
  font-size: 2.6rem;
  color: #7cb32e;
  opacity: 0.85;
}

.vision-statement {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1.48;
  letter-spacing: -0.02em;
  margin: 0;
}

.text-highlight-lime {
  color: #84cc16;
  display: inline;
}

.text-highlight-cyan {
  color: #06b6d4;
  display: inline;
}

.vision-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 2;
}

.vision-pillar-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all 0.25s ease;
}

.vision-pillar-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(124, 179, 46, 0.3);
  transform: translateY(-2px);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(124, 179, 46, 0.15);
  color: #a3e635;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid rgba(124, 179, 46, 0.25);
}

.pillar-text h4 {
  font-size: 1.02rem;
  color: #ffffff !important;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.pillar-text p {
  font-size: 0.85rem;
  color: #cbd5e1 !important;
  line-height: 1.55;
  margin: 0;
}

/* Fallback legacy vision-banner styles ensuring white text */
.vision-banner {
  background: var(--gradient-primary);
  color: #ffffff !important;
  border-radius: var(--radius-xl);
  padding: 3.5rem 2rem;
  margin-bottom: 4.5rem;
  text-align: center;
  box-shadow: 0 18px 45px rgba(22, 59, 94, 0.28);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.vision-banner-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 0.38rem 1.3rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.35rem;
  backdrop-filter: blur(8px);
}

.vision-text {
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.55;
  max-width: 920px;
  margin: 0 auto;
  color: #ffffff !important;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  margin-bottom: 4rem;
}

.value-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--secondary-soft);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.35rem;
  border: 1px solid rgba(124, 179, 46, 0.2);
}

.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.65rem;
}

.value-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.mission-box {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 3.2rem;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}

.mission-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.mission-item-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(22, 59, 94, 0.3);
}

[data-theme="dark"] .mission-item-number {
  background: var(--secondary);
  color: #071525;
}

.mission-item p {
  font-size: 0.96rem;
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.6;
}

/* ==========================================================================
   Appointment Booking CTA Section & Modal
   ========================================================================== */
.booking-cta-section {
  background: #f8fafc;
  color: var(--text-main);
  padding: 5.5rem 0;
  position: relative;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

[data-theme="dark"] .booking-cta-section {
  background: #091a2d;
  color: #f8fafc;
}

.booking-cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.8rem;
  align-items: center;
}

.booking-cta-content h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.1rem;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

[data-theme="dark"] .booking-cta-content h2 {
  color: #ffffff;
}

.booking-cta-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.booking-cta-feature {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.96rem;
  color: var(--text-main);
  font-weight: 500;
}

.booking-cta-feature i {
  color: var(--secondary);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.booking-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  background: rgba(22, 59, 94, 0.08);
  color: var(--primary);
  border: 1px solid rgba(22, 59, 94, 0.16);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.35rem;
}

.booking-cta-badge i {
  color: var(--secondary);
}

[data-theme="dark"] .booking-cta-badge {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
}

.booking-cta-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  margin-bottom: 2.2rem;
}

.booking-cta-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.booking-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 12px 35px -6px rgba(10, 25, 47, 0.08), 0 4px 12px -2px rgba(10, 25, 47, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-main);
}

[data-theme="dark"] .booking-card {
  background: #0d233a;
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.1);
}

.booking-card h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

[data-theme="dark"] .booking-card h3 {
  color: #ffffff;
}

.booking-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}

.form-group {
  margin-bottom: 1.3rem;
}

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

.form-control {
  width: 100%;
  padding: 0.82rem 1.1rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-main);
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px var(--secondary-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

/* Ultra-Clean Compact Form Spacing for Contact & Home Inquiry */
.sehatmitra-contact-form .row {
  margin-bottom: 0.45rem !important;
}

.sehatmitra-contact-form .form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.15rem !important;
  line-height: 1.25;
  color: var(--text-main);
}

.sehatmitra-contact-form .form-control {
  padding: 0.42rem 0.8rem !important;
  font-size: 0.88rem !important;
  line-height: 1.35 !important;
  height: 38px !important;
  border-radius: var(--radius-sm) !important;
}

.sehatmitra-contact-form textarea.form-control {
  height: auto !important;
  min-height: 58px !important;
  padding: 0.42rem 0.8rem !important;
  resize: vertical;
}

.sehatmitra-contact-form .form-group,
.sehatmitra-contact-form .mb-2 {
  margin-bottom: 0.45rem !important;
}

.sehatmitra-contact-form .btn {
  margin-top: 0.2rem !important;
  padding: 0.55rem 1rem !important;
  font-size: 0.92rem !important;
  font-weight: 600;
}

/* Appointment Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 21, 37, 0.7);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-window {
  background: var(--bg-surface);
  width: 100%;
  max-width: 660px;
  max-height: 92vh;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: var(--transition);
}

.modal-overlay.active .modal-window {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.6rem 2.2rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(22, 59, 94, 0.04) 0%, rgba(124, 179, 46, 0.04) 100%);
}

.modal-header h3 {
  font-size: 1.4rem;
}

.modal-close-btn {
  background: var(--bg-secondary);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--danger-soft);
  color: var(--danger);
}

.modal-body {
  padding: 2.2rem;
}

/* Compact Consultation Modal (Shortened, No Scrollbar) */
.appointment-modal-compact {
  max-width: 680px;
  max-height: calc(100vh - 30px);
  overflow-y: hidden;
  border-radius: var(--radius-lg);
}

.appointment-modal-compact .modal-header {
  padding: 0.95rem 1.6rem;
}

.appointment-modal-compact .modal-header h3 {
  font-size: 1.25rem;
  margin-bottom: 0.15rem;
}

.appointment-modal-compact .modal-body {
  padding: 1rem 1.6rem 1.25rem;
}

.appointment-modal-compact .form-group {
  margin-bottom: 0.65rem;
}

.appointment-modal-compact .form-label {
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--text-main);
}

.appointment-modal-compact .form-control {
  padding: 0.46rem 0.8rem;
  font-size: 0.86rem;
  border-radius: var(--radius-sm);
}

.appointment-modal-compact .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-height: 580px) {
  .appointment-modal-compact {
    overflow-y: auto;
    max-height: 94vh;
  }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.toast {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--secondary);
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 320px;
  max-width: 440px;
  animation: slide-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast.success {
  border-left-color: var(--secondary);
}

.toast.error {
  border-left-color: var(--danger);
}

@keyframes slide-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #081a2e;
  color: #94a3b8;
  padding: 3rem 0 1.4rem;
  border-top: 3px solid var(--secondary);
}

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

.footer-brand-badge {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-md);
  margin-bottom: 0.9rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transition: var(--transition-fast);
}

.footer-brand-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.92rem;
  margin: 1.25rem 0;
  line-height: 1.65;
}

.footer-cin-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  color: #cbd5e1;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-cin-box strong {
  color: var(--secondary-light);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.18rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.65rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 38px;
  height: 2.5px;
  background: var(--secondary);
  border-radius: var(--radius-full);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition-fast);
}

.footer-links a i {
  font-size: 0.72rem;
  color: var(--secondary-light);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-links a:hover i {
  color: var(--secondary);
}

.footer-branches-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.footer-branch-item {
  font-size: 0.85rem;
  line-height: 1.55;
}

.footer-branch-item h5 {
  color: #e2e8f0;
  font-size: 0.94rem;
  margin-bottom: 0.25rem;
}

.footer-bottom {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.86rem;
}

.footer-bottom p {
  color: #64748b;
}

/* Enhanced Footer Trust Strip & Emergency Box */
.footer-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  margin-bottom: 3.5rem;
}

.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(124, 179, 46, 0.15);
  color: #a3e635;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 1px solid rgba(124, 179, 46, 0.3);
}

.footer-trust-text h5 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.footer-trust-text p {
  color: #94a3b8;
  font-size: 0.78rem;
  margin: 0;
}

.footer-emergency-box {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.footer-emergency-box h5 {
  color: #fca5a5;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-emergency-phone {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  display: block;
  letter-spacing: 0.5px;
}

.footer-emergency-phone:hover {
  color: #fca5a5;
}

/* ==========================================================================
   Responsive Breakpoints (Bootstrap 5 Grid Alignment)
   ========================================================================== */
@media (max-width: 1199.98px) {
  .nav-links {
    gap: 1.25rem;
  }
}

@media (max-width: 991.98px) {
  .nav-links,
  .nav-actions .btn-appointment {
    display: none;
  }

  .mobile-toggle-btn {
    display: block;
  }

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

  .hero-units-bar {
    grid-template-columns: 1fr;
  }

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

  .hero-section {
    padding: 4.5rem 0 5rem;
  }

  .hero-grid,
  .story-grid,
  .booking-cta-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

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

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

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

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

  .about-main-img {
    height: 380px;
  }

  .hero-stats-banner {
    margin-top: 1.5rem !important;
  }
}

@media (max-width: 768px) {
  .hero-glow-1,
  .hero-glow-2 {
    display: none !important;
  }

  .hero-section {
    padding: 2.75rem 0 3.25rem;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
  }

  .hero-grid {
    gap: 1.8rem;
    width: 100%;
    max-width: 100%;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-content .hero-badge {
    max-width: 100%;
    width: auto;
    white-space: normal !important;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    line-height: 1.35;
    font-size: 0.74rem;
    padding: 0.4rem 0.85rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    word-break: break-word;
    box-sizing: border-box;
    text-align: left;
  }

  .hero-content .hero-badge span {
    white-space: normal !important;
    word-break: break-word;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6.5vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 1.8rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.8rem 1.25rem;
    font-size: 0.95rem;
    box-sizing: border-box;
  }

  .hero-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
  }

  .hero-features-list li {
    font-size: 0.88rem;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero-features-list li i {
    margin-top: 0.2rem;
    flex-shrink: 0;
  }

  .hero-visual {
    width: 100%;
  }

  .hero-main-card {
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 100%;
  }

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

  .hero-stats-banner {
    margin-top: 1.5rem !important;
    padding: 1.4rem 1.25rem !important;
  }

  .section-header .section-title {
    font-size: 2rem;
  }

  .hospitals-grid,
  .values-grid,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .stat-item {
    gap: 1rem;
  }

  .stat-icon {
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
  }

  .stat-info .stat-number {
    font-size: 1.75rem;
  }

  .stat-info .stat-label {
    font-size: 0.82rem;
  }

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

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

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

  .appointment-modal-compact {
    overflow-y: auto !important;
    max-height: 92vh !important;
  }

  .appointment-modal-compact .modal-body {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-section {
    padding: 2rem 0 2.5rem;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
  }

  .hero-grid {
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-title {
    font-size: clamp(1.55rem, 7vw, 1.95rem);
    line-height: 1.2;
    margin-bottom: 0.85rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1.35rem;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-content .hero-badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.75rem;
    white-space: normal !important;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    border-radius: 8px;
    max-width: 100%;
    word-break: break-word;
    box-sizing: border-box;
    line-height: 1.35;
  }

  .hero-content .hero-badge span {
    white-space: normal !important;
    word-break: break-word;
  }

  .about-main-img {
    height: 310px;
  }

  .about-floating-card {
    padding: 0.85rem 1rem;
    gap: 0.75rem;
  }

  .about-floating-icon {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
  }

  .about-floating-title {
    font-size: 0.92rem;
  }

  .about-floating-desc {
    font-size: 0.75rem;
  }

  .navbar-inner {
    min-height: 76px;
  }

  .brand-logo-img {
    height: 52px;
    max-width: 200px;
  }

  .drawer-logo-img {
    height: 48px;
  }

  .hero-main-card {
    border-radius: var(--radius-md);
  }

  .hero-main-img {
    height: 220px;
    border-radius: var(--radius-md);
  }

  .hero-stats-banner {
    margin-top: 1.25rem !important;
    padding: 1.2rem 1rem !important;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }

  .top-bar-left,
  .top-bar-right {
    justify-content: center;
    width: 100%;
    gap: 0.5rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.6rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.92rem;
    padding: 0.75rem 1.25rem;
  }

  .doctors-grid,
  .verticals-grid,
  .hospitals-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .doctor-card,
  .vertical-card,
  .hospital-card {
    padding: 1.4rem !important;
  }

  .doctor-card-footer {
    flex-direction: column;
  }

  .doctor-card-footer .btn {
    width: 100%;
  }

  .modal-overlay {
    padding: 0.75rem;
  }

  .appointment-modal-compact .modal-header {
    padding: 0.85rem 1.1rem;
  }

  .appointment-modal-compact .modal-body {
    padding: 1.1rem;
  }
}

/* ==========================================================================
   Floating Action Buttons: WhatsApp (24x7) & Back to Top
   ========================================================================== */
.floating-actions-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.floating-btn:hover {
  transform: translateY(-4px) scale(1.08);
}

.floating-whatsapp {
  background: #25D366;
  color: #ffffff;
  font-size: 1.85rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.floating-whatsapp:hover {
  background: #20bd5a;
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.65);
}

.floating-whatsapp .floating-tooltip {
  position: absolute;
  right: 64px;
  background: #071525;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

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

.floating-back-to-top {
  background: var(--primary);
  color: #ffffff;
  font-size: 1.15rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
}

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

.floating-back-to-top:hover {
  background: var(--secondary);
  color: #071525;
  box-shadow: 0 8px 22px rgba(124, 179, 46, 0.4);
}

/* ==========================================================================
   Image Cards: Hospitals & Doctors
   ========================================================================== */
.hospital-card-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #071525;
}

.hospital-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hospital-card:hover .hospital-card-img {
  transform: scale(1.07);
}

.hospital-card-badge-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.hospital-card-status-overlay {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(7, 21, 37, 0.8);
  backdrop-filter: blur(8px);
  color: #a3e635;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.doctor-photo-img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 14px rgba(22, 59, 94, 0.2);
  flex-shrink: 0;
}

/* Hero Medical Showcase Image Banner */
.hero-team-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.5rem;
}

.hero-team-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.hero-team-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to top, rgba(7, 21, 37, 0.95) 0%, rgba(7, 21, 37, 0.4) 70%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

/* ==========================================================================
   Inner Page Header & Breadcrumbs
   ========================================================================== */
.page-hero-banner {
  background: var(--gradient-hero);
  color: #ffffff;
  padding: 4.8rem 0 3.8rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 20%, rgba(124, 179, 46, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.page-hero-subtitle {
  font-size: 1.12rem;
  color: #e2e8f0;
  max-width: 740px;
  margin: 0 auto 1.35rem;
  line-height: 1.65;
}

.page-breadcrumb-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.25rem;
}

.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  list-style: none;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.page-breadcrumb a {
  color: #cbd5e1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition-fast);
}

.page-breadcrumb a:hover {
  color: var(--secondary-light);
  transform: translateY(-1px);
}

.page-breadcrumb .separator {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  display: flex;
  align-items: center;
}

.page-breadcrumb .current {
  color: #ffffff;
  font-weight: 600;
}

@media (max-width: 768px) {
  .page-hero-banner {
    padding: 3rem 0 2.5rem;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }
  .page-hero-title {
    font-size: clamp(1.85rem, 6vw, 2.3rem);
    word-break: break-word;
  }
  .page-hero-subtitle {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }
  .page-breadcrumb {
    padding: 0.35rem 0.95rem;
    font-size: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}