/*
Theme Name: Empower Her Village
Theme URI: https://empowerhervillage.org
Author: Shane Barron
Description: Custom nonprofit theme for Empower Her Village - supporting single mothers with essential services through a voucher-based model.
Version: 1.0.0
License: GPL v2 or later
Text Domain: ehv-theme
*/

/* ========================================
   CSS Custom Properties
   ======================================== */
:root {
    /* Brand Colors */
    --ehv-primary: #5636d1;
    --ehv-primary-dark: #4025a8;
    --ehv-primary-light: #7b63e0;
    --ehv-primary-subtle: #f0ecfb;
    --ehv-secondary: #2d802f;
    --ehv-secondary-dark: #236624;
    --ehv-secondary-light: #3da340;
    --ehv-accent: #2271b1;
    --ehv-accent-light: #3a8fd4;

    /* Neutrals */
    --ehv-bg: #f2f2f2;
    --ehv-bg-white: #ffffff;
    --ehv-text: #1a1a2e;
    --ehv-text-muted: #555770;
    --ehv-text-light: #8b8da3;
    --ehv-border: #e0e0e0;
    --ehv-border-light: #f0f0f0;

    /* Status */
    --ehv-success: #2d802f;
    --ehv-warning: #e6a817;
    --ehv-error: #d32f2f;

    /* Typography */
    --ehv-font-primary: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --ehv-font-heading: 'Poppins', var(--ehv-font-primary);

    /* Spacing */
    --ehv-section-py: 80px;
    --ehv-container-max: 1200px;
    --ehv-gap: 24px;
    --ehv-gap-sm: 16px;
    --ehv-gap-lg: 40px;

    /* Effects — layered 3D depth */
    --ehv-shadow: 0 2px 4px rgba(0,0,0,0.04), 0 6px 16px rgba(86, 54, 209, 0.08);
    --ehv-shadow-md: 0 4px 8px rgba(0,0,0,0.06), 0 12px 28px rgba(86, 54, 209, 0.10);
    --ehv-shadow-lg: 0 8px 16px rgba(0,0,0,0.08), 0 20px 40px rgba(86, 54, 209, 0.14);
    --ehv-radius: 8px;
    --ehv-radius-lg: 16px;
    --ehv-radius-full: 999px;
    --ehv-transition: all 0.3s ease;

    /* Texture */
    --ehv-texture: url('assets/img/fabric-texture.png');
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--ehv-font-primary);
    color: var(--ehv-text);
    background-color: var(--ehv-bg);
    background-image: var(--ehv-texture);
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--ehv-primary);
    text-decoration: none;
    transition: var(--ehv-transition);
}

a:hover {
    color: var(--ehv-primary-dark);
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ehv-font-heading);
    font-weight: 700;
    color: var(--ehv-text);
    line-height: 1.3;
    margin-bottom: 16px;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.375rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 16px; }

/* ========================================
   Layout
   ======================================== */
.ehv-container {
    max-width: var(--ehv-container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.ehv-section {
    padding: var(--ehv-section-py) 0;
    position: relative;
    overflow: hidden;
}

.ehv-section--white {
    background: #ffffff;
}

.ehv-section--purple {
    background: linear-gradient(135deg, var(--ehv-primary) 0%, #3a1fa8 50%, var(--ehv-primary-dark) 100%);
    color: #fff;
}

.ehv-section--purple::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--ehv-texture);
    opacity: 0.08;
    pointer-events: none;
}

.ehv-section--purple h2,
.ehv-section--purple h3 {
    color: #fff;
}

.ehv-section--subtle {
    background: var(--ehv-primary-subtle);
}

.ehv-section--green-tint {
    background: linear-gradient(180deg, rgba(45,128,47,0.04) 0%, rgba(45,128,47,0.08) 100%), var(--ehv-texture);
}

.ehv-section--warm {
    background: linear-gradient(180deg, #fef9f3 0%, #fdf0e2 100%), var(--ehv-texture);
}

.ehv-section--dark {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
}

.ehv-section--dark::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--ehv-texture);
    opacity: 0.05;
    pointer-events: none;
}

.ehv-section--dark h2,
.ehv-section--dark h3,
.ehv-section--dark h4 {
    color: #fff;
}

/* Section decorative blobs */
.ehv-section--has-blob::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(86,54,209,0.06) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.ehv-section--blob-tr::before {
    top: -200px;
    right: -150px;
}

.ehv-section--blob-bl::before {
    bottom: -200px;
    left: -150px;
}

.ehv-section--has-blob > .ehv-container {
    position: relative;
    z-index: 1;
}

