/* ==========================================================================
   WIHF — Design System
   Palette: Blue marine + Gold/Yellow (extracted from logo)
   Typography: Poppins (headings) + Inter (body)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700;800&display=swap');

:root {
    /* Brand colors */
    --wihf-blue: #1b5aa7;
    --wihf-blue-dark: #0d3d7a;
    --wihf-blue-deep: #0a2f5c;
    --wihf-blue-light: #e6f0f8;
    --wihf-blue-soft: #f4f8fc;

    --wihf-yellow: #f5c93f;
    --wihf-yellow-dark: #e0b52d;
    --wihf-yellow-light: #fff4cc;

    --wihf-white: #ffffff;
    --wihf-gray-50: #f8f9fb;
    --wihf-gray-100: #eef1f5;
    --wihf-gray-200: #dfe4ec;
    --wihf-gray-400: #9aa3b2;
    --wihf-gray-600: #5a6472;
    --wihf-gray-800: #2a3142;
    --wihf-gray-900: #161b2b;

    /* Bootstrap theme override */
    --bs-primary: var(--wihf-blue);
    --bs-primary-rgb: 27, 90, 167;
    --bs-warning: var(--wihf-yellow);
    --bs-warning-rgb: 245, 201, 63;
    --bs-body-font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --bs-body-color: var(--wihf-gray-800);
    --bs-link-color: var(--wihf-blue);
    --bs-link-hover-color: var(--wihf-blue-dark);

    /* Design tokens */
    --wihf-radius-sm: 6px;
    --wihf-radius: 12px;
    --wihf-radius-lg: 20px;
    --wihf-radius-pill: 999px;
    --wihf-shadow-sm: 0 2px 6px rgba(10, 47, 92, 0.06);
    --wihf-shadow: 0 6px 24px rgba(10, 47, 92, 0.08);
    --wihf-shadow-lg: 0 16px 48px rgba(10, 47, 92, 0.12);
    --wihf-transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
    --wihf-container: 1200px;
}

/* ==========================================================================
   Base
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--wihf-gray-800);
    background: var(--wihf-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Poppins', system-ui, sans-serif;
    font-weight: 700;
    color: var(--wihf-blue-dark);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h1, .h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); font-weight: 800; }
h2, .h2 { font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem); }
h3, .h3 { font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem); }

p { margin-bottom: 1rem; }

::selection {
    background: var(--wihf-yellow);
    color: var(--wihf-blue-deep);
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.skip-link {
    position: absolute;
    top: -40px;
    left: 12px;
    background: var(--wihf-blue-dark);
    color: #fff;
    padding: 10px 16px;
    z-index: 10000;
    border-radius: 0 0 var(--wihf-radius-sm) var(--wihf-radius-sm);
    font-weight: 600;
    transition: top var(--wihf-transition);
}
.skip-link:focus {
    top: 0;
    color: #fff;
}

:focus-visible {
    outline: 3px solid var(--wihf-yellow);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.container,
.container-lg,
.container-xl {
    max-width: var(--wihf-container);
}

.text-brand { color: var(--wihf-blue) !important; }
.text-brand-dark { color: var(--wihf-blue-dark) !important; }
.text-accent { color: var(--wihf-yellow-dark) !important; }

.bg-brand { background-color: var(--wihf-blue) !important; color: #fff; }
.bg-brand-dark { background-color: var(--wihf-blue-dark) !important; color: #fff; }
.bg-brand-soft { background-color: var(--wihf-blue-soft) !important; }
.bg-accent { background-color: var(--wihf-yellow) !important; color: var(--wihf-blue-dark); }
.bg-accent-soft { background-color: var(--wihf-yellow-light) !important; }

.section {
    padding: clamp(3rem, 7vw, 6rem) 0;
}

.section-title {
    display: inline-block;
    background: var(--wihf-blue);
    color: #fff;
    padding: 0.4rem 1.5rem;
    border-radius: var(--wihf-radius-sm);
    font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.75rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-title--accent {
    background: var(--wihf-yellow);
    color: var(--wihf-blue-dark);
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--wihf-yellow-dark);
    margin-bottom: 0.75rem;
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--wihf-transition), box-shadow var(--wihf-transition);
}
.site-header.is-scrolled {
    border-bottom-color: var(--wihf-gray-100);
    box-shadow: var(--wihf-shadow-sm);
}

.site-header .navbar-brand img {
    height: 48px;
    width: auto;
}

.site-header .nav-link {
    font-weight: 600;
    color: var(--wihf-blue) !important;
    padding: 0.5rem 0.9rem !important;
    position: relative;
    transition: color var(--wihf-transition);
}
.site-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 0.9rem;
    right: 0.9rem;
    height: 2px;
    background: var(--wihf-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--wihf-transition);
}
.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--wihf-yellow-dark) !important;
}
.site-header .nav-link:hover::after,
.site-header .nav-link.active::after {
    transform: scaleX(1);
}

.lang-toggle {
    font-weight: 600;
    color: var(--wihf-gray-600);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}
.lang-toggle .active {
    color: var(--wihf-blue);
}

/* ==========================================================================
   Buttons — 3 variants used consistently everywhere
   - .btn-primary        : solid blue   (secondary actions, "Découvrir", etc.)
   - .btn-cta/.btn-donate: solid yellow (primary CTA, "Faire un don")
   - .btn-outline-primary: outline that adapts to light/dark backgrounds
   ========================================================================== */

