/* ==================================================================
   DR. BHAGAT'S CLINIC — UNIFIED PREMIUM STYLESHEET
   Theme: Deep Navy, Warm Gold & Subtle Teal (Prestigious Medical)
   ================================================================== */

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
  /* Brand Deep Navy & Sapphire */
  --navy-950: #050d1a;
  --navy-900: #0b1a30;
  --navy-850: #0f2744;
  --navy-800: #133256;
  --navy-700: #1a4270;
  --navy-600: #1e3a8a;

  /* Primary Medical Blues */
  --primary-50: #f0f7ff;
  --primary-100: #e0f2fe;
  --primary-200: #bae6fd;
  --primary-300: #7dd3fc;
  --primary-400: #38bdf8;
  --primary-500: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --primary-800: #075985;
  --primary-900: #0c4a6e;

  /* Subtle Teal (Surgical Precision & Clinical Freshness) */
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;

  /* Warm Gold & Champagne (Authoritative Excellence) */
  --gold-50: #fffbeb;
  --gold-100: #fef3c7;
  --gold-200: #fde68a;
  --gold-300: #fcd34d;
  --gold-400: #fbbf24;
  --gold-500: #f59e0b;
  --gold-600: #d97706;

  /* Soft Muted Rose (Maternal Care) */
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-200: #fecdd3;
  --rose-300: #fda4af;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;

  /* Neutrals */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Surfaces */
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-section: #f1f5f9;

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

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.1);
  --shadow-navy: 0 12px 36px rgba(11, 26, 48, 0.25);
  --shadow-teal: 0 8px 30px rgba(13, 148, 136, 0.2);
  --shadow-gold: 0 8px 25px rgba(217, 119, 6, 0.2);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ─── RESET & BASE ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--bg-white);
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--ease-out);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

