/* ════════════════════════════════════════
   MEDICARE CLINIC — style.css
   Shared across all pages
════════════════════════════════════════ */

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

:root {
  --teal:         #0a9396;
  --teal-dark:    #007f82;
  --teal-light:   #94d2bd;
  --teal-glow:    rgba(10, 147, 150, 0.45);
  --off-white:    rgba(255, 255, 255, 0.82);
  --muted-white:  rgba(255, 255, 255, 0.50);
  --dim-white:    rgba(255, 255, 255, 0.25);
  --error:        #e05252;
  --success:      #2dbd88;
  --card-bg:      rgba(255, 255, 255, 0.10);
  --card-border:  rgba(255, 255, 255, 0.18);
  --shadow-deep:  rgba(0, 20, 30, 0.55);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --nav-h:        76px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  min-height: 100vh;
  color: #fff;
}

/* ════════════════════════════════════════
   SHARED BACKGROUND (login + home)
════════════════════════════════════════ */
.bg-overlay,
.home-bg-image {
  position: fixed;
  inset: 0;
  z-index: 0;
}

/* LOGIN page background */
body:not(.home-page) {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #002d3a 0%, #005f73 50%, #001f2b 100%);
}

.bg-overlay {
  background:
    url('https://images.unsplash.com/photo-1584982751601-97dcc096659c?w=1800&q=85')
    center / cover no-repeat;
  opacity: 0.07;
}

/* HOME page background — same image, same feel */
.home-bg-image {
  background:
    url('https://images.unsplash.com/photo-1584982751601-97dcc096659c?w=1800&q=85')
    center / cover no-repeat;
  transform: scale(1.03);
  transition: transform 10s ease;
}
.home-bg-image.loaded { transform: scale(1); }

.home-bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    150deg,
    rgba(0, 25, 35, 0.88) 0%,
    rgba(0, 80, 95, 0.72) 50%,
    rgba(0, 20, 30, 0.92) 100%
  );
}

/* Blobs (login page only) */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  z-index: 0;
  animation: blobFloat 12s ease-in-out infinite alternate;
  pointer-events: none;
}
.blob-1 {
  width: 540px; height: 540px;
  background: radial-gradient(circle, #0a9396, #004f5e);
  top: -160px; left: -120px;
  animation-duration: 13s;
}
.blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #94d2bd, #0a9396);
  bottom: -100px; right: -80px;
  animation-duration: 10s;
  animation-delay: -4s;
}
.blob-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, #e9d8a6, #94d2bd);
  top: 50%; left: 55%;
  transform: translate(-50%, -50%);
  animation-duration: 16s;
  animation-delay: -7s;
  opacity: 0.14;
}
@keyframes blobFloat {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(44px) scale(1.07); }
}

/* ════════════════════════════════════════
   LOGIN PAGE — BRAND (top-left fixed)
════════════════════════════════════════ */
.brand {
  position: fixed;
  top: 26px; left: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  text-decoration: none;
  animation: fadeDown 0.6s ease both;
}
.brand-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-light);
  font-size: 17px;
  backdrop-filter: blur(8px);
}
.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.4px;
}

/* ════════════════════════════════════════
   LOGIN PAGE — CARD
════════════════════════════════════════ */
.card-wrapper {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: riseUp 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both 0.1s;
}

.card {
  width: 420px;
  padding: 40px 44px 36px;
  background: var(--card-bg);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  box-shadow: 0 36px 72px var(--shadow-deep);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}

