/* ============================================================
   Birmingham Physical Therapy & Sports Medicine — Modern Design
   ============================================================ */

/* --- Variables --- */
:root {
  --primary:    #1B72BE;
  --primary-dk: #0A3055;
  --primary-lt: #E8F3FC;
  --accent:     #F97316;
  --accent-dk:  #D45E00;
  --text:       #1A1A2E;
  --text-muted: #5A6070;
  --border:     #D8E4EF;
  --white:      #FFFFFF;
  --bg-light:   #F5F9FD;
  --radius:     10px;
  --shadow:     0 4px 20px rgba(10,48,85,0.10);
  --shadow-lg:  0 8px 40px rgba(10,48,85,0.16);
  --nav-h:      72px;
  --font:       'Inter', system-ui, -apple-system, sans-serif;
  --transition: 0.22s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
ul { list-style: none; }

/* --- Typography --- */
h1,h2,h3,h4,h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-dk);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Layout Utilities --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 80px 0; }
.section--light { background: var(--bg-light); }
.section--dark  { background: var(--primary-dk); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.section__header {
  text-align: center;
  margin-bottom: 50px;
}
.section__header h2 { margin-bottom: 12px; }
.section__header p  { color: var(--text-muted); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }

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

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dk); color: var(--white); }

.btn-accent  { background: var(--accent);  color: var(--white); }
.btn-accent:hover  { background: var(--accent-dk); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

.btn-white { background: var(--white); color: var(--primary-dk); }
.btn-white:hover { background: var(--primary-lt); color: var(--primary-dk); }

/* --- Pill Badge --- */
.badge {
  display: inline-block;
  background: var(--primary-lt);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(10,48,85,0.10);
  height: var(--nav-h);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-brand img { height: 48px; width: auto; }
.nav-brand-text { font-size: 0.9rem; font-weight: 700; color: var(--primary-dk); line-height: 1.25; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links > li { position: relative; }

.nav-links > li > a {
  display: block;
  padding: 0.55rem 0.9rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li.active > a {
  background: var(--primary-lt);
  color: var(--primary);
}

/* Dropdown */
.nav-links .dropdown { position: relative; }
.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 8px 0;
  padding-top: 16px;
  border: 1px solid var(--border);
  margin-top: 0;
}
.nav-links .dropdown-menu a {
  display: block;
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
  color: var(--text);
  transition: background var(--transition);
}
.nav-links .dropdown-menu a:hover { background: var(--primary-lt); color: var(--primary); }
.nav-links .dropdown:hover .dropdown-menu { display: block; }

.nav-cta {
  margin-left: 12px;
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
  border-radius: 6px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary-dk);
  transition: var(--transition);
  border-radius: 2px;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  overflow-y: auto;
  padding: 1.5rem;
  z-index: 999;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--primary); }
.mobile-nav .sub-link {
  padding-left: 2rem;
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.mobile-nav .mobile-cta { margin-top: 1.5rem; display: block; text-align: center; }
.mobile-caret {
  font-size: 1rem;
  padding: 0 6px;
  color: var(--primary);
  pointer-events: auto;
  flex-shrink: 0;
}

/* ================================================================
   TOP BAR
   ================================================================ */
.top-bar {
  background: var(--primary-dk);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 7px 0;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.top-bar a { color: rgba(255,255,255,0.9); }
.top-bar a:hover { color: var(--white); }
.top-bar-group { display: flex; align-items: center; gap: 20px; }
.top-bar-item { display: flex; align-items: center; gap: 6px; }
.top-bar-icon { width: 14px; opacity: 0.7; }
.social-icons { display: flex; align-items: center; gap: 10px; }
.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  transition: background var(--transition), color var(--transition);
}
.social-icons a:hover { background: rgba(255,255,255,0.3); color: var(--white); }
.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; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  color: var(--white);
  padding: 80px 0;
}
.hero-content h1 { color: var(--white); margin-bottom: 18px; }
.hero-content p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Slider hero */
.hero-slider { position: relative; }
.hero-slide { display: none; }
.hero-slide.active { display: flex; }
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
  transition: background var(--transition);
}
.slider-dot.active { background: var(--white); }

/* ================================================================
   PAGE HEADER (inner pages)
   ================================================================ */
