/* =========================================================
   A.NGA FONDATION
   STYLE PRINCIPAL
========================================================= */

:root {

    --dark: #101713;
    --dark-2: #18221c;

    --green: #176b45;
    --green-light: #25885a;

    --gold: #c9a24d;
    --gold-light: #e1c26c;

    --white: #ffffff;
    --cream: #f7f6f1;
    --grey: #6d746f;
    --border: #e4e7e2;

    --container: 1180px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: "DM Sans", sans-serif;

    color: var(--dark);

    background: var(--white);

    line-height: 1.7;

    overflow-x: hidden;
}

img {

    width: 100%;

    display: block;

    object-fit: cover;
}

a {

    color: inherit;

    text-decoration: none;
}

button {

    font-family: inherit;
}


/* =========================================================
   GLOBAL
========================================================= */

.container {

    width: min(1180px, 90%);

    margin: auto;
}

.section {

    padding: 110px 0;
}

.section-light {

    background: var(--cream);
}

.section-label {

    display: inline-block;

    color: var(--green);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2.5px;

    margin-bottom: 18px;
}

.section-label.light {

    color: var(--gold-light);
}

h1,
h2 {

    font-family: "Playfair Display", serif;

    line-height: 1.15;
}

h2 {

    font-size: clamp(36px, 5vw, 58px);
}

p {

    color: var(--grey);
}


/* =========================================================
   HEADER
========================================================= */

.header {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 100;

    color: white;

    border-bottom: 1px solid rgba(255,255,255,.15);
}

.nav-container {

    min-height: 90px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.logo {

    display: flex;

    flex-direction: column;

    line-height: 1;
}

.logo-main {

    font-family: "Playfair Display", serif;

    font-size: 29px;

    font-weight: 700;

    letter-spacing: 2px;
}

.logo-sub {

    font-size: 9px;

    letter-spacing: 4px;

    color: var(--gold-light);

    margin-top: 5px;
}

nav {

    display: flex;

    align-items: center;

    gap: 34px;
}

nav a {

    font-size: 14px;

    font-weight: 600;

    transition: .3s;
}

nav a:hover,
nav a.active {

    color: var(--gold-light);
}

.nav-donation {

    border: 1px solid rgba(255,255,255,.5);

    padding: 11px 19px;

    border-radius: 30px;
}

.nav-donation:hover {

    background: white;

    color: var(--dark) !important;
}

.menu-toggle {

    display: none;

    border: 0;

    background: transparent;

    color: white;

    font-size: 28px;

    cursor: pointer;
}


/* =========================================================
   HERO
========================================================= */

.hero {

    min-height: 760px;

    position: relative;

    display: flex;

    align-items: center;

    background:

        linear-gradient(
            90deg,
            rgba(10,20,14,.9),
            rgba(10,20,14,.55),
            rgba(10,20,14,.25)
        ),

        url("images/hero.jpg") center/cover no-repeat;
}

.hero-content {

    position: relative;

    z-index: 2;

    max-width: 820px;

    color: white;

    padding-top: 70px;
}

.hero-badge {

    display: inline-block;

    padding: 9px 16px;

    border: 1px solid rgba(255,255,255,.35);

    border-radius: 30px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 25px;

    color: var(--gold-light);
}

.hero h1 {

    font-size: clamp(50px, 7vw, 88px);

    margin-bottom: 28px;
}

.hero h1 span {

    color: var(--gold-light);
}

.hero p {

    max-width: 680px;

    color: rgba(255,255,255,.8);

    font-size: 19px;

    margin-bottom: 38px;
}

.hero-buttons {

    display: flex;

    gap: 14px;

    flex-wrap: wrap;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 14px 25px;

    border-radius: 4px;

    font-weight: 700;

    font-size: 14px;

    transition: .3s;
}

.btn-primary {

    background: var(--gold);

    color: var(--dark);
}

.btn-primary:hover {

    background: var(--gold-light);

    transform: translateY(-2px);
}

.btn-outline {

    border: 1px solid rgba(255,255,255,.6);

    color: white;
}

.btn-outline:hover {

    background: white;

    color: var(--dark);
}


/* =========================================================
   INTRO
========================================================= */

.intro-grid {

    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 100px;

    align-items: start;
}

.intro-text {

    max-width: 650px;

    font-size: 17px;
}

.intro-text p {

    margin-bottom: 20px;
}

.text-link {

    display: inline-block;

    margin-top: 10px;

    color: var(--green);

    font-weight: 700;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {

    max-width: 750px;

    margin-bottom: 55px;
}

.section-heading h2 {

    margin-bottom: 18px;
}

.section-heading p {

    font-size: 17px;
}


/* =========================================================
   CARDS
========================================================= */

.cards-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 28px;
}

.action-card {

    background: white;

    border: 1px solid var(--border);

    transition: .35s;
}

.action-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 20px 50px rgba(0,0,0,.08);
}

