/* ============================================================
   get-involved.css  –  Get Involved page
   Distinct teal/warm-cream identity, sister to sponsor-a-child
   ============================================================ */

@font-face {
    font-family: 'Enviro';
    src: url('/assets/fonts/enviro_font/regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}

:root {
    --background-color: #ffffff;
    --gi-black: #16324f;
    --gi-black-deep: #111111;
    --gi-black-dark: #111111;
    --gi-black-soft: #cad7e5;
    --gi-black-faint: #f6fafe;
    --gi-cream: #f5f8fc;
    --gi-cream-deep: #eef5ff;
    --gi-text: #16324f;
    --gi-text-soft: #5b7087;
    --gi-text-muted: #7b8c9f;
    --gi-white: #ffffff;
    --gi-border: #cad7e5;
    --gi-shadow: 0 16px 36px rgba(22,50,79,0.08);
    --gi-shadow-hover: 0 16px 40px rgba(22,50,79,0.12);
    --gi-danger: #dc2626;
    --gi-warning: #f0c419;
    --gi-warning-deep: #c79c00;
    --site-font: "Neighbour Sans", neighbourSans, Arial, Helvetica, sans-serif;
    --readable-font: "Trebuchet MS","Segoe UI",Arial,Helvetica,sans-serif;
    --font-display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html, body { overflow-x: hidden; }

/* ── BODY – warm cream (instead of navy) ─────────────────────── */
body.gi-page {
    margin: 0;
    font-family: var(--site-font);
    color: var(--gi-text);
    background: var(--gi-white);
    min-height: 100vh;
}

/* ── Ambient decoration ───────────────────────────────────────── */
/* (gi-ambient removed – sponsor-a-child style hero uses a plain cream body bg) */

/* ── WRAP – white content area ────────────────────────────────── */
.wrap {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px 0;
    background: var(--gi-white);
    box-shadow: 0 24px 60px rgba(15,23,42,0.06);
}

/* ── SHARED SECTION HEADERS ───────────────────────────────────── */
.gi-section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.gi-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--gi-black-faint);
    color: var(--gi-black);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.gi-kicker--light {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.gi-section-title {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--gi-text);
    letter-spacing: -0.02em;
}

.gi-section-desc {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gi-text-soft);
}

.proj-card__image--empty { background: linear-gradient(90deg, #e6eef9, #f5f8fc); }

/* ═══════════════════════════════════════════════════════════════
   HERO – reuses .top / .hero-copy / .hero-aside / .hero-card
   styles from sponsor-a-child.css. Keeping the body bg cream
   and the .wrap container gives this page the same WordPress-
   template feel as sponsor-a-child without duplicating CSS.
   ═══════════════════════════════════════════════════════════════ */
.top {
    position: relative;
    margin-bottom: 34px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: hidden;
}
.top::before,
.top::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}
.top::before {
    width: 220px;
    height: 220px;
    right: 10%;
    bottom: -90px;
    background: none;
    filter: blur(10px);
    animation: giFloat 10s ease-in-out infinite;
}
.top::after {
    width: 140px;
    height: 140px;
    left: 8%;
    top: -70px;
    background: none;
    filter: blur(6px);
    animation: giFloat 8s ease-in-out infinite reverse;
}
.top-with-filters { margin-bottom: 0; padding-bottom: 0; }
.top-shell {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    gap: 28px;
    align-items: center;
    margin: 0;
    width: 100%;
    max-width: none;
    min-height: 640px;
    padding: 40px 32px;
}
.hero-copy {
    position: relative;
    z-index: 2;
    grid-column: 2;
    justify-self: end;
    text-align: right;
    max-width: 620px;
    color: #ffffff;
    text-shadow: 0 18px 40px rgba(0,0,0,0.25);
}
.hero-slider {
    min-height: 560px;
}
.hero-title-rotator {
    display: block;
    font-size: clamp(2.8rem, 5vw, 4.75rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: #ffffff;
    margin: 0;
}
.hero-title-rotator__text {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.22em;
    will-change: transform, opacity;
}
.hero-title-rotator__primary {
    color: #ffffff;
}
.hero-title-rotator__secondary {
    color: #f8fafc;
}
.sub {
    margin-top: 18px;
    max-width: 60ch;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.92);
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}
.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-btn:hover,
.hero-btn:focus-visible { transform: translateY(-2px); }
.hero-btn-primary {
    background: linear-gradient(135deg, #272727, #111111);
    color: #fff;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}
.hero-btn-secondary {
    background: #eef2ff;
    color: #334155;
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 10px 24px rgba(15,23,42,0.06);
}
.hero-aside {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 24px;
    align-content: center;
    pointer-events: none;
}
.hero-card {
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}
.hero-aside .hero-card-primary {
    background: transparent;
    border-color: transparent;
}
.hero-slider {
    position: absolute;
    inset: 0;
    min-height: 720px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: transparent;
    border-radius: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    background-color: var(--gi-white);
    overflow: hidden;
}
.hero-slide.active {
    opacity: 1;
}
.hero-slide__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.35s ease;
}
.hero-slide__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.42));
}
.hero-slide__copy {
    margin: 16px 0 0;
    max-width: 56ch;
    color: rgba(255,255,255,0.96);
    line-height: 1.7;
}
.hero-slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}
.hero-slide-actions .hero-btn {
    min-width: 180px;
}
.hero-slider__dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}
.hero-slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(15,23,42,0.18);
    background: rgba(255,255,255,0.65);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.hero-slider__dot:hover {
    transform: scale(1.2);
    background: rgba(255,255,255,0.9);
}
.hero-slider__dot.active {
    background: #f59e0b;
    border-color: #d97706;
}
.hero-slide__overlay .hero-card-accent {
    background: rgba(255,255,255,0.18);
    color: #eef2ff;
}
.hero-card-primary {
    transform: none;
}
.hero-aside .hero-card-primary {
    background: transparent;
    border-color: transparent;
}
.hero-card-accent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(245,158,11,0.14);
    color: #d97706;
    font-size: 0.82rem;
    font-weight: 700;
}
.hero-stat-label {
    display: block;
    margin-top: 16px;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #FFC924;
    font-weight: 800;
}
.hero-stat-value {
    display: block;
    margin-top: 8px;
    font-size: clamp(2.3rem, 4vw, 3.3rem);
    line-height: 1;
    color: #ffffff;
}
.hero-card-copy {
    margin: 12px 0 0;
    font-size: 0.96rem;
    line-height: 1.7;
    color: #334155;
}
.hero-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.hero-mini-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(245,158,11,0.12);
    box-shadow: 0 16px 30px rgba(15,23,42,0.06);
}
.hero-mini-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(245,158,11,0.18), rgba(251,191,36,0.18));
    color: #d97706;
}
@keyframes giFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ═══════════════════════════════════════════════════════════════
   HOW YOU CAN HELP
   ═══════════════════════════════════════════════════════════════ */
