/* ═══════════════════════════════════════════════════
   INAMIGOS FOUNDATION — Premium stylesheet
   Aesthetic: Editorial NGO · Warm earth tones · Bold
   Fonts: Cormorant Garamond (display) + Outfit (body)
═══════════════════════════════════════════════════ */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600;700&display=swap");

/* ── VARIABLES ──────────────────────────────────── */
:root {
    --g1: #0f3d22;
    --g2: #1a5c35;
    --g3: #247a48;
    --g4: #2e9c5a;
    --g-light: #e8f5ed;
    --gold: #c9922a;
    --gold-l: #f0c060;
    --cream: #faf6ee;
    --cream-d: #f2ebe0;
    --ink: #181510;
    --ink-60: #6b6050;
    --ink-30: #b5a898;
    --white: #ffffff;
    --shadow-sm: 0 2px 12px rgba(15, 61, 34, 0.08);
    --shadow-md: 0 8px 32px rgba(15, 61, 34, 0.12);
    --shadow-lg: 0 20px 60px rgba(15, 61, 34, 0.18);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ──────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
body {
    font-family: "Outfit", sans-serif;
    background: var(--cream);
    color: var(--ink);
    overflow-x: hidden;
    line-height: 1.6;
}
img {
    max-width: 100%;
    display: block;
}
a {
    text-decoration: none;
}

/* ── SCROLLBAR ──────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--cream);
}
::-webkit-scrollbar-thumb {
    background: var(--g3);
    border-radius: 99px;
}

/* ── SELECTION ──────────────────────────────────── */
::selection {
    background: var(--g3);
    color: #fff;
}

/* ════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 72px;
    background: rgba(250, 246, 238, 0.85);
    backdrop-filter: blur(18px) saturate(1.4);
    border-bottom: 1px solid rgba(15, 61, 34, 0.08);
    transition:
        box-shadow var(--transition),
        background var(--transition);
}
nav.scrolled {
    background: rgba(250, 246, 238, 0.97);
    box-shadow: var(--shadow-sm);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--g1);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.25rem;
    font-weight: 700;
}
.nav-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}
.nav-links a {
    color: var(--ink-60);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 2px;
    transition: color var(--transition);
}
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--g3);
    transition: width var(--transition);
}
.nav-links a:hover {
    color: var(--g1);
}
.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--g1);
    color: var(--white);
    padding: 9px 24px;
    border-radius: 99px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition:
        background var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
    box-shadow: 0 4px 16px rgba(15, 61, 34, 0.25);
}
.nav-cta:hover {
    background: var(--g2);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(15, 61, 34, 0.32);
}

/* hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: none;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--g1);
    border-radius: 2px;
    transition: all var(--transition);
}
.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 246, 238, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 61, 34, 0.1);
    padding: 24px 5% 32px;
    z-index: 999;
    flex-direction: column;
    gap: 20px;
}
.mobile-menu.open {
    display: flex;
}
.mobile-menu a {
    color: var(--g1);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid rgba(15, 61, 34, 0.08);
}
.mobile-menu .mob-cta {
    background: var(--g1);
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius-sm);
    margin-top: 8px;
    font-weight: 600;
    border-bottom: none;
}

/* ════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    padding: 120px 5% 80px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 60px;
    position: relative;
    overflow: hidden;
    background: var(--cream);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(36, 122, 72, 0.1);
    color: var(--g2);
    border: 1px solid rgba(36, 122, 72, 0.2);
    padding: 5px 14px 5px 10px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 28px;
    animation: fadeSlideUp 0.7s 0.1s both;
}
.hero-eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--g3);
    animation: blink 2s infinite;
}
@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.hero h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3.2rem, 5.5vw, 5.2rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--g1);
    margin-bottom: 24px;
    animation: fadeSlideUp 0.8s 0.2s both;
}
.hero h1 em {
    font-style: italic;
    color: var(--gold);
}

.hero-lead {
    font-size: 1.05rem;
    color: var(--ink-60);
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: 40px;
    animation: fadeSlideUp 0.8s 0.3s both;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeSlideUp 0.8s 0.4s both;
}
.btn-primary {
    background: var(--g1);
    color: #fff;
    padding: 14px 34px;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 24px rgba(15, 61, 34, 0.3);
    transition: all var(--transition);
}
.btn-primary:hover {
    background: var(--g2);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(15, 61, 34, 0.38);
}
.btn-ghost {
    border: 1.5px solid rgba(15, 61, 34, 0.25);
    color: var(--g1);
    padding: 13px 32px;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition);
}
.btn-ghost:hover {
    background: var(--g1);
    color: #fff;
    border-color: var(--g1);
}

/* hero stats */
.hero-stats {
    display: flex;
    gap: 0;
    margin-top: 56px;
    border: 1px solid rgba(15, 61, 34, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
    animation: fadeSlideUp 0.8s 0.5s both;
}
.hstat {
    flex: 1;
    padding: 20px 16px;
    text-align: center;
    border-right: 1px solid rgba(15, 61, 34, 0.08);
    transition: background var(--transition);
}
.hstat:last-child {
    border-right: none;
}
.hstat:hover {
    background: var(--g-light);
}
.hstat-num {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--g1);
    line-height: 1;
}
.hstat-lbl {
    font-size: 0.68rem;
    color: var(--ink-60);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-top: 4px;
}

/* hero image column */
.hero-visual {
    position: relative;
    z-index: 1;
    animation: fadeSlideUp 0.9s 0.35s both;
}
.hero-img-frame {
    position: relative;
    border-radius: 40% 60% 55% 45% / 46% 44% 56% 54%;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-lg);
}
.hero-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 8s ease;
}
.hero-img-frame:hover img {
    transform: scale(1.08);
}

