/* =====================================================
   GLOBAL VARIABLES
===================================================== */

:root {

    --green: #075b4b;
    --dark-green: #03483d;
    --deep-green: #003f35;

    --yellow: #f5c928;
    --orange: #ff7043;

    --black: #111111;
    --text: #333333;
    --muted: #707070;

    --cream: #f8f7f2;
    --white: #ffffff;
    --light-green: #edf5f1;

    --border: #e5e5e5;

    --container: 1180px;

    --radius: 18px;

    --heading-font: "Playfair Display", Georgia, serif;
    --body-font: "DM Sans", Arial, sans-serif;
}


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: var(--body-font);

    color: var(--text);

    background: var(--white);

    line-height: 1.7;

    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* =====================================================
   CONTAINER
===================================================== */

.container {

    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}


/* =====================================================
   NAVIGATION
===================================================== */

.site-header {

    position: relative;

    z-index: 100;

    background: var(--white);

    border-bottom: 1px solid #eeeeee;
}

.nav-container {

    height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* LOGO */

.logo {

    display: flex;

    align-items: center;

    gap: 10px;

    font-weight: 700;
}

.logo-icon {

    width: 4rem;

    height: 4rem;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color: var(--white);

    font-size: 16px;
}

.logo-icon img{
    width: 100%;
}

.logo-text {

    font-size: 21px;

    color: var(--green);

    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--black);
}


/* NAVIGATION LINKS */

.main-nav {

    display: flex;

    align-items: center;

    gap: 28px;

    margin-left: auto;
}

.main-nav a {

    font-size: 14px;

    font-weight: 500;

    color: #333;

    transition: .3s ease;
}

.main-nav a:hover {
    color: var(--green);
}


/* NAV ACTIONS */

.nav-actions {

    display: flex;

    align-items: center;

    gap: 15px;
}

.search-btn {

    border: 0;

    background: transparent;

    font-size: 16px;

    cursor: pointer;
}

.donate-btn {

    padding: 11px 20px;

    border-radius: 30px;

    color: white;

    background: var(--orange);

    text-transform: uppercase;

    font-size: 12px;

    font-weight: 700;

    transition: .3s ease;
}

.donate-btn:hover {
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;

    border: 0;

    background: transparent;

    font-size: 22px;
}


/* =====================================================
   HERO
===================================================== */

.hero {

    padding: 80px 0 100px;

    background:

        radial-gradient(
            circle at 90% 20%,
            #fff5c8,
            transparent 28%
        ),

        var(--cream);

    overflow: hidden;
}

.hero > .container {

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 70px;
}


.hero-content {
    max-width: 590px;
}

.small-label {

    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 22px;

    color: var(--green);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;
}

.small-label span {

    width: 30px;

    height: 2px;

    background: var(--yellow);
}


.hero h1 {

    font-family: var(--heading-font);

    font-size: clamp(
        48px,
        6vw,
        75px
    );

    line-height: 1.03;

    letter-spacing: -2px;

    color: var(--black);

    margin-bottom: 28px;
}

.hero h1 span {

    display: block;

    color: var(--green);
}


.hero-content > p {

    max-width: 520px;

    color: #656565;

    font-size: 16px;

    margin-bottom: 32px;
}


.hero-buttons {

    display: flex;

    align-items: center;

    gap: 15px;

    flex-wrap: wrap;
}


/* BUTTONS */

.primary-btn,
.secondary-btn,
.yellow-btn,
.outline-btn,
.white-outline-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 13px 22px;

    border-radius: 30px;

    font-size: 13px;

    font-weight: 700;

    transition: .3s ease;
}

.primary-btn {

    background: var(--green);

    color: white;
}

.primary-btn:hover {
    background: var(--dark-green);

    transform: translateY(-2px);
}

.secondary-btn {

    border: 1px solid #cccccc;

    background: white;

    color: var(--black);
}

.secondary-btn:hover {
    border-color: var(--green);

    color: var(--green);
}


/* =====================================================
   HERO IMAGE
===================================================== */

.hero-image {

    position: relative;

    min-height: 520px;
}

.hero-main-image {

    position: absolute;

    right: 35px;

    top: 30px;

    width: 410px;

    height: 480px;

    border-radius: 35% 35% 15px 35%;

    overflow: hidden;
}

.hero-main-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;
}


.hero-small-image {

    position: absolute;

    width: 170px;

    height: 190px;

    border: 8px solid var(--cream);

    border-radius: 20px;

    overflow: hidden;

    z-index: 2;
}

.hero-small-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;
}

.image-one {

    top: 100px;

    left: 0;
}

.image-two {

    bottom: 30px;

    left: 90px;
}


.yellow-shape {

    position: absolute;

    right: 0;

    bottom: 30px;

    width: 120px;

    height: 120px;

    background: var(--yellow);

    border-radius: 50%;

    opacity: .7;

    z-index: 0;
}