ul {
  list-style: none;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── GRADIENTS ─── */
.gradient-text {
  background: linear-gradient(135deg, #0369a1 0%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-rose {
  background: linear-gradient(135deg, var(--rose-400), var(--rose-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==================================================================
   PRELOADER — Heartbeat ECG
   ================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.heartbeat-svg {
  width: 280px;
  height: 80px;
}

.heartbeat-line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: heartbeatDraw 2s ease-in-out infinite;
}

@keyframes heartbeatDraw {
  0% {
    stroke-dashoffset: 1200;
    opacity: 0.3;
  }

  50% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  100% {
    stroke-dashoffset: -1200;
    opacity: 0.3;
  }
}

.preloader-text {
  margin-top: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-800);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

@keyframes preloaderPulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

/* ==================================================================
   HEADER — Sticky Glassmorphism
   ================================================================== */
/* ==================================================================
   HEADER — Floating Capsule Default (Screenshot 1) & Full-Width Sticky Scrolled (Screenshot 2)
   ================================================================== */
.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1220px, calc(100% - 40px));
  max-width: 1220px;
  z-index: 1000;
  background: #ffffff;
  border-radius: 9999px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  transition: top 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled {
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

.header-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo {
  height: 58px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

.header-brand:hover .site-logo {
  transform: scale(1.04);
  filter: brightness(1.03);
}

.drawer-logo {
  height: 52px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  display: block;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  width: fit-content;
}

.footer-logo-img {
  height: 56px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

.brand-icon svg {
  width: 36px;
  height: 36px;
}

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

.brand-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0b1a30;
  letter-spacing: 1.2px;
  line-height: 1.2;
  font-family: var(--font-heading);
  transition: color 0.3s;
}

.brand-sub {
  font-size: 0.65rem;
  color: #0369a1;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease-out);
  position: relative;
  font-family: var(--font-sans);
}

.nav-link:hover {
  color: #0369a1;
  background: #f0f7ff;
}

.nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, #0b1a30 0%, #0369a1 100%);
  box-shadow: 0 4px 14px rgba(11, 26, 48, 0.3);
}

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

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  transition: all 0.3s var(--ease-out);
}

.header-phone:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
  color: #0b1a30;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  font-size: 0.88rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  background: linear-gradient(135deg, #0b1a30 0%, #0369a1 100%);
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 4px 16px rgba(11, 26, 48, 0.3);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 26, 48, 0.4);
  background: linear-gradient(135deg, #071324, #0284c7);
}

.lang-switcher {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
  border: 1px solid #e2e8f0;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lang-btn:hover {
  color: #0284c7;
}

.lang-btn.active {
  background: #ffffff;
  color: #0284c7;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.15);
}

/* Hamburger */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a385c;
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Premium Mobile Navigation Drawer ─── */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(7, 19, 36, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -105%;
  width: min(390px, 92vw);
  height: 100vh;
  height: 100dvh;
  z-index: 2005;
  background: #ffffff;
  box-shadow: -12px 0 40px rgba(11, 26, 48, 0.28);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
}

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

@media (max-width: 520px) {
  .mobile-drawer {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
  }
}

/* ── Drawer Top Header ── */
.drawer-top {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.drawer-brand-icon svg,
.drawer-top .brand-icon svg {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  filter: drop-shadow(0 2px 6px rgba(2, 132, 199, 0.2));
}

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

.drawer-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: #0b1a30;
  line-height: 1.15;
}

.drawer-subtitle {
  font-size: 0.6rem;
  font-weight: 700;
  color: #0284c7;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.drawer-close {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.drawer-close:hover,
.drawer-close:active {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fecaca;
  transform: rotate(90deg);
}

/* ── Doctor Credentials Trust Strip in Drawer ── */
.drawer-doctor-badge {
  flex-shrink: 0;
  margin: 12px 18px 4px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(11, 26, 48, 0.04) 100%);
  border: 1px solid rgba(2, 132, 199, 0.16);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-doctor-badge-text {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0369a1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.drawer-doctor-badge-text i {
  color: #0284c7;
  font-size: 0.9rem;
}

.drawer-doctor-badge-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  background: #ffffff;
  color: #0b1a30;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  letter-spacing: 0.3px;
}

/* ── Drawer Nav Links (Clean, Scrollable) ── */
.drawer-nav {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  border-radius: 12px;
  transition: all 0.2s ease;
  position: relative;
  text-decoration: none;
}

.drawer-link i:first-child,
.drawer-link .drawer-icon {
  font-size: 1.05rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f1f5f9;
  color: #0284c7;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.drawer-link-arrow {
  margin-left: auto;
  font-size: 0.75rem !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  color: #94a3b8 !important;
  transition: transform 0.2s ease;
}

.drawer-link:hover,
.drawer-link:active {
  background: #f0f7ff;
  color: #0284c7;
  transform: translateX(3px);
}

.drawer-link:hover i:first-child,
.drawer-link:active i:first-child {
  background: #0284c7;
  color: #ffffff;
}

.drawer-link:hover .drawer-link-arrow,
.drawer-link:active .drawer-link-arrow {
  color: #0284c7 !important;
  transform: translateX(2px);
}

.drawer-link.active {
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
}

.drawer-link.active i:first-child {
  background: #0284c7;
  color: #ffffff;
}

/* ── Drawer Bottom Actions (Pinned & Padded for Safe Area — Never Cut Off!) ── */
.drawer-bottom {
  flex-shrink: 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 14px 18px max(18px, env(safe-area-inset-bottom, 18px));
  box-shadow: 0 -4px 16px rgba(11, 26, 48, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-phone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  transition: all 0.2s ease;
}

.drawer-phone-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-phone-info i,
.drawer-phone>i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.drawer-phone-status {
  font-size: 0.68rem;
  color: #16a34a;
  font-weight: 600;
  background: #f0fdf4;
  padding: 2px 7px;
  border-radius: 9999px;
  border: 1px solid #bbf7d0;
  white-space: nowrap;
}

.drawer-phone:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.drawer-cta {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #0b1a30 0%, #0284c7 100%);
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.drawer-cta:hover,
.drawer-cta:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
  background: linear-gradient(135deg, #071324 0%, #0369a1 100%);
}

/* ==================================================================
   HERO SECTION — 100vh Medical Showcase (Deep Navy Theme)
   ================================================================== */
.hero-madies {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  background: radial-gradient(circle at 50% 32%, #244973 0%, #1a385c 55%, #132a47 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

/* ─── Background Canvas & Visuals ─── */
.madies-bg-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.madies-bg-canvas::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 50% 38%, rgba(26, 56, 92, 0.42) 0%, rgba(13, 30, 52, 0.88) 100%),
    url('../img/hero-medical-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  opacity: 0.38;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

.madies-glow-radial {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 920px;
  height: 920px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(2, 132, 199, 0.14) 50%, transparent 75%);
  filter: blur(65px);
  animation: glowPulse 6s ease-in-out infinite alternate;
}

/* ─── Mobile First Glance Hero Elements (Hidden on Desktop) ─── */
.mobile-hero-first-glance {
  display: contents;
}

.mobile-hero-writeup {
  display: none !important;
}

/* ─── Centerpiece Doctors Portrait (Grand Scale Matching Reference) ─── */
.madies-doctors-portrait {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 80vh;
  max-height: 640px;
  width: auto;
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.madies-doctors-portrait img {
  height: 100%;
  width: auto;
  max-width: min(650px, 46vw);
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 48px rgba(0, 0, 0, 0.52));
  display: block;
}

/* ─── Forefront Content Stage ─── */
.madies-container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1480px;
  height: 100%;
  margin: 0 auto;
  padding: 85px clamp(28px, 4vw, 56px) 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

/* ─── Twin Doctor Columns ─── */
.madies-col-left,
.madies-col-right {
  width: 310px;
  max-width: 310px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 6;
}

.madies-col-right {
  margin-left: auto;
}

/* Doctor Brief Info */
.madies-doctor-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.doc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 4px;
}

.badge-blue,
.badge-purple {
  background: rgba(14, 165, 233, 0.22);
  color: #bae6fd;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.badge-rose {
  background: rgba(244, 63, 94, 0.22);
  color: #fecdd3;
  border: 1px solid rgba(251, 113, 133, 0.4);
}

.doc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
}

.dot-purple {
  background: #38bdf8;
}

.dot-rose {
  background: #fb7185;
}

.doc-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.doc-qual {
  font-size: 0.8rem;
  font-weight: 700;
  color: #7dd3fc;
  margin-bottom: 4px;
}

.qual-purple {
  color: #7dd3fc;
}

.qual-rose {
  color: #fecdd3;
}

.doc-statement {
  font-size: 0.84rem;
  color: rgba(235, 244, 255, 0.9);
  line-height: 1.5;
  margin: 4px 0 8px;
  max-width: 320px;
}

.doc-bullets {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.doc-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
}

.doc-bullets li i {
  color: #38bdf8;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.bullets-purple li i {
  color: #38bdf8;
}

.bullets-rose li i {
  color: #fb7185;
}

/* ─── Shared Doctor CTA & Action Block ─── */
.madies-cta-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-top: 4px;
}

/* Signature Crisp Light Capsule Button on Steel Hero */
.madies-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 9px 12px 9px 22px;
  background: #ffffff;
  color: #1a385c;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition: all 0.35s var(--ease-out);
}

.madies-pill-btn:hover {
  background: #f0f7ff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  color: #0284c7;
}

.madies-arrow-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.3s var(--ease-out);
  flex-shrink: 0;
}

.madies-pill-btn:hover .madies-arrow-circle {
  background: #1a385c;
  transform: rotate(45deg);
}

.madies-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #bae6fd;
  transition: color 0.3s;
}

