/*
Theme Name: GLO Project
Theme URI: https://thegloproject.org
Description: Custom WordPress theme for GLO Project — empowering children and communities in Cape Town, South Africa through youth outreach programs and regenerative farming.
Version: 1.0.0
Author: The Jamison Group
Author URI: https://thejamisongroup.org
Text Domain: glo-project
License: GPL-2.0+
*/

/* ============================================
   CSS CUSTOM PROPERTIES
============================================ */
:root {
    --orange:       #f18228;
    --orange-dark:  #d96f1a;
    --teal:         #2dadc2;
    --teal-dark:    #2196aa;
    --navy:         #062b5b;
    --navy-dark:    #041f44;
    --white:        #ffffff;
    --light:        #f7f8fc;
    --light-2:      #eef0f5;
    --text:         #2d2d2d;
    --text-muted:   #6b7280;
    --border:       #e5e7eb;

    --font-display: 'Kalam', cursive;
    --font-body:    'Lato', sans-serif;

    --container:    1200px;
    --container-sm: 800px;

    --radius:    12px;
    --radius-sm: 8px;
    --shadow:    0 4px 24px rgba(6, 43, 91, 0.10);
    --shadow-lg: 0 12px 48px rgba(6, 43, 91, 0.18);
    --transition: all 0.3s ease;
}

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.65;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--teal-dark); }
ul { list-style: none; }
iframe { border: 0; }

/* ============================================
   TYPOGRAPHY
============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy);
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); font-weight: 900; margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.875rem); margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.625rem); margin-bottom: 0.875rem; }
h4 { font-size: 1.125rem; margin-bottom: 0.625rem; }
p  { font-size: 1.0625rem; line-height: 1.75; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
p:empty { display: none; }
/* Section-label sits right above headings — tighten the gap between label and heading */
.section-label + h2,
.section-label + h3 { margin-top: 0.25rem; }
.lead { font-size: 1.2rem; line-height: 1.7; color: var(--text-muted); margin-bottom: 1.25rem; }
.font-kalam { font-family: var(--font-display); }
strong { color: var(--navy); font-weight: 700; }

/* ============================================
   LAYOUT
============================================ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}
.container--sm {
    max-width: var(--container-sm);
    margin: 0 auto;
    padding: 0 2rem;
}
.section        { padding: 6rem 0; }
.section--sm    { padding: 4rem 0; }
.section--lg    { padding: 8rem 0; }

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.875rem;
}
.section-label--light { color: rgba(255,255,255,0.65); }
.section-label--orange { color: var(--orange); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p  { color: var(--text-muted); font-size: 1.125rem; }
.section-header--light h2 { color: var(--white); }
.section-header--light p  { color: rgba(255,255,255,0.7); }

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn-orange {
    background: var(--orange); color: #fff; border-color: var(--orange);
}
.btn-orange:hover {
    background: var(--orange-dark); border-color: var(--orange-dark); color: #fff;
    transform: translateY(-2px); box-shadow: 0 8px 28px rgba(241,130,40,0.38);
}
.btn-teal {
    background: var(--teal); color: #fff; border-color: var(--teal);
}
.btn-teal:hover {
    background: var(--teal-dark); border-color: var(--teal-dark); color: #fff;
    transform: translateY(-2px); box-shadow: 0 8px 28px rgba(45,173,194,0.38);
}
.btn-navy {
    background: var(--navy); color: #fff; border-color: var(--navy);
}
.btn-navy:hover {
    background: var(--navy-dark); border-color: var(--navy-dark); color: #fff;
    transform: translateY(-2px);
}
.btn-outline-white {
    background: transparent; color: #fff; border-color: rgba(255,255,255,0.65);
}
.btn-outline-white:hover {
    background: #fff; color: var(--navy); border-color: #fff;
}
.btn-outline-navy {
    background: transparent; color: var(--navy); border-color: var(--navy);
}
.btn-outline-navy:hover {
    background: var(--navy); color: #fff;
}
.btn-sm { padding: 0.65rem 1.5rem; font-size: 0.875rem; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1rem; }

/* ============================================
   SITE HEADER & NAVIGATION
============================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
    background: var(--navy);
    padding: 0.875rem 0;
    box-shadow: 0 2px 20px rgba(6,43,91,0.25);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Logo */
.site-logo a {
    display: flex; align-items: center; gap: 0; text-decoration: none;
}
.site-logo img { height: 42px; width: auto; }
.logo-fallback {
    font-family: var(--font-body);
    font-size: 1.375rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
}
.logo-fallback .glo    { font-family: var(--font-display); color: var(--orange); font-size: 1.65rem; }
.logo-fallback .project { color: var(--teal); }

