/* =========================================================
   PEU E BOTSE FOUNDATION
   Main Stylesheet
========================================================= */


/* =========================================================
   1. ROOT VARIABLES
========================================================= */

:root {

    --bg: #f7f4ee;
    --surface: #ffffff;
    --surface-soft: #f0eee8;

    --primary: #0d6a4f;
    --primary-dark: #084c3a;
    --primary-deep: #062f25;

    --accent: #f5b740;
    --accent-soft: #fff2cf;

    --text: #17241f;
    --text-light: #ffffff;

    --muted: #62706a;
    --muted-light: #b9c8c1;

    --border: #e3e3dc;
    --border-dark: rgba(255,255,255,0.12);

    --danger: #b42318;
    --success: #147d52;

    --shadow-sm:
        0 4px 15px rgba(20, 45, 37, 0.06);

    --shadow:
        0 15px 40px rgba(20, 45, 37, 0.10);

    --shadow-lg:
        0 25px 70px rgba(20, 45, 37, 0.15);

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;

    --container: 1160px;

    --header-height: 78px;

}


/* =========================================================
   2. RESET
========================================================= */

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


html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}


body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}


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


button,
input,
textarea,
select {
    font: inherit;
}


button {
    border: 0;
}


a {
    color: inherit;
    text-decoration: none;
}


ul {
    list-style: none;
}


::selection {
    background: var(--primary);
    color: #fff;
}


/* =========================================================
   3. GLOBAL
========================================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}


.section {
    padding: 110px 0;
}


.section-light {
    background: var(--surface);
}


.section-soft {
    background: var(--surface-soft);
}


.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--primary);

    font-size: 0.76rem;
    font-weight: 800;

    letter-spacing: 0.14em;
    text-transform: uppercase;
}


.eyebrow-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--accent);
}


.eyebrow-light {
    color: #b9dfd0;
}


.section-heading {
    max-width: 760px;
    margin-bottom: 60px;
}


.section-heading h2,
.impact-heading h2 {
    margin-top: 14px;

    font-size: clamp(
        2rem,
        4vw,
        3.4rem
    );

    line-height: 1.1;
    letter-spacing: -0.045em;
}


.section-heading p,
.impact-heading p {
    margin-top: 20px;

    color: var(--muted);

    font-size: 1.02rem;
}


.section-heading-row {
    max-width: none;

    display: grid;
    grid-template-columns: 1.2fr 0.8fr;

    gap: 70px;

    align-items: end;
}


.section-heading-row > p {
    margin-bottom: 4px;
}


/* =========================================================
   4. BUTTONS
========================================================= */

.button {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 13px 20px;

    border-radius: 999px;

    font-size: 0.9rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}


.button:hover {
    transform: translateY(-2px);
}


.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(245, 183, 64, 0.65);
    outline-offset: 3px;
}


.button-primary {
    background: var(--primary);
    color: #fff;

    box-shadow:
        0 10px 25px rgba(13, 106, 79, 0.20);
}


.button-primary:hover {
    background: var(--primary-dark);
}


.button-secondary {
    background: transparent;

    color: var(--primary);

    border: 1px solid var(--border);
}


.button-secondary:hover {
    background: var(--surface);
    border-color: var(--primary);
}


.button-light {
    background: #fff;
    color: var(--primary);
}


.button-small {
    min-height: 42px;
    padding: 10px 17px;

    font-size: 0.82rem;
}


.button-full {
    width: 100%;
}