/* ── Tab Switcher ── */
.tab-switcher {
  display: flex;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 28px;
  position: relative;
}
.tab-indicator {
  position: absolute;
  top: 4px; left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: rgba(255,255,255,0.15);
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.tab-indicator.right { transform: translateX(100%); }

.tab-btn {
  flex: 1;
  padding: 10px 0;
  background: none; border: none;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  color: var(--muted-white);
  cursor: pointer; border-radius: 9px;
  transition: color 0.28s;
  position: relative; z-index: 1;
}
.tab-btn.active { color: #fff; }

/* ── Form Sections ── */
.form-section {
  display: none;
  flex-direction: column;
  gap: 18px;
  animation: formIn 0.35s ease both;
}
.form-section.active { display: flex; }

@keyframes formIn {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: translateX(0); }
}

.form-header h2 {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 600;
  color: #fff; margin-bottom: 4px; letter-spacing: 0.2px;
}
.form-header p {
  font-size: 13.5px; color: var(--muted-white); font-weight: 300;
}

/* ── Form Fields ── */
.form-group { display: flex; flex-direction: column; gap: 6px; }

label {
  font-size: 11.5px; font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.8px; text-transform: uppercase;
}

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

.input-icon {
  position: absolute; left: 14px;
  color: var(--teal-light); font-size: 13.5px;
  pointer-events: none; opacity: 0.8;
}

input {
  width: 100%;
  padding: 13px 44px 13px 40px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 11px;
  font-family: var(--font-body); font-size: 14px; color: #fff;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
input::placeholder { color: rgba(255,255,255,0.3); }
input:focus {
  border-color: var(--teal-light);
  background: rgba(255,255,255,0.13);
  box-shadow: 0 0 0 3px rgba(148,210,189,0.15);
}
input.error-field {
  border-color: var(--error) !important;
  box-shadow: 0 0 0 3px rgba(224,82,82,0.14) !important;
}

.toggle-pass {
  position: absolute; right: 13px;
  background: none; border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer; font-size: 13.5px; padding: 4px;
  transition: color 0.2s;
}
.toggle-pass:hover { color: rgba(255,255,255,0.8); }

.field-error {
  font-size: 11.5px; color: #ff9a9a;
  min-height: 15px; padding-left: 2px; display: block;
}

/* ── Primary Button ── */
.btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 14px; margin-top: 4px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border: none; border-radius: 12px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; color: #fff;
  cursor: pointer; letter-spacing: 0.3px;
  box-shadow: 0 6px 22px var(--teal-glow);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(10,147,150,0.6);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary i { transition: transform 0.2s; }
.btn-primary:hover i { transform: translateX(4px); }

/* ── Switch Hint ── */
.switch-hint { text-align: center; font-size: 13px; color: var(--muted-white); }
.switch-hint a {
  color: var(--teal-light); cursor: pointer; font-weight: 500;
  text-decoration: none; border-bottom: 1px solid rgba(148,210,189,0.35);
  padding-bottom: 1px; transition: color 0.2s, border-color 0.2s;
}
.switch-hint a:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

/* ── Card Footer Tag ── */
.card-footer-tag {
  font-size: 12px; color: rgba(255,255,255,0.38);
  display: flex; align-items: center; gap: 6px;
}
.card-footer-tag i { color: var(--teal-light); }

/* ── Toast ── */
.toast {
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%) translateY(-60px);
  padding: 11px 22px; border-radius: 10px;
  font-size: 13.5px; font-weight: 500;
  white-space: nowrap; pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s;
  opacity: 0; z-index: 100;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.success { background: rgba(45,189,136,0.92); color: #fff; box-shadow: 0 6px 20px rgba(45,189,136,0.4); }
.toast.error   { background: rgba(224,82,82,0.92);  color: #fff; box-shadow: 0 6px 20px rgba(224,82,82,0.4); }

/* ── Keyframes ── */
@keyframes riseUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Login Responsive ── */
@media (max-width: 480px) {
  .card { width: 92vw; padding: 30px 22px 26px; border-radius: 20px; }
  .brand { top: 16px; left: 18px; }
}


/* ════════════════════════════════════════
   HOME PAGE
════════════════════════════════════════ */
body.home-page {
  overflow-x: hidden;
  overflow-y: auto;
  display: block;
  background: #001820;
}

/* ── NAVBAR ─────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s, box-shadow 0.4s;
}
.navbar.scrolled {
  background: rgba(0, 22, 32, 0.92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* ── Brand: icon on top, name below ── */
.nav-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  flex-shrink: 0;
  animation: fadeDown 0.5s ease both;
}
.nav-brand-icon {
  width: 36px; height: 36px;
  background: rgba(148,210,189,0.15);
  border: 1px solid rgba(148,210,189,0.3);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-light);
  font-size: 16px;
  transition: background 0.25s, transform 0.25s;
}
.nav-brand:hover .nav-brand-icon {
  background: rgba(148,210,189,0.25);
  transform: scale(1.08);
}
.nav-brand-name {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600;
  color: #fff; letter-spacing: 0.5px;
  line-height: 1;
}

/* ── Right side (links + user + logout) ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
  animation: fadeDown 0.5s ease both 0.1s;
}

/* ── Nav links (horizontal, right side) ── */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 14px; font-weight: 500;
  color: var(--off-white);
  font-family: var(--font-body);
  letter-spacing: 0.1px;
  transition: color 0.22s, background 0.22s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; right: 50%;
  height: 2px;
  background: var(--teal-light);
  border-radius: 2px;
  transition: left 0.25s, right 0.25s;
  opacity: 0;
}
.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.07);
}
.nav-link:hover::after,
.nav-link.active::after {
  left: 16px; right: 16px; opacity: 1;
}
.nav-link.active {
  color: #fff;
  background: rgba(148,210,189,0.1);
}

/* ── Divider ── */
.nav-divider {
  width: 1px; height: 28px;
  background: rgba(255,255,255,0.12);
  margin: 0 8px;
  flex-shrink: 0;
}

/* ── Nav user ── */
.nav-user {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--muted-white);
  font-family: var(--font-body);
  padding: 6px 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
}
.nav-user i { color: var(--teal-light); font-size: 15px; }

/* ── Nav logout ── */
.nav-logout {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 16px;
  background: rgba(224,82,82,0.1);
  border: 1px solid rgba(224,82,82,0.28);
  border-radius: 9px;
  color: #ff9a9a;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 500;
  cursor: pointer; white-space: nowrap;
  transition: background 0.22s, border-color 0.22s, color 0.22s;
}
.nav-logout:hover {
  background: rgba(224,82,82,0.22);
  border-color: rgba(224,82,82,0.5);
  color: #fff;
}