.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border-radius: var(--wihf-radius-pill);
    padding: 0.7rem 1.6rem;
    border: 2px solid transparent;
    transition: background-color var(--wihf-transition), color var(--wihf-transition), border-color var(--wihf-transition);
    letter-spacing: 0.01em;
    box-shadow: none;
}
.btn:hover,
.btn:focus,
.btn:active {
    transform: none !important;
    box-shadow: none !important;
}
.btn-lg {
    padding: 0.85rem 1.9rem;
    font-size: 1rem;
}

/* --- Solid blue (secondary action) --- */
.btn-primary {
    background: var(--wihf-blue);
    border-color: var(--wihf-blue);
    color: #fff;
}
.btn-primary:hover,
.btn-primary:focus {
    background: var(--wihf-blue-dark);
    border-color: var(--wihf-blue-dark);
    color: #fff;
}

/* --- Solid yellow (primary CTA — "Faire un don") --- */
.btn-cta,
.btn-donate,
.btn-accent,
.btn-warning {
    background: var(--wihf-yellow);
    border-color: var(--wihf-yellow);
    color: var(--wihf-blue-dark);
}
.btn-cta:hover,
.btn-cta:focus,
.btn-donate:hover,
.btn-donate:focus,
.btn-accent:hover,
.btn-accent:focus,
.btn-warning:hover,
.btn-warning:focus {
    background: var(--wihf-yellow-dark);
    border-color: var(--wihf-yellow-dark);
    color: var(--wihf-blue-dark);
}

/* --- Outline — default on light backgrounds --- */
.btn-outline-primary,
.btn-ghost {
    background: transparent;
    border-color: var(--wihf-blue);
    color: var(--wihf-blue);
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-ghost:hover,
.btn-ghost:focus {
    background: var(--wihf-blue);
    border-color: var(--wihf-blue);
    color: #fff;
}

/* --- Outline on dark backgrounds (hero + parallax) --- */
.hero .btn-outline-primary,
.parallax-band .btn-outline-primary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}
.hero .btn-outline-primary:hover,
.hero .btn-outline-primary:focus,
.parallax-band .btn-outline-primary:hover,
.parallax-band .btn-outline-primary:focus {
    background: #fff;
    border-color: #fff;
    color: var(--wihf-blue-dark);
}

/* ==========================================================================
   Hero — full viewport
   ========================================================================== */

.hero {
    position: relative;
    overflow: hidden;
    min-height: clamp(560px, 85vh, 860px);
    display: flex;
    align-items: center;
    color: #fff;
    isolation: isolate;
    background-color: var(--wihf-blue-deep);
}

/* Background image layer (user replaces /images/hero.jpg) */
.hero__bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(135deg, rgba(10, 47, 92, 0.82), rgba(13, 61, 122, 0.55) 60%, rgba(27, 90, 167, 0.35)),
        url('/images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    transform: scale(1.02);
    will-change: transform;
}

/* Fallback gradient when no hero.jpg is dropped yet */
.hero__bg--placeholder {
    background-image:
        linear-gradient(135deg, rgba(10, 47, 92, 0.85), rgba(27, 90, 167, 0.55)),
        radial-gradient(ellipse at 30% 30%, rgba(245, 201, 63, 0.25), transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(27, 90, 167, 0.6), transparent 60%),
        linear-gradient(135deg, var(--wihf-blue-deep), var(--wihf-blue-dark));
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(245, 201, 63, 0.18), transparent 45%),
        linear-gradient(180deg, transparent 70%, rgba(10, 47, 92, 0.5));
    pointer-events: none;
    z-index: -1;
}

