@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wdth,wght@8..144,25..151,100..1000&display=swap');

/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--green);
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--green);
    color: #111;
    overflow-x: hidden;
    min-height: 100vh;
}

button,
input,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}

a {
    text-decoration: none;
}


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --green: #0a3663;
    --green-dark: #051d38;
    --lime: #ff3b30;
    --white: #ffffff;
    --soft: #f4f5f3;
    --gray: #737773;
    --black: #080808;
}


/* =========================================================
   PAGE LOADER
========================================================= */

.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;

    background: var(--green);

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

    transition:
        opacity .7s ease,
        visibility .7s ease;
}

.loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px;

    animation: loaderPulse 1s infinite alternate;
}

@keyframes loaderPulse {
    from {
        opacity: .4;
        transform: scale(.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


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

.donate-page {
    background: var(--soft);
}

.donation-shell {
    padding: 100px 7%;
    background: #f5f6f4;
}

.panel-eyebrow {
    display: inline-block;
    color: var(--lime);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.donation-wizard {
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    border: 0;
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .06);
}

.wizard-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    border-bottom: 1px solid #e7eaed;
}

.wizard-step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 21px 20px;
    color: #99a2aa;
    font-size: 13px;
}

.wizard-step:not(:last-child)::after {
    position: absolute;
    right: -1px;
    top: 20px;
    width: 1px;
    height: 25px;
    background: #e7eaed;
    content: "";
}

.wizard-step span {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 400;
}

.wizard-step strong { font-weight: 700; }
.wizard-step.is-active { color: var(--green); }
.wizard-step.is-active span { border-color: var(--lime); background: var(--lime); color: #fff; }
.wizard-step.is-complete { color: var(--green); }
.wizard-step.is-complete span { border-color: var(--green); background: var(--green); color: #fff; }

.donation-panel { padding: 46px clamp(25px, 7vw, 72px) 30px; }
.donation-panel h2 { margin: 10px 0; color: var(--green); font-size: clamp(30px, 4vw, 44px); font-weight: 500; letter-spacing: -.055em; }
.panel-copy { max-width: 570px; color: #68737d; font-size: 15px; line-height: 1.6; }

.donation-amount-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 11px;
    margin: 30px 0 16px;
}

.donation-amount-grid button {
    min-height: 57px;
    border: 1px solid #d9dee3;
    border-radius: 13px;
    background: #fff;
    color: var(--green);
    font-size: 16px;
    font-weight: 400;
    transition: transform .2s, border-color .2s, background .2s, color .2s;
}

.donation-amount-grid button:hover { transform: translateY(-2px); border-color: var(--lime); }
.donation-amount-grid button.selected { border-color: var(--lime); background: var(--lime); color: #fff; }

.wizard-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.wizard-field { display: grid; gap: 8px; color: var(--green); font-size: 13px; font-weight: 400; }
.wizard-field-wide { grid-column: 1 / -1; }
.wizard-field > span { color: #8d979e; font-weight: 400; }
.wizard-field input {
    width: 100%;
    height: 53px;
    padding: 0 15px;
    border: 1px solid #d9dee3;
    border-radius: 12px;
    outline: none;
    background: #fff;
    color: var(--green);
    font-size: 16px;
    transition: border-color .2s, box-shadow .2s;
}
.wizard-field input:focus { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(255, 59, 48, .12); }
.wizard-field input:invalid:not(:placeholder-shown) { border-color: #c7261f; }

.wizard-actions {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 22px clamp(25px, 7vw, 72px) 38px;
}

.wizard-actions button, .receipt-home {
    min-height: 49px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
}
.wizard-previous { border: 1px solid #d9dee3; background: #fff; color: var(--green); }
.wizard-next { margin-left: auto; border: 1px solid var(--lime); background: var(--lime); color: #fff; transition: transform .2s, box-shadow .2s; }
.wizard-next:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(255, 59, 48, .2); }

.receipt-panel { padding-bottom: 10px; text-align: center; }
.receipt-check { display: grid; width: 64px; height: 64px; margin: 0 auto 20px; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 32px; }
.receipt-panel .panel-copy { margin: auto; }
.receipt-details { display: grid; gap: 0; max-width: 500px; margin: 30px auto 0; text-align: left; border: 1px solid #e1e5e8; border-radius: 15px; overflow: hidden; }
.receipt-details div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 17px; border-bottom: 1px solid #e1e5e8; }
.receipt-details div:last-child { border-bottom: 0; }
.receipt-details dt { color: #76808a; font-size: 13px; }
.receipt-details dd { color: var(--green); font-size: 14px; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.receipt-home { display: inline-flex; align-items: center; margin: 26px auto 10px; background: var(--green); color: #fff; }

.donation-footer { padding: 25px 7%; }
.donation-footer .footer-bottom { padding-top: 0; }

@media (prefers-reduced-motion: reduce) {
    .partners-track { animation-play-state: paused; }
    *, *::before, *::after { scroll-behavior: auto !important; }
}

@media (max-width: 850px) {
    .donation-shell { padding: 50px 16px; }
    .donation-wizard { border-radius: 21px; }
    .wizard-step { justify-content: center; padding: 16px 8px; }
    .wizard-step strong { display: none; }
}

@media (max-width: 480px) {
    .wizard-steps { overflow: hidden; }
    .wizard-step { padding: 13px 4px; }
    .wizard-step span { width: 24px; height: 24px; font-size: 9px; }
    .wizard-step:not(:last-child)::after { top: 12px; height: 24px; }
    .donation-panel { padding: 31px 20px 20px; }
    .donation-amount-grid { grid-template-columns: 1fr 1fr; margin-top: 24px; }
    .wizard-form-grid { grid-template-columns: 1fr; gap: 15px; margin-top: 24px; }
    .wizard-field-wide { grid-column: auto; }
    .wizard-actions { padding: 18px 20px 28px; }
    .wizard-actions button { padding: 0 17px; }
}





/* =========================================================
   NAVBAR
========================================================= */

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    z-index: 500;

    padding: 12px 22px;

    transition:
        background .3s,
        backdrop-filter .3s;
}

.site-nav.scrolled {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.nav-inner {
    height: 64px;

    border: 1px solid rgba(255, 59, 48, .45);
    border-radius: 34px;

    padding: 0 10px 0 6px;

    display: flex;
    align-items: center;

    background: rgba(10, 54, 99, .25);
}


/* LOGO */

.logo {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: #fff;

    font-size: 19px;
    font-weight: 500;
    text-decoration: none;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.logo img {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: block;
}

.logo-mark {
    width: 27px;
    height: 29px;

    position: relative;
}

.logo-mark span {
    position: absolute;

    width: 10px;
    height: 20px;

    border: 2px solid var(--lime);

    border-radius: 50% 50% 50% 4px;
}

.logo-mark span:nth-child(1) {
    left: 2px;
    top: 6px;
    transform: rotate(-42deg);
}

.logo-mark span:nth-child(2) {
    left: 12px;
    top: 1px;
    transform: rotate(35deg);
}

.logo-mark span:nth-child(3) {
    left: 12px;
    top: 12px;
    transform: rotate(145deg);
}


/* NAV LINKS */

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;

    margin-left: auto;
    margin-right: 45px;
}

.nav-links button {
    background: transparent;
    border: 0;

    color: #fff;

    font-size: 15px;
    font-weight: 500;

    position: relative;
    padding: 6px 0;

    transition: color .3s;
}

.nav-links button::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 0;

    width: 0;
    height: 2px;

    background: var(--lime);

    transition: width .3s;
}

.nav-links button:hover,
.nav-links button.active {
    color: var(--lime);
}

.nav-links button:hover::after,
.nav-links button.active::after {
    width: 100%;
}


/* START BUTTON */

.start-btn {
    background: var(--lime);
    color: white;
    font-family: inherit;
    padding: 0.35em;
    padding-left: 1.2em;
    font-size: 17px;
    font-weight: 500;
    border-radius: 0.9em;
    border: none;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 1.6em -0.6em var(--lime);
    overflow: hidden;
    position: relative;
    height: 2.8em;
    padding-right: 3.3em;
}

.start-btn .icon {
    background: white;
    margin-left: 1em;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.2em;
    width: 2.2em;
    border-radius: 0.7em;
    box-shadow: 0.1em 0.1em 0.6em 0.2em rgba(255, 59, 48, 0.35);
    right: 0.3em;
    transition: all 0.3s;
}

.start-btn:hover .icon {
    width: calc(100% - 0.6em);
}

.start-btn.is-animating .icon {
    width: calc(100% - 0.6em);
}

.start-btn .icon svg {
    width: 1.1em;
    transition: transform 0.3s;
    color: var(--lime);
}

.start-btn:hover .icon svg {
    transform: translateX(0.1em);
}

.start-btn.is-animating .icon svg {
    transform: translateX(0.1em);
}

.start-btn:active .icon {
    transform: scale(0.95);
}


/* MENU BUTTON FOR MOBILE */

.menu-btn {
    display: none;

    border: 0;
    background: none;
    color: #fff;

    font-size: 23px;
}

#mobileMenu {
    position: fixed;
    top: 75px;
    left: 12px;
    right: 12px;
    z-index: 600;
    background: rgba(4, 42, 32, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 59, 48, 0.4);
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: none;
}

#mobileMenu button {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    color: #fff;
    padding: 13px 16px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 12px;
    transition: background 0.2s, color 0.2s;
}

#mobileMenu button:hover,
#mobileMenu button:active {
    background: rgba(255, 59, 48, 0.15);
    color: var(--lime);
}


/* =========================================================
   PAGE SYSTEM
========================================================= */

.page {
    display: none;
    min-height: 100vh;
}

.page.active {
    display: block;
}


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

.home-hero {
    padding: 105px 22px 18px;

    background: var(--green);

    color: #fff;

    display: flex;
    flex-direction: column;
}

.hero-frame {
    border: 1px solid rgba(255, 59, 48, .55);
    border-radius: 28px;

    padding: 40px 28px 18px;

    overflow: visible;

    display: flex;
    flex-direction: column;
}

.hero-grid {
    display: grid;
    grid-template-columns: 67% 33%;

    padding: 35px 10px 0;
}

.hero-title {
    font-size: clamp(62px, 7.4vw, 120px);

    font-weight: 400;

    line-height: .86;

    letter-spacing: -6px;

    max-width: 900px;

    animation: heroTitle 1s .2s both;
}

.hero-title span {
    display: block;
}

@keyframes heroTitle {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.hero-right {
    padding: 25px 0 0 20px;

    animation: heroRight 1s .45s both;
}

@keyframes heroRight {
    from {
        opacity: 0;
        transform: translateX(35px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.hero-right p {
    max-width: 340px;

    font-size: 16px;

    line-height: 1.4;

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

    margin-bottom: 24px;
}

.donate-btn {
    min-width: 178px;
}


/* HERO IMAGE */

.hero-photo {
    flex: 1;
    min-height: 250px;

    margin-top: 48px;

    border-radius: 19px;

    overflow: hidden;

    position: relative;

    animation: imageReveal 1.1s .5s both;
}

@keyframes imageReveal {
    from {
        opacity: 0;
        transform: translateY(40px);
        clip-path: inset(15% 0 0 0);
    }

    to {
        opacity: 1;
        transform: none;
        clip-path: inset(0);
    }
}

.hero-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 1.2s ease;
}

.hero-photo:hover img {
    transform: scale(1.04);
}


/* DONATION CARD */

.donation-card {
    position: absolute;

    left: 22px;
    bottom: 20px;

    width: 210px;

    padding: 18px;

    background: rgba(50, 50, 50, .68);

    backdrop-filter: blur(12px);

    border-radius: 13px;

    z-index: 5;
}

.donation-label {
    font-size: 14px;

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

    margin-bottom: 7px;
}

.donation-amount {
    font-size: 19px;

    margin-bottom: 13px;
}

.progress {
    width: 100%;
    height: 3px;

    background: rgba(255, 255, 255, .35);
}

.progress span {
    display: block;

    width: 86%;
    height: 100%;

    background: var(--lime);

    animation: progress 1.8s .8s both;
}

@keyframes progress {
    from {
        width: 0;
    }

    to {
        width: 86%;
    }
}

.donation-meta {
    display: flex;
    justify-content: space-between;

    font-size: 14px;

    margin-top: 8px;

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

.donation-purpose {
    margin-top: 8px;

    font-size: 14px;

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


/* =========================================================
   PARTNER STRIP
========================================================= */

.partners {
    height: 110px;

    display: flex;
    align-items: center;
    padding: 0;

    background: #fff;

    overflow: hidden;
}

.partners-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: partnerScroll 26s linear infinite;
}

.partners-group {
    display: flex;
    align-items: center;
    gap: clamp(42px, 7vw, 120px);
    padding-right: clamp(42px, 7vw, 120px);
}

@keyframes partnerScroll {
    to { transform: translateX(-50%); }
}

.partners:hover .partners-track {
    animation-play-state: paused;
}

.partner {
    font-size: 18px;
    font-weight: 700;

    white-space: nowrap;

    opacity: .85;
}

.partner:nth-child(1) {
    color: #d8dddd;
}

.partner:nth-child(2) {
    color: #222;
}

.partner:nth-child(3) {
    letter-spacing: -1px;
}

.partner:nth-child(4) {
    font-size: 18px;
}

.partner:nth-child(5) {
    color: #d64e90;
}

.partner:nth-child(6) {
    color: #203a70;
    font-style: italic;
}

.partner:nth-child(7) {
    color: #d8dddd;
}


/* =========================================================
   ABOUT PREVIEW
========================================================= */

.about-preview {
    padding: 90px 7%;

    display: grid;
    grid-template-columns: 48% 52%;

    gap: 60px;

    background: #fff;
}

.about-card {
    background: #f4f4f4;

    border-radius: 23px;

    padding: 28px;

    overflow: hidden;

    transform: translateY(30px);
    opacity: 0;

    transition:
        transform .8s,
        opacity .8s;
}

.about-card.visible {
    transform: none;
    opacity: 1;
}

.pill {
    border: 1px solid #999;

    border-radius: 20px;

    display: inline-flex;

    padding: 7px 12px;

    font-size: 14px;
}

.about-card h2 {
    margin-top: 17px;

    font-size: 32px;

    font-weight: 400;

    line-height: 1.05;

    letter-spacing: -1.5px;
}

.about-card-image {
    height: 150px;

    margin-top: 48px;

    border-radius: 15px;

    overflow: hidden;

    position: relative;
}

.about-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .8s;
}

.about-card:hover img {
    transform: scale(1.06);
}

/* PIXEL SWAP */

.about-card .pixel-swap {
    height: 180px;
    margin-top: 48px;
    border-radius: 15px;
}

.pixel-swap {
    position: relative;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
    outline: none;
    cursor: pointer;
}

.pixel-swap__layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
}

.pixel-swap__layer[data-visible='false'] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.pixel-swap__layer[data-visible='true'] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.pixel-swap__grid {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.pixel-swap__pixel {
    position: absolute;
    overflow: hidden;
    opacity: 0;
    contain: paint;
}

.pixel-swap__pixel-content {
    position: absolute;
}

.tags {
    position: absolute;

    bottom: 10px;
    left: 12px;

    display: flex;
    flex-wrap: wrap;

    gap: 5px;

    pointer-events: none;
    z-index: 10;
}

.tag {
    background: #fff;

    padding: 5px 9px;

    border-radius: 15px;

    font-size: 14px;
}

.tag.green {
    background: var(--lime);

    color: var(--green);

    font-weight: 700;
}

/* TEXT PRESSURE ANIMATED TITLE */

.text-pressure-container {
    position: relative;
    width: 100%;
    margin: 15px 0 20px;
    overflow: hidden;
}

.text-pressure-title {
    font-family: 'Roboto Flex', sans-serif;
    text-transform: uppercase;
    font-size: clamp(32px, 5.5vw, 76px);
    line-height: 1.05;
    letter-spacing: -1px;
    margin: 0;
    text-align: center;
    user-select: none;
    white-space: nowrap;
    font-weight: 100;
    width: 100%;
    display: flex;
    justify-content: space-between;
    color: var(--green);
}

.page-heading .text-pressure-title {
    color: var(--white);
    font-size: clamp(38px, 8vw, 95px);
    margin-top: 15px;
}

.text-pressure-title span {
    display: inline-block;
    will-change: font-variation-settings;
}


/* ABOUT TEXT */

.about-text {
    padding: 50px 5% 0 0;

    opacity: 0;
    transform: translateX(30px);

    transition:
        opacity .8s,
        transform .8s;
}

.about-text.visible {
    opacity: 1;
    transform: none;
}

.about-text h2 {
    max-width: 550px;

    font-size: 32px;

    line-height: 1.05;

    font-weight: 400;

    letter-spacing: -1.2px;
}

.about-text p {
    max-width: 500px;

    margin-top: 25px;

    color: #777;

    font-size: 14px;

    line-height: 1.6;
}

.actions {
    display: flex;
    align-items: center;

    gap: 18px;

    margin-top: 25px;
}

.black-btn {
    height: 40px;

    border: 0;
    border-radius: 25px;

    background: #000;
    color: #fff;

    padding: 0 7px 0 18px;

    display: flex;
    align-items: center;

    gap: 15px;

    font-size: 14px;
}

.black-arrow {
    width: 27px;
    height: 27px;

    background: #fff;
    color: #000;

    border-radius: 50%;

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

.team-link {
    color: #111;

    font-size: 14px;
}


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

.inner-page {
    padding-top: 0;

    background: #fff;
}

.inner-page .page-heading {
    padding-top: 150px;
}

.page-heading {
    background: var(--green);

    color: #fff;

    min-height: 450px;

    padding: 80px 7%;

    position: relative;

    overflow: hidden;
}

.page-heading::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    border: 1px solid rgba(255, 59, 48, .2);

    right: -150px;
    top: -220px;

    animation: floatCircle 8s ease-in-out infinite;
}

@keyframes floatCircle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(30px);
    }
}

.page-label {
    color: var(--lime);

    font-size: 14px;

    text-transform: uppercase;

    letter-spacing: 3px;
}

.page-heading h1 {
    font-size: clamp(55px, 8vw, 110px);

    font-weight: 400;

    letter-spacing: -5px;

    line-height: .88;

    margin-top: 20px;

    max-width: 950px;
}

.page-heading p {
    margin-top: 25px;

    max-width: 500px;

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

    line-height: 1.5;

    font-size: 14px;
}


/* =========================================================
   CAMPAIGNS
========================================================= */

.campaigns-section {
    padding: 90px 7%;
    background: #ffffff;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;

    margin-bottom: 45px;
}

.section-title h2 {
    font-size: 48px;

    font-weight: 400;

    letter-spacing: -2px;
}

.section-title p {
    max-width: 360px;

    color: #777;

    font-size: 14px;

    line-height: 1.5;
}

.campaign-grid {
    display: grid;

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

    gap: 22px;
}

.campaign {
    background: #f5f5f3;

    border-radius: 20px;

    overflow: hidden;

    transition:
        transform .4s,
        box-shadow .4s;
}

.campaign:hover {
    transform: translateY(-10px);

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

.campaign-img {
    height: 220px;

    overflow: hidden;
}

.campaign-img img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .7s;
}

.campaign:hover img {
    transform: scale(1.08);
}

.campaign-body {
    padding: 22px;
}

.campaign-status {
    display: inline-block;

    background: var(--lime);

    color: var(--green);

    padding: 5px 10px;

    border-radius: 15px;

    font-size: 14px;

    font-weight: 700;
}

.campaign h3 {
    font-size: 21px;

    font-weight: 500;

    margin-top: 15px;
}

.campaign p {
    color: #777;

    font-size: 14px;

    line-height: 1.5;

    margin-top: 10px;
}

.campaign-progress {
    margin-top: 20px;

    height: 4px;

    background: #ddd;
}

.campaign-progress span {
    display: block;

    height: 100%;

    background: var(--green);
}

.campaign-footer {
    display: flex;
    justify-content: space-between;

    margin-top: 12px;

    font-size: 14px;
}


/* =========================================================
   ABOUT PAGE
========================================================= */

.about-page-content {
    padding: 90px 7%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;
}

.about-page-content h2 {
    font-size: 55px;

    font-weight: 400;

    line-height: .95;

    letter-spacing: -3px;
}

.about-page-content p {
    color: #666;

    font-size: 14px;

    line-height: 1.7;

    margin-bottom: 20px;
}

.about-image {
    width: 100%;
    height: 500px;

    border-radius: 25px;

    overflow: hidden;
    position: relative;
}

.about-image .pixel-swap {
    height: 100%;
    width: 100%;
    border-radius: 25px;
}

.about-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 1s;
}

.about-image:hover img {
    transform: scale(1.05);
}


/* =========================================================
   HOW IT WORKS — STEPPER
========================================================= */

.stepper-section {
    padding: 100px 7%;

    background: #f5f6f4;
}

.stepper-wrap {
    max-width: 1000px;

    margin: auto;
}

.stepper-progress {
    display: flex;

    align-items: center;

    margin-bottom: 70px;
}

.step-line {
    flex: 1;

    height: 2px;

    background: #d5d8d4;

    position: relative;
}

.step-line.active {
    background: var(--green);
}

.step-circle {
    width: 45px;
    height: 45px;

    border-radius: 50%;

    border: 1px solid #bbb;

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

    background: #fff;

    color: #777;

    font-size: 14px;

    transition: .4s;
}

.step-circle.active {
    background: var(--green);

    border-color: var(--green);

    color: var(--lime);

    transform: scale(1.1);
}

.step-content {
    min-height: 330px;

    background: #fff;

    border-radius: 25px;

    padding: 50px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, .06);

    text-align: center;

    animation: stepIn .5s ease;
}

@keyframes stepIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.step-number {
    color: var(--green);

    font-size: 14px;

    text-transform: uppercase;

    letter-spacing: 3px;
}

.step-content h2 {
    font-size: 44px;

    font-weight: 400;

    letter-spacing: -2px;

    margin-top: 15px;
}

.step-content p {
    max-width: 550px;

    margin: 20px auto;

    color: #777;

    font-size: 14px;

    line-height: 1.6;
}

.step-buttons {
    display: flex;

    justify-content: center;

    gap: 12px;

    margin-top: 30px;
}

.step-btn {
    padding: 13px 23px;

    border-radius: 25px;

    border: 1px solid #ddd;

    background: #fff;
}

.step-btn.next {
    background: var(--green);

    color: #fff;

    border-color: var(--green);
}


/* =========================================================
   RESOURCES
========================================================= */

.resources {
    padding: 90px 7%;
}

.resource-grid {
    display: grid;

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

    gap: 22px;
}

.resource {
    border: 1px solid #e5e5e5;

    border-radius: 20px;

    padding: 28px;

    transition: .35s;
}

.resource:hover {
    background: var(--green);

    color: #fff;

    transform: translateY(-7px);
}

.resource-number {
    color: var(--green);

    font-size: 14px;
}

.resource:hover .resource-number {
    color: var(--lime);
}

.resource h3 {
    font-size: 23px;

    font-weight: 400;

    margin-top: 40px;
}

.resource p {
    color: #777;

    font-size: 14px;

    line-height: 1.6;

    margin-top: 15px;
}

.resource:hover p {
    color: rgba(255, 255, 255, .7);
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    padding: 90px 7%;

    display: grid;

    grid-template-columns: 45% 55%;

    gap: 70px;
}

.contact-section h2 {
    font-size: 65px;

    font-weight: 400;

    letter-spacing: -4px;

    line-height: .9;
}

.contact-section p {
    margin-top: 25px;

    color: #777;

    font-size: 14px;

    line-height: 1.6;
}

.contact-form {
    background: #f5f5f3;

    border-radius: 25px;

    padding: 35px;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;

    font-size: 14px;

    margin-bottom: 8px;

    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;

    border: 1px solid #ddd;

    border-radius: 10px;

    padding: 14px;

    outline: none;

    background: #fff;

    transition: .25s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--green);

    box-shadow: 0 0 0 3px rgba(10, 54, 99, .08);
}

.form-group textarea {
    height: 120px;

    resize: none;
}

.submit-btn {
    height: 45px;

    padding: 0 25px;

    border: 0;

    border-radius: 25px;

    background: var(--green);

    color: #fff;
}

.submit-btn:hover {
    background: var(--green-dark);
}


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

.modal {
    position: fixed;

    inset: 0;

    z-index: 9000;

    display: flex;

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

    padding: 20px;

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

    backdrop-filter: blur(8px);

    opacity: 0;
    visibility: hidden;

    transition: .4s;
}

.modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    width: 100%;
    max-width: 520px;

    background: #fff;

    border-radius: 25px;

    padding: 35px;

    transform: translateY(30px) scale(.97);

    transition: .4s;
}

.modal.open .modal-box {
    transform: none;
}

.modal-header {
    display: flex;

    justify-content: space-between;

    align-items: center;
}

.modal-header h2 {
    font-size: 30px;

    font-weight: 400;
}

.close-modal {
    width: 35px;
    height: 35px;

    border: 0;

    border-radius: 50%;

    background: #f1f1f1;

    font-size: 18px;
}

.amount-options {
    display: grid;

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

    gap: 8px;

    margin: 25px 0;
}

.amount {
    height: 45px;

    border: 1px solid #ddd;

    background: #fff;

    border-radius: 10px;
}

.amount.selected {
    background: var(--green);

    color: #fff;

    border-color: var(--green);
}

.donate-submit {
    width: 100%;

    height: 48px;

    border: 0;

    border-radius: 25px;

    background: var(--lime);

    color: var(--green);

    font-weight: 700;
}


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

.footer {
    background: var(--green);

    color: #fff;

    padding: 70px 7% 30px;
}

.footer-top {
    display: grid;

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

    gap: 40px;
}

.footer-brand {
    font-size: 27px;

    font-weight: 700;
}

.footer-brand p {
    max-width: 300px;

    margin-top: 15px;

    font-size: 14px;

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

    line-height: 1.6;
}

.footer-col h4 {
    color: var(--lime);

    font-size: 14px;

    margin-bottom: 18px;
}

.footer-col button {
    display: block;

    border: 0;
    background: none;

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

    margin-bottom: 12px;

    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .15);

    margin-top: 60px;

    padding-top: 20px;

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

    font-size: 14px;
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(45px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.show {
    opacity: 1;

    transform: none;
}


/* =========================================================
   SCROLL STACK CARDS (HERO ANIMATION)
========================================================= */

.scroll-stack-scroller {
    position: relative;
    width: 100%;
    margin-top: 25px;
    padding-bottom: 0;
}

.scroll-stack-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.scroll-stack-card {
    position: sticky;
    top: 100px;
    height: 420px;
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: none;
    transform-origin: top center;
    will-change: transform, filter;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.15s ease-out;
    background: #051d38;
}

.scroll-stack-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s ease;
}

.scroll-stack-card:hover .scroll-stack-card-bg {
    transform: scale(1.03);
}

.scroll-stack-card-overlay {
    display: none;
}

.scroll-stack-card-content {
    position: absolute;
    bottom: 32px;
    left: 35px;
    right: 35px;
    z-index: 3;
    color: #fff;
}

.scroll-stack-card-content h2 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

.scroll-stack-card-content p {
    font-size: 15px;
    opacity: 0.95;
    max-width: 650px;
    line-height: 1.45;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.scroll-stack-end {
    width: 100%;
    height: 1px;
}


/* =========================================================
   RESPONSIVE & MOBILE OPTIMIZATIONS
========================================================= */

@media(max-width:1024px) {
    .hero-title {
        font-size: clamp(52px, 7vw, 90px);
    }

    .nav-links {
        gap: 22px;
        margin-right: 25px;
    }

    .nav-links button {
        font-size: 14px;
    }

    @media(max-width:850px) {

        .site-nav {
            padding: 8px 12px;
        }

        .nav-inner {
            height: 56px;
            padding: 0 8px 0 6px;
        }

        .logo {
            font-size: 15px;
            gap: 8px;
        }

        .logo img {
            width: 38px;
            height: 38px;
        }

        .nav-links {
            display: none;
        }

        .menu-btn {
            display: block;
            margin-left: auto;
            margin-right: 10px;
            font-size: 22px;
        }

        .start-btn {
            height: 38px;
            padding: 0 16px;
            font-size: 14px;
            font-weight: 500;
        }

        .home-hero {
            padding: 82px 10px 14px;
        }

        .hero-frame {
            border-radius: 20px;
            padding: 22px 12px 14px;
        }

        .hero-grid {
            display: block;
            position: sticky;
            top: 82px;
            z-index: 20;
            background: var(--green);
            border-radius: 16px;
            padding: 15px 0 0;
        }

        .hero-title {
            font-size: clamp(38px, 8.5vw, 64px);
            letter-spacing: -2px;
            line-height: 0.95;
        }

        .hero-right {
            padding: 20px 0 0;
        }

        .hero-right p {
            font-size: 14px;
            line-height: 1.5;
        }

        .donate-btn {
            width: 100%;
            justify-content: center;
            height: 48px;
            font-size: 15px;
            margin-top: 15px;
        }

        .scroll-stack-scroller {
            margin-top: 18px;
            padding-bottom: 0;
        }

        .scroll-stack-inner {
            gap: 16px;
        }

        .scroll-stack-card {
            height: 320px;
            top: 360px;
            border-radius: 18px;
            margin-bottom: 12px;
            border: 1px solid rgba(255, 255, 255, 0.12);
        }

        .scroll-stack-card-content {
            bottom: 18px;
            left: 18px;
            right: 18px;
        }

        .scroll-stack-card-content h2 {
            font-size: 22px;
            margin-bottom: 6px;
        }

        .scroll-stack-card-content p {
            font-size: 14px;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .donation-card {
            top: 12px;
            right: 12px;
            padding: 12px 14px;
            width: 150px;
        }

        .donation-amount {
            font-size: 18px;
        }

        .partners {
            justify-content: flex-start;
            gap: 30px;
            overflow-x: auto;
            padding: 0 15px;
        }

        .about-preview {
            grid-template-columns: 1fr;
            padding: 50px 16px;
            gap: 30px;
        }

        .about-text {
            padding: 0;
        }

        .page-heading {
            padding: 85px 18px 45px;
            min-height: 320px;
        }

        .page-heading h1 {
            font-size: clamp(34px, 8vw, 56px);
            letter-spacing: -2px;
        }

        .campaigns-section,
        .resources,
        .stepper-section,
        .contact-section,
        .about-page-content {
            padding: 50px 16px;
        }

        .campaign-grid,
        .resource-grid,
        .team-grid {
            grid-template-columns: 1fr;
            gap: 25px;
        }

        .section-title {
            display: block;
        }

        .section-title h2 {
            font-size: 34px;
        }

        .section-title p {
            margin-top: 12px;
            font-size: 14px;
        }

        .about-page-content {
            grid-template-columns: 1fr;
            gap: 30px;
        }

        .about-page-content h2 {
            font-size: 36px;
        }

        .about-image {
            height: 280px;
        }

        .step-content {
            padding: 25px 16px;
        }

        .step-content h2 {
            font-size: 26px;
        }

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

        .contact-section h2 {
            font-size: 38px;
        }

        .contact-form {
            padding: 24px 16px;
            border-radius: 18px;
        }

        .form-row {
            grid-template-columns: 1fr;
            gap: 15px;
        }

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

    @media(max-width:480px) {

        .site-nav {
            padding: 6px 8px;
        }

        .nav-inner {
            height: 52px;
            padding: 0 6px 0 4px;
        }

        .logo {
            font-size: 14px;
            gap: 6px;
        }

        .logo img {
            width: 34px;
            height: 34px;
        }

        .start-btn {
            height: 34px;
            padding: 0 12px;
            font-size: 14px;
        }

        .home-hero {
            padding: 76px 8px 12px;
        }

        .hero-frame {
            border-radius: 18px;
            padding: 18px 10px 10px;
        }

        .hero-title {
            font-size: clamp(34px, 10vw, 48px);
        }

        .hero-grid {
            top: 76px;
            border-radius: 14px;
            padding-top: 12px;
        }

        .scroll-stack-scroller {
            margin-top: 14px;
            padding-bottom: 0;
        }

        .scroll-stack-inner {
            gap: 12px;
        }

        .scroll-stack-card {
            height: 280px;
            top: 330px;
            border-radius: 16px;
            margin-bottom: 8px;
        }

        .scroll-stack-card-content {
            bottom: 14px;
            left: 14px;
            right: 14px;
        }

        .scroll-stack-card-content h2 {
            font-size: 19px;
            margin-bottom: 4px;
        }

        .donation-card {
            width: 135px;
            padding: 10px;
        }

        .donation-label {
            font-size: 14px;
        }

        .donation-amount {
            font-size: 16px;
        }

        .page-heading h1 {
            font-size: 38px;
        }

        .amount-options {
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        .footer-top {
            grid-template-columns: 1fr;
        }
    }

/* Preserve the original rounded navigation while keeping CTA text and icon visible. */
@media (max-width: 850px) {
    .site-nav,
    .site-nav.scrolled {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .site-nav .nav-inner {
        background: var(--green);
    }

    .site-nav .start-btn {
        padding: 0 43px 0 12px;
        font-size: 12px;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .site-nav .start-btn .icon {
        display: flex;
        width: 32px;
        height: 32px;
        margin-left: 0;
        right: 3px;
    }

    .site-nav .start-btn:hover .icon,
    .site-nav .start-btn.is-animating .icon {
        width: calc(100% - 0.6em);
    }

    .site-nav .start-btn:hover .icon svg,
    .site-nav .start-btn.is-animating .icon svg {
        transform: translateX(0.1em);
    }

    .donate-btn.start-btn {
        padding-right: 3.3em;
        padding-left: 1.2em;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .site-nav .start-btn {
        padding: 0 39px 0 10px;
        font-size: 11px;
    }

    .site-nav .start-btn .icon {
        width: 28px;
        height: 28px;
    }

    .site-nav .start-btn:hover .icon,
    .site-nav .start-btn.is-animating .icon {
        width: calc(100% - 0.6em);
    }

    .donate-btn.start-btn {
        height: 48px;
        padding-right: 3.3em;
        padding-left: 1.2em;
        font-size: 15px;
    }
}

@media (hover: none) {
    .start-btn:active .icon {
        width: calc(100% - 0.6em);
    }

    .start-btn:active .icon svg {
        transform: translateX(0.1em);
    }
}

}