/* ── Hamburger (mobile) ── */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 9px; cursor: pointer; padding: 9px;
}
.hamburger span {
  display: block; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu ── */
.mobile-menu {
  display: none;
  flex-direction: column; gap: 4px;
  padding: 12px 16px 18px;
  background: rgba(0,20,30,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu.open { display: flex; }

.mob-link {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 9px;
  text-decoration: none; font-size: 14.5px; font-weight: 500;
  color: var(--off-white); font-family: var(--font-body);
  transition: color 0.2s, background 0.2s;
}
.mob-link:hover, .mob-link.active {
  color: var(--teal-light);
  background: rgba(148,210,189,0.08);
}
.mob-logout {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; margin-top: 6px;
  background: rgba(224,82,82,0.1);
  border: 1px solid rgba(224,82,82,0.25);
  border-radius: 9px; color: #ff9a9a;
  font-family: var(--font-body); font-size: 14px;
  cursor: pointer; transition: background 0.2s;
}
.mob-logout:hover { background: rgba(224,82,82,0.2); }

/* ── HERO ───────────────────────────────── */
.hero {
  position: relative; z-index: 5;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
}

.hero-content {
  display: flex; flex-direction: column;
  align-items: center; gap: 0;
  max-width: 720px; width: 100%;
}

/* Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px;
  background: rgba(148,210,189,0.1);
  border: 1px solid rgba(148,210,189,0.28);
  border-radius: 50px;
  color: var(--teal-light); font-size: 12.5px; font-weight: 500;
  font-family: var(--font-body); letter-spacing: 0.5px;
  margin-bottom: 32px;
  animation: heroUp 0.8s cubic-bezier(0.22,0.61,0.36,1) both 0.2s;
}
.hero-badge i { font-size: 13px; }

/* Title */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 108px);
  font-weight: 300; line-height: 1.08;
  color: #fff; letter-spacing: -1px;
  margin-bottom: 26px;
  animation: heroUp 0.8s cubic-bezier(0.22,0.61,0.36,1) both 0.35s;
}
.hero-title em {
  font-style: italic; color: var(--teal-light); font-weight: 300;
  display: inline-block;
  animation: shimmer 4s ease-in-out infinite alternate;
}
@keyframes shimmer {
  from { color: var(--teal-light); }
  to   { color: #c8eadf; }
}

/* Subtitle */
.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 300; font-style: italic;
  color: rgba(255,255,255,0.6);
  line-height: 1.75; max-width: 480px;
  margin-bottom: 50px;
  animation: heroUp 0.8s cubic-bezier(0.22,0.61,0.36,1) both 0.5s;
}

/* CTA buttons */
.hero-actions {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap; justify-content: center;
  margin-bottom: 64px;
  animation: heroUp 0.8s cubic-bezier(0.22,0.61,0.36,1) both 0.65s;
}

.cta-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 34px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 13px; color: #fff;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  text-decoration: none; letter-spacing: 0.2px;
  box-shadow: 0 8px 26px var(--teal-glow);
  transition: transform 0.22s, box-shadow 0.22s;
}
.cta-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(10,147,150,0.6); }

.cta-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 13px; color: var(--off-white);
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background 0.22s, border-color 0.22s, transform 0.22s;
}
.cta-ghost:hover { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.32); transform: translateY(-2px); }
.cta-ghost i { font-size: 13px; transition: transform 0.2s; }
.cta-ghost:hover i { transform: translateX(5px); }

/* Stats bar */
.stats-bar {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 20px;
  padding: 24px 44px;
  backdrop-filter: blur(16px);
  animation: heroUp 0.8s cubic-bezier(0.22,0.61,0.36,1) both 0.8s;
}

.stat-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 5px;
  padding: 0 36px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 600;
  color: var(--teal-light); line-height: 1;
}
.stat-label {
  font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,0.42);
  text-transform: uppercase; letter-spacing: 1px;
}
.stat-divider {
  width: 1px; height: 44px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* Scroll hint */
.scroll-hint {
  position: fixed; bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 5; color: rgba(255,255,255,0.28); font-size: 17px;
  animation: bounce 2.2s ease infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.28; }
  50%       { transform: translateX(-50%) translateY(9px); opacity: 0.6; }
}

/* Hero animation */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Home Responsive ── */
@media (max-width: 900px) {
  .nav-inner { padding: 0 24px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-user, .nav-logout, .nav-divider { display: none; }
  .hamburger { display: flex; }

  .stats-bar { padding: 18px 20px; flex-wrap: wrap; justify-content: center; gap: 0; }
  .stat-item { padding: 10px 20px; }
  .stat-divider { display: none; }
  .stat-num { font-size: 28px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .cta-primary, .cta-ghost { width: 100%; justify-content: center; }
  .hero-sub { font-size: 17px; }
}
/* ════════════════════════════════════════
   SPECIALTIES PAGE — specialties.css
════════════════════════════════════════ */
 
/* ── Page layout ── */
.spec-page {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 60px) 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}
 
/* ── Page Header ── */
.spec-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: specFadeUp 0.7s cubic-bezier(0.22,0.61,0.36,1) both 0.1s;
}
 
.spec-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  background: rgba(148,210,189,0.1);
  border: 1px solid rgba(148,210,189,0.25);
  border-radius: 50px;
  color: var(--teal-light);
  font-size: 12.5px;
  font-weight: 500;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.spec-header-badge i { font-size: 13px; }
 
.spec-header-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.spec-header-title em {
  font-style: italic;
  color: var(--teal-light);
}
 
.spec-header-sub {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
}
 
/* ── Cards Grid ── */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}
 