/* =========================================================
   5. HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    height: var(--header-height);

    display: flex;
    align-items: center;

    background: rgba(247, 244, 238, 0.90);

    border-bottom: 1px solid rgba(20, 45, 37, 0.08);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


.nav-container {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    flex-shrink: 0;
}


.brand-mark {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background:
        linear-gradient(
            145deg,
            var(--primary),
            var(--primary-dark)
        );

    color: #fff;

    font-size: 1.15rem;
    font-weight: 800;

    box-shadow:
        0 8px 20px rgba(13, 106, 79, 0.18);
}


.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1.05;
}


.brand-text strong {
    font-size: 0.95rem;
}


.brand-text small {
    margin-top: 4px;

    color: var(--muted);

    font-size: 0.66rem;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;

    margin-left: auto;
}


.desktop-nav a {
    position: relative;

    color: var(--muted);

    font-size: 0.84rem;
    font-weight: 600;

    transition: color 0.2s ease;
}


.desktop-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 100%;
    height: 2px;

    background: var(--primary);

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.2s ease;
}


.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--primary);
}


.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    transform: scaleX(1);
}


.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    place-items: center;

    background: transparent;

    border: 1px solid var(--border);
    border-radius: 12px;

    cursor: pointer;
}


.menu-toggle span {
    display: block;

    width: 20px;
    height: 2px;

    margin: 3px 0;

    background: var(--text);

    border-radius: 999px;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


.mobile-nav {
    display: none;
}


/* =========================================================
   6. HERO
========================================================= */

.hero {
    position: relative;

    min-height: calc(100vh - var(--header-height));

    display: flex;
    align-items: center;

    overflow: hidden;

    padding-top: 80px;
    padding-bottom: 90px;
}


.hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -180px;
    top: -150px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(13, 106, 79, 0.09),
            transparent 70%
        );

    pointer-events: none;
}


.hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(360px, 0.85fr);

    gap: 90px;

    align-items: center;
}


.hero-content {
    position: relative;
    z-index: 1;
}


.hero h1 {
    max-width: 850px;

    margin-top: 20px;

    font-size: clamp(
        2.8rem,
        6vw,
        5.2rem
    );

    line-height: 0.99;

    letter-spacing: -0.065em;
}


.hero h1 span {
    display: block;

    color: var(--primary);
}


.hero-lead {
    max-width: 700px;

    margin-top: 27px;

    color: var(--muted);

    font-size: 1.05rem;
}


.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 32px;
}


.hero-trust {
    display: flex;
    flex-wrap: wrap;

    gap: 30px;

    margin-top: 42px;
}


.hero-trust div {
    display: flex;
    flex-direction: column;
}


.hero-trust strong {
    font-size: 0.78rem;
}


.hero-trust span {
    color: var(--muted);

    font-size: 0.71rem;
}


.hero-visual {
    position: relative;
}


.hero-card {
    position: relative;

    overflow: hidden;

    padding: 36px;

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            150deg,
            var(--primary),
            var(--primary-dark)
        );

    color: #fff;

    box-shadow: var(--shadow-lg);
}


.hero-card::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    right: -100px;
    top: -100px;

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: 50%;
}


.hero-card::after {
    content: "";

    position: absolute;

    width: 200px;
    height: 200px;

    right: -80px;
    top: -60px;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 50%;
}


.hero-card-top {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: space-between;
    align-items: center;
}


.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 11px;

    border-radius: 999px;

    background: rgba(255,255,255,0.10);

    color: #d7eee6;

    font-size: 0.68rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}


.status-badge span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--accent);
}


.hero-card-label {
    color: rgba(255,255,255,0.65);

    font-size: 0.75rem;
    font-weight: 700;
}


.hero-card-icon {
    position: relative;
    z-index: 2;

    width: 70px;
    height: 70px;

    display: grid;
    place-items: center;

    margin-top: 65px;

    border-radius: 20px;

    background: rgba(255,255,255,0.10);

    color: var(--accent);

    font-size: 1.8rem;
}


.hero-card h2 {
    position: relative;
    z-index: 2;

    max-width: 420px;

    margin-top: 25px;

    font-size: 2rem;

    line-height: 1.15;
    letter-spacing: -0.04em;
}


.hero-card p {
    position: relative;
    z-index: 2;

    margin-top: 15px;

    color: #c8ddd5;

    font-size: 0.9rem;
}