.gi-help {
    position: relative;
    z-index: 1;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 56px 32px 40px;
    background: var(--gi-cream);
    box-shadow: 0 16px 36px rgba(22,50,79,0.08);
}

.gi-help__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1216px;
    margin: 0 auto;
    align-items: stretch;
}

.gi-help-card {
    padding: 28px 24px;
    border-radius: 20px;
    background: var(--gi-white);
    border: 1px solid var(--gi-border);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gi-help-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(22,50,79,0.08);
    border-color: rgba(240,196,25,0.35);
}

.gi-help-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.2rem;
    background: var(--gi-cream);
    color: var(--gi-black);
}

.gi-help-card--donate .gi-help-card__icon,
.gi-help-card--support .gi-help-card__icon,
.gi-help-card--fundraise .gi-help-card__icon,
.gi-help-card--pray .gi-help-card__icon {
    background: var(--gi-cream);
    color: var(--gi-black);
}

.gi-help-card__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gi-text);
}

.gi-help-card__desc {
    margin: 0;
    font-family: var(--readable-font);
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--gi-text-soft);
    flex: 1;
}

.gi-help-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: inherit;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.gi-help-card__cta:hover {
    gap: 10px;
}

.gi-help-card__cta.btn-outline-secondary {
    --bs-btn-color: var(--gi-black);
    --bs-btn-border-color: rgba(240,196,25,0.75);
    --bs-btn-hover-bg: var(--gi-warning);
    --bs-btn-hover-border-color: var(--gi-warning);
    --bs-btn-hover-color: var(--gi-black);
    --bs-btn-active-bg: var(--gi-warning-deep);
    --bs-btn-active-border-color: var(--gi-warning-deep);
    --bs-btn-active-color: var(--gi-black);
}

