/* ============================================================
   MACT — Main Stylesheet
   Design System: blue · red · Black
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* ── CSS Custom Properties ────────────────────────────────── */
:root {
  /* Palette */
  --navy-darkest: #03162f;
  --navy-dark: #0b3a8a;
  /* royal blue */
  --navy: #123c9a;
  --navy-mid: #2b63e0;
  --navy-light: #5b8cff;
  --navy-card: rgba(10, 28, 68, 0.75);

  --blue: #085bdf;

  --yellow: #A82107;
  --yellow-warm: #A82107;
  --yellow-dim: rgba(229, 24, 55, 0.15);

  --orange: #A82107;
  --orange-dark: #A82107;
  --orange-dim: rgba(196, 14, 42, 0.15);

  --black: #040404;
  --white: #FFFFFF;

  --text-100: #EAEFF8;
  --text-200: #B0BFDA;
  --text-300: #7486A6;
  --text-400: #4A5A75;

  /* Glass */
  --glass-bg: rgba(11, 29, 58, 0.55);
  --glass-border: rgba(229, 24, 55, 0.14);
  --glass-blur: blur(22px);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Sizes */
  --container: 1200px;
  --section-py: 96px;

  /* Shadows */
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, .28);
  --shadow-md: 0 10px 40px rgba(0, 0, 0, .38);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .48);
  --glow-yellow: 0 0 40px rgba(229, 24, 55, .25);
  --glow-orange: 0 0 40px rgba(196, 14, 42, .25);

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur: .3s;
  --dur-slow: .6s;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-full: 9999px;
}

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

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

body {
  font-family: var(--font-body);
  /*changed navy-dark with justblue for experiment check*/
  background-color: var(--navy-dark);
  color: var(--text-100);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--yellow);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

a:hover {
  color: var(--yellow-warm);
}

button {
  font-family: var(--font-body);
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

/* Ambient background glow */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 15%, rgba(229, 24, 55, .06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 85%, rgba(196, 14, 42, .05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ── Utility ─────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  padding: 5px 14px;
  background: var(--orange-dim);
  border: 1px solid rgba(196, 14, 42, .3);
  border-radius: var(--r-full);
  margin-bottom: 14px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 18px;
}

.section-title .accent {
  background: linear-gradient(130deg, var(--yellow), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-200);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: .97rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
  text-decoration: none;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-warm) 100%);
  color: var(--navy-dark);
  box-shadow: 0 4px 20px rgba(229, 24, 55, .35);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(229, 24, 55, .5);
  color: var(--navy-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(229, 24, 55, .07);
}

.btn-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(196, 14, 42, .35);
}

.btn-orange:hover {
  box-shadow: 0 8px 32px rgba(196, 14, 42, .5);
  color: var(--white);
}

.btn-sm {
  padding: 9px 20px;
  font-size: .85rem;
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--navy-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 32px;
  backdrop-filter: var(--glass-blur);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 24, 55, .3), transparent);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 24, 55, .35);
  box-shadow: var(--shadow-md), var(--glow-yellow);
}

/* ── Grids ───────────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ── Tags ────────────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--yellow-dim);
  border: 1px solid rgba(229, 24, 55, .3);
  border-radius: var(--r-full);
  font-size: .72rem;
  color: var(--yellow);
  font-weight: 600;
  letter-spacing: .5px;
}

.tag.orange {
  background: var(--orange-dim);
  border-color: rgba(196, 14, 42, .3);
  color: var(--orange);
}

.tag.blue {
  background: rgba(100, 180, 255, .1);
  border-color: rgba(100, 180, 255, .3);
  color: #64B4FF;
}

.tag.green {
  background: rgba(100, 220, 140, .1);
  border-color: rgba(100, 220, 140, .3);
  color: #64DC8C;
}

/* ── Page Hero ───────────────────────────────────────────── */
.page-hero {
  padding: 150px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(229, 24, 55, .07) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--yellow);
  padding: 7px 18px;
  background: var(--yellow-dim);
  border: 1px solid rgba(229, 24, 55, .3);
  border-radius: var(--r-full);
  margin-bottom: 20px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}

