/* ===================================================================
   MY MEDICAL CENTERS - 2026 UNIFIED DESIGN SYSTEM
   Modern Healthcare Interface & Experience
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Brand Palette */
  --primary: #0077be;
  --primary-hover: #005f9e;
  --primary-dark: #072b4a;
  --primary-light: #e8f4fc;
  --primary-glow: rgba(0, 119, 190, 0.28);

  /* Modern Accents */
  --accent-cyan: #06b6d4;
  --accent-teal: #0ea5e9;
  --accent-coral: #ff5a5f;
  --accent-green: #10b981;
  --accent-green-bg: #ecfdf5;
  --accent-purple: #8b5cf6;
  --accent-purple-bg: #f5f3ff;

  /* Neutrals & Surfaces */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border-light: rgba(148, 163, 184, 0.2);
  --border-glass: rgba(255, 255, 255, 0.4);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -8px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 12px 36px -6px var(--primary-glow);

  /* Typography */
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --header-height: 74px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ===================================================================
   UNIFIED HEADER & NAVIGATION
   =================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1200;
  display: flex;
  align-items: center;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.header-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.85rem;
  z-index: 1250;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

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

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

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--primary);
  margin-top: 2px;
}

/* Navigation Links */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(0, 119, 190, 0.07);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 700;
  background: var(--primary-light);
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.52rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--primary) 0%, #0093e9 100%);
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: var(--transition);
  margin-left: 0.5rem;
  border: none;
  cursor: pointer;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
  background: linear-gradient(135deg, var(--primary-hover) 0%, #0081cc 100%);
}

/* Mobile Hamburger Toggle */
.hamburger-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1250;
  flex-direction: column;
  justify-content: space-around;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.hamburger-toggle:hover {
  background: rgba(0, 119, 190, 0.08);
}

.hamburger-line {
  width: 24px;
  height: 2.5px;
  background-color: var(--primary-dark);
  border-radius: 4px;
  transition: var(--transition);
  margin: 0 auto;
}

.hamburger-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer Menu */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  z-index: 1150;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  display: flex;
  justify-content: flex-end;
}

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

.mobile-drawer-content {
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: #ffffff;
  box-shadow: -8px 0 30px rgba(0,0,0,0.15);
  padding: calc(var(--header-height) + 1.5rem) 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-nav-drawer.open .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mobile-nav-links .nav-link {
  font-size: 1.05rem;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-md);
}

.mobile-nav-links .nav-cta-btn {
  margin-top: 1rem;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.mobile-drawer-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===================================================================
   HOMEPAGE DYNAMIC 3-BAR EXPANDING HERO (2026 MODERN)
   =================================================================== */
.hero-split-wrapper {
  margin-top: var(--header-height);
  height: calc(100vh - var(--header-height));
  min-height: 600px;
  width: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
  background-color: #071322;
}

.clinic-bar {
  position: relative;
  flex: 1;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.clinic-bar:last-child {
  border-right: none;
}

/* Background image & gradient overlay */
.clinic-bar-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  filter: brightness(0.65) saturate(1.05);
}

.clinic-bar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(7, 26, 47, 0.2) 0%,
    rgba(7, 26, 47, 0.55) 45%,
    rgba(7, 26, 47, 0.95) 100%
  );
  transition: background 0.5s ease;
  z-index: 1;
}

/* Clinic Bar Content */
.clinic-bar-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2.25rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 600px;
}

/* Top Location Pill Badge */
.clinic-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.clinic-bar-title {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Bracket Info Pill Badges */
.bracket-info-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.bracket-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.bracket-badge.accent-pink {
  background: rgba(255, 90, 95, 0.3);
  border-color: rgba(255, 90, 95, 0.55);
  color: #ffe4e6;
}

.bracket-badge.accent-purple {
  background: rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.55);
  color: #ede9fe;
}

.bracket-badge.accent-green {
  background: rgba(16, 185, 129, 0.3);
  border-color: rgba(16, 185, 129, 0.55);
  color: #d1fae5;
}

/* Address snippet & details */
.clinic-bar-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Reveal CTA Button on Hover */
.clinic-bar-action {
  margin-top: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  align-self: flex-start;
  opacity: 0.95;
  transform: translateY(4px);
}

.clinic-bar-action span.arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

/* Dynamic Hover Interaction: Expanded space */
.hero-split-wrapper:hover .clinic-bar {
  flex: 0.78;
  filter: brightness(0.85);
}

.hero-split-wrapper .clinic-bar:hover {
  flex: 2.25;
  filter: brightness(1);
}

.hero-split-wrapper .clinic-bar:hover .clinic-bar-bg {
  transform: scale(1.08);
  filter: brightness(0.82) saturate(1.15);
}

.hero-split-wrapper .clinic-bar:hover .clinic-bar-overlay {
  background: linear-gradient(
    180deg,
    rgba(7, 26, 47, 0.1) 0%,
    rgba(7, 26, 47, 0.45) 45%,
    rgba(7, 26, 47, 0.92) 100%
  );
}

