/* ═══════════════════════════════════════════════════
   TOPPSEED ADVANTAGE SCHOOL — Main Stylesheet
   Harvard-inspired: crimson → navy/sky-blue palette
   ═══════════════════════════════════════════════════ */

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

:root {
  /* Brand colours */
  --primary:    #003A70;   /* deep navy – authority */
  --primary-dk: #001F3F;
  --accent:     #00AEEF;   /* sky blue – school colours */
  --accent-dk:  #0080BB;
  --gold:       #C9A227;   /* academic gold */
  --gold-lt:    #F5D060;
  --white:      #FFFFFF;
  --off-white:  #F4F6F9;
  --light-grey: #E8ECF1;
  --mid-grey:   #8A9BB0;
  --text:       #1A2433;
  --text-light: #4A5568;

  /* Type */
  --font-serif: 'Libre Baskerville', Georgia, serif;
  --font-sans:  'Source Sans 3', system-ui, sans-serif;
  --font-disp:  'Oswald', sans-serif;

  /* Spacing */
  --nav-h: 80px;
  --radius: 4px;
  --max-w: 1200px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--text); background: var(--white); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── UTILITY ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.88rem;
  letter-spacing: 0.5px; padding: 12px 28px; border-radius: var(--radius);
  transition: all .22s ease; cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dk); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,174,239,0.3); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-navy { background: var(--primary); color: var(--white); }
.btn-navy:hover { background: var(--primary-dk); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #b08d20; }

/* ── TYPOGRAPHY ── */
.label {
  display: inline-block; font-family: var(--font-sans); font-weight: 700;
  font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.label-gold { color: var(--gold); }
.label-white { color: rgba(255,255,255,0.7); }

h1,h2,h3,h4 { font-family: var(--font-serif); line-height: 1.15; color: var(--primary-dk); }
.display-1 { font-size: clamp(2.8rem, 5.5vw, 5rem); }
.display-2 { font-size: clamp(2rem, 3.5vw, 3rem); }
.display-3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.lead { font-size: 1.1rem; line-height: 1.8; color: var(--text-light); }

/* ── DIVIDERS ── */
.rule { border: none; border-top: 1px solid var(--light-grey); margin: 48px 0; }
.rule-gold { border-top-color: var(--gold); border-top-width: 3px; width: 60px; margin: 16px 0 24px; }

/* ── SECTION PADDING ── */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 120px 0; }

/* ═══════════════════════════════════════
   TOP BAR
═══════════════════════════════════════ */
.topbar {
  background: var(--primary-dk);
  height: 36px;
  display: flex; align-items: center;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
}
.topbar-left { display: flex; gap: 24px; align-items: center; }
.topbar-left a {
  color: rgba(255,255,255,0.6); font-size: 0.75rem;
  transition: color .2s;
}
.topbar-left a:hover { color: var(--accent); }
.topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar-right a {
  color: rgba(255,255,255,0.6); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.5px; transition: color .2s;
}
.topbar-right a:hover { color: var(--gold-lt); }
.topbar-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.2); }

