/* ================================================================
   LEARN TODAY DENTAL EDUCATION — Global Elite Stylesheet v3
   LearnTodayDental.com | Poppins · Cormorant · Open Sans
   Extracted from index.html elite design system + inner page extensions
================================================================ */

/* ═══════════════════════════════════════════════════════════
   ELITE COLOR SYSTEM — Learn Today Dental Education
   Palette: Prussian Blue · Sapphire Teal · Champagne Gold · Blush Rose · Warm Ivory
═══════════════════════════════════════════════════════════ */
:root {
  /* — Core Brand — */
  --ink:         #0D1B2A;   /* Prussian Blue — deepest text / hero bg */
  --ink-mid:     #1C3045;   /* Mid navy — section bgs */
  --ink-light:   #2A4560;   /* Lighter navy — card accents */

  /* — Primary Action (Sapphire Teal) — */
  --sapphire:    #0E7490;   /* Deep sapphire teal */
  --sapphire-l:  #0EA5C9;   /* Light sapphire */
  --sapphire-xl: #7DD3E8;   /* Pale sapphire — stat numbers */
  --sapphire-bg: #EFF8FB;   /* Near-white teal tint */
  --sapphire-bg2:#F5FBFC;   /* Lightest teal tint */

  /* — Gold Accent (Champagne Gold — the elite touch) — */
  --gold:        #B8964E;   /* Champagne gold */
  --gold-l:      #D4B57A;   /* Soft gold */
  --gold-xl:     #F5E9CE;   /* Gold tint bg */
  --gold-pale:   #FDFAF3;   /* Ivory — warm near-white for sections */

  /* — Secondary Accent (Muted Rose) — */
  --rose:        #C4617A;   /* Sophisticated blush rose */
  --rose-l:      #D9849A;   /* Lighter rose */
  --rose-deep:   #A0445C;   /* Deep rose — hover */
  --rose-bg:     #FDF0F4;   /* Rose tint bg */

  /* — Neutrals — */
  --ivory:       #FDFAF5;   /* Warm ivory page background */
  --white:       #FFFFFF;
  --gray-text:   #445566;
  --gray-mid:    #6B7C93;
  --gray-light:  #F4F6F9;
  --gray-border: #DDE3EC;

  /* — Shadows — */
  --sh-sm:    0 2px 14px rgba(13,27,42,0.07);
  --sh-md:    0 8px 32px rgba(13,27,42,0.11);
  --sh-lg:    0 20px 60px rgba(13,27,42,0.16);
  --sh-sap:   0 8px 28px rgba(14,116,144,0.28);
  --sh-gold:  0 8px 28px rgba(184,150,78,0.30);
  --sh-rose:  0 8px 28px rgba(196,97,122,0.28);

  /* — Shape — */
  --r-sm:   10px;
  --r-md:   18px;
  --r-lg:   28px;
  --r-pill: 100px;
  --nav-h:  76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.7;
  background: var(--ivory);
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.2; }
.serif { font-family: 'Cormorant Garamond', serif; }
img { max-width: 100%; height: auto; display: block; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--sapphire-bg2); }
::-webkit-scrollbar-thumb { background: var(--sapphire); border-radius: 3px; }

/* ── Scroll Progress ── */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--sapphire), var(--gold), var(--rose));
  z-index: 9999; width: 0%; transition: width 0.08s linear;
}

/* ═══════════════════════════════════════
   ANNOUNCEMENT BAR
═══════════════════════════════════════ */
.announcement-bar {
  background: linear-gradient(90deg, var(--ink) 0%, #0c3550 50%, var(--ink) 100%);
  color: rgba(255,255,255,0.82);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative; z-index: 1001;
}
.announcement-bar a {
  color: var(--gold-l);
  text-decoration: none; font-weight: 700; margin-left: 6px;
  border-bottom: 1px solid rgba(212,181,122,0.4);
  transition: border-color 0.2s, color 0.2s;
}
.announcement-bar a:hover { color: var(--gold); border-color: var(--gold); }

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(253,250,245,0.97);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(13,27,42,0.07), 0 4px 20px rgba(13,27,42,0.05);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
  transition: height 0.3s, box-shadow 0.3s, background 0.3s;
}
.navbar.scrolled {
  height: 64px;
  background: rgba(253,250,245,0.99);
  box-shadow: 0 2px 28px rgba(13,27,42,0.12);
}

.navbar-logo a { display: flex; align-items: center; text-decoration: none; }
.navbar-logo img { height: 52px; width: auto; transition: height 0.3s; }
.navbar.scrolled .navbar-logo img { height: 42px; }

.navbar-links { display: flex; align-items: center; gap: 0.1rem; list-style: none; }

.nav-item { position: relative; }
.nav-item > a {
  text-decoration: none; color: var(--ink-mid);
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.845rem;
  letter-spacing: 0.01em; padding: 0.48rem 0.88rem; border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s; display: flex; align-items: center; gap: 0.3rem; white-space: nowrap;
}
.nav-item > a:hover { color: var(--sapphire); background: var(--sapphire-bg); }
.nav-item > a.active { color: var(--sapphire); }

/* Chevron arrow */
.nav-item.has-dropdown > a::after {
  content: '';
  display: inline-block; width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); margin-left: 3px;
  transition: transform 0.22s;
}
.nav-item.has-dropdown.dd-open > a::after { transform: rotate(-135deg) translateY(-2px); }

/* Dropdown */
.dropdown {
  position: absolute; top: 100%; left: 50%;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: 0 20px 60px rgba(13,27,42,0.15), 0 0 0 1px rgba(13,27,42,0.06);
  padding: 0.55rem; min-width: 235px; z-index: 1000;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}
.dropdown::before {
  content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
}
.nav-item.has-dropdown.dd-open > .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex; align-items: center; gap: 0.65rem; padding: 0.58rem 0.88rem;
  text-decoration: none; color: var(--ink-mid);
  font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 0.845rem;
  border-radius: var(--r-sm); transition: background 0.15s, color 0.15s; white-space: nowrap;
}
.dropdown a:hover { background: var(--sapphire-bg); color: var(--sapphire); }
.dropdown a .dd-icon { font-size: 1rem; width: 22px; text-align: center; }
.dropdown-divider { height: 1px; background: var(--gray-border); margin: 0.32rem 0.5rem; }

/* ── Nav Register button — GOLD premium style ── */
.btn-nav {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-l) 100%);
  color: var(--ink) !important;
  padding: 0.52rem 1.3rem !important; border-radius: 4px !important;
  font-weight: 700 !important; font-size: 0.72rem !important;
  box-shadow: var(--sh-gold); margin-left: 0.4rem; letter-spacing: 0.1em; text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s !important;
  position: relative !important; overflow: hidden !important;
}
.btn-nav::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.35) 50%, transparent 80%);
  transition: left 0.4s ease;
}
.btn-nav:hover { transform: translateY(-2px) !important; box-shadow: 0 12px 28px rgba(184,150,78,0.45) !important; }
.btn-nav:hover::after { left: 160% !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; border-radius: var(--r-sm); transition: background 0.2s; }
.hamburger:hover { background: var(--sapphire-bg); }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
/* ── Cursor Glow ── */
#cursor-glow {
  position: fixed; width: 380px; height: 380px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(14,116,144,0.07) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: left 0.18s ease, top 0.18s ease;
  will-change: left, top;
}