/* floating badges on hero image */
.hero-badge-float {
    position: absolute;
    z-index: 2;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero-badge-float.badge-meals {
    bottom: 14%;
    left: -8%;
    animation: floatBadge 4s ease-in-out infinite alternate;
}
.hero-badge-float.badge-since {
    top: 10%;
    right: -8%;
    animation: floatBadge 5s ease-in-out infinite alternate-reverse;
}
@keyframes floatBadge {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-8px);
    }
}
.hbf-icon {
    font-size: 1.5rem;
}
.hbf-num {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--g1);
    line-height: 1;
}
.hbf-lbl {
    font-size: 0.68rem;
    color: var(--ink-60);
}

/* ── MARQUEE STRIP ─────────────────────────────── */
.marquee-strip {
    background: var(--g1);
    color: rgba(255, 255, 255, 0.85);
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
}
.marquee-track {
    display: inline-block;
    animation: marquee 28s linear infinite;
}
.marquee-track span {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 0 40px;
}
.marquee-track span strong {
    color: var(--gold-l);
}
@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ════════════════════════════════════════════════
   SECTION COMMON
════════════════════════════════════════════════ */
section {
    padding: 100px 5%;
}

.section-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--g3);
    margin-bottom: 14px;
}
.section-chip::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--g3);
}
.section-title {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.2rem, 3.8vw, 3.4rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--g1);
    margin-bottom: 16px;
}
.section-title em {
    font-style: italic;
    color: var(--gold);
}
.section-desc {
    font-size: 1rem;
    color: var(--ink-60);
    line-height: 1.75;
    max-width: 520px;
}

/* reveal animation via IntersectionObserver */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}
.reveal-delay-1 {
    transition-delay: 0.1s;
}
.reveal-delay-2 {
    transition-delay: 0.2s;
}
.reveal-delay-3 {
    transition-delay: 0.3s;
}
.reveal-delay-4 {
    transition-delay: 0.4s;
}
.reveal-delay-5 {
    transition-delay: 0.5s;
}

/* ════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════ */
#about {
    background: var(--cream-d);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-img-wrap {
    position: relative;
}
.about-img-main {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about-img-accent {
    position: absolute;
    bottom: -28px;
    right: -28px;
    width: 48%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 4px solid var(--cream-d);
    box-shadow: var(--shadow-md);
}
.about-founded-pill {
    position: absolute;
    top: 24px;
    left: -20px;
    background: var(--g1);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}
.about-founded-pill .yr {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}
.about-founded-pill .lbl {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.75;
}

.about-text {
    padding-right: 20px;
}

.cert-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 32px;
}
.cert-pill {
    background: rgba(36, 122, 72, 0.09);
    color: var(--g1);
    border: 1px solid rgba(36, 122, 72, 0.18);
    padding: 5px 14px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: background var(--transition);
}
.cert-pill:hover {
    background: rgba(36, 122, 72, 0.18);
}

.founder-chip {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--g3);
    margin-top: 32px;
}
.founder-chip-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--g2), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.founder-chip-name {
    font-weight: 700;
    color: var(--g1);
    font-size: 0.95rem;
}
.founder-chip-role {
    font-size: 0.75rem;
    color: var(--ink-60);
}

.about-quote {
    margin-top: 28px;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--ink-60);
    line-height: 1.75;
    padding-left: 18px;
    border-left: 3px solid var(--gold);
}

