/* =====================================================
   GENERAL
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Inter", sans-serif;

    background: #f4fafb;

    color: #123b5d;

    overflow-x: hidden;
}


button {
    font-family: inherit;
}


img {
    max-width: 100%;
}



/* =====================================================
   NAVBAR
===================================================== */

.navbar {

    height: 72px;

    padding: 0 5.5%;

    background: #073b55;

    display: flex;

    align-items: center;

    justify-content: space-between;

    position: relative;

    z-index: 100;

}


/* LOGO */

.logo-area {

    display: flex;

    align-items: center;

    gap: 12px;

}


.logo-icon {

    font-size: 36px;

    color: #19d3b5;

}


.logo-text {

    display: flex;

    align-items: center;

    gap: 18px;

}


.logo-text h2 {

    color: white;

    font-size: 29px;

    font-weight: 800;

}


.logo-text span {

    color: #d0e3eb;

    font-size: 12px;

    line-height: 1.4;

    border-left: 1px solid rgba(255,255,255,.5);

    padding-left: 18px;

}



/* NAVIGATION */

.navigation {

    display: flex;

    gap: 38px;

}


.navigation a {

    color: #e2edf1;

    text-decoration: none;

    font-size: 13px;

    font-weight: 500;

    padding: 27px 0;

    position: relative;

}


.navigation a:hover {

    color: #24d1b7;

}


.navigation a.active {

    color: white;

}


.navigation a.active::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 17px;

    height: 2px;

    background: #24d1b7;

}



/* NAV BUTTON */

.nav-explore {

    border: none;

    background: #12b9a5;

    color: white;

    padding: 12px 22px;

    border-radius: 25px;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition: .3s;

}


.nav-explore:hover {

    background: #0c9f8e;

    transform: translateY(-2px);

}


.nav-explore span {

    margin-left: 8px;

}



/* MOBILE MENU */

.menu-button {

    display: none;

    background: none;

    border: none;

    color: white;

    font-size: 25px;

    cursor: pointer;

}



/* =====================================================
   HERO
===================================================== */


.hero {
    position: relative;
    min-height: 350px;
    width: 100%;
    overflow: hidden;

    background-image: url("images/landing2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background {

    position: absolute;

    inset: 0;

    background-image: url("images/hero.jpg");

    background-size: cover;

    background-position: center;

}




.hero-overlay {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(

            90deg,

            rgba(242,250,252,.98) 0%,

            rgba(242,250,252,.92) 27%,

            rgba(242,250,252,.65) 48%,

            rgba(242,250,252,.08) 75%,

            rgba(242,250,252,0) 100%

        );

}



/* HERO CONTENT */

.hero-content {

    position: relative;

    z-index: 2;

    width: 88%;

    max-width: 1400px;

    margin: auto;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

}



/* HERO TEXT */

.hero-text {

    width: 52%;

}


.eyebrow {

    color: #079d91;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 12px;

    display: flex;

    align-items: center;

    gap: 8px;

}


.eyebrow-dot {

    width: 10px;

    height: 10px;

    background: #0ba99a;

    border-radius: 50%;

}


.hero h1 {

    color: #0b3155;

    font-size: clamp(38px, 4vw, 56px);

    line-height: 1.08;

    font-weight: 800;

}


.hero h1 span {

    color: #0b3155;

}


.hero-text > p {

    margin-top: 18px;

    color: #456b86;

    font-size: 16px;

    line-height: 1.55;

    max-width: 510px;

}



/* HERO BUTTONS */

.hero-buttons {

    display: flex;

    gap: 14px;

    margin-top: 24px;

}


.primary-button {

    background: #0eb5a2;

    color: white;

    border: none;

    border-radius: 25px;

    padding: 14px 25px;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition: .3s;

}


.primary-button:hover {

    background: #078f80;

    transform: translateY(-2px);

}


.primary-button span {

    margin-left: 10px;

}


.secondary-button {

    background: rgba(255,255,255,.8);

    border: 1px solid #08769a;

    color: #064a6b;

    border-radius: 25px;

    padding: 13px 27px;

    font-size: 14px;

    cursor: pointer;

}



/* =====================================================
   AFRICA VISUAL
===================================================== */

.africa-area {

    width: 45%;

    height: 100%;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

}


.africa-circle {

    position: absolute;

    width: 370px;

    height: 370px;

    border: 1px solid rgba(255,255,255,.7);

    border-radius: 50%;

}


.africa-image {

    position: relative;

    z-index: 2;

    width: 340px;

    height: 390px;

    object-fit: contain;

    filter: drop-shadow(0 15px 25px rgba(0,50,40,.2));

}



/* MARKERS */

.data-marker {

    position: absolute;

    z-index: 5;

    width: 52px;

    height: 52px;

    border-radius: 50%;

    border: 2px solid white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 22px;

    box-shadow: 0 5px 15px rgba(0,0,0,.2);

}


.climate-marker {

    top: 82px;

    right: 38%;

    background: #188f82;

}


.water-marker {

    top: 155px;

    left: 29%;

    background: #078dd3;

}


.agriculture-marker {

    bottom: 70px;

    right: 31%;

    background: #31883e;

}



/* =====================================================
   DATA SECTION
===================================================== */

.data-section {

    padding: 42px 5.5% 30px;

    background: #f5fbfc;

}


.section-heading {

    text-align: center;

    margin-bottom: 27px;

}


.section-heading p {

    color: #06a494;

    font-size: 12px;

    letter-spacing: 2px;

    font-weight: 700;

}


.section-heading h2 {

    margin-top: 8px;

    font-size: 31px;

    color: #0b3155;

}



/* CARDS */

.cards-container {

    max-width: 1320px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

}


.data-card {

    height: 200px;

    position: relative;

    overflow: hidden;

    border-radius: 11px;

    background: white;

    box-shadow: 0 5px 18px rgba(12,66,88,.06);

}


.card-image {

    position: absolute;

    inset: 0;

}


.card-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(235,249,249,.98) 0%,
        rgba(235,249,249,.87) 45%,
        rgba(235,249,249,.05) 100%
    );

}