.page-hero h1 span {
  background: linear-gradient(130deg, var(--yellow), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero h2 {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 3vw, 2.1rem);
  font-weight: 150;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 10px;
}

.page-hero h2 span {
  background: rgba(5, 5, 238, 0.96);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
  background-clip: text;
}

.page-hero p {
  font-size: 1.15rem;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}


/* D1-managed hero sub-text (homepage) — styled via .hero-sub below */

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), padding var(--dur) var(--ease);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  max-width: var(--container);
  margin: 0 auto;
  transition: padding var(--dur) var(--ease);
}

#site-nav.scrolled {
  background: rgba(7, 14, 28, .96);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(229, 24, 55, .1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}

#site-nav.scrolled .nav-inner {
  padding: 14px 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(229, 24, 55, .4);
  flex-shrink: 0;
}

.nav-logo-text {
  line-height: 1;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  display: block;
  margin-bottom: 2px;
}

.nav-logo-tag {
  font-size: .58rem;
  color: var(--yellow);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  display: block;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 15px;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-200);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav-links a:hover {
  color: var(--yellow);
  background: rgba(229, 24, 55, .08);
}

.nav-links a.active {
  color: var(--yellow);
  background: rgba(229, 24, 55, .1);
}

.nav-cta-link {
  padding: 10px 24px !important;
  background: linear-gradient(135deg, var(--yellow), var(--orange)) !important;
  color: var(--navy-dark) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(229, 24, 55, .3);
  margin-left: 8px;
}

.nav-cta-link:hover {
  box-shadow: 0 6px 22px rgba(229, 24, 55, .45) !important;
  color: var(--navy-dark) !important;
  background: linear-gradient(135deg, var(--yellow-warm), var(--orange)) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  border-radius: var(--r-sm);
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile drawer (slides in from the right) */
.nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: rgba(7, 14, 28, .98);
  backdrop-filter: blur(24px);
  border-left: 1px solid rgba(229, 24, 55, .15);
  box-shadow: -12px 0 40px rgba(0, 0, 0, .45);
  z-index: 899;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 90px 20px 40px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
}

.nav-mobile.open {
  transform: translateX(0);
  visibility: visible;
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
  padding: 12px 18px;
  width: 100%;
  border-radius: var(--r-sm);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

/* Dimmed backdrop behind the mobile drawer */
.nav-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 16, .55);
  z-index: 898;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}

.nav-mobile-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--yellow);
  background: rgba(229, 24, 55, .1);
}

.nav-mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-200);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color var(--dur) var(--ease);
}

.nav-mobile-close:hover {
  color: var(--yellow);
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: #f8fafc;
  border-top: 1px solid rgba(168, 33, 7, .12);
  padding: 70px 0 0;
  position: relative;
  color: var(--text-100);
}

/* Footer brand label (MACT / Zimbabwe) — dark text on light background */
#site-footer .nav-logo-name,
#site-footer .nav-logo-tag {
  color: #0b1d3a;
}

#site-footer .nav-logo-tag {
  color: var(--yellow);
}

#site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow), var(--orange), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 52px;
}

.footer-brand-desc {
  color: #475569;
  font-size: .92rem;
  line-height: 1.75;
  margin: 16px 0 26px;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(11, 29, 58, .14);
  background: rgba(255, 255, 255, .9);
  color: #334155;
  text-decoration: none;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
    border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-icon:hover {
  transform: translateY(-4px);
  color: #fff;
}

#site-footer .social-icon:hover {
  color: #fff;
}

.social-icon.whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .4);
}

.social-icon.facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
  box-shadow: 0 8px 22px rgba(24, 119, 242, .4);
}

.social-icon.youtube:hover {
  background: #A82107;
  border-color: #A82107;
  box-shadow: 0 8px 22px rgba(255, 0, 0, .4);
}

.social-icon.tiktok:hover {
  background: #010101;
  border-color: #69C9D0;
  box-shadow: 0 8px 22px rgba(105, 201, 208, .35);
}

.social-icon.twitter:hover {
  background: #000;
  border-color: #555;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .5);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(168, 33, 7, .18);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #475569;
  font-size: .9rem;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}

.footer-col ul li a:hover {
  color: var(--yellow);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #475569;
  font-size: .88rem;
  margin-bottom: 14px;
  line-height: 1.55;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: #475569;
}

