/* ============================================================
   Kabega Christian School — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --navy:        #1b3a5c;
  --navy-dark:   #102438;
  --navy-mid:    #254e7a;
  --gold:        #c8922a;
  --gold-light:  #e6b04a;
  --gold-pale:   #fdf6e9;
  --white:       #ffffff;
  --off-white:   #f7f9fc;
  --text:        #1a2332;
  --muted:       #64748b;
  --border:      rgba(27, 58, 92, 0.12);
  --max:         1180px;
  --radius:      10px;
  --radius-lg:   18px;
  --shadow:      0 4px 20px rgba(27, 58, 92, 0.10);
  --shadow-lg:   0 12px 40px rgba(27, 58, 92, 0.16);
  --transition:  0.22s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utilities ─────────────────────────────────────────────── */
.wrap        { max-width: var(--max); margin-inline: auto; padding-inline: 28px; }
.section     { padding: 80px 0; }
.section-sm  { padding: 52px 0; }
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy); }
.text-muted  { color: var(--muted); }
.bg-off      { background: var(--off-white); }
.bg-navy     { background: var(--navy-dark); color: var(--white); }
.bg-gold     { background: var(--gold); color: var(--white); }

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.18;
  color: var(--navy-dark);
}
h1 { font-size: clamp(36px, 5.5vw, 62px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.8vw, 40px); font-weight: 600; margin-bottom: 14px; }
h3 { font-size: clamp(18px, 2.4vw, 24px); font-weight: 600; margin-bottom: 8px; }
h4 { font-size: 18px; font-weight: 600; }
p  { color: var(--muted); line-height: 1.7; }
p + p { margin-top: 12px; }

.section-intro {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 48px;
}
.section-intro p { font-size: 17px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200, 146, 42, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* ── Topbar ──────────────────────────────────────────────────── */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  z-index: 200;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: var(--gold-light); font-weight: 600; transition: opacity var(--transition); }
.topbar a:hover { opacity: .8; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-sep { opacity: .35; }

/* ── Navigation ──────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 150;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-nav.scrolled { box-shadow: 0 4px 24px rgba(27,58,92,0.12); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 28px;
  max-width: var(--max);
  margin-inline: auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.2;
}
.nav-logo-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
  position: relative;
}
.nav-links a:hover { color: var(--navy); background: var(--off-white); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--gold);
  border-radius: 999px;
}
.nav-cta { margin-left: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: 88vh;
  background:
    linear-gradient(135deg, rgba(16,36,56,0.92) 0%, rgba(27,58,92,0.80) 55%, rgba(42,82,152,0.70) 100%),
    url('../img/Home%20page/WhatsApp%20Image%202026-05-22%20at%2015.50.16.jpeg') center/cover no-repeat;
  background-color: var(--navy-dark);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  background: url('https://static.wixstatic.com/media/285362_5ab46abd389240a3986a4939048afedd~mv2.jpg') center/contain no-repeat;
  opacity: 0.18;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,146,42,0.18);
  border: 1px solid rgba(200,146,42,0.40);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero p {
  color: rgba(255,255,255,0.80);
  font-size: 18px;
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Page Hero (inner pages) ─────────────────────────────────── */
.page-hero {
  background:
    linear-gradient(135deg, rgba(16,36,56,0.90) 0%, rgba(27,58,92,0.80) 100%),
    url('../img/Home%20page/WhatsApp%20Image%202026-05-22%20at%2015.50.16.jpeg') center/cover no-repeat;
  background-color: var(--navy-dark);
  padding: 80px 0 60px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  background: url('https://static.wixstatic.com/media/285362_5ab46abd389240a3986a4939048afedd~mv2.jpg') center/contain no-repeat;
  opacity: 0.18;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.60);
  margin-bottom: 14px;
  font-weight: 500;
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb-sep { opacity: .5; }
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4vw, 48px); margin-bottom: 10px; }
.page-hero p  { color: rgba(255,255,255,0.75); font-size: 17px; max-width: 540px; }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-body { padding: 28px; }
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-img-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p  { font-size: 14.5px; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
  transition: gap var(--transition), color var(--transition);
}
.card-link:hover { color: var(--gold); gap: 10px; }

/* ── Pillar cards ────────────────────────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.pillar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pillar:hover::before { transform: scaleX(1); }
.pillar-icon {
  width: 64px; height: 64px;
  background: var(--gold-pale);
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  font-size: 28px;
}
.pillar h3 { color: var(--navy-dark); margin-bottom: 10px; }

/* ── Grids ───────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; align-items: center; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── Split section ───────────────────────────────────────────── */
.split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-content { padding: 24px 0; }
.split-content h2 { margin-bottom: 16px; }
.split-content p  { margin-bottom: 12px; }
.split-content .btn { margin-top: 20px; }

/* ── Scripture banner ────────────────────────────────────────── */
.scripture {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.scripture::before {
  content: '\201C';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 280px;
  color: rgba(200,146,42,0.08);
  line-height: 1;
  pointer-events: none;
}
.scripture blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 3vw, 30px);
  font-style: italic;
  color: var(--white);
  max-width: 780px;
  margin-inline: auto;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
.scripture cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ── Stats bar ───────────────────────────────────────────────── */
.stats {
  background: var(--navy);
  padding: 48px 0;
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  align-items: center;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
  white-space: nowrap;
}
.stat-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
  background: var(--gold);
  padding: 56px 0;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); font-size: clamp(24px, 3.5vw, 36px); margin-bottom: 10px; }
