/* =====================================================
   AMANI FOUNDATION
   IMPACT PAGE
===================================================== */


/* =====================================================
   VARIABLES
===================================================== */

:root {

    --primary: #46407D;

    --teal: #22C7D5;

    --green: #63E67D;

    --dark: #0F172A;

    --text: #475569;

    --light: #F8FAFC;

    --white: #FFFFFF;

    --border: #E2E8F0;

    --heading: 'Poppins', sans-serif;

    --body: 'Inter', sans-serif;

}


/* =====================================================
   RESET
===================================================== */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family: var(--body);

    color: var(--text);

    background: #FFFFFF;

    line-height: 1.7;

}


img {

    display: block;

    max-width: 100%;

}


a {

    text-decoration: none;

}


/* =====================================================
   NAVIGATION
===================================================== */

.impact-navbar {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 1000;

    padding: 20px 6%;

}


.nav-container {

    max-width: 1400px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.nav-logo img {

    width: 120px;

}


.impact-navbar nav {

    display: flex;

    align-items: center;

    gap: 32px;

}


.impact-navbar nav a {

    position: relative;

    color: #FFFFFF;

    font-size: .95rem;

    font-weight: 600;

    transition: .3s ease;

}


.impact-navbar nav a:hover,

.impact-navbar nav a.active {

    color: var(--green);

}


.impact-navbar nav a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -8px;

    width: 0;

    height: 3px;

    border-radius: 10px;

    background: var(--green);

    transition: .3s ease;

}


.impact-navbar nav a:hover::after,

.impact-navbar nav a.active::after {

    width: 100%;

}


.nav-donate {

    padding: 13px 25px;

    border-radius: 30px;

    background:

        linear-gradient(

            135deg,

            var(--teal),

            var(--green)

        );

    color: #FFFFFF;

    font-weight: 700;

    transition: .3s ease;

}


.nav-donate:hover {

    transform: translateY(-3px);

    box-shadow:

        0 10px 25px

        rgba(34,199,213,.25);

}


/* =====================================================
   HERO
===================================================== */

.impact-hero {

    min-height: 620px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: #FFFFFF;

    background-image:

        url("../images/impact-hero.webp");

    background-size: cover;

    background-position: center;

}


.impact-hero-overlay {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(

            135deg,

            rgba(70,64,125,.94),

            rgba(15,23,42,.88)

        );

}


.impact-hero-content {

    position: relative;

    z-index: 2;

    max-width: 850px;

    padding: 40px 20px;

}


.hero-tag {

    display: inline-block;

    margin-bottom: 20px;

    color: var(--green);

    font-size: .9rem;

    font-weight: 700;

    letter-spacing: 3px;

}


.impact-hero-content h1 {

    font-family: var(--heading);

    font-size:

        clamp(

            3rem,

            6vw,

            5.5rem

        );

    line-height: 1.05;

    font-weight: 800;

    margin-bottom: 25px;

}


.impact-hero-content p {

    max-width: 700px;

    margin: auto;

    color:

        rgba(255,255,255,.85);

    font-size: 1.15rem;

}


/* =====================================================
   GLOBAL SECTION HEADER
===================================================== */

.section-header {

    max-width: 800px;

    margin:

        0 auto 60px;

    text-align: center;

}


.section-tag {

    display: inline-block;

    color: #159EB0;

    font-size: .85rem;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 12px;

}


.section-header h2 {

    color: var(--dark);

    font-family: var(--heading);

    font-size:

        clamp(

            2.2rem,

            4vw,

            3.5rem

        );

    line-height: 1.2;

}


.title-divider {

    position: relative;

    width: 100%;

    max-width: 650px;

    height: 2px;

    margin: 28px auto 0;

    background: var(--teal);

}


.title-divider span {

    position: absolute;

    left: 50%;

    top: 50%;

    transform:

        translate(-50%, -50%);

    width: 54px;

    height: 54px;

    border-radius: 50%;

    border: 2px solid var(--teal);

    background: #FFFFFF;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--teal);

}


.section-intro {

    max-width: 720px;

    margin:

        35px auto 0;

}


/* =====================================================
   INTRO
===================================================== */

.impact-intro {

    padding:

        110px 8% 70px;

    background: #FFFFFF;

}


/* =====================================================
   STATISTICS
===================================================== */

.impact-statistics {

    padding:

        90px 8% 120px;

    background: var(--light);

}


.statistics-container {

    max-width: 1200px;

    margin: auto;

}


.statistics-grid {

    display: grid;

    grid-template-columns:

        repeat(4, 1fr);

    gap: 20px;

}


/* =====================================================
   STAT CARD
===================================================== */

.stat-card {

    padding: 40px 25px;

    text-align: center;

    background: #FFFFFF;

    border: 1px solid var(--border);

    border-radius: 25px;

    transition:

        transform .4s ease,

        box-shadow .4s ease;

}