.footer-contact-item a:hover {
  color: var(--yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(11, 29, 58, .1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: #64748b;
  font-size: .82rem;
}

.footer-bottom a {
  color: var(--yellow);
}

.footer-bottom a:hover {
  color: var(--yellow-warm);
}

/* ============================================================
   HOME — HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 130px 0 90px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 25% 40%, rgba(229, 24, 55, .1) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 80% 70%, rgba(196, 14, 42, .07) 0%, transparent 50%),
    linear-gradient(145deg, #030810 0%, #070E1C 55%, #0B1D3A 100%);
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(229, 24, 55, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 24, 55, .025) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 0;
}

.hero-home-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .9;
  overflow: hidden;
}

.hero-home-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .2);
  pointer-events: none;
}

.hero-home-slider .hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.hero-home-slider .hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.prog-card-img {
  width: 100%;
  height: 180px;
  border-radius: 22px;
  background-size: cover;
  background-position: center;
  margin-bottom: 18px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  padding: 9px 22px;
  background: rgba(229, 24, 55, .08);
  border: 1px solid rgba(229, 24, 55, .3);
  border-radius: var(--r-full);
  margin-bottom: 28px;
  animation: fadeUp .7s var(--ease) both;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulseDot 2s ease infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .4;
    transform: scale(.7);
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 26px;
  animation: fadeUp .7s .15s var(--ease) both;
}

.hero h1 .gold {
  background: linear-gradient(130deg, var(--yellow), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 560px;
  animation: fadeUp .7s .3s var(--ease) both;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp .7s .45s var(--ease) both;
}

.hero-decor {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24vw;
  color: var(--yellow);
  opacity: .035;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 0;
}

/* Page-level hero sliders (for about / programmes / team pages) */
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 180px 0 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-hero .page-hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Uniform dark shader over page hero images */
.page-hero .page-hero-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .2);
  pointer-events: none;
  z-index: 2;
}

.page-hero .page-hero-slider .hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.page-hero .page-hero-slider .hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.page-hero>* {
  position: relative;
  z-index: 1;
}

/* Light theme overrides (minimal, variable-based) */
body.light {
  --white: #081427;
  /* main text color in light mode */
  --text-100: #081427;
  --text-200: #334155;
  --text-300: #64748b;
  --text-400: #475569;
  --navy-dark: #ffffff;
  --navy: #f8fafc;
  --navy-mid: #eef2ff;
  --navy-light: #e2e8f0;
  --navy-card: rgba(255, 255, 255, 0.92);
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(99, 102, 241, 0.14);
  --glass-blur: blur(18px);
  background-color: var(--navy-dark);
  color: var(--text-100);
}

body.light #site-nav {
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(99, 102, 241, .12);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
  backdrop-filter: blur(24px);
}

body.light #site-nav.scrolled {
  background: rgba(255, 255, 255, .96);
}

body.light .nav-links a,
body.light .nav-mobile a,
body.light .nav-logo-name,
body.light .nav-logo-tag,
body.light .nav-mobile-close {
  color: var(--text-100);
}

body.light .nav-mobile {
  background: rgba(255, 255, 255, .98);
}

body.light .nav-links a:hover,
body.light .nav-links a.active,
body.light .nav-mobile a:hover,
body.light .nav-mobile a.active {
  color: #312e81;
  background: rgba(99, 102, 241, .12);
}

body.light .page-hero h1,
body.light .page-hero-label,
body.light .hero h1,
body.light .hero-badge,
body.light .hero-btns .btn-secondary {
  color: var(--text-100);
}

/* Hero sub-text stays white — it sits over hero images on every page,
   both the D1-managed (#hero-sub) and the hardcoded page-hero <p> */
.page-hero p,
.hero-sub,
body.light .page-hero p,
body.light .hero-sub {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}

body.light .page-hero::before,
body.light .hero-bg,
body.light .hero-grid,
body.light .hero-home-slider::after,
body.light .page-hero .page-hero-slider::after {
  background: none;
}

body.light .hero {
  background: linear-gradient(180deg, rgba(248, 250, 252, .95), rgba(226, 232, 240, .95));
}

body.light .hero .hero-badge {
  background: rgba(99, 102, 241, .08);
  border-color: rgba(99, 102, 241, .18);
}

body.light .hero h1 {
  color: var(--white);
}

body.light .hero-home-slider {
  opacity: .22;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Stats Strip ─────────────────────────────────────────── */
.stats-strip {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 52px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

/* Membership stats banner — visually distinct second strip */
.membership-stats-strip {
  padding: 40px 0;
  background: linear-gradient(135deg, #0f2a4d, var(--navy));
}

.membership-stats-strip .stat-number {
  color: var(--yellow);
}

.stat-item {
  text-align: center;
  padding: 20px 24px;
  position: relative;
}

.stat-item+.stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(229, 24, 55, .25), transparent);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-200);
  font-size: .92rem;
  font-weight: 500;
}

