/* HERO */

/* ================= HERO ================= */

.impact-hero {
    position: relative;

    height: 100vh;
    min-height: 700px;

    background: url("pictures/community.jpg") center center/cover no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.35),
            rgba(8, 28, 21, 0.90));

    z-index: 1;
}

.hero-content {



    z-index: 2;

    width: 90%;
    max-width: 900px;

    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    margin: 0 auto;

    padding-top: 60px;
    /* compensates for navbar */
}

.hero-content h1 {

    color: #d4af37;

    font-size: clamp(2.5rem, 6vw, 4.5rem);

    line-height: 1.1;

    margin-bottom: 25px;
}

.hero-content p {

    color: #f5f5f5;

    font-size: clamp(1rem, 2vw, 1.35rem);

    line-height: 1.8;

    max-width: 700px;

    margin: 0 auto;
}

/* GENERAL */

.container {
    max-width: 1200px;
    margin: auto;
}

.narrow {
    max-width: 850px;
}

.center {
    text-align: center;
}

.section-tag {
    color: #d4af37;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section {
    padding: 120px 10%;
}

.light {
    background: #0b2e23;
}

.dark {
    background: #081c15;
}

.section h2 {
    color: #d4af37;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.section p {
    color: #d6d6d6;
    line-height: 1.9;
}

/* STATS */

.impact-grid {
    margin-top: 50px;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.impact-card {
    background: #0f1f17;
    padding: 40px;
    text-align: center;

    border-radius: 15px;

    border: 1px solid rgba(255, 255, 255, .08);

    transition: .3s;
}

.impact-card:hover {
    transform: translateY(-8px);
}

.impact-card h3 {
    color: #d4af37;
    font-size: 2.8rem;
    margin-bottom: 10px;
}

/* SPLIT */

.split {
    display: flex;
    align-items: center;
    gap: 60px;
}

.text-side {
    flex: 1;
}

.image-side {
    flex: 1;
    display: flex;
    justify-content: center;
}

.impact-image {
    width: 100%;
    max-width: 550px;

    border-radius: 20px;

    box-shadow: 0 0 30px rgba(212, 175, 55, .25);
}

/* CARDS */

.cards {
    margin-top: 50px;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 25px;
}

.card {
    background: #0f1f17;

    padding: 30px;

    border-radius: 15px;

    transition: .3s;
}

.card:hover {
    transform: translateY(-8px);
}

.card h3 {
    color: #d4af37;
    margin-bottom: 10px;
}

/* LIST */

.impact-list {
    margin-top: 30px;
    padding-left: 25px;
}

.impact-list li {
    color: #d6d6d6;
    margin-bottom: 15px;
}

/* CTA */

.cta {
    padding: 100px 10%;
    text-align: center;

    background: linear-gradient(135deg,
            #081c15,
            #0b2e23);
}

.cta h2 {
    color: #d4af37;
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta p {
    color: #d6d6d6;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;

    padding: 15px 35px;

    background: #d4af37;
    color: black;

    text-decoration: none;

    border-radius: 10px;

    font-weight: 600;
}

.btn-primary:hover {
    background: white;
}

/* MOBILE */

@media (max-width:768px) {

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .split {
        flex-direction: column;
    }

    .image-side {
        width: 100%;
    }

    .impact-image {
        width: 100%;
    }

    .section {
        padding: 80px 7%;
    }
}