.hero {
  position: relative;
  background: linear-gradient(155deg, var(--ink) 0%, #0c2a42 28%, #093d56 58%, var(--sapphire) 100%);
  color: var(--white);
  padding: 80px 5% 90px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; min-height: 82vh;
}
/* Real photo background layer */
.hero-photo-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('imagejpeg_0_2.JPG') center center / cover no-repeat;
  opacity: 0.13;
  filter: saturate(0.3) brightness(0.6);
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero:hover .hero-photo-bg { transform: scale(1.0); }

/* Grain texture overlay — the "expensive wallpaper" effect */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.5; pointer-events: none; z-index: 2;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 8% 88%, rgba(14,116,144,0.35) 0%, transparent 52%),
    radial-gradient(ellipse at 92% 12%, rgba(184,150,78,0.14) 0%, transparent 45%),
    radial-gradient(ellipse at 55% 50%, rgba(14,165,201,0.08) 0%, transparent 60%);
  pointer-events: none; z-index: 2;
}

/* ── Gold Section Divider ── */
.gold-divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold-l) 50%, var(--gold) 70%, transparent 100%);
  opacity: 0.35;
  margin: 0;
}

/* ── Photo Strip (Marquee) ── */
.photo-strip {
  background: var(--ink); padding: 0; overflow: hidden;
  position: relative; height: 220px;
}
.photo-strip::before, .photo-strip::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
}
.photo-strip::before { left: 0; background: linear-gradient(to right, var(--ink), transparent); }
.photo-strip::after  { right: 0; background: linear-gradient(to left, var(--ink), transparent); }
.photo-strip-track {
  display: flex; gap: 12px; width: max-content;
  animation: photoScroll 38s linear infinite;
  height: 100%; align-items: center; padding: 12px 0;
}
.photo-strip-track:hover { animation-play-state: paused; }
@keyframes photoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.photo-strip-item {
  width: 280px; height: 196px; flex-shrink: 0; overflow: hidden;
  border-radius: 2px;
  position: relative;
}
.photo-strip-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(14,116,144,0.15) 0%, transparent 60%);
  transition: opacity 0.3s;
}
.photo-strip-item:hover::after { opacity: 0; }
.photo-strip-item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.75) brightness(0.82);
  transition: transform 0.5s ease, filter 0.4s ease;
}
.photo-strip-item:hover img { transform: scale(1.06); filter: saturate(1) brightness(0.95); }

/* ── Section Gold Rule Accent ── */
.section-gold-rule {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.8rem;
}
.section-gold-rule::before, .section-gold-rule::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  opacity: 0.3;
}
.section-gold-rule::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.section-gold-rule span {
  font-family: 'Cormorant Garamond', serif; font-size: 0.8rem;
  letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold);
  opacity: 0.7; white-space: nowrap;
}
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none; z-index: 2;
}
.hero-ring1, .hero-ring2, .hero-ring3 { position: absolute; border-radius: 50%; pointer-events: none; z-index: 2; }
.hero-ring1 { width: 680px; height: 680px; top: -210px; right: -200px; border: 1px solid rgba(255,255,255,0.035); }
.hero-ring2 { width: 380px; height: 380px; bottom: -100px; left: -80px; border: 1px solid rgba(14,116,144,0.1); }
.hero-ring3 { width: 220px; height: 220px; top: 38%; right: 6%; border: 1px solid rgba(184,150,78,0.08); animation: slowSpin 35s linear infinite; }
@keyframes slowSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero-inner {
  position: relative; z-index: 3; max-width: 880px; width: 100%; text-align: center;
}

.hero-logo-wrap { margin-bottom: 1.75rem; display: flex; justify-content: center; }
.hero-logo {
  width: 138px; height: auto; border-radius: 22px;
  filter: drop-shadow(0 10px 36px rgba(0,0,0,0.5));
  animation: floatLogo 7s ease-in-out infinite;
}
@keyframes floatLogo { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-9px) rotate(0.5deg); } }

.hero-eyebrow {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.7rem;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-l);
  margin-bottom: 1rem; display: inline-flex; align-items: center; gap: 0.75rem;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; display: inline-block; width: 34px; height: 1px;
  background: var(--gold-l); opacity: 0.5;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.9rem, 6.2vw, 5.2rem);
  font-weight: 600; color: var(--white);
  margin-bottom: 1.1rem; line-height: 1.08; letter-spacing: -0.01em;
}
.hero h1 em { font-style: italic; color: var(--sapphire-xl); }

.hero-sub {
  font-size: 1.08rem; color: rgba(255,255,255,0.72); line-height: 1.72;
  margin: 0 auto 1.75rem; max-width: 660px;
}

/* Hero pills */
.hero-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 2rem; }
.hero-pill {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85);
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.7rem;
  letter-spacing: 0.05em; padding: 5px 13px; border-radius: var(--r-pill);
  backdrop-filter: blur(6px); display: inline-flex; align-items: center; gap: 0.4rem;
  transition: background 0.2s, border-color 0.2s;
}
.hero-pill:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.28); }
.hero-pill .pill-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sapphire-xl); flex-shrink: 0; }
.hero-pill.gold .pill-dot { background: var(--gold-l); }

/* Hero CTAs */
.hero-ctas { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

/* Hero stats */
.hero-stats-row {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0;
  border-top: 1px solid rgba(255,255,255,0.09);
  padding-top: 2rem; max-width: 680px; margin: 0 auto;
}
.hero-stat { flex: 1; min-width: 130px; text-align: center; padding: 0 1.2rem; position: relative; }
.hero-stat + .hero-stat::before {
  content: ''; position: absolute; left: 0; top: 12%; bottom: 12%;
  width: 1px; background: rgba(255,255,255,0.1);
}
.hero-stat-num {
  display: flex; align-items: flex-start; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; font-weight: 700;
  color: var(--gold-l); line-height: 1; margin-bottom: 0.3rem;
}
.hero-stat-suffix { font-size: 1.6rem; color: var(--gold-l); padding-top: 0.25rem; }
.hero-stat-label {
  display: block; font-family: 'Poppins', sans-serif; font-size: 0.67rem;
  font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); line-height: 1.4;
}

/* ═══════════════════════════════════════
   PREMIUM BUTTONS — THE CENTREPIECE
═══════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.82rem;
  text-decoration: none; border-radius: 4px;
  padding: 0.88rem 2.1rem;
  cursor: pointer; border: none; letter-spacing: 0.1em; text-transform: uppercase;
  position: relative; overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s ease;
}

/* Shimmer sweep on all buttons */
.btn::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.22) 50%, transparent 80%);
  transition: left 0.5s ease; pointer-events: none;
}
.btn:hover::before { left: 160%; }

/* PRIMARY: Sapphire Teal — main action */
.btn-primary {
  background: linear-gradient(135deg, var(--sapphire) 0%, var(--sapphire-l) 100%);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(14,116,144,0.38), inset 0 1px 0 rgba(255,255,255,0.14);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.012); box-shadow: 0 14px 36px rgba(14,116,144,0.48); }

/* GOLD: Champagne — elite/premium CTA */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-l) 55%, #dfc888 100%);
  color: var(--ink);
  box-shadow: 0 4px 18px rgba(184,150,78,0.40), inset 0 1px 0 rgba(255,255,255,0.25);
  font-weight: 800;
}
.btn-gold:hover { transform: translateY(-3px) scale(1.012); box-shadow: 0 14px 36px rgba(184,150,78,0.50); }

/* ROSE: Secondary warm CTA */
.btn-rose {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-l) 100%);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(196,97,122,0.36), inset 0 1px 0 rgba(255,255,255,0.14);
}
.btn-rose:hover { transform: translateY(-3px) scale(1.012); box-shadow: 0 14px 36px rgba(196,97,122,0.46); }

/* GHOST WHITE: On dark backgrounds */
.btn-ghost-white {
  background: rgba(255,255,255,0.07);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.7); transform: translateY(-2px); }