/* Nav */
.primary-nav { display: flex; align-items: center; gap: 0.5rem; }
.nav-menu    { display: flex; align-items: center; gap: 0; }
.nav-menu li a {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.5rem 0.875rem;
    border-radius: 6px;
    transition: var(--transition);
    display: block;
}
.nav-menu li a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav-ctas { display: flex; align-items: center; gap: 0.75rem; margin-left: 1rem; }

/* Dropdown */
.nav-menu li.has-dropdown { position: relative; }
.nav-menu li.has-dropdown > a {
    display: flex; align-items: center; gap: 0.3rem;
}
.dropdown-caret {
    transition: transform 0.25s ease;
    opacity: 0.7;
}
.has-dropdown:hover .dropdown-caret { transform: rotate(180deg); opacity: 1; }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 240px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 8px 40px rgba(6,43,91,0.18);
    padding: 0.875rem 0.5rem 0.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    transform: translateX(-50%) translateY(8px);
    list-style: none;
    z-index: 200;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
/* Arrow pip above dropdown */
.dropdown-menu::before {
    content: '';
    position: absolute; top: 0.5rem; left: 50%; transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--white);
}
.dropdown-menu li a {
    display: flex; align-items: center; gap: 0.875rem;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--navy) !important;
    background: transparent !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 0.9375rem !important;
    font-weight: 400 !important;
    transition: var(--transition);
}
.dropdown-menu li a:hover { background: var(--light) !important; }
.dropdown-menu li a strong {
    display: block; font-size: 0.9375rem; font-weight: 700; color: var(--navy); margin-bottom: 0.1rem;
}
.dropdown-menu li a em {
    display: block; font-size: 0.8125rem; color: var(--text-muted); font-style: normal;
}
.dropdown-icon {
    font-size: 1.375rem; flex-shrink: 0;
    width: 36px; height: 36px;
    background: var(--light);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}

/* Mobile dropdown sub-list */
.mobile-dropdown-label {
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    display: block; margin-bottom: 0.5rem;
}
.mobile-sub { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; list-style: none; }
.mobile-sub li a { font-size: 1.2rem !important; color: rgba(255,255,255,0.9) !important; }
.mobile-dropdown-group { text-align: center; }

/* Mobile toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 1001;
}
.menu-toggle span {
    display: block; width: 26px; height: 2px;
    background: #fff; border-radius: 2px; transition: var(--transition);
}
.menu-toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile full-screen nav overlay */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--navy);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav .nav-menu {
    flex-direction: column; align-items: center; gap: 0.5rem;
}
.mobile-nav .nav-menu li a {
    font-size: 1.375rem; padding: 0.75rem 2rem; letter-spacing: 0.08em;
}
.mobile-nav .nav-ctas {
    flex-direction: column; align-items: center; gap: 1rem; margin: 0;
}

/* ============================================
   HERO
============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--navy);
    /* Hero background image set via Customizer or directly:
       background-image: linear-gradient(...), url('your-image.jpg');
       background-size: cover; background-position: center;          */
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(6,43,91,0.94) 0%,
        rgba(6,43,91,0.75) 60%,
        rgba(6,43,91,0.50) 100%
    );
    z-index: 1;
}
/* If a hero bg image is set via body class or inline style */
.hero.has-bg-image { background-size: cover; background-position: center center; }

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 5rem 2rem 6rem;
}
.hero-eyebrow {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    font-size: 0.9375rem;
    padding: 0.5rem 1.5rem 0.6rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(6px);
    max-width: fit-content;
}
.hero-eyebrow-main {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.hero-eyebrow-pronunciation {
    font-size: 0.6875rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}
.hero-eyebrow .kalam {
    font-family: var(--font-display);
    color: var(--orange);
    font-size: 1.1em;
    line-height: 1;
}
.hero h1 {
    color: #fff;
    max-width: 780px;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-subtext {
    color: rgba(255,255,255,0.78);
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    line-height: 1.7;
    max-width: 620px;
    margin-bottom: 2.5rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
    animation: scrollBounce 2.5s ease infinite;
}
.hero-scroll-indicator svg { width: 20px; height: 20px; }
@keyframes scrollBounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   INTRO / ABOUT + VIDEO
============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-text .section-label { margin-bottom: 0.5rem; }
.about-text h2 { margin-bottom: 1.25rem; }
.about-text p  { color: var(--text-muted); margin-bottom: 1.125rem; }
.about-text p:last-of-type { margin-bottom: 2rem; }
.about-text em { font-style: italic; color: var(--navy); font-weight: 600; }

.video-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/9;
    background: var(--navy-dark);
}
/* When showing a photo, remove the fixed ratio and stretch to match text column */
.video-wrap--photo {
    aspect-ratio: unset;
    align-self: stretch;
    min-height: 320px;
}
.about-grid:has(.video-wrap--photo) { align-items: stretch; }
.video-wrap iframe,
.video-wrap__photo {
    position: absolute;
    inset: 0; width: 100%; height: 100%;
    object-fit: cover;
}
/* Decorative accent behind video */
.video-wrap::before {
    content: '';
    position: absolute;
    inset: -12px -12px auto auto;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: var(--orange);
    opacity: 0.12;
    z-index: -1;
}

/* ============================================
   IMPACT STATS
============================================ */
.stats-section {
    background: var(--navy);
    padding: 5rem 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 0;
}
.stat-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: white;
    font-size: 1.5rem;
}
.stat-number {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}
.stat-number sup { font-size: 0.45em; vertical-align: super; }
.stat-label {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.45;
}