.hero-metrics {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-top: 35px;
}


.hero-metrics div {
    padding: 18px;

    border: 1px solid rgba(255,255,255,0.10);

    border-radius: 15px;

    background: rgba(255,255,255,0.06);
}


.hero-metrics strong {
    display: block;

    color: #fff;

    font-size: 1.5rem;
}


.hero-metrics span {
    display: block;

    margin-top: 3px;

    color: #b9cfc7;

    font-size: 0.68rem;
}


.placeholder-note {
    position: relative;
    z-index: 2;

    display: block;

    margin-top: 18px;

    color: rgba(255,255,255,0.48);

    font-size: 0.65rem;
}


/* =========================================================
   7. ABOUT
========================================================= */

.about-grid {
    display: grid;

    grid-template-columns:
        1.1fr
        0.9fr;

    gap: 80px;

    align-items: start;
}


.about-main {
    padding-right: 40px;
}


.number-label {
    color: var(--accent);

    font-size: 0.75rem;
    font-weight: 800;

    letter-spacing: 0.1em;
}


.about-main h3 {
    margin-top: 15px;

    font-size: 2.1rem;

    letter-spacing: -0.04em;
}


.about-main p {
    margin-top: 20px;

    color: var(--muted);

    font-size: 1rem;
}


.about-main p + p {
    margin-top: 14px;
}


.about-side {
    display: grid;
    gap: 12px;
}


.value-card {
    display: grid;

    grid-template-columns: 52px 1fr;

    gap: 16px;

    padding: 20px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: var(--bg);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.value-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow-sm);
}


.value-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    border-radius: 15px;

    background: var(--accent-soft);

    color: var(--primary);

    font-size: 0.85rem;
    font-weight: 800;
}


.value-card h3 {
    font-size: 0.95rem;
}


.value-card p {
    margin-top: 3px;

    color: var(--muted);

    font-size: 0.78rem;
}


/* =========================================================
   8. PROGRAMMES
========================================================= */

.programme-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;
}


.programme-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 480px;

    padding: 28px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: var(--surface);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.programme-card:hover {
    transform: translateY(-7px);

    border-color: rgba(13, 106, 79, 0.25);

    box-shadow: var(--shadow);
}


.programme-card.featured {
    background:
        linear-gradient(
            160deg,
            var(--primary),
            var(--primary-dark)
        );

    color: #fff;

    border-color: transparent;
}


.programme-number {
    position: absolute;

    top: 25px;
    right: 25px;

    color: var(--muted);

    font-size: 0.7rem;
    font-weight: 800;
}


.featured .programme-number {
    color: rgba(255,255,255,0.5);
}


.programme-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin-top: 22px;

    border-radius: 17px;

    background: var(--surface-soft);

    color: var(--primary);

    font-size: 1.25rem;
    font-weight: 800;
}


.featured .programme-icon {
    background: rgba(255,255,255,0.10);

    color: var(--accent);
}


.programme-card h3 {
    margin-top: 28px;

    font-size: 1.25rem;

    letter-spacing: -0.03em;
}


.programme-card > p {
    margin-top: 12px;

    color: var(--muted);

    font-size: 0.82rem;
}


.featured > p {
    color: #c4d9d1;
}


.programme-card ul {
    display: grid;
    gap: 9px;

    margin-top: 22px;
}


.programme-card li {
    position: relative;

    padding-left: 18px;

    color: var(--text);

    font-size: 0.76rem;
}


.programme-card li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0.65em;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--accent);
}


.featured li {
    color: #d6e6e0;
}


.text-link {
    display: inline-flex;
    align-items: center;

    margin-top: auto;
    padding-top: 25px;

    color: var(--primary);

    font-size: 0.76rem;
    font-weight: 800;
}


.featured .text-link {
    color: var(--accent);
}