.madies-phone-link:hover {
  color: #ffffff;
}

.madies-phone-link i {
  color: #38bdf8;
  font-size: 0.85rem;
}

/* ==================================================================
   DISTINCT ALTERNATING SECTION BACKGROUNDS (BALANCED MID-TONE THEME)
   ================================================================== */
.section {
  padding: 95px 0;
  position: relative;
}

.section-white {
  background: #f0f4f9;
}

.section-light {
  background: #e4edf6;
}

/* ─── 2. ABOUT US: Soothing Pearl Ice Slate Backdrop with Elevated White Cards ─── */
#about,
.about-section {
  background: #f0f4f9 !important;
  padding-top: 60px !important;
  padding-bottom: 65px !important;
  border-bottom: 1px solid #cbd5e1;
}

/* ─── 3. CLINICAL SERVICES: Soft Slate Blue Backdrop with Pure White Cards ─── */
#services,
.section-purple#services {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #e4edf6 !important;
  color: #0f172a;
  border-top: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
  padding: 75px 0 65px !important;
  position: relative;
  box-sizing: border-box;
}

#services .container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

#services .section-header {
  margin-bottom: 36px;
  text-align: center;
}

#services .section-header .section-title {
  color: #1a385c;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

#services .section-header .section-desc {
  color: #475569;
  font-size: 0.98rem;
  max-width: 650px;
  margin: 0 auto;
}

#services .section-badge {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
  padding: 5px 16px;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

#services .gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── SERVICES — HALF-CIRCLE ARC GRID ── */
.srv-arc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 26px;
  max-width: 1260px;
  margin: 0 auto;
  align-items: stretch;
}

/* ── CENTER DOCTOR PHOTO (Spans Columns 2 & 3, Rows 1 & 2) ── */
.srv-arc-hero {
  grid-column: 2 / 4;
  grid-row: 1 / 3;
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 50%, #e0eefd 100%);
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 14px 36px rgba(26, 56, 92, 0.12);
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.srv-hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, rgba(14, 165, 233, 0.1) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(25px);
  z-index: 1;
}

.srv-arc-hero-img-wrap {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
  padding-bottom: 70px;
}

.srv-arc-hero img {
  width: auto;
  max-width: 98%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 10px 20px rgba(15, 23, 42, 0.18));
}

.srv-arc-hero:hover img {
  transform: scale(1.03);
}

.srv-arc-hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 16px 20px 14px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.72) 75%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: center;
  align-items: center;
}