/* Green blob variant */
.ehv-section--has-blob-green::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45,128,47,0.06) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}


/* ----------------------------------------
   Page Headers with Curved Bottom
   ---------------------------------------- */
.ehv-page-hero {
    background: linear-gradient(135deg, var(--ehv-primary) 0%, #3a1fa8 60%, var(--ehv-primary-dark) 100%);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15), 0 2px 6px rgba(0,0,0,0.1);
}

.ehv-page-hero[style*="background-image"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(86,54,209,0.82) 0%, rgba(58,31,168,0.75) 50%, rgba(64,37,168,0.85) 100%);
    z-index: 0;
}

.ehv-page-hero--purple {
    background: linear-gradient(135deg, var(--ehv-primary) 0%, #3a1fa8 60%, var(--ehv-primary-dark) 100%);
}

.ehv-page-hero--green {
    background: linear-gradient(135deg, var(--ehv-secondary) 0%, #1a6b2a 60%, var(--ehv-secondary-dark) 100%);
}

.ehv-page-hero--green[style*="background-image"]::before {
    background: linear-gradient(135deg, rgba(45,128,47,0.82) 0%, rgba(26,107,42,0.75) 50%, rgba(35,102,36,0.85) 100%);
}

.ehv-page-hero h1 {
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.ehv-page-hero p {
    color: rgba(255,255,255,0.85);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ehv-page-hero__decor {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: #fff;
    pointer-events: none;
}

.ehv-page-hero__decor--1 {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -60px;
}

.ehv-page-hero__decor--2 {
    width: 180px;
    height: 180px;
    bottom: 20px;
    left: -40px;
}

.ehv-page-hero__decor--3 {
    width: 100px;
    height: 100px;
    top: 30px;
    left: 15%;
    opacity: 0.05;
}

/* ----------------------------------------
   Scroll Animations
   ---------------------------------------- */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-in-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-in-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays for grid children */
.stagger-children > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children > *:nth-child(2) { transition-delay: 100ms; }
.stagger-children > *:nth-child(3) { transition-delay: 200ms; }
.stagger-children > *:nth-child(4) { transition-delay: 300ms; }
.stagger-children > *:nth-child(5) { transition-delay: 400ms; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-in,
    .animate-in-left,
    .animate-in-right,
    .animate-in-scale {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.ehv-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.ehv-section-header p {
    color: var(--ehv-text-muted);
    font-size: 1.125rem;
}

/* Decorative accent line under section headers */
.ehv-section-header--accent::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--ehv-primary), var(--ehv-secondary));
    border-radius: 2px;
    margin: 20px auto 0;
}

/* Pull-quote / callout box */
.ehv-callout {
    background: linear-gradient(135deg, var(--ehv-primary-subtle) 0%, rgba(45,128,47,0.05) 100%);
    border-left: 4px solid var(--ehv-primary);
    border-radius: 0 var(--ehv-radius-lg) var(--ehv-radius-lg) 0;
    padding: 28px 32px;
    margin: 32px 0;
    font-size: 1.125rem;
    font-style: italic;
    color: var(--ehv-text);
    box-shadow: var(--ehv-shadow);
}

/* Impact stat cards */
.ehv-stat-card {
    text-align: center;
    padding: 32px 20px;
}

.ehv-stat-card__number {
    font-family: var(--ehv-font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--ehv-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.ehv-stat-card__label {
    font-size: 0.9375rem;
    color: var(--ehv-text-muted);
    font-weight: 500;
}

/* ========================================
   Grid System
   ======================================== */
.ehv-grid {
    display: grid;
    gap: var(--ehv-gap);
}

.ehv-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ehv-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ehv-grid--4 { grid-template-columns: repeat(4, 1fr); }
.ehv-grid--5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 992px) {
    .ehv-grid--3, .ehv-grid--4, .ehv-grid--5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ehv-grid--2, .ehv-grid--3, .ehv-grid--4, .ehv-grid--5 {
        grid-template-columns: 1fr;
    }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    :root { --ehv-section-py: 48px; }
}

/* ========================================
   Header
   ======================================== */
.ehv-header {
    background: var(--ehv-bg-white) var(--ehv-texture);
    box-shadow: 0 2px 4px rgba(0,0,0,0.04), 0 4px 16px rgba(86,54,209,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--ehv-transition);
}

.ehv-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    max-width: var(--ehv-container-max);
    margin: 0 auto;
    position: relative;
}

.ehv-header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--ehv-text);
    flex-shrink: 0;
    background: var(--ehv-bg-white);
    padding: 6px 12px 10px;
    border-radius: 0 0 var(--ehv-radius) var(--ehv-radius);
    margin-bottom: -20px;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08), 0 8px 24px rgba(86,54,209,0.12);
}