/* =========================================================
   9. IMPACT
========================================================= */

.section-dark {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            var(--primary-deep),
            var(--primary-dark)
        );

    color: #fff;
}


.section-dark::before {
    content: "";

    position: absolute;

    width: 550px;
    height: 550px;

    right: -250px;
    top: -250px;

    border: 1px solid rgba(255,255,255,0.06);

    border-radius: 50%;
}


.impact-heading {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        1.2fr
        0.8fr;

    gap: 80px;

    align-items: end;

    margin-bottom: 60px;
}


.impact-heading p {
    color: var(--muted-light);
}


.impact-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;
}


.impact-stat {
    padding: 30px 24px;

    border: 1px solid var(--border-dark);

    border-radius: var(--radius);

    background: rgba(255,255,255,0.045);
}


.impact-stat strong {
    display: block;

    color: var(--accent);

    font-size: 2.8rem;

    line-height: 1;

    letter-spacing: -0.05em;
}


.impact-stat span {
    display: block;

    margin-top: 15px;

    color: #e1eee9;

    font-size: 0.82rem;
    font-weight: 700;
}


.impact-stat small {
    display: block;

    margin-top: 7px;

    color: rgba(255,255,255,0.42);

    font-size: 0.62rem;
}


.impact-note {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: 0.3fr 0.7fr;

    gap: 30px;

    margin-top: 30px;

    padding: 25px;

    border: 1px solid var(--border-dark);

    border-radius: var(--radius);

    background: rgba(255,255,255,0.04);
}


.impact-note strong {
    color: var(--accent);
}


.impact-note p {
    color: var(--muted-light);

    font-size: 0.82rem;
}


/* =========================================================
   10. TEAM
========================================================= */

.team-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;
}


.team-card {
    display: grid;

    grid-template-columns: 65px 1fr;

    gap: 18px;

    padding: 24px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: var(--surface);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.team-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-sm);
}


.team-avatar {
    width: 65px;
    height: 65px;

    display: grid;
    place-items: center;

    border-radius: 19px;

    background:
        linear-gradient(
            145deg,
            var(--primary),
            var(--primary-dark)
        );

    color: #fff;

    font-size: 0.85rem;
    font-weight: 800;
}


.team-role {
    display: block;

    color: var(--primary);

    font-size: 0.64rem;
    font-weight: 800;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.team-card h3 {
    margin-top: 5px;

    font-size: 0.96rem;

    line-height: 1.3;
}


.team-card p {
    margin-top: 8px;

    color: var(--muted);

    font-size: 0.72rem;
}


/* =========================================================
   11. GET INVOLVED
========================================================= */

.involvement-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;
}


.involvement-card {
    padding: 30px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: var(--surface);
}


.involvement-icon {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background: var(--accent-soft);

    color: var(--primary);

    font-size: 0.72rem;
    font-weight: 800;
}


.involvement-card h3 {
    margin-top: 23px;

    font-size: 1.05rem;
}


.involvement-card p {
    margin-top: 10px;

    color: var(--muted);

    font-size: 0.77rem;
}


/* =========================================================
   12. CTA
========================================================= */

.cta-section {
    padding: 30px 0 0;
}


.cta-box {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 50px;

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-dark)
        );

    color: #fff;

    box-shadow: var(--shadow-lg);
}


.cta-box h2 {
    max-width: 700px;

    margin-top: 12px;

    font-size: clamp(
        1.9rem,
        4vw,
        3rem
    );

    line-height: 1.08;

    letter-spacing: -0.045em;
}


.cta-box p {
    max-width: 650px;

    margin-top: 15px;

    color: #c6dcd4;

    font-size: 0.9rem;
}


/* =========================================================
   13. CONTACT
========================================================= */

.contact-grid {
    display: grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    gap: 90px;

    align-items: start;
}