.btn-ghost-white::before { background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.15) 50%, transparent 80%); }

/* GHOST SAPPHIRE: On light backgrounds */
.btn-ghost-sap {
  background: transparent;
  color: var(--sapphire);
  border: 1.5px solid var(--sapphire);
}
.btn-ghost-sap:hover { background: var(--sapphire-bg); transform: translateY(-2px); }
.btn-ghost-sap::before { background: linear-gradient(100deg, transparent 20%, rgba(14,116,144,0.1) 50%, transparent 80%); }

/* DARK SOLID */
.btn-dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(13,27,42,0.35), inset 0 1px 0 rgba(255,255,255,0.07);
}
.btn-dark:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(13,27,42,0.45); }

/* Arrow icon animation */
.btn .btn-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: transform 0.22s, background 0.22s;
  flex-shrink: 0;
}
.btn:hover .btn-arrow { transform: translateX(3px); background: rgba(255,255,255,0.25); }

.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.72rem; border-radius: 3px; letter-spacing: 0.08em; }
.btn-lg { padding: 1.05rem 2.55rem; font-size: 0.85rem; }

/* Keep backward-compat aliases */
.btn-teal { @apply: .btn-primary; }
.btn-pink { background: linear-gradient(135deg, var(--rose) 0%, var(--rose-l) 100%); color: var(--white); box-shadow: var(--sh-rose), inset 0 1px 0 rgba(255,255,255,0.14); }
.btn-pink:hover { transform: translateY(-3px) scale(1.012); box-shadow: 0 14px 36px rgba(196,97,122,0.46); }
.btn-outline-teal { background: transparent; color: var(--sapphire); border: 1.5px solid var(--sapphire); }
.btn-outline-teal:hover { background: var(--sapphire-bg); transform: translateY(-2px); }
.btn-outline-white { background: rgba(255,255,255,0.07); color: var(--white); border: 1.5px solid rgba(255,255,255,0.35); backdrop-filter: blur(6px); }
.btn-outline-white:hover { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.7); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--rose-deep); box-shadow: 0 4px 20px rgba(13,27,42,0.2); }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(13,27,42,0.28); }

/* Form submit button */
.form-submit-btn {
  width: 100%; padding: 0.88rem;
  background: linear-gradient(135deg, var(--sapphire) 0%, var(--sapphire-l) 100%);
  color: var(--white); border: none; border-radius: 4px;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: all 0.22s; box-shadow: var(--sh-sap);
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: 0.5rem; position: relative; overflow: hidden;
}
.form-submit-btn::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.2) 50%, transparent 80%);
  transition: left 0.5s ease;
}
.form-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(14,116,144,0.42); }
.form-submit-btn:hover::before { left: 160%; }
.form-submit-btn.success { background: linear-gradient(135deg, #2e7d32, #43a047); }

/* ═══════════════════════════════════════
   TICKER / MARQUEE
═══════════════════════════════════════ */
.ticker-wrap {
  background: linear-gradient(90deg, var(--ink) 0%, var(--sapphire) 50%, var(--ink) 100%);
  padding: 10px 0; overflow: hidden; position: relative;
}
.ticker-wrap::before, .ticker-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; }
.ticker-wrap::before { left: 0; background: linear-gradient(to right, var(--ink), transparent); }
.ticker-wrap::after  { right: 0; background: linear-gradient(to left, var(--ink), transparent); }
.ticker-track { display: flex; animation: ticker 44s linear infinite; width: max-content; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
  display: flex; align-items: center; gap: 0.65rem; padding: 0 2.2rem;
  color: rgba(255,255,255,0.8);
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
}
.ticker-dot { width: 4px; height: 4px; background: var(--gold-l); border-radius: 50%; opacity: 0.6; }

/* ═══════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════ */
.trust-bar {
  background: var(--gold-pale);
  border-top: 1px solid rgba(184,150,78,0.18);
  border-bottom: 1px solid rgba(184,150,78,0.18);
  color: var(--ink-mid);
  padding: 13px 5%;
  display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.03em;
}
.trust-item { display: flex; align-items: center; gap: 0.5rem; }
.trust-icon-svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--sapphire); }

/* ═══════════════════════════════════════
   STATS BAR
═══════════════════════════════════════ */
.stats-bar {
  background: var(--ink); padding: 38px 5%; position: relative; overflow: hidden;
}
.stats-bar::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(14,116,144,0.1) 0%, transparent 55%),
              radial-gradient(ellipse at 80% 50%, rgba(184,150,78,0.07) 0%, transparent 55%);
  pointer-events: none;
}
.stats-grid {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
  position: relative; z-index: 1;
}
.stat-item { text-align: center; padding: 0.75rem 1.5rem; position: relative; }
.stat-item + .stat-item::before {
  content: ''; position: absolute; left: 0; top: 18%; bottom: 18%;
  width: 1px; background: rgba(255,255,255,0.07);
}
.stat-num-wrap { display: flex; align-items: flex-start; justify-content: center; line-height: 1; margin-bottom: 0.45rem; }
.stat-number { font-family: 'Cormorant Garamond', serif; font-size: 3.2rem; font-weight: 700; color: var(--gold-l); line-height: 1; }
.stat-suffix { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--gold-l); padding-top: 0.22rem; }
.stat-label { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.42); margin-top: 0.2rem; line-height: 1.4; }

/* ═══════════════════════════════════════
   SECTION BASE
═══════════════════════════════════════ */
section { padding: 70px 5%; }
.section-wrap { max-width: 1120px; margin: 0 auto; }

.section-eyebrow {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.67rem;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--sapphire);
  margin-bottom: 0.5rem; display: inline-flex; align-items: center; gap: 0.55rem;
}
.section-eyebrow::before { content: ''; display: inline-block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.85rem, 3.7vw, 2.85rem); font-weight: 600;
  color: var(--ink); margin-bottom: 0.6rem; line-height: 1.2;
}
.section-title em { font-style: italic; color: var(--sapphire); }
.section-sub { color: var(--gray-text); font-size: 0.98rem; max-width: 540px; line-height: 1.76; }

/* ═══════════════════════════════════════
   WHY SECTION
═══════════════════════════════════════ */
.why-section { background: var(--sapphire-bg2); position: relative; overflow: hidden; }
.why-section::before {
  content: ''; position: absolute; top: -100px; left: -80px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(14,116,144,0.06) 0%, transparent 70%); pointer-events: none;
}

.why-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(228px,1fr)); gap: 1.2rem; margin-top: 2.4rem; }

.why-card {
  background: var(--white);
  border-radius: var(--r-md); padding: 1.8rem 1.7rem;
  box-shadow: var(--sh-sm); border-top: 3px solid var(--sapphire);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s;
  position: relative; overflow: hidden;
}
.why-card:nth-child(2) { border-top-color: var(--rose); }
.why-card:nth-child(3) { border-top-color: var(--gold); }
.why-card:nth-child(4) { border-top-color: var(--ink-light); }
.why-card:hover { transform: translateY(-8px); box-shadow: var(--sh-md); }

.why-icon-wrap {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--sapphire-bg); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.why-card:hover .why-icon-wrap { transform: scale(1.1) rotate(-4deg); }
.why-card:nth-child(2) .why-icon-wrap { background: var(--rose-bg); }
.why-card:nth-child(3) .why-icon-wrap { background: var(--gold-xl); }
.why-card:nth-child(4) .why-icon-wrap { background: var(--sapphire-bg); }
.why-icon-svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 1.02rem; color: var(--ink); margin-bottom: 0.4rem; font-family: 'Poppins', sans-serif; }
.why-card p { color: var(--gray-text); font-size: 0.88rem; line-height: 1.65; }

