/* =========================================================
   HIPDER - HOME PAGE
   Typography intentionally larger than the first draft.
   ========================================================= */

:root {
    --green-dark: #17361d;
    --green: #718348;
    --green-soft: #8b9a5d;

    --orange: #f4772d;
    --orange-dark: #dd641f;

    --cream: #fbf8f2;
    --white: #fff;

    --text: #26352a;
    --muted: #687069;

    --border: #e7e2d8;

    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: #fff;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

button {
    font-family: inherit;
}

.container {
    width: calc(100% - 48px);
    max-width: var(--container);
    margin-inline: auto;
}


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

.hero {
    position: relative;

    min-height: 535px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        url("https://images.unsplash.com/photo-1558788353-f76d92427f16?auto=format&fit=crop&w=1900&q=90")
        center 43% / cover no-repeat;
}

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

    background:
        linear-gradient(
            90deg,
            rgba(18,35,15,.92) 0%,
            rgba(18,35,15,.68) 38%,
            rgba(18,35,15,.08) 78%
        );
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 560px;

    padding: 65px 0 90px;

    color: #fff;
}

.hero-script {
    display: block;

    font-family: cursive;

    font-size: 54px;
    line-height: 1;
}

.hero h1 {
    margin: 10px 0 18px;

    font-family: "Nunito", sans-serif;

    font-size: 67px;
    line-height: .98;

    letter-spacing: -2px;
}

.hero p {
    max-width: 420px;

    margin: 0 0 28px;

    font-size: 17px;
    line-height: 1.5;

    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    min-height: 49px;

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

    gap: 9px;

    padding: 0 20px;

    border-radius: 7px;

    font-size: 13px;
    font-weight: 800;

    transition: .2s ease;
}

.btn-orange {
    background: var(--orange);
    color: #fff;
}

.btn-orange:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid #fff;

    background: rgba(0,0,0,.12);

    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--green-dark);
}


/* =========================================================
   QUICK CARDS
   ========================================================= */

.quick-actions {
    position: relative;
    z-index: 10;

    margin-top: -35px;
}

.quick-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.quick-card {
    min-height: 205px;

    padding: 23px 18px;

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

    text-align: center;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 14px;

    box-shadow:
        0 9px 28px rgba(31,47,35,.09);

    transition: .25s ease;
}

.quick-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 16px 38px rgba(31,47,35,.14);
}

.quick-icon {
    width: 53px;
    height: 53px;

    margin-bottom: 12px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: #fff;

    font-size: 21px;
}