/* ═══════════════════════════════════════
   MAIN NAVBAR
═══════════════════════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 900;
  background: var(--white);
  border-bottom: 3px solid var(--accent);
  height: var(--nav-h);
  display: flex; align-items: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  transition: box-shadow .3s;
}
.navbar.elevated { box-shadow: 0 4px 24px rgba(0,0,0,0.14); }
.navbar .container { display: flex; align-items: center; gap: 40px; width: 100%; }

.nav-brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-logo-wrap {
  width: 52px; height: 52px; border-radius: 50%;
  overflow: hidden; border: 2px solid var(--accent);
  background: var(--primary-dk);
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand-name {
  font-family: var(--font-disp); font-weight: 600;
  font-size: 1.1rem; color: var(--primary-dk); letter-spacing: 1px;
  text-transform: uppercase;
}
.nav-brand-tag { font-size: 0.65rem; color: var(--accent); letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }

.nav-menu { display: flex; align-items: center; gap: 0; margin-left: auto; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 0 18px; height: var(--nav-h);
  font-size: 0.88rem; font-weight: 600; color: var(--text);
  letter-spacing: 0.3px; transition: color .2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-item.active .nav-link { color: var(--accent); }
.nav-item.active .nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 18px; right: 18px;
  height: 3px; background: var(--accent); border-radius: 2px 2px 0 0;
}
.nav-caret { font-size: 0.6rem; transition: transform .2s; }
.nav-item:hover .nav-caret { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); min-width: 220px;
  border: 1px solid var(--light-grey);
  border-top: 3px solid var(--accent);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 100;
}
.nav-item:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 12px 20px;
  font-size: 0.86rem; color: var(--text); font-weight: 500;
  border-bottom: 1px solid var(--light-grey);
  transition: all .18s;
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { color: var(--accent); background: var(--off-white); padding-left: 28px; }

.nav-apply {
  margin-left: 16px;
  background: var(--accent); color: var(--white) !important;
  padding: 10px 22px !important; height: auto !important;
  border-radius: var(--radius);
  font-weight: 700 !important;
}
.nav-apply:hover { background: var(--accent-dk) !important; color: var(--white); }

/* Mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--primary-dk); transition: all .3s; border-radius: 2px; }

/* ═══════════════════════════════════════
   HERO / SLIDER
═══════════════════════════════════════ */
.hero-slider {
  position: relative; width: 100%; height: 640px; overflow: hidden;
  background: var(--primary-dk);
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,30,63,0.88) 0%, rgba(0,30,63,0.55) 55%, rgba(0,30,63,0.15) 100%);
}
.hero-slide-content {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100%; max-width: var(--max-w); padding: 0 40px;
  display: grid; align-items: center;
  opacity: 0; transform: translate(-50%, -46%);
  transition: opacity 0.9s ease 0.35s, transform 0.9s ease 0.35s;
}
.hero-slide.active .hero-slide-content { opacity: 1; transform: translate(-50%, -50%); }
.hero-slide-inner { max-width: 580px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,174,239,0.18); border: 1px solid rgba(0,174,239,0.4);
  color: #7DDFFF; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-serif); color: var(--white);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.1; margin-bottom: 20px;
}
.hero-title em { color: var(--accent); font-style: italic; }
.hero-body {
  color: rgba(255,255,255,0.78); font-size: 1.05rem;
  line-height: 1.75; margin-bottom: 36px; max-width: 460px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Slider controls */
.slider-ctrl {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.3);
  color: white; font-size: 1.1rem; transition: all .22s;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.slider-ctrl:hover { background: var(--accent); border-color: var(--accent); }
.slider-ctrl.prev { left: 24px; }
.slider-ctrl.next { right: 24px; }

.slider-dots {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.35); transition: all .3s; cursor: pointer;
}
.slider-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

.slider-bar {
  position: absolute; bottom: 0; left: 0; z-index: 10;
  height: 3px; background: var(--accent); width: 0;
}
.slider-bar.run { transition: width 5.5s linear; width: 100%; }

/* ═══════════════════════════════════════
   PAGE HEADER (inner pages)
═══════════════════════════════════════ */
.page-header {
  background: var(--primary-dk);
  padding: 64px 0 56px;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../images/img-20211130-wa0012-1080x771.jpg') center/cover no-repeat;
  opacity: 0.12;
}
.page-header .container { position: relative; z-index: 1; }
.page-header-label { color: var(--accent); font-size: 0.72rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; }
.page-header h1 { font-family: var(--font-serif); color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 1.05rem; max-width: 600px; line-height: 1.7; }

/* Breadcrumb */
.breadcrumb {
  background: var(--off-white); border-bottom: 1px solid var(--light-grey);
  padding: 12px 0;
}
.breadcrumb .container { display: flex; align-items: center; gap: 8px; }
.breadcrumb a { font-size: 0.8rem; color: var(--accent); }
.breadcrumb span { font-size: 0.8rem; color: var(--mid-grey); }
.breadcrumb .current { font-size: 0.8rem; color: var(--text-light); font-weight: 600; }

/* ═══════════════════════════════════════
   NEWS / CARD STRIP
═══════════════════════════════════════ */
.news-strip { background: var(--off-white); border-top: 4px solid var(--gold); }
.news-strip .container { display: flex; align-items: stretch; gap: 0; }
.news-strip-label {
  background: var(--gold); color: var(--white);
  font-family: var(--font-disp); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase;
  padding: 14px 24px; display: flex; align-items: center;
  white-space: nowrap; flex-shrink: 0;
}
.news-ticker {
  flex: 1; overflow: hidden; display: flex; align-items: center;
  padding: 0 24px;
}
.news-ticker-inner {
  display: flex; gap: 48px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
.news-ticker-inner a {
  font-size: 0.85rem; color: var(--text); font-weight: 500;
  transition: color .2s;
}
.news-ticker-inner a:hover { color: var(--accent); }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ═══════════════════════════════════════
   SECTION INTRO
═══════════════════════════════════════ */
.section-intro { max-width: 640px; }
.section-intro.center { margin: 0 auto; text-align: center; }
.section-intro.center .rule-gold { margin: 16px auto 24px; }

/* ═══════════════════════════════════════
   CARD STYLES
═══════════════════════════════════════ */
.card {
  background: var(--white); border: 1px solid var(--light-grey);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1); transform: translateY(-3px); }