/* Decorative dot pattern top-right */
.hero__pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 60%;
    background-image: radial-gradient(circle, rgba(245, 201, 63, 0.6) 1.5px, transparent 2px);
    background-size: 32px 32px;
    opacity: 0.22;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at top right, #000, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at top right, #000, transparent 70%);
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: clamp(4rem, 8vw, 7rem) 0 clamp(5rem, 10vw, 8rem);
    max-width: 900px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.5rem 1.1rem;
    border-radius: var(--wihf-radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}
.hero__eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--wihf-yellow);
    box-shadow: 0 0 0 4px rgba(245, 201, 63, 0.2);
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.5rem, 5.5vw + 1rem, 5.25rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    text-wrap: balance;
}
.hero h1 em {
    color: var(--wihf-yellow);
    font-style: normal;
    display: inline-block;
    position: relative;
}

.hero__lead {
    font-size: clamp(1.05rem, 1vw + 0.9rem, 1.35rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    max-width: 640px;
    margin-bottom: 2rem;
    font-weight: 400;
}
.hero__lead strong { color: #fff; }

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.hero__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    padding: 0.75rem 1.1rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--wihf-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__meta strong { color: var(--wihf-yellow); font-weight: 700; }

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: color var(--wihf-transition);
}
.hero__scroll:hover { color: var(--wihf-yellow); }
.hero__scroll svg { animation: heroScrollBounce 2s ease-in-out infinite; }

@keyframes heroScrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50%      { transform: translateY(6px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .hero__scroll svg { animation: none; }
}
@media (max-width: 767.98px) {
    .hero__scroll { display: none; }
}

/* ==========================================================================
   Parallax band
   ========================================================================== */

.parallax-band {
    position: relative;
    min-height: 420px;
    padding: clamp(5rem, 10vw, 8rem) 0;
    color: #fff;
    text-align: center;
    overflow: hidden;
    background-color: var(--wihf-blue-dark);
    isolation: isolate;
}
.parallax-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(135deg, rgba(10, 47, 92, 0.82), rgba(27, 90, 167, 0.55) 60%, rgba(10, 47, 92, 0.7)),
        url('/images/parallax.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}
@media (hover: hover) and (pointer: fine) {
    .parallax-band::before {
        background-attachment: fixed;
    }
}
@media (prefers-reduced-motion: reduce) {
    .parallax-band::before {
        background-attachment: scroll;
    }
}
.parallax-band__eyebrow {
    display: inline-block;
    color: var(--wihf-yellow);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.parallax-band__quote {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.5rem, 2.5vw + 1rem, 2.75rem);
    font-weight: 700;
    line-height: 1.25;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    color: #fff;
    text-wrap: balance;
}
.parallax-band__quote em {
    color: var(--wihf-yellow);
    font-style: normal;
}
.parallax-band__author {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    letter-spacing: 0.05em;
}
.parallax-band__author strong { color: #fff; }

/* ==========================================================================
   Group photo (CA)
   ========================================================================== */

.group-photo {
    border-radius: var(--wihf-radius-lg);
    overflow: hidden;
    box-shadow: var(--wihf-shadow);
    background: #fff;
    border: 1px solid var(--wihf-gray-100);
}
.group-photo__image {
    aspect-ratio: 16 / 9;
    background: var(--wihf-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wihf-gray-400);
    font-size: 0.95rem;
}
.group-photo__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.group-photo__caption {
    padding: 1.25rem 1.5rem;
    font-size: 0.9rem;
    color: var(--wihf-gray-600);
    background: #fff;
    border-top: 1px solid var(--wihf-gray-100);
}
.group-photo__caption strong { color: var(--wihf-blue-dark); }
.group-photo__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin-top: 0.75rem;
    font-size: 0.85rem;
}
.group-photo__legend span {
    color: var(--wihf-gray-600);
}
.group-photo__legend span strong {
    color: var(--wihf-blue-dark);
    font-weight: 600;
    margin-right: 0.25rem;
}

/* ==========================================================================
   Stats band
   ========================================================================== */

.stats-band {
    background: var(--wihf-blue-dark);
    color: #fff;
    padding: clamp(2rem, 4vw, 3.5rem) 0;
}
.stat {
    text-align: center;
    padding: 1rem;
}
.stat__value {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 3vw + 1rem, 3rem);
    font-weight: 800;
    color: var(--wihf-yellow);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat__label {
    display: block;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* ==========================================================================
   Cards — beneficiaries
   ========================================================================== */

.card-benef {
    background: #fff;
    border: 1px solid var(--wihf-gray-100);
    border-radius: var(--wihf-radius-lg);
    padding: 1.75rem;
    height: 100%;
    transition: transform var(--wihf-transition), box-shadow var(--wihf-transition), border-color var(--wihf-transition);
    display: flex;
    flex-direction: column;
}
.card-benef:hover {
    transform: translateY(-4px);
    box-shadow: var(--wihf-shadow);
    border-color: var(--wihf-blue-light);
}
.card-benef__media {
    aspect-ratio: 4 / 3;
    background: var(--wihf-gray-100);
    border-radius: var(--wihf-radius);
    overflow: hidden;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wihf-gray-400);
    font-size: 0.9rem;
}
.card-benef__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-benef__title {
    font-size: 1.15rem;
    color: var(--wihf-blue-dark);
    margin-bottom: 0.75rem;
}
.card-benef__list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
    color: var(--wihf-gray-800);
}
.card-benef__list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}
.card-benef__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: var(--wihf-yellow);
    border-radius: 50%;
}