/* ============================================
   PROGRAMS
============================================ */
.programs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.program-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--white);
    display: flex;
    flex-direction: column;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.program-card-image {
    height: 240px;
    position: relative;
    overflow: hidden;
    display: flex; align-items: flex-end; justify-content: flex-start;
    padding: 1.25rem;
}
.program-card--outreach .program-card-image {
    background: linear-gradient(140deg, #2dadc2 0%, #1a8fa3 100%);
}
.program-card--farm .program-card-image {
    background: linear-gradient(140deg, #062b5b 0%, #0a4080 60%, #062b5b 100%);
}
.program-card-image img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.program-card-tag {
    position: relative; z-index: 1;
    background: var(--orange);
    color: #fff; font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 0.35rem 0.875rem; border-radius: 50px;
}
.program-card-body { padding: 2.25rem 2rem; flex: 1; display: flex; flex-direction: column; }
.program-card-body h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--navy); }
.program-card-body p  { color: var(--text-muted); margin-bottom: 1.5rem; flex: 1; }
.program-list { margin-bottom: 2rem; }
.program-list li {
    display: flex; align-items: flex-start; gap: 0.75rem;
    font-size: 0.9375rem; color: var(--text);
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--border);
}
.program-list li:last-child { border-bottom: none; }
.program-list li::before {
    content: '';
    display: block; width: 8px; height: 8px; border-radius: 50%;
    background: var(--teal); margin-top: 0.45em; flex-shrink: 0;
}

/* ============================================
   CIRCULAR ECONOMY
============================================ */
.circular-section { background: var(--light); }
/* Tighten the gap between heading block and diagram */
.circular-section .section-header { margin-bottom: 1.5rem; }

/* ── Absolute-positioned circular layout ──
   6 oval nodes at 60° intervals around a central hub.
   Ovals (260×240) give enough room for text without overflow.
   r=290px, sin60°×290=251px, cos60°×290=145px
   Container 900×950: top node edge at ~65px, bottom at ~885px ✓
──────────────────────────────────────────────────────── */
.circular-steps {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 950px;
    margin: 0 auto 2.5rem;
}

/* Dashed connecting ring — centred on the container midpoint */
.circular-steps::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 580px; height: 580px;
    border: 2px dashed rgba(6,43,91,.18);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* Center hub */
.circular-hub {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 140px; height: 140px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 4;
    box-shadow: 0 0 0 14px rgba(6,43,91,.08), var(--shadow-lg);
}
.circular-hub-icon {
    font-size: 2rem;
    color: var(--orange);
    margin-bottom: .3rem;
    display: block;
}
.circular-hub-label {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: rgba(255,255,255,.8);
    line-height: 1.4;
}

/* Step cards — oval nodes (wider than tall = more room for text)
   KEY: overflow:visible so the number badge above is NOT clipped. */
.circular-step {
    position: absolute;
    top: 50%; left: 50%;
    width: 260px; height: 240px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: var(--white);
    padding: 1.5rem 2rem 1.75rem;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,.1);
    transition: box-shadow .25s ease;
    z-index: 3;
    overflow: visible; /* must stay visible — clipping hides the number badge */
}
.circular-step:hover { box-shadow: 0 8px 32px rgba(0,0,0,.15); }