.card-img { aspect-ratio: 16/10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 24px; }
.card-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.card-title { font-family: var(--font-serif); font-size: 1.1rem; color: var(--primary-dk); margin-bottom: 10px; line-height: 1.3; }
.card-text { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 0.85rem; font-weight: 700; color: var(--accent); transition: gap .2s; }
.card-link:hover { gap: 10px; }

/* ═══════════════════════════════════════
   STATS BAR
═══════════════════════════════════════ */
.stats-bar { background: var(--primary-dk); padding: 48px 0; }
.stats-bar .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.stat-item {
  text-align: center; padding: 24px 20px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-disp); font-size: 3rem; font-weight: 700;
  color: var(--gold-lt); line-height: 1;
}
.stat-label { color: rgba(255,255,255,0.6); font-size: 0.82rem; letter-spacing: 1px; text-transform: uppercase; margin-top: 6px; }

/* ═══════════════════════════════════════
   FEATURED SECTION (About preview etc.)
═══════════════════════════════════════ */
.split-section { display: grid; grid-template-columns: 1fr 1fr; }
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-img { overflow: hidden; min-height: 480px; position: relative; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-content {
  padding: 72px 64px; display: flex; flex-direction: column;
  justify-content: center; background: var(--off-white);
}
.split-content.dark { background: var(--primary-dk); }
.split-content.dark h2 { color: var(--white); }
.split-content.dark p { color: rgba(255,255,255,0.7); }

/* ═══════════════════════════════════════
   GRID LAYOUTS
═══════════════════════════════════════ */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }

/* ═══════════════════════════════════════
   PROGRAM CARDS
═══════════════════════════════════════ */
.prog-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--light-grey);
  transition: all .25s;
}
.prog-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.12); transform: translateY(-4px); }
.prog-card-banner {
  height: 8px;
  background: var(--accent);
}
.prog-card-banner.gold { background: var(--gold); }
.prog-card-banner.navy { background: var(--primary); }
.prog-card-head {
  padding: 32px 28px 24px;
  background: var(--white);
  border-bottom: 1px solid var(--light-grey);
}
.prog-icon { font-size: 2.4rem; margin-bottom: 14px; }
.prog-card-head h3 { font-family: var(--font-serif); font-size: 1.35rem; color: var(--primary-dk); margin-bottom: 6px; }
.prog-age {
  display: inline-block; background: var(--off-white);
  border: 1px solid var(--light-grey);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent);
  padding: 3px 10px; border-radius: 50px; margin-top: 8px;
}
.prog-card-body { padding: 24px 28px; }
.prog-list { display: flex; flex-direction: column; gap: 10px; }
.prog-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.88rem; color: var(--text-light); line-height: 1.5;
}
.prog-list li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; margin-top: 6px;
}
.prog-card-foot { padding: 20px 28px; border-top: 1px solid var(--light-grey); }

/* ═══════════════════════════════════════
   PEOPLE / TEACHER CARDS
═══════════════════════════════════════ */
.person-card {
  background: var(--white); border: 1px solid var(--light-grey);
  border-radius: var(--radius); overflow: hidden; transition: all .25s;
}
.person-card:hover { box-shadow: 0 10px 32px rgba(0,0,0,0.1); transform: translateY(-3px); }
.person-photo {
  aspect-ratio: 1; overflow: hidden; background: var(--off-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; position: relative;
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.person-info { padding: 20px; border-top: 3px solid var(--accent); }
.person-name { font-family: var(--font-serif); font-size: 1rem; color: var(--primary-dk); font-weight: 700; margin-bottom: 4px; }
.person-role { font-size: 0.78rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }
.person-bio { font-size: 0.85rem; color: var(--text-light); margin-top: 10px; line-height: 1.6; }

/* ═══════════════════════════════════════
   PROCESS STEPS
═══════════════════════════════════════ */
.steps-list { display: flex; flex-direction: column; gap: 0; }
.step-row {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 28px 0; border-bottom: 1px solid var(--light-grey);
  position: relative;
}
.step-row:last-child { border-bottom: none; }
.step-num-wrap {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  font-family: var(--font-disp); font-size: 1.2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step-title { font-family: var(--font-serif); font-size: 1.05rem; color: var(--primary-dk); margin-bottom: 6px; }
.step-text { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; }

/* ═══════════════════════════════════════
   INFO BOX / SIDEBAR
═══════════════════════════════════════ */
.info-box {
  background: var(--off-white); border: 1px solid var(--light-grey);
  border-radius: var(--radius); padding: 32px;
  border-top: 4px solid var(--accent);
}
.info-box h3 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--primary-dk); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--light-grey); }
.info-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--light-grey); }
.info-row:last-child { border-bottom: none; padding-bottom: 0; }
.info-icon { width: 36px; height: 36px; border-radius: 6px; background: var(--accent); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.info-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--mid-grey); margin-bottom: 3px; }
.info-value { font-size: 0.9rem; color: var(--text); font-weight: 600; }