/* =====================================================
   STATISTICS
===================================================== */

.statistics {

    background: var(--white);

    border-bottom: 1px solid var(--border);
}

.stats-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    padding: 40px 0;
}

.stat-item {

    text-align: center;

    border-right: 1px solid var(--border);

    padding: 5px 20px;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item strong {

    display: block;

    font-family: var(--heading-font);

    font-size: 37px;

    color: var(--yellow);

    line-height: 1.2;
}

.stat-item span {

    display: block;

    color: #666;

    font-size: 12px;

    margin-top: 5px;
}


/* =====================================================
   FEATURED SECTION
===================================================== */

.featured-section {

    padding: 100px 0;

    background: var(--white);
}

.featured-card {

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 70px;

    background: #f7f7f5;

    padding: 50px;

    border-radius: 25px;
}


/* FEATURED IMAGES */

.featured-images {

    position: relative;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    max-width: 500px;
}

.featured-image {

    height: 190px;

    overflow: hidden;

    border-radius: 18px;
}

.featured-image.large {

    grid-row: span 2;

    height: 392px;
}

.featured-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;
}


.campaign-badge {

    position: absolute;

    bottom: 15px;

    left: 15px;

    padding: 8px 13px;

    border-radius: 20px;

    background: white;

    font-size: 11px;

    font-weight: 700;

    display: flex;

    gap: 7px;

    align-items: center;

    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.campaign-badge span {

    width: 25px;

    height: 25px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: var(--green);

    color: white;

    font-size: 9px;
}


/* FEATURED CONTENT */

.section-label {

    display: inline-block;

    color: var(--green);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;

    margin-bottom: 12px;
}

.featured-content h2,
.about-content h2,
.section-heading h2,
.story-content h2,
.goal-content h2,
.contact-section h2 {

    font-family: var(--heading-font);

    font-size: clamp(35px, 4vw, 53px);

    line-height: 1.1;

    color: var(--black);

    margin-bottom: 20px;
}

.featured-content p,
.about-content p,
.story-content p,
.goal-content p,
.contact-section p {

    color: #666;

    font-size: 14px;

    margin-bottom: 16px;
}

.yellow-btn {

    margin-top: 15px;

    background: var(--yellow);

    color: var(--black);
}

.yellow-btn:hover {

    transform: translateY(-2px);

    background: #e9bd15;
}


/* =====================================================
   ABOUT
===================================================== */

.about-section {

    padding: 100px 0;

    background: var(--cream);
}

.about-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;
}

.about-content {

    max-width: 550px;
}

.about-content h2 span,
.section-heading h2 span,
.story-content h2 span,
.contact-section h2 span {

    color: var(--green);
}

.outline-btn {

    border: 1px solid var(--green);

    color: var(--green);

    margin-top: 10px;
}

.outline-btn:hover {

    background: var(--green);

    color: white;
}


/* ABOUT IMAGES */

.about-images {

    position: relative;

    min-height: 500px;
}

.about-photo {

    position: absolute;

    overflow: hidden;

    border-radius: 25px;
}

.about-photo img {

    width: 100%;

    height: 100%;

    object-fit: cover;
}

.back-photo {

    width: 390px;

    height: 430px;

    right: 0;

    top: 0;
}

.front-photo {

    width: 270px;

    height: 310px;

    left: 0;

    bottom: 0;

    border: 10px solid var(--cream);
}


/* =====================================================
   VISION & MISSION
===================================================== */

.vision-mission {

    padding: 110px 0;

    background: white;
}

.center {
    text-align: center;

    max-width: 750px;

    margin: 0 auto 50px;
}

.vm-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}

.vm-card {

    padding: 45px;

    background: #f5f6f2;

    border-radius: 25px;

    position: relative;

    overflow: hidden;
}

.vm-card.green-card {

    background: var(--green);

    color: white;
}

.vm-icon {

    width: 52px;

    height: 52px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: var(--yellow);

    color: var(--black);

    margin-bottom: 25px;

    font-size: 19px;
}

.vm-card > span {

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

    color: var(--green);
}

.vm-card.green-card > span {
    color: var(--yellow);
}

.vm-card h3 {

    font-family: var(--heading-font);

    font-size: 30px;

    line-height: 1.2;

    margin: 10px 0 20px;

    color: var(--black);
}

.vm-card.green-card h3 {
    color: white;
}

.vm-card > p {

    font-size: 14px;

    color: #666;
}

.vm-card.green-card > p {
    color: rgba(255,255,255,.8);
}

.swahili {

    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid rgba(0,0,0,.1);
}

.green-card .swahili {
    border-color: rgba(255,255,255,.2);
}

.swahili strong {

    font-size: 11px;

    color: var(--green);

    text-transform: uppercase;

    letter-spacing: 1px;
}