.card-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.card-content {

    position: relative;

    z-index: 2;

    padding: 17px 23px;

    width: 70%;

}


.card-icon {

    width: 42px;

    height: 42px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    font-size: 20px;

    margin-bottom: 9px;

}


.climate-icon {

    background: #0aa69b;

}


.water-icon {

    background: #087ec5;

}


.agriculture-icon {

    background: #31853c;

}


.card-content h3 {

    color: #0a3a5c;

    font-size: 18px;

    margin-bottom: 7px;

}


.card-content p {

    color: #4f7184;

    font-size: 12px;

    line-height: 1.5;

}


.card-button {

    border: none;

    background: none;

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 12px;

    color: #08769b;

    font-size: 11px;

    font-weight: 600;

    cursor: pointer;

}


.card-button span {

    width: 30px;

    height: 30px;

    border-radius: 50%;

    background: #09a999;

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

}



/* =====================================================
   CTA
===================================================== */

.cta-section {

    width: 90%;

    max-width: 1380px;

    margin: 0 auto 18px;

    min-height: 105px;

    border-radius: 12px;

    padding: 20px 45px;

    background:

        linear-gradient(
            100deg,
            #07566a,
            #006f6e
        );

    display: flex;

    align-items: center;

    justify-content: space-between;

    overflow: hidden;

    position: relative;

}


.cta-section::after {

    content: "";

    position: absolute;

    right: -40px;

    top: -50px;

    width: 260px;

    height: 200px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.12);

}


.cta-left {

    display: flex;

    align-items: center;

    gap: 25px;

    position: relative;

    z-index: 2;

}


.cta-icon {

    font-size: 40px;

    color: #20d6bd;

}


.cta-left p {

    color: #25d3be;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.8px;

}


.cta-left h2 {

    margin-top: 6px;

    color: white;

    font-size: 23px;

}


.cta-button {

    position: relative;

    z-index: 3;

    border: none;

    background: white;

    color: #075173;

    border-radius: 25px;

    padding: 13px 25px;

    font-weight: 600;

    cursor: pointer;

}


.cta-button span {

    margin-left: 8px;

}



/* =====================================================
   FOOTER
===================================================== */

footer {

    min-height: 70px;

    background: #08364f;

    padding: 18px 5.5%;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.footer-left {

    display: flex;

    align-items: center;

    gap: 16px;

}


.footer-logo {

    display: flex;

    align-items: center;

    gap: 8px;

}


.footer-logo span {

    font-size: 25px;

}


.footer-logo strong {

    color: white;

    font-size: 20px;

}


.footer-divider {

    width: 1px;

    height: 27px;

    background: rgba(255,255,255,.35);

}


.footer-left > p {

    color: #b7d0db;

    font-size: 11px;

}


.footer-right {

    display: flex;

    align-items: center;

    gap: 20px;

}


.footer-right p {

    color: #b7d0db;

    font-size: 10px;

}


.social-icons {

    display: flex;

    gap: 15px;

}


.social-icons span {

    color: white;

    font-size: 13px;

}



/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

    .navigation {

        gap: 20px;

    }


    .logo-text span {

        display: none;

    }


    .hero {

        height: auto;

        min-height: 600px;

    }


    .hero-content {

        padding: 60px 0;

        flex-direction: column;

    }


    .hero-text {

        width: 100%;

        text-align: center;

    }


    .hero-text > p {

        margin-left: auto;

        margin-right: auto;

    }


    .eyebrow {

        justify-content: center;

    }


    .hero-buttons {

        justify-content: center;

    }


    .africa-area {

        width: 100%;

        height: 350px;

    }


    .cards-container {

        grid-template-columns: 1fr;

    }


    .data-card {

        height: 220px;

    }

}



@media (max-width: 700px) {

    .navbar {

        padding: 0 20px;

    }


    .navigation {

        display: none;

        position: absolute;

        top: 72px;

        left: 0;

        width: 100%;

        background: #073b55;

        flex-direction: column;

        gap: 0;

        padding: 10px 25px;

    }


    .navigation.show {

        display: flex;

    }


    .navigation a {

        padding: 15px;

    }


    .nav-explore {

        display: none;

    }


    .menu-button {

        display: block;

    }


    .logo-text h2 {

        font-size: 24px;

    }


    .hero h1 {

        font-size: 36px;

    }


    .hero-text {

        padding: 0 10px;

    }


    .africa-image {

        width: 280px;

        height: 320px;

    }


    .africa-circle {

        width: 290px;

        height: 290px;

    }


    .data-section {

        padding-left: 20px;

        padding-right: 20px;

    }


    .section-heading h2 {

        font-size: 25px;

    }


    .cta-section {

        width: calc(100% - 40px);

        padding: 25px;

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

    }


    .cta-left h2 {

        font-size: 19px;

    }


    footer {

        flex-direction: column;

        gap: 20px;

        align-items: flex-start;

    }


    .footer-left {

        flex-wrap: wrap;

    }

}