/* Last row: 2 cards centered */
.spec-card:nth-child(4) { grid-column: 1; }
.spec-card:nth-child(5) { grid-column: 2; }
 
/* ── Single Card ── */
.spec-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 36px 32px 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.35s cubic-bezier(0.22,0.61,0.36,1),
              border-color 0.35s,
              box-shadow 0.35s,
              background 0.35s;
  animation: specFadeUp 0.7s cubic-bezier(0.22,0.61,0.36,1) both;
  animation-delay: var(--delay, 0.1s);
}
 
/* Glow layer (shows on hover) */
.spec-card-glow {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(148,210,189,0.18) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
 
/* Top shimmer line */
.spec-card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148,210,189,0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
 
.spec-card:hover {
  transform: translateY(-10px) scale(1.015);
  border-color: rgba(148,210,189,0.35);
  background: rgba(255,255,255,0.1);
  box-shadow:
    0 24px 56px rgba(0,0,0,0.4),
    0 0 0 1px rgba(148,210,189,0.15) inset;
}
.spec-card:hover .spec-card-glow { opacity: 1; }
.spec-card:hover::before { opacity: 1; }
 
/* ── Card Icon ── */
.spec-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(148,210,189,0.12);
  border: 1px solid rgba(148,210,189,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--teal-light);
  margin-bottom: 24px;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  z-index: 1;
}
.spec-card:hover .spec-card-icon {
  background: rgba(148,210,189,0.2);
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 8px 24px rgba(10,147,150,0.3);
}
 
/* ── Card Body ── */
.spec-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}
 
.spec-card-body h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.1px;
  line-height: 1.1;
  transition: color 0.25s;
}
.spec-card:hover .spec-card-body h3 { color: var(--teal-light); }
 
.spec-card-body p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 6px;
}
 
/* Tags */
.spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin-top: 4px;
}
.spec-tags li {
  padding: 4px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-body);
  letter-spacing: 0.3px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.spec-card:hover .spec-tags li {
  background: rgba(148,210,189,0.1);
  border-color: rgba(148,210,189,0.2);
  color: var(--teal-light);
}
 
/* ── Card Footer ── */
.spec-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
  transition: border-color 0.3s;
}
.spec-card:hover .spec-card-footer { border-color: rgba(148,210,189,0.2); }
 
.spec-card-footer span {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--teal-light);
  letter-spacing: 0.3px;
}
 
.spec-card-footer i {
  font-size: 14px;
  color: var(--teal-light);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.spec-card:hover .spec-card-footer i { transform: translateX(7px); }
 
/* ── Animation ── */
@keyframes specFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
 
/* ── Responsive ── */
@media (max-width: 960px) {
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .spec-card:nth-child(4),
  .spec-card:nth-child(5) { grid-column: auto; }
  .spec-page { padding-left: 24px; padding-right: 24px; gap: 48px; }
}
 
@media (max-width: 580px) {
  .spec-grid { grid-template-columns: 1fr; }
  .spec-card { padding: 28px 24px 22px; }
  .spec-card-icon { width: 54px; height: 54px; font-size: 22px; }
  .spec-page { padding-left: 16px; padding-right: 16px; }
}
/* ════════════════════════════════════════
   DOCTORS PAGE — doctors.css
════════════════════════════════════════ */

.doctors-page {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 60px) 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

/* ── Page Header ── */
.doc-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: docFadeUp 0.7s cubic-bezier(0.22,0.61,0.36,1) both 0.1s;
}

.doc-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 50px;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 28px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  align-self: flex-start;
}
.doc-back-btn:hover {
  background: rgba(255,255,255,0.13);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.doc-back-btn i { font-size: 12px; }

.doc-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  background: rgba(148,210,189,0.1);
  border: 1px solid rgba(148,210,189,0.25);
  border-radius: 50px;
  color: var(--teal-light);
  font-size: 12.5px;
  font-weight: 500;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}

.doc-header-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.doc-header-title em {
  font-style: italic;
  color: var(--teal-light);
}

.doc-header-sub {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}

/* ── Doctors Grid ── */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

/* ── Doctor Card ── */
.doc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  overflow: hidden;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.35s cubic-bezier(0.22,0.61,0.36,1),
              border-color 0.35s, box-shadow 0.35s, background 0.35s;
  animation: docFadeUp 0.7s cubic-bezier(0.22,0.61,0.36,1) both;
  animation-delay: var(--delay, 0.1s);
}

.doc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148,210,189,0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.doc-card:hover {
  transform: translateY(-10px) scale(1.012);
  border-color: rgba(148,210,189,0.3);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 28px 60px rgba(0,0,0,0.45),
              0 0 0 1px rgba(148,210,189,0.12) inset;
}
.doc-card:hover::before { opacity: 1; }

/* Card top accent bar */
.doc-card-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--teal-dark), var(--teal-light));
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22,0.61,0.36,1);
}
.doc-card:hover .doc-card-accent { transform: scaleX(1); }

/* Card content */
.doc-card-content {
  padding: 28px 28px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Doctor avatar */
.doc-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(10,147,150,0.3), rgba(148,210,189,0.2));
  border: 2px solid rgba(148,210,189,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--teal-light);
  margin-bottom: 18px;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s;
  flex-shrink: 0;
}
.doc-card:hover .doc-avatar {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(10,147,150,0.35);
}