/* ═══════════════════════════════════════
   QUOTE / PULLQUOTE
═══════════════════════════════════════ */
.pullquote {
  background: var(--primary-dk); padding: 56px;
  text-align: center; position: relative;
}
.pullquote::before { content: '\201C'; font-family: Georgia, serif; font-size: 8rem; color: rgba(0,174,239,0.15); position: absolute; top: 0; left: 40px; line-height: 1; }
.pullquote blockquote { font-family: var(--font-serif); font-style: italic; color: var(--white); font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.6; max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
.pullquote cite { display: block; margin-top: 16px; color: var(--accent); font-style: normal; font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; }

/* ═══════════════════════════════════════
   CTA BAND
═══════════════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--accent-dk) 0%, var(--accent) 100%);
  padding: 72px 0; text-align: center;
}
.cta-band h2 { font-family: var(--font-serif); color: var(--white); font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.82); font-size: 1.05rem; max-width: 520px; margin: 0 auto 32px; line-height: 1.7; }
.cta-band-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer { background: var(--primary-dk); }
.footer-main { padding: 64px 0 40px; }
.footer-main .container { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 48px; }

.footer-brand .nav-brand { margin-bottom: 16px; }
.footer-brand .nav-brand-name { color: var(--white); }
.footer-desc { color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.8; margin-bottom: 24px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 6px;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6);
  font-size: 0.85rem; display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.footer-social a:hover { background: var(--accent); color: white; }

.footer-col h5 { color: rgba(255,255,255,0.9); font-size: 0.78rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.5); font-size: 0.88rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.8rem; }
.footer-bottom a { color: rgba(255,255,255,0.4); font-size: 0.8rem; transition: color .2s; }
.footer-bottom a:hover { color: var(--accent); }
.footer-tagline { font-family: var(--font-serif); font-style: italic; color: var(--accent) !important; font-size: 0.9rem !important; }

/* ═══════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════
   WELCOME SECTION (home page)
═══════════════════════════════════════ */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.welcome-img-wrap {
  position: relative;
  padding-bottom: 28px;
}
.welcome-badge {
  position: absolute;
  bottom: -24px; left: -24px;
  background: var(--primary-dk);
  color: white;
  padding: 20px 24px;
  border-radius: 4px;
  border-left: 4px solid var(--gold);
}

/* Welcome section responsive */
@media (max-width: 900px) {
  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .welcome-img-wrap {
    padding-bottom: 0;
    margin-top: 8px;
  }
  .welcome-badge {
    position: static;
    margin-top: 16px;
    display: inline-block;
  }
}

/* ── REUSABLE RESPONSIVE TWO-COL ── */
.two-col-auto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 900px) {
  .two-col-auto {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── SIDEBAR LAYOUT (content + sidebar) ── */
.sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) {
  .sidebar-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .split-section { grid-template-columns: 1fr; }
  .split-section.reverse { direction: ltr; }
  .split-img { min-height: 340px; }
  .split-content { padding: 48px 32px; }
  .footer-main .container { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-bar .container { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .topbar { display: none; }
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--white); border-top: 1px solid var(--light-grey);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 800;
    padding: 8px 0;
  }
  .nav-link { height: auto; padding: 14px 24px; }
  .nav-item.active .nav-link::after { display: none; }
  .nav-dropdown-menu { position: static; box-shadow: none; border: none; border-top: none; background: var(--off-white); padding: 4px 0 8px; }
  .nav-apply { margin: 8px 16px; display: block; text-align: center; }
  .hero-slider { height: 520px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-main .container { grid-template-columns: 1fr; }
  .stats-bar .container { grid-template-columns: 1fr 1fr; }
  .pullquote { padding: 40px 24px; }
  .cta-band-btns { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-slider { height: 420px; }
  .hero-slide-content { padding: 0 20px; }
  .grid-4 { grid-template-columns: 1fr; }
}