.card-image {

    height: 280px;

    overflow: hidden;
}

.card-image img {

    height: 100%;

    transition: .5s;
}

.action-card:hover .card-image img {

    transform: scale(1.05);
}

.card-content {

    padding: 32px;
}

.card-number {

    color: var(--gold);

    font-weight: 700;

    font-size: 13px;

    margin-bottom: 8px;
}

.card-content h3 {

    font-family: "Playfair Display", serif;

    font-size: 28px;

    margin-bottom: 12px;
}

.card-content p {

    margin-bottom: 18px;
}

.card-content a {

    color: var(--green);

    font-weight: 700;

    font-size: 14px;
}


/* =========================================================
   VISION
========================================================= */

.vision {

    background:

        linear-gradient(
            rgba(16,23,19,.92),
            rgba(16,23,19,.92)
        ),

        url("images/hero.jpg") center/cover fixed;

    padding: 130px 0;

    color: white;
}

.vision-content {

    max-width: 900px;
}

.vision h2 {

    margin-bottom: 25px;

    color: white;
}

.vision p {

    color: rgba(255,255,255,.7);

    font-size: 18px;

    max-width: 700px;
}


/* =========================================================
   DONATION
========================================================= */

.donation-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.donation-grid h2 {

    margin-bottom: 20px;
}

.donation-box {

    background: var(--dark);

    color: white;

    padding: 40px;

    border-top: 4px solid var(--gold);
}

.donation-box h3 {

    font-family: "Playfair Display", serif;

    font-size: 32px;

    margin-bottom: 25px;
}

.don-method {

    padding: 20px 0;

    border-bottom: 1px solid rgba(255,255,255,.15);

    display: flex;

    flex-direction: column;

    gap: 5px;
}

.don-method strong {

    color: var(--gold-light);
}

.don-method span {

    font-size: 17px;
}