.stat-card:hover {

    transform: translateY(-8px);

    box-shadow:

        0 20px 45px

        rgba(15,23,42,.09);

}


.stat-icon {

    width: 70px;

    height: 70px;

    margin: 0 auto 20px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--primary);

    background:

        rgba(70,64,125,.08);

    font-size: 25px;

    transition: .3s ease;

}


.stat-card:hover .stat-icon {

    background: var(--primary);

    color: #FFFFFF;

    transform: rotate(5deg);

}


.stat-number {

    color: var(--primary);

    font-family: var(--heading);

    font-size: 3.3rem;

    font-weight: 800;

    line-height: 1;

    margin-bottom: 12px;

}


.stat-card h3 {

    color: var(--dark);

    font-family: var(--heading);

    font-size: 1.15rem;

    margin-bottom: 8px;

}


.stat-card p {

    font-size: .88rem;

}


/* =====================================================
   AREAS OF IMPACT
===================================================== */

.areas-impact {

    padding:

        120px 8%;

    background: #FFFFFF;

}


.impact-areas-grid {

    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns:

        repeat(2, 1fr);

    gap: 30px;

}


/* =====================================================
   IMPACT AREA CARD
===================================================== */

.impact-area {

    overflow: hidden;

    border-radius: 28px;

    background: #FFFFFF;

    border: 1px solid var(--border);

    box-shadow:

        0 12px 35px

        rgba(15,23,42,.06);

    transition:

        transform .4s ease,

        box-shadow .4s ease;

}


.impact-area:hover {

    transform: translateY(-8px);

    box-shadow:

        0 25px 55px

        rgba(15,23,42,.11);

}


.area-image {

    position: relative;

    height: 300px;

    overflow: hidden;

}


.area-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:

        transform .7s ease;

}


.impact-area:hover .area-image img {

    transform: scale(1.06);

}


.area-icon {

    position: absolute;

    left: 25px;

    bottom: -28px;

    width: 65px;

    height: 65px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #FFFFFF;

    color: var(--primary);

    font-size: 23px;

    box-shadow:

        0 8px 25px

        rgba(0,0,0,.15);

}


.area-content {

    padding:

        50px 30px 35px;

}


.area-content > span {

    color: var(--teal);

    font-size: .8rem;

    font-weight: 800;

    letter-spacing: 1px;

}


.area-content h3 {

    margin:

        5px 0 12px;

    color: var(--dark);

    font-family: var(--heading);

    font-size: 1.65rem;

}


.area-content p {

    margin-bottom: 20px;

}


.area-content a {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--primary);

    font-weight: 700;

    transition: .3s ease;

}


.area-content a i {

    transition: .3s ease;

}


.area-content a:hover {

    color: var(--teal);

}


.area-content a:hover i {

    transform: translateX(6px);

}


/* =====================================================
   STORIES
===================================================== */

.impact-stories {

    padding:

        120px 8%;

    background: var(--light);

}


.stories-container {

    max-width: 1150px;

    margin: auto;

}


.story-feature {

    display: grid;

    grid-template-columns:

        1fr 1fr;

    gap: 70px;

    align-items: center;

}


/* =====================================================
   STORY IMAGE
===================================================== */

.story-image {

    position: relative;

}


.story-image img {

    width: 100%;

    height: 500px;

    object-fit: cover;

    border-radius: 30px;

    box-shadow:

        0 20px 50px

        rgba(15,23,42,.10);

}


.story-heart {

    position: absolute;

    right: 25px;

    bottom: 25px;

    width: 70px;

    height: 70px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #FFFFFF;

    color: var(--teal);

    font-size: 25px;

    box-shadow:

        0 10px 30px

        rgba(0,0,0,.15);

}


/* =====================================================
   STORY CONTENT
===================================================== */

.story-label {

    color: var(--teal);

    font-size: .8rem;

    font-weight: 700;

    letter-spacing: 2px;

}


.story-content h3 {

    margin:

        12px 0 22px;

    color: var(--dark);

    font-family: var(--heading);

    font-size:

        clamp(

            2rem,

            4vw,

            3.2rem

        );

    line-height: 1.15;

}


.story-content p {

    margin-bottom: 18px;

}


.story-button {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 15px;

    padding:

        13px 22px;

    border-radius: 30px;

    background: var(--primary);

    color: #FFFFFF;

    font-weight: 700;

    transition: .3s ease;

}


.story-button:hover {

    transform: translateY(-3px);

    background: #159EB0;

}


/* =====================================================
   APPROACH
===================================================== */

.impact-approach {

    padding:

        120px 8%;

    background: #FFFFFF;

}


.approach-container {

    max-width: 1150px;

    margin: auto;

    display: grid;

    grid-template-columns:

        1fr 1fr;

    gap: 80px;

    align-items: center;

}