/* ── Ticker ──────────────────────────────────────────────── */
.ticker-bar {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  padding: 13px 0;
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
}

.ticker-badge {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: rgba(0, 0, 0, .25);
  color: #fff;
  padding: 5px 16px;
  border-radius: var(--r-full);
  white-space: nowrap;
  margin-right: 20px;
  flex-shrink: 0;
}

.ticker-track {
  overflow: hidden;
  flex: 1;
}

.ticker-content {
  display: inline-flex;
  gap: 56px;
  animation: tickerMove 32s linear infinite;
  white-space: nowrap;
}

.ticker-content:hover {
  animation-play-state: paused;
}

.ticker-item {
  color: rgba(255, 255, 255, .92);
  font-size: .88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
}

.ticker-item a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── Programme Cards ─────────────────────────────────────── */
.prog-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(229, 24, 55, .18), rgba(196, 14, 42, .18));
  border: 1px solid rgba(229, 24, 55, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
}

.prog-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.prog-card p {
  color: var(--text-200);
  font-size: .93rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.prog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.prog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--yellow);
  font-weight: 600;
  font-size: .88rem;
  font-family: var(--font-display);
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}

.prog-link:hover {
  color: var(--yellow-warm);
  gap: 10px;
}

/* ── Status Badges ───────────────────────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-full);
}

.status-badge.active {
  background: rgba(100, 220, 140, .12);
  color: #64DC8C;
  border: 1px solid rgba(100, 220, 140, .3);
}

.status-badge.upcoming {
  background: var(--yellow-dim);
  color: var(--yellow);
  border: 1px solid rgba(229, 24, 55, .3);
}

.status-badge.active::before,
.status-badge.upcoming::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ── Mission Strip ───────────────────────────────────────── */
.mission-strip {
  background: linear-gradient(135deg, rgba(229, 24, 55, .04), rgba(196, 14, 42, .04));
  border-top: 1px solid rgba(229, 24, 55, .1);
  border-bottom: 1px solid rgba(229, 24, 55, .1);
}

.mission-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.mission-inner blockquote {
  position: relative;
  padding: 0 20px;
  font-size: 1.2rem;
  color: var(--text-200);
  line-height: 1.8;
}

.mission-inner blockquote .q-open,
.mission-inner blockquote .q-close {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--yellow);
  opacity: .25;
  line-height: 0;
}

.mission-inner blockquote .q-open {
  vertical-align: -.45em;
  margin-right: 6px;
}

.mission-inner blockquote .q-close {
  vertical-align: -.45em;
  margin-left: 6px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-visual {
  border-radius: var(--r-xl);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  font-size: 5rem;
  color: var(--yellow);
  opacity: .7;
}

.story-visual p {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-300);
}

.story-text h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--white);
}

.story-text p {
  color: var(--text-200);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: .97rem;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.vm-card {
  padding: 40px;
  border-radius: var(--r-lg);
  border: 1px solid;
  backdrop-filter: var(--glass-blur);
}

.vm-card.vision {
  border-color: rgba(229, 24, 55, .3);
  background: rgba(229, 24, 55, .04);
}

.vm-card.mission {
  border-color: rgba(196, 14, 42, .3);
  background: rgba(196, 14, 42, .04);
}

.vm-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.vm-label {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.vm-card.vision .vm-label {
  color: var(--yellow);
}

.vm-card.mission .vm-label {
  color: var(--orange);
}

.vm-card p {
  color: var(--text-200);
  line-height: 1.7;
  font-size: .97rem;
}

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

.team-card {
  text-align: center;
}

.team-photo {
  width: 100%;
  height: 220px;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  margin: 0 0 18px;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--navy-dark);
  margin: 0 auto 18px;
  box-shadow: 0 4px 20px rgba(229, 24, 55, .3);
}

.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.team-role {
  color: var(--yellow);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 12px;
  font-family: var(--font-display);
}

.team-bio {
  color: var(--text-300);
  font-size: .88rem;
  line-height: 1.65;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  text-align: center;
  padding: 36px 24px;
}

.value-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 16px;
}

.value-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 10px;
}

.value-card p {
  color: var(--text-300);
  font-size: .88rem;
  line-height: 1.65;
}

