/* ============================================================
   YACT CIC — Youth and Adult Community Training
   Design System: "Urban Clarity"
   Palette: Deep Teal #1B5E6B | Amber #E8A020 | Dark #0f3840
            Charcoal #2C2C2C | Cream #FAF6EE | White #ffffff
   Typography: Barlow Condensed (headings) + DM Sans (body)
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: #2C2C2C;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ── Buttons ── */
.btn-teal {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #1B5E6B;
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 6px;
  transition: background 0.25s, transform 0.2s;
  letter-spacing: 0.01em;
  cursor: pointer;
}
.btn-teal:hover { background: #134550; transform: translateY(-1px); }

.btn-amber {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #E8A020;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 6px;
  transition: background 0.25s, transform 0.2s;
  cursor: pointer;
}
.btn-amber:hover { background: #d08f18; transform: translateY(-1px); }

.btn-outline-white {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 6px;
  transition: background 0.25s, color 0.25s;
  cursor: pointer;
}
.btn-outline-white:hover { background: #fff; color: #1B5E6B; }

.btn-outline-dark {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 2px solid #0f3840;
  color: #0f3840;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 6px;
  transition: background 0.25s, color 0.25s;
  cursor: pointer;
}
.btn-outline-dark:hover { background: #0f3840; color: #fff; }

/* ── Tags & Labels ── */
.section-tag {
  display: inline-block;
  padding: 0.25rem 0.875rem;
  background: #E8A020;
  color: #1a1a1a;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: 0.5rem;
}

/* ── Quote block ── */
.quote-block {
  border-left: 4px solid #E8A020;
  padding-left: 1.25rem;
  font-style: italic;
  color: #2C2C2C;
  font-size: 1.0625rem;
  line-height: 1.7;
  font-family: 'Barlow Condensed', sans-serif;
  margin: 1rem 0;
}

/* ── Headings ── */
.display-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  line-height: 1.05;
}

h1.display-heading { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2.display-heading { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3.display-heading { font-size: clamp(1.25rem, 3vw, 1.875rem); }

/* ── Wave Divider ── */
.wave-divider { display: block; width: 100%; overflow: hidden; line-height: 0; }
.wave-divider svg { display: block; width: 100%; }

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}
#navbar.scrolled { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
#navbar.transparent { background: transparent; }

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

.nav-logo { display: flex; align-items: center; gap: 0.625rem; }
.nav-logo-icon {
  width: 36px; height: 36px;
  background: #1B5E6B;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-icon svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; }
.nav-logo-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.nav-logo-sub {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #E8A020;
}
#navbar.scrolled .nav-logo-name { color: #1B5E6B; }
#navbar.transparent .nav-logo-name { color: #fff; }

.nav-links {
  display: none;
  align-items: center;
  gap: 0.125rem;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  transition: color 0.2s, background 0.2s;
}
#navbar.scrolled .nav-link { color: #2C2C2C; }
#navbar.scrolled .nav-link:hover { color: #1B5E6B; background: rgba(27,94,107,0.08); }
#navbar.transparent .nav-link { color: rgba(255,255,255,0.85); }
#navbar.transparent .nav-link:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav-link.active-scrolled { color: #1B5E6B; background: rgba(27,94,107,0.1); font-weight: 600; }
.nav-link.active-transparent { color: #fff; background: rgba(255,255,255,0.15); font-weight: 600; }

.nav-donate { margin-left: 0.5rem; }

/* Hamburger */
.nav-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 6px;
  transition: color 0.3s;
}
@media (min-width: 1024px) { .nav-hamburger { display: none; } }
#navbar.scrolled .nav-hamburger { color: #2C2C2C; }
#navbar.transparent .nav-hamburger { color: #fff; }
.nav-hamburger svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; }

/* Mobile menu */
#mobile-menu {
  display: none;
  background: #fff;
  border-top: 2px solid rgba(232,160,32,0.3);
  padding: 1rem;
  flex-direction: column;
  gap: 0.25rem;
}
#mobile-menu.open { display: flex; }
@media (min-width: 1024px) { #mobile-menu { display: none !important; } }

.mobile-nav-link {
  display: block;
  padding: 0.625rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2C2C2C;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav-link:hover { background: rgba(27,94,107,0.1); color: #1B5E6B; }
.mobile-nav-link.active { background: #1B5E6B; color: #fff; }

/* ── Hero Section ── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15,56,64,0.92) 0%, rgba(27,94,107,0.75) 50%, rgba(15,56,64,0.30) 100%);
}
.hero-content {
  position: relative;
  z-index: 10;
  padding: 6rem 0 4rem;
  max-width: 640px;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s infinite;
}
.hero-scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,0.3); }
.hero-scroll-dot { width: 6px; height: 6px; border-radius: 50%; background: #E8A020; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Stats Strip ── */
.stats-strip { background: #E8A020; padding: 1.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item { text-align: center; }
.stat-number { font-family: 'Barlow Condensed', sans-serif; font-size: 2rem; font-weight: 800; color: #0f3840; }
.stat-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(15,56,64,0.7); margin-top: 2px; }

/* ── Page Header (inner pages) ── */
.page-header { background: #1B5E6B; padding: 7rem 0 4rem; }
.page-header h1 { color: #fff; }
.page-header p { color: rgba(255,255,255,0.75); font-size: 1rem; line-height: 1.7; margin-top: 1rem; max-width: 560px; }

/* ── Sections ── */
.section { padding: 4rem 0; }
.section-lg { padding: 5rem 0; }
.section-sm { padding: 2.5rem 0; }
.bg-cream { background: #FAF6EE; }
.bg-white { background: #ffffff; }
.bg-teal { background: #1B5E6B; }
.bg-dark { background: #0f3840; }
.bg-amber { background: #E8A020; }

/* ── Grid layouts ── */
.grid-2 { display: grid; gap: 3rem; }
.grid-3 { display: grid; gap: 1.5rem; }
.grid-4 { display: grid; gap: 1.5rem; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.grid-2-align { align-items: center; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }

/* ── Cards ── */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); transform: translateY(-2px); }

.card-cream { background: #FAF6EE; border-radius: 12px; padding: 1.5rem; }

.icon-box {
  width: 48px; height: 48px;
  background: #1B5E6B;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-bottom: 1rem;
}
.icon-box svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; }
.icon-box-amber { background: #E8A020; }
.icon-box-amber svg { stroke: #1a1a1a; }

/* ── Chip / Tag ── */
.chip {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.chip-teal { background: rgba(27,94,107,0.1); color: #1B5E6B; }
.chip-amber { background: rgba(232,160,32,0.2); color: #0f3840; }
.chip-light { background: #FAF6EE; color: rgba(44,44,44,0.7); border: 1px solid rgba(232,160,32,0.3); font-size: 0.65rem; }

/* ── Info chips row ── */
.info-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.info-chip {
  background: rgba(27,94,107,0.08);
  border-radius: 8px;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}
.info-chip strong { color: #1B5E6B; text-transform: uppercase; letter-spacing: 0.05em; margin-right: 0.25rem; }

/* ── Image with badge ── */
.img-wrap { position: relative; }
.img-badge {
  position: absolute;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.img-badge-teal { background: #1B5E6B; color: #fff; bottom: -1rem; left: -1rem; }
.img-badge-amber { background: #E8A020; color: #0f3840; bottom: -1rem; right: -1rem; }
.img-badge .badge-num { font-family: 'Barlow Condensed', sans-serif; font-size: 1.5rem; font-weight: 800; }
.img-badge .badge-sub { font-size: 0.7rem; opacity: 0.75; margin-top: 2px; }

/* ── Programme cards ── */
.prog-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.prog-card:hover {
  background: #1B5E6B;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(27,94,107,0.25);
}
.prog-card .prog-icon {
  width: 48px; height: 48px;
  background: #1B5E6B;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  transition: background 0.3s;
}
.prog-card:hover .prog-icon { background: rgba(255,255,255,0.2); }
.prog-card .prog-icon svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; }
.prog-card h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; color: #0f3840; margin-bottom: 0.5rem; transition: color 0.3s; }
.prog-card:hover h3 { color: #fff; }
.prog-card p { font-size: 0.875rem; color: rgba(44,44,44,0.65); line-height: 1.6; flex: 1; transition: color 0.3s; }
.prog-card:hover p { color: rgba(255,255,255,0.75); }
.prog-card .prog-arrow { margin-top: 1rem; font-size: 0.8rem; font-weight: 700; color: #1B5E6B; transition: color 0.3s; }
.prog-card:hover .prog-arrow { color: #E8A020; }

/* ── Workshop cards ── */
.workshop-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}
.workshop-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); transform: translateY(-2px); }
.workshop-card .ws-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.75rem; }
.workshop-card h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; color: #0f3840; font-size: 1.1rem; margin-bottom: 0.5rem; }
.workshop-card p { font-size: 0.875rem; color: rgba(44,44,44,0.65); line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.ws-meta { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 1rem; }
.ws-meta-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: rgba(44,44,44,0.6); }
.ws-meta-item svg { width: 14px; height: 14px; stroke: #1B5E6B; fill: none; stroke-width: 2; flex-shrink: 0; }
.ws-tags { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-bottom: 1rem; }
.ws-book-btn {
  width: 100%;
  padding: 0.625rem;
  background: #1B5E6B;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: background 0.25s;
  cursor: pointer;
  border: none;
}
.ws-book-btn:hover { background: #134550; }

/* ── Category filter ── */
.cat-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; }
.cat-btn {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  background: #fff;
  color: #2C2C2C;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cat-btn:hover { background: rgba(27,94,107,0.1); color: #1B5E6B; }
.cat-btn.active { background: #1B5E6B; color: #fff; }

/* ── FAQ Accordion ── */
.faq-item { border: 1px solid rgba(232,160,32,0.3); border-radius: 12px; overflow: hidden; margin-bottom: 0.75rem; }
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
}
.faq-btn:hover { background: #FAF6EE; }
.faq-btn span { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; color: #0f3840; font-size: 0.9375rem; padding-right: 1rem; }
.faq-icon { width: 16px; height: 16px; stroke: #1B5E6B; fill: none; stroke-width: 2.5; flex-shrink: 0; transition: transform 0.3s; }
.faq-icon.open { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 1.25rem 1.25rem; }
.faq-answer.open { display: block; }
.faq-answer p { font-size: 0.875rem; color: rgba(44,44,44,0.7); line-height: 1.7; }

/* ── Values grid ── */
.value-card { background: #fff; border-radius: 12px; padding: 1.5rem; box-shadow: 0 1px 4px rgba(0,0,0,0.05); transition: box-shadow 0.3s; }
.value-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.value-card h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; color: #0f3840; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.875rem; color: rgba(44,44,44,0.65); line-height: 1.6; }

/* ── Testimonials ── */
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #1B5E6B;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-stars { color: #E8A020; font-size: 0.875rem; letter-spacing: 0.1em; margin: 0.5rem 0; }
.testimonial-quote { font-style: italic; color: #2C2C2C; font-size: 0.9375rem; line-height: 1.7; margin-bottom: 1rem; }
.testimonial-before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1rem; }
.ba-box { border-radius: 8px; padding: 0.75rem; font-size: 0.8rem; }
.ba-before { background: rgba(232,160,32,0.1); }
.ba-after { background: rgba(27,94,107,0.1); }
.ba-label { font-weight: 700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.25rem; }
.ba-before .ba-label { color: #E8A020; }
.ba-after .ba-label { color: #1B5E6B; }

/* ── Contact form ── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.8125rem; font-weight: 600; color: #0f3840; margin-bottom: 0.375rem; }
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(27,94,107,0.2);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: #2C2C2C;
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: #1B5E6B; }
.form-textarea { resize: vertical; min-height: 120px; }

/* ── Donate tiers ── */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-bottom: 1.5rem; }
@media (max-width: 640px) { .tier-grid { grid-template-columns: repeat(2, 1fr); } }
.tier-btn {
  padding: 0.875rem 0.5rem;
  border: 2px solid rgba(27,94,107,0.2);
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.2s, background 0.2s;
}
.tier-btn:hover { border-color: #1B5E6B; }
.tier-btn.selected { border-color: #1B5E6B; background: rgba(27,94,107,0.06); }
.tier-amount { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.25rem; color: #0f3840; }
.tier-label { font-size: 0.7rem; color: rgba(44,44,44,0.6); margin-top: 2px; }

.freq-toggle { display: flex; background: #FAF6EE; border-radius: 8px; padding: 4px; margin-bottom: 1.5rem; width: fit-content; }
.freq-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: rgba(44,44,44,0.6);
  border: none;
  transition: background 0.2s, color 0.2s;
}
.freq-btn.active { background: #1B5E6B; color: #fff; }

/* ── Get Involved ways ── */
.way-card {
  border-radius: 12px;
  padding: 1.5rem;
  border: 2px solid transparent;
  transition: border-color 0.3s, transform 0.3s;
}
.way-card:hover { transform: translateY(-2px); }
.way-card-teal { background: rgba(27,94,107,0.06); border-color: rgba(27,94,107,0.15); }
.way-card-amber { background: rgba(232,160,32,0.08); border-color: rgba(232,160,32,0.25); }

/* ── Footer ── */
footer { background: #0f3840; color: #fff; }
.footer-newsletter { background: #1B5E6B; padding: 3rem 0; }
.footer-newsletter h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.75rem; color: #fff; margin: 0.75rem 0 0.5rem; }
.footer-newsletter p { color: rgba(255,255,255,0.7); font-size: 0.875rem; margin-bottom: 1.5rem; }
.newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; max-width: 420px; margin: 0 auto; }
@media (min-width: 480px) { .newsletter-form { flex-direction: row; } }
.newsletter-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-input:focus { border-color: #E8A020; }

.footer-main { padding: 3.5rem 0; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

.footer-brand-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.9rem; color: #fff; }
.footer-brand-sub { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: #E8A020; }
.footer-desc { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.6; margin: 1rem 0; }
.footer-contact-item { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.6); font-size: 0.875rem; margin-bottom: 0.5rem; }
.footer-contact-item svg { width: 14px; height: 14px; stroke: #E8A020; fill: none; stroke-width: 2; flex-shrink: 0; }

.footer-col-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-link { display: block; color: rgba(255,255,255,0.6); font-size: 0.875rem; margin-bottom: 0.625rem; transition: color 0.2s; }
.footer-link:hover { color: #E8A020; }

.social-icons { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; }
.social-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s;
}
.social-icon:hover { background: #E8A020; color: #fff; }
.social-icon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.25rem 0; }
.footer-bottom-inner { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; text-align: center; }
@media (min-width: 640px) { .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.75rem; }

/* ── Skills checklist ── */
.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 1rem 0; }
.skill-item { display: flex; gap: 0.625rem; align-items: flex-start; }
.skill-check { width: 16px; height: 16px; stroke: #1B5E6B; fill: none; stroke-width: 2.5; flex-shrink: 0; margin-top: 2px; }
.skill-heading { font-weight: 600; color: #0f3840; font-size: 0.875rem; }
.skill-detail { color: rgba(44,44,44,0.65); font-size: 0.875rem; }

/* ── Floating badge on programme cards ── */
.prog-img-wrap { position: relative; }
.prog-img-tag {
  position: absolute;
  top: 1rem; right: 1rem;
  background: #E8A020;
  color: #0f3840;
  border-radius: 8px;
  padding: 0.375rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ── CTA sections ── */
.cta-section { padding: 4rem 0; }
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ── Notification toast ── */
#toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0f3840;
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  font-size: 0.9rem;
  z-index: 9999;
  display: none;
  max-width: 320px;
  border-left: 4px solid #E8A020;
  animation: slideIn 0.3s ease;
}
#toast.show { display: block; }
#toast strong { display: block; margin-bottom: 0.25rem; color: #E8A020; }
@keyframes slideIn { from { transform: translateX(100px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── Responsive helpers ── */
.flex-row { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .flex-row { flex-direction: row; align-items: center; } }

.hidden-mobile { display: none; }
@media (min-width: 768px) { .hidden-mobile { display: block; } }

/* ── Utility ── */
.rounded-xl { border-radius: 12px; }
.rounded-2xl { border-radius: 16px; }
.shadow-lg { box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.w-full { width: 100%; }
.object-cover { object-fit: cover; }
.aspect-video { aspect-ratio: 16/9; }
.aspect-4-3 { aspect-ratio: 4/3; }
.text-white { color: #fff; }
.text-amber { color: #E8A020; }
.text-teal { color: #1B5E6B; }
.text-dark { color: #0f3840; }
.text-muted { color: rgba(44,44,44,0.65); }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.leading-relaxed { line-height: 1.7; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.space-y > * + * { margin-top: 0.75rem; }

/* ── Metric boxes ── */
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.metric-box { background: #FAF6EE; border-radius: 12px; padding: 1rem; }
.metric-val { font-family: 'Barlow Condensed', sans-serif; font-size: 1.5rem; font-weight: 800; color: #1B5E6B; }
.metric-key { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(44,44,44,0.55); margin-top: 2px; font-weight: 600; }

/* ── Safeguarding box ── */
.safeguarding-box {
  background: rgba(27,94,107,0.06);
  border: 1px solid rgba(27,94,107,0.2);
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 1.5rem;
}
.safeguarding-box h4 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; color: #0f3840; margin-bottom: 0.5rem; }
.safeguarding-box p { font-size: 0.875rem; color: rgba(44,44,44,0.7); }
.safeguarding-box a { color: #1B5E6B; font-weight: 600; }

/* ── Legal pages ── */
.legal-card { background: #fff; border-radius: 16px; padding: 2.5rem; box-shadow: 0 2px 12px rgba(0,0,0,0.06); max-width: 800px; margin: 0 auto; }
.legal-card h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; color: #0f3840; font-size: 1.25rem; margin: 1.5rem 0 0.5rem; }
.legal-card p { font-size: 0.9rem; color: rgba(44,44,44,0.75); line-height: 1.8; margin-bottom: 0.75rem; }
.legal-card a { color: #1B5E6B; font-weight: 600; }
.legal-footer { text-align: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(232,160,32,0.3); font-size: 0.8rem; color: rgba(44,44,44,0.5); }

/* ── Active page nav highlight ── */
.nav-link[data-page="current"] { font-weight: 600; }

/* ── Programmes detail page ── */
.prog-detail-section { padding: 4rem 0; }
.prog-detail-section:nth-child(even) { background: #FAF6EE; }
.prog-detail-section:nth-child(odd) { background: #fff; }