.don-note {

    margin-top: 25px;

    color: rgba(255,255,255,.6);

    font-size: 14px;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.page-header {

    background: var(--dark);

    color: white;

    padding: 190px 0 100px;
}

.page-header h1 {

    font-size: clamp(48px, 7vw, 78px);

    max-width: 900px;

    margin-bottom: 25px;
}

.page-header p {

    max-width: 700px;

    color: rgba(255,255,255,.7);

    font-size: 18px;
}


/* =========================================================
   LARGE ACTIONS
========================================================= */

.large-action {

    display: grid;

    grid-template-columns: 1fr 1fr;

    margin-bottom: 100px;

    background: var(--cream);
}

.large-action.reverse {

    direction: rtl;
}

.large-action.reverse .large-action-content {

    direction: ltr;
}

.large-action-image {

    min-height: 500px;
}

.large-action-image img {

    height: 100%;
}

.large-action-content {

    padding: 60px;
}

.action-tag {

    color: var(--green);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;
}

.large-action-content h2 {

    font-size: clamp(34px, 4vw, 48px);

    margin: 15px 0 22px;
}

.large-action-content p {

    margin-bottom: 25px;
}

.large-action-content ul {

    list-style: none;
}

.large-action-content li {

    padding: 9px 0;

    border-bottom: 1px solid var(--border);

    font-weight: 600;
}

.large-action-content li::before {

    content: "✓";

    color: var(--gold);

    font-weight: 700;

    margin-right: 10px;
}


/* =========================================================
   CTA
========================================================= */

.cta {

    background: var(--green);

    color: white;

    padding: 110px 0;

    text-align: center;
}

.cta h2 {

    margin-bottom: 20px;
}

.cta p {

    color: rgba(255,255,255,.75);

    max-width: 650px;

    margin: 0 auto 30px;
}


/* =========================================================
   GALLERY
========================================================= */

.gallery {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.gallery-item {

    height: 400px;

    position: relative;

    overflow: hidden;

    background: var(--dark);
}

.gallery-item img {

    height: 100%;

    transition: .5s;
}

.gallery-item:hover img {

    transform: scale(1.06);

    opacity: .8;
}

.gallery-caption {

    position: absolute;

    left: 25px;

    right: 25px;

    bottom: 25px;

    color: white;

    z-index: 2;
}

.gallery-caption span {

    display: block;

    color: var(--gold-light);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 5px;
}

.gallery-caption strong {

    font-family: "Playfair Display", serif;

    font-size: 25px;
}


/* =========================================================
   VIDEO
========================================================= */

.video-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px;
}

.video-card {

    background: white;

    border: 1px solid var(--border);
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.video-container iframe {

    position: absolute;

    width: 100%;

    height: 100%;

    left: 0;

    top: 0;
}

.video-info {

    padding: 25px;
}

.video-info span {

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    color: var(--green);
}

.video-info h3 {

    font-family: "Playfair Display", serif;

    font-size: 25px;

    margin: 7px 0;
}


/* =========================================================
   FOOTER
========================================================= */

footer {

    background: #0b100d;

    color: white;

    padding-top: 70px;
}

.footer-grid {

    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 60px;
}

.footer-logo {

    font-family: "Playfair Display", serif;

    font-size: 38px;

    font-weight: 700;

    letter-spacing: 2px;

    color: white;
}

.footer-grid p {

    color: rgba(255,255,255,.55);

    margin-top: 5px;
}

.footer-motto {

    color: var(--gold-light) !important;

    margin-top: 15px !important;
}

.footer-grid h4 {

    margin-bottom: 15px;

    color: var(--gold-light);
}

.footer-grid a {

    display: block;

    color: rgba(255,255,255,.65);

    margin-bottom: 8px;

    font-size: 14px;
}

.footer-grid a:hover {

    color: white;
}

.footer-bottom {

    border-top: 1px solid rgba(255,255,255,.1);

    padding: 22px 0;

    color: rgba(255,255,255,.4);

    font-size: 12px;
}


/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media (max-width: 850px) {

    .section {

        padding: 80px 0;
    }

    nav {

        display: none;

        position: absolute;

        top: 90px;

        left: 0;

        width: 100%;

        padding: 25px;

        background: var(--dark);

        flex-direction: column;

        align-items: stretch;

        gap: 0;
    }

    nav.open {

        display: flex;
    }

    nav a {

        padding: 13px 0;

        border-bottom: 1px solid rgba(255,255,255,.1);
    }

    .menu-toggle {

        display: block;
    }

    .intro-grid,
    .donation-grid {

        grid-template-columns: 1fr;

        gap: 40px;
    }

    .cards-grid {

        grid-template-columns: 1fr;
    }

    .large-action,
    .large-action.reverse {

        grid-template-columns: 1fr;

        direction: ltr;
    }

    .large-action-image {

        min-height: 350px;
    }

    .large-action-content {

        padding: 40px;
    }

    .video-grid {

        grid-template-columns: 1fr;
    }

    .footer-grid {

        grid-template-columns: 1fr 1fr;
    }

}


/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 600px) {

    .container {

        width: 88%;
    }

    .hero {

        min-height: 680px;
    }

    .hero h1 {

        font-size: 50px;
    }

    .hero p {

        font-size: 16px;
    }

    .hero-buttons {

        flex-direction: column;

        align-items: stretch;
    }

    .btn {

        text-align: center;

        width: 100%;
    }

    h2 {

        font-size: 38px;
    }

    .page-header {

        padding: 160px 0 80px;
    }

    .page-header h1 {

        font-size: 48px;
    }

    .large-action-content {

        padding: 30px 25px;
    }

    .large-action-image {

        min-height: 280px;
    }

    .gallery {

        grid-template-columns: 1fr;
    }

    .gallery-item {

        height: 350px;
    }

    .footer-grid {

        grid-template-columns: 1fr;

        gap: 35px;
    }

    .donation-box {

        padding: 30px 25px;
    }

}

/* =========================================================
   PAYMENT PAGE
========================================================= */

.payment-hero {

    background:

        linear-gradient(
            90deg,
            rgba(10,20,14,.95),
            rgba(10,20,14,.75)
        ),

        url("images/hero.jpg") center/cover no-repeat;

    color: white;

    padding: 190px 0 100px;
}

.payment-hero-content {

    max-width: 850px;
}

.payment-hero h1 {

    font-size: clamp(50px, 7vw, 82px);

    margin-bottom: 25px;
}

.payment-hero h1 span {

    color: var(--gold-light);
}

.payment-hero p {

    max-width: 680px;

    color: rgba(255,255,255,.75);

    font-size: 18px;
}


.payment-container {

    max-width: 900px;
}

.payment-intro {

    text-align: center;

    max-width: 700px;

    margin: 0 auto 60px;
}

.payment-intro h2 {

    margin-bottom: 20px;
}

.payment-card {

    background: white;

    border: 1px solid var(--border);

    padding: 40px;

    margin-bottom: 25px;

    transition: .3s;
}

.payment-card:hover {

    box-shadow: 0 20px 50px rgba(0,0,0,.08);

    transform: translateY(-3px);
}

.payment-card-content {

    display: flex;

    align-items: flex-start;

    gap: 20px;
}

.payment-icon {

    width: 55px;

    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--cream);

    border-radius: 50%;

    font-size: 24px;

    flex-shrink: 0;
}

