/* =========================================================
   APEH — Professional NGO Website
   ========================================================= */

:root {
    --navy: #092f42;
    --blue: #0b4f6c;
    --blue-2: #176b88;
    --teal: #159a9c;
    --mint: #e8f5f3;
    --gold: #f1b85b;
    --cream: #fbfaf7;
    --white: #ffffff;
    --ink: #15242b;
    --muted: #617078;
    --line: #dce6e8;
    --shadow: 0 20px 60px rgba(9, 47, 66, .10);
    --radius: 24px;
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

button {
    font: inherit;
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

.section-pad {
    padding: 110px 0;
}

/* Loader */
.site-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: var(--navy);
    transition: opacity .5s ease, visibility .5s ease;
}

.site-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-mark {
    color: var(--white);
    font-family: "Manrope", sans-serif;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: .12em;
}

/* Topbar */
.topbar {
    background: var(--navy);
    color: rgba(255,255,255,.82);
    font-size: 12px;
}

.topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar-message,
.topbar-contact,
.topbar-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-message i {
    color: var(--gold);
}

.topbar-contact {
    gap: 20px;
}

/* Header */
.site-header {
    position: absolute;
    top: 38px;
    left: 0;
    right: 0;
    z-index: 1000;
    color: var(--white);
    transition: .35s ease;
}

.site-header.scrolled {
    position: fixed;
    top: 0;
    background: rgba(9, 47, 66, .94);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
}

.nav-wrap {
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 34px;
}

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

.brand-symbol {
    position: relative;
    width: 38px;
    height: 38px;
    display: inline-block;
}

.brand-person {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gold);
    top: 2px;
}

.brand-person::after {
    content: "";
    position: absolute;
    width: 25px;
    height: 18px;
    border-radius: 50% 50% 10px 10px;
    background: var(--gold);
    left: -4px;
    top: 15px;
}

.brand-person-a {
    left: 2px;
}

.brand-person-b {
    right: 1px;
    background: var(--teal);
}

.brand-person-b::after {
    background: var(--teal);
}

.brand-heart {
    position: absolute;
    left: 10px;
    top: 15px;
    color: var(--white);
    font-size: 11px;
    z-index: 2;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-copy strong {
    font-family: "Manrope", sans-serif;
    font-size: 21px;
    letter-spacing: .05em;
}

.brand-copy small {
    margin-top: 5px;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .12em;
    opacity: .78;
}

.main-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.main-nav a {
    position: relative;
    font-size: 13px;
    font-weight: 600;
    opacity: .84;
    transition: .25s ease;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    opacity: 1;
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 2px;
    border-radius: 10px;
    background: var(--gold);
}

.btn {
    min-height: 48px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    transition: .3s ease;
    cursor: pointer;
}

.btn i {
    transition: transform .3s ease;
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(241,184,91,.25);
}

.btn-light {
    background: var(--white);
    color: var(--navy);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,.16);
}

.btn-dark {
    background: var(--navy);
    color: var(--white);
}

.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(9,47,66,.2);
}

.btn-ghost-light {
    border-color: rgba(255,255,255,.42);
    color: var(--white);
}

.btn-ghost-light:hover {
    background: rgba(255,255,255,.1);
}

.mobile-menu-btn {
    display: none;
    border: 0;
    background: transparent;
    color: white;
    width: 44px;
    height: 44px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 23px;
    height: 2px;
    background: white;
    margin: 5px auto;
    transition: .25s ease;
}

/* Typography */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .16em;
}

.eyebrow span {
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.eyebrow.light {
    color: rgba(255,255,255,.75);
}

h1, h2, h3, h4 {
    font-family: "Manrope", sans-serif;
    line-height: 1.08;
}

h2 {
    font-size: clamp(38px, 5vw, 64px);
    letter-spacing: -.045em;
}

h2 span {
    color: var(--teal);
}

p {
    color: var(--muted);
}

/* Hero */
.hero {
    position: relative;
    min-height: min(820px, 100vh);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
}

.hero-bg,
.hero-image,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-image {
    background-image:
        linear-gradient(90deg, rgba(9,47,66,.95) 0%, rgba(9,47,66,.75) 45%, rgba(9,47,66,.25) 100%),
        url("https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?auto=format&fit=crop&w=2200&q=85");
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.hero-overlay {
    background:
        radial-gradient(circle at 78% 48%, rgba(21,154,156,.22), transparent 28%),
        linear-gradient(180deg, rgba(9,47,66,.15), rgba(9,47,66,.30));
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    padding-top: 70px;
}

.hero-copy {
    width: min(680px, 100%);
}

.hero h1 {
    color: white;
    font-size: clamp(60px, 8vw, 108px);
    letter-spacing: -.07em;
    margin-bottom: 24px;
}

.hero h1 em {
    color: var(--gold);
    font-style: normal;
}

.hero-lead {
    max-width: 570px;
    color: rgba(255,255,255,.82);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.6;
}

.hero-lead strong {
    color: white;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.hero-side-card {
    width: 240px;
    padding: 25px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 24px;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(14px);
    color: white;
}

.hero-side-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--gold);
    color: var(--navy);
    margin-bottom: 28px;
}

.hero-side-card span {
    display: block;
    color: rgba(255,255,255,.58);
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: 10px;
    font-weight: 800;
    margin-bottom: 8px;
}

.hero-side-card strong {
    font-family: "Manrope", sans-serif;
    font-size: 17px;
    line-height: 1.35;
}

.hero-scroll {
    position: absolute;
    z-index: 3;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.62);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.hero-scroll i {
    color: var(--gold);
}

/* Intro */
.intro {
    background: var(--cream);
}

.intro-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 90px;
    align-items: center;
}