.srv-hero-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.srv-arc-hero-overlay h5 {
  font-family: Outfit, var(--font-heading);
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

.srv-arc-hero-overlay p {
  font-size: 0.78rem;
  color: #e0f2fe;
  margin: 0;
}

/* ── ARC GRID POSITIONS ── */
.srv-card-top-left {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.srv-card-mid-left {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.srv-card-top-right {
  grid-column: 4 / 5;
  grid-row: 1 / 2;
}

.srv-card-mid-right {
  grid-column: 4 / 5;
  grid-row: 2 / 3;
}

.srv-card-bottom-left {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
}

.srv-card-bottom-right {
  grid-column: 3 / 4;
  grid-row: 3 / 4;
}

/* ── ARC SERVICE CARDS (CRISP WHITE ON SOFT SLATE) ── */
.srv-arc-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 24px;
  padding: 42px 24px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(26, 56, 92, 0.06);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 145px;
}

.srv-arc-card:hover {
  transform: translateY(-4px);
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.16);
}

.srv-arc-card.srv-card-rose:hover {
  border-color: #f43f5e;
  box-shadow: 0 16px 36px rgba(244, 63, 94, 0.16);
}

/* ── FLOATING CIRCLE ARROW BUTTON ── */
.srv-arc-card .srv-bento-circle {
  position: absolute;
  top: -20px;
  left: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #1a385c 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.18rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  border: 2.5px solid #ffffff;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
}

.srv-arc-card .srv-bento-circle.circle-rose {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
  border-color: #ffffff;
}

.srv-arc-card:hover .srv-bento-circle {
  transform: rotate(45deg) scale(1.12);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
}

/* ── CARD TYPOGRAPHY ── */
.srv-arc-card h4 {
  font-family: Outfit, var(--font-heading);
  font-size: 1.14rem;
  font-weight: 800;
  color: #1a385c;
  margin: 0 0 8px;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

.srv-arc-card p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #475569;
  margin: 0;
}

.srv-arc-card.srv-card-rose p {
  color: #475569;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  #services,
  .section-purple#services {
    min-height: auto;
    padding: 70px 0 !important;
  }

  .srv-arc-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 32px 20px;
    padding-top: 10px;
  }

  .srv-arc-hero {
    grid-column: 1 / 3;
    grid-row: auto;
    order: -1;
    min-height: 280px;
  }

  .srv-card-top-left,
  .srv-card-mid-left,
  .srv-card-top-right,
  .srv-card-mid-right,
  .srv-card-bottom-left,
  .srv-card-bottom-right {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .srv-arc-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 6px;
  }

  .srv-arc-hero {
    grid-column: auto;
    min-height: 310px;
  }

  .srv-arc-hero-img-wrap {
    padding-bottom: 64px;
  }

  .srv-arc-hero img {
    height: 100%;
    max-width: 98%;
  }

  .srv-arc-hero-overlay {
    padding: 10px 14px 8px;
  }

  .srv-arc-hero-overlay h5 {
    font-size: 0.98rem;
  }

  .srv-arc-hero-overlay p {
    font-size: 0.72rem;
  }
}

/* ─── 4. HOSPITAL AFFILIATIONS (Handled in css/affiliations.css) ─── */

/* ─── 5. GALLERY: Soft Slate Blue Section ─── */
#gallery,
#gallery.section-purple,
.section-purple#gallery {
  background: #e4edf6 !important;
  color: #0f172a !important;
  padding: 85px 0 !important;
  border-top: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
}

#gallery .section-header .section-title {
  color: #1a385c;
}

#gallery .section-header .section-desc {
  color: #475569;
}

#gallery .section-header .section-badge {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

#gallery .gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}



/* (Testimonials styles moved to css/testimonials.css) */

/* (FAQ styles moved to css/faq.css) */
/* (Contact & Appointment styles moved to css/contact.css) */
/* (Footer styles moved to css/footer.css) */

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--primary-50);
  color: var(--primary-600);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary-200);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-badge.badge-gold {
  background: #fefce8;
  color: var(--gold-500);
  border-color: #fde68a;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ==================================================================
   ABOUT US SECTION — Imported from about.css
   ================================================================== */
@import url('about.css');

/* ==================================================================
   SERVICES
   ================================================================== */
.filter-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
  background: var(--bg-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--primary-300);
  color: var(--primary-600);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-blue);
}

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

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.icon-purple,
.icon-blue {
  background: var(--primary-50);
  color: var(--primary-600);
}

.icon-rose {
  background: var(--rose-50);
  color: var(--rose-500);
}

.service-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  width: fit-content;
}

.tag-purple,
.tag-blue {
  background: var(--primary-50);
  color: var(--primary-700);
  border: 1px solid var(--primary-200);
}

.tag-rose {
  background: var(--rose-50);
  color: var(--rose-600);
  border: 1px solid var(--rose-200);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1;
}

.service-card ul {
  margin-bottom: 16px;
}

.service-card ul li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--gray-600);
  padding: 3px 0;
}

.service-card ul li i {
  color: var(--primary-500);
  font-size: 0.75rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-600);
  cursor: pointer;
  transition: all 0.3s;
  margin-top: auto;
}

.service-link:hover {
  gap: 10px;
  color: var(--primary-700);
}

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

.why-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}

.why-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary-600);
  font-size: 1.4rem;
  margin: 0 auto 18px;
  transition: all 0.3s;
}

.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: white;
  box-shadow: var(--shadow-blue);
}

.why-icon.icon-rose {
  background: var(--rose-50);
  color: var(--rose-500);
}

.why-card:hover .why-icon.icon-rose {
  background: linear-gradient(135deg, var(--rose-400), var(--rose-600));
  box-shadow: var(--shadow-rose);
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ==================================================================
   AFFILIATIONS
   ================================================================== */
.affiliations-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.affiliation-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
}

.affiliation-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.affiliation-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary-600);
  font-size: 1.2rem;
  margin: 0 auto 14px;
}