/* ═══════════════════════════════════════════════════════════════
   PROJECTS
   ═══════════════════════════════════════════════════════════════ */
.gi-projects {
    position: relative;
    z-index: 1;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 40px 32px 32px;
    background: var(--gi-cream);
    box-shadow: 0 16px 36px rgba(22,50,79,0.08);
}

.gi-projects .proj-grid {
    max-width: 1216px;
    margin: 0 auto;
}

/* ── FILTERS BAR (self-contained — no external dependency) ──── */
.filters-bar {
    display: grid;
    grid-template-columns: 1.4fr repeat(2, minmax(0,1fr)) auto;
    gap: 12px;
    align-items: end;
    margin: 0 0 24px;
    padding: 18px;
    background: var(--gi-cream);
    border: 1px solid var(--gi-border);
    border-radius: 12px;
}

.filters-attached {
    width: min(100% - 64px, 1216px);
    margin: 0 auto 24px;
    position: relative;
    z-index: 2;
    background: var(--gi-cream);
    border: 1px solid var(--gi-border);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(28,25,23,0.04);
}

.filter-group {
    display: grid;
    gap: 6px;
}

.filter-label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--gi-text-soft);
}

.filter-control {
    width: 100%;
    min-height: 44px;
    padding: 11px 14px;
    border: 1px solid var(--gi-border);
    border-radius: 8px;
    background: var(--gi-white);
    color: var(--gi-text);
    font: inherit;
}

.filter-control:focus {
    border-color: var(--gi-gold);
    box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
    outline: none;
}

.filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-button,
.filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    font-family: var(--site-font);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.filter-button {
    border: 1px solid rgba(0,0,0,0.12);
    background: transparent;
    color: var(--gi-black);
}

.filter-button:hover {
    background: var(--gi-gold-soft);
}

.filter-reset {
    border: 1px solid transparent;
    background: var(--gi-gold-soft);
    color: var(--gi-gold-deep);
}

.filter-reset:hover {
    background: var(--gi-gold);
    color: #fff;
}

.results-summary {
    margin: 0 0 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gi-text-soft);
}

.count {
    background: transparent;
    color: var(--gi-text);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 600;
    border: 1px solid var(--gi-border);
}

/* ── PROJECT GRID ─────────────────────────────────────────────── */
.proj-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(420px, 1fr));
    gap: 28px;
}

/* ── PROJECT CARD ─────────────────────────────────────────────── */
.proj-card {
    position: relative;
    display: block;
    min-height: 500px;
    border-radius: 22px;
    border: 1px solid rgba(0,0,0,0.1);
    overflow: hidden;
    width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    background: transparent;
}

.proj-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--gi-shadow-hover);
    border-color: rgba(240,196,25,0.35);
}

.proj-card__image-link {
    position: absolute;
    inset: 0;
    display: block;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
}

.proj-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.35s ease;
}

.proj-card:hover .proj-card__image {
    transform: scale(1.04);
}

.proj-card__category,
.proj-card__funded,
.proj-badge {
    z-index: 2;
}

.proj-card__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(10,22,45,0.92) 92%);
    color: #ffffff;
}

.proj-card__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.proj-card__snippet {
    margin: 0;
    font-family: var(--readable-font);
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.86);
    flex: 1;
}

.proj-card__meta {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.proj-card__meta i { color: rgba(255,255,255,0.7); }

.proj-card__progress-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.proj-card__progress-bar {
    width: 100%;
    height: 7px;
    border-radius: 999px;
    background: rgba(255,255,255,0.15);
    overflow: hidden;
}

.proj-card__progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #272727, #111111);
    transition: width 0.6s ease;
}

.proj-card__progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gi-text-soft);
}

.proj-card__progress-labels strong {
    color: var(--gi-text);
    font-weight: 700;
}

.proj-card__donation {
    margin-top: 16px;
    display: grid;
    gap: 12px;
}

.proj-card__donation-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.proj-card__donation-row label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.86);
    min-width: 96px;
}

.proj-card__freq {
    min-width: 150px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.proj-card__amount-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.proj-card__amount-btn {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.1);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.proj-card__amount-btn.active,
.proj-card__amount-btn:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.36);
}