/* ==========================================================================
   Governance grid
   ========================================================================== */

.member-card {
    position: relative;
    background: var(--wihf-gray-100);
    border-radius: var(--wihf-radius);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    cursor: pointer;
    transition: transform var(--wihf-transition), box-shadow var(--wihf-transition);
    border: 0;
    width: 100%;
    padding: 0;
    color: inherit;
    text-align: left;
}
.member-card:hover,
.member-card:focus {
    transform: translateY(-3px);
    box-shadow: var(--wihf-shadow);
}
.member-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.member-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wihf-gray-400);
    font-size: 0.85rem;
    background: var(--wihf-gray-100);
}
.member-card__overlay {
    position: absolute;
    inset: 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 47, 92, 0.92));
    color: #fff;
    opacity: 0;
    transition: opacity var(--wihf-transition);
}
.member-card:hover .member-card__overlay,
.member-card:focus .member-card__overlay {
    opacity: 1;
}
.member-card__icon {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--wihf-yellow);
    color: var(--wihf-blue-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.7) rotate(-20deg);
    transition: opacity 260ms var(--wihf-transition), transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 3;
    box-shadow: 0 6px 20px rgba(245, 201, 63, 0.5);
}
.member-card:hover .member-card__icon,
.member-card:focus .member-card__icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}
.member-card__icon svg {
    width: 18px;
    height: 18px;
}
.member-card__name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 0.15rem;
    color: #fff;
}
.member-card__role {
    font-size: 0.82rem;
    color: var(--wihf-yellow);
    margin: 0;
    font-weight: 500;
}
.member-card--highlight {
    background: var(--wihf-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    cursor: default;
}
.member-card--highlight .member-card__overlay { display: none; }
.member-card--highlight p {
    color: #fff;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}
.member-card--highlight strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--wihf-yellow);
}

/* ==========================================================================
   Modals (governance bios)
   ========================================================================== */

.modal-content {
    border: 0;
    border-radius: var(--wihf-radius-lg);
    box-shadow: var(--wihf-shadow-lg);
}
.modal-header {
    border-bottom: 0;
    padding: 1.5rem 1.75rem 0.5rem;
}
.modal-title {
    color: var(--wihf-blue-dark);
}
.modal-body {
    padding: 1rem 1.75rem 1.75rem;
}
.modal-body .role {
    display: inline-block;
    background: var(--wihf-yellow-light);
    color: var(--wihf-blue-dark);
    padding: 0.25rem 0.85rem;
    border-radius: var(--wihf-radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ==========================================================================
   Engage / donation blocks
   ========================================================================== */

.engage-card {
    background: #fff;
    border: 1px solid var(--wihf-gray-100);
    border-radius: var(--wihf-radius-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    height: 100%;
    transition: transform var(--wihf-transition), box-shadow var(--wihf-transition);
}
.engage-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--wihf-shadow);
}
.engage-card__badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: var(--wihf-radius-pill);
    background: var(--wihf-yellow-light);
    color: var(--wihf-blue-dark);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.engage-card--featured {
    background: linear-gradient(135deg, var(--wihf-blue-dark), var(--wihf-blue));
    color: #fff;
    border: 0;
}
.engage-card--featured h3,
.engage-card--featured .engage-card__badge {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.reason-card {
    background: #fff;
    border: 1px solid var(--wihf-gray-100);
    border-radius: var(--wihf-radius);
    padding: 1.5rem;
    height: 100%;
    transition: transform var(--wihf-transition), box-shadow var(--wihf-transition), border-color var(--wihf-transition);
}
.reason-card:hover {
    transform: translateY(-2px);
    border-color: var(--wihf-blue-light);
    box-shadow: var(--wihf-shadow-sm);
}
.reason-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wihf-yellow-light);
    border-radius: 12px;
    margin-bottom: 1rem;
    color: var(--wihf-blue-dark);
}