.doc-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  transition: color 0.25s;
}
.doc-card:hover .doc-name { color: var(--teal-light); }

.doc-specialty-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(148,210,189,0.1);
  border: 1px solid rgba(148,210,189,0.2);
  border-radius: 50px;
  color: var(--teal-light);
  font-size: 11.5px;
  font-weight: 500;
  font-family: var(--font-body);
  margin-bottom: 20px;
  width: fit-content;
}

/* Info rows */
.doc-info {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 22px;
}

.doc-info-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.doc-info-row i {
  color: var(--teal-light);
  font-size: 13px;
  margin-top: 2px;
  width: 14px;
  flex-shrink: 0;
  opacity: 0.85;
}

/* Available times */
.doc-times {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
}

.doc-time-slot {
  padding: 4px 11px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-body);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.doc-card:hover .doc-time-slot {
  background: rgba(148,210,189,0.1);
  border-color: rgba(148,210,189,0.2);
  color: var(--teal-light);
}

/* Card footer */
.doc-card-footer {
  padding: 0 28px 26px;
}

.doc-book-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border: none;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  letter-spacing: 0.2px;
  box-shadow: 0 6px 20px rgba(10,147,150,0.35);
  transition: transform 0.22s, box-shadow 0.22s, background 0.22s;
  position: relative;
  overflow: hidden;
}
.doc-book-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}
.doc-book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(10,147,150,0.5);
}
.doc-book-btn:hover::after { background: rgba(255,255,255,0.07); }
.doc-book-btn:active { transform: translateY(0); }
.doc-book-btn i { transition: transform 0.2s; }
.doc-book-btn:hover i { transform: scale(1.2); }

/* Booked state */
.doc-book-btn.booked {
  background: linear-gradient(135deg, #2dbd88, #1a9e72);
  box-shadow: 0 6px 20px rgba(45,189,136,0.35);
  cursor: default;
  transform: none !important;
}

/* ── Confirmation Toast ── */
.doc-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: rgba(45,189,136,0.95);
  color: #fff;
  padding: 14px 28px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.35);
  z-index: 999;
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s;
  white-space: nowrap;
  pointer-events: none;
}
.doc-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.doc-toast i { font-size: 16px; }

/* ── Animation ── */
@keyframes docFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .doctors-page { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 580px) {
  .doc-grid { grid-template-columns: 1fr; }
  .doctors-page { padding-left: 16px; padding-right: 16px; gap: 40px; }
  .doc-card-content { padding: 22px 22px 0; }
  .doc-card-footer { padding: 0 22px 22px; }
}
/* ════════════════════════════════════════
   BOOKING PAGE — booking.css
════════════════════════════════════════ */
 
.booking-page {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 60px) 40px 100px;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
 
/* ── Header ── */
.booking-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bkFadeUp 0.7s cubic-bezier(0.22,0.61,0.36,1) both 0.1s;
}
 
.booking-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  background: rgba(148,210,189,0.1);
  border: 1px solid rgba(148,210,189,0.25);
  border-radius: 50px;
  color: var(--teal-light);
  font-size: 12.5px;
  font-weight: 500;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}
 
.booking-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 74px);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.booking-title em { font-style: italic; color: var(--teal-light); }
 
.booking-sub {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.5);
}
 
/* ── Stats Row ── */
.booking-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  animation: bkFadeUp 0.7s cubic-bezier(0.22,0.61,0.36,1) both 0.2s;
}
 
.bk-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  flex: 1;
  min-width: 160px;
}
.bk-stat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(148,210,189,0.12);
  border: 1px solid rgba(148,210,189,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-light);
  font-size: 18px;
  flex-shrink: 0;
}
.bk-stat-info { display: flex; flex-direction: column; gap: 2px; }
.bk-stat-num {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 600;
  color: #fff; line-height: 1;
}
.bk-stat-label {
  font-size: 11.5px; font-weight: 500;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase; letter-spacing: 0.7px;
  font-family: var(--font-body);
}
 
/* ── Empty State ── */
.booking-empty {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 60px 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 24px;
  backdrop-filter: blur(14px);
  width: 100%;
  animation: bkFadeUp 0.7s cubic-bezier(0.22,0.61,0.36,1) both 0.2s;
}
.empty-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(148,210,189,0.1);
  border: 1px solid rgba(148,210,189,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: var(--teal-light);
  margin-bottom: 8px;
}
.booking-empty h3 {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 600; color: #fff;
}
.booking-empty p {
  font-family: var(--font-body);
  font-size: 14.5px; color: rgba(255,255,255,0.5);
  max-width: 360px; line-height: 1.7;
}
.empty-cta {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 28px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 12px; color: #fff;
  font-family: var(--font-body); font-size: 14.5px; font-weight: 600;
  text-decoration: none; margin-top: 8px;
  box-shadow: 0 6px 20px rgba(10,147,150,0.4);
  transition: transform 0.22s, box-shadow 0.22s;
}
.empty-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(10,147,150,0.5); }
 
/* ── Booking List ── */
.booking-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
 
/* ── Booking Card ── */
.bk-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22,0.61,0.36,1),
              border-color 0.3s, background 0.3s, box-shadow 0.3s;
  animation: bkFadeUp 0.6s cubic-bezier(0.22,0.61,0.36,1) both;
  animation-delay: var(--delay, 0s);
}
 