.proj-card__amount-input,
.proj-card__laptop-qty {
    width: 100px;
    min-width: 100px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.proj-card__qty-btn {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.1);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.proj-card__qty-btn.active,
.proj-card__qty-btn:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.36);
}

.proj-card__donation-total-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.proj-card__donation-amount,
.proj-card__donation-total {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255,255,255,0.92);
}

.proj-card__donation-amount {
    min-width: 170px;
}

.proj-card__donation-total {
    min-width: 120px;
}

.proj-card__cta.disabled {
    pointer-events: none;
    opacity: 0.6;
}

.proj-card__remaining {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 10px;
    background: var(--gi-black-faint);
    border: 1px solid var(--gi-black-soft);
}

.proj-card__rem-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gi-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.proj-card__rem-amt {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gi-gold-deep);
    font-family: var(--font-display);
}

/* CTA button */
.proj-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 14px;
    margin-top: 8px;
    align-self: flex-start;
    border-radius: 14px;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 8px 18px rgba(37,99,235,0.18);
    border: 1px solid rgba(37,99,235,0.28);
    white-space: nowrap;
}

.proj-card__cta:hover,
.proj-card__cta:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(37,99,235,0.26);
    background: #1d4ed8;
}

/* ── Empty state ──────────────────────────────────────────────── */
.gi-empty {
    text-align: center;
    padding: 48px 24px;
    border-radius: 20px;
    background: var(--gi-cream);
    border: 1px solid var(--gi-border);
    color: var(--gi-text-soft);
}

.gi-empty i {
    font-size: 2rem;
    color: var(--gi-text-muted);
    display: block;
    margin-bottom: 14px;
}

.gi-empty p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* ── View More ────────────────────────────────────────────────── */
.gi-view-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.gi-view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 999px;
    background: transparent;
    color: var(--gi-black);
    border: 2px solid var(--gi-black);
    cursor: pointer;
    font-family: var(--site-font);
    font-size: 0.95rem;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.gi-view-more-btn:hover {
    background: var(--gi-gold);
    color: #fff;
    transform: translateY(-2px);
}

.gi-view-more-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.gi-view-more-btn .btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--gi-gold-soft);
    border-top-color: var(--gi-gold);
    animation: giSpin 0.7s linear infinite;
}

@keyframes giSpin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════════════
   WAYS TO GIVE
   ═══════════════════════════════════════════════════════════════ */
.gi-give {
    position: relative;
    z-index: 1;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 48px 32px 40px;
    background: var(--gi-cream);
    box-shadow: 0 16px 36px rgba(22,50,79,0.08);
}

.gi-give__card {
    max-width: 520px;
    margin: 0 auto;
    padding: 36px 32px 28px;
    border-radius: 24px;
    background: var(--gi-white);
    border: 1px solid var(--gi-border);
    box-shadow: var(--gi-shadow);
}

.gi-give__top {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gi-give__freq {
    display: flex;
    gap: 20px;
}

.gi-give__freq-opt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gi-text-soft);
    cursor: pointer;
}

.gi-give__freq-opt input[type="radio"] {
    accent-color: var(--gi-black);
    width: 17px;
    height: 17px;
    cursor: pointer;
}

.gi-give__amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.gi-give__amt {
    padding: 12px 6px;
    border: 1.5px solid var(--gi-border);
    border-radius: 10px;
    background: var(--gi-white);
    color: var(--gi-text);
    font-family: var(--site-font);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s, color 0.18s;
    white-space: nowrap;
}

.gi-give__amt:hover {
    border-color: var(--gi-gold);
    color: var(--gi-gold);
}

.gi-give__amt--active {
    border-color: var(--gi-black);
    background: var(--gi-black-faint);
    color: var(--gi-black-dark);
}

.gi-give__amt--other {
    grid-column: 1 / -1;
}

.gi-give__custom {
    display: flex;
    align-items: center;
    border: 1px solid var(--gi-border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--gi-white);
}

.gi-give__custom-sym {
    padding: 0 14px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gi-black);
    background: var(--gi-cream);
    border-right: 1px solid var(--gi-border);
    line-height: 48px;
    height: 48px;
}

.gi-give__mpesa {
    display: flex;
    align-items: center;
    border: 1px solid var(--gi-border);
    border-radius: 10px;
    background: var(--gi-white);
    overflow: hidden;
}