.approach-content h2 {

    color: var(--dark);

    font-family: var(--heading);

    font-size:

        clamp(

            2.2rem,

            4vw,

            3.5rem

        );

    line-height: 1.15;

    margin-bottom: 20px;

}


.small-divider {

    width: 70px;

    height: 4px;

    margin-bottom: 25px;

    border-radius: 10px;

    background:

        linear-gradient(

            90deg,

            var(--teal),

            var(--green)

        );

}


/* =====================================================
   APPROACH LIST
===================================================== */

.approach-list {

    margin-top: 35px;

    display: grid;

    gap: 22px;

}


.approach-list > div {

    display: flex;

    gap: 18px;

    align-items: flex-start;

}


.approach-number {

    flex-shrink: 0;

    width: 48px;

    height: 48px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background:

        rgba(70,64,125,.08);

    color: var(--primary);

    font-family: var(--heading);

    font-weight: 800;

}


.approach-list h4 {

    margin-bottom: 3px;

    color: var(--dark);

    font-family: var(--heading);

}


.approach-list p {

    font-size: .9rem;

}


/* =====================================================
   APPROACH IMAGE
===================================================== */

.approach-image {

    position: relative;

}


.approach-image img {

    width: 100%;

    height: 540px;

    object-fit: cover;

    border-radius: 30px;

    box-shadow:

        0 20px 50px

        rgba(15,23,42,.10);

}


.approach-badge {

    position: absolute;

    left: 25px;

    bottom: 25px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding:

        14px 20px;

    border-radius: 15px;

    background: #FFFFFF;

    color: var(--primary);

    box-shadow:

        0 10px 30px

        rgba(0,0,0,.12);

}


.approach-badge i {

    color: var(--teal);

}


.approach-badge span {

    font-size: .75rem;

    font-weight: 700;

    letter-spacing: 1px;

}


/* =====================================================
   CTA
===================================================== */

.impact-cta {

    padding:

        110px 8%;

    text-align: center;

    color: #FFFFFF;

    background:

        linear-gradient(

            135deg,

            var(--primary),

            #159EB0

        );

}


.cta-content {

    max-width: 800px;

    margin: auto;

}


.cta-content > span {

    color: var(--green);

    font-size: .85rem;

    font-weight: 700;

    letter-spacing: 2px;

}


.cta-content h2 {

    margin:

        15px 0 20px;

    font-family: var(--heading);

    font-size:

        clamp(

            2.2rem,

            4vw,

            3.5rem

        );

    line-height: 1.2;

}


.cta-content p {

    max-width: 650px;

    margin: auto;

    color:

        rgba(255,255,255,.85);

}


.cta-buttons {

    display: flex;

    justify-content: center;

    gap: 15px;

    margin-top: 30px;

}


.cta-primary,

.cta-secondary {

    padding:

        15px 30px;

    border-radius: 30px;

    font-weight: 700;

    transition: .3s ease;

}


.cta-primary {

    background: var(--green);

    color: #FFFFFF;

}


.cta-secondary {

    border: 2px solid #FFFFFF;

    color: #FFFFFF;

}


.cta-primary:hover,

.cta-secondary:hover {

    transform: translateY(-4px);

}


.cta-secondary:hover {

    background: #FFFFFF;

    color: var(--primary);

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1050px) {


    .impact-navbar nav {

        gap: 17px;

    }


    .statistics-grid {

        grid-template-columns:

            repeat(2, 1fr);

    }


    .story-feature,

    .approach-container {

        gap: 45px;

    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {


    .impact-navbar {

        padding:

            15px 5%;

    }


    .impact-navbar nav {

        display: none;

    }


    .nav-donate {

        padding:

            10px 18px;

    }


    .impact-hero {

        min-height: 550px;

    }


    .impact-hero-content h1 {

        font-size: 3rem;

    }


    .impact-intro,

    .impact-statistics,

    .areas-impact,

    .impact-stories,

    .impact-approach,

    .impact-cta {

        padding-left: 6%;

        padding-right: 6%;

    }


    .statistics-grid {

        grid-template-columns: 1fr;

    }


    .impact-areas-grid {

        grid-template-columns: 1fr;

    }


    .story-feature,

    .approach-container {

        grid-template-columns: 1fr;

    }


    .story-image img {

        height: 350px;

    }


    .approach-image img {

        height: 380px;

    }


    .cta-buttons {

        flex-direction: column;

        max-width: 260px;

        margin:

            30px auto 0;

    }

}


/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 480px) {


    .impact-hero-content h1 {

        font-size: 2.6rem;

    }


    .impact-hero-content p {

        font-size: 1rem;

    }


    .area-image {

        height: 250px;

    }


    .stat-number {

        font-size: 2.8rem;

    }


    .story-image img {

        height: 300px;

    }


    .approach-image img {

        height: 320px;

    }


    .approach-badge {

        left: 15px;

        right: 15px;

        bottom: 15px;

    }


    .approach-badge span {

        font-size: .65rem;

    }

}