/* ============================================================
   CarePulse — style.css
   Design System: Inter body · Sora headings
   Max-width: 1200px · Base spacing: 2.5rem padding
   ============================================================ */

/* ── 1. DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* Palette */
  --bg:       #eef2f8;
  --white:    #ffffff;
  --blue:     #3b6ef8;
  --blue-2:   #5b8aff;
  --blue-3:   #e8effe;
  --navy:     #0f1e40;
  --muted:    #6b7a99;
  --border:   #dde4f0;
  --text:     #1a2340;
  --teal:     #00b4a0;
  --teal-2:   #26c9b5;

  /* Typography */
  --font-head: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --pad-x:   2.5rem;
  --max-w:   1200px;
  --radius:  12px;
  --radius-lg: 20px;

  /* Transitions */
  --ease:    cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);

  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;

}

/* ── 2. RESET ───────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }


.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── 3. CUSTOM CURSOR ───────────────────────────────────────── */
#cursor {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease), height 0.2s var(--ease), background 0.2s;
}

#cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(59, 110, 248, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.2s;
}

body:has(a:hover) #cursor,
body:has(button:hover) #cursor { width: 22px; height: 22px; background: rgba(59,110,248,0.7); }
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring { width: 52px; height: 52px; border-color: rgba(59,110,248,0.6); }

.cursor-spotlight {
  position: fixed;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,110,248,0.06), transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
}

/* ── 4. SCROLL PROGRESS ─────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal-2));
  width: 0%;
  z-index: 9997;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(59,110,248,0.5);
}

/* ── 5. UTILITY: LAYOUT ─────────────────────────────────────── */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  
  padding: 5rem var(--pad-x);
}