.gi-give__mpesa-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    min-width: 72px;
    color: var(--gi-black);
    font-size: 1rem;
    font-weight: 700;
    background: var(--gi-cream);
    border-right: 1px solid var(--gi-border);
    white-space: nowrap;
}

.gi-give__custom-input,
.gi-give__mpesa-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 12px 14px;
    font-family: var(--site-font);
    font-size: 1rem;
    color: var(--gi-text);
    background: transparent;
}

.gi-give__custom-input:focus,
.gi-give__mpesa-input:focus {
    outline: none;
    box-shadow: inset 0 0 0 1px var(--gi-border);
    background: #ffffff;
}

.gi-give__custom-input::-webkit-inner-spin-button,
.gi-give__custom-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.gi-give__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 20px;
    margin-top: 18px;
    border-radius: 12px;
    color: var(--gi-black);
    font-family: var(--site-font);
    font-size: 1.02rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 10px 28px rgba(240,196,25,0.24);
    border: none;
    background: linear-gradient(135deg, var(--gi-warning), var(--gi-warning-deep));
}

.gi-give__cta--stripe {
    background: linear-gradient(135deg, #5469d4, #6772e5);
    box-shadow: 0 10px 28px rgba(84,105,212,0.28);
    color: #fff;
}

.gi-give__cta--mpesa {
    background: linear-gradient(135deg, #272727, #111111);
    box-shadow: 0 10px 28px rgba(0,0,0,0.28);
    color: #fff;
}

.gi-give__cta:hover,
.gi-give__cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(22,50,79,0.24);
    background: var(--gi-warning-deep);
}

.gi-give__cta--mpesa:hover,
.gi-give__cta--mpesa:focus-visible {
    background: linear-gradient(135deg, #111111, #000000);
}

.gi-give__secure {
    margin: 16px 0 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--gi-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ═══════════════════════════════════════════════════════════════
   CLOSING CTA
   ═══════════════════════════════════════════════════════════════ */
.gi-closing {
    padding: 56px 0 24px;
}

.gi-closing__inner {
    text-align: center;
    padding: 56px 40px;
    border-radius: 24px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    position: relative;
    overflow: hidden;
}

.gi-closing__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(0,0,0,0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(0,0,0,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.gi-closing__title {
    position: relative;
    z-index: 1;
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    color: #fff;
    letter-spacing: -0.02em;
}

.gi-closing__desc {
    position: relative;
    z-index: 1;
    margin: 0 auto 32px;
    max-width: 520px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #94a3b8;
}

.gi-closing__actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .gi-help__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .filters-bar { grid-template-columns: 1fr 1fr; }
    .filters-bar .filter-actions { grid-column: 1 / -1; padding-top: 0; }
}

@media (max-width: 768px) {
    .wrap { padding: 0 16px 0; }

    .gi-hero { padding: 40px 20px 56px; }

    .gi-hero__stats { gap: 12px; }

    .gi-stat-card { padding: 16px 18px; }

    .gi-help { padding: 40px 0 24px; }

    .gi-help__grid { grid-template-columns: 1fr; gap: 16px; }

    .gi-projects { padding: 24px 0; }

    .filters-attached { width: 100%; margin: 0 0 20px; }
    .filters-bar { grid-template-columns: 1fr; padding: 14px; }

    .proj-grid { grid-template-columns: 1fr; gap: 18px; }

    .gi-give { padding: 32px 0 24px; }

    .gi-give__card { padding: 28px 20px 24px; }

    .gi-give__amounts { grid-template-columns: repeat(2, 1fr); }
    .gi-give__amt--other { grid-column: 1 / -1; }

    .gi-closing { padding: 40px 0 16px; }

    .gi-closing__inner { padding: 40px 24px; }
}

@media (max-width: 480px) {
    .gi-hero__title { font-size: 2.2rem; }

    .gi-give__card { padding: 22px 16px 20px; }
    .gi-give__amounts { gap: 8px; }
    .gi-give__freq { gap: 14px; }

    .gi-give__cta { font-size: 0.95rem; }

    .gi-closing__inner { padding: 32px 18px; }
    .gi-closing__actions { flex-direction: column; }
    .gi-closing__actions .gi-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .proj-card,
    .proj-card__image,
    .proj-card__progress-fill,
    .gi-help-card,
    .gi-btn,
    .gi-give__cta,
    .gi-view-more-btn { transition: none; }
}
