/* Consolidated stylesheet extracted from HTML files
   Duplicates removed; shared variables and commonly used classes kept.
*/
:root {
    --foundation-blue: #2563eb;
    --growth-green: #16a34a;
    --pure-white: #ffffff;
    --warm-gray: #6b7280;
    --light-blue: #dbeafe;
    --light-green: #dcfce7;
    --deep-charcoal: #1f2937;
    --sunset-orange: #f97316;
    --soft-gold: #fbbf24;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--pure-white);
    color: var(--deep-charcoal);
}

/* Hero gradients and animation */
.hero-gradient {
    background: linear-gradient(135deg, var(--foundation-blue) 0%, var(--growth-green) 100%);
    background-size: 400% 400%;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--foundation-blue), var(--growth-green));
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}
.btn-secondary {
    background: var(--sunset-orange);
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

/* Generic card hover */
.card-hover { transition: all 0.3s ease; }
.card-hover:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

.counter { font-size: 3rem; font-weight: 800; color: var(--foundation-blue); }

.program-icon { width: 60px; height: 60px; background: var(--light-blue); border-radius: 50%; display:flex; align-items:center; justify-content:center; font-size:24px; color:var(--foundation-blue); }

.sticky-donate { position: fixed; bottom: 20px; right: 20px; z-index: 1000; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { transform:scale(1); } 50% { transform:scale(1.05); } }

/* Navigation helpers */
.nav-sticky { backdrop-filter: blur(10px); background: rgba(255,255,255,0.95); box-shadow: 0 2px 20px rgba(0,0,0,0.1); }

.text-gradient { background: linear-gradient(135deg, var(--foundation-blue), var(--growth-green)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }

.nav-text-outline {
    text-shadow: -0.5px 0 #000, 0.5px 0 #000, 0 -0.5px #000, 0 0.5px #000;
}

/* Apply translucent blurred navbar on desktop only */
@media (min-width: 768px) {
    #navbar { -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); background: rgba(255,255,255,0.40); box-shadow: 0 2px 18px rgba(0,0,0,0.05); }
    .counter { font-size: 3rem; }
}

/* Contact / FAQ / Map */
.faq-item { transition: all 0.3s ease; }
.faq-content {
    max-height: 0;
    overflow: hidden;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 0;
    transition: max-height 0.3s ease, padding-bottom 0.3s ease;
}
.faq-content.active { max-height: 600px; padding-bottom: 1rem; }

.whatsapp-btn { background: linear-gradient(45deg,#25d366,#128c7e); transition: all 0.3s ease; }
.whatsapp-btn:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(37,211,102,0.3); }

.contact-icon { background: linear-gradient(135deg, var(--foundation-blue), var(--light-blue)); }
#map { height:400px; border-radius:12px; }

/* Donation page */
.donation-amount { transition: all 0.3s ease; cursor: pointer; }
.donation-amount.selected { background: var(--foundation-blue); color: white; transform: scale(1.05); }
.donation-amount:hover { background: var(--light-blue); transform: translateY(-2px); }
.impact-calculator { background: linear-gradient(135deg, rgba(37,99,235,0.05), rgba(22,163,74,0.05)); border:1px solid rgba(37,99,235,0.1); }
.trust-indicator { background:white; border:1px solid #e5e7eb; border-radius:0.5rem; padding:1rem; text-align:center; transition:all 0.3s ease; }
.trust-indicator:hover { border-color: var(--foundation-blue); transform: translateY(-2px); }
.progress-bar { background:#e5e7eb; height:0.5rem; border-radius:0.25rem; overflow:hidden; }
.progress-fill { background: linear-gradient(90deg, var(--foundation-blue), var(--growth-green)); height:100%; transition: width 1s ease; }
.donation-form { background:white; border-radius:1rem; box-shadow:0 10px 40px rgba(0,0,0,0.1); }
.form-step { display:none; }
.form-step.active { display:block; }
.step-indicator { width:2rem; height:2rem; border-radius:50%; background:#e5e7eb; color:#6b7280; display:flex; align-items:center; justify-content:center; font-weight:bold; transition:all 0.3s ease; }
.step-indicator.active { background:var(--foundation-blue); color:white; }
.step-indicator.completed { background:var(--growth-green); color:white; }
.donation-confirmation { background: linear-gradient(135deg,#dcfce7,#dbeafe); border:1px solid #16a34a; }

/* Volunteer / Programs / Leadership specific */
.volunteer-card, .team-card { background:white; border-radius:1rem; box-shadow:0 4px 20px rgba(0,0,0,0.1); transition:all 0.3s ease; cursor:pointer; }
.volunteer-card:hover, .team-card:hover { transform: translateY(-8px); box-shadow:0 20px 40px rgba(0,0,0,0.15); }
.volunteer-icon { width:80px; height:80px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:2rem; margin:0 auto 1rem; }
.skills-filter { cursor:pointer; transition:all 0.3s ease; }
.skills-filter.active { background:var(--foundation-blue); color:white; }
.volunteer-opportunity { display:none; }
.volunteer-opportunity.active { display:block; }

.impact-metric { background: linear-gradient(135deg, var(--light-blue), var(--light-green)); border-radius:1rem; padding:2rem; text-align:center; }

.timeline-item { position: relative; padding-left:2rem; }
.timeline-item::before { content:''; position:absolute; left:0; top:0.5rem; width:1rem; height:1rem; background:var(--growth-green); border-radius:50%; }
.timeline-item::after { content:''; position:absolute; left:0.375rem; top:1.5rem; width:0.25rem; height:calc(100% - 1rem); background:linear-gradient(to bottom, var(--growth-green), transparent); }
.timeline-item:last-child::after { display:none; }

.framework-step { position:relative; padding-left:3rem; }
.framework-step::before { content:''; position:absolute; left:0; top:0.5rem; width:2rem; height:2rem; background:var(--foundation-blue); border-radius:50%; display:flex; align-items:center; justify-content:center; color:white; font-weight:bold; font-size:0.875rem; }
.framework-step:nth-child(1)::before { content: '1'; }
.framework-step:nth-child(2)::before { content: '2'; }
.framework-step:nth-child(3)::before { content: '3'; }
.framework-step:nth-child(4)::before { content: '4'; }
.framework-step:nth-child(5)::before { content: '5'; }
.framework-step:nth-child(6)::before { content: '6'; }
.framework-step:nth-child(7)::before { content: '7'; }

.story-card, .goal-card, .leadership-philosophy { background: linear-gradient(135deg, rgba(37,99,235,0.05), rgba(22,163,74,0.05)); border:1px solid rgba(37,99,235,0.1); border-radius:1rem; padding:2rem; }

.testimonial-card { background:white; border-radius:1rem; padding:2rem; box-shadow:0 4px 20px rgba(0,0,0,0.05); border:1px solid rgba(0,0,0,0.05); position:relative; }
.testimonial-card::before { content:'"'; position:absolute; top:-10px; left:20px; font-size:4rem; color:var(--foundation-blue); font-family: Georgia, serif; }

.value-card, .advisor-card { background:white; border-radius:1rem; padding:2rem; box-shadow:0 4px 20px rgba(0,0,0,0.05); }
.advisor-card { background: linear-gradient(135deg, rgba(249,115,22,0.05), rgba(251,191,36,0.05)); border:1px solid rgba(249,115,22,0.1); }

.expandable-content { max-height:0; overflow:hidden; transition:max-height 0.3s ease; }
.expandable-content.expanded { max-height:1000px; }

/* Small responsive tweaks kept from originals */
@media (max-width: 768px) {
    .counter { font-size: 2rem; }
    .hero-title { font-size: 2.5rem; }
}

/* Logo sizing — edit the variables below to change sizes */
:root {
    --logo-height-desktop: 64px;
    --logo-height-tablet: 56px;
    --logo-height-mobile: 48px;
}

/* Apply the site logo sizing. Change the variables above to adjust sizes. */
.site-logo {
    height: var(--logo-height-desktop);
    width: auto;
    object-fit: contain;
    display: block;
    max-height: 100%;
}

@media (max-width: 1024px) {
    .site-logo { height: var(--logo-height-tablet); }
}

@media (max-width: 767px) {
    .site-logo { height: var(--logo-height-mobile); }
}
/* Application forms (Volunteer & Partnership) */
.application-form {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top;
}

.application-form.hidden {
    display: none;
    opacity: 0;
    transform: scaleY(0.95);
}

.application-form:not(.hidden) {
    display: block;
    opacity: 1;
    transform: scaleY(1);
    animation: slideDownFade 0.5s ease-out;
}

@keyframes slideDownFade {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-input-focus:focus {
    border-color: var(--foundation-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* ============================================================
   2025 redesign tokens — used only by index.html and about.html.
   Additive: existing tokens/classes above are untouched and still
   power programs.html, leadership.html, get-involved.html,
   donate.html, and contact.html.
   ============================================================ */
:root {
    --brand-ink: #1D4352;
    --brand-teal: #146B92;
    --brand-cyan: #0EA5D9;
    --brand-green: #8FC24C;
    --brand-terracotta: #C1793F;
    --warm-50: #FAF8F4;
    --warm-100: #F2ECE3;
    --warm-200: #E4DACB;
    --warm-700: #4A423A;
    --warm-900: #241F1B;
}

.font-display { font-family: 'Fraunces', Georgia, serif; }

.text-ink { color: var(--warm-900); }
.text-muted { color: var(--warm-700); }
.bg-warm { background-color: var(--warm-50); }

.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-ink);
    color: #fff;
    border-radius: 9999px;
    transition: all 0.3s ease;
}
.btn-brand:hover {
    background: #14343d;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(29, 67, 82, 0.25);
}

.btn-outline-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--brand-ink);
    border: 2px solid var(--brand-ink);
    border-radius: 9999px;
    transition: all 0.3s ease;
}
.btn-outline-brand:hover {
    background: var(--brand-ink);
    color: #fff;
    transform: translateY(-2px);
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-teal);
}

.photo-placeholder {
    background: var(--warm-100);
    border: 2px dashed var(--warm-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--warm-700);
    text-align: center;
    gap: 0.75rem;
    padding: 1.5rem;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
}
.photo-placeholder svg { width: 2.5rem; height: 2.5rem; opacity: 0.5; flex-shrink: 0; }
.photo-placeholder p { font-size: 0.85rem; max-width: 22rem; line-height: 1.4; margin: 0; }

.pull-quote { border-left: 4px solid var(--brand-cyan); padding-left: 1.5rem; }
.pull-quote p:first-child { font-family: 'Fraunces', Georgia, serif; font-style: italic; }

.board-card {
    background: #fff;
    border-top: 3px solid var(--brand-teal);
    border-radius: 0.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 2rem;
}

.numeral-display {
    font-family: 'Fraunces', Georgia, serif;
    color: var(--brand-cyan);
    font-size: 1.5rem;
    font-weight: 500;
}

/* Floating glass navbar + slide-in drawer (index.html & about.html only) */
.nav-glass {
    background: rgba(250, 248, 244, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: box-shadow 0.3s ease, background 0.3s ease, transform 0.4s ease;
}
.nav-glass.nav-sticky {
    background: rgba(250, 248, 244, 0.95);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.nav-link {
    position: relative;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--warm-700);
    padding-bottom: 4px;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--brand-teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.nav-link:hover { color: var(--brand-ink); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--brand-ink); }

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem;
    background: rgba(29, 67, 82, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 60;
    transform: translateX(0);
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.mobile-drawer.hidden {
    display: flex;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
}
.mobile-drawer .drawer-link {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}
.mobile-drawer .drawer-link:hover { color: var(--brand-cyan); }

/* Apple-style frosted glass panel, used over photography for legibility */
.glass-panel {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Light mask over hero photography so overlaid text stays readable */
.hero-mask {
    background:
        linear-gradient(180deg, rgba(15, 23, 27, 0.05) 0%, rgba(15, 23, 27, 0.6) 100%),
        linear-gradient(to left, rgba(15, 23, 27, 0.55) 0%, rgba(15, 23, 27, 0.05) 58%);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 9999px;
    transition: all 0.3s ease;
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--brand-ink);
}

/* Board "View Credentials" trigger + modal (about.html only) */
.credentials-trigger {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--brand-ink);
    cursor: pointer;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, opacity 0.2s ease;
}
.credentials-trigger:hover,
.credentials-trigger:focus-visible {
    border-color: var(--brand-ink);
    opacity: 0.8;
}

.modal-scrim {
    position: fixed;
    inset: 0;
    background: rgba(24, 32, 35, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.modal-scrim.hidden { display: none; }

.modal-card {
    background: var(--warm-50);
    border-radius: 1.25rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    max-width: 32rem;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
}
.modal-card .modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--warm-100);
    color: var(--warm-700);
    border: none;
    cursor: pointer;
}
.modal-card .modal-close:hover { background: var(--warm-200); }
.modal-card h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-teal);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.modal-card ul { list-style: none; padding: 0; margin: 0; }
.modal-card ul li {
    padding-left: 1rem;
    position: relative;
    color: var(--warm-700);
    line-height: 1.6;
}
.modal-card ul li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--brand-cyan);
}

/* Get Involved page (new design system additions) */
.volunteer-card {
    background: #fff;
    border: 1px solid var(--warm-200);
    border-radius: 1rem;
    padding: 2rem;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.volunteer-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.06); transform: translateY(-2px); }

.skills-filter {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: 9999px;
    background: var(--warm-100);
    color: var(--warm-700);
    cursor: pointer;
    border: none;
    transition: background 0.2s ease, color 0.2s ease;
}
.skills-filter.active,
.skills-filter:hover { background: var(--brand-ink); color: #fff; }

.form-input-brand:focus {
    outline: none;
    border-color: var(--brand-teal) !important;
    box-shadow: 0 0 0 3px rgba(20, 107, 146, 0.15);
}

/* Donate page (new design system additions) */
.amount-option {
    border: 2px solid var(--warm-200);
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}
.amount-option:hover { border-color: var(--brand-teal); }
.amount-option.selected { border-color: var(--brand-ink); background: rgba(29, 67, 82, 0.05); }

.step-dot {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: var(--warm-100);
    color: var(--warm-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}
.step-dot.active { background: var(--brand-ink); color: #fff; }
.step-dot.completed { background: var(--brand-teal); color: #fff; }

.trust-badge { text-align: center; padding: 1.5rem 1rem; }
.trust-badge svg { width: 1.75rem; height: 1.75rem; margin: 0 auto 0.75rem; color: var(--brand-teal); }

.field-error { color: #b91c1c; font-size: 0.8rem; margin-top: 0.25rem; }