/* ============================================================
   NEW PAGE SECTIONS
   ============================================================ */
.purpose-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.purpose-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--white);
}

.purpose-card p,
.purpose-card li {
  color: var(--text-200);
  line-height: 1.75;
}

.purpose-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.purpose-card li {
  list-style: none;
}

.hero-slider-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
}

.hero-slider-frame {
  position: relative;
  min-height: 380px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(229, 24, 55, .18);
  box-shadow: var(--shadow-md);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 44px 24px 20px;
  background: linear-gradient(to top, rgba(7, 14, 28, .85), transparent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  pointer-events: none;
}

.hero-slide.active .hero-slide-caption {
  opacity: 1;
  transform: translateY(0);
}

.hero-slider-quote {
  background: rgba(11, 29, 58, 0.7);
  border: 1px solid rgba(229, 24, 55, .16);
  border-radius: 22px;
  padding: 32px;
  backdrop-filter: blur(18px);
}

.hero-slider-quote h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 14px;
  color: var(--white);
}

.hero-slider-quote p {
  color: var(--text-200);
  line-height: 1.75;
}

.partner-card,
.team-profile-card,
.vacancy-card {
  min-height: 100%;
}

.partner-card-link {
  display: block;
  padding: 22px 20px;
  text-decoration: none;
  min-height: 170px;
  background: #ffffff;
  border: 1px solid rgba(168, 33, 7, .2);
  border-radius: var(--r-lg);
  box-shadow: 0 10px 30px rgba(11, 29, 58, .08);
  color: #0b1d3a;
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: none;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

.partner-card-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168, 33, 7, .05), transparent 60%);
  pointer-events: none;
}

.partner-card-link:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 33, 7, .45);
  box-shadow: var(--shadow-md);
  background: #fffdfb;
}

.partner-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b1d3a;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.partner-card-link p {
  color: #475569;
  font-size: .9rem;
  line-height: 1.65;
  margin: 12px 0 14px;
  position: relative;
  z-index: 1;
}

.partner-card-link .tag {
  position: relative;
  z-index: 1;
}

.partner-card-link .prog-link {
  position: relative;
  z-index: 1;
}

.partner-visual {
  height: 170px;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #eef2f7;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.partner-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.clamp-4,
.clamp-5 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}

.clamp-5 {
  -webkit-line-clamp: 5;
  line-clamp: 5;
}

.partner-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.partner-view-all,
.partner-read-all {
  display: inline-block;
  border: 0;
  background: none;
  padding: 0;
  color: var(--orange);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.partner-view-all:hover,
.partner-read-all:hover {
  color: var(--yellow);
  text-decoration: underline;
}

.reading-sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(5, 10, 22, .7);
  opacity: 0;
  transition: opacity .25s ease;
}

.reading-sheet-overlay.open {
  opacity: 1;
}

.reading-sheet {
  position: relative;
  width: min(680px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  background: linear-gradient(135deg, rgba(11, 29, 58, .99), rgba(18, 34, 68, .99));
  border: 1px solid rgba(229, 24, 55, .3);
  border-radius: 20px 20px 0 0;
  padding: 28px 28px 36px;
  color: var(--text-100);
  transform: translateY(40px);
  transition: transform .25s ease;
}

.reading-sheet-overlay.open .reading-sheet {
  transform: translateY(0);
}

@media (min-width: 640px) {
  .reading-sheet-overlay {
    align-items: center;
    padding: 24px;
  }

  .reading-sheet {
    border-radius: 20px;
  }
}

.reading-sheet-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: block;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(7, 14, 28, .8);
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.reading-sheet-image {
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
}

.reading-sheet-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reading-sheet-content h3 {
  font-family: var(--font-display);
  color: var(--white);
  margin-bottom: 6px;
}

.reading-sheet-body {
  margin-top: 14px;
  color: var(--text-200);
  line-height: 1.8;
}

body.sheet-open {
  overflow: hidden;
}

.partner-story {
  border-bottom: 1px solid rgba(229, 24, 55, .22);
  padding: 4px 0 26px;
  margin-bottom: 10px;
}

.partner-story-body {
  color: var(--text-200);
  line-height: 1.8;
  padding: 0;
}

.partner-read-all {
  margin-top: 14px;
}

.partner-stories-header {
  margin-top: 96px;
  margin-bottom: 36px;
}

.partner-stories-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
  border-top: 1px solid rgba(229, 24, 55, .22);
}