/* ════════════════════════════════════════════════
   PROJECTS
════════════════════════════════════════════════ */
#projects {
    background: var(--cream);
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 56px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 61, 34, 0.05);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
    cursor: default;
    display: flex;
    flex-direction: column;
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 200px;
    flex-shrink: 0;
}
.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.project-card:hover .card-img-wrap img {
    transform: scale(1.07);
}

.card-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}
.bar-red {
    background: linear-gradient(90deg, #e05252, #f08080);
}
.bar-blue {
    background: linear-gradient(90deg, #3a82c4, #60a8e0);
}
.bar-purple {
    background: linear-gradient(90deg, #8b52c4, #b080e0);
}
.bar-gold {
    background: linear-gradient(90deg, var(--gold), var(--gold-l));
}
.bar-green {
    background: linear-gradient(90deg, var(--g2), var(--g4));
}
.bar-orange {
    background: linear-gradient(90deg, #d46820, #f09040);
}

.card-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(15, 61, 34, 0.85);
    color: #fff;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.card-body {
    padding: 22px 24px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-body h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--g1);
    margin-bottom: 8px;
}
.card-body p {
    font-size: 0.88rem;
    color: var(--ink-60);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 18px;
}

.card-impact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--g-light);
    color: var(--g1);
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.73rem;
    font-weight: 700;
    align-self: flex-start;
}
.card-impact::before {
    content: "✦";
    font-size: 0.6rem;
    color: var(--g3);
}

/* ════════════════════════════════════════════════
   IMPACT
════════════════════════════════════════════════ */
#impact {
    background: var(--g1);
    position: relative;
    overflow: hidden;
}
#impact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
#impact .section-chip {
    color: var(--gold-l);
}
#impact .section-chip::before {
    background: var(--gold-l);
}
#impact .section-title {
    color: var(--white);
}
#impact .section-desc {
    color: rgba(255, 255, 255, 0.6);
}

.impact-header {
    max-width: 560px;
    position: relative;
    z-index: 1;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 56px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.impact-cell {
    background: rgba(255, 255, 255, 0.04);
    padding: 40px 32px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background var(--transition);
}
.impact-cell:hover {
    background: rgba(255, 255, 255, 0.09);
}
.impact-cell:nth-child(3n) {
    border-right: none;
}
.impact-cell:nth-child(n + 4) {
    border-bottom: none;
}

.ic-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-l);
}

.ic-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}
.ic-num {
    font-family: "Cormorant Garamond", serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-l);
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}
.ic-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.impact-quote-block {
    position: relative;
    z-index: 1;
    margin-top: 56px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 40px 48px;
    display: flex;
    align-items: flex-start;
    gap: 32px;
}
.iq-mark {
    font-family: "Cormorant Garamond", serif;
    font-size: 7rem;
    color: var(--gold-l);
    opacity: 0.3;
    line-height: 0.7;
    flex-shrink: 0;
    margin-top: 12px;
}
.iq-text {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.35rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
}
.iq-cite {
    display: block;
    margin-top: 16px;
    font-family: "Outfit", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold-l);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-style: normal;
}

/* ════════════════════════════════════════════════
   VOLUNTEERS
════════════════════════════════════════════════ */
#volunteers {
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

#volunteers::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(36, 122, 72, 0.05) 0%,
        transparent 65%
    );
    border-radius: 50%;
    pointer-events: none;
}

.volunteers-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
}

.volunteers-link-out {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--g3);
    border-bottom: 1.5px solid rgba(36, 122, 72, 0.3);
    padding-bottom: 2px;
    transition: all var(--transition);
}
.volunteers-link-out:hover {
    color: var(--g1);
    border-color: var(--g1);
}

/* Featured volunteer (Founder) */
.volunteers-featured {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 48px;
    align-items: center;
    background: linear-gradient(
        135deg,
        var(--g1) 0%,
        var(--g2) 60%,
        #1f6e40 100%
    );
    border-radius: var(--radius-lg);
    padding: 48px 52px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
}
.volunteers-featured::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(201, 146, 42, 0.15) 0%,
        transparent 65%
    );
    border-radius: 50%;
}
.volunteers-featured::after {
    content: "FOUNDER";
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--gold-l);
    opacity: 0.6;
}