.intro-visual {
    position: relative;
}

.photo-frame {
    padding: 14px;
    background: white;
    border-radius: 30px;
    box-shadow: var(--shadow);
    transform: rotate(-2deg);
}

.photo-placeholder {
    height: 520px;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background:
        linear-gradient(145deg, rgba(21,154,156,.18), rgba(9,47,66,.55)),
        url("https://images.unsplash.com/photo-1504159506876-f8338247a14a?auto=format&fit=crop&w=1200&q=80")
        center/cover;
    color: white;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-weight: 800;
}

.photo-placeholder i {
    font-size: 44px;
}

.experience-badge {
    position: absolute;
    right: -28px;
    bottom: 38px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 18px 45px rgba(9,47,66,.18);
}

.experience-badge strong {
    font-family: "Manrope", sans-serif;
    font-size: 40px;
    line-height: 1;
}

.experience-badge span {
    text-align: center;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.intro-copy h2 {
    max-width: 650px;
    margin-bottom: 25px;
}

.intro-copy p {
    max-width: 610px;
    margin-bottom: 16px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.text-link i {
    color: var(--gold);
    transition: .25s ease;
}

.text-link:hover i {
    transform: translateX(5px);
}

/* Services */
.services-section {
    background: white;
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 60px;
    align-items: end;
    margin-bottom: 55px;
}

.section-heading h2 {
    margin-top: 5px;
}

.section-heading > p {
    max-width: 360px;
}

.section-heading.centered {
    display: block;
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
}

.section-heading.centered .eyebrow {
    justify-content: center;
}

.section-heading.centered p {
    max-width: 600px;
    margin: 18px auto 0;
}

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

.service-card {
    position: relative;
    min-height: 300px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: .35s ease;
    background: var(--cream);
}

.service-card::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: var(--mint);
    right: -70px;
    bottom: -70px;
    transition: .4s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: rgba(21,154,156,.35);
    box-shadow: var(--shadow);
}

.service-card:hover::before {
    transform: scale(1.45);
    background: var(--teal);
}

.service-number {
    color: #9aa9ae;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
}

.service-icon {
    width: 54px;
    height: 54px;
    margin: 35px 0 25px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--white);
    color: var(--teal);
    font-size: 20px;
    box-shadow: 0 8px 25px rgba(9,47,66,.06);
    position: relative;
    z-index: 2;
}

.service-card h3 {
    max-width: 240px;
    font-size: 20px;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.service-card p {
    max-width: 280px;
    font-size: 13px;
    position: relative;
    z-index: 2;
}

.service-card > a {
    position: absolute;
    right: 24px;
    bottom: 23px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--navy);
    z-index: 2;
    transition: .3s ease;
}

.service-card:hover > a {
    background: var(--navy);
    color: white;
    transform: rotate(8deg);
}

/* Heroes */
.heroes-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 690px;
    background: var(--navy);
    color: white;
}

.heroes-image {
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.heroes-image-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 80px;
    color: rgba(255,255,255,.65);
    background:
        linear-gradient(145deg, rgba(9,47,66,.15), rgba(9,47,66,.68)),
        url("https://images.unsplash.com/photo-1532629345422-7515f3d16bb6?auto=format&fit=crop&w=1500&q=85")
        center/cover;
}

.heroes-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 90px max(48px, 7vw);
}

.programme-year {
    margin-top: 20px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .17em;
}

.heroes-content h2 {
    margin: 15px 0 22px;
    color: white;
    font-size: clamp(50px, 6vw, 76px);
}

.heroes-content h2 small {
    display: block;
    max-width: 430px;
    margin-top: 12px;
    color: rgba(255,255,255,.78);
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
}

.heroes-content > p {
    max-width: 550px;
    color: rgba(255,255,255,.66);
}

.heroes-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    margin: 28px 0 34px;
}