.partner-story {
  border-bottom: 1px solid rgba(229, 24, 55, .22);
}

.partner-story summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
}

.partner-story summary::-webkit-details-marker {
  display: none;
}

.partner-story-heading {
  display: grid;
  gap: 8px;
}

.partner-story-heading strong {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.12rem;
}

.partner-story-heading {
  padding-top: 20px;
}

.partner-story-meta {
  color: var(--text-300);
  font-size: .8rem;
}

.partner-story-toggle {
  color: var(--orange);
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
}

.partner-story[open] .partner-story-toggle {
  transform: rotate(45deg);
}

.partner-story-slideshow {
  position: relative;
  margin: 0 0 22px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-mid);
}

.partner-story-slides,
.partner-story-image {
  width: 100%;
  height: 100%;
}

.partner-story-image {
  display: none;
  object-fit: cover;
}

.partner-story-image.active {
  display: block;
}

.partner-story-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background: rgba(7, 14, 28, .65);
  color: var(--white);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.partner-story-arrow.prev {
  left: 12px;
}

.partner-story-arrow.next {
  right: 12px;
}

.partner-story-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.partner-story-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
}

.partner-story-dot.active {
  background: var(--orange);
}

.partner-story-more {
  margin-top: 18px;
}

.partner-story-more summary {
  display: inline-block;
  padding: 0;
  color: var(--orange);
  font-size: .88rem;
}

.partner-story-more>div {
  padding-top: 12px;
}

.partner-stories-empty {
  color: var(--text-300);
}

.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--navy-dark);
  font-family: var(--font-display);
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  margin-bottom: 12px;
}

.team-role {
  color: var(--yellow);
  font-weight: 700;
  margin: 8px 0;
}

.team-location {
  color: var(--text-300);
  font-size: .82rem;
  margin-top: 14px;
}

.team-filters {
  display: grid;
  gap: 18px;
  margin: -20px auto 32px;
  max-width: 980px;
}

.team-filter-group {
  display: grid;
  gap: 8px;
}

.team-filter-label {
  color: var(--text-200);
  font-size: .86rem;
  font-weight: 600;
}

.team-filter-bar {
  justify-content: flex-start;
  margin-bottom: 0;
  gap: 8px;
}

.team-empty {
  grid-column: 1 / -1;
  color: var(--text-300);
  text-align: center;
  padding: 32px 0;
}

.grid-3[hidden] {
  display: none;
}

.vacancy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* ============================================================
   OPPORTUNITIES PAGE
   ============================================================ */
.opp-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.opp-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 32px;
}

.opp-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: var(--r-full);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.opp-badge.volunteer {
  background: rgba(229, 24, 55, .12);
  color: var(--yellow);
  border: 1px solid rgba(229, 24, 55, .3);
}

.opp-badge.consultancy {
  background: rgba(196, 14, 42, .12);
  color: var(--orange);
  border: 1px solid rgba(196, 14, 42, .3);
}

.opp-badge.internship {
  background: rgba(100, 180, 255, .12);
  color: #64B4FF;
  border: 1px solid rgba(100, 180, 255, .3);
}

.opp-badge.job {
  background: rgba(100, 220, 140, .12);
  color: #64DC8C;
  border: 1px solid rgba(100, 220, 140, .3);
}

.opp-badge.grant {
  background: rgba(200, 100, 255, .12);
  color: #C864FF;
  border: 1px solid rgba(200, 100, 255, .3);
}

.opp-body {
  flex: 1;
}

.opp-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.opp-body p {
  color: var(--text-200);
  font-size: .92rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.opp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: .82rem;
  color: var(--text-300);
  margin-bottom: 16px;
}

.opp-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.opp-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start;
}

.contact-form-card {
  background: var(--navy-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 48px;
  backdrop-filter: var(--glass-blur);
}

.contact-form-card h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--white);
}

.contact-form-card>p {
  color: var(--text-200);
  font-size: .95rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: .85rem;
  color: var(--text-200);
  margin-bottom: 7px;
  font-family: var(--font-display);
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-sm);
  color: var(--text-100);
  font-family: var(--font-body);
  font-size: .97rem;
  outline: none;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.form-control::placeholder {
  color: var(--text-400);
}