.affiliation-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.affiliation-loc {
  display: block;
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.affiliation-scope {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 500;
  background: var(--primary-50);
  color: var(--primary-600);
  border-radius: var(--radius-full);
}

.insurance-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--bg-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--gray-600);
}

.insurance-note i {
  color: var(--primary-500);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* (Gallery styles moved to css/gallery.css) */

/* (Testimonials styles moved to css/testimonials.css) */

/* ==================================================================
   FAQ
   ================================================================== */
.faq-container {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-white);
  transition: all 0.3s;
}

.faq-item.is-open {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-sm);
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
  transition: all 0.3s;
}

.faq-btn:hover {
  color: var(--primary-600);
}

.faq-btn i {
  font-size: 1rem;
  color: var(--gray-400);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.is-open .faq-btn i {
  transform: rotate(180deg);
  color: var(--primary-500);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ==================================================================
   CONTACT SECTION
   ================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.info-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.info-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 20px;
}

.info-card h3 i {
  color: var(--primary-500);
}

.info-row {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}

.info-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary-600);
  flex-shrink: 0;
  font-size: 1rem;
}

.info-row h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 2px;
}

.info-row p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.info-row p a {
  color: var(--primary-600);
  font-weight: 500;
}

.info-row p a:hover {
  text-decoration: underline;
}

.opd-timings {
  margin-top: 20px;
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
}

.timing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
}

.timing-row:last-child {
  border-bottom: none;
}

.open-badge {
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 700;
  color: #22c55e;
  background: #f0fdf4;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 6px;
}

.muted {
  color: var(--gray-400);
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.map-wrap iframe {
  width: 100%;
  height: 260px;
  border: none;
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}

.form-top {
  margin-bottom: 24px;
}

.form-top h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.form-top p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.booking-form .form-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.booking-form .form-group {
  margin-bottom: 14px;
}

.booking-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--gray-700);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: all 0.3s;
  outline: none;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--primary-400);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.booking-form textarea {
  resize: vertical;
  min-height: 70px;
}

.wa-alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--gray-500);
}

.wa-alt a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: #25d366;
}

.wa-alt a:hover {
  text-decoration: underline;
}

.form-alert {
  display: none;
  margin-top: 14px;
  padding: 14px 18px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.6;
}

.form-alert.show {
  display: block;
}

/* ==================================================================
   FOOTER
   ================================================================== */
.site-footer {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand .brand-icon svg {
  width: 32px;
  height: 32px;
}

.footer-name {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: 1px;
}

.footer-sub {
  display: block;
  font-size: 0.7rem;
  color: var(--gray-500);
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.footer-links-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links-col ul li {
  margin-bottom: 8px;
}

.footer-links-col ul li a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--gray-500);
  transition: all 0.3s;
}

.footer-links-col ul li a:hover {
  color: var(--primary-600);
  padding-left: 4px;
}