.page-header {
  background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 100%);
  padding: 56px 0;
  text-align: center;
  color: var(--white);
}
.page-header h1 { color: var(--white); margin-bottom: 8px; }
.breadcrumb { font-size: 0.88rem; opacity: 0.75; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--white); }

/* ================================================================
   CARDS
   ================================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 0.6rem; }
.card-body p  { color: var(--text-muted); flex: 1; }
.card-body .btn { margin-top: 1.2rem; align-self: flex-start; }

/* Icon card */
.icon-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.icon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.icon-card .icon-wrap {
  width: 64px; height: 64px;
  background: var(--primary-lt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}
.icon-card .icon-wrap svg { width: 32px; height: 32px; stroke: var(--primary); }
.icon-card h3 { margin-bottom: 0.5rem; }
.icon-card p  { font-size: 0.92rem; color: var(--text-muted); }

/* ================================================================
   WHY CHOOSE US BANNER
   ================================================================ */
.why-us {
  background: linear-gradient(135deg, var(--primary-dk), var(--primary));
  color: var(--white);
  padding: 72px 0;
}
.why-us h2 { color: var(--white); text-align: center; margin-bottom: 40px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}
.why-item h4 { color: var(--white); font-size: 1rem; margin-bottom: 6px; }
.why-item p  { font-size: 0.88rem; opacity: 0.8; }
.why-icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.why-icon svg { width: 26px; height: 26px; stroke: var(--white); }

/* ================================================================
   CTA STRIP
   ================================================================ */
.cta-strip {
  background: var(--accent);
  padding: 48px 0;
  text-align: center;
  color: var(--white);
}
.cta-strip h2 { color: var(--white); margin-bottom: 10px; }
.cta-strip p  { opacity: 0.9; margin-bottom: 24px; font-size: 1.05rem; }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--primary-dk);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand img { height: 60px; width: auto; margin-bottom: 16px; }
.footer-brand p   { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--white); }
.footer-hours li { font-size: 0.88rem; display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 0.9rem; }
.footer-contact-item a { color: rgba(255,255,255,0.8); }
.footer-contact-item a:hover { color: var(--white); }
.footer-social { display: flex; align-items: center; gap: 10px; margin-top: 16px; align-self: flex-start; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1;
  overflow: hidden;
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}
.footer-social a:hover { background: var(--primary); color: var(--white); }
.footer-social a i { line-height: 1; display: block; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: rgba(255,255,255,0.85); }

/* ================================================================
   ABOUT PAGE
   ================================================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-intro img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-intro h2 { margin-bottom: 20px; }
.about-bullets { margin: 20px 0; }
.about-bullets li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-muted);
}
.about-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 15px;
  width: 10px; height: 10px;
  background: var(--primary);
  border-radius: 50%;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
}
.stat-box {
  background: var(--white);
  padding: 36px 20px;
  text-align: center;
}
.stat-box .stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  display: block;
}
.stat-box .stat-label { font-size: 0.88rem; color: var(--text-muted); margin-top: 6px; }

/* ================================================================
   TEAM PAGE
   ================================================================ */
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.team-card-body { padding: 1.5rem; }
.team-card-body h3 { margin-bottom: 4px; }
.team-card-body .role { color: var(--primary); font-size: 0.9rem; font-weight: 600; margin-bottom: 10px; }
.team-card-body p { font-size: 0.88rem; color: var(--text-muted); }

/* ================================================================
   SERVICES PAGE
   ================================================================ */
.service-list { display: flex; flex-direction: column; gap: 56px; }
.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.service-item.reverse { direction: rtl; }
.service-item.reverse > * { direction: ltr; }
.service-item img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.service-item h3 { font-size: 1.5rem; margin-bottom: 14px; }
.service-item p  { color: var(--text-muted); margin-bottom: 14px; }

/* ================================================================
   PATIENT CENTER
   ================================================================ */
.forms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.form-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 1.2rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.form-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  color: var(--primary);
}
.form-card svg { flex-shrink: 0; width: 28px; height: 28px; stroke: var(--primary); }
.form-card span { font-weight: 600; font-size: 0.92rem; }

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
}
.contact-info h3 { margin-bottom: 24px; }
.contact-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--primary-lt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg { width: 22px; height: 22px; stroke: var(--primary); }
.contact-row h4 { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; margin-bottom: 3px; }
.contact-row p, .contact-row a { font-size: 1rem; font-weight: 600; color: var(--text); }
.contact-row a:hover { color: var(--primary); }