/* ═══════════════════════════════════════
   COURSES SECTION
═══════════════════════════════════════ */
.courses-section { background: var(--white); }

.courses-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(305px,1fr)); gap: 1.2rem; margin-top: 2.4rem; }

.course-card {
  background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--r-md);
  padding: 1.7rem; transition: all 0.28s; position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.course-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--sapphire), var(--gold), var(--rose));
  transform: scaleX(0); transform-origin: left; transition: transform 0.38s;
}
.course-card:hover::before { transform: scaleX(1); }
.course-card:hover { border-color: rgba(14,116,144,0.35); box-shadow: var(--sh-sap); transform: translateY(-5px); }

.course-icon-wrap {
  width: 48px; height: 48px; border-radius: 13px;
  background: linear-gradient(135deg, var(--sapphire-bg), rgba(14,116,144,0.07));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; font-size: 1.45rem;
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1);
}
.course-card:hover .course-icon-wrap { transform: scale(1.13) rotate(-6deg); }
.course-card h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: 0.42rem; font-family: 'Poppins', sans-serif; }
.course-card p { color: var(--gray-text); font-size: 0.88rem; margin-bottom: 0.9rem; line-height: 1.65; flex: 1; }

.course-card-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.45rem; margin-top: auto; padding-top: 0.9rem; border-top: 1px solid var(--gray-border); }
.course-badge { display: inline-block; background: var(--sapphire-bg); color: var(--sapphire); font-size: 0.68rem; font-weight: 700; padding: 3px 11px; border-radius: var(--r-pill); font-family: 'Poppins', sans-serif; letter-spacing: 0.03em; }
.course-badge.rose { background: var(--rose-bg); color: var(--rose-deep); }
.course-badge.gold { background: var(--gold-xl); color: #7a5a00; }
.course-link { color: var(--sapphire); font-weight: 700; font-size: 0.81rem; text-decoration: none; font-family: 'Poppins', sans-serif; display: inline-flex; align-items: center; gap: 0.28rem; transition: gap 0.2s, color 0.2s; }
.course-link:hover { gap: 0.55rem; color: var(--rose); }

/* ═══════════════════════════════════════
   WHO WE SERVE
═══════════════════════════════════════ */
.who-section {
  background: linear-gradient(155deg, var(--ink) 0%, var(--ink-mid) 100%);
  color: var(--white); position: relative; overflow: hidden;
}
.who-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 18% 50%, rgba(14,116,144,0.15) 0%, transparent 52%),
              radial-gradient(ellipse at 82% 30%, rgba(184,150,78,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.who-section .section-eyebrow { color: var(--gold-l); }
.who-section .section-title { color: var(--white); }
.who-section .section-sub { color: rgba(255,255,255,0.62); }

.who-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(218px,1fr)); gap: 1.2rem; margin-top: 2.4rem; }

.who-card {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.09); border-radius: var(--r-md);
  padding: 1.7rem 1.4rem; backdrop-filter: blur(4px);
  transition: transform 0.28s, background 0.28s, border-color 0.28s;
  position: relative; overflow: hidden;
}
.who-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.09); border-color: rgba(14,116,144,0.45); }

.who-icon-wrap {
  width: 48px; height: 48px; border-radius: 13px;
  background: rgba(14,116,144,0.18);
  display: flex; align-items: center; justify-content: center; margin-bottom: 0.95rem;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.who-card:hover .who-icon-wrap { transform: scale(1.1) rotate(-4deg); }
.who-icon-svg { width: 24px; height: 24px; }
.who-card h3 { font-size: 1.02rem; color: var(--white); margin-bottom: 0.38rem; font-family: 'Poppins', sans-serif; }
.who-card p { color: rgba(255,255,255,0.6); font-size: 0.86rem; line-height: 1.65; }

/* ═══════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════ */
.how-section { background: var(--ivory); }

.how-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(218px,1fr)); gap: 1.2rem; margin-top: 2.4rem; }

.how-card {
  background: var(--white); border-radius: var(--r-md); padding: 1.7rem 1.4rem;
  box-shadow: var(--sh-sm); text-align: center;
  transition: transform 0.28s, box-shadow 0.28s;
}
.how-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }

.how-number-ring {
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sapphire), var(--sapphire-l));
  color: var(--white); font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.9rem; box-shadow: var(--sh-sap);
}
.how-step-label { font-family: 'Poppins', sans-serif; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.32rem; }
.how-card h3 { font-size: 0.98rem; color: var(--ink); margin-bottom: 0.38rem; font-family: 'Poppins', sans-serif; }
.how-card p { color: var(--gray-text); font-size: 0.86rem; line-height: 1.65; }

.how-options { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; }
.how-option { background: var(--white); border-radius: var(--r-md); padding: 1.2rem 1.65rem; max-width: 285px; box-shadow: var(--sh-sm); transition: transform 0.25s, box-shadow 0.25s; text-align: left; }
.how-option:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.how-option.teal { border-left: 3px solid var(--sapphire); }
.how-option.pink { border-left: 3px solid var(--rose); }
.how-option-label { font-family: 'Poppins', sans-serif; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sapphire); margin-bottom: 0.22rem; }
.how-option.pink .how-option-label { color: var(--rose); }
.how-option h4 { font-family: 'Poppins', sans-serif; font-size: 0.95rem; color: var(--ink); margin-bottom: 0.28rem; }
.how-option p { font-size: 0.84rem; color: var(--gray-text); }

/* ═══════════════════════════════════════
   IN ACTION GALLERY
═══════════════════════════════════════ */
.gallery-section { background: var(--ivory); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 230px 230px;
  gap: 10px;
  border-radius: var(--r-md);
  overflow: hidden;
}

.gallery-item {
  position: relative; overflow: hidden; cursor: zoom-in;
  background: var(--sapphire-bg);
}
.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }

.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(0.85) brightness(0.9);
  transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.07); filter: saturate(1.05) brightness(1); }

.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.82) 0%, transparent 100%);
  color: var(--white); padding: 1.5rem 1rem 0.8rem;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* Lightbox overlay */
.gallery-overlay {
  position: fixed; inset: 0; background: rgba(13,27,42,0.96);
  z-index: 9998; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
  backdrop-filter: blur(10px);
}
.gallery-overlay.open { opacity: 1; pointer-events: auto; }
.gallery-overlay img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 4px; box-shadow: var(--sh-lg); }
.gallery-overlay-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  background: rgba(255,255,255,0.1); border: none; color: white;
  width: 40px; height: 40px; border-radius: 2px; font-size: 1.2rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.gallery-overlay-close:hover { background: rgba(255,255,255,0.2); }

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item--tall { grid-row: span 1; }
  .gallery-item--wide { grid-column: span 2; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: span 1; }
}

/* ═══════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════ */
.testimonials-section {
  background: linear-gradient(155deg, var(--ink) 0%, #0c2c42 100%);
  position: relative; overflow: hidden;
}
.testimonials-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 12% 85%, rgba(14,116,144,0.12) 0%, transparent 52%),
              radial-gradient(ellipse at 88% 15%, rgba(184,150,78,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(278px,1fr)); gap: 1.2rem; margin-top: 2.4rem; }

.testimonial-card {
  background: rgba(255,255,255,0.055); border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-md); padding: 1.7rem; backdrop-filter: blur(6px);
  position: relative; transition: transform 0.28s, background 0.28s;
}
.testimonial-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.09); }
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 0.8rem; right: 1.4rem;
  font-family: 'Cormorant Garamond', serif; font-size: 4.5rem;
  color: rgba(184,150,78,0.18); line-height: 1; pointer-events: none;
}

