:root {
  --green-950: #5f1418;
  --green-900: #7f1a20;
  --green-800: #a72128;
  --green-700: #c93635;
  --green-100: #f9dddd;
  --green-50: #fff4f4;
  --red: #c93635;
  --red-dark: #a72128;
  --gold: #e5b957;
  --ink: #14221e;
  --muted: #5e6d67;
  --line: #dbe5e0;
  --paper: #fffdfa;
  --white: #fff;
  --shadow: 0 24px 70px rgba(95, 20, 24, 0.12);
  --radius: 24px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(201,54,53,.08), transparent 34rem),
    linear-gradient(180deg, #fffdfa 0%, #fff7f7 42%, #fffdfa 100%);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.large-text { font-size: 118%; }
body.high-contrast { --green-800: #7f1a20; --muted: #263630; --line: #63756d; --paper: #fff; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; line-height: 1.06; letter-spacing: -0.035em; }
h1 { font-size: clamp(3rem, 6.5vw, 6rem); margin-bottom: 28px; }
h2 { font-size: clamp(2.35rem, 4.4vw, 4.15rem); margin-bottom: 24px; }
h3 { line-height: 1.2; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 112px 0; }
.section-tint { background: var(--green-50); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; transform: translateY(-150%); padding: 12px 18px; background: #fff; color: #000; border: 2px solid #000; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.utility-bar { color: #e8f6f0; background: var(--green-950); font-size: .78rem; }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-inner p { margin: 0; }
.utility-actions { display: flex; gap: 18px; }
.text-button { border: 0; color: inherit; background: transparent; padding: 3px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.utility-donate { padding: 3px 12px; border-radius: 999px; color: #fff; background: var(--red); font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .05em; }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255,253,250,.9); border-bottom: 1px solid rgba(219,229,224,.8); backdrop-filter: blur(18px); box-shadow: 0 12px 35px rgba(95,20,24,.06); }
.nav-wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; min-width: 290px; }
.brand img, .footer-brand img { border-radius: 50%; object-fit: cover; background: #fff; }
.brand span { display: flex; flex-direction: column; line-height: 1.18; }
.brand strong { font-family: "Playfair Display", Georgia, serif; font-size: 1.55rem; color: var(--green-800); letter-spacing: .03em; }
.brand small { max-width: 210px; color: var(--muted); font-size: .69rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.primary-nav { display: flex; align-items: center; gap: 18px; font-size: .82rem; font-weight: 700; }
.primary-nav > a:not(.button) { text-decoration: none; position: relative; }
.primary-nav > a:not(.button)::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .2s ease; }
.primary-nav > a:hover::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 20px; height: 2px; background: var(--ink); content: ""; transition: .2s ease; }
.menu-lines { margin: auto; position: relative; }
.menu-lines::before { position: absolute; top: -6px; }
.menu-lines::after { position: absolute; top: 6px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 24px; border: 2px solid var(--red); border-radius: 999px; color: #fff; background: var(--red); text-decoration: none; font-weight: 700; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }
.button-small { min-height: 44px; padding: 9px 18px; }
.button-secondary { color: var(--green-900); background: transparent; border-color: var(--green-800); }
.button-secondary:hover { color: #fff; background: var(--green-800); border-color: var(--green-800); }
.button-light { color: var(--green-950); background: #fff; border-color: #fff; }
.button-light:hover { color: #fff; background: transparent; border-color: #fff; }
.button-disabled, .button-disabled:hover { cursor: not-allowed; color: #54645e; background: #dfe7e3; border-color: #dfe7e3; transform: none; }

.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #fff9f7 0%, #fff 45%, #fbe8e8 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .55; background-image: radial-gradient(rgba(201,54,53,.14) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(to right, #000, transparent 68%); }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -210px; border-radius: 50%; background: radial-gradient(circle, rgba(229,185,87,.28), transparent 68%); }
.hero-grid { position: relative; z-index: 1; min-height: 560px; padding: 92px 0 98px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr); align-items: center; gap: 64px; }
.hero-copy { max-width: 780px; padding: 34px 0; }
.eyebrow { margin-bottom: 20px; color: var(--red); font-size: .78rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow-light { color: #a9e4cf; }
.hero-lead { max-width: 650px; margin-bottom: 34px; color: var(--muted); font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 25px; margin: 34px 0 0; padding: 0; list-style: none; color: var(--green-800); font-size: .82rem; font-weight: 700; }
.hero-tags li::before { content: "✓"; margin-right: 8px; color: var(--red); }
.hero-image-panel { position: relative; margin: 0; min-height: 470px; overflow: hidden; border-radius: 34px; }
.hero-image-panel img { width: 100%; height: 100%; min-height: 470px; display: block; object-fit: cover; object-position: center; }
.hero-visual { position: relative; min-height: 490px; }
.hero-visual::before { content: ""; position: absolute; width: 390px; height: 390px; top: 44px; left: 45px; border-radius: 50%; background: linear-gradient(145deg, var(--green-800), var(--green-950)); box-shadow: var(--shadow); }
.mission-card { position: absolute; z-index: 2; padding: 22px; border: 1px solid rgba(255,255,255,.7); border-radius: 20px; background: rgba(255,255,255,.93); box-shadow: 0 18px 50px rgba(8,55,43,.18); backdrop-filter: blur(12px); }
.mission-card p { margin-bottom: 5px; color: var(--muted); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.mission-card strong { display: block; line-height: 1.25; }
.mission-card-main { width: 245px; top: 125px; left: 115px; text-align: center; }
.mission-card-main img { width: 130px; height: 130px; margin: 0 auto 18px; border-radius: 50%; object-fit: cover; }
.mission-card-top { width: 205px; top: 40px; right: -25px; }
.mission-card-bottom { width: 210px; bottom: 38px; left: 0; }
.card-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 13px; border-radius: 50%; color: #fff; background: var(--red); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(4px); }
.hero-orb-one { width: 220px; height: 220px; right: -80px; top: 110px; background: rgba(229,185,87,.22); }
.hero-orb-two { width: 100px; height: 100px; left: 46%; bottom: -35px; background: rgba(201,54,53,.16); }

.trust-strip { color: #fff; background: var(--green-900); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid p { margin: 0; padding: 26px 35px; display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.16); }
.trust-grid p:first-child { padding-left: 0; }
.trust-grid p:last-child { border: 0; }
.trust-grid strong { color: #fff; }
.trust-grid span { color: #b8d4c9; font-size: .82rem; }

.split-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; align-items: start; }
.section-heading { max-width: 720px; }
.section-heading.centered { margin: 0 auto 55px; text-align: center; }
.section-heading.centered > p:last-child { max-width: 620px; margin-inline: auto; color: var(--muted); }
.prose { max-width: 650px; color: var(--muted); font-size: 1.03rem; }
.prose .lead { color: var(--ink); font-size: 1.35rem; font-weight: 600; }
.arrow-link { color: var(--green-800); font-weight: 800; text-decoration: none; }
.arrow-link span { display: inline-block; transition: transform .2s ease; }
.arrow-link:hover span { transform: translateX(5px); }

.project-feature { background: #fff; }
.project-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.project-feature-image { position: relative; min-height: 560px; }
.project-feature-image::before { content: ""; position: absolute; inset: 34px -22px -22px 32px; border-radius: var(--radius); background: var(--green-100); }
.project-feature-image img { position: relative; z-index: 1; width: 100%; height: 560px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .35s ease, filter .35s ease; }
.project-feature-image:hover img { transform: scale(1.015); filter: saturate(1.05); }
.project-feature-image span { position: absolute; z-index: 2; right: -25px; bottom: 24px; padding: 13px 18px; border-radius: 999px; color: #fff; background: var(--red); font-size: .75rem; font-weight: 800; }
.project-feature-copy .lead { color: var(--ink); font-size: 1.2rem; font-weight: 600; }
.project-feature-copy > p:not(.eyebrow) { color: var(--muted); }
.project-feature-copy .button { margin-top: 15px; }

.mission-vision-grid { margin-top: 80px; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.mission-vision-grid article { padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--green-50); }
.mission-vision-grid span, .programme-list span { color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.mission-vision-grid h3 { margin: 14px 0 10px; font-family: "Playfair Display", Georgia, serif; font-size: 1.4rem; }
.mission-vision-grid p { margin: 0; color: var(--muted); font-size: .9rem; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar-card { position: relative; min-height: 360px; padding: 30px 26px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.pillar-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.pillar-number { position: absolute; top: 18px; right: 22px; color: #ccd9d3; font-family: "Playfair Display", Georgia, serif; font-size: 2.2rem; }
.pillar-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 32px 0 38px; border-radius: 16px; color: #fff; background: var(--green-800); font-size: 1.35rem; }
.pillar-card:nth-child(2) .pillar-icon, .pillar-card:nth-child(4) .pillar-icon { background: var(--red); }
.pillar-card h3 { margin-bottom: 14px; font-size: 1.2rem; }
.pillar-card p { color: var(--muted); font-size: .93rem; }
.pillar-card a { position: absolute; bottom: 28px; color: var(--green-800); font-size: .86rem; font-weight: 800; text-decoration: none; }
.programme-list { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.programme-list article { padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.programme-list h3 { margin: 12px 0 8px; font-size: 1.08rem; }
.programme-list p { margin: 0; color: var(--muted); font-size: .88rem; }
.visual-programme-list { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.visual-programme-list article { padding: 0; overflow: hidden; display: flex; flex-direction: column; min-height: 100%; box-shadow: 0 18px 42px rgba(95,20,24,.08); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.visual-programme-list article:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(201,54,53,.28); }
.visual-programme-list img { width: 100%; height: 205px; object-fit: cover; background: var(--green-50); border-bottom: 1px solid var(--line); }
.visual-programme-list article:nth-child(1) img,
.visual-programme-list article:nth-child(4) img,
.visual-programme-list article:nth-child(7) img { object-fit: contain; padding: 22px; }
.visual-programme-list article > div { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.visual-programme-list h3 { font-size: 1.15rem; }
.visual-programme-list p { line-height: 1.65; }

.community-impact-section { background: linear-gradient(135deg, #f8fff9, #fff7ef); }
.community-impact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; }
.community-impact-copy { grid-row: span 3; padding-right: 32px; }
.community-impact-copy .lead { color: var(--ink); font-size: 1.2rem; font-weight: 650; }
.community-impact-copy p:not(.eyebrow) { color: var(--muted); }
.impact-stat-card { margin-top: 28px; padding: 26px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; border-left: 6px solid var(--red); border-radius: 18px; background: #fff; box-shadow: 0 18px 42px rgba(8,55,43,.08); }
.impact-stat-card strong { color: var(--green-800); font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; }
.impact-stat-card span { color: var(--ink); font-weight: 800; line-height: 1.45; }
.community-video-card { overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.community-video-card video, .community-video-card iframe { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border: 0; object-fit: cover; }
.community-video-card p { margin: 0; padding: 16px 20px; color: var(--green-800); font-size: .86rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }

.innovation { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, var(--green-950), var(--red-dark)); }
.innovation::after { content: ""; position: absolute; width: 460px; height: 460px; right: -180px; bottom: -260px; border: 80px solid rgba(255,255,255,.05); border-radius: 50%; }
.innovation-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.innovation-copy p:not(.eyebrow) { max-width: 620px; color: #c3ddd3; font-size: 1.05rem; }
.innovation-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 30px; }
.innovation-actions span { color: #a9cbbf; font-size: .78rem; }
.product-panel { perspective: 1000px; }
.product-browser { overflow: hidden; border: 1px solid rgba(255,255,255,.3); border-radius: 24px; background: #f8fbf9; box-shadow: 0 35px 90px rgba(0,0,0,.28); transform: rotateY(-4deg) rotateX(2deg); }
.browser-top { display: flex; gap: 7px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: #edf3f0; }
.browser-top i { width: 9px; height: 9px; border-radius: 50%; background: #a7b9b2; }
.product-content { padding: 45px; color: var(--ink); }
.product-badge { display: inline-block; padding: 6px 10px; border-radius: 999px; color: var(--green-800); background: var(--green-100); font-size: .72rem; font-weight: 800; }
.product-content h3 { margin: 18px 0 10px; font-family: "Playfair Display", Georgia, serif; font-size: 2.3rem; }
.product-content > p { color: var(--muted); }
.metric-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 32px; }
.metric-row span { padding: 15px 10px; border-radius: 12px; background: var(--green-50); text-align: center; }
.metric-row b, .metric-row em { display: block; }
.metric-row b { color: var(--green-800); font-size: .85rem; }
.metric-row em { color: var(--muted); font-size: .7rem; font-style: normal; }

.gallery-section { background: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 250px; gap: 12px; }
.gallery-grid figure { position: relative; margin: 0; overflow: hidden; border-radius: 14px; background: var(--green-100); box-shadow: 0 12px 28px rgba(95,20,24,.08); }
.gallery-grid a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery-grid a::after { content: "View"; position: absolute; right: 12px; bottom: 12px; padding: 6px 10px; border-radius: 999px; color: #fff; background: rgba(95,20,24,.78); font-size: .68rem; font-weight: 900; opacity: 0; transform: translateY(6px); transition: .22s ease; }
.gallery-grid figure:hover a::after { opacity: 1; transform: translateY(0); }
.gallery-grid figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-grid figure:nth-child(6) { grid-column: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-grid figure:hover img { transform: scale(1.035); }

.impact-header { display: grid; grid-template-columns: 1.2fr .8fr; gap: 90px; align-items: end; margin-bottom: 65px; }
.impact-header > p { color: var(--muted); }
.impact-steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; border-top: 1px solid var(--line); }
.impact-steps li { position: relative; padding: 45px 26px 10px 0; border-right: 1px solid var(--line); }
.impact-steps li:not(:first-child) { padding-left: 26px; }
.impact-steps li:last-child { border: 0; }
.impact-steps > li > span { position: absolute; top: -17px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--red); font-size: .68rem; font-weight: 800; }
.impact-steps h3 { margin-bottom: 8px; font-size: 1.25rem; }
.impact-steps p { color: var(--muted); font-size: .9rem; }

.involve-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.involve-card { padding: 38px; border-radius: var(--radius); background: #fff; box-shadow: 0 14px 50px rgba(8,55,43,.07); }
.involve-card > span { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 32px; border-radius: 50%; color: #fff; background: var(--red); font-size: 1.35rem; }
.involve-card h3 { font-family: "Playfair Display", Georgia, serif; font-size: 1.7rem; }
.involve-card p { min-height: 76px; color: var(--muted); }
.volunteer-record { margin-top: 60px; padding: 38px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; border-radius: var(--radius); background: #fff; }
.volunteer-record h3 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 1.8rem; }
.volunteer-record ul { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px 18px; list-style: none; }
.volunteer-record li { padding-bottom: 7px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .82rem; }

.contact-section { padding: 112px 0; color: #fff; background: var(--green-950); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.contact-copy p:not(.eyebrow) { color: #b7d2c7; font-size: 1.05rem; }
.address-list { margin-top: 32px; display: grid; gap: 18px; }
.address-list address { color: #c8ddd5; font-style: normal; font-size: .88rem; }
.address-list strong { display: block; margin-bottom: 4px; color: #fff; }
.address-list a { width: fit-content; color: #fff; font-weight: 800; }
.contact-form { padding: 36px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.07); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: block; margin-bottom: 16px; color: #e8f4ef; font-size: .82rem; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; color: #fff; background: rgba(0,0,0,.14); }
.contact-form option { color: #111; }
.contact-form textarea { resize: vertical; }
.form-note { margin: 14px 0 0; color: #a9c9bd; font-size: .75rem; }
.fraud-alert { margin-top: 55px; padding: 20px 24px; display: grid; grid-template-columns: 150px 1fr; gap: 20px; border: 1px solid rgba(229,185,87,.45); border-radius: 14px; background: rgba(229,185,87,.08); }
.fraud-alert strong { color: var(--gold); }
.fraud-alert p { margin: 0; color: #c8ddd5; font-size: .84rem; }

.site-footer { padding: 70px 0 24px; color: #c8d9d2; background: #052e25; }
.site-footer .footer-links a, .site-footer .social-links a { color: #b9cec6; }
.site-footer .footer-links a:hover, .site-footer .social-links a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr .72fr; gap: 54px; padding-bottom: 50px; align-items: start; }
.footer-brand { display: flex; gap: 18px; align-items: center; }
.footer-brand strong { color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: 1.25rem; line-height: 1.25; }
.footer-brand p { margin: 8px 0 0; font-size: .78rem; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer-links div { display: flex; flex-direction: column; gap: 9px; }
.footer-links strong { margin-bottom: 8px; color: #fff; }
.footer-links a { width: fit-content; color: #b9cec6; font-size: .88rem; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-award { justify-self: end; max-width: 210px; padding: 14px; border: 1px solid rgba(229,185,87,.32); border-radius: 18px; background: rgba(255,255,255,.06); text-align: center; }
.footer-award img { width: 100%; max-width: 150px; margin: 0 auto 10px; border-radius: 12px; background: #fff; object-fit: contain; }
.footer-award span { display: block; color: #f3dfac; font-size: .72rem; font-weight: 900; line-height: 1.35; text-transform: uppercase; letter-spacing: .08em; }
.social-links { padding: 18px 0; display: flex; flex-wrap: wrap; gap: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.social-links a { color: #b9cec6; font-size: .8rem; font-weight: 700; text-decoration: none; }
.social-links a:hover { color: #fff; }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 25px; border-top: 1px solid rgba(255,255,255,.12); font-size: .75rem; }
.footer-bottom p { margin: 0; }

.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: none; }
.delay-one { transition-delay: .1s; }
.delay-two { transition-delay: .2s; }

.partner-section { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff, #fff4f4); }
.partner-section::before { content: ""; position: absolute; inset: auto -10% -45% auto; width: 420px; height: 420px; border-radius: 50%; background: rgba(229,185,87,.2); }
.partner-section .shell { position: relative; z-index: 1; }
.partner-logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
.partner-logo-grid figure { min-height: 155px; margin: 0; display: grid; place-items: center; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: 0 14px 35px rgba(95,20,24,.07); transition: transform .25s ease, box-shadow .25s ease; }
.partner-logo-grid img { max-width: 100%; max-height: 96px; object-fit: contain; filter: saturate(.92); transition: transform .25s ease, filter .25s ease; }
.partner-logo-grid figure:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.partner-logo-grid figure:hover img { transform: scale(1.04); filter: saturate(1.05); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1040px) {
  .primary-nav { gap: 18px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { max-width: 800px; }
  .hero-image-panel { min-height: 420px; }
  .hero-image-panel img { min-height: 420px; }
  .hero-visual { width: min(560px, 100%); margin: 0 auto; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .visual-programme-list { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3,1fr); }
  .partner-logo-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-award { justify-self: start; }
  .innovation-grid { gap: 45px; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 32px, 680px); }
  .section, .contact-section { padding: 82px 0; }
  .utility-inner > p { display: none; }
  .utility-inner { justify-content: flex-end; }
  .menu-toggle { display: block; }
  .primary-nav { position: fixed; inset: 123px 0 auto; max-height: calc(100vh - 123px); overflow: auto; padding: 34px 24px 45px; display: none; flex-direction: column; align-items: stretch; gap: 4px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 12px; font-size: 1.05rem; }
  .primary-nav .button { margin-top: 12px; }
  .hero-grid { min-height: auto; padding: 75px 0; }
  .split-layout, .innovation-grid, .impact-header, .contact-grid, .project-feature-grid, .volunteer-record, .community-impact-grid { grid-template-columns: 1fr; gap: 38px; }
  .community-impact-copy { grid-row: auto; padding-right: 0; }
  .partner-logo-grid { grid-template-columns: 1fr 1fr; }
  .project-feature-image { min-height: 440px; }
  .project-feature-image img { height: 440px; }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid figure:first-child, .gallery-grid figure:nth-child(6) { grid-column: span 1; grid-row: span 1; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid p, .trust-grid p:first-child { padding: 17px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .impact-steps { grid-template-columns: 1fr 1fr; border-top: 0; }
  .impact-steps li, .impact-steps li:not(:first-child) { padding: 30px; border: 1px solid var(--line); }
  .impact-steps > li > span { position: static; margin-bottom: 20px; }
  .involve-grid { grid-template-columns: 1fr; }
  .involve-card p { min-height: auto; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 28px); }
  h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  h2 { font-size: clamp(2.1rem, 10vw, 3rem); }
  .brand { min-width: 0; }
  .brand img { width: 52px; height: 52px; }
  .brand small { display: none; }
  .utility-inner { width: 100%; padding-inline: 14px; }
  .utility-actions { width: 100%; justify-content: center; gap: 10px; }
  .text-button { white-space: nowrap; font-size: .72rem; }
  .utility-donate { padding-inline: 9px; font-size: .65rem; white-space: nowrap; }
  .nav-wrap { min-height: 76px; }
  .primary-nav { top: 110px; max-height: calc(100vh - 110px); }
  .hero-copy { min-width: 0; }
  .hero-copy h1 { overflow-wrap: anywhere; }
  .hero-image-panel { min-height: 330px; border-radius: 24px; }
  .hero-image-panel img { min-height: 330px; }
  .hero-orb-one { right: 0; width: 140px; height: 140px; }
  .hero-actions .button { width: 100%; }
  .pillar-grid, .impact-steps, .footer-grid, .programme-list, .visual-programme-list, .gallery-grid, .partner-logo-grid { grid-template-columns: 1fr; }
  .footer-award { max-width: 190px; }
  .visual-programme-list img { height: 230px; }
  .project-feature-image { min-height: 330px; }
  .project-feature-image img { height: 330px; }
  .project-feature-image span { right: 10px; bottom: 12px; }
  .volunteer-record ul { grid-template-columns: 1fr 1fr; }
  .fraud-alert { grid-template-columns: 1fr; }
  .pillar-card { min-height: 325px; }
  .product-content { padding: 30px 22px; }
  .metric-row { grid-template-columns: 1fr; }
  .impact-stat-card { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 18px; }
  .footer-links { margin-top: 10px; }
  .footer-bottom { flex-direction: column; }
}

.classroom-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 20% 20%, rgba(229,185,87,.24), transparent 32%), linear-gradient(135deg, var(--red) 0%, #7f1719 52%, #240507 100%); }
.classroom-hero-grid { min-height: 580px; padding: 92px 0; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 62px; align-items: center; }
.classroom-copy .eyebrow { color: #ffe0af; }
.classroom-copy h1 { max-width: 880px; color: #fff; }
.classroom-copy .hero-lead { color: rgba(255,255,255,.84); }
.classroom-panel { padding: 34px; border: 1px solid rgba(255,255,255,.2); border-radius: calc(var(--radius) + 10px); background: rgba(255,255,255,.1); box-shadow: 0 24px 70px rgba(0,0,0,.24); backdrop-filter: blur(14px); }
.classroom-panel span { display: inline-flex; margin-bottom: 18px; color: #ffe0af; font-size: .76rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.classroom-panel strong { display: block; color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: .95; }
.classroom-panel p { color: rgba(255,255,255,.82); }
.classroom-panel ul { margin: 24px 0 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.classroom-panel li { padding-left: 28px; position: relative; color: #fff; font-weight: 800; }
.classroom-panel li::before { content: "✓"; position: absolute; left: 0; color: #ffe0af; }
.button-light { color: var(--red); background: #fff; box-shadow: none; }
.certificate-verify-strip { margin-top: -54px; position: relative; z-index: 2; }
.certificate-verify-card { padding: 30px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; border: 1px solid rgba(201,54,53,.14); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.certificate-verify-card h2 { margin-bottom: 10px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.certificate-verify-card p { color: var(--muted); }
.classroom-auth-grid { display: grid; grid-template-columns: 1fr 420px; gap: 62px; align-items: start; }
.student-login-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.student-login-card label { display: block; margin-bottom: 16px; color: var(--ink); font-size: .86rem; font-weight: 800; }
.student-login-card input { width: 100%; margin-top: 8px; padding: 14px 15px; border: 1px solid var(--line); border-radius: 12px; font: inherit; }
.student-login-card p { margin: 16px 0 0; color: var(--muted); font-size: .88rem; }
.auth-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.auth-secondary { border: 1px solid rgba(201,54,53,.22); }
.learner-dashboard { margin-top: 42px; padding: 32px; display: flex; gap: 28px; justify-content: space-between; align-items: center; border-radius: var(--radius); color: #fff; background: linear-gradient(135deg, var(--green-900), var(--green-950)); box-shadow: var(--shadow); }
.learner-dashboard[hidden] { display: none; }
.learner-dashboard h3 { color: #fff; font-size: 1.8rem; }
.learner-dashboard p { color: #c8d9d2; }
.learner-dashboard .arrow-link { color: #fff; }
.learner-dashboard-full { display: block; color: var(--ink); background: #fff; border: 1px solid rgba(201,54,53,.13); }
.learner-dashboard-full h3 { color: var(--ink); font-size: clamp(1.9rem, 4vw, 3rem); }
.learner-dashboard-full p { color: var(--muted); }
.learner-dashboard-head { max-width: 780px; }
.learner-dashboard-actions { margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.learner-dashboard-stats { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.learner-dashboard-stats article { padding: 22px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--green-900), var(--green-950)); box-shadow: 0 12px 30px rgba(8,55,43,.12); }
.learner-dashboard-stats span { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 2.25rem; line-height: 1; }
.learner-dashboard-stats strong { display: block; margin-top: 8px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.learner-dashboard-grid { margin-top: 28px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.learner-dashboard-panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fffaf8; }
.learner-dashboard-panel-wide { grid-column: 1 / -1; }
.mini-panel-heading { margin-bottom: 18px; }
.mini-panel-heading h4 { margin: 0; font-size: 1.3rem; }
.dashboard-list { display: grid; gap: 14px; }
.dashboard-course-card, .dashboard-mini-item, .dashboard-certificate-card, .dashboard-empty { padding: 20px; border: 1px solid rgba(201,54,53,.13); border-radius: 18px; background: #fff; box-shadow: 0 10px 26px rgba(45,18,18,.05); }
.dashboard-course-card span, .dashboard-mini-item span, .dashboard-certificate-card span { display: inline-flex; margin-bottom: 10px; color: var(--red); font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.dashboard-course-card h5, .dashboard-mini-item h5, .dashboard-certificate-card h5 { margin: 0 0 8px; color: var(--ink); font-size: 1.05rem; }
.dashboard-course-card p, .dashboard-mini-item p, .dashboard-certificate-card p, .dashboard-empty { color: var(--muted); }
.dashboard-progress-wrap { margin-top: 16px; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; align-items: center; }
.dashboard-progress-wrap strong { color: var(--green-800); }
.dashboard-progress { overflow: hidden; height: 12px; border-radius: 999px; background: #f1e6df; }
.dashboard-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--red), #ef7b54); }
.dashboard-actions-row { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.dashboard-actions-row .button { min-height: 40px; padding: 10px 14px; font-size: .78rem; }
.certificate-dashboard-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dashboard-empty { font-weight: 800; text-align: center; }
.classroom-courses { background: #fffaf8; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.course-card { min-height: 245px; padding: 28px; border: 1px solid rgba(201,54,53,.13); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 34px rgba(45,18,18,.06); transition: transform .24s ease, box-shadow .24s ease; }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.course-card span { display: inline-flex; margin-bottom: 18px; color: var(--red); font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.course-card h3 { margin-bottom: 12px; font-size: 1.18rem; }
.course-card p { color: var(--muted); }
.course-card small { display: inline-flex; margin-top: 18px; color: var(--green-800); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.course-open-link { margin-top: 18px; }
.classroom-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature-note { padding: 36px; border-radius: var(--radius); background: #fff; box-shadow: 0 12px 34px rgba(8,55,43,.08); }
.feature-note ol { margin: 22px 0 0; padding-left: 22px; color: var(--muted); font-weight: 700; }
.feature-note li { margin-bottom: 10px; }
.admin-hero { color: #fff; background: linear-gradient(135deg, #240507 0%, var(--red) 58%, #ef7b54 100%); }
.admin-hero-grid { min-height: 520px; padding: 82px 0; display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 62px; align-items: center; }
.admin-hero code { padding: 2px 7px; border-radius: 7px; color: #fff; background: rgba(0,0,0,.2); }
.admin-dashboard-section { background: #fffaf8; }
.admin-summary { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 34px; }
.admin-summary article { padding: 24px; border: 1px solid rgba(201,54,53,.13); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 34px rgba(45,18,18,.06); }
.admin-summary span { display: block; color: var(--red); font-family: "Playfair Display", Georgia, serif; font-size: 2.5rem; line-height: 1; }
.admin-summary strong { display: block; margin-top: 8px; color: var(--ink); }
.admin-panel-grid { display: grid; gap: 28px; }
.admin-panel { padding: 30px; border: 1px solid rgba(201,54,53,.13); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.admin-panel-heading { margin-bottom: 22px; display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.admin-panel-heading h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.admin-form { margin-bottom: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.admin-form input, .admin-form select, .admin-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; font: inherit; }
.admin-form textarea { min-height: 94px; resize: vertical; grid-column: span 2; }
.admin-form .button { min-height: 48px; }
.admin-form-status { align-self: center; min-height: 18px; color: var(--green-800); font-weight: 900; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.admin-table-wrap table { width: 100%; border-collapse: collapse; min-width: 720px; }
.admin-table-wrap th, .admin-table-wrap td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table-wrap th { color: var(--green-800); background: #f8fbf9; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.admin-table-wrap tr:last-child td { border-bottom: 0; }
.course-learner-hero { color: #fff; background: linear-gradient(135deg, var(--green-950) 0%, var(--green-800) 52%, var(--red) 100%); }
.course-learner-grid { min-height: 520px; padding: 82px 0; display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 62px; align-items: center; }
.learner-progress-section { padding-top: 48px; padding-bottom: 48px; }
.learner-progress-card { padding: 34px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(260px, 1fr); gap: 34px; align-items: center; border-radius: var(--radius); color: #fff; background: linear-gradient(135deg, var(--green-900), var(--green-950)); box-shadow: var(--shadow); }
.learner-progress-card[hidden] { display: none; }
.learner-progress-card h2 { color: #fff; }
.learner-progress-card p { color: #c8d9d2; }
.progress-meter { overflow: hidden; height: 18px; border-radius: 999px; background: rgba(255,255,255,.18); }
.progress-meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f3dfac, #fff); transition: width .3s ease; }
.learner-list { display: grid; gap: 18px; }
.learner-item, .learner-empty { padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; border: 1px solid rgba(201,54,53,.13); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 34px rgba(45,18,18,.06); }
.learner-empty { display: block; color: var(--muted); font-weight: 800; text-align: center; }
.learner-item span { display: inline-flex; margin-bottom: 12px; color: var(--red); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.learner-item h3 { margin-bottom: 10px; font-size: 1.25rem; }
.learner-item p { color: var(--muted); }
.learner-item button[disabled], .assignment-submit-form button[disabled] { cursor: not-allowed; opacity: .55; }
.assignment-item { align-items: stretch; }
.assignment-submit-form { min-width: min(420px, 100%); display: grid; gap: 10px; }
.assignment-submit-form textarea, .assignment-submit-form input { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; }
.assignment-submit-form textarea { min-height: 120px; resize: vertical; }
.assignment-status { min-height: 18px; color: var(--green-800); font-weight: 800; }
.certificate-pending { align-self: center; color: var(--muted); font-weight: 800; }
.verify-hero .student-login-card { color: var(--ink); }
.verify-card .button { width: 100%; justify-content: center; }
.verify-result-card { padding: 34px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 28px; align-items: start; border: 1px solid rgba(201,54,53,.13); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.verify-result-card[hidden] { display: none; }
.verify-result-card h2 { margin-bottom: 10px; font-size: clamp(1.8rem, 4vw, 3rem); }
.verify-result-card p { color: var(--muted); }
.verify-badge { width: 104px; height: 104px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--green-800), var(--green-950)); font-size: .82rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 18px 40px rgba(8,55,43,.18); }
.verify-badge.invalid { background: linear-gradient(135deg, var(--red), #7f1719); }
.verify-details { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 6px 0 0; }
.verify-details div { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fffaf8; }
.verify-details dt { margin-bottom: 8px; color: var(--red); font-size: .7rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.verify-details dd { margin: 0; color: var(--ink); font-weight: 900; overflow-wrap: anywhere; }
.verify-result-card > .button { grid-column: 1 / -1; justify-self: start; }
.verify-result-error { grid-template-columns: auto minmax(0, 1fr); }

@media (max-width: 1020px) {
  .classroom-hero-grid, .classroom-auth-grid, .classroom-feature-grid, .admin-hero-grid, .course-learner-grid, .learner-progress-card { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr 1fr; }
  .admin-summary { grid-template-columns: repeat(2, 1fr); }
  .admin-form { grid-template-columns: 1fr 1fr; }
  .verify-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .learner-dashboard-stats { grid-template-columns: repeat(2, 1fr); }
  .learner-dashboard-grid, .certificate-dashboard-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .classroom-hero-grid { min-height: auto; padding: 72px 0; }
  .certificate-verify-strip { margin-top: 0; padding-top: 28px; background: #fffaf8; }
  .certificate-verify-card { grid-template-columns: 1fr; padding: 24px 20px; }
  .certificate-verify-card .button { width: 100%; justify-content: center; }
  .classroom-panel, .student-login-card, .feature-note { padding: 24px 20px; }
  .learner-dashboard { flex-direction: column; align-items: flex-start; }
  .learner-dashboard-full { padding: 24px 18px; }
  .learner-dashboard-actions .button { width: 100%; justify-content: center; }
  .learner-dashboard-stats { grid-template-columns: 1fr; }
  .learner-dashboard-panel { padding: 20px 16px; }
  .dashboard-progress-wrap { grid-template-columns: 1fr; }
  .dashboard-actions-row .button { width: 100%; justify-content: center; }
  .course-grid { grid-template-columns: 1fr; }
  .admin-hero-grid { min-height: auto; padding: 68px 0; }
  .admin-summary, .admin-form { grid-template-columns: 1fr; }
  .admin-panel { padding: 24px 18px; }
  .admin-panel-heading { flex-direction: column; }
  .admin-form textarea { grid-column: span 1; }
  .course-learner-grid { min-height: auto; padding: 68px 0; }
  .learner-item { grid-template-columns: 1fr; }
  .assignment-submit-form { min-width: 0; }
  .verify-result-card, .verify-result-error { grid-template-columns: 1fr; padding: 24px 18px; }
  .verify-badge { width: 86px; height: 86px; }
  .verify-details { grid-template-columns: 1fr; }
}