.contact-map iframe {
  width: 100%;
  height: 340px;
  border: none;
  border-radius: var(--radius);
  margin-top: 28px;
  box-shadow: var(--shadow);
}

.hours-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 9px 0; font-size: 0.92rem; }
.hours-table td:last-child { text-align: right; font-weight: 600; }

/* Contact card box */
.contact-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
}

/* Contact form (submits to Formspree) */
.contact-embed {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.contact-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.contact-form .form-row { text-align: left; margin-bottom: 1.2rem; }
.contact-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.contact-form .field { position: relative; display: flex; align-items: center; }
.contact-form .field-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
  pointer-events: none;
  transition: stroke var(--transition);
}
.contact-form .field--textarea .field-icon { top: 14px; }
.contact-form .field:focus-within .field-icon { stroke: var(--primary); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem 0.75rem 2.6rem;
  font: inherit;
  color: var(--text);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--primary-lt);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #A6AEBB; }
.contact-form textarea { resize: vertical; }
.contact-form button[type="submit"] {
  width: 100%;
  border: none;
  cursor: pointer;
  font-size: 1.02rem;
  padding: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.2px;
}
.contact-form button[type="submit"] .btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  animation: cf-spin 0.7s linear infinite;
}
.contact-form button[type="submit"]:disabled { opacity: 0.75; cursor: not-allowed; }
.contact-form button[type="submit"]:disabled .btn-label { display: none; }
.contact-form button[type="submit"]:disabled .btn-spinner { display: block; }
@keyframes cf-spin { to { transform: rotate(360deg); } }
.contact-form .form-status {
  margin: 14px 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}
.contact-form .form-status.error { color: #c0392b; }

/* Success popup */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 48, 85, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2.4rem 2rem;
  max-width: 380px;
  width: 100%;
  text-align: center;
  transform: translateY(12px) scale(0.97);
  transition: transform var(--transition);
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-check {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #E8F8EF;
  color: #1a7f45;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-check svg { width: 32px; height: 32px; }
.modal-box h3 { margin-bottom: 8px; }
.modal-box p { color: var(--text-muted); margin-bottom: 22px; }
.modal-box .btn { display: inline-flex; padding-left: 2rem; padding-right: 2rem; }

@media (max-width: 560px) {
  .contact-form .form-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   PERFORMANCE PAGE
   ================================================================ */
.program-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.program-card img { width: 100%; height: 240px; object-fit: cover; }
.program-card-body { padding: 1.8rem; flex: 1; }
.program-card-body h3 { margin-bottom: 14px; }
.program-card-body p { color: var(--text-muted); margin-bottom: 14px; }
.program-card-body ul { list-style: disc; padding-left: 1.4rem; color: var(--text-muted); }
.program-card-body ul li { margin-bottom: 6px; font-size: 0.92rem; }

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Nav switches to the hamburger menu earlier than the general mobile
   breakpoint below — the full link row + brand text + CTA button need
   close to the full 1200px container width or they get cramped. */
@media (max-width: 1199px) {
  :root { --nav-h: 64px; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-brand-text { display: none; }
}

@media (max-width: 1024px) {
  .grid-3    { grid-template-columns: repeat(2, 1fr); }
  .why-grid  { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-content { padding: 60px 0; }

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

  .about-intro    { grid-template-columns: 1fr; }
  .service-item   { grid-template-columns: 1fr; }
  .service-item.reverse { direction: ltr; }
  .contact-layout { grid-template-columns: 1fr; }
  .forms-grid     { grid-template-columns: 1fr 1fr; }
  .footer-grid    { grid-template-columns: 1fr; gap: 28px; }
  .stats-row      { grid-template-columns: repeat(2, 1fr); }

  /* Hide entire top bar on mobile */
  .top-bar { display: none; }

  .section { padding: 56px 0; }
}

@media (max-width: 480px) {
  .why-grid  { grid-template-columns: 1fr; }
  .forms-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  /* Stack stats 2-wide on small phones */
  .stats-row { grid-template-columns: 1fr 1fr; }
  /* Shrink hero min-height on small phones */
  .hero, .hero-slide { min-height: 420px; }
}