.vol-featured-avatar {
    position: relative;
    z-index: 1;
}
.vol-featured-avatar-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12),
        rgba(255, 255, 255, 0.04)
    );
    border: 3px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.vol-featured-info {
    position: relative;
    z-index: 1;
}
.vol-featured-name {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 6px;
}
.vol-featured-role {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-l);
    margin-bottom: 18px;
}
.vol-featured-bio {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 28px;
}
.vol-featured-links {
    display: flex;
    gap: 10px;
}
.vol-social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition);
}
.vol-social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink);
    transform: translateY(-2px);
}
.vol-social-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Volunteers grid */
.volunteers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.vol-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 28px 22px;
    border: 1px solid rgba(15, 61, 34, 0.06);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.vol-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--g3), var(--g4));
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}
.vol-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.vol-card:hover::before {
    transform: scaleX(1);
}

.vol-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vol-name {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--g1);
    margin-bottom: 4px;
    line-height: 1.2;
}
.vol-role {
    font-size: 0.72rem;
    color: var(--g3);
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.vol-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--g-light);
    color: var(--g1);
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.68rem;
    font-weight: 600;
}

/* ════════════════════════════════════════════════
   BLOG
════════════════════════════════════════════════ */
#blog {
    background: var(--cream-d);
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 56px;
}

.blog-link-out {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--g3);
    border-bottom: 1.5px solid rgba(36, 122, 72, 0.3);
    padding-bottom: 2px;
    transition: all var(--transition);
}
.blog-link-out:hover {
    color: var(--g1);
    border-color: var(--g1);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 24px;
}

.blog-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 61, 34, 0.05);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.blog-card-img {
    position: relative;
    overflow: hidden;
}
.blog-card:first-child .blog-card-img {
    height: 260px;
}
.blog-card:not(:first-child) .blog-card-img {
    height: 180px;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.blog-card:hover .blog-card-img img {
    transform: scale(1.06);
}

.blog-cat-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--g1);
    color: #fff;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.blog-body {
    padding: 22px 24px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.blog-date {
    font-size: 0.72rem;
    color: var(--ink-30);
    font-weight: 500;
    letter-spacing: 0.05em;
}
.blog-views {
    font-size: 0.72rem;
    color: var(--ink-30);
    display: flex;
    align-items: center;
    gap: 4px;
}
.blog-views svg {
    width: 12px;
    height: 12px;
    fill: var(--ink-30);
}

.blog-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--g1);
    line-height: 1.3;
    margin-bottom: 10px;
    flex: 1;
}
.blog-card:first-child .blog-title {
    font-size: 1.55rem;
}

.blog-excerpt {
    font-size: 0.84rem;
    color: var(--ink-60);
    line-height: 1.65;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--g3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition:
        gap var(--transition),
        color var(--transition);
    align-self: flex-start;
    margin-top: auto;
}
.blog-read-link:hover {
    gap: 10px;
    color: var(--g1);
}
.blog-read-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: transform var(--transition);
}
.blog-card:hover .blog-read-link svg {
    transform: translateX(3px);
}

/* ════════════════════════════════════════════════
   GALLERY
════════════════════════════════════════════════ */
#gallery {
    background: var(--cream-d);
}

.gallery-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 48px;
}
.gallery-link-out {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--g3);
    border-bottom: 1.5px solid rgba(36, 122, 72, 0.3);
    padding-bottom: 2px;
    transition: all var(--transition);
}
.gallery-link-out:hover {
    color: var(--g1);
    border-color: var(--g1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 240px 240px;
    gap: 12px;
}
.g-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    background: var(--g-light);
    box-shadow: var(--shadow-sm);
}
.g-item:nth-child(1) {
    grid-column: span 7;
    grid-row: span 2;
}
.g-item:nth-child(2) {
    grid-column: span 5;
}
.g-item:nth-child(3) {
    grid-column: span 3;
}
.g-item:nth-child(4) {
    grid-column: span 2;
}
.g-item:nth-child(5) {
    grid-column: span 5;
}

.g-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.g-item:hover img {
    transform: scale(1.06);
}

.g-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 61, 34, 0.55) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity var(--transition);
}
.g-item:hover .g-item-overlay {
    opacity: 1;
}
.g-item-label {
    position: absolute;
    bottom: 14px;
    left: 14px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    opacity: 0;
    transform: translateY(6px);
    transition: all var(--transition);
}
.g-item:hover .g-item-label {
    opacity: 1;
    transform: none;
}

/* ════════════════════════════════════════════════
   CTA
════════════════════════════════════════════════ */
#cta {
    background: var(--cream);
    padding: 100px 5%;
}

.cta-wrapper {
    background: linear-gradient(
        135deg,
        var(--g1) 0%,
        var(--g2) 55%,
        #1f6e40 100%
    );
    border-radius: var(--radius-lg);
    padding: 80px 70px;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}