.heroes-features span {
    font-size: 12px;
    color: rgba(255,255,255,.82);
}

.heroes-features i {
    color: var(--gold);
    margin-right: 7px;
}

/* Approach */
.approach {
    background: var(--cream);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    margin-top: 65px;
    background: var(--line);
    border: 1px solid var(--line);
}

.approach-item {
    min-height: 290px;
    padding: 28px;
    background: var(--cream);
    transition: .3s ease;
}

.approach-item:hover {
    background: white;
}

.approach-item > span {
    color: #9ba8ad;
    font-size: 11px;
    font-weight: 800;
}

.approach-item i {
    display: block;
    margin: 45px 0 20px;
    color: var(--teal);
    font-size: 25px;
}

.approach-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.approach-item p {
    font-size: 12px;
}

/* Impact */
.impact-section {
    background:
        radial-gradient(circle at 90% 20%, rgba(21,154,156,.18), transparent 26%),
        var(--navy);
    color: white;
}

.impact-top {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 70px;
    align-items: end;
    margin-bottom: 70px;
}

.impact-top h2 {
    color: white;
    margin-top: 5px;
}

.impact-top h2 em {
    color: var(--gold);
    font-style: normal;
}

.impact-top > p {
    color: rgba(255,255,255,.62);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255,255,255,.15);
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.stat-item {
    padding: 38px 20px;
    border-right: 1px solid rgba(255,255,255,.15);
}

.stat-item:last-child {
    border-right: 0;
}

.stat-item strong {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: clamp(50px, 7vw, 86px);
    line-height: .95;
    color: white;
    letter-spacing: -.06em;
}

.stat-item span {
    display: block;
    margin-top: 13px;
    color: rgba(255,255,255,.58);
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: .12em;
}

.impact-outcomes {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    margin-top: 45px;
}

.outcome-title {
    color: rgba(255,255,255,.45);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-weight: 800;
}

.outcomes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.outcomes-list span {
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    color: rgba(255,255,255,.78);
    font-size: 12px;
}

/* Partnership */
.partner-section {
    background: white;
}

.partner-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
    gap: 90px;
}

.partner-copy h2 {
    margin-bottom: 25px;
}

.partner-copy p {
    max-width: 540px;
    margin-bottom: 30px;
}

.partner-orbit {
    min-height: 500px;
    position: relative;
    display: grid;
    place-items: center;
}

.partner-orbit::before,
.partner-orbit::after {
    content: "";
    position: absolute;
    border: 1px dashed #c7d9dc;
    border-radius: 50%;
}

.partner-orbit::before {
    width: 330px;
    height: 330px;
}

.partner-orbit::after {
    width: 490px;
    height: 490px;
}

.orbit-center {
    position: relative;
    z-index: 3;
    width: 125px;
    height: 125px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    box-shadow: 0 20px 50px rgba(9,47,66,.2);
}

.orbit-center i {
    color: var(--gold);
    font-size: 26px;
    margin-bottom: 4px;
}

.orbit-center strong {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
}

.orbit-pill {
    position: absolute;
    z-index: 4;
    padding: 11px 16px;
    border-radius: 999px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: 0 10px 25px rgba(9,47,66,.08);
    font-size: 11px;
    font-weight: 800;
}

.pill-1 { top: 45px; left: 50%; transform: translateX(-50%); }
.pill-2 { top: 145px; right: 0; }
.pill-3 { bottom: 85px; right: 35px; }
.pill-4 { bottom: 25px; left: 50%; transform: translateX(-50%); }
.pill-5 { bottom: 85px; left: 35px; }
.pill-6 { top: 145px; left: 0; }

/* Final CTA */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--teal), var(--blue));
    color: white;
}

.final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.final-cta h2 {
    color: white;
    font-size: clamp(42px, 5vw, 65px);
    margin-bottom: 10px;
}

.final-cta p {
    color: rgba(255,255,255,.72);
}

.final-cta-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* Footer */
.site-footer {
    background: #061f2c;
    color: white;
}

.footer-main {
    padding: 75px 0 60px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 50px;
}

.brand-footer {
    color: white;
}

.footer-brand > p {
    max-width: 350px;
    margin: 24px 0;
    color: rgba(255,255,255,.55);
    font-size: 13px;
}

.footer-socials {
    display: flex;
    gap: 8px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    color: rgba(255,255,255,.72);
    transition: .25s ease;
}

.footer-socials a:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column h4 {
    margin-bottom: 12px;
    color: white;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.footer-column a,
.footer-column p {
    color: rgba(255,255,255,.54);
    font-size: 12px;
}

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

.footer-contact p,
.footer-contact a {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer-contact i {
    width: 16px;
    color: var(--gold);
    margin-top: 4px;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255,255,255,.36);
    font-size: 10px;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }

/* Accessibility */
:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}