/* Oval positions — r=290px
   sin(60°)≈0.866 → 290×0.866=251px   cos(60°)=0.5 → 290×0.5=145px  */
.circular-steps .circular-step:nth-child(2) { /* Step 1 — top (0°) */
    transform: translate(-50%, calc(-50% - 290px));
}
.circular-steps .circular-step:nth-child(3) { /* Step 2 — upper-right (60°) */
    transform: translate(calc(-50% + 251px), calc(-50% - 145px));
}
.circular-steps .circular-step:nth-child(4) { /* Step 3 — lower-right (120°) */
    transform: translate(calc(-50% + 251px), calc(-50% + 145px));
}
.circular-steps .circular-step:nth-child(5) { /* Step 4 — bottom (180°) */
    transform: translate(-50%, calc(-50% + 290px));
}
.circular-steps .circular-step:nth-child(6) { /* Step 5 — lower-left (240°) */
    transform: translate(calc(-50% - 251px), calc(-50% + 145px));
}
.circular-steps .circular-step:nth-child(7) { /* Step 6 — upper-left (300°) */
    transform: translate(calc(-50% - 251px), calc(-50% - 145px));
}

/* Number badge — sits above each circle; visible because .circular-step has overflow:visible */
.step-num {
    position: absolute;
    top: -1.1rem; left: 50%;
    transform: translateX(-50%);
    min-width: 2.25rem; height: 2.25rem;
    padding: 0 0.4rem;
    background: var(--orange); color: #fff;
    border-radius: 2rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: 0 2px 8px rgba(231,111,81,.4);
    white-space: nowrap;
}

.step-emoji { font-size: 1.5rem; display: block; margin: 0 0 .15rem; color: var(--navy); }
.circular-step .step-desc {
    font-size: .68rem;
    color: var(--text-muted);
    line-height: 1.38;
}
.circular-step .step-desc p + p { margin-top: 0.4rem; }
.circular-step .step-desc p:first-child { margin-top: 0; }
.circular-step .step-desc p:last-child  { margin-bottom: 0; }

.circular-callout {
    background: var(--navy);
    border-radius: var(--radius);
    padding: 2.5rem 3rem;
    text-align: center;
}
.circular-callout p {
    color: #fff; font-size: 1.25rem;
    font-family: var(--font-display); font-weight: 400;
    line-height: 1.65; font-style: italic;
}

/* ============================================
   HORIZONTAL MILESTONE TIMELINE
============================================ */
.timeline-h-wrap {
    overflow-x: auto;
    padding-bottom: .5rem;
}
.timeline-h {
    display: flex;
    align-items: flex-start;
    position: relative;
    min-width: 580px;
    gap: 0;
}
/* Connecting line through the centres of the year circles */
.timeline-h::before {
    content: '';
    position: absolute;
    top: 2rem;               /* half of the 4rem circle */
    left: 10%;               /* centre of first item (each item = 20% wide) */
    right: 10%;              /* centre of last item */
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--teal));
    z-index: 0;
}
.timeline-h-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 0 .75rem;
}
.timeline-h-dot {
    width: 4rem;
    height: 4rem;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: -.01em;
    box-shadow: 0 4px 16px rgba(241,130,40,.35);
    flex-shrink: 0;
    margin-bottom: 1.125rem;
    transition: transform .22s ease, box-shadow .22s ease;
    border: 3px solid var(--white);
}
.timeline-h-item:hover .timeline-h-dot {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(241,130,40,.5);
}
.timeline-h-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.125rem 1rem;
    box-shadow: var(--shadow);
    text-align: center;
    font-size: .875rem;
    color: var(--text-muted);
    line-height: 1.55;
    border-top: 2px solid var(--orange);
    width: 100%;
}

/* Mobile: stack vertically */
@media (max-width: 640px) {
    .timeline-h-wrap { overflow-x: visible; }
    .timeline-h {
        flex-direction: column;
        gap: 0;
        min-width: 0;
        padding-left: 2.5rem;
    }
    .timeline-h::before {
        left: .75rem;   /* shift to left rail */
        right: auto;
        top: 0; bottom: 0;
        width: 3px; height: auto;
        background: linear-gradient(180deg, var(--orange), var(--teal));
    }
    .timeline-h-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 0 0 2rem;
        margin-left: -2.5rem;
    }
    .timeline-h-dot { flex-shrink: 0; margin-bottom: 0; }
    .timeline-h-card { text-align: left; }
}