.testimonial-stars { color: var(--gold-l); font-size: 0.9rem; letter-spacing: 0.08em; margin-bottom: 0.8rem; }
.testimonial-card blockquote { font-size: 0.92rem; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 1.2rem; font-style: italic; }
.testimonial-author strong { display: block; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.82rem; color: var(--white); }
.testimonial-author span { font-size: 0.76rem; color: var(--sapphire-xl); font-family: 'Poppins', sans-serif; font-weight: 500; }

/* ═══════════════════════════════════════
   INSTRUCTORS
═══════════════════════════════════════ */
.instructors-section { background: var(--ivory); }

.instructors-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(285px,1fr)); gap: 1.5rem; margin-top: 2.4rem; }

.instructor-card {
  background: var(--white); border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--sh-sm); transition: transform 0.28s, box-shadow 0.28s; display: flex; flex-direction: column;
}
.instructor-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }

.instructor-photo { position: relative; height: 275px; overflow: hidden; background: var(--sapphire-bg); }
.instructor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; display: block; transition: transform 0.5s; }
.instructor-card:hover .instructor-photo img { transform: scale(1.03); }
.instructor-photo::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 90px;
  background: linear-gradient(to top, rgba(13,27,42,0.6), transparent); pointer-events: none;
}

.instructor-photo-badge {
  position: absolute; top: 0.9rem; right: 0.9rem;
  background: rgba(13,27,42,0.88); backdrop-filter: blur(10px);
  border-left: 3px solid var(--gold); border-radius: var(--r-sm);
  padding: 5px 10px; z-index: 1;
}
.instructor-photo-badge span {
  display: block; font-family: 'Poppins', sans-serif; font-size: 0.6rem;
  font-weight: 700; color: var(--gold-l); letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.35;
}

.instructor-body { padding: 1.45rem; flex: 1; display: flex; flex-direction: column; }
.instructor-name { font-family: 'Poppins', sans-serif; font-size: 1.18rem; font-weight: 700; color: var(--ink); margin-bottom: 0.18rem; }
.instructor-title { font-size: 0.78rem; color: var(--gray-mid); font-family: 'Poppins', sans-serif; font-weight: 500; margin-bottom: 0.8rem; }

.credential-badges { display: flex; flex-wrap: wrap; gap: 0.38rem; margin-bottom: 0.8rem; }
.badge { display: inline-block; background: var(--sapphire-bg); color: var(--sapphire); font-size: 0.65rem; font-weight: 700; padding: 3px 9px; border-radius: var(--r-pill); font-family: 'Poppins', sans-serif; letter-spacing: 0.04em; border: 1px solid rgba(14,116,144,0.14); }
.badge.rose { background: var(--rose-bg); color: var(--rose-deep); border-color: rgba(196,97,122,0.14); }
.badge.gold { background: var(--gold-xl); color: #6b4e00; border-color: rgba(184,150,78,0.25); }

.instructor-bio { font-size: 0.86rem; color: var(--gray-text); line-height: 1.65; flex: 1; }
.instructor-ctas { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.2rem; }

/* ═══════════════════════════════════════
   FAQ
═══════════════════════════════════════ */
.faq-section { background: var(--white); }
.faq-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }

.faq-item { border-bottom: 1px solid var(--gray-border); }
.faq-question {
  width: 100%; background: none; border: none; text-align: left; padding: 0.95rem 0;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.9rem; color: var(--ink);
  cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--sapphire); }
.faq-question.open { color: var(--sapphire); }

.faq-icon {
  width: 26px; height: 26px; border-radius: 50%; background: var(--sapphire-bg); color: var(--sapphire);
  display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; flex-shrink: 0;
  transition: background 0.2s, transform 0.2s, color 0.2s;
}
.faq-question.open .faq-icon { background: var(--sapphire); color: var(--white); transform: rotate(45deg); }
.faq-answer { display: none; }
.faq-answer.open { display: block; }
.faq-answer-inner { padding: 0 0 0.95rem; font-size: 0.88rem; color: var(--gray-text); line-height: 1.72; }

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.contact-section { background: var(--sapphire-bg2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; margin-top: 2.4rem; align-items: start; }

.contact-detail { display: flex; align-items: flex-start; gap: 0.95rem; padding: 0.9rem 0; border-bottom: 1px solid var(--gray-border); }
.contact-detail:last-child { border-bottom: none; }

.contact-icon-wrap {
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(135deg, var(--sapphire), var(--sapphire-l));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: var(--sh-sap);
}
.contact-icon-svg { width: 18px; height: 18px; }

.contact-detail-text strong { display: block; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.8rem; color: var(--ink); margin-bottom: 0.2rem; }
.contact-detail-text a { display: block; color: var(--sapphire); text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: color 0.2s; margin-bottom: 0.22rem; }
.contact-detail-text a:hover { color: var(--rose); }
.contact-detail-text span { display: block; color: var(--gray-text); font-size: 0.88rem; margin-bottom: 0.22rem; }
.contact-detail-text small { display: block; color: var(--gray-mid); font-size: 0.76rem; line-height: 1.5; }

.form-card { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--sh-md); overflow: hidden; }

.form-tabs { display: flex; border-bottom: 1px solid var(--gray-border); background: var(--gray-light); }
.form-tab {
  flex: 1; padding: 0.88rem 0.5rem; background: none; border: none;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.75rem;
  color: var(--gray-mid); cursor: pointer; border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s; letter-spacing: 0.02em;
}
.form-tab:hover { color: var(--sapphire); background: rgba(14,116,144,0.04); }
.form-tab.active { color: var(--sapphire); border-bottom-color: var(--sapphire); background: var(--white); }

.form-panels { padding: 1.65rem; }
.form-panel { display: none; }
.form-panel.active { display: block; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.76rem; letter-spacing: 0.03em; color: var(--ink); margin-bottom: 0.32rem; }
.form-group label span { color: var(--rose); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.68rem 0.92rem; border: 1.5px solid var(--gray-border); border-radius: var(--r-sm);
  font-family: 'Open Sans', sans-serif; font-size: 0.88rem; color: var(--ink);
  background: var(--white); transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--sapphire); box-shadow: 0 0 0 3px rgba(14,116,144,0.1); }
.form-textarea { resize: vertical; min-height: 88px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }

/* ═══════════════════════════════════════
   CTA STRIP
═══════════════════════════════════════ */
.cta-strip {
  background: linear-gradient(155deg, var(--ink) 0%, #0c3050 45%, var(--sapphire) 100%);
  color: var(--white); text-align: center; padding: 70px 5%;
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 110%, rgba(14,116,144,0.22) 0%, transparent 58%); pointer-events: none;
}
/* Gold line accent above CTA heading */
.cta-strip::after {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 80px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.cta-strip h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem,4vw,3rem); font-weight: 600; margin-bottom: 0.7rem; position: relative; z-index: 1; }
.cta-strip p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; position: relative; z-index: 1; font-size: 0.98rem; }
.cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; position: relative; z-index: 1; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer { background: var(--ink); color: rgba(255,255,255,0.52); padding: 52px 5% 30px; }

.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem;
  margin-bottom: 2.75rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand img { height: 64px; width: auto; border-radius: 10px; margin-bottom: 0.8rem; }
.footer-brand p { font-size: 0.84rem; line-height: 1.7; max-width: 242px; margin-bottom: 1rem; }

.footer-social { display: flex; gap: 0.45rem; }
.footer-social a {
  width: 32px; height: 32px; background: rgba(255,255,255,0.06); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  color: rgba(255,255,255,0.55); transition: background 0.2s, transform 0.2s;
}
.footer-social a:hover { background: var(--sapphire); transform: translateY(-2px); color: var(--white); }