.icon-orange { background: var(--orange); }
.icon-pink { background: #efa3a7; }
.icon-green { background: #89995b; }
.icon-yellow { background: #efb73e; }

.quick-card h2 {
    margin: 0 0 6px;

    font-family: "Nunito", sans-serif;

    font-size: 17px;
}

.quick-card p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.45;
}

.quick-arrow {
    margin-top: auto;

    color: var(--orange);

    font-size: 25px;
    font-weight: 700;
}


/* =========================================================
   IMPACT
   ========================================================= */

.impact-section {
    padding: 88px 0 68px;

    background: var(--cream);
}

.impact-grid {
    display: grid;

    grid-template-columns: 1.18fr .82fr;

    align-items: center;

    gap: 70px;
}

.impact-content {
    padding-left: 5px;
}

.section-kicker {
    margin: 0;

    color: var(--green-dark);

    font-family: "Nunito", sans-serif;

    font-size: 17px;
    font-weight: 900;
}

.section-kicker i {
    margin-right: 5px;

    color: var(--orange);

    font-size: 15px;
}

.impact-content h2 {
    max-width: 600px;

    margin: 9px 0 17px;

    color: var(--green-dark);

    font-family: "Nunito", sans-serif;

    font-size: 42px;
    line-height: 1.08;

    letter-spacing: -.8px;
}

.impact-description {
    max-width: 620px;

    margin: 0 0 28px;

    color: var(--muted);

    font-size: 16px;
}

.service-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px 15px;
}

.service-item {
    display: flex;
    align-items: center;

    gap: 10px;
}

.service-item span {
    width: 54px;
    height: 54px;

    flex: 0 0 54px;

    display: grid;
    place-items: center;

    border: 1px solid #efe6d9;

    border-radius: 50%;

    background: #fff7ed;

    color: var(--green-dark);

    font-size: 20px;
}

.service-item strong {
    font-size: 12px;
}

.impact-image {
    position: relative;

    overflow: hidden;

    border-radius: 18px;

    box-shadow:
        0 14px 35px rgba(30,47,35,.12);
}

.impact-image img {
    aspect-ratio: 1 / 1.04;

    object-fit: cover;
}

.image-badge {
    position: absolute;

    left: 20px;
    right: 20px;
    bottom: 20px;

    padding: 13px 16px;

    display: flex;
    align-items: center;

    gap: 12px;

    border-radius: 12px;

    background: rgba(255,255,255,.94);

    color: var(--green-dark);

    box-shadow: 0 7px 20px rgba(0,0,0,.1);

    font-size: 12px;
    font-weight: 700;
}

.image-badge i {
    color: var(--orange);
    font-size: 20px;
}


/* =========================================================
   STATS
   ========================================================= */

.stats-section {
    padding: 28px 0 72px;

    background: var(--cream);
}

.stats-card {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    background: #fff;

    border: 1px solid var(--border);

    border-radius: 17px;

    box-shadow: 0 6px 24px rgba(30,47,35,.05);
}

.stat-item {
    min-height: 112px;

    display: flex;
    align-items: center;

    gap: 15px;

    padding: 20px 25px;

    border-right: 1px solid var(--border);
}

.stat-item:last-child {
    border-right: 0;
}

.stat-icon {
    color: var(--green);

    font-size: 30px;
}

.stat-item strong {
    display: block;

    color: var(--green);

    font-family: "Nunito", sans-serif;

    font-size: 29px;
    line-height: 1;
}

.stat-item div span {
    display: block;

    margin-top: 5px;

    color: var(--muted);

    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   DONATION
   ========================================================= */

.donation-section {
    padding: 0 0 75px;

    background: var(--cream);
}

.donation-card {
    min-height: 170px;

    overflow: hidden;

    display: grid;

    grid-template-columns: 250px 1fr auto;

    align-items: center;

    border-radius: 16px;

    background:
        linear-gradient(
            105deg,
            #ed6e23,
            #f47a2d
        );

    color: #fff;

    box-shadow:
        0 10px 30px rgba(224,99,29,.15);
}

.donation-image {
    height: 170px;
}

.donation-image img {
    height: 100%;
    object-fit: cover;
}

.donation-content {
    padding: 25px 35px;
}

.donation-kicker {
    margin: 0 0 3px;

    font-size: 12px;
    font-weight: 800;

    opacity: .95;
}

.donation-kicker i {
    margin-right: 4px;
}

.donation-content h2 {
    max-width: 540px;

    margin: 0;

    font-family: "Nunito", sans-serif;

    font-size: 34px;
    line-height: 1.05;
}

.donation-content > p:last-child {
    max-width: 580px;

    margin: 8px 0 0;

    font-size: 13px;
}

.btn-white {
    margin-right: 30px;

    background: #fff;

    color: var(--orange-dark);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0,0,0,.12);
}


/* =========================================================
   SUPPORT
   ========================================================= */

.support-section {
    padding: 76px 0;

    background: #fff;
}

.support-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 22px;
}

.support-card {
    padding: 30px;

    display: flex;

    gap: 22px;

    border: 1px solid var(--border);

    border-radius: 15px;

    background: var(--cream);

    box-shadow: 0 5px 20px rgba(30,47,35,.05);
}

.support-icon {
    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: #fff;

    font-size: 22px;
}

.support-green {
    background: var(--green);
}

.support-orange {
    background: var(--orange);
}

.section-kicker-small {
    margin: 0 0 3px;

    color: var(--orange);

    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.support-card h2 {
    margin: 0 0 10px;

    color: var(--green-dark);

    font-family: "Nunito", sans-serif;

    font-size: 25px;
    line-height: 1.15;
}

.support-card p:not(.section-kicker-small) {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
}

.support-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-top: 16px;

    color: var(--orange-dark);

    font-size: 12px;
    font-weight: 900;
}