.cta-banner p  { color: rgba(255,255,255,0.85); font-size: 17px; max-width: 500px; margin-inline: auto; margin-bottom: 28px; }
.cta-banner .btn-outline { border-color: rgba(255,255,255,0.7); }
.cta-banner .btn-white { background: var(--white); color: var(--gold); }
.cta-banner .btn-white:hover { background: var(--gold-pale); }

/* ── Gallery grid ────────────────────────────────────────────── */
.gallery-category { margin-bottom: 48px; }
.gallery-cat-title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.4s ease;
}
.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 48px rgba(0,0,0,0.22);
}
.gallery-item span {
  color: rgba(255,255,255,0.35);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  pointer-events: none;
}
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.4s ease;
  filter: brightness(1);
}
.gallery-item:hover img {
  transform: scale(1.12);
  filter: brightness(0.72);
}
.gallery-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}
.gallery-item-overlay span {
  color: var(--white);
  font-size: 32px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.gallery-item:hover .gallery-item-overlay span {
  opacity: 1;
  transform: scale(1);
}
.gallery-item-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(10,24,48,0.85) 0%, transparent 100%);
  padding: 28px 16px 14px;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.25,0.46,0.45,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:hover .gallery-item-caption { transform: translateY(0); }
.gallery-item-caption span {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 1;
  transform: none;
}

/* ── Steps ───────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.step:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.step-body h3 { font-size: 17px; margin-bottom: 8px; }
.step-body p  { font-size: 14.5px; }
.step-body a  { color: var(--gold); font-weight: 600; }

/* ── Admissions: requirements ────────────────────────────────── */
.req-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.req-icon { font-size: 22px; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.req-item strong { color: var(--navy-dark); font-size: 15px; display: block; margin-bottom: 2px; }

/* ── Admissions: fee cards ───────────────────────────────────── */
.fee-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}
.fee-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.fee-icon { font-size: 36px; margin-bottom: 16px; }
.fee-card h3 { color: var(--navy-dark); margin-bottom: 10px; }

/* ── Admissions: FAQ ─────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 16px; max-width: 780px; margin-inline: auto; margin-top: 40px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: all var(--transition);
}
.faq-item:hover { border-color: var(--gold); box-shadow: 0 6px 24px rgba(200,146,42,0.10); }
.faq-item h4 { font-size: 17px; color: var(--navy-dark); margin-bottom: 10px; }
.faq-item p  { font-size: 14.5px; }

/* ── Value cards ─────────────────────────────────────────────── */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.value-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  transition: all var(--transition);
}
.value-card:hover { border-color: var(--gold); box-shadow: 0 8px 32px rgba(200,146,42,0.12); }
.value-icon { font-size: 32px; margin-bottom: 14px; }
.value-card h3 { font-size: 18px; color: var(--navy-dark); margin-bottom: 8px; }

/* ── Contact layout ──────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: start; }
.contact-layout { display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: start; }
.contact-form-wrap h2 { margin-bottom: 12px; }
.contact-form-wrap > p { margin-bottom: 28px; }
.contact-form { margin-top: 28px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info h2 { margin-bottom: 12px; }

/* info-card (used in contact sidebar) */
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
}
.info-icon {
  width: 44px; height: 44px;
  background: var(--gold-pale);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.info-card strong { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); margin-bottom: 4px; }
.info-card p  { font-size: 14px; margin: 0; line-height: 1.6; }
.info-card a  { color: var(--gold); font-weight: 600; }

.contact-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
}
.contact-icon {
  width: 44px; height: 44px;
  background: var(--gold-pale);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-block h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); margin-bottom: 4px; }
.contact-block p  { font-size: 14.5px; margin: 0; }
.contact-block a  { color: var(--gold); font-weight: 600; }

/* ── Form ────────────────────────────────────────────────────── */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-card h3 { margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy-dark);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,146,42,0.14);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Academics ───────────────────────────────────────────────── */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.phase-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.phase-header {
  padding: 24px 28px;
  background: var(--navy);
  color: var(--white);
}
.phase-header h3 { color: var(--white); margin: 0; }
.phase-header .grade { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }
.phase-body { padding: 24px 28px; background: var(--white); }
.phase-body li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.phase-body li:last-child { border-bottom: none; }
.phase-body li::before { content: '›'; color: var(--gold); font-weight: 700; font-size: 18px; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p { font-size: 14px; margin-top: 16px; max-width: 280px; line-height: 1.65; }
.footer-logo { height: 56px; width: auto; object-fit: contain; margin-bottom: 4px; }
.footer-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--white);
  font-weight: 600;
}
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.footer-col li + li { margin-top: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.40);
}
.footer-bottom a { color: var(--gold-light); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid           { grid-template-columns: 1fr 1fr; }
  .steps                 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid          { grid-template-columns: 1fr; }
  .contact-layout        { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .pillars, .grid-3, .values, .phases { grid-template-columns: 1fr 1fr; }
  .gallery-grid  { grid-template-columns: repeat(2, 1fr); }
  .grid-2        { grid-template-columns: 1fr; }
  .split-img     { height: 280px; }
  .section       { padding: 56px 0; }
  h2             { font-size: clamp(22px, 4vw, 32px); }
  .form-row      { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap          { padding-inline: 18px; }
  .pillars, .grid-3, .grid-4, .values, .phases, .steps, .stats-grid { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .topbar-left   { display: none; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle    { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 12px 18px 18px;
    gap: 2px;
    box-shadow: 0 12px 32px rgba(27,58,92,0.14);
  }
  .nav-cta.open { display: block; padding: 0 18px 14px; }
  .nav-inner     { position: relative; flex-wrap: wrap; }
  .hero-btns     { flex-direction: column; }
  .hero          { min-height: auto; padding: 80px 0 60px; }
}

@media (min-width: 641px) {
  .nav-toggle { display: none; }
}