.ehv-header__logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
    display: block;
}

.ehv-header__logo-fallback {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ehv-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    font-family: var(--ehv-font-heading);
}

/* Navigation */
.ehv-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ehv-nav a {
    padding: 8px 14px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ehv-text);
    border-radius: var(--ehv-radius);
    transition: var(--ehv-transition);
}

.ehv-nav a:hover,
.ehv-nav a.current-menu-item > a {
    color: var(--ehv-primary);
    background: var(--ehv-primary-subtle);
}

.ehv-nav .ehv-btn--donate {
    background: var(--ehv-primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--ehv-radius-full);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(86,54,209,0.3);
}

.ehv-nav .ehv-btn--donate:hover {
    background: var(--ehv-primary-dark);
    color: #fff;
}

/* Mobile Menu */
.ehv-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.ehv-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ehv-text);
    margin: 5px 0;
    transition: var(--ehv-transition);
}

@media (max-width: 992px) {
    .ehv-hamburger { display: block; }

    .ehv-header__logo {
        padding: 4px 10px 8px;
        margin-bottom: -14px;
    }

    .ehv-header__logo img {
        height: 64px;
    }

    .ehv-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--ehv-bg-white);
        flex-direction: column;
        padding: 16px 24px;
        box-shadow: var(--ehv-shadow-md);
        gap: 4px;
    }

    .ehv-nav.active { display: flex; }

    .ehv-nav a {
        width: 100%;
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .ehv-header__logo {
        padding: 3px 8px 6px;
        margin-bottom: -10px;
    }

    .ehv-header__logo img {
        height: 44px;
    }
}

/* ========================================
   Buttons
   ======================================== */
.ehv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--ehv-font-heading);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--ehv-radius-full);
    cursor: pointer;
    transition: var(--ehv-transition);
    text-decoration: none;
    line-height: 1;
}

.ehv-btn--primary {
    background: var(--ehv-primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(86,54,209,0.3);
}

.ehv-btn--primary:hover {
    background: var(--ehv-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--ehv-shadow-md);
}

.ehv-btn--secondary {
    background: var(--ehv-secondary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(45,128,47,0.3);
}

.ehv-btn--secondary:hover {
    background: var(--ehv-secondary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.ehv-btn--outline {
    background: transparent;
    color: var(--ehv-primary);
    border: 2px solid var(--ehv-primary);
}

.ehv-btn--outline:hover {
    background: var(--ehv-primary);
    color: #fff;
    transform: translateY(-2px);
}

.ehv-btn--white {
    background: #fff;
    color: var(--ehv-primary);
}

.ehv-btn--white:hover {
    background: rgba(255,255,255,0.9);
    color: var(--ehv-primary-dark);
    transform: translateY(-2px);
}

.ehv-btn--lg {
    padding: 16px 36px;
    font-size: 1.125rem;
}

.ehv-btn--sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* ========================================
   Cards
   ======================================== */
.ehv-card {
    background: var(--ehv-bg-white);
    border-radius: var(--ehv-radius-lg);
    padding: 32px;
    box-shadow: var(--ehv-shadow);
    transition: var(--ehv-transition);
}

.ehv-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ehv-shadow-lg);
}

.ehv-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--ehv-primary-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(86,54,209,0.15);
}

.ehv-card__icon--green { background: rgba(45, 128, 47, 0.1); }
.ehv-card__icon--blue { background: rgba(34, 113, 177, 0.1); }

.ehv-card__title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.ehv-card__text {
    color: var(--ehv-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.ehv-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-weight: 600;
    font-size: 0.9375rem;
}

.ehv-card__link::after {
    content: '\2192';
    transition: var(--ehv-transition);
}

.ehv-card__link:hover::after {
    transform: translateX(4px);
}

/* ========================================
   Forms (Base Styles)
   ======================================== */
.ehv-field {
    margin-bottom: 20px;
}

.ehv-field label {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 6px;
    color: var(--ehv-text);
}

.ehv-field input[type="text"],
.ehv-field input[type="email"],
.ehv-field input[type="tel"],
.ehv-field input[type="number"],
.ehv-field input[type="date"],
.ehv-field input[type="url"],
.ehv-field input[type="password"],
.ehv-field select,
.ehv-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--ehv-border);
    border-radius: var(--ehv-radius);
    font-family: var(--ehv-font-primary);
    font-size: 1rem;
    color: var(--ehv-text);
    background: var(--ehv-bg-white);
    transition: var(--ehv-transition);
    box-sizing: border-box;
}