.footer-col h4 { font-family: 'Poppins', sans-serif; font-weight: 800; color: var(--white); font-size: 0.72rem; margin-bottom: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.42rem; }
.footer-col a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.84rem; transition: color 0.2s; display: flex; align-items: center; gap: 0.32rem; }
.footer-col a:hover { color: var(--gold-l); }
.footer-contact-item { display: flex; align-items: center; gap: 0.52rem; font-size: 0.84rem; margin-bottom: 0.55rem; color: rgba(255,255,255,0.5); }
.footer-contact-item a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--gold-l); }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.74rem; color: rgba(255,255,255,0.26); }
.footer-bottom a { color: rgba(255,255,255,0.26); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-l); }

/* ═══════════════════════════════════════
   FLOATING BUTTON
═══════════════════════════════════════ */
.float-btn {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 9000;
  background: linear-gradient(135deg, var(--ink) 0%, var(--sapphire) 100%);
  color: var(--white); padding: 0.78rem 1.45rem; border-radius: 4px;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.75rem;
  text-decoration: none; box-shadow: 0 6px 30px rgba(14,116,144,0.5);
  display: flex; align-items: center; gap: 0.42rem;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s, box-shadow 0.2s; pointer-events: none;
  overflow: hidden; letter-spacing: 0.08em; text-transform: uppercase;
}
.float-btn::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.2) 50%, transparent 80%);
  transition: left 0.5s ease;
}
.float-btn.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.float-btn:hover { box-shadow: 0 12px 38px rgba(14,116,144,0.6); transform: translateY(-2px); }
.float-btn:hover::before { left: 160%; }
.float-btn .pulse-ring {
  position: absolute; inset: -4px; border-radius: 4px;
  border: 2px solid rgba(14,116,144,0.45); animation: pulseRing 2.4s ease-out infinite;
}
@keyframes pulseRing { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.16); opacity: 0; } }

/* ═══════════════════════════════════════
   COOKIE BANNER
═══════════════════════════════════════ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--ink); color: rgba(255,255,255,0.84); padding: 1rem 5%;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  font-size: 0.84rem; box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
  transform: translateY(100%); transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner a { color: var(--gold-l); }
.cookie-btns { display: flex; gap: 0.55rem; flex-shrink: 0; }
.cookie-btn { padding: 0.42rem 1rem; border-radius: 3px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.77rem; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; border: none; transition: all 0.2s; }
.cookie-btn.accept { background: var(--sapphire); color: var(--white); }
.cookie-btn.accept:hover { background: var(--sapphire-l); }
.cookie-btn.decline { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.78); }
.cookie-btn.decline:hover { background: rgba(255,255,255,0.16); }

/* ═══════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal-left.visible { opacity: 1; transform: translateX(0); }
  .reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal-right.visible { opacity: 1; transform: translateX(0); }
  .reveal-delay-1 { transition-delay: 0.08s; }
  .reveal-delay-2 { transition-delay: 0.16s; }
  .reveal-delay-3 { transition-delay: 0.24s; }
  .reveal-delay-4 { transition-delay: 0.32s; }
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item + .stat-item::before { display: none; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navbar-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ivory); flex-direction: column; align-items: stretch; padding: 0.7rem 5% 1.2rem; box-shadow: var(--sh-md); gap: 0; z-index: 999; max-height: 80vh; overflow-y: auto; border-top: 1px solid var(--gray-border); }
  .navbar-links.open { display: flex; }
  .nav-item { border-bottom: 1px solid var(--gray-border); }
  .nav-item:last-child { border-bottom: none; }
  .nav-item > a { padding: 0.78rem 0; font-size: 0.92rem; }
  .nav-item.has-dropdown > a::after { margin-left: auto; }
  .dropdown { position: static !important; transform: none !important; box-shadow: none !important; padding: 0 0 0 1rem !important; background: var(--sapphire-bg2) !important; border-radius: var(--r-sm) !important; opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; display: none; }
  .nav-item.has-dropdown.mobile-open .dropdown { display: block; }
  .dropdown a { padding: 0.58rem 0.5rem; font-size: 0.86rem; }
  .btn-nav { margin: 0.5rem 0; display: block; text-align: center; border-radius: 4px !important; }
  .hero { padding: 58px 5% 70px; min-height: auto; }
  .hero h1 { font-size: 2.5rem; }
  .trust-bar { gap: 1rem; font-size: 0.74rem; }
  .form-row { grid-template-columns: 1fr; }
  .float-btn { bottom: 1rem; right: 1rem; padding: 0.68rem 1.15rem; font-size: 0.78rem; }
}
@media (max-width: 540px) {
  section { padding: 54px 5%; }
  .hero-stat { min-width: 50%; padding: 0.5rem; }
  .hero-stat + .hero-stat::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .form-tabs .form-tab { font-size: 0.68rem; padding: 0.78rem 0.2rem; }
  .instructors-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
}


/* ================================================================
   LEGACY VARIABLE ALIASES (inner pages may reference these)
================================================================ */
:root {
  --teal:         var(--sapphire);
  --teal-deep:    #0c5f74;
  --teal-light:   var(--sapphire-xl);
  --teal-tint:    var(--sapphire-bg);
  --teal-tint2:   var(--sapphire-bg2);
  --navy:         var(--ink);
  --navy-mid:     var(--ink-mid);
  --navy-dark:    #060f19;
  --pink:         var(--rose);
  --pink-warm:    var(--rose-l);
  --pink-light:   var(--rose-bg);
  --pink-deep:    var(--rose-deep);
  --off-white:    var(--sapphire-bg2);
  --radius-sm:    var(--r-sm);
  --radius-md:    var(--r-md);
  --radius-lg:    var(--r-lg);
  --radius-pill:  var(--r-pill);
  --shadow-sm:    var(--sh-sm);
  --shadow-md:    var(--sh-md);
  --shadow-lg:    var(--sh-lg);
  --gold-light:   var(--gold-xl);
}

/* ================================================================
   PAGE HERO — Inner pages (elite dark gradient with photo bg support)
================================================================ */
.page-hero {
  background: linear-gradient(155deg, var(--ink) 0%, #0c2a42 35%, #0a3d56 65%, var(--sapphire) 100%);
  color: var(--white);
  padding: 68px 5% 72px;
  position: relative; overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 12% 85%, rgba(14,116,144,0.3) 0%, transparent 52%),
    radial-gradient(ellipse at 88% 15%, rgba(184,150,78,0.12) 0%, transparent 45%);
  pointer-events: none; z-index: 1;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none; z-index: 1;
}
.page-hero-photo-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: 0.1; filter: saturate(0.3) brightness(0.5);
}
.page-hero-ring {
  position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(255,255,255,0.035); z-index: 1;
}
.page-hero-ring-1 { width: 500px; height: 500px; top: -180px; right: -150px; }
.page-hero-ring-2 { width: 280px; height: 280px; bottom: -80px; left: -60px; border-color: rgba(14,116,144,0.1); }

.page-hero-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }

.breadcrumb {
  font-family: 'Poppins', sans-serif; font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.05em; color: rgba(255,255,255,0.42);
  margin-bottom: 1.1rem; display: flex; align-items: center; justify-content: center; gap: 0.45rem;
}
.breadcrumb a { color: rgba(255,255,255,0.42); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold-l); }
.breadcrumb span { color: rgba(255,255,255,0.22); }

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600; line-height: 1.1; margin-bottom: 0.8rem;
}
.page-hero h1 em { font-style: italic; color: var(--sapphire-xl); }
.page-hero > p, .page-hero-inner > p {
  color: rgba(255,255,255,0.68); font-size: 1rem; line-height: 1.72;
  max-width: 580px; margin: 0 auto 1.5rem;
}
.page-hero-eyebrow {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.68rem;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-l);
  margin-bottom: 0.9rem; display: inline-flex; align-items: center; gap: 0.7rem;
}
.page-hero-eyebrow::before, .page-hero-eyebrow::after {
  content: ''; display: inline-block; width: 28px; height: 1px;
  background: var(--gold-l); opacity: 0.5;
}