/* ============================================
   STORY FEATURE
============================================ */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.story-image-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--teal), var(--navy));
}
.story-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.story-content .section-label { margin-bottom: 0.75rem; }
.story-content h2  { margin-bottom: 1.25rem; }
.story-content p   { color: var(--text-muted); margin-bottom: 1.125rem; }
.story-quote {
    font-family: var(--font-display); font-style: italic;
    font-size: 1.45rem; color: var(--navy); line-height: 1.45;
    border-left: 4px solid var(--orange);
    padding-left: 1.25rem; margin: 1.5rem 0;
}

/* ============================================
   GET INVOLVED
============================================ */
.involved-section { background: var(--navy); }
.involved-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2rem;
}
.involved-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 2.75rem 2rem;
    text-align: center;
    transition: var(--transition);
    display: flex; flex-direction: column; align-items: center;
}
.involved-card:hover { background: rgba(255,255,255,0.11); transform: translateY(-5px); }
.involved-icon {
    width: 68px; height: 68px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.875rem; margin-bottom: 1.5rem;
    color: #fff;
}
.involved-icon--orange { background: var(--orange); }
.involved-icon--teal   { background: var(--teal); }
.involved-icon--light  { background: rgba(255,255,255,0.15); }
.involved-card h3 { color: #fff; font-size: 1.375rem; margin-bottom: 0.875rem; }
.involved-card p  { color: rgba(255,255,255,0.6); font-size: 0.9375rem; margin-bottom: 1.75rem; flex: 1; }

/* ============================================
   RESOURCES PAGE
============================================ */
.resources-hero {
    background: var(--navy);
    padding: 8rem 0 5rem;
    text-align: center;
}
.resources-hero h1 { color: #fff; margin-bottom: 1rem; }
.resources-hero p  { color: rgba(255,255,255,0.7); font-size: 1.125rem; max-width: 600px; margin: 0 auto; }

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2rem;
}
.resource-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    text-align: center;
    transition: var(--transition);
    display: flex; flex-direction: column; align-items: center;
}
.resource-card:hover { box-shadow: var(--shadow); border-color: var(--teal); transform: translateY(-4px); }
.resource-icon {
    width: 68px; height: 68px; border-radius: 14px;
    background: var(--light);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.875rem; margin-bottom: 1.25rem;
}
.resource-card h3  { font-size: 1.125rem; margin-bottom: 0.75rem; color: var(--navy); }
.resource-card p   { font-size: 0.9375rem; color: var(--text-muted); margin-bottom: 1.5rem; flex: 1; }
.resource-badge {
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    background: var(--light); color: var(--text-muted);
    padding: 0.3rem 0.875rem; border-radius: 50px; margin-bottom: 1.5rem;
}

/* ============================================
   PAGE HERO (inner pages)
============================================ */
.page-hero {
    background: var(--navy);
    padding: 8rem 0 4.5rem;
    text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p  { color: rgba(255,255,255,0.7); font-size: 1.125rem; max-width: 600px; margin: 0 auto; }

/* ============================================
   PAGE CONTENT (generic)
============================================ */
.page-content { padding: 5rem 0; }
.page-content h2 { margin: 2.5rem 0 1rem; }
.page-content h3 { margin: 2rem 0 0.75rem; }
.page-content p  { margin-bottom: 1.25rem; color: var(--text-muted); }
.page-content ul, .page-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.page-content li { margin-bottom: 0.5rem; color: var(--text-muted); }

/* ============================================
   SITE FOOTER
============================================ */
.site-footer { background: var(--navy-dark); }
.footer-main  { padding: 5rem 0 3rem; }
.footer-grid  {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.25fr;
    gap: 3.5rem;
}
.footer-brand .logo-fallback { display: block; margin-bottom: 1.25rem; }
.footer-brand img   { height: 40px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p {
    color: rgba(255,255,255,0.5); font-size: 0.9375rem;
    line-height: 1.7; max-width: 280px; margin-bottom: 1.5rem;
}
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.65); font-size: 0.875rem;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--orange); color: #fff; }
.footer-col h4 {
    color: #fff; font-size: 0.8rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul li a { color: rgba(255,255,255,0.5); font-size: 0.9375rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--orange); }
.footer-contact-item {
    display: flex; gap: 0.625rem; align-items: flex-start;
    font-size: 0.9375rem; color: rgba(255,255,255,0.5);
    margin-bottom: 0.875rem;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 0.2em; opacity: 0.6; }
.footer-contact-item a { color: rgba(255,255,255,0.5); }
.footer-contact-item a:hover { color: var(--teal); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 0;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.875rem; color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: rgba(255,255,255,0.35); }
.footer-bottom a:hover { color: var(--orange); }
.footer-legal {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.2);
    margin-top: 0.5rem;
    line-height: 1.6;
}