.ehv-field input:focus,
.ehv-field select:focus,
.ehv-field textarea:focus {
    border-color: var(--ehv-primary);
    box-shadow: 0 0 0 4px rgba(86, 54, 209, 0.1);
    outline: none;
}

.ehv-field textarea {
    min-height: 120px;
    resize: vertical;
}

.ehv-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555770' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.ehv-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .ehv-field-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Hero
   ======================================== */
/* Hero Slider */
.ehv-hero-slider {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15), 0 2px 6px rgba(0,0,0,0.1);
}

.ehv-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.ehv-hero-slide.active {
    opacity: 1;
    position: relative;
}

.ehv-hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(86,54,209,0.85) 0%, rgba(58,31,168,0.8) 50%, rgba(64,37,168,0.85) 100%);
    z-index: 1;
}

.ehv-hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 100px 0 80px;
    color: #fff;
}

.ehv-hero__badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 6px 16px;
    border-radius: var(--ehv-radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    color: #fff;
}

.ehv-hero__content h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.ehv-hero__tagline {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 32px;
    color: #fff;
}

.ehv-hero__ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ehv-hero__stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.15);
    color: #fff;
}

.ehv-hero__stat-value {
    font-family: var(--ehv-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.ehv-hero__stat-label {
    font-size: 0.875rem;
    opacity: 0.75;
}

/* Slider dots */
.ehv-hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.ehv-hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.ehv-hero-dot.active {
    background: #fff;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .ehv-hero-slider {
        min-height: 500px;
    }
    .ehv-hero__content {
        padding: 64px 0 60px;
    }
    .ehv-hero__content h1 {
        font-size: 2rem;
    }
    .ehv-hero__stats {
        gap: 24px;
    }
}

/* ========================================
   How It Works
   ======================================== */
.ehv-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    counter-reset: step;
}

.ehv-step {
    text-align: center;
    position: relative;
    background: var(--ehv-bg-white);
    border-radius: var(--ehv-radius-lg);
    padding: 32px 24px;
    box-shadow: var(--ehv-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ehv-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--ehv-shadow-md);
}

.ehv-step__number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ehv-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: var(--ehv-font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(86,54,209,0.25);
}

.ehv-step__title {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.ehv-step__text {
    color: var(--ehv-text-muted);
    font-size: 0.9375rem;
}

@media (max-width: 768px) {
    .ehv-steps { grid-template-columns: 1fr; gap: 24px; }
}

/* ========================================
   CTA Section
   ======================================== */
.ehv-cta {
    text-align: center;
    padding: 64px 32px;
    border-radius: var(--ehv-radius-lg);
    margin: 0 auto;
    max-width: 900px;
}

.ehv-cta h2 {
    margin-bottom: 16px;
}

.ehv-cta p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.ehv-cta__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Partners Bar
   ======================================== */
.ehv-partners {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0.5;
}

.ehv-partners img {
    height: 40px;
    width: auto;
    filter: grayscale(100%);
    transition: var(--ehv-transition);
}

.ehv-partners img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ========================================
   Footer
   ======================================== */
.ehv-footer {
    background: var(--ehv-text) var(--ehv-texture);
    color: rgba(255,255,255,0.8);
    padding: 64px 0 0;
}

.ehv-footer h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ehv-footer a {
    color: rgba(255,255,255,0.7);
    transition: var(--ehv-transition);
}

.ehv-footer a:hover {
    color: var(--ehv-primary-light);
}

.ehv-footer__columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.ehv-footer__about {
    padding-right: 32px;
}

.ehv-footer__about p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.ehv-footer__ein {
    font-size: 0.8125rem;
    opacity: 0.6;
}

.ehv-footer__links {
    list-style: none;
}

.ehv-footer__links li {
    margin-bottom: 10px;
}

.ehv-footer__links a {
    font-size: 0.9375rem;
}

.ehv-footer__social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.ehv-footer__social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    transition: var(--ehv-transition);
}

.ehv-footer__social a:hover {
    background: var(--ehv-primary);
    color: #fff;
}

.ehv-footer__bottom {
    margin-top: 48px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8125rem;
}

.ehv-footer__legal {
    display: flex;
    gap: 20px;
}