.bk-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--teal-light), var(--teal-dark));
  border-radius: 4px 0 0 4px;
  transition: width 0.3s;
}
 
.bk-card:hover {
  transform: translateX(6px);
  border-color: rgba(148,210,189,0.25);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}
.bk-card:hover::before { width: 6px; }
 
/* Card number badge */
.bk-num {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(148,210,189,0.1);
  border: 1px solid rgba(148,210,189,0.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  color: var(--teal-light);
  flex-shrink: 0;
  transition: background 0.25s, transform 0.25s;
}
.bk-card:hover .bk-num {
  background: rgba(148,210,189,0.18);
  transform: scale(1.08);
}
 
/* Card info */
.bk-info {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px 20px;
  align-items: center;
}
 
.bk-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.bk-field-label {
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-family: var(--font-body);
}
.bk-field-value {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
}
.bk-field-value.highlight { color: var(--teal-light); }
 
/* Date badge */
.bk-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(148,210,189,0.1);
  border: 1px solid rgba(148,210,189,0.18);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--teal-light);
  font-family: var(--font-body);
  width: fit-content;
}
.bk-date-badge i { font-size: 11px; }
 
/* Remove button */
.bk-remove-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(224,82,82,0.08);
  border: 1px solid rgba(224,82,82,0.2);
  color: rgba(224,82,82,0.7);
  font-size: 15px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}
.bk-remove-btn:hover {
  background: rgba(224,82,82,0.2);
  border-color: rgba(224,82,82,0.45);
  color: #ff7a7a;
  transform: scale(1.1);
}
 
/* ── Clear All Button ── */
.booking-clear-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  animation: bkFadeUp 0.7s ease both 0.3s;
}
.booking-clear-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 28px;
  background: rgba(224,82,82,0.08);
  border: 1px solid rgba(224,82,82,0.22);
  border-radius: 12px;
  color: #ff9a9a;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.22s;
}
.booking-clear-btn:hover {
  background: rgba(224,82,82,0.18);
  border-color: rgba(224,82,82,0.4);
  color: #fff;
  transform: translateY(-2px);
}
 
/* ── Confirm Modal ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,15,25,0.75);
  backdrop-filter: blur(8px);
  z-index: 500;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.show { opacity: 1; pointer-events: all; }
 
.modal-box {
  background: rgba(10,35,48,0.95);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 44px 48px;
  text-align: center;
  max-width: 420px; width: 90%;
  box-shadow: 0 32px 72px rgba(0,0,0,0.6);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.modal-overlay.show .modal-box {
  transform: translateY(0) scale(1);
}
 
.modal-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(224,82,82,0.12);
  border: 1px solid rgba(224,82,82,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #ff9a9a;
  margin-bottom: 4px;
}
.modal-box h3 {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 600; color: #fff;
}
.modal-box p {
  font-family: var(--font-body);
  font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6;
}
.modal-actions {
  display: flex; gap: 12px; margin-top: 8px; width: 100%;
}
.modal-cancel {
  flex: 1; padding: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 11px; color: rgba(255,255,255,0.7);
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: background 0.2s, color 0.2s;
}
.modal-cancel:hover { background: rgba(255,255,255,0.13); color: #fff; }
 
.modal-confirm {
  flex: 1; padding: 12px;
  background: rgba(224,82,82,0.15);
  border: 1px solid rgba(224,82,82,0.35);
  border-radius: 11px; color: #ff9a9a;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background 0.2s, color 0.2s;
}
.modal-confirm:hover { background: rgba(224,82,82,0.3); color: #fff; }
 
/* ── Toast ── */
.booking-toast {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: rgba(45,189,136,0.95);
  color: #fff;
  padding: 14px 28px;
  border-radius: 14px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.35);
  z-index: 999; opacity: 0; pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s;
  white-space: nowrap;
}
.booking-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
 
/* ── Animation ── */
@keyframes bkFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
 
/* ── Responsive ── */
@media (max-width: 768px) {
  .booking-page { padding-left: 20px; padding-right: 20px; gap: 32px; }
  .bk-info { grid-template-columns: 1fr 1fr; }
  .bk-card { padding: 20px; gap: 14px; }
}
@media (max-width: 520px) {
  .bk-info { grid-template-columns: 1fr; gap: 10px; }
  .bk-num { display: none; }
  .modal-box { padding: 32px 24px; }
  .booking-page { padding-left: 14px; padding-right: 14px; }
}
 /* ════════════════════════════════════════
   CONTACT PAGE — contact.css
════════════════════════════════════════ */

.contact-page {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 60px) 40px 100px;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

/* ── Header ── */
.contact-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: ctFadeUp 0.7s cubic-bezier(0.22,0.61,0.36,1) both 0.1s;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  background: rgba(148,210,189,0.1);
  border: 1px solid rgba(148,210,189,0.25);
  border-radius: 50px;
  color: var(--teal-light);
  font-size: 12.5px; font-weight: 500;
  font-family: var(--font-body); letter-spacing: 0.5px;
  margin-bottom: 22px;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 300; color: #fff;
  line-height: 1.1; letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.contact-title em { font-style: italic; color: var(--teal-light); }

.contact-sub {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 300; font-style: italic;
  color: rgba(255,255,255,0.5); line-height: 1.8;
}