.footer-links-col ul li a i {
  font-size: 0.7rem;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.footer-contact p i {
  color: var(--primary-500);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact p a {
  color: var(--primary-600);
}

.footer-disclaimer {
  padding: 16px 0;
  border-top: 1px solid var(--gray-200);
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-top: 1px solid var(--gray-200);
  font-size: 0.82rem;
  color: var(--gray-500);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--gray-500);
}

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

/* ==================================================================
   FLOATING WIDGETS
   ================================================================== */
.float-whatsapp,
.float-call {
  position: fixed;
  z-index: 900;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.3rem;
  color: white;
  transition: all 0.3s;
}

.float-whatsapp {
  bottom: 84px;
  right: 28px;
  background: #25d366;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.float-call {
  bottom: 144px;
  right: 28px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  box-shadow: 0 6px 20px rgba(126, 34, 206, 0.4);
  display: none;
}

.float-whatsapp:hover,
.float-call:hover {
  transform: scale(1.1);
}

/* Back to Top — Positioned below WhatsApp icon on the right side */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 30px;
  left: auto;
  z-index: 900;
  width: 48px;
  height: 48px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-bg {
  fill: none;
  stroke: var(--gray-200);
  stroke-width: 3;
}

.progress-bar {
  fill: none;
  stroke: var(--primary-500);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  transition: stroke-dashoffset 0.2s;
}

.back-to-top button {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--bg-white);
  color: var(--primary-600);
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.back-to-top button:hover {
  background: var(--primary-500);
  color: white;
}

/* ==================================================================
   BOOKING MODAL
   ================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
}

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

.modal-box {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s var(--ease-spring);
}

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

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 0;
}

.modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-800);
}

.modal-header p {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-600);
  transition: all 0.3s;
}

.modal-close:hover {
  background: var(--gray-200);
}

.modal-box .booking-form {
  padding: 24px 28px 28px;
}

.modal-box .booking-form .form-dual {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 16px;
}

.modal-privacy {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 14px;
}

.modal-privacy i {
  color: var(--gray-400);
}

/* ==================================================================
   SCROLL ANIMATIONS
   ================================================================== */
.anim-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.anim-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-up.delay-1 {
  transition-delay: 0.1s;
}

.anim-up.delay-2 {
  transition-delay: 0.2s;
}

.anim-up.delay-3 {
  transition-delay: 0.3s;
}

.anim-up.delay-4 {
  transition-delay: 0.4s;
}

/* ==================================================================
   RESPONSIVE (TABLET & MOBILE OPTIMIZATIONS)
   ================================================================== */
@media (max-width: 1200px) {
  .site-header {
    width: min(1160px, calc(100% - 32px));
  }

  .header-nav .nav-link {
    padding: 7px 14px;
    font-size: 0.84rem;
  }

  .madies-container {
    padding: 85px 24px 30px;
  }

  .madies-doctors-portrait {
    height: 75vh;
    max-height: 560px;
    width: auto;
  }

  .madies-doctors-portrait img {
    max-width: min(560px, 43vw);
  }

  .madies-col-left,
  .madies-col-right {
    width: 280px;
    max-width: 280px;
  }
}

/* ── TABLET MODE (768px - 1140px) ── */
@media (max-width: 1140px) {
  .header-nav {
    display: none !important;
  }

  .header-phone span {
    display: none;
  }

  .mobile-menu-btn {
    display: flex !important;
  }

  .site-header {
    width: min(960px, calc(100% - 32px));
  }
}

@media (max-width: 1024px) {

  /* Hero Section: Centered Portrait + Balanced 2-Column Doctors Grid */
  .hero-madies {
    height: auto;
    min-height: 100vh;
    max-height: none;
    padding: 110px 0 60px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .madies-doctors-portrait {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100%;
    max-width: 580px;
    height: 480px;
    margin: 0 auto 24px;
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  .madies-doctors-portrait img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom center;
  }

  .madies-container {
    height: auto;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px;
    align-items: stretch;
    justify-content: center;
  }

  .madies-col-left,
  .madies-col-right {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(56, 189, 248, 0.3);
    border-radius: 22px;
    padding: 24px 22px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .madies-col-right {
    border-color: rgba(251, 113, 133, 0.3);
  }

  .madies-pill-btn {
    width: 100%;
    justify-content: space-between;
  }

  .madies-phone-link {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
  }

  /* Services Grid on Tablet */
  .srv-arc-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 26px;
    padding-top: 20px;
  }

  .srv-arc-hero {
    grid-column: 1 / -1;
    grid-row: auto;
    order: -1;
    min-height: 250px;
    max-height: 280px;
  }

  .srv-card-top-left,
  .srv-card-mid-left,
  .srv-card-top-right,
  .srv-card-mid-right,
  .srv-card-bottom-left,
  .srv-card-bottom-right {
    grid-column: auto;
    grid-row: auto;
  }

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

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

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

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

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

/* ── MOBILE PHONES & COMPACT TABLETS (< 768px) ── */
@media (max-width: 768px) {

  /* Header Pill */
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    max-width: 100%;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(2, 132, 199, 0.16);
    box-shadow: 0 10px 30px -5px rgba(11, 26, 48, 0.14), 0 2px 6px rgba(0, 0, 0, 0.04);
  }

  .site-header.scrolled {
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 4px 20px rgba(11, 26, 48, 0.08) !important;
  }

  .header-container {
    padding: 0 14px;
    height: 58px;
  }

  .header-brand {
    gap: 9px;
    text-decoration: none;
  }

  .site-logo {
    height: 46px;
    max-width: 110px;
  }

  .brand-icon svg {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    filter: drop-shadow(0 2px 5px rgba(2, 132, 199, 0.2));
  }

  .brand-name {
    font-size: 0.82rem;
    letter-spacing: 0.4px;
    font-weight: 800;
    color: #0b1a30;
    line-height: 1.15;
  }

  .brand-sub {
    font-size: 0.58rem;
    font-weight: 700;
    color: #0284c7;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }

  .header-phone {
    display: none;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .header-cta {
    padding: 7px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 9999px;
    background: linear-gradient(135deg, #0b1a30 0%, #0284c7 100%);
    box-shadow: 0 3px 12px rgba(2, 132, 199, 0.28);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
  }

  .header-cta span {
    display: inline !important;
  }

  .mobile-menu-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .mobile-menu-btn:hover,
  .mobile-menu-btn:active {
    background: #e2e8f0;
  }

  .mobile-menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: #0b1a30;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
  }

  .mobile-menu-btn.active {
    background: #fee2e2;
    border-color: #fecaca;
  }

  .mobile-menu-btn.active span {
    background: #ef4444;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Hero Section on Mobile: First Glance (Image + 2-3 Lines Writeup) then Doctor Details */
  .hero-madies {
    padding: 0 0 36px;
    height: auto;
    min-height: auto;
    max-height: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .madies-bg-canvas::before {
    background-image: 
      linear-gradient(180deg, rgba(13, 30, 52, 0.58) 0%, rgba(26, 56, 92, 0.32) 40%, rgba(10, 24, 42, 0.88) 100%),
      url('../img/hero-medical-bg-mob.jpg');
    background-position: center top;
    opacity: 0.42;
    mix-blend-mode: normal;
    filter: blur(0.8px);
  }

  .mobile-hero-first-glance {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100svh;
    min-height: 100vh;
    padding: 72px 16px 24px;
    box-sizing: border-box;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 5;
  }

  .madies-doctors-portrait {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100%;
    max-width: 380px;
    height: auto;
    max-height: 44vh;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
  }

  .madies-doctors-portrait img {
    height: 42vh;
    max-height: 290px;
    min-height: 210px;
    width: auto;
    max-width: 88vw;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.4));
  }

  .mobile-hero-writeup {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 12px 0;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .mobile-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 9999px;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #7dd3fc;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
  }

  .mobile-hero-badge i {
    color: #38bdf8;
  }

  .mobile-hero-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 6px 0;
    letter-spacing: -0.3px;
  }

  .mobile-hero-desc {
    font-size: 0.82rem;
    line-height: 1.45;
    color: #cbd5e1;
    margin: 0 0 14px 0;
    max-width: 330px;
  }

  .mobile-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  }

  .mobile-hero-btn:hover,
  .mobile-hero-btn:active {
    background: #0284c7;
    border-color: #38bdf8;
    color: #ffffff;
  }

  .mobile-hero-btn i {
    color: #38bdf8;
    font-size: 0.85rem;
    animation: bounceDown 1.8s infinite;
  }

  @keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(4px); }
    60% { transform: translateY(2px); }
  }

  /* Doctor Details Stage (Immediately below first glance) */
  .madies-container {
    display: flex !important;
    flex-direction: column !important;
    padding: 16px 16px 0 !important;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
    scroll-margin-top: 70px;
  }

  .madies-col-left,
  .madies-col-right {
    width: 100% !important;
    padding: 20px 16px;
    border-radius: 20px;
    gap: 14px;
  }

  .doc-name {
    font-size: 1.18rem;
  }

  .doc-qual {
    font-size: 0.78rem;
  }

  .doc-statement {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .doc-bullets li {
    font-size: 0.78rem;
  }

  .madies-pill-btn {
    width: 100%;
    padding: 9px 12px 9px 16px;
    font-size: 0.88rem;
  }

  /* Section Standard Padding on Mobile (Compact & Scroll-Optimized) */
  .section {
    padding: 42px 0;
  }

  .section-header {
    margin-bottom: 24px;
  }

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

  .section-desc {
    font-size: 0.88rem;
  }

  .container {
    padding: 0 16px;
  }

  /* Services Grid on Mobile (2-Column Compact Grid) */
  .srv-arc-layout {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding-top: 12px;
  }

  .srv-arc-hero {
    grid-column: 1 / -1 !important;
    min-height: 250px !important;
    max-height: 270px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    position: relative !important;
    background: linear-gradient(145deg, #ffffff 0%, #edf5fc 45%, #dbeafe 100%) !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 10px 28px rgba(26, 56, 92, 0.12) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: center !important;
  }

  .srv-hero-glow {
    width: 200px !important;
    height: 200px !important;
    top: 5% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    filter: blur(25px) !important;
    pointer-events: none !important;
  }

  .srv-arc-hero-img-wrap {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding-bottom: 56px !important;
    overflow: hidden !important;
    z-index: 1 !important;
  }

  .srv-arc-hero img {
    height: 100% !important;
    width: auto !important;
    max-width: 90% !important;
    max-height: 198px !important;
    object-fit: contain !important;
    object-position: bottom center !important;
    display: block !important;
    filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.22)) !important;
  }

  .srv-arc-hero-overlay {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    padding: 12px 14px 10px !important;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.82) 65%, rgba(15, 23, 42, 0.35) 90%, transparent 100%) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    text-align: center !important;
    align-items: center !important;
  }

  .srv-hero-tag {
    font-size: 0.66rem !important;
    font-weight: 800 !important;
    color: #38bdf8 !important;
    letter-spacing: 0.4px !important;
    gap: 5px !important;
  }

  .srv-arc-hero-overlay h5 {
    font-family: Outfit, var(--font-heading) !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.2px !important;
  }

  .srv-arc-hero-overlay p {
    font-size: 0.72rem !important;
    color: #e0f2fe !important;
    margin: 0 !important;
    line-height: 1.3 !important;
  }

  .srv-arc-card {
    padding: 24px 10px 12px !important;
    border-radius: 14px;
    min-height: auto;
  }

  .srv-arc-card .srv-bento-circle {
    top: -12px;
    left: 12px;
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .srv-arc-card h4 {
    font-size: 0.84rem !important;
    margin-bottom: 3px !important;
  }

  .srv-arc-card p {
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
  }

  /* Why Choose & Affiliations on Mobile */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .why-card {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .affiliation-card {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .insurance-note {
    padding: 14px 18px;
    font-size: 0.84rem;
  }

  .legal-modal-body {
    padding: 18px 20px 22px;
    font-size: 0.86rem;
  }

  /* Booking & Legal Modals */
  .modal-box {
    max-width: calc(100% - 24px);
    margin: 0 auto;
    border-radius: 20px;
  }

  .modal-header {
    padding: 18px 20px 0;
  }

  .modal-box .booking-form {
    padding: 16px 20px 20px;
  }

  .booking-form .form-dual,
  .modal-box .booking-form .form-dual {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Inputs 16px to prevent iOS auto-zoom */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important;
  }

  /* Floating Widgets on Mobile: Non-Intrusive, Streamlined */
  .float-whatsapp {
    bottom: 20px;
    right: 18px;
    width: 48px;
    height: 48px;
    font-size: 1.45rem;
    z-index: 995;
  }

  .back-to-top {
    bottom: 76px;
    right: 20px;
    width: 42px;
    height: 42px;
    z-index: 995;
  }

  .float-call {
    display: none !important;
  }
}

/* ── SMALL MOBILE PHONES (< 480px) ── */
@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .site-header {
    width: calc(100% - 16px);
    top: 8px;
  }

  .header-container {
    padding: 0 12px 0 20px;
    height: 62px;
  }

  .header-brand {
    gap: 7px;
    margin-left: 6px;
  }

  .site-logo {
    height: 48px;
    max-width: 120px;
  }

  .brand-icon svg {
    width: 30px;
    height: 30px;
  }

  .brand-name {
    font-size: 0.76rem;
    letter-spacing: 0.3px;
  }

  .brand-sub {
    font-size: 0.54rem;
  }

  .header-actions {
    gap: 6px;
  }

  .header-cta {
    padding: 6px 11px;
    font-size: 0.74rem;
  }

  .mobile-menu-btn {
    width: 36px;
    height: 36px;
  }

  .mobile-menu-btn span {
    width: 16px;
  }

  .hero-madies {
    padding: 0 0 32px;
  }

  .mobile-hero-first-glance {
    padding: 66px 14px 16px;
  }

  .madies-doctors-portrait {
    height: auto;
    max-width: 330px;
    margin: 0 auto;
  }

  .madies-doctors-portrait img {
    height: 40vh;
    max-height: 265px;
    min-height: 200px;
  }

  .mobile-hero-title {
    font-size: 1.35rem;
  }

  .mobile-hero-desc {
    font-size: 0.8rem;
    max-width: 310px;
    margin-bottom: 12px;
  }

  .mobile-hero-btn {
    padding: 7px 16px;
    font-size: 0.74rem;
  }

  .madies-container {
    padding: 14px 12px 0 !important;
    gap: 14px;
  }

  .madies-col-left,
  .madies-col-right {
    padding: 16px 14px;
    border-radius: 16px;
    gap: 12px;
  }

  .doc-name {
    font-size: 1.1rem;
  }

  .doc-qual {
    font-size: 0.74rem;
  }

  .doc-statement {
    font-size: 0.8rem;
  }

  .doc-bullets li {
    font-size: 0.75rem;
    gap: 6px;
  }

  .doc-badge {
    font-size: 0.68rem;
    padding: 3px 8px;
  }

  .madies-pill-btn {
    padding: 8px 10px 8px 14px;
    font-size: 0.82rem;
  }

  .madies-phone-link {
    font-size: 0.8rem;
  }

  .section {
    padding: 32px 0;
  }

  .section-header {
    margin-bottom: 18px;
  }

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

  .section-desc {
    font-size: 0.82rem;
  }

  .srv-arc-hero {
    min-height: 240px !important;
    max-height: 260px !important;
  }

  .srv-arc-hero img {
    max-height: 185px !important;
  }

  .srv-arc-hero-overlay h5 {
    font-size: 0.95rem !important;
  }

  .srv-arc-hero-overlay p {
    font-size: 0.68rem !important;
  }

  .why-card {
    padding: 16px 14px;
  }

  .modal-header {
    padding: 16px 16px 0;
  }

  .modal-box .booking-form {
    padding: 14px 16px 18px;
  }

  .legal-modal-body {
    padding: 14px 16px 18px;
    font-size: 0.82rem;
  }

  .tpa-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

@media (max-width: 370px) {
  .site-header {
    width: calc(100% - 12px);
    top: 6px;
  }

  .header-container {
    padding: 0 8px;
    height: 52px;
  }

  .brand-sub {
    display: none;
  }

  .brand-name {
    font-size: 0.72rem;
  }

  .header-cta {
    padding: 6px 9px;
    font-size: 0.7rem;
  }
}

/* ─── Legal Modals (Medical Disclaimer, Privacy Policy, Insurance) ─── */
.legal-modal-box {
  max-width: 620px;
}

.legal-modal-body {
  padding: 20px 28px 28px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.legal-modal-body h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 8px 0 2px;
}

.legal-modal-body p {
  margin: 0;
}

.legal-modal-body ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-badge-notice {
  background: #f0f7ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.84rem;
  color: #075985;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.legal-badge-notice i {
  font-size: 1.1rem;
  color: #0284c7;
  margin-top: 2px;
}

.tpa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.tpa-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 12px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
}