.support-link i {
    font-size: 12px;
}


/* =========================================================
   FINAL MESSAGE
   ========================================================= */

.home-message {
    padding: 70px 0;

    text-align: center;

    background: var(--cream);
}

.home-message .section-kicker {
    font-size: 17px;
}

.home-message h2 {
    max-width: 700px;

    margin: 10px auto;

    color: var(--green-dark);

    font-family: "Nunito", sans-serif;

    font-size: 40px;
    line-height: 1.08;
}

.home-message > .container > p:last-child {
    max-width: 620px;

    margin: 0 auto;

    color: var(--muted);

    font-size: 16px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding-top: 48px;

    background: var(--green-dark);

    color: rgba(255,255,255,.85);
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.35fr 1fr 1fr 1.35fr;

    gap: 50px;

    padding-bottom: 38px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
}

.footer-logo img {
    display: block;
    width: 205px;
    height: 70px;
    object-fit: contain;
    object-position: left center;
}

.footer-brand > p {
    max-width: 270px;

    margin: 12px 0 18px;

    color: rgba(255,255,255,.62);

    font-size: 12px;
    line-height: 1.55;
}

.footer-socials {
    display: flex;

    gap: 16px;
}

.footer-socials a {
    color: #fff;

    font-size: 17px;
}


.footer-column > a {
    display: block;

    margin: 8px 0;

    color: rgba(255,255,255,.68);

    font-size: 12px;
}

.footer-column > a:hover,
.footer-column address a:hover {
    color: var(--orange);
}

.footer-column address {
    display: grid;

    gap: 12px;

    margin: 0;

    font-style: normal;

    color: rgba(255,255,255,.68);

    font-size: 12px;
}

.footer-column address span,
.footer-column address a {
    display: flex;
    align-items: flex-start;

    gap: 9px;
}

.footer-column address i {
    width: 16px;

    flex: 0 0 16px;

    margin-top: 3px;

    color: var(--orange);
}

.footer-column address a {
    color: rgba(255,255,255,.68);
}

.footer-bottom {
    min-height: 55px;

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

    position: relative;

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

    color: rgba(255,255,255,.55);

    font-size: 12px;
}

.footer-bottom > i {
    position: absolute;
    right: 0;

    color: rgba(255,255,255,.25);

    font-size: 18px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
.impact-grid {
        gap: 40px;
    }

    .footer-grid {
        gap: 30px;
    }
}


@media (max-width: 900px) {
.impact-grid {
        grid-template-columns: 1fr;
    }

    .impact-image {
        max-width: 650px;
    }

    .stats-card {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: 0;
    }

    .donation-card {
        grid-template-columns: 210px 1fr;
    }

    .btn-white {
        grid-column: 1 / -1;
        margin: 0 25px 25px;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 600px) {

    .container {
        width: calc(100% - 30px);
    }
.hero {
        min-height: 590px;

        background-position: 68% center;
    }

    .hero-content {
        padding: 45px 0 110px;
    }

    .hero-script {
        font-size: 38px;
    }

    .hero h1 {
        font-size: 49px;
    }

    .hero p {
        max-width: 320px;
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .quick-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .quick-card {
        min-height: 185px;
        padding: 17px 8px;
    }

    .quick-card h2 {
        font-size: 14px;
    }

    .quick-card p {
        font-size: 12px;
    }

    .impact-section {
        padding: 60px 0 45px;
    }

    .impact-content h2 {
        font-size: 34px;
    }

    .impact-description {
        font-size: 14px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-card {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .stat-item:last-child {
        border-bottom: 0;
    }

    .donation-card {
        grid-template-columns: 1fr;
    }

    .donation-image {
        height: 190px;
    }

    .donation-content {
        padding: 25px 22px;
    }

    .donation-content h2 {
        font-size: 29px;
    }

    .btn-white {
        margin: 0 22px 22px;
    }

    .support-card {
        padding: 22px;
        flex-direction: column;
    }

    .home-message h2 {
        font-size: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        text-align: center;
        padding: 10px 30px;
    }
}