.section-label {
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section-label--light { color: var(--teal-2); }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.section-title--light { color: #fff; }

.section-sub {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 3rem;
  font-weight: 300;
}
.section-sub--light { color: rgba(255,255,255,0.5); }

.accent { color: var(--blue); }
.divider { height: 1px; background: var(--border); margin: 0 var(--pad-x); }

/* ── 6. FADE-UP ANIMATION ───────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── 7. BUTTON SYSTEM ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 500;
  transition: transform 0.15s var(--ease), box-shadow 0.2s, opacity 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: scale(0.96); }


.btn--sm   { font-size: 0.78rem; padding: 0.4rem 1rem; }
.btn--md   { font-size: 0.85rem; padding: 0.65rem 1.4rem; }
.btn--full { width: 100%; border-radius: var(--radius); padding: 0.9rem; font-size: 0.9rem; margin-top: 0.5rem;}
.btn--full:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.2);
}


.btn--primary {
  background: var(--blue);
  color: #fff;
}
.btn--primary:hover { box-shadow: 0 6px 20px rgba(59,110,248,0.35); }

.btn--dark {
  background: var(--navy);
  color: #fff;
}
.btn--dark:hover { box-shadow: 0 6px 20px rgba(15,30,64,0.3); }

/* .btn--outline {
  border-color: var(--border);
  color: var(--navy);
  background: transparent;
} */
 .btn--outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  padding: 0.65rem 1.4rem;
}
.btn--outline:hover { border-color: var(--blue); color: var(--blue); box-shadow: 0 4px 12px rgba(59,110,248,0.1); }

.btn--outline-blue {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-3);
}
.btn--outline-blue:hover { background: var(--blue); color: #fff; box-shadow: 0 4px 16px rgba(59,110,248,0.3); }

.btn--ghost-blue {
  background: var(--blue-3);
  color: var(--blue);
  border-color: transparent;
}
.btn--ghost-blue:hover { box-shadow: 0 6px 16px rgba(59,110,248,0.2); }

.btn--gradient {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  border: none;
  font-weight: 600;
}
.btn--gradient:hover { opacity: 0.9; box-shadow: 0 8px 24px rgba(59,110,248,0.35); }

.btn-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}
.btn--ghost-blue .btn-icon { background: var(--blue); color: #fff; }


.btn--lg { 
  font-size: 0.95rem; 
  padding: 0.9rem 2rem; 
}


/* ── 8. NAV ─────────────────────────────────────────────────── */
nav {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(221,228,240,0.6);
  padding: 0 var(--pad-x);
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 30px rgba(15,30,64,0.07); }

.logo {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.logo-icon {
  width: 26px; height: 26px;
  background: var(--blue);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-link {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 3px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0%; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.nav-link:hover,
.nav-link.active { color: var(--navy); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ── 9. HERO ────────────────────────────────────────────────── */
.hero-wrapper { background: var(--bg); padding: 0 0 1rem; }

.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  
  padding: 4rem var(--pad-x) 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  max-width: 240px;
}
.hero-eyebrow span { display: block; font-weight: 400; }

.trusted-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.9rem 0.35rem 0.35rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.trusted-avatars { display: flex; }
.tavatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-right: -6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
  font-weight: 600;
  color: #fff;
}
.tavatar.a1 { background: #3b6ef8; }
.tavatar.a2 { background: #22c55e; }
.tavatar.a3 { background: #f59e0b; }

.trusted-text { font-size: 0.72rem; color: var(--navy); font-weight: 500; }
.trusted-text strong { color: var(--blue); }

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.hero-btns {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}


.search-wrap {
  position: relative;
  max-width: 480px;
  margin-bottom: 1.5rem;
}
.hero-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 0.5rem 0.5rem 1.2rem;
  box-shadow: 0 4px 16px rgba(59,110,248,0.08);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.hero-search:focus-within { border-color: var(--blue); box-shadow: 0 4px 24px rgba(59,110,248,0.18); }
.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.82rem;
  color: var(--text);
  background: transparent;
}
.hero-search input::placeholder { color: var(--muted); }
.search-icon { font-size: 0.9rem; flex-shrink: 0; }

.search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  z-index: 50;
}
.search-suggestions[hidden] { display: none; }

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  transition: background 0.15s;
}
.suggestion-item:hover { background: var(--blue-3); }
.suggestion-icon { font-size: 1rem; }
.suggestion-text { font-size: 0.8rem; color: var(--navy); font-weight: 500; }
.suggestion-sub { font-size: 0.68rem; color: var(--muted); }

/* ── 10. HERO VISUAL ────────────────────────────────────────── */

.hero-visual {
  position: relative;
  height: 460px;
}

.hero-nav-dot {
  position: absolute;
  left: -20px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  background: var(--blue);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px rgba(59,110,248,0.2);
  z-index: 10;
}


.carousel-track {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.carousel-slide.active { opacity: 1; transform: translateX(0); pointer-events: auto; }


 .slide-bg {
  width: 100%; height: 100%;
  overflow: hidden;
  position: relative;
}
.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide.active .slide-img {
  transform: scale(1.03);
}
.slide-bg--blue  { background: linear-gradient(135deg, #c8d8f8, #a8c0f0); }
.slide-bg--teal  { background: linear-gradient(135deg, #d4f8f4, #b8f0ea); }
.slide-bg--navy  { background: linear-gradient(135deg, #dde8f8, #c8d8f4); }

.slide-figure { font-size: 13rem; line-height: 1; opacity: 0.9; }
.carousel-slide.active .slide-figure { transform: scale(1.02); transition: transform 0.6s var(--ease); }

.slide-label {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--navy);
}


.float-card {
  position: absolute;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.8);
  z-index: 5;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.float-card:hover { box-shadow: 0 8px 32px rgba(59,110,248,0.15); transform: translateY(-3px) !important; }

.fc-lung  { top: 1rem;   left: -1rem;  min-width: 150px; }
.fc-sun   { top: 1rem;   right: -1rem; min-width: 130px; }
.fc-ortho { top: 4.5rem; left: 3rem;   min-width: 185px; }
.fc-alex  { top: 4.5rem; right: -1rem; min-width: 160px; }

.fc-label  { font-size: 0.6rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.3rem; }
.fc-title  { font-size: 0.78rem; font-weight: 600; color: var(--navy); }
.fc-sub    { font-size: 0.65rem; color: var(--muted); margin-top: 0.15rem; }
.fc-row    { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.35rem; }
.fc-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #a8c0f0, #7090d0); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; flex-shrink: 0; }

.fc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--blue-3);
  color: var(--blue);
  font-size: 0.62rem;
  font-weight: 600;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  margin-top: 0.4rem;
}
.fc-badge--green  { background: #dcfce7; color: #16a34a; }
.fc-badge--orange { background: #fff3e0; color: #f59e0b; }


.hero-arr {
  position: absolute;
  bottom: 4.5rem; right: -1rem;
  display: flex; gap: 0.4rem;
  z-index: 10;
}
.harr-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  cursor: pointer;
  transition: all 0.2s;
}
.harr-btn:hover,
.harr-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 4px 12px rgba(59,110,248,0.35); }


.spec-pills-wrap {
  position: absolute;
  bottom: 2.5rem; left: 0; right: 0;
  display: flex; flex-direction: column; gap: 0.4rem; align-items: center;
  z-index: 5;
}
.specialist-pills { display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: center; }

.spec-pill {
  font-size: 0.62rem;
  font-weight: 500;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--navy);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.spec-pill:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); border-color: var(--blue); color: var(--blue); }
.spec-pill.active { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 4px 12px rgba(59,110,248,0.3); }


.patient-dash {
  position: absolute;
  bottom: -1rem; left: -2rem;
  background: #fff;
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border: 1px solid var(--border);
  width: 220px;
  z-index: 10;
  transition: transform 0.3s, box-shadow 0.3s;
}
.patient-dash:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(59,110,248,0.15); }

.pd-top { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.pd-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #ddf0f8, #c0e4f4); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; }
.pd-name { font-family: var(--font-head); font-weight: 600; font-size: 0.75rem; color: var(--navy); }
.pd-id { font-size: 0.6rem; color: var(--muted); }
.pd-badge { margin-left: auto; background: #dcfce7; color: #16a34a; font-size: 0.55rem; font-weight: 600; padding: 0.15rem 0.5rem; border-radius: 999px; }

.vitals { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; margin-bottom: 0.75rem; }
.vital { background: var(--bg); border-radius: 6px; padding: 0.4rem 0.3rem; text-align: center; border: 1px solid var(--border); }
.vital-val { font-size: 0.7rem; font-weight: 700; color: var(--navy); }
.vital-label { font-size: 0.5rem; color: var(--muted); margin-top: 0.1rem; }
.vital--warn .vital-val { color: #d97706; }

.appt-mini { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.75rem; }
.appt-row { display: flex; align-items: center; gap: 0.5rem; }
.appt-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.appt-dot--blue { background: var(--blue); }
.appt-dot--teal { background: var(--teal); }
.appt-dot--gray { background: #cbd5e1; }
.appt-text { font-size: 0.62rem; color: var(--navy); font-weight: 500; }
.appt-time { font-size: 0.58rem; color: var(--muted); margin-left: auto; }
.patient-dash .btn--full { padding: 1.25rem 1.05rem !important; }
.patient-dash .btn--dash-cta {
  padding: 1.65rem 1.35rem !important;
  min-height: 4.1rem !important;
}

/* ── 11. STATS ──────────────────────────────────────────────── */
.stats {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item { text-align: center; padding: 1rem; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.stat-num span { color: var(--blue); }
.stat-label { font-size: 0.75rem; color: var(--muted); margin-top: 0.2rem; }

/* ── 12. ABOUT ──────────────────────────────────────────────── */
.about {
  max-width: var(--max-w);
  margin: 0 auto;
  
  padding: 5rem var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.about-left {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.3s;
}
.about-left:hover { box-shadow: 0 10px 40px rgba(59,110,248,0.1); transform: translateY(-4px); }

.insight-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--blue-3);
  color: var(--blue);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.about-date { font-size: 0.72rem; color: var(--muted); margin-bottom: 0.75rem; }
.about-thumb { height: 130px; background: linear-gradient(135deg, #a8d0c8, #70a8a0); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 4rem; margin-bottom: 1.2rem; transition: transform 0.4s var(--ease); }
.about-left:hover .about-thumb { transform: scale(1.04); }
.about-left h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--navy); line-height: 1.5; margin-bottom: 1.5rem; }

.about-right { display: flex; flex-direction: column; justify-content: center; padding: 1rem 0 1rem 1rem; }

.inside-tag { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--blue); color: #fff; font-size: 0.62rem; font-weight: 600; padding: 0.25rem 0.65rem; border-radius: 999px; margin-bottom: 1.2rem; }

.about-right h2 { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 1.5rem; }

.learn-more-row { display: flex; align-items: center; gap: 0.75rem; }
.learn-more-text { font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; color: var(--navy); letter-spacing: 0.06em; text-transform: uppercase; }
.learn-more-btn { width: 34px; height: 34px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.8rem; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.learn-more-btn:hover { transform: scale(1.15) rotate(45deg); box-shadow: 0 6px 16px rgba(15,30,64,0.25); }
.learn-more-icon { width: 32px; height: 32px; background: var(--blue-3); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }

/* ── 13. TEAM + SUBSCRIBE ───────────────────────────────────── */
.team-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x) 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.team-left { display: flex; flex-direction: column; gap: 1.5rem; }

.team-card { background: var(--white); border-radius: 16px; padding: 1.8rem; border: 1px solid var(--border); }
.team-tag { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--blue-3); color: var(--blue); font-size: 0.62rem; font-weight: 600; padding: 0.25rem 0.65rem; border-radius: 999px; margin-bottom: 0.9rem; }
.team-card h3 { font-family: var(--font-head); font-size: 0.88rem; color: var(--navy); line-height: 1.5; margin-bottom: 1rem; }

.team-avatars { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; }
.tm-av { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; border: 2px solid #fff; cursor: pointer; transition: transform 0.2s; }
.tm-av:hover { transform: scale(1.2) translateY(-4px); }
.tm-av--c1 { background: linear-gradient(135deg, #fde68a, #f59e0b); }
.tm-av--c2 { background: linear-gradient(135deg, #bbf7d0, #22c55e); }
.tm-av--c3 { background: linear-gradient(135deg, #bfdbfe, #3b82f6); }
.tm-av--c4 { background: linear-gradient(135deg, #fecdd3, #f43f5e); }
.tm-av--c5 { background: linear-gradient(135deg, #e9d5ff, #a855f7); }

.progress-bar-wrap { width: 100%; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--teal-2)); border-radius: 2px; width: 0%; transition: width 1.2s var(--ease); }

.subscribe-card { background: var(--white); border-radius: 16px; padding: 1.8rem; border: 1px solid var(--border); }
.bonus-tag { display: inline-flex; align-items: center; gap: 0.4rem; background: #fff3e0; color: #f59e0b; font-size: 0.62rem; font-weight: 600; padding: 0.25rem 0.65rem; border-radius: 999px; margin-bottom: 0.75rem; }
.subscribe-card h3 { font-family: var(--font-head); font-size: 0.88rem; color: var(--navy); margin-bottom: 0.3rem; }
.subscribe-card h3 span { font-weight: 300; color: var(--muted); }

.sub-input-row { display: flex; gap: 0.5rem; margin-top: 1rem; }
.sub-input { flex: 1; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 0.65rem 1rem; font-size: 0.8rem; color: var(--text); outline: none; transition: border-color 0.2s; }
.sub-input:focus { border-color: var(--blue); }

.team-right {
  background: linear-gradient(135deg, #b8d0e8, #88aacc);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9rem;
  position: relative;
  min-height: 300px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s;
}
.team-right:hover { transform: scale(1.02); }
.team-right::after { content: ''; position: absolute; inset: 0; background: rgba(15,30,64,0.1); opacity: 0; transition: opacity 0.3s; }
.team-right:hover::after { opacity: 1; }

.play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 5;
}
.play-btn:hover { transform: translate(-50%,-50%) scale(1.15); box-shadow: 0 0 30px rgba(255,255,255,0.5); }

.team-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ── 14. DOCTORS ────────────────────────────────────────────── */
.doctors-wrap { padding: 4rem var(--pad-x); max-width: var(--max-w); margin: 0 auto; }

.doctor-filter-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }

.filter-btn {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 4px 12px rgba(59,110,248,0.3); }

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

.doc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.25s, transform 0.25s, opacity 0.3s;
}
.doc-card::before { content: ''; position: absolute; inset: -1px; border-radius: 14px; background: linear-gradient(120deg, #3b6ef8, #26c9b5); opacity: 0; transition: opacity 0.3s; z-index: -1; }
.doc-card:hover { box-shadow: 0 12px 36px rgba(59,110,248,0.15); transform: translateY(-5px); }
.doc-card:hover::before { opacity: 0.25; }

.doc-thumb { height: 270px; display: flex; align-items: center; justify-content: center; font-size: 4.5rem; overflow: hidden; transition: transform 0.4s var(--ease); }
.doc-card:hover .doc-thumb { transform: scale(1.03); }
.doc-thumb--t1 { background: linear-gradient(135deg, #ddf0fc, #c0e4f8); }
.doc-thumb--t2 { background: linear-gradient(135deg, #d4f8f4, #b8f0ea); }
.doc-thumb--t3 { background: linear-gradient(135deg, #dde8f8, #c8d8f4); }

.doc-body .btn--full {
  margin-top: 1.5rem; 
}

.doc-body { padding: 1.2rem; }
.doc-body h3 { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: var(--navy); margin-bottom: 0.2rem; }
.doc-role { font-size: 0.74rem; color: var(--blue); font-weight: 500; margin-bottom: 0.5rem; }

.doc-avail { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.65rem; font-weight: 600; padding: 0.2rem 0.55rem; border-radius: 999px; margin-bottom: 0.5rem; }
.doc-avail--available { background: #dcfce7; color: #16a34a; }
.doc-avail--busy { background: #fef3c7; color: #d97706; }

.doc-meta { display: flex; gap: 0.75rem; font-size: 0.72rem; color: var(--muted); margin-bottom: 0.75rem; }
.doc-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0; }
.doc-tag { font-size: 0.64rem; background: var(--bg); border: 1px solid var(--border); border-radius: 4px; padding: 0.18rem 0.5rem; color: var(--muted); }

.doc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

/* ── 15. WHY ────────────────────────────────────────────────── */
.why-wrap { background: var(--navy); padding: 4rem var(--pad-x); position: relative; overflow: hidden; }
.why-wrap::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(59,110,248,0.18), transparent 70%); pointer-events: none; }
.why-inner { max-width: var(--max-w); margin: 0 auto; position: relative; }

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

.why-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 1.5rem;
  transition: background 0.2s, transform 0.25s, box-shadow 0.25s;
}
.why-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.why-icon { font-size: 1.6rem; margin-bottom: 0.9rem; }
.why-card h3 { font-family: var(--font-head); font-size: 0.88rem; font-weight: 600; color: #fff; margin-bottom: 0.4rem; }
.why-card p { font-size: 0.74rem; color: rgba(255,255,255,0.48); line-height: 1.65; }



/* ── 16. SUPPORT / SERVICES ────────────────────────────────── */
.support { 
  background: var(--white); 
  padding: 5rem var(--pad-x); 
  border-top: 1px solid var(--border); 
  border-bottom: 1px solid var(--border); 
}

.support-inner { 
  max-width: var(--max-w); 
  margin: 0 auto; 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 4rem; 
  align-items: start; 
}

.support-left h2 { 
  font-family: var(--font-head); 
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); 
  font-weight: 800; 
  color: var(--navy); 
  line-height: 1.15; 
  letter-spacing: -0.02em; 
  margin-bottom: 1.2rem; 
}

.reach-tag { 
  display: inline-flex; 
  align-items: center; 
  gap: 0.4rem; 
  background: var(--blue-3); 
  color: var(--blue); 
  font-size: 0.62rem; 
  font-weight: 600; 
  padding: 0.25rem 0.7rem; 
  border-radius: 999px; 
  margin-bottom: 0.5rem; 
}

.support-right { 
  display: flex; 
  flex-direction: column; 
  gap: 1rem; 
}


/* .spec-cards-wrap { 
  overflow: hidden; 
  
  max-height: 300px; 
  padding: 5px 10px;    
  margin: -5px -10px;    
}

.spec-cards { 
  display: flex; 
  flex-direction: column; 
  gap: 10px; 
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); 
}

.spec-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 1.2rem; 
  height: 90px;      
  display: flex; 
  align-items: center; 
  gap: 1.2rem;
  cursor: pointer;
  transition: all 0.3s var(--ease);
} */
.spec-cards-wrap { 
  overflow: hidden; 
  max-height: 315px; 
  padding: 5px 10px;    
  margin: -5px -10px;    
}

.spec-cards { 
  display: flex; 
  flex-direction: column; 
  gap: 10px; 
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); 
}

.spec-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 1.2rem; 
  height: 95px;
  min-height: 95px;
  flex-shrink: 0;
  display: flex; 
  align-items: center; 
  gap: 1.2rem;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.spec-card:hover { 
  background: var(--white);
  border-color: var(--blue);
  transform: translateY(-2px); 
  box-shadow: 0 8px 20px rgba(59, 110, 248, 0.08);
}

.spec-icon { 
  width: 44px; 
  height: 44px; 
  border-radius: 10px; 
  background: var(--blue-3); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 1.2rem; 
  flex-shrink: 0; 
}

.spec-info h4 { 
  font-family: var(--font-head); 
  font-size: 0.8rem; 
  font-weight: 700; 
  color: var(--navy); 
  text-transform: uppercase; 
  letter-spacing: 0.04em; 
  margin-bottom: 0.1rem; 
}

.spec-info p { 
  font-size: 0.72rem; 
  color: var(--muted); 
  line-height: 1.4; 
  margin: 0; 
  
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1; 
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spec-learn { 
  margin-left: auto; 
  font-size: 0.75rem; 
  color: var(--blue); 
  font-weight: 600; 
  white-space: nowrap; 
}

.arrow-btns { 
  display: flex; 
  gap: 0.5rem; 
  margin-top: 1rem; 
  justify-content: flex-end; 
}

/* .arr-btn { 
  width: 36px; 
  height: 36px; 
  border-radius: 50%; 
  border: 1px solid var(--border); 
  background: #fff; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 0.9rem; 
  cursor: pointer; 
  transition: all 0.2s; 
}

.arr-btn:hover, .arr-btn.active { 
  background: var(--blue); 
  color: #fff; 
  border-color: var(--blue); 
  box-shadow: 0 4px 12px rgba(59,110,248,0.3); 
} */
.arr-btn { 
  width: 40px; 
  height: 40px; 
  border-radius: 50%; 
  border: 1.5px solid var(--border); 
  background: var(--bg); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 1rem; 
  cursor: pointer; 
  transition: all 0.2s;
  color: var(--muted);
}
.arr-btn:hover { 
  background: var(--white);
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 4px 12px rgba(59,110,248,0.15); 
}
.arr-btn.active { 
  background: var(--blue); 
  color: #fff; 
  border-color: var(--blue); 
  box-shadow: 0 4px 12px rgba(59,110,248,0.3); 
}
/* ── 17. TESTIMONIALS ───────────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }

.tc { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; transition: box-shadow 0.25s, transform 0.25s; }
.tc:hover { box-shadow: 0 8px 30px rgba(59,110,248,0.1); transform: translateY(-4px); }

.tc-stars { display: flex; gap: 3px; margin-bottom: 1rem; align-items: center; }
.tstar { color: #f59e0b; font-size: 0.8rem; }
.tc-rating { font-size: 0.75rem; color: var(--muted); margin-left: 0.4rem; font-weight: 500; }

.tc blockquote { font-size: 0.85rem; color: var(--navy); line-height: 1.75; margin-bottom: 1.2rem; font-style: italic; }

.tc-author { display: flex; align-items: center; gap: 0.75rem; }
.tc-av { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 600; color: #fff; flex-shrink: 0; }
.tc-av--av1 { background: linear-gradient(135deg, #a8c0f8, #3b6ef8); }
.tc-av--av2 { background: linear-gradient(135deg, #a8f8d0, #00b4a0); }
.tc-av--av3 { background: linear-gradient(135deg, #f8d0a8, #f59e0b); }
.tc-name { font-family: var(--font-head); font-size: 0.82rem; font-weight: 600; color: var(--navy); }
.tc-role { font-size: 0.7rem; color: var(--muted); }

/* ── 18. BRANDS ─────────────────────────────────────────────── */
.brands { background: var(--bg); padding: 2rem var(--pad-x); border-bottom: 1px solid var(--border); }
.brands-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.brand-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; color: var(--muted); opacity: 0.5; transition: opacity 0.25s, transform 0.25s, color 0.2s; }
.brand-item:hover { opacity: 1; color: var(--navy); transform: translateY(-2px); }

.form-card form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; 
}

.parent {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}



/* ── 19. BLOG ───────────────────────────────────────────────── */
.blog { padding: 4rem var(--pad-x); max-width: var(--max-w); margin: 0 auto; }
.blog-header { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 2rem; }
.blog-header h2 { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--navy); line-height: 1.2; letter-spacing: -0.01em; }
.blog-header p { font-size: 0.83rem; color: var(--muted); line-height: 1.8; }

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

.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; display: block; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(59,110,248,0.1); }

.blog-thumb { height: 130px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.blog-thumb--bt1 { background: linear-gradient(135deg, #c8d8f8, #a0b8f0); }
.blog-thumb--bt2 { background: linear-gradient(135deg, #c8e8d8, #a0c8b8); }
.blog-thumb--bt3 { background: linear-gradient(135deg, #d8c8f8, #b8a0f0); }
.blog-thumb--bt4 { background: linear-gradient(135deg, #f8d8c8, #f0b8a0); }
.blog-thumb-inner { font-size: 3.5rem; transition: transform 0.4s var(--ease); }
.blog-card:hover .blog-thumb-inner { transform: scale(1.15); }

.blog-body { padding: 1rem; }
.blog-cat { font-size: 0.62rem; letter-spacing: 0.1em; color: var(--blue); font-weight: 600; text-transform: uppercase; margin-bottom: 0.4rem; font-family: var(--font-head); }
.blog-card h3 { font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; color: var(--navy); line-height: 1.45; margin-bottom: 1rem; }

.blog-footer { display: flex; justify-content: space-between; align-items: center; }
.blog-learn { font-size: 0.68rem; font-weight: 500; color: var(--navy); }
.blog-arrow { width: 24px; height: 24px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.6rem; color: var(--muted); transition: all 0.2s; }
.blog-card:hover .blog-arrow { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ── 20. BOOKING ────────────────────────────────────────────── */
.booking-wrap { background: var(--bg); border-top: 1px solid var(--border); padding: 4rem var(--pad-x); }
.booking-inner { max-width: 1100px; margin: 0 auto; display: grid; 
  
  grid-template-columns: 1fr 1fr;
  gap: 3rem; 
  align-items: start; }

.bi-title { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; line-height: 1.2; }
.bi-sub { font-size: 0.85rem; color: var(--muted); line-height: 1.8; margin-bottom: 1.5rem; font-weight: 300; }

.booking-details { display: flex; flex-direction: column; gap: 0.85rem; }
.bdet { display: flex; align-items: center; gap: 0.75rem; font-size: 0.82rem; color: var(--muted); }
.bdet a { color: var(--muted); transition: color 0.2s; }
.bdet a:hover { color: var(--blue); }
.bdet-icon { width: 32px; height: 32px; border-radius: 6px; background: var(--white); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }

.form-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 2.5rem; box-shadow: 0 4px 20px rgba(59,110,248,0.06); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 0; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.5rem; 
}

.form-group label { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; font-family: var(--font-head); }

.form-group input,
.form-group select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  
  padding: 0.7rem;
  font-size: 0.85rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,110,248,0.1); }
.form-group input.is-invalid,
.form-group select.is-invalid { border-color: #ef4444; }

.field-error { font-size: 0.68rem; color: #ef4444; min-height: 1rem; }
.form-note { text-align: center; font-size: 0.7rem; color: var(--muted); 
  
   margin-top: 0.5rem;
}

.form-success { padding: 1rem; background: #f0fdf4; border: 1px solid #86efac; border-radius: 8px; color: #16a34a; font-size: 0.82rem; text-align: center; margin-top: 1rem; }
.form-error-box { padding: 1rem; background: #fef2f2; border: 1px solid #fca5a5; border-radius: 8px; color: #dc2626; font-size: 0.82rem; margin-top: 1rem; }




/* ── 21. FOOTER (FIXED & ALIGNED) ───────────────────────────── */
footer { 
  background: var(--white); 
  border-top: 1px solid var(--border); 
  padding: 5rem var(--pad-x) 2.5rem; 
}


.footer-top { 
  max-width: var(--max-w); 
  margin: 0 auto; 
  display: grid; 
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr; 
  gap: 4rem; 
  padding-bottom: 4rem; 
  border-bottom: 1px solid var(--border); 
  align-items: start;
}

.fcol--brand p { 
  font-family: var(--font-body);
  font-size: 0.85rem; 
  color: var(--muted); 
  line-height: 1.7; 
  max-width: 260px; 
  margin-top: 1.2rem;
}

.flogo { 
  font-family: var(--font-head); 
  font-size: 1.3rem; 
  font-weight: 800; 
  color: var(--blue); 
  display: flex; 
  align-items: center; 
  gap: 0.5rem; 
}

.flogo-icon { 
  width: 24px; 
  height: 24px; 
  background: var(--blue); 
  border-radius: 6px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 0.75rem; 
}

.fcol h4 { 
  font-family: var(--font-head); 
  font-size: 0.72rem; 
  font-weight: 800; 
  color: var(--navy); 
  letter-spacing: 0.12em; 
  text-transform: uppercase; 
  margin-bottom: 1.5rem; 
}


footer nav {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important; 
  text-align: left !important;
  height: auto !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  backdrop-filter: none !important;
  position: static !important;
  gap: 0.85rem !important;
}

footer .nav-link {
  padding: 0 !important;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--muted) !important;
  height: auto !important;
  display: inline-block !important; 
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
}


footer .nav-link::after { 
  display: none !important; 
}

footer .nav-link:hover { 
  color: var(--blue) !important; 
  transform: translateX(5px); 
}


.nl-row { 
  display: flex; 
  margin-top: 1rem; 
  border: 1px solid var(--border); 
  border-radius: 10px; 
  overflow: hidden; 
  background: var(--bg);
  transition: border-color 0.2s;
}

.nl-row:focus-within {
  border-color: var(--blue);
  background: #fff;
}

.nl-input { 
  flex: 1; 
  background: none; 
  border: none; 
  padding: 0.8rem 1.2rem; 
  font-family: var(--font-body);
  font-size: 0.82rem; 
  outline: none; 
  color: var(--text);
}

.nl-btn { 
  background: var(--blue); 
  color: #fff; 
  border: none; 
  padding: 0 1.5rem; 
  font-family: var(--font-body);
  font-size: 0.75rem; 
  font-weight: 700; 
  cursor: pointer; 
  transition: background 0.2s;
}

.nl-btn:hover { 
  background: var(--navy); 
}

.footer-bottom { 
  max-width: var(--max-w); 
  margin: 2.5rem auto 0; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  flex-wrap: wrap; 
  gap: 1.5rem; 
}

.copy { 
  font-family: var(--font-body);
  font-size: 0.75rem; 
  color: var(--muted); 
}

.footer-links { 
  display: flex; 
  gap: 1.5rem; 
}

.footer-links a { 
  font-family: var(--font-body);
  font-size: 0.75rem; 
  color: var(--muted); 
  transition: color 0.2s; 
}

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

.social-row { 
  display: flex; 
  gap: 0.6rem; 
}

.soc-btn { 
  width: 36px; 
  height: 36px; 
  border-radius: 10px; 
  border: 1px solid var(--border); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 0.85rem; 
  color: var(--muted); 
  transition: all 0.3s var(--ease); 
}

.soc-btn:hover { 
  border-color: var(--blue); 
  background: var(--blue-3); 
  color: var(--blue); 
  transform: translateY(-3px); 
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}

/* ── 22. MODALS ─────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.modal-overlay[hidden] { display: none; }
.modal-overlay.open { opacity: 1; display: flex; }

.modal-box { background: #0f1e40; border-radius: 16px; padding: 1.5rem; width: min(90vw, 680px); position: relative; transform: scale(0.9); transition: transform 0.3s; }
.modal-overlay.open .modal-box { transform: scale(1); }
.modal-close { position: absolute; top: 1rem; right: 1rem; width: 32px; height: 32px; background: rgba(255,255,255,0.1); border: none; border-radius: 50%; color: #fff; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.modal-close:hover { background: rgba(255,255,255,0.2); }
.modal-title { font-family: var(--font-head); color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.modal-video-placeholder { background: linear-gradient(135deg, #1a3060, #0f2050); border-radius: 10px; height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; font-size: 4rem; }
.modal-video-placeholder p { font-size: 0.85rem; color: rgba(255,255,255,0.6); font-family: var(--font-body); }
.modal-video-sub { font-size: 0.72rem !important; opacity: 0.5; }


.quick-modal-box { background: #fff; border-radius: 16px; padding: 2rem; width: min(90vw, 400px); transform: translateY(20px); transition: transform 0.3s; }
.modal-overlay.open .quick-modal-box { transform: translateY(0); }
.quick-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.quick-modal-header h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--navy); }
.qm-close { width: 28px; height: 28px; border: 1px solid var(--border); border-radius: 50%; background: none; cursor: pointer; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.qm-close:hover { background: var(--bg); }
.qm-doc-info { display: flex; align-items: center; gap: 0.75rem; background: var(--bg); border-radius: 10px; padding: 1rem; margin-bottom: 1.2rem; }
.qm-avatar { font-size: 2rem; }
.qm-name { font-family: var(--font-head); font-weight: 700; font-size: 0.88rem; color: var(--navy); }
.qm-role { font-size: 0.72rem; color: var(--muted); }
.qm-label { font-size: 0.68rem; color: var(--muted); font-weight: 500; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-head); }
.qm-slots { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.qm-slot { font-size: 0.72rem; padding: 0.35rem 0.75rem; border: 1px solid var(--border); border-radius: 6px; cursor: pointer; background: #fff; transition: all 0.2s; }
.qm-slot:hover { border-color: var(--blue); color: var(--blue); }
.qm-slot.selected { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ── 23. TOAST ──────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  padding: 0.75rem 1.2rem;
  font-size: 0.78rem;
  display: flex; align-items: center; gap: 0.6rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s;
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 1rem; }

/* ── 24. RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --pad-x: 2rem; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .blog-grid { grid-template-columns: repeat(2,1fr); }
  .doc-grid  { grid-template-columns: repeat(2,1fr); }
  .doc-thumb { height: 250px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --pad-x: 1.25rem; }

  .hero,
  .about,
  .team-section,
  .support-inner,
  .booking-inner,
  .blog-header { grid-template-columns: 1fr; }

  
  .hero-visual { height: 320px; }

.fc-lung, .fc-sun, .fc-ortho, .fc-alex { display: none; }
.patient-dash { display: none; }
.hero-nav-dot { display: none; }
.hero-arr { display: none; }
.spec-pills-wrap { display: none; }
  
  .testi-grid,
  .blog-grid,
  .doc-grid  { grid-template-columns: 1fr; }

  .doc-thumb { height: 230px; }

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

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

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

  .nav-links { display: none; }

  .booking-inner { gap: 2rem; }

  
  #cursor, #cursor-ring, .cursor-spotlight { display: none; }
  body { cursor: auto; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