@media (max-width: 992px) {
    .ehv-footer__columns {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .ehv-footer__columns {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Page Content
   ======================================== */
.ehv-page {
    padding: var(--ehv-section-py) 0;
}

.ehv-page__header {
    text-align: center;
    margin-bottom: 48px;
}

.ehv-page__header h1 {
    margin-bottom: 12px;
}

.ehv-page__header p {
    color: var(--ehv-text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.ehv-page__content {
    max-width: 800px;
    margin: 0 auto;
}

.ehv-page__content h2 {
    margin-top: 40px;
}

.ehv-page__content ul, .ehv-page__content ol {
    margin: 0 0 16px 24px;
}

.ehv-page__content li {
    margin-bottom: 8px;
}

/* ========================================
   Resource Cards (Government Resources)
   ======================================== */
.ehv-resource {
    background: var(--ehv-bg-white);
    border-radius: var(--ehv-radius-lg);
    padding: 28px;
    border-left: 4px solid var(--ehv-primary);
    box-shadow: var(--ehv-shadow);
}

.ehv-resource__title {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--ehv-primary);
}

.ehv-resource__desc {
    color: var(--ehv-text-muted);
    font-size: 0.9375rem;
    margin-bottom: 12px;
}

.ehv-resource__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.8125rem;
    color: var(--ehv-text-light);
}

.ehv-resource__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-weight: 600;
    font-size: 0.875rem;
}

/* ========================================
   Donation
   ======================================== */
.ehv-donate__amounts {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.ehv-donate__amount {
    padding: 12px 24px;
    border: 2px solid var(--ehv-border);
    border-radius: var(--ehv-radius);
    background: var(--ehv-bg-white);
    cursor: pointer;
    font-family: var(--ehv-font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    transition: var(--ehv-transition);
    min-width: 80px;
    text-align: center;
}

.ehv-donate__amount:hover,
.ehv-donate__amount.active {
    border-color: var(--ehv-primary);
    background: var(--ehv-primary-subtle);
    color: var(--ehv-primary);
}

.ehv-donate__frequency {
    display: flex;
    gap: 0;
    margin-bottom: 32px;
    border-radius: var(--ehv-radius-full);
    overflow: hidden;
    border: 2px solid var(--ehv-border);
    width: fit-content;
}

.ehv-donate__freq-btn {
    padding: 10px 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: var(--ehv-font-primary);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--ehv-transition);
}

.ehv-donate__freq-btn.active {
    background: var(--ehv-primary);
    color: #fff;
}

.ehv-donate__impact {
    background: var(--ehv-primary-subtle);
    padding: 16px 20px;
    border-radius: var(--ehv-radius);
    font-size: 0.9375rem;
    color: var(--ehv-primary-dark);
    margin-bottom: 24px;
    text-align: center;
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center { text-align: center; }
.text-muted { color: var(--ehv-text-muted); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ========================================
   Photo Gallery
   ======================================== */
.ehv-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ehv-gallery--2 {
    grid-template-columns: repeat(2, 1fr);
}

.ehv-gallery--4 {
    grid-template-columns: repeat(4, 1fr);
}

.ehv-gallery__item {
    position: relative;
    border-radius: var(--ehv-radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--ehv-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ehv-gallery__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--ehv-shadow-lg);
}

.ehv-gallery__item--tall {
    aspect-ratio: 3 / 4;
}

.ehv-gallery__item--wide {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
}

.ehv-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ehv-gallery__item:hover img {
    transform: scale(1.05);
}

.ehv-gallery__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Photo with text side-by-side */
.ehv-photo-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.ehv-photo-text--reverse {
    direction: rtl;
}

.ehv-photo-text--reverse > * {
    direction: ltr;
}

.ehv-photo-text__image {
    border-radius: var(--ehv-radius-lg);
    overflow: hidden;
    box-shadow: var(--ehv-shadow-md);
}

.ehv-photo-text__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--ehv-radius);
}

/* Sponsor / partner logo grid */
.ehv-sponsors {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.ehv-sponsors__logo {
    max-height: 60px;
    max-width: 160px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.ehv-sponsors__logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Program card with image */
.ehv-program-card {
    border-radius: var(--ehv-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--ehv-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ehv-program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ehv-shadow-lg);
}

.ehv-program-card__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.ehv-program-card__body {
    padding: 24px;
}

.ehv-program-card__title {
    font-family: var(--ehv-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ehv-text);
}

.ehv-program-card__text {
    color: var(--ehv-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .ehv-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .ehv-gallery--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .ehv-gallery__item--wide {
        grid-column: span 2;
    }

    .ehv-photo-text {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ehv-photo-text--reverse {
        direction: ltr;
    }

    .ehv-sponsors {
        gap: 20px;
    }

    .ehv-sponsors__logo {
        max-height: 40px;
        max-width: 120px;
    }

    .ehv-program-card__image {
        height: 180px;
    }
}