/* ==========================================================================
   Projects carousel
   ========================================================================== */

.project-card {
    position: relative;
    border-radius: var(--wihf-radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--wihf-gray-100);
    box-shadow: var(--wihf-shadow-sm);
    transition: transform var(--wihf-transition), box-shadow var(--wihf-transition);
    display: block;
    text-decoration: none;
    color: inherit;
}
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--wihf-shadow-lg);
    color: inherit;
}
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.project-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wihf-gray-400);
}
.project-card__overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(180deg, transparent, rgba(10, 47, 92, 0.9));
    color: #fff;
}
.project-card__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 0.25rem;
    color: #fff;
}
.project-card__meta {
    font-size: 0.85rem;
    color: var(--wihf-yellow);
    margin: 0;
}

/* ==========================================================================
   Banner — page headers
   ========================================================================== */

.page-banner {
    background: var(--wihf-blue);
    color: #fff;
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(245, 201, 63, 0.15) 0, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0, transparent 40%);
    pointer-events: none;
}
.page-banner > * { position: relative; z-index: 1; }
.page-banner h1 {
    color: #fff;
    margin-bottom: 0;
}
.page-banner h1 em {
    color: var(--wihf-yellow);
    font-style: normal;
}
.page-banner__logo {
    height: 64px;
    width: auto;
    margin-top: 1.5rem;
    background: #fff;
    padding: 8px 20px;
    border-radius: var(--wihf-radius);
}

/* ==========================================================================
   Contact form
   ========================================================================== */

.contact-card {
    background: #fff;
    border-radius: var(--wihf-radius-lg);
    box-shadow: var(--wihf-shadow);
    padding: clamp(1.5rem, 4vw, 3rem);
}

.form-label {
    font-weight: 600;
    color: var(--wihf-blue-dark);
    margin-bottom: 0.4rem;
}
.form-control,
.form-select {
    border: 2px solid var(--wihf-gray-200);
    border-radius: var(--wihf-radius-sm);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color var(--wihf-transition), box-shadow var(--wihf-transition);
}
.form-control:focus,
.form-select:focus {
    border-color: var(--wihf-blue);
    box-shadow: 0 0 0 3px rgba(27, 90, 167, 0.15);
}
.form-control::placeholder {
    color: var(--wihf-gray-400);
}
.form-label .required {
    color: #d33b3b;
    margin-left: 2px;
}

.invalid-feedback {
    font-size: 0.85rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--wihf-blue-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}
.site-footer h4 {
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.site-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color var(--wihf-transition);
}
.site-footer a:hover {
    color: var(--wihf-yellow);
}
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer li + li {
    margin-top: 0.5rem;
}
.site-footer__brand img {
    height: 56px;
    background: #fff;
    padding: 6px 14px;
    border-radius: var(--wihf-radius-sm);
}
.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   Sticky mobile CTA
   ========================================================================== */

.sticky-cta {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 1030;
    display: none;
    box-shadow: var(--wihf-shadow-lg);
}
@media (max-width: 767.98px) {
    .sticky-cta { display: flex; }
    body { padding-bottom: 4.5rem; }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   Helpers — image placeholders
   ========================================================================== */

.placeholder-image {
    background: var(--wihf-gray-100);
    border-radius: var(--wihf-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wihf-gray-400);
    font-size: 0.9rem;
    aspect-ratio: 16 / 9;
    width: 100%;
}
.placeholder-image--square { aspect-ratio: 1 / 1; }
.placeholder-image--portrait { aspect-ratio: 3 / 4; }