.green-card .swahili strong {
    color: var(--yellow);
}

.swahili p {

    font-size: 13px;

    margin-top: 7px;

    color: #666;
}

.green-card .swahili p {
    color: rgba(255,255,255,.75);
}


/* =====================================================
   PROGRAMS
===================================================== */

.programs-section {

    padding: 100px 0;

    background: var(--cream);
}

.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 50px;

    margin-bottom: 50px;
}

.section-heading > p {

    max-width: 420px;

    color: #666;

    font-size: 14px;
}

.program-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.program-card {

    position: relative;

    background: white;

    padding: 35px;

    border-radius: 20px;

    min-height: 330px;

    transition: .3s ease;

    border: 1px solid transparent;
}

.program-card:hover {

    transform: translateY(-7px);

    border-color: var(--green);

    box-shadow: 0 15px 40px rgba(0,0,0,.07);
}

.program-number {

    position: absolute;

    top: 20px;

    right: 25px;

    font-family: var(--heading-font);

    color: #d8ddd8;

    font-size: 25px;
}

.program-icon {

    width: 52px;

    height: 52px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: var(--light-green);

    color: var(--green);

    margin-bottom: 25px;

    font-size: 19px;
}

.program-card h3 {

    font-family: var(--heading-font);

    font-size: 25px;

    margin-bottom: 12px;

    color: var(--black);
}

.program-card p {

    font-size: 13px;

    color: #707070;

    margin-bottom: 20px;
}

.program-card a {

    font-size: 12px;

    font-weight: 700;

    color: var(--green);

    display: inline-flex;

    gap: 8px;

    align-items: center;
}


/* =====================================================
   STORY
===================================================== */

.story-section {

    padding: 100px 0;

    background: white;
}

.story-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.story-image {

    position: relative;

    height: 550px;

    border-radius: 25px;

    overflow: hidden;
}

.story-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;
}

.story-tag {

    position: absolute;

    left: 25px;

    top: 25px;

    background: var(--green);

    color: white;

    padding: 9px 15px;

    font-size: 10px;

    letter-spacing: 1.5px;

    font-weight: 700;
}

.story-points {

    margin: 25px 0;

    display: grid;

    gap: 12px;
}

.story-points div {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 13px;

    font-weight: 600;
}

.story-points i {

    width: 23px;

    height: 23px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: var(--yellow);

    font-size: 10px;
}


/* =====================================================
   GOAL
===================================================== */

.goal-section {

    padding: 80px 0;

    background: var(--light-green);
}

.goal-container {

    display: grid;

    grid-template-columns: 100px 1fr;

    gap: 40px;

    align-items: center;

    max-width: 950px;
}

.goal-icon {

    width: 90px;

    height: 90px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: var(--yellow);

    color: var(--black);

    font-size: 30px;
}

.goal-content h2 {

    max-width: 700px;

    margin-bottom: 15px;
}

.goal-content p {
    max-width: 850px;
}


/* =====================================================
   CTA
===================================================== */

.cta-section {

    padding: 80px 0;

    background: var(--green);

    color: white;
}

.cta-container {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 50px;
}

.light-label {
    color: var(--yellow);
}

.cta-container h2 {

    max-width: 700px;

    font-family: var(--heading-font);

    font-size: clamp(35px, 4vw, 55px);

    line-height: 1.1;

    margin-bottom: 15px;
}

.cta-container p {

    color: rgba(255,255,255,.75);

    font-size: 14px;
}

.cta-actions {

    display: flex;

    gap: 12px;

    flex-shrink: 0;
}

.white-outline-btn {

    border: 1px solid rgba(255,255,255,.6);

    color: white;
}

.white-outline-btn:hover {

    background: white;

    color: var(--green);
}


/* =====================================================
   CONTACT
===================================================== */

.contact-section {

    padding: 100px 0;

    background: var(--cream);
}

.contact-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;
}

.contact-details {

    display: grid;

    gap: 20px;
}

.contact-item {

    display: flex;

    align-items: center;

    gap: 18px;

    background: white;

    padding: 20px;

    border-radius: 15px;
}

.contact-icon {

    width: 45px;

    height: 45px;

    display: grid;

    place-items: center;

    background: var(--light-green);

    color: var(--green);

    border-radius: 50%;
}

.contact-item strong {

    font-size: 13px;

    color: var(--black);
}

.contact-item p {

    margin: 0;

    font-size: 12px;
}


/* =====================================================
   FOOTER
===================================================== */

.site-footer {

    background: var(--deep-green);

    color: white;

    padding-top: 70px;
}

.footer-grid {

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 60px;

    padding-bottom: 60px;
}

.footer-logo .logo-text {
    color: white;
}

.footer-logo .logo-text span {
    color: var(--yellow);
}