/* ============================================
   BANKING / EFT DETAILS
============================================ */
.banking-details {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 1.5rem;
}
.banking-row {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
}
.banking-row:last-child { border-bottom: none; }
.banking-row:nth-child(even) { background: var(--bg-light); }
.banking-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex: 0 0 160px;
}
.banking-value {
    font-size: 0.9375rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Donation modal — alternative payment note */
.donate-alt-note {
    margin-top: 0.875rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
}
.donate-alt-note button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: inherit;
    color: var(--teal);
    text-decoration: underline;
    font-family: inherit;
}
.donate-alt-note button:hover { color: var(--navy); }

/* EFT panel inside donation modal */
.donate-eft-panel {
    display: none;
    margin-top: 1rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    text-align: left;
}
.donate-eft-panel.is-open { display: block; }
.donate-eft-panel h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
    text-align: center;
}
.donate-eft-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.8125rem;
    gap: 1rem;
}
.donate-eft-row:last-of-type { border-bottom: none; }
.donate-eft-label {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}
.donate-eft-value {
    color: var(--text-dark);
    font-weight: 500;
    text-align: right;
}
.donate-eft-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    line-height: 1.5;
    text-align: center;
}
.donate-eft-back {
    display: block;
    margin-top: 0.875rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    text-decoration: underline;
}
.donate-eft-back:hover { color: var(--navy); }

/* ============================================
   TEAM GRID
============================================ */
/* Legacy fallback — keeps any existing team-grid usage intact */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2rem;
}

/* ── Founders row ── */
.team-grid--founders {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
.team-card--founder {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow);
    text-align: left;
}
.team-photo--founder {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    margin: 0;
}
.team-founder-text { flex: 1; min-width: 0; }
.team-founder-text .team-name { font-size: 1.125rem; margin-bottom: .25rem; }

/* ── Staff row ── */
.team-grid--staff {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
}
.team-grid--staff .team-card--staff {
    flex: 0 0 160px;
}
.team-card--staff { text-align: center; }
.team-photo--staff {
    width: 90px;
    height: 90px;
    font-size: 2rem;
    margin-bottom: 1rem;
}
.team-card--staff .team-name { font-size: 1rem; margin-bottom: .2rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
    /* Circular diagram → 2-column grid on tablet */
    .circular-steps {
        position: static;
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.5rem;
        max-width: 560px;
        margin: 0 auto 2.5rem;
    }
    .circular-steps::before { display: none; }
    .circular-hub {
        position: static;
        transform: none;
        grid-column: span 2;
        width: auto; height: auto;
        border-radius: var(--radius);
        padding: 1.25rem 1.5rem;
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }
    .circular-hub-icon { font-size: 1.75rem; margin-bottom: 0; }
    .circular-hub-label { text-align: left; }
    .circular-steps .circular-step:nth-child(2),
    .circular-steps .circular-step:nth-child(3),
    .circular-steps .circular-step:nth-child(4),
    .circular-steps .circular-step:nth-child(5),
    .circular-steps .circular-step:nth-child(6),
    .circular-steps .circular-step:nth-child(7) {
        position: static;
        transform: none;
        width: 100%; height: auto;
        border-radius: var(--radius);
        padding: 2rem 1.25rem 1.25rem;
    }
}
@media (max-width: 640px) {
    .team-grid--founders { grid-template-columns: 1fr; }
    .team-card--founder  { flex-direction: column; align-items: center; text-align: center; }
    .team-photo--founder { margin: 0 auto; }
}

.team-card { text-align: center; }
.team-photo {
    width: 140px; height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--teal), var(--navy));
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.4);
    font-size: 3rem;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .team-name { font-size: 1.125rem; margin-bottom: .25rem; }
.team-role {
    color: var(--teal); font-size: .875rem;
    font-weight: 600; margin-bottom: .75rem; text-transform: uppercase;
    letter-spacing: .04em;
}
.team-bio { color: var(--text-muted); font-size: .9375rem; text-align: left; }
.team-bio p { margin-bottom: .5rem; }
@media (max-width: 768px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; }
}

/* ── Read bio button ── */
.team-bio-toggle {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-top: .625rem;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: .875rem;
    font-weight: 700;
    color: var(--teal);
    transition: color .2s ease;
}
.team-bio-toggle:hover { color: var(--teal-dark); }

