:root {
  --blue: #064f7c;
  --blue-dark: #023553;
  --blue-soft: #eaf5fb;
  --gold: #d2a72d;
  --green: #5a9d2f;
  --ink: #1e2933;
  --muted: #5c6b78;
  --light: #f7fafc;
  --white: #ffffff;
  --line: #d9e5ec;
  --shadow: 0 18px 45px rgba(6, 79, 124, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--blue-dark);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 999;
}
.skip-link:focus { top: 20px; }

.notice-bar {
  background: var(--blue-dark);
  color: #fff;
  font-size: 0.92rem;
  padding: 9px 0;
}
.notice-bar .container { display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; }
.notice-bar strong { color: #ffe59a; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217,229,236,0.7);
}
.nav-wrap {
  min-height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 240px;
}
.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 12px;
}
.brand-title {
  font-weight: 800;
  color: var(--blue);
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.brand-subtitle {
  font-size: 0.77rem;
  color: var(--muted);
  margin-top: 3px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 11px 13px;
  font-weight: 700;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.main-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--blue-dark);
}
.main-nav a:hover, .main-nav a.active {
  background: var(--blue-soft);
  color: var(--blue);
}
.main-nav a.cta {
  background: var(--gold);
  color: #1e2933;
  box-shadow: 0 8px 22px rgba(210,167,45,0.28);
}
.main-nav a.cta:hover { background: #e0b63d; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(210,167,45,0.16), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(90,157,47,0.15), transparent 28%),
    linear-gradient(135deg, #f6fbff 0%, #ffffff 52%, #f8f4e9 100%);
  padding: 76px 0 84px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6,79,124,0.09);
  color: var(--blue);
  font-weight: 800;
  padding: 8px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
h1, h2, h3 { line-height: 1.16; margin: 0 0 16px; color: var(--blue-dark); }
h1 { font-size: clamp(2.35rem, 5vw, 4.9rem); letter-spacing: -0.05em; }
h2 { font-size: clamp(1.95rem, 3vw, 3.15rem); letter-spacing: -0.035em; }
h3 { font-size: 1.22rem; }
p { margin: 0 0 16px; color: var(--muted); }
.lead { font-size: 1.18rem; color: #43515e; max-width: 720px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { background: #fff; color: var(--blue); border-color: var(--line); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.hero-stats { display: flex; gap: 14px; flex-wrap: wrap; }
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  min-width: 130px;
  box-shadow: 0 8px 28px rgba(2,53,83,0.08);
}
.stat strong { display: block; color: var(--blue); font-size: 1.6rem; line-height: 1; }
.stat span { color: var(--muted); font-size: 0.9rem; }

.hero-card {
  background: #fff;
  padding: 30px;
  border-radius: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  position: relative;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(210,167,45,0.35);
  border-radius: 24px;
  pointer-events: none;
}
.hero-logo {
  width: min(330px, 80%);
  margin: 0 auto 22px;
}
.quote-card {
  background: var(--blue-dark);
  color: #fff;
  padding: 24px;
  border-radius: 22px;
  position: relative;
  z-index: 1;
}
.quote-card p { color: #e9f5fb; font-size: 1.05rem; }
.quote-card strong { color: #ffe59a; }

.section { padding: 80px 0; }
.section-alt { background: var(--light); }
.section-header { max-width: 820px; margin-bottom: 34px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.kicker { color: var(--gold); text-transform: uppercase; font-weight: 900; letter-spacing: 0.12em; font-size: 0.8rem; margin-bottom: 10px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 12px 34px rgba(2,53,83,0.06);
}
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  margin-bottom: 16px;
}
.card.gold .icon { background: rgba(210,167,45,0.18); color: #9d7613; }
.card.green .icon { background: rgba(90,157,47,0.16); color: #3d741f; }

.check-list { list-style: none; padding: 0; margin: 18px 0 0; }
.check-list li {
  margin: 10px 0;
  padding-left: 30px;
  position: relative;
  color: var(--muted);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 21px;
  height: 21px;
  border-radius: 999px;
  background: rgba(90,157,47,0.16);
  color: var(--green);
  display: inline-grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.8rem;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.story-box {
  background: linear-gradient(145deg, var(--blue-dark), var(--blue));
  color: #fff;
  padding: 34px;
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.story-box h2, .story-box h3 { color: #fff; }
.story-box p { color: #e7f3fb; }
.story-box .signature { color: #ffe59a; font-weight: 800; }

.timeline { display: grid; gap: 16px; }
.timeline-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: start;
}
.timeline-number {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--gold);
  color: #111;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.timeline-item h3 { margin-bottom: 6px; }

.page-hero {
  padding: 62px 0;
  background:
    linear-gradient(135deg, rgba(6,79,124,0.94), rgba(2,53,83,0.94)),
    radial-gradient(circle at top right, rgba(210,167,45,0.55), transparent 40%);
  color: #fff;
}
.page-hero h1, .page-hero p { color: #fff; }
.page-hero p { max-width: 760px; color: #e9f5fb; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 15px 17px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--blue-soft); color: var(--blue-dark); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; }
tr:last-child td { border-bottom: 0; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.person {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: #fff;
}
.person strong { color: var(--blue-dark); display: block; font-size: 1.02rem; }
.person span { color: var(--muted); font-size: 0.92rem; }
.badge {
  display: inline-block;
  margin-top: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.flow {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 12px 34px rgba(2,53,83,0.06);
}
.flow-row { display: flex; gap: 16px; align-items: stretch; justify-content: center; flex-wrap: wrap; }
.flow-box {
  background: var(--blue-soft);
  border: 1px solid rgba(6,79,124,0.18);
  color: var(--blue-dark);
  padding: 14px 16px;
  border-radius: 16px;
  text-align: center;
  font-weight: 800;
  min-width: 190px;
}
.flow-arrow { text-align: center; color: var(--gold); font-weight: 900; font-size: 1.5rem; margin: 12px 0; }

.document-list { display: grid; gap: 14px; }
.document-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.document-link strong { color: var(--blue-dark); }
.document-link span { color: var(--blue); font-weight: 900; white-space: nowrap; }

.donate-panel {
  background: linear-gradient(145deg, var(--blue-dark), var(--blue));
  color: #fff;
  border-radius: 32px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.donate-panel h2, .donate-panel p { color: #fff; }
.donate-panel .check-list li { color: #e9f5fb; }
.donate-panel .check-list li::before { background: rgba(255,255,255,0.14); color: #ffe59a; }

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 28px; align-items: start; }
.contact-card { background: var(--blue-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.form {
  display: grid;
  gap: 14px;
}
.form label { font-weight: 800; color: var(--blue-dark); font-size: 0.92rem; }
.form input, .form textarea, .form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.form textarea { min-height: 140px; resize: vertical; }
.form-note { color: var(--muted); font-size: 0.92rem; }

.cta-band {
  background: linear-gradient(90deg, var(--gold), #f0d78a);
  padding: 42px 0;
}
.cta-band .container {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cta-band h2 { margin: 0; color: #1f2a33; }
.cta-band p { margin: 6px 0 0; color: #3a3320; }

.site-footer {
  background: #082d45;
  color: #fff;
  padding: 54px 0 22px;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr; gap: 28px; }
.footer-brand { display: flex; gap: 13px; align-items: center; margin-bottom: 14px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 12px; background: #fff; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer p, .site-footer a, .site-footer li { color: #d7e8f2; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  margin-top: 34px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #d7e8f2;
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 86px;
    left: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.open { display: flex; }
  .main-nav a { border-radius: 12px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--max)); }
  .hero { padding: 52px 0 60px; }
  .section { padding: 58px 0; }
  .grid-3, .grid-2, .team-grid, .footer-grid { grid-template-columns: 1fr; }
  .brand-subtitle { display: none; }
  .brand { min-width: auto; }
  .timeline-item { grid-template-columns: 52px 1fr; }
  .hero-card { padding: 22px; }
  .document-link { align-items: flex-start; flex-direction: column; }
}


/* Programme image cards */
.programme-card {
  overflow: hidden;
  padding-top: 0;
}
.programme-card .card-image {
  width: calc(100% + 52px);
  margin: 0 -26px 20px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.programme-card .icon {
  margin-top: 0;
}
.programme-card:hover .card-image {
  filter: saturate(1.05) contrast(1.02);
}
.programme-note {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: 0 10px 26px rgba(2,53,83,0.05);
}
.programme-note p:last-child { margin-bottom: 0; }


/* Fund page refinements */
.donate-panel .hero-actions { margin-bottom: 0; }
.donate-panel .btn-secondary { color: var(--blue); }
.card h3 { margin-top: 0; }