.contact-content h2 {
    margin-top: 15px;

    font-size: clamp(
        2rem,
        4vw,
        3.4rem
    );

    line-height: 1.05;

    letter-spacing: -0.05em;
}


.contact-content > p {
    max-width: 600px;

    margin-top: 20px;

    color: var(--muted);
}


.contact-list {
    display: grid;
    gap: 18px;

    margin-top: 35px;
}


.contact-item {
    display: flex;

    align-items: center;

    gap: 15px;
}


.contact-icon {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 13px;

    background: var(--accent-soft);

    color: var(--primary);

    font-size: 0.75rem;
    font-weight: 800;
}


.contact-item div {
    display: flex;
    flex-direction: column;
}


.contact-item span {
    color: var(--muted);

    font-size: 0.65rem;
    font-weight: 600;
}


.contact-item strong {
    margin-top: 2px;

    font-size: 0.82rem;

    word-break: break-word;
}


.registration-box {
    margin-top: 35px;

    padding: 20px;

    border-left: 3px solid var(--accent);

    border-radius: 0 13px 13px 0;

    background: var(--surface-soft);
}


.registration-box strong {
    font-size: 0.8rem;
}


.registration-box p {
    margin-top: 8px;

    color: var(--muted);

    font-size: 0.7rem;
}


.registration-box span {
    color: var(--text);
    font-weight: 700;
}


/* =========================================================
   14. CONTACT FORM
========================================================= */

.contact-card {
    padding: 35px;

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    background: var(--surface);

    box-shadow: var(--shadow);
}


.form-badge {
    display: inline-block;

    padding: 6px 10px;

    border-radius: 999px;

    background: var(--accent-soft);

    color: var(--primary);

    font-size: 0.63rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}


.form-header h3 {
    margin-top: 15px;

    font-size: 1.6rem;

    letter-spacing: -0.035em;
}


.form-header p {
    margin-top: 6px;

    color: var(--muted);

    font-size: 0.76rem;
}


form {
    margin-top: 28px;
}


.form-group {
    display: grid;
    gap: 7px;

    margin-bottom: 18px;
}


.form-group label {
    font-size: 0.72rem;
    font-weight: 700;
}


.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid var(--border);

    border-radius: 11px;

    background: var(--bg);

    color: var(--text);

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.form-group textarea {
    resize: vertical;

    min-height: 130px;
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 4px rgba(13, 106, 79, 0.08);
}


.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9aa59f;
}


.form-status {
    min-height: 20px;

    margin-top: 12px;

    font-size: 0.72rem;

    color: var(--success);
}


/* =========================================================
   15. FOOTER
========================================================= */

.site-footer {
    margin-top: 110px;

    padding: 65px 0 25px;

    background: #0a1d17;

    color: #fff;
}


.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr
        0.7fr
        0.7fr
        0.7fr;

    gap: 50px;
}


.brand-footer .brand-text small {
    color: #9eb3aa;
}


.footer-brand p {
    max-width: 370px;

    margin-top: 20px;

    color: #93a8a0;

    font-size: 0.75rem;
}


.footer-column {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 9px;
}


.footer-column h3 {
    margin-bottom: 9px;

    color: #fff;

    font-size: 0.76rem;
}


.footer-column a {
    color: #93a8a0;

    font-size: 0.72rem;

    transition: color 0.2s ease;
}


.footer-column a:hover {
    color: var(--accent);
}


.footer-bottom {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-top: 60px;
    padding-top: 22px;

    border-top: 1px solid rgba(255,255,255,0.08);
}


.footer-bottom p {
    color: #72877f;

    font-size: 0.64rem;
}


/* =========================================================
   16. BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 900;

    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background: var(--primary);

    color: #fff;

    box-shadow: var(--shadow);

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}


.back-to-top.visible {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* =========================================================
   17. SCROLL REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(24px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}


.reveal.revealed {
    opacity: 1;

    transform: translateY(0);
}


.reveal-delay {
    transition-delay: 0.15s;
}


/* =========================================================
   18. RESPONSIVE — 1050px
========================================================= */