/* ── Bio modal ── */
.bio-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.bio-modal.is-open { display: flex; }
.bio-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6,43,91,.75);
    backdrop-filter: blur(3px);
}
.bio-modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem 2.25rem;
    max-width: 540px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.bio-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: .875rem;
    transition: background .2s ease, color .2s ease;
}
.bio-modal-close:hover { background: var(--border); color: var(--navy); }
.bio-modal-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 1.25rem;
    border: 3px solid var(--light-2);
}
.bio-modal-name {
    font-size: 1.25rem;
    margin-bottom: .35rem;
}
.bio-modal-role {
    color: var(--teal);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.bio-modal-body {
    text-align: left;
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}
.bio-modal-body p { color: var(--text-muted); }

/* ============================================
   UTILITIES
============================================ */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .about-grid,
    .story-grid { grid-template-columns: 1fr; gap: 3rem; }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
    .section { padding: 4rem 0; }
    .menu-toggle { display: flex; }
    .primary-nav { display: none; }
    .programs-grid,
    .involved-grid,
    .resources-grid { grid-template-columns: 1fr; }

    /* Circular diagram → vertical list on mobile */
    .circular-steps {
        position: static;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        max-width: 440px;
        margin: 0 auto 2.5rem;
    }
    .circular-steps::before { display: none; }
    .circular-hub { display: none; }
    .circular-steps .circular-step:nth-child(2),
    .circular-steps .circular-step:nth-child(3),
    .circular-steps .circular-step:nth-child(4),
    .circular-steps .circular-step:nth-child(5),
    .circular-steps .circular-step:nth-child(6),
    .circular-steps .circular-step:nth-child(7) {
        position: static;
        transform: none;
        width: 100%; height: auto;
        border-radius: var(--radius);
        padding: 2rem 1.25rem 1.25rem;
    }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
    .hero-inner { padding: 4rem 1.5rem 5rem; }
    .hero-ctas { flex-direction: column; align-items: flex-start; }
    .circular-callout { padding: 2rem 1.5rem; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
}

/* ============================================================
   SUBPAGE COMPONENTS
   Simplified design system for interior pages
============================================================ */

/* ── Page Banner ── */
.page-banner {
    background: var(--navy);
    padding: 5.5rem 0 5rem;
    text-align: center;
    border-bottom: 3px solid var(--teal);
}
.page-banner--volunteer {
    border-bottom-color: var(--orange);
}
.page-banner--has-image {
    position: relative;
}
.page-banner--has-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(6, 43, 91, 0.72);
    z-index: 0;
}
.page-banner--has-image .container {
    position: relative;
    z-index: 1;
}
.page-banner h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}
.banner-sub {
    color: rgba(255,255,255,.72);
    font-size: 1.0625rem;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.65;
}
.banner-sub p {
    color: rgba(255,255,255,.72);
    font-size: 1.0625rem;
    margin-bottom: 0;
}
.eyebrow {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: .75rem;
}
.page-banner .eyebrow {
    color: rgba(255,255,255,.55);
}

/* ── Stat Strip (light bg, used on subpages) ── */
.stat-strip-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.stat-strip-item {
    background: #fff;
    padding: 2.25rem 1.5rem;
    border-right: 1px solid var(--border);
    text-align: center;
}
.stat-strip-item:last-child {
    border-right: none;
}
.stat-strip-number {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
    color: var(--navy);
    line-height: 1;
    margin-bottom: .5rem;
}
.stat-strip-label {
    font-size: .875rem;
    color: var(--text-muted);
    line-height: 1.4;
}
@media (max-width: 768px) {
    .stat-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-strip-item:nth-child(2) {
        border-right: none;
    }
}
@media (max-width: 480px) {
    .stat-strip {
        grid-template-columns: 1fr;
    }
    .stat-strip-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}

/* ── Page CTA (navy bottom section) ── */
.page-cta {
    background: var(--navy);
    padding: 4.5rem 0;
    text-align: center;
}