.form-control:focus {
  border-color: var(--yellow);
  background: rgba(229, 24, 55, .05);
  box-shadow: 0 0 0 3px rgba(229, 24, 55, .1);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  background: rgba(100, 220, 140, .08);
  border: 1px solid rgba(100, 220, 140, .25);
  border-radius: var(--r-md);
  margin-top: 20px;
}

.form-success .success-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.form-success h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #64DC8C;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-200);
  font-size: .92rem;
}

.form-success.show {
  display: block;
}

.contact-info-card {
  background: var(--navy-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 40px;
  backdrop-filter: var(--glass-blur);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.ci-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(229, 24, 55, .18), rgba(196, 14, 42, .18));
  border: 1px solid rgba(229, 24, 55, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.ci-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.ci-text a,
.ci-text span {
  color: var(--text-300);
  font-size: .9rem;
  line-height: 1.55;
}

.ci-text a:hover {
  color: var(--yellow);
}

.ci-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(229, 24, 55, .1);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 {
  transition-delay: .08s;
}

.reveal-d2 {
  transition-delay: .16s;
}

.reveal-d3 {
  transition-delay: .24s;
}

.reveal-d4 {
  transition-delay: .32s;
}

/* ============================================================
   FILTER BAR (Programmes)
   ============================================================ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, .12);
  background: transparent;
  color: var(--text-300);
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: var(--navy-dark);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(229, 24, 55, .3);
}

.list-more-wrap {
  display: flex;
  justify-content: center;
  min-height: 42px;
  margin: 28px 0 8px;
}

.list-more-wrap:empty {
  display: none;
}

.show-more-btn {
  padding: 9px 22px;
  border: 1px solid rgba(229, 24, 55, .35);
  border-radius: var(--r-full);
  background: rgba(229, 24, 55, .08);
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: .86rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.show-more-btn:hover {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: var(--navy-dark);
}

/* ── Empty state ─────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-300);
}

.empty-state .empty-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.empty-state p {
  font-size: 1.1rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

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

  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .story-visual {
    display: none;
  }

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

@media (max-width: 768px) {
  :root {
    --section-py: 64px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .vision-mission-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .opp-card {
    flex-direction: column;
  }

  .home-hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form-card {
    padding: 28px;
  }

  .contact-info-card {
    padding: 28px;
  }

  .purpose-grid {
    grid-template-columns: 1fr;
  }

  .hero-slider-card {
    grid-template-columns: 1fr;
  }

  .vacancy-grid {
    grid-template-columns: 1fr;
  }

  .team-filters {
    margin-top: -8px;
  }

  .team-filter-bar {
    justify-content: flex-start;
  }

  .partner-stories-grid {
    grid-template-columns: 1fr;
  }

  .partner-stories-header {
    margin-top: 72px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item+.stat-item::before {
    display: none;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* Homepage community post cards */
.post-read-all {
  display: inline-block;
  margin-top: 14px;
  border: 0;
  background: none;
  padding: 0;
  color: var(--orange);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
}

.post-read-all:hover {
  color: var(--yellow);
  text-decoration: underline;
}

.post-video-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-mid), #10233f);
  cursor: pointer;
}

.post-video-play {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(229, 24, 55, .7);
  background: rgba(7, 14, 28, .6);
  color: var(--yellow);
  font-size: 1.4rem;
  padding-left: 4px;
}

.reading-sheet-video {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 18px;
  background: #000;
  display: block;
}

.reading-sheet-video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
  background: #000;
}

.reading-sheet-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ----
   DONATE � pulsing nav button, amounts, progress bars
   ---- */