/* ── Page hero course emoji icon ── */
.page-hero .hero-course-icon {
  font-size: 3.2rem; margin-bottom: 1rem; display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

/* ================================================================
   GOLD DIVIDER
================================================================ */
.gold-divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold-l) 50%, var(--gold) 70%, transparent 100%);
  opacity: 0.35;
}

/* ================================================================
   LEGACY BUTTON ALIASES
================================================================ */
.btn-teal {
  background: linear-gradient(135deg, var(--sapphire) 0%, var(--sapphire-l) 100%);
  color: var(--white); box-shadow: 0 4px 18px rgba(14,116,144,0.38);
}
.btn-teal:hover { transform: translateY(-3px) scale(1.012); box-shadow: 0 14px 36px rgba(14,116,144,0.48); }
.btn-pink, .btn-rose {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-l) 100%);
  color: var(--white); box-shadow: var(--sh-rose);
}
.btn-pink:hover, .btn-rose:hover { transform: translateY(-3px) scale(1.012); box-shadow: 0 14px 36px rgba(196,97,122,0.46); }
.btn-outline-teal {
  background: transparent; color: var(--sapphire); border: 1.5px solid var(--sapphire);
}
.btn-outline-teal:hover { background: var(--sapphire-bg); transform: translateY(-2px); }

/* ================================================================
   COURSE BADGE (used inline in course pages)
================================================================ */
.course-badge {
  display: inline-flex; align-items: center;
  background: var(--sapphire-bg); color: var(--sapphire);
  border: 1px solid rgba(14,116,144,0.18);
  font-family: 'Poppins', sans-serif; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.05em; padding: 4px 11px; border-radius: var(--r-pill);
  transition: background 0.2s;
}
.course-badge.gold-tag { background: var(--gold-xl); color: #6b4e00; border-color: rgba(184,150,78,0.25); }
.course-badge.rose-tag, .course-badge[style*="pink"] {
  background: var(--rose-bg); color: var(--rose-deep); border-color: rgba(196,97,122,0.18);
}

/* ================================================================
   COURSE LAYOUT — Single course pages (1fr + sidebar)
================================================================ */
.course-content-wrap {
  display: grid; grid-template-columns: 1fr 340px; gap: 3.5rem; align-items: start;
}
.course-sidebar-sticky { position: sticky; top: 100px; }

.course-sidebar-card {
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--sh-md); overflow: hidden;
  border: 1px solid var(--gray-border);
}
.course-sidebar-header {
  background: linear-gradient(135deg, var(--ink), var(--sapphire));
  padding: 1.5rem; text-align: center; color: var(--white);
}
.course-sidebar-header .sidebar-emoji { font-size: 2.2rem; margin-bottom: 0.5rem; display: block; }
.course-sidebar-header h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-weight: 600;
}
.course-sidebar-body { padding: 1.5rem; }
.sidebar-badges { display: flex; flex-wrap: wrap; gap: 0.38rem; margin-bottom: 1.2rem; }
.sidebar-label {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.7rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 0.65rem; display: block;
}
.sidebar-other-courses { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--gray-border); }
.sidebar-other-courses a {
  color: var(--sapphire); font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 0.85rem; text-decoration: none; transition: color 0.2s;
}
.sidebar-other-courses a:hover { color: var(--gold); }

/* Topics pill wrap */
.topic-pills { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1rem 0 1.5rem; }

/* Who is this for card */
.who-for-card {
  background: var(--sapphire-bg2); border-radius: var(--r-md);
  padding: 1.5rem; margin-top: 1.5rem;
  border: 1px solid rgba(14,116,144,0.12);
}
.who-for-card h3 {
  font-family: 'Poppins', sans-serif; font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink); margin-bottom: 0.8rem;
}
.who-for-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.who-for-card ul li {
  font-size: 0.88rem; color: var(--gray-text); display: flex; align-items: flex-start; gap: 0.55rem; line-height: 1.5;
}
.who-for-card ul li::before { content: '✓'; color: var(--sapphire); font-weight: 800; flex-shrink: 0; }

/* ── Who-For table layout (CPR & OSHA pages) ── */
.who-for-card table td:first-child { color: var(--ink); }
@media (max-width: 520px) {
  .who-for-card table,
  .who-for-card table tbody,
  .who-for-card table tr,
  .who-for-card table td { display: block; width: 100%; }
  .who-for-card table tr { border-bottom: 1px solid var(--gray-border); padding: 0.5rem 0; }
  .who-for-card table tr:last-child { border-bottom: none; }
  .who-for-card table td:first-child {
    padding: 0.25rem 0 0.1rem !important;
    white-space: normal !important;
    font-size: 0.82rem !important;
  }
  .who-for-card table td:last-child { padding: 0 0 0.25rem !important; }
}

/* ================================================================
   ABOUT PAGE — Instructor feature layout
================================================================ */
.brook-feature {
  display: grid; grid-template-columns: 320px 1fr; gap: 3.5rem; align-items: start;
}
.brook-photo-wrap { position: relative; }
.brook-photo-frame {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); position: relative;
}
.brook-photo-frame img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; display: block;
}
.brook-photo-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.4) 0%, transparent 55%);
  pointer-events: none;
}
.brook-founder-badge {
  position: absolute; bottom: -1rem; left: 50%; transform: translateX(-50%);
  background: var(--ink); border: 1px solid rgba(184,150,78,0.4);
  border-radius: 4px; padding: 0.65rem 1.2rem; text-align: center; white-space: nowrap;
  box-shadow: var(--sh-gold);
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.78rem;
  color: var(--gold-l); letter-spacing: 0.04em;
}
.brook-founder-badge span {
  display: block; font-size: 0.6rem; color: rgba(255,255,255,0.5); font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.15rem;
}
.instructor-name { font-family: 'Poppins', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--ink); margin-bottom: 0.2rem; }
.instructor-tag {
  font-family: 'Poppins', sans-serif; font-size: 0.67rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--sapphire);
  margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.5rem;
}
.instructor-tag::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.instructor-title { font-size: 0.84rem; color: var(--gray-mid); font-family: 'Poppins', sans-serif; font-weight: 500; margin-bottom: 1rem; }
.instructor-bio-text { font-size: 0.9rem; color: var(--gray-text); line-height: 1.75; margin-bottom: 1rem; }
.instructor-ctas { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }

/* Timeline */
.timeline { position: relative; padding-left: 2.2rem; margin-top: 2rem; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--sapphire), var(--gold)); border-radius: 2px;
}
.timeline-item { position: relative; padding: 0 0 1.8rem 2rem; }
.timeline-item::before {
  content: ''; position: absolute; left: -2.2rem; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--sapphire); border: 2.5px solid var(--ivory);
  box-shadow: 0 0 0 3px rgba(14,116,144,0.35); margin-left: 0.25rem;
}
.timeline-year {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--sapphire); margin-bottom: 0.2rem;
}
.timeline-item h4 { font-size: 0.95rem; color: var(--ink); margin-bottom: 0.28rem; font-family: 'Poppins', sans-serif; font-weight: 700; }
.timeline-item p  { font-size: 0.86rem; color: var(--gray-text); line-height: 1.65; }