.footer-brand > p {

    max-width: 300px;

    color: rgba(255,255,255,.65);

    font-size: 13px;

    margin-top: 18px;
}

.social-links {

    display: flex;

    gap: 8px;

    margin-top: 25px;
}

.social-links a {

    width: 34px;

    height: 34px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.2);

    font-size: 12px;

    transition: .3s ease;
}

.social-links a:hover {

    background: var(--yellow);

    color: var(--black);
}

.footer-column {

    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-column h4 {

    color: var(--yellow);

    font-size: 13px;

    margin-bottom: 10px;
}

.footer-column a {

    color: rgba(255,255,255,.65);

    font-size: 12px;

    transition: .3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {

    border-top: 1px solid rgba(255,255,255,.1);

    min-height: 70px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;
}

.footer-bottom p,
.footer-bottom a {

    font-size: 11px;

    color: rgba(255,255,255,.5);
}

.footer-bottom div {

    display: flex;

    gap: 20px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .main-nav {
        gap: 16px;
    }

    .hero > .container {
        gap: 40px;
    }

    .hero-main-image {
        width: 350px;
        height: 430px;
    }

    .hero-small-image {
        width: 140px;
        height: 160px;
    }

    .featured-card {
        gap: 40px;
    }

    .about-grid,
    .story-grid {
        gap: 50px;
    }

    .program-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 760px) {

    .container {
        width: min(
            calc(100% - 30px),
            var(--container)
        );
    }


    /* NAV */

    .nav-container {
        height: 70px;
    }

    .main-nav,
    .nav-actions {
        display: none;
    }

    .mobile-menu {
        display: block;
    }


    /* HERO */

    .hero {
        padding: 60px 0 70px;
    }

    .hero > .container {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .hero h1 {

        font-size: 48px;

        letter-spacing: -1px;
    }

    .hero-image {

        min-height: 420px;

        width: 100%;
    }

    .hero-main-image {

        right: 0;

        width: 75%;

        height: 390px;
    }

    .hero-small-image {

        width: 130px;

        height: 145px;
    }

    .image-one {
        top: 50px;
        left: 0;
    }

    .image-two {
        bottom: 0;
        left: 40px;
    }


    /* STATISTICS */

    .stats-grid {

        grid-template-columns: repeat(2, 1fr);

        padding: 25px 0;
    }

    .stat-item {

        border-bottom: 1px solid var(--border);

        padding: 20px 10px;
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-bottom: none;
    }


    /* FEATURED */

    .featured-section {
        padding: 70px 0;
    }

    .featured-card {

        grid-template-columns: 1fr;

        padding: 25px;

        gap: 40px;
    }

    .featured-images {
        width: 100%;
    }


    /* ABOUT */

    .about-section {
        padding: 70px 0;
    }

    .about-grid {

        grid-template-columns: 1fr;

        gap: 50px;
    }

    .about-images {
        min-height: 430px;
    }

    .back-photo {

        width: 80%;

        height: 380px;
    }

    .front-photo {

        width: 55%;

        height: 270px;
    }


    /* VISION */

    .vision-mission {
        padding: 70px 0;
    }

    .vm-grid {
        grid-template-columns: 1fr;
    }

    .vm-card {
        padding: 30px;
    }


    /* PROGRAMS */

    .programs-section {
        padding: 70px 0;
    }

    .section-heading {

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;
    }

    .program-grid {
        grid-template-columns: 1fr;
    }


    /* STORY */

    .story-section {
        padding: 70px 0;
    }

    .story-grid {

        grid-template-columns: 1fr;

        gap: 40px;
    }

    .story-image {
        height: 430px;
    }


    /* GOAL */

    .goal-container {

        grid-template-columns: 1fr;

        gap: 25px;
    }


    /* CTA */

    .cta-container {

        flex-direction: column;

        align-items: flex-start;
    }

    .cta-actions {
        flex-wrap: wrap;
    }


    /* CONTACT */

    .contact-section {
        padding: 70px 0;
    }

    .contact-grid {

        grid-template-columns: 1fr;

        gap: 40px;
    }


    /* FOOTER */

    .footer-grid {

        grid-template-columns: 1fr 1fr;

        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-bottom {

        flex-direction: column;

        justify-content: center;

        padding: 20px 0;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 450px) {

    .hero h1 {
        font-size: 42px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .hero-buttons a {
        width: 100%;
    }

    .hero-image {
        min-height: 350px;
    }

    .hero-main-image {
        height: 330px;
    }

    .hero-small-image {

        width: 105px;

        height: 120px;

        border-width: 5px;
    }

    .featured-images {
        gap: 7px;
    }

    .featured-image {
        height: 130px;

        border-radius: 12px;
    }

    .featured-image.large {
        height: 267px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom div {
        flex-direction: column;

        text-align: center;

        gap: 5px;
    }

}