.nav-donate-link {
  padding: 10px 22px !important;
  background: linear-gradient(135deg, #e51837, #c40e2a) !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: var(--r-full) !important;
  margin-left: 8px;
  box-shadow: 0 4px 16px rgba(229, 24, 55, .35);
  animation: donatePulse 2.2s ease-in-out infinite;
  position: relative;
}

.nav-donate-link:hover,
.nav-donate-link.active {
  color: #fff !important;
  background: linear-gradient(135deg, #ff2a4d, #d31230) !important;
  animation-play-state: paused;
}

.donate-heart {
  display: inline-block;
  margin-right: 4px;
}

@keyframes donatePulse {
  0% {
    box-shadow: 0 4px 16px rgba(229, 24, 55, .35), 0 0 0 0 rgba(229, 24, 55, .55);
  }

  70% {
    box-shadow: 0 4px 16px rgba(229, 24, 55, .35), 0 0 0 12px rgba(229, 24, 55, 0);
  }

  100% {
    box-shadow: 0 4px 16px rgba(229, 24, 55, .35), 0 0 0 0 rgba(229, 24, 55, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-donate-link {
    animation: none;
  }
}

/* Frequency + amount pickers */
.donate-frequency,
.donate-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.freq-option,
.amount-option {
  position: relative;
  cursor: pointer;
}

.freq-option input,
.amount-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.freq-option span,
.amount-option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--r-full);
  border: 1px solid rgba(229, 24, 55, .25);
  background: rgba(229, 24, 55, .04);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .92rem;
  color: var(--text-200);
  transition: all var(--dur) var(--ease);
}

.freq-option input:checked+span,
.amount-option input:checked+span,
.freq-option.selected span,
.amount-option.selected span {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: var(--navy-dark);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(229, 24, 55, .3);
}

.donate-submit-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

/* Cause selection cards (Donate page) */
.cause-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.cause-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--navy-card, rgba(255, 255, 255, .04));
  border: 1px solid rgba(229, 24, 55, .14);
  border-radius: var(--r-md, 14px);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.cause-card:hover {
  transform: translateY(-3px);
  border-color: rgba(229, 24, 55, .45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}

.cause-card.selected {
  border-color: var(--yellow);
  box-shadow: 0 0 0 2px var(--yellow), 0 10px 30px rgba(229, 24, 55, .25);
}

.cause-card-img {
  display: block;
  width: 100%;
  height: 130px;
  background: linear-gradient(135deg, rgba(229, 24, 55, .35), rgba(196, 14, 42, .2));
  overflow: hidden;
}

.cause-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cause-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
}

.cause-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.cause-card-target {
  font-style: normal;
  font-size: .68rem;
  font-weight: 600;
  color: var(--yellow);
  white-space: nowrap;
}

.cause-card-desc {
  font-size: .85rem;
  line-height: 1.55;
  color: var(--text-200);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cause-card-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: var(--navy-dark);
  font-size: .85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.5);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  pointer-events: none;
}

.cause-card.selected .cause-card-check {
  opacity: 1;
  transform: scale(1);
}

.cause-card.cause-hidden {
  display: none;
}

@media (max-width: 640px) {
  .cause-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Campaign progress bars */
.progress-track {
  height: 10px;
  border-radius: var(--r-full);
  background: rgba(229, 24, 55, .12);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  transition: width .8s var(--ease);
}

/* Video hero slides (Donate page � muted autoplay videos) */
.hero-slide-video {
  background: #05090f;
}

.hero-slide-video video,
.hero-slide-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  pointer-events: none;
}

/* Donation share row � wrap of platform buttons */
.donate-share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}

.donate-share-row .share-btn {
  font-size: .84rem;
}

/* Share buttons — official brand colors + SVG icons */
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  color: var(--text-100, #fff);
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.share-btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: currentColor;
}

.share-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

.share-btn:active {
  transform: translateY(0);
}

.share-btn[data-platform="facebook"] {
  background: #1877F2;
  border-color: #1877F2;
  color: #fff;
}

.share-btn[data-platform="whatsapp"] {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}

.share-btn[data-platform="x"] {
  background: #000;
  border-color: #444;
  color: #fff;
}

.share-btn[data-platform="tiktok"] {
  background: #000;
  border-color: #444;
  color: #fff;
}

.share-btn[data-platform="linkedin"] {
  background: #0A66C2;
  border-color: #0A66C2;
  color: #fff;
}

.share-btn[data-platform="discord"] {
  background: #5865F2;
  border-color: #5865F2;
  color: #fff;
}

.share-btn[data-platform="instagram"] {
  background: linear-gradient(45deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
  border-color: transparent;
  color: #fff;
}

.share-btn[data-platform="telegram"] {
  background: #229ED9;
  border-color: #229ED9;
  color: #fff;
}

.share-btn[data-platform="email"] {
  background: #6b7280;
  border-color: #6b7280;
  color: #fff;
}

.share-btn[data-platform="native"],
.share-btn[data-platform="copy"] {
  background: rgba(255, 255, 255, .12);
}

.share-btn.is-copied {
  background: #2ecc71 !important;
  border-color: #2ecc71 !important;
}

.share-copy-note {
  width: 100%;
  text-align: center;
  font-size: .8rem;
  color: var(--text-200, #bbb);
  margin-top: 4px;
}