@media (max-width: 1050px) {

    .desktop-nav {
        gap: 20px;
    }


    .hero-grid {
        gap: 55px;
    }


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


    .programme-card {
        min-height: 430px;
    }


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

}


/* =========================================================
   19. RESPONSIVE — 900px
========================================================= */

@media (max-width: 900px) {

    :root {
        --header-height: 70px;
    }


    .section {
        padding: 85px 0;
    }


    .desktop-nav,
    .header-cta {
        display: none;
    }


    .menu-toggle {
        display: grid;
    }


    .mobile-nav {
        position: absolute;

        left: 20px;
        right: 20px;
        top: calc(100% + 8px);

        display: flex;
        flex-direction: column;

        padding: 10px;

        border: 1px solid var(--border);

        border-radius: 17px;

        background: rgba(255,255,255,0.98);

        box-shadow: var(--shadow);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-8px);

        transition:
            opacity 0.2s ease,
            visibility 0.2s ease,
            transform 0.2s ease;
    }


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

        transform: translateY(0);
    }


    .mobile-nav a {
        padding: 12px 14px;

        border-radius: 10px;

        color: var(--muted);

        font-size: 0.85rem;
        font-weight: 700;
    }


    .mobile-nav a:hover {
        background: var(--surface-soft);

        color: var(--primary);
    }


    .hero {
        min-height: auto;

        padding-top: 70px;
    }


    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }


    .hero-grid {
        gap: 55px;
    }


    .about-main {
        padding-right: 0;
    }


    .impact-heading {
        grid-template-columns: 1fr;

        gap: 15px;
    }


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


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

}


/* =========================================================
   20. RESPONSIVE — 640px
========================================================= */

@media (max-width: 640px) {

    .container {
        width: min(
            calc(100% - 28px),
            var(--container)
        );
    }


    .section {
        padding: 70px 0;
    }


    .hero {
        padding-top: 55px;
        padding-bottom: 70px;
    }


    .hero h1 {
        font-size: clamp(
            2.55rem,
            13vw,
            4rem
        );
    }


    .hero-lead {
        font-size: 0.92rem;
    }


    .hero-actions {
        flex-direction: column;
    }


    .hero-actions .button,
    .cta-box .button {
        width: 100%;
    }


    .hero-trust {
        display: grid;

        grid-template-columns:
            repeat(2, 1fr);

        gap: 18px;
    }


    .hero-card {
        padding: 27px;
    }


    .hero-card-icon {
        margin-top: 50px;
    }


    .hero-card h2 {
        font-size: 1.7rem;
    }


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


    .section-heading-row {
        grid-template-columns: 1fr;

        gap: 5px;
    }


    .section-heading h2,
    .impact-heading h2,
    .contact-content h2 {
        font-size: 2.25rem;
    }


    .programme-grid,
    .involvement-grid,
    .impact-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }


    .programme-card {
        min-height: auto;
    }


    .programme-card ul {
        margin-bottom: 10px;
    }


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


    .team-avatar {
        width: 55px;
        height: 55px;
    }


    .impact-note {
        grid-template-columns: 1fr;

        gap: 8px;
    }


    .cta-section {
        padding-top: 15px;
    }


    .cta-box {
        flex-direction: column;

        align-items: stretch;

        padding: 30px;
    }


    .contact-grid {
        gap: 50px;
    }


    .contact-card {
        padding: 25px;
    }


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

        gap: 35px 25px;
    }


    .footer-brand {
        grid-column: 1 / -1;
    }


    .footer-bottom {
        flex-direction: column;

        gap: 8px;

        margin-top: 40px;
    }


    .back-to-top {
        right: 15px;
        bottom: 15px;
    }

}


/* =========================================================
   21. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }


    .reveal {
        opacity: 1;
        transform: none;
    }

}