/* ── Contact Page Layout ── */
.contact-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: start;
}
@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
.glo-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
@media (max-width: 600px) {
    .glo-contact-form .form-row {
        grid-template-columns: 1fr;
    }
}
.glo-contact-form .form-group {
    margin-bottom: 1.25rem;
}
.glo-contact-form label {
    display: block;
    font-size: .875rem;
    font-weight: 700;
    margin-bottom: .375rem;
    color: var(--text-dark);
}
.glo-contact-form input,
.glo-contact-form select,
.glo-contact-form textarea {
    width: 100%;
    padding: .75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: .9375rem;
    font-family: inherit;
    color: var(--text-dark);
    background: #fff;
    transition: border-color .2s;
    box-sizing: border-box;
}
.glo-contact-form input:focus,
.glo-contact-form select:focus,
.glo-contact-form textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(45,173,194,.15);
}
.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-info-row {
    display: flex;
    align-items: center;
    gap: .875rem;
    font-size: .9375rem;
    color: var(--text-muted);
}
.contact-info-row a {
    color: var(--text-dark);
    text-decoration: none;
}
.contact-info-row a:hover {
    color: var(--teal);
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--navy);
    transition: background .2s, color .2s;
    text-decoration: none;
}
.social-icon:hover {
    background: var(--teal);
    color: #fff;
}


/* ═══════════════════════════════════════════════
   DONATION MODAL
═══════════════════════════════════════════════ */
.donate-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
.donate-modal.is-open {
    display: flex;
}
.donate-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 43, 91, .72);
    backdrop-filter: blur(4px);
    cursor: pointer;
}
.donate-modal-box {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 2.25rem 2rem 1.75rem;
    width: min(420px, calc(100vw - 2rem));
    box-shadow: 0 24px 60px rgba(6,43,91,.35);
    text-align: center;
    animation: modal-in .22s ease;
}
@keyframes modal-in {
    from { opacity: 0; transform: translateY(18px) scale(.97); }
    to   { opacity: 1; transform: none; }
}
.donate-modal-close {
    position: absolute;
    top: .875rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    padding: .25rem .5rem;
    border-radius: 6px;
    transition: color .15s, background .15s;
}
.donate-modal-close:hover {
    color: var(--navy);
    background: var(--bg-light);
}
.donate-modal-logo {
    margin-bottom: 1.5rem;
}
.donate-modal-logo img,
.donate-modal-logo .custom-logo {
    height: 48px;
    width: auto;
}
.donate-modal-logo .logo-fallback {
    font-size: 1.25rem;
}

/* Amount grid */
.donate-amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .625rem;
    margin-bottom: .875rem;
}
.amount-btn {
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 10px;
    padding: .75rem .5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
}
.amount-btn:hover {
    border-color: var(--orange);
    background: #fff;
}
.amount-btn--active {
    border-color: var(--orange);
    background: #fff3ed;
    color: var(--orange);
}

/* Custom amount input */
.donate-custom-row {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    transition: border-color .2s;
}
.donate-custom-row:focus-within {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(45,173,194,.15);
}
.donate-custom-symbol {
    padding: .75rem 0 .75rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
}
.donate-custom-input {
    flex: 1;
    border: none;
    outline: none;
    padding: .75rem .875rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-dark);
    background: transparent;
    -moz-appearance: textfield;
}
.donate-custom-input::-webkit-inner-spin-button,
.donate-custom-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

/* PayPal button */
.btn-paypal-donate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .625rem;
    width: 100%;
    padding: .9375rem 1.5rem;
    background: #0070ba;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background .2s, transform .1s;
    margin-bottom: .875rem;
}
.btn-paypal-donate:hover {
    background: #005ea6;
}
.btn-paypal-donate:active {
    transform: scale(.98);
}
.btn-paypal-donate svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Secure note */
.donate-secure {
    margin: 0;
    font-size: .8125rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .375rem;
}

/* Mobile */
@media (max-width: 480px) {
    .donate-modal-box {
        padding: 1.75rem 1.25rem 1.5rem;
    }
    .donate-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Frequency toggle (One-time / Monthly) */
.donate-frequency {
    display: flex;
    background: var(--bg-light);
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 1.25rem;
    gap: 0;
}
.freq-btn {
    flex: 1;
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
    font-family: var(--font-body);
}
.freq-btn--active {
    background: #fff;
    color: var(--navy);
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.freq-btn:not(.freq-btn--active):hover {
    color: var(--navy);
}

/* Donation summary line */
.donate-summary {
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--navy);
    min-height: 1.4em;
    margin-bottom: 0.75rem;
}

/* Fund selector (donation modal) */
.donate-fund-wrap {
    margin-bottom: 1rem;
    text-align: left;
}
.donate-fund-label {
    display: block;
    font-size: .8125rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .375rem;
}
.donate-fund-select {
    width: 100%;
    padding: .75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: .9375rem;
    font-family: inherit;
    color: var(--text-dark);
    background: #fff;
    cursor: pointer;
    transition: border-color .2s;
    appearance: auto;
}
.donate-fund-select:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(45,173,194,.15);
}