/* ── Layout: info + form ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 28px;
  width: 100%;
  align-items: start;
}

/* ══ LEFT: Info Cards ══════════════════════ */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22,0.61,0.36,1),
              border-color 0.3s, background 0.3s, box-shadow 0.3s;
  animation: ctFadeUp 0.7s cubic-bezier(0.22,0.61,0.36,1) both;
  animation-delay: var(--delay, 0.1s);
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148,210,189,0.4), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.info-card:hover {
  transform: translateX(6px);
  border-color: rgba(148,210,189,0.25);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 12px 32px rgba(0,0,0,0.28);
}
.info-card:hover::before { opacity: 1; }

.info-card-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(148,210,189,0.12);
  border: 1px solid rgba(148,210,189,0.22);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-light); font-size: 18px;
  flex-shrink: 0;
  transition: background 0.3s, transform 0.3s;
}
.info-card:hover .info-card-icon {
  background: rgba(148,210,189,0.2);
  transform: scale(1.1) rotate(-5deg);
}

.info-card-body {
  display: flex; flex-direction: column; gap: 3px;
}
.info-card-label {
  font-size: 10.5px; font-weight: 600;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase; letter-spacing: 0.8px;
  font-family: var(--font-body);
}
.info-card-value {
  font-family: var(--font-body);
  font-size: 15px; font-weight: 500;
  color: #fff;
}
.info-card-hint {
  font-size: 12.5px; color: rgba(255,255,255,0.4);
  font-family: var(--font-body);
}

/* Social buttons */
.contact-socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
  animation: ctFadeUp 0.7s cubic-bezier(0.22,0.61,0.36,1) both 0.45s;
}
.social-btn {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 16px;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}
.social-btn:hover {
  background: rgba(148,210,189,0.15);
  border-color: rgba(148,210,189,0.3);
  color: var(--teal-light);
  transform: translateY(-3px);
}

/* ══ RIGHT: Form ═══════════════════════════ */
.contact-form-wrap {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  position: relative;
  animation: ctFadeUp 0.7s cubic-bezier(0.22,0.61,0.36,1) both;
  animation-delay: var(--delay, 0.2s);
}
.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148,210,189,0.45), transparent);
}

.contact-form {
  padding: 40px 44px;
  display: flex; flex-direction: column; gap: 22px;
}

.cf-header h2 {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 600; color: #fff;
  margin-bottom: 5px;
}
.cf-header p {
  font-family: var(--font-body);
  font-size: 13.5px; color: rgba(255,255,255,0.5); font-weight: 300;
}

/* Form groups */
.cf-group { display: flex; flex-direction: column; gap: 7px; }

.cf-group label {
  font-size: 11.5px; font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 0.8px;
  font-family: var(--font-body);
}

.cf-input-wrap {
  position: relative; display: flex; align-items: center;
}
.cf-icon {
  position: absolute; left: 15px;
  color: var(--teal-light); font-size: 13.5px;
  pointer-events: none; opacity: 0.8;
}

.cf-input-wrap input,
.cf-input-wrap textarea {
  width: 100%;
  padding: 13px 16px 13px 42px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 12px;
  font-family: var(--font-body); font-size: 14px; color: #fff;
  outline: none; resize: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.cf-input-wrap textarea { padding-top: 14px; line-height: 1.6; }
.cf-input-wrap input::placeholder,
.cf-input-wrap textarea::placeholder { color: rgba(255,255,255,0.28); }

.cf-input-wrap input:focus,
.cf-input-wrap textarea:focus {
  border-color: var(--teal-light);
  background: rgba(255,255,255,0.11);
  box-shadow: 0 0 0 3px rgba(148,210,189,0.14);
}
.cf-input-wrap input.cf-err-field,
.cf-input-wrap textarea.cf-err-field {
  border-color: var(--error) !important;
  box-shadow: 0 0 0 3px rgba(224,82,82,0.13) !important;
}

.cf-error {
  font-size: 11.5px; color: #ff9a9a;
  min-height: 15px; padding-left: 2px;
  font-family: var(--font-body);
}

/* Submit button */
.cf-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 15px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border: none; border-radius: 13px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; color: #fff;
  cursor: pointer; letter-spacing: 0.2px;
  box-shadow: 0 6px 22px rgba(10,147,150,0.4);
  transition: transform 0.22s, box-shadow 0.22s;
  margin-top: 4px;
}
.cf-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(10,147,150,0.55);
}
.cf-submit:active { transform: translateY(0); }