.payment-tag {

    color: var(--green);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;
}

.payment-card h3 {

    font-family: "Playfair Display", serif;

    font-size: 32px;

    margin: 5px 0 10px;
}

.payment-card p {

    max-width: 650px;
}


/* QR */

.qr-area {

    text-align: center;

    margin: 35px 0 20px;
}

.qr-code {

    width: 210px;

    height: 210px;

    margin: auto;

    object-fit: contain;

    padding: 10px;

    border: 1px solid var(--border);

    background: white;
}

.qr-area p {

    margin: 12px auto 0;

    font-size: 13px;

    font-weight: 600;

    color: var(--dark);
}

.payment-actions {

    text-align: center;
}


/* BANK */

.bank-details {

    background: var(--cream);

    margin-top: 30px;

    padding: 10px 25px;
}

.bank-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    padding: 20px 0;

    border-bottom: 1px solid var(--border);
}

.bank-row:last-child {

    border-bottom: none;
}

.bank-row small {

    display: block;

    color: var(--grey);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 4px;
}

.bank-row strong {

    font-size: 16px;

    word-break: break-word;
}

.copy-button {

    background: var(--dark);

    color: white;

    border: none;

    padding: 9px 15px;

    border-radius: 4px;

    cursor: pointer;

    font-weight: 600;
}

.copy-button:hover {

    background: var(--green);
}

.bank-app-button {

    width: 100%;

    margin-top: 25px;

    border: none;

    padding: 17px;

    background: var(--green);

    color: white;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    border-radius: 4px;

    transition: .3s;
}

.bank-app-button:hover {

    background: var(--green-light);

    transform: translateY(-2px);
}

.bank-app-button span {

    margin-right: 8px;
}

.bank-note {

    text-align: center;

    margin-top: 15px;

    font-size: 12px;
}


/* M-PESA */

.mpesa-number {

    background: var(--cream);

    padding: 25px;

    margin: 30px 0;

    text-align: center;
}

.mpesa-number small {

    display: block;

    color: var(--grey);

    text-transform: uppercase;

    letter-spacing: 1px;

    font-size: 11px;
}

.mpesa-number strong {

    display: block;

    color: var(--green);

    font-size: 28px;

    margin-top: 5px;
}

.btn-outline-dark {

    display: inline-flex;

    border: 1px solid var(--dark);

    padding: 13px 20px;

    font-weight: 700;

    transition: .3s;
}

.btn-outline-dark:hover {

    background: var(--dark);

    color: white;
}


/* TRUST */

.payment-trust {

    background: var(--cream);

    padding: 70px 0;

    text-align: center;
}

.trust-content {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 15px;

    color: var(--green);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 3px;
}

.payment-trust p {

    margin-top: 15px;

    font-size: 15px;
}


/* MOBILE */

@media (max-width: 600px) {

    .payment-card {

        padding: 25px 20px;
    }

    .payment-card-content {

        flex-direction: column;
    }

    .payment-card h3 {

        font-size: 28px;
    }

    .bank-row {

        align-items: flex-start;

        flex-direction: column;
    }

    .copy-button {

        width: 100%;
    }

    .mpesa-number strong {

        font-size: 23px;
    }

    .trust-content {

        flex-wrap: wrap;

        gap: 8px;
    }

}