/* Mission Card */
.mission-card {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-mid) 100%);
  border-radius: var(--r-lg); padding: 3.5rem; color: var(--white);
  text-align: center; position: relative; overflow: hidden;
}
.mission-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 80%, rgba(14,116,144,0.15) 0%, transparent 60%);
}
.mission-card::after {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 80px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ================================================================
   CONTACT PAGE — Hero cards
================================================================ */
.contact-hero-cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem;
  margin-bottom: 3rem;
}
.contact-hero-card {
  background: var(--white); border-radius: var(--r-md); padding: 2rem 1.5rem;
  box-shadow: var(--sh-md); border: 1px solid var(--gray-border);
  text-align: center; transition: transform 0.28s, box-shadow 0.28s;
}
.contact-hero-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.contact-hero-card .icon-circle {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin: 0 auto 1rem;
}
.icon-circle.teal { background: var(--sapphire-bg); }
.icon-circle.gold { background: var(--gold-xl); }
.icon-circle.rose { background: var(--rose-bg); }
.contact-hero-card h3 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.9rem; color: var(--ink); margin-bottom: 0.35rem; }
.contact-hero-card .value {
  font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600;
  color: var(--sapphire); text-decoration: none; display: block; margin-bottom: 0.25rem;
  transition: color 0.2s;
}
.contact-hero-card .value:hover { color: var(--gold); }
.contact-hero-card p { font-size: 0.82rem; color: var(--gray-mid); }

/* Map placeholder */
.map-placeholder {
  background: linear-gradient(135deg, var(--sapphire-bg) 0%, var(--sapphire-bg2) 100%);
  border-radius: var(--r-lg); height: 320px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid rgba(14,116,144,0.15); gap: 1rem; text-align: center; padding: 2rem;
}
.map-placeholder .map-icon { font-size: 3.5rem; }
.map-placeholder h4 { font-family: 'Poppins', sans-serif; font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.map-placeholder p { color: var(--gray-text); font-size: 0.92rem; }

/* ================================================================
   REGISTER PAGE — Layout
================================================================ */
.reg-layout { display: grid; grid-template-columns: 1fr 420px; gap: 4.5rem; align-items: start; }
.reg-sidebar { position: sticky; top: 100px; }
.course-check-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.course-check-list li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.92rem; color: var(--ink); font-family: 'Poppins', sans-serif; font-weight: 600;
}
.course-check-list li span.check {
  width: 22px; height: 22px; background: var(--sapphire); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 0.7rem; flex-shrink: 0;
}
.step-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--sapphire-bg); color: var(--sapphire);
  border-radius: 4px; padding: 0.4rem 1rem;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.5rem;
}

/* ================================================================
   COURSES PAGE — Detail card layout
================================================================ */
.courses-detail-list { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2rem; }
.course-detail-card {
  background: var(--white); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm); border: 1px solid var(--gray-border); overflow: hidden;
  transition: box-shadow 0.28s, transform 0.28s;
  display: grid; grid-template-columns: 80px 1fr;
}
.course-detail-card:hover { box-shadow: var(--sh-md); transform: translateY(-4px); }
.course-color-bar {
  width: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; padding: 2rem 0;
}
.course-color-bar.teal  { background: var(--sapphire-bg); }
.course-color-bar.gold  { background: var(--gold-xl); }
.course-color-bar.rose, .course-color-bar.pink { background: var(--rose-bg); }
.course-color-bar.navy  { background: rgba(13,27,42,0.05); }
.course-detail-body { padding: 2rem; }
.course-detail-body h2 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.55rem; font-weight: 600;
  color: var(--ink); margin-bottom: 0.28rem;
}
.course-detail-meta {
  font-family: 'Poppins', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--sapphire); margin-bottom: 0.9rem;
}
.course-detail-body p { color: var(--gray-text); font-size: 0.92rem; line-height: 1.72; margin-bottom: 0.75rem; }
.course-topics { margin: 0.75rem 0 1.25rem; }
.course-topics h4 {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.55rem;
}
.course-topics ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.course-topics li {
  background: var(--sapphire-bg); color: var(--sapphire);
  border: 1px solid rgba(14,116,144,0.18); padding: 3px 11px;
  border-radius: var(--r-pill);
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.72rem;
}
.course-topics li.rose-tag { background: var(--rose-bg); color: var(--rose-deep); border-color: rgba(196,97,122,0.18); }
.course-detail-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem; padding-top: 1.25rem;
  border-top: 1px solid var(--gray-border);
}

/* ================================================================
   PHOTO STRIP (marquee)
================================================================ */
.photo-strip {
  background: var(--ink); overflow: hidden; position: relative; height: 220px;
}
.photo-strip::before, .photo-strip::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
}
.photo-strip::before { left: 0; background: linear-gradient(to right, var(--ink), transparent); }
.photo-strip::after  { right: 0; background: linear-gradient(to left, var(--ink), transparent); }
.photo-strip-track {
  display: flex; gap: 12px; width: max-content;
  animation: photoScroll 38s linear infinite;
  height: 100%; align-items: center; padding: 12px 0;
}
.photo-strip-track:hover { animation-play-state: paused; }
@keyframes photoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.photo-strip-item {
  width: 280px; height: 196px; flex-shrink: 0; overflow: hidden;
  border-radius: 2px; position: relative;
}
.photo-strip-item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.75) brightness(0.82);
  transition: transform 0.5s ease, filter 0.4s ease;
}
.photo-strip-item:hover img { transform: scale(1.06); filter: saturate(1) brightness(0.95); }

/* ================================================================
   GALLERY SECTION
================================================================ */
.gallery-section { background: var(--ivory); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 230px 230px; gap: 10px;
  border-radius: var(--r-md); overflow: hidden;
}
.gallery-item { position: relative; overflow: hidden; cursor: zoom-in; background: var(--sapphire-bg); }
.gallery-item--tall  { grid-row: span 2; }
.gallery-item--wide  { grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(0.85) brightness(0.9);
  transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.4s;
}
.gallery-item:hover img { transform: scale(1.07); filter: saturate(1.05) brightness(1); }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.82) 0%, transparent 100%);
  color: var(--white); padding: 1.5rem 1rem 0.8rem;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }
.gallery-overlay {
  position: fixed; inset: 0; background: rgba(13,27,42,0.96); z-index: 9998;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s; backdrop-filter: blur(10px);
}
.gallery-overlay.open { opacity: 1; pointer-events: auto; }
.gallery-overlay img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 4px; box-shadow: var(--sh-lg); }
.gallery-overlay-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  background: rgba(255,255,255,0.1); border: none; color: white;
  width: 40px; height: 40px; border-radius: 2px; font-size: 1.2rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.gallery-overlay-close:hover { background: rgba(255,255,255,0.2); }

/* ================================================================
   RESPONSIVE ADDITIONS FOR INNER PAGES
================================================================ */
@media (max-width: 1080px) {
  .course-content-wrap { grid-template-columns: 1fr; }
  .course-sidebar-sticky { position: static; }
  .reg-layout { grid-template-columns: 1fr; }
  .reg-sidebar { position: static; }
  .brook-feature { grid-template-columns: 1fr; gap: 3rem; }
  .brook-photo-wrap { max-width: 320px; margin: 0 auto 2rem; }
}
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item--tall { grid-row: span 1; }
  .gallery-item--wide { grid-column: span 2; }
  .course-detail-card { grid-template-columns: 60px 1fr; }
  .course-color-bar { font-size: 1.5rem; padding: 1.5rem 0; }
  .contact-hero-cards-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: span 1; }
  .page-hero h1 { font-size: 2rem; }
  .brook-feature { grid-template-columns: 1fr; }
}