/* ── Success State ── */
.form-success {
  padding: 60px 44px;
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 16px;
  animation: ctFadeUp 0.6s ease both;
}
.success-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(45,189,136,0.12);
  border: 1px solid rgba(45,189,136,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; color: #2dbd88;
  margin-bottom: 8px;
  animation: successPop 0.6s cubic-bezier(0.34,1.56,0.64,1) both 0.1s;
}
@keyframes successPop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 600; color: #fff;
}
.form-success p {
  font-family: var(--font-body);
  font-size: 14.5px; color: rgba(255,255,255,0.55);
  max-width: 320px; line-height: 1.7;
}
.success-reset {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 26px; margin-top: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.75); cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.success-reset:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* ── Animation ── */
@keyframes ctFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info { flex-direction: row; flex-wrap: wrap; }
  .info-card { flex: 1; min-width: 200px; }
  .contact-socials { width: 100%; }
}
@media (max-width: 600px) {
  .contact-page { padding-left: 16px; padding-right: 16px; gap: 36px; }
  .contact-form { padding: 28px 22px; }
  .contact-info { flex-direction: column; }
  .info-card { flex: unset; }
  .form-success { padding: 40px 22px; }
}
/* ── Admin Portal Link (Login Page) ── */
.admin-portal-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}
.admin-portal-link i { font-size: 12px; color: rgba(148,210,189,0.5); transition: color 0.25s; }
.admin-portal-link:hover {
  background: rgba(10,147,150,0.1);
  border-color: rgba(10,147,150,0.25);
  color: rgba(255,255,255,0.75);
  transform: translateY(-2px);
}
.admin-portal-link:hover i { color: var(--teal-light); }
/* ── Admin Added Doctor Badge ── */
.admin-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: rgba(233,216,166,0.15);
  border: 1px solid rgba(233,216,166,0.3);
  border-radius: 50px;
  font-size: 10px;
  font-weight: 700;
  color: #e9d8a6;
  margin-left: 6px;
  letter-spacing: 0.5px;
}

/* ── Admin Portal Link (Login Page) ── */
.admin-portal-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}
.admin-portal-link i { font-size: 12px; color: rgba(148,210,189,0.5); transition: color 0.25s; }
.admin-portal-link:hover {
  background: rgba(10,147,150,0.1);
  border-color: rgba(10,147,150,0.25);
  color: rgba(255,255,255,0.75);
  transform: translateY(-2px);
}
.admin-portal-link:hover i { color: var(--teal-light); }

/* ── Admin Added Doctor Badge ── */
.admin-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: rgba(233,216,166,0.15);
  border: 1px solid rgba(233,216,166,0.3);
  border-radius: 50px;
  font-size: 10px;
  font-weight: 700;
  color: #e9d8a6;
  margin-left: 6px;
  letter-spacing: 0.5px;
}

/* ════════════════════════════════════════
   BOOKING MODAL (Doctor Pages)
════════════════════════════════════════ */
.booking-modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,10,20,0.8);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.booking-modal-overlay.show { opacity: 1; pointer-events: all; }

.booking-modal {
  background: rgba(8,18,30,0.98);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  width: 480px; max-width: 94vw;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  transform: translateY(30px) scale(0.97);
  transition: transform 0.38s cubic-bezier(0.34,1.56,0.64,1);
  overflow: hidden;
}
.booking-modal-overlay.show .booking-modal {
  transform: translateY(0) scale(1);
}
.booking-modal-header {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 26px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(10,147,150,0.06);
}
.booking-modal-icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: rgba(10,147,150,0.15);
  border: 1px solid rgba(10,147,150,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-light); font-size: 20px; flex-shrink: 0;
}
.booking-modal-header h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 4px;
}
.modal-spec-tag {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 50px;
  background: rgba(148,210,189,0.1);
  border: 1px solid rgba(148,210,189,0.2);
  font-size: 11.5px; font-weight: 600; color: var(--teal-light);
  font-family: var(--font-body);
}
.booking-modal-close {
  margin-left: auto; flex-shrink: 0;
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6); font-size: 15px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.booking-modal-close:hover { background: rgba(255,255,255,0.13); color: #fff; }

.booking-modal-body {
  padding: 24px 26px;
  display: flex; flex-direction: column; gap: 18px;
}
.modal-times-preview {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 11px;
  font-size: 13px; color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
}
.modal-times-preview i { color: var(--teal-light); font-size: 13px; flex-shrink: 0; }

.modal-form-group { display: flex; flex-direction: column; gap: 7px; }
.modal-form-group label {
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.8px;
  font-family: var(--font-body);
}
.modal-select-wrap { position: relative; }
.modal-select-icon {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--teal-light); font-size: 13px; pointer-events: none;
}
.modal-select-wrap select {
  width: 100%; padding: 13px 16px 13px 40px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 11px;
  font-family: var(--font-body); font-size: 14px; color: #fff;
  outline: none; cursor: pointer;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  appearance: none;
}
.modal-select-wrap select option { background: #0d1828; }
.modal-select-wrap select:focus {
  border-color: var(--teal-light);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 3px rgba(148,210,189,0.13);
}
.modal-select-wrap select:disabled { opacity: 0.4; cursor: not-allowed; }

.modal-error {
  font-size: 12.5px; color: #ff9a9a;
  font-family: var(--font-body); text-align: center;
  background: rgba(224,82,82,0.08);
  border: 1px solid rgba(224,82,82,0.2);
  border-radius: 8px; padding: 8px 14px;
}
.booking-modal-footer {
  display: flex; gap: 12px;
  padding: 18px 26px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.modal-cancel-btn {
  flex: 1; padding: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 11px; color: rgba(255,255,255,0.65);
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: background 0.2s, color 0.2s;
}
.modal-cancel-btn:hover { background: rgba(255,255,255,0.12); color: #fff; }
.modal-confirm-btn {
  flex: 2; padding: 12px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border: none; border-radius: 11px; color: #fff;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(10,147,150,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.modal-confirm-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,147,150,0.5);
}