.cta-wrapper::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(201, 146, 42, 0.18) 0%,
        transparent 65%
    );
    border-radius: 50%;
    pointer-events: none;
}
.cta-wrapper::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: 200px;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.05) 0%,
        transparent 65%
    );
    border-radius: 50%;
    pointer-events: none;
}

.cta-text {
    position: relative;
    z-index: 1;
}
.cta-text h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 18px;
}
.cta-text h2 em {
    font-style: italic;
    color: var(--gold-l);
}
.cta-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
}

.cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition);
}
.cta-btn svg {
    flex-shrink: 0;
}

/* Donate button — forest green to match site palette */
.cta-btn-donate {
    background: linear-gradient(135deg, #2e9c5a 0%, #247a48 100%);
    color: #fff;
    box-shadow: 0 6px 24px rgba(36, 122, 72, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.cta-btn-donate:hover {
    background: linear-gradient(135deg, #34b567 0%, #2e9c5a 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(36, 122, 72, 0.55);
}

.cta-btn-volunteer {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.cta-btn-volunteer:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}
.cta-btn-web {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.cta-btn-web:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-contact {
    position: relative;
    z-index: 1;
    grid-column: span 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 28px;
    margin-top: -10px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}
.cta-contact a {
    color: var(--gold-l);
}
.cta-contact span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */
footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.55);
    padding: 72px 5% 36px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
}
.footer-brand-name {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}
.footer-brand-desc {
    font-size: 0.84rem;
    line-height: 1.75;
    max-width: 280px;
    margin-bottom: 24px;
}

.social-row {
    display: flex;
    gap: 10px;
}
.s-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition);
}
.s-btn:hover {
    transform: translateY(-3px);
}
.s-btn.fb:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
}
.s-btn.ig:hover {
    background: linear-gradient(
        45deg,
        #f09433,
        #e6683c,
        #dc2743,
        #cc2366,
        #bc1888
    );
    border-color: transparent;
    color: #fff;
}
.s-btn.li:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: #fff;
}
.s-btn svg {
    width: 18px;
    height: 18px;
}

.footer-col h5 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col ul a {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}
.footer-col ul a:hover {
    color: var(--gold-l);
}

.footer-bottom {
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.77rem;
}
.footer-bottom .hashtags {
    color: var(--gold-l);
    opacity: 0.7;
}

/* ════════════════════════════════════════════════
   BACK TO TOP
════════════════════════════════════════════════ */
.btt {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 500;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--g2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}
.btt.visible {
    opacity: 1;
    pointer-events: all;
}
.btt:hover {
    background: var(--g1);
    transform: translateY(-3px);
}

/* ── ANIMATIONS ─────────────────────────────────── */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1100px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .impact-cell:nth-child(2n) {
        border-right: none;
    }
    .impact-cell:nth-child(n + 5) {
        border-bottom: none;
    }
    .volunteers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }
    .blog-card:first-child {
        grid-column: span 2;
    }
    .blog-card:first-child .blog-card-img {
        height: 300px;
    }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 50px;
        padding-top: 100px;
    }
    .hero-visual {
        display: none;
    }
    .about-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-img-accent {
        display: none;
    }
    .about-founded-pill {
        left: 0;
        top: -16px;
    }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .g-item:nth-child(1) {
        grid-column: span 2;
        grid-row: auto;
        height: 260px;
    }
    .g-item:nth-child(n) {
        grid-column: span 1;
    }
    .cta-wrapper {
        grid-template-columns: 1fr;
        padding: 56px 40px;
        gap: 40px;
    }
    .cta-contact {
        grid-column: span 1;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    nav .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .nav-cta {
        display: none;
    }
    .volunteers-featured {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 32px;
    }
    .vol-featured-avatar-img {
        width: 140px;
        height: 140px;
    }
    .vol-featured-links {
        justify-content: center;
    }
    .volunteers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    section {
        padding: 72px 5%;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .impact-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .g-item:nth-child(n) {
        grid-column: span 1;
        height: 220px;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .impact-quote-block {
        flex-direction: column;
        gap: 16px;
        padding: 28px 24px;
    }
    .iq-mark {
        font-size: 4rem;
    }
    .cta-wrapper {
        padding: 48px 28px;
    }
    .hero-stats {
        flex-direction: column;
    }
    .hstat {
        border-right: none;
        border-bottom: 1px solid rgba(15, 61, 34, 0.08);
    }
    .hstat:last-child {
        border-bottom: none;
    }
    .volunteers-grid {
        grid-template-columns: 1fr 1fr;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-card:first-child {
        grid-column: span 1;
    }
}