.hero-split-wrapper .clinic-bar:hover .clinic-bar-action {
  opacity: 1;
  transform: translateY(0);
  background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.hero-split-wrapper .clinic-bar:hover .clinic-bar-action span.arrow {
  transform: translateX(4px);
}

/* Mobile hero fallback: Vertical stack */
@media (max-width: 900px) {
  .hero-split-wrapper {
    flex-direction: column;
    height: auto;
    min-height: calc(100vh - var(--header-height));
  }

  .clinic-bar {
    flex: none !important;
    height: 380px;
    border-right: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  }

  .clinic-bar-title {
    font-size: 2rem;
  }

  .clinic-bar-content {
    padding: 2rem 1.5rem;
  }
}

/* ===================================================================
   PAGE LAYOUT & HERO TEMPLATES FOR INNER PAGES
   =================================================================== */
.page-main-wrapper {
  margin-top: var(--header-height);
  flex: 1;
  padding: 3rem 1.5rem 5rem;
}

.content-container {
  max-width: 1240px;
  margin: 0 auto;
}

/* Inner Page Hero Header */
.page-hero {
  background: linear-gradient(135deg, #0b2545 0%, #134074 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3rem;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e0f2fe;
  margin-bottom: 1rem;
}

.page-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.page-hero-subtitle {
  font-size: 1.15rem;
  color: #e2e8f0;
  max-width: 780px;
  line-height: 1.6;
}

/* Fast Action Buttons Section (Required on Clinic Pages) */
.clinic-action-buttons-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
  align-items: center;
}

.clinic-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
  box-shadow: var(--shadow-md);
}

.clinic-btn-primary {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff !important;
}

.clinic-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.4);
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.clinic-btn-accent-pink {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  color: #ffffff !important;
}

.clinic-btn-accent-pink:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(244, 63, 94, 0.4);
}

.clinic-btn-accent-purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: #ffffff !important;
}

.clinic-btn-accent-purple:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.clinic-btn-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}

.clinic-btn-outline:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

/* ===================================================================
   DOCTOR DIRECTORY & LISTINGS (2026 ROSTER DESIGN)
   =================================================================== */
.roster-section {
  margin-bottom: 3.5rem;
}

.roster-heading-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 0.85rem;
}

.roster-category-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.doctor-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 119, 190, 0.35);
}

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

.doctor-avatar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}

.doctor-info-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.doctor-info-text p.role {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.status-badge.accepting {
  background: var(--accent-green-bg);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.accepting::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.status-badge.not-accepting {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
}

.status-badge.walk-in {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.status-badge.specialist {
  background: var(--accent-purple-bg);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

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

/* ===================================================================
   CLINIC INFO & CONTACT BAR CARDS
   =================================================================== */
.clinic-details-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.detail-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--primary);
}

.detail-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.detail-value a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.detail-value a:hover {
  text-decoration: underline;
}

/* ===================================================================
   MODALS & POPUPS (2026 FROSTED GLASS)
   =================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  width: 100%;
  max-width: 520px;
  padding: 2.25rem;
  position: relative;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  max-height: 90vh;
}

.modal-overlay.show .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #64748b;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.modal-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

.modal-actions-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.modal-action-button {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 1.02rem;
  font-weight: 700;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--primary-dark);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.modal-action-button:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  transform: translateX(4px);
}

.modal-action-button.primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0093e9 100%);
  color: #ffffff;
  border: none;
}

.modal-action-button.primary:hover {
  box-shadow: 0 8px 20px var(--primary-glow);
  transform: translateY(-2px);
}

/* ===================================================================
   UNIFIED 2026 FOOTER
   =================================================================== */
.site-footer {
  background: #0b1e36;
  color: #cbd5e1;
  padding: 4.5rem 1.75rem 2.5rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-col h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.footer-brand-col p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 380px;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-list a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-nav-list a:hover {
  color: #38bdf8;
}

.footer-locations-bar {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-loc-box h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer-loc-box p {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 0.35rem;
}

.footer-loc-box a {
  color: #38bdf8;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.footer-emergency-note {
  background: rgba(239, 68, 68, 0.12);
  border-left: 4px solid #ef4444;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  color: #fca5a5;
  font-size: 0.88rem;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-locations-bar {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .hamburger-toggle {
    display: flex;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .page-hero {
    padding: 2.5rem 1.5rem;
  }
  .page-hero-title {
    font-size: 2.15rem;
  }
  .clinic-action-buttons-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .clinic-btn {
    width: 100%;
  }
}

/* ===================================================================
   NOTICE BOARD COMPONENT (2026 MODERN)
   =================================================================== */
.notice-board-section {
  background: #08162b;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3.5rem 1.75rem;
  color: #ffffff;
}

.notice-board-container {
  max-width: 1440px;
  margin: 0 auto;
}

.notice-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.notice-board-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: -0.02em;
}

.notice-board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.75rem;
}

.notice-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.notice-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

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

.notice-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.notice-pill.green {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.notice-pill.amber {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.notice-pill.blue {
  background: rgba(14, 165, 233, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.4);
}

.notice-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.notice-desc {
  font-size: 0.98rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.notice-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

