/**
 * TFFN Design System
 * 
 * Modern, professional CSS design system for nonprofit website.
 * Built with CSS custom properties for easy theming.
 * 
 * @package TFFN
 * @version 2.0.0
 */

/* ==================== CSS RESET & BASE ==================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== CSS CUSTOM PROPERTIES ==================== */

:root {
    /* Color Palette - Primary */
    --color-navy: #1a365d;
    --color-navy-dark: #0f2744;
    --color-navy-light: #2c5282;
    --color-navy-50: #e6eef5;
    --color-navy-100: #c1d4e8;

    /* Color Palette - Gold/Accent */
    --color-gold: #d4a855;
    --color-gold-dark: #b8923e;
    --color-gold-light: #e6c47a;
    --color-gold-50: #fdf8ed;
    --color-gold-100: #f5e6c8;

    /* Color Palette - Neutral */
    --color-cream: #fdfbf7;
    --color-sand: #f7f3ed;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;

    /* Semantic Colors */
    --color-text: #2d3748;
    --color-text-light: #718096;
    --color-text-muted: #a0aec0;
    --color-bg: #ffffff;
    --color-bg-alt: var(--color-cream);
    --color-success: #10b981;
    --color-success-light: #d1fae5;
    --color-warning: #f59e0b;
    --color-warning-light: #fef3c7;
    --color-error: #ef4444;
    --color-error-light: #fee2e2;
    --color-info: #3b82f6;
    --color-info-light: #dbeafe;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    --gradient-navy: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(26, 54, 93, 0.95) 0%, rgba(15, 39, 68, 0.9) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-accent: 'Montserrat', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;

    /* Font Weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-gold: 0 10px 40px -10px rgba(212, 168, 85, 0.4);
    --shadow-navy: 0 10px 40px -10px rgba(26, 54, 93, 0.4);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-tooltip: 600;

    /* Container Widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1400px;
}

/* ==================== TYPOGRAPHY ==================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-bold);
    line-height: 1.2;
    color: var(--color-navy);
    margin-bottom: var(--space-4);
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-3xl);
}

h4 {
    font-size: var(--text-2xl);
}

h5 {
    font-size: var(--text-xl);
}

h6 {
    font-size: var(--text-lg);
}

@media (max-width: 768px) {
    h1 {
        font-size: var(--text-4xl);
    }

    h2 {
        font-size: var(--text-3xl);
    }

    h3 {
        font-size: var(--text-2xl);
    }

    h4 {
        font-size: var(--text-xl);
    }
}

p {
    margin-bottom: var(--space-4);
    color: var(--color-text);
}

.lead {
    font-size: var(--text-xl);
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Text Colors */
.text-muted {
    color: var(--color-text-muted) !important;
}

.text-light {
    color: var(--color-text-light) !important;
}

.text-navy {
    color: var(--color-navy) !important;
}

.text-navy-70 {
    color: rgba(26, 54, 93, 0.7) !important;
}

.text-navy-80 {
    color: rgba(26, 54, 93, 0.8) !important;
}

.text-gold {
    color: var(--color-gold) !important;
}

.text-white {
    color: #ffffff !important;
}

.text-white-60 {
    color: rgba(255, 255, 255, 0.6) !important;
}

.text-white-70 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.text-white-90 {
    color: rgba(255, 255, 255, 0.9) !important;
}

.text-red {
    color: var(--color-error) !important;
}

/* Font utilities */
.font-semibold {
    font-weight: var(--font-semibold);
}

.font-bold {
    font-weight: var(--font-bold);
}

.font-medium {
    font-weight: var(--font-medium);
}

.italic {
    font-style: italic;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

/* Text sizes */
.text-sm {
    font-size: var(--text-sm);
}

.text-lg {
    font-size: var(--text-lg);
}

.text-xl {
    font-size: var(--text-xl);
}

.text-2xl {
    font-size: var(--text-2xl);
}

.text-3xl {
    font-size: var(--text-3xl);
}

.text-4xl {
    font-size: var(--text-4xl);
}

a {
    color: var(--color-navy);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-gold);
}

/* ==================== LAYOUT ==================== */

.container {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-sm {
    max-width: var(--container-sm);
}

.container-md {
    max-width: var(--container-md);
}

.container-lg {
    max-width: var(--container-lg);
}

.container-2xl {
    max-width: var(--container-2xl);
}

.section {
    padding: var(--space-20) 0;
}

.section-sm {
    padding: var(--space-12) 0;
}

.section-lg {
    padding: var(--space-32) 0;
}

/* Flexbox Utilities */
.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-1 {
    flex: 1;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.items-end {
    align-items: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-end {
    justify-content: flex-end;
}

.gap-2 {
    gap: var(--space-2);
}

.gap-3 {
    gap: var(--space-3);
}

.gap-4 {
    gap: var(--space-4);
}

.gap-6 {
    gap: var(--space-6);
}

.gap-8 {
    gap: var(--space-8);
}

.gap-12 {
    gap: var(--space-12);
}

.gap-16 {
    gap: var(--space-16);
}

/* Space utilities */
.space-y-2>*+* {
    margin-top: var(--space-2);
}

.space-y-3>*+* {
    margin-top: var(--space-3);
}

.space-y-4>*+* {
    margin-top: var(--space-4);
}

.space-y-6>*+* {
    margin-top: var(--space-6);
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-6);
}

.grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1024px) {
    .grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-cols-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-cols-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .flex-wrap {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }

    .grid-cols-5 {
        grid-template-columns: 1fr;
    }
}

/* ==================== BUTTONS ==================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-accent);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 168, 85, 0.3);
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--color-navy);
    border-color: var(--color-gold);
}

.btn-primary:hover {
    background: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: var(--color-navy);
    color: white;
    border-color: var(--color-navy);
}

.btn-secondary:hover {
    background: var(--color-navy-dark);
    border-color: var(--color-navy-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-navy);
}

.btn-outline {
    background: transparent;
    color: var(--color-navy);
    border-color: var(--color-navy);
}

.btn-outline:hover {
    background: var(--color-navy);
    color: white;
}

.btn-outline-light {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline-light:hover {
    background: white;
    color: var(--color-navy);
}

.btn-outline-gold {
    background: transparent;
    color: var(--color-gold);
    border-color: var(--color-gold);
}

.btn-outline-gold:hover {
    background: var(--color-gold);
    color: var(--color-navy);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-full);
}

.btn.w-full {
    width: 100%;
}

.btn.ml-4 {
    margin-left: var(--space-4);
}

/* ==================== CARDS ==================== */

.card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-xl);
}

.card-body {
    padding: var(--space-6);
}

.card-header {
    padding: var(--space-6);
    border-bottom: 1px solid var(--color-gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-footer {
    padding: var(--space-4) var(--space-6);
    background: var(--color-gray-50);
    border-top: 1px solid var(--color-gray-100);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Program Card */
.program-card {
    position: relative;
    border: none;
    text-decoration: none;
    color: inherit;
    display: block;
}

.program-card:hover {
    color: inherit;
}

.program-card .card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    color: var(--color-navy);
    border-radius: var(--radius-lg);
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
    transition: transform var(--transition-spring);
}

.program-card:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* Sticky Card */
.card.sticky {
    position: sticky;
    top: 100px;
}

/* ==================== NAVIGATION HEADER ==================== */

.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: var(--color-navy);
    transition: all var(--transition-base);
}

.nav-header.scrolled {
    background: var(--color-navy-dark);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) 0;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
}

.nav-logo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border-radius: var(--radius-lg);
    color: var(--color-navy);
    font-size: 24px;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
}

.nav-logo-name {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: white;
    line-height: 1.2;
}

.nav-logo-tagline {
    font-size: var(--text-xs);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Main Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-accent);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-2) 0;
    position: relative;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 600px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: var(--z-dropdown);
    padding: var(--space-6);
    margin-top: var(--space-2);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.nav-dropdown-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.nav-dropdown-title {
    font-family: var(--font-accent);
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-2);
}

.nav-dropdown-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2);
    color: var(--color-text);
    font-size: var(--text-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-dropdown-link:hover {
    background: var(--color-cream);
    color: var(--color-navy);
}

.nav-dropdown-link i {
    color: var(--color-gold);
    font-size: var(--text-lg);
}

.nav-dropdown-footer {
    border-top: 1px solid var(--color-gray-200);
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    text-align: center;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: white;
    transition: all var(--transition-base);
}

/* Mobile Navigation */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background: var(--color-navy);
    z-index: var(--z-modal);
    transition: right var(--transition-base);
    overflow-y: auto;
}

.nav-mobile.active {
    right: 0;
}

.nav-mobile-content {
    padding: var(--space-20) var(--space-6) var(--space-6);
}

.nav-mobile-menu {
    list-style: none;
    margin: 0 0 var(--space-8) 0;
    padding: 0;
}

.nav-mobile-menu>li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-mobile-menu>li>a {
    display: block;
    padding: var(--space-4) 0;
    color: white;
    font-family: var(--font-accent);
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-mobile-menu>li>a:hover,
.nav-mobile-menu>li>a.active {
    color: var(--color-gold);
}

.nav-mobile-heading {
    display: block;
    padding: var(--space-4) 0 var(--space-2);
    color: var(--color-gold);
    font-family: var(--font-accent);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
}

.nav-mobile-submenu {
    list-style: none;
    padding: 0 0 var(--space-4) var(--space-4);
}

.nav-mobile-submenu li {
    margin-bottom: var(--space-2);
}

.nav-mobile-submenu a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
}

.nav-mobile-submenu a:hover {
    color: var(--color-gold);
}

.nav-mobile-actions {
    margin-bottom: var(--space-8);
}

.nav-mobile-contact {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
}

.nav-mobile-contact p {
    color: var(--color-gold);
    margin-bottom: var(--space-2);
}

.nav-mobile-contact div {
    margin-bottom: var(--space-1);
}

@media (max-width: 1024px) {

    .nav-menu,
    .nav-dropdown-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-actions .btn span {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-actions .btn {
        padding: var(--space-2) var(--space-3);
    }
}

/* ==================== HERO SECTION ==================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--color-navy);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding-top: 80px;
}

/* Background image layer - sits at the bottom */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Semi-transparent overlay on top of background image */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 17, 48, 0.85) 0%, rgba(28, 34, 51, 0.75) 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Shapes - above overlay, below content */
.floating-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.shape {
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0.12;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--color-gold);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--color-gold-light);
    bottom: -50px;
    left: 10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: white;
    top: 40%;
    right: 20%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(20px, -20px) rotate(5deg);
    }

    50% {
        transform: translate(-10px, 10px) rotate(-5deg);
    }

    75% {
        transform: translate(15px, 15px) rotate(3deg);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 168, 85, 0.2);
    color: var(--color-gold);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-family: var(--font-accent);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-6);
}

.hero-title {
    font-size: var(--text-6xl);
    color: white;
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    animation: bounce 2s infinite;
    z-index: 3;
}

.hero-scroll-indicator span {
    display: block;
    margin-bottom: var(--space-2);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: var(--text-4xl);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

/* ==================== PAGE HEADER ==================== */

.page-header {
    background: var(--gradient-navy);
    padding: calc(var(--space-24) + 60px) 0 var(--space-16);
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: var(--space-4);
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-lg);
    max-width: 600px;
    margin: 0 auto var(--space-4);
}

.page-header.bg-gradient-gold {
    background: var(--gradient-gold);
}

.page-header.bg-gradient-gold h1 {
    color: var(--color-navy);
}

.page-header.bg-gradient-gold p {
    color: rgba(26, 54, 93, 0.8);
}

.page-header-program {
    padding: calc(var(--space-16) + 60px) 0 var(--space-12);
    text-align: left;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-4);
    font-size: var(--text-sm);
}

.page-header-program .breadcrumb {
    justify-content: flex-start;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: var(--color-gold);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-current {
    color: var(--color-gold);
}

/* ==================== BADGES ==================== */

.badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
}

.badge-primary {
    background: var(--color-navy);
    color: white;
}

.badge-secondary {
    background: var(--color-gray-200);
    color: var(--color-gray-700);
}

.badge-success {
    background: var(--color-success-light);
    color: #065f46;
}

.badge-warning {
    background: var(--color-warning-light);
    color: #92400e;
}

.badge-error {
    background: var(--color-error-light);
    color: #991b1b;
}

/* ==================== FORMS ==================== */

.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    font-weight: var(--font-medium);
    color: var(--color-navy);
    margin-bottom: var(--space-2);
}

.form-label.required::after {
    content: '*';
    color: var(--color-error);
    margin-left: var(--space-1);
}

.form-control {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-text);
    background: white;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(212, 168, 85, 0.2);
}

.form-control.error {
    border-color: var(--color-error);
}

.form-control-sm {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-3) center;
    background-size: 20px;
    padding-right: var(--space-10);
}

.form-error {
    font-size: var(--text-sm);
    color: var(--color-error);
    margin-top: var(--space-2);
}

.form-hint {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin-top: var(--space-2);
}

/* Donation Amount Buttons */
.donation-amounts {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.donation-amount {
    padding: var(--space-3) var(--space-4);
    background: var(--color-cream);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-accent);
    font-weight: var(--font-semibold);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.donation-amount:hover,
.donation-amount.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-navy);
}

/* ==================== ACCORDION ==================== */

.accordion {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid var(--color-gray-200);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    padding: var(--space-5) var(--space-6);
    background: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-navy);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.accordion-header:hover {
    background: var(--color-cream);
}

.accordion-header i {
    transition: transform var(--transition-base);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 0 var(--space-6) var(--space-5);
    background: white;
}

.accordion-item.active .accordion-content {
    display: block;
}

.accordion-content p {
    color: var(--color-text-light);
    margin: 0;
}

/* ==================== FOOTER ==================== */

.footer {
    background: var(--color-navy-dark);
    color: rgba(255, 255, 255, 0.8);
}

.footer-main {
    padding: var(--space-16) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-12);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    margin-bottom: var(--space-4);
}

.footer-logo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border-radius: var(--radius-lg);
    color: var(--color-navy);
    font-size: 20px;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-name {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: white;
    line-height: 1.2;
}

.footer-logo-tagline {
    font-size: var(--text-xs);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
    line-height: 1.7;
}

.footer-vision {
    color: var(--color-gold);
    font-size: var(--text-sm);
    font-style: italic;
}

.footer-col {}

.footer-heading {
    font-family: var(--font-accent);
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-6);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold);
}

/* Footer Contact Items */
.footer-contact {}

.footer-contact-item {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
}

.footer-contact-item i {
    color: var(--color-gold);
    font-size: var(--text-lg);
    flex-shrink: 0;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item a:hover {
    color: var(--color-gold);
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: white;
    transition: all var(--transition-fast);
}

.footer-social-link:hover {
    background: var(--color-gold);
    color: var(--color-navy);
    transform: translateY(-2px);
}

/* Footer Newsletter */
.footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--space-8) 0;
}

.footer-newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-8);
    flex-wrap: wrap;
}

.footer-newsletter-text h4 {
    color: white;
    margin-bottom: var(--space-2);
}

.footer-newsletter-text p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-newsletter-form {
    display: flex;
    gap: var(--space-3);
}

.footer-newsletter-form input {
    min-width: 280px;
    padding: var(--space-3) var(--space-4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: white;
    font-size: var(--text-base);
}

.footer-newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter-form input:focus {
    outline: none;
    border-color: var(--color-gold);
}

@media (max-width: 768px) {
    .footer-newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .footer-newsletter-form input {
        min-width: 100%;
    }
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-6) 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-copyright {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-tagline {
    font-size: var(--text-sm);
    color: var(--color-gold);
    font-style: italic;
    margin: 0;
}

/* ==================== BACK TO TOP ==================== */

.back-to-top {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 48px;
    height: 48px;
    background: var(--color-navy);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-gold);
    color: var(--color-navy);
    transform: translateY(-4px);
}

/* ==================== ALERTS ==================== */

.alert {
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-6);
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.alert-success {
    background: var(--color-success-light);
    color: #065f46;
    border-left: 4px solid var(--color-success);
}

.alert-error {
    background: var(--color-error-light);
    color: #991b1b;
    border-left: 4px solid var(--color-error);
}

.alert-warning {
    background: var(--color-warning-light);
    color: #92400e;
    border-left: 4px solid var(--color-warning);
}

.alert-info {
    background: var(--color-info-light);
    color: #1e40af;
    border-left: 4px solid var(--color-info);
}

/* ==================== EMPTY STATE ==================== */

.empty-state {
    text-align: center;
    padding: var(--space-12);
    color: var(--color-text-muted);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: var(--space-4);
    display: block;
}

/* ==================== ANIMATIONS ==================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 0.6s ease;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease;
}

.animate-slide-right {
    animation: slideInRight 0.6s ease;
}

/* Scroll Reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Transition utilities */
.transition-all {
    transition: all var(--transition-base);
}

/* ==================== UTILITIES ==================== */

/* Backgrounds */
.bg-navy {
    background: var(--color-navy) !important;
}

.bg-navy-dark {
    background: var(--color-navy-dark) !important;
}

.bg-gold {
    background: var(--color-gold) !important;
}

.bg-cream {
    background: var(--color-cream) !important;
}

.bg-sand {
    background: var(--color-sand) !important;
}

.bg-white {
    background: white !important;
}

.bg-white-10 {
    background: rgba(255, 255, 255, 0.1) !important;
}

.bg-white-20 {
    background: rgba(255, 255, 255, 0.2) !important;
}

.bg-gradient-gold {
    background: var(--gradient-gold) !important;
}

.bg-gradient-navy {
    background: var(--gradient-navy) !important;
}

/* Spacing Utilities */
.mt-0 {
    margin-top: 0 !important;
}

.mt-2 {
    margin-top: var(--space-2) !important;
}

.mt-4 {
    margin-top: var(--space-4) !important;
}

.mt-6 {
    margin-top: var(--space-6) !important;
}

.mt-8 {
    margin-top: var(--space-8) !important;
}

.mt-12 {
    margin-top: var(--space-12) !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: var(--space-1) !important;
}

.mb-2 {
    margin-bottom: var(--space-2) !important;
}

.mb-3 {
    margin-bottom: var(--space-3) !important;
}

.mb-4 {
    margin-bottom: var(--space-4) !important;
}

.mb-6 {
    margin-bottom: var(--space-6) !important;
}

.mb-8 {
    margin-bottom: var(--space-8) !important;
}

.mb-12 {
    margin-bottom: var(--space-12) !important;
}

.ml-2 {
    margin-left: var(--space-2) !important;
}

.ml-4 {
    margin-left: var(--space-4) !important;
}

.mr-2 {
    margin-right: var(--space-2) !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.py-4 {
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
}

.py-8 {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
}

.py-12 {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
}

.py-16 {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
}

.px-4 {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}

.px-6 {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
}

.p-4 {
    padding: var(--space-4);
}

.p-5 {
    padding: var(--space-5);
}

.p-6 {
    padding: var(--space-6);
}

.p-8 {
    padding: var(--space-8);
}

/* Text Alignment */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Display */
.hidden {
    display: none !important;
}

.block {
    display: block;
}

.inline {
    display: inline;
}

.inline-block {
    display: inline-block;
}

.inline-form {
    display: inline;
}

/* Position */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.sticky {
    position: sticky;
}

/* Width */
.w-full {
    width: 100%;
}

.max-w-md {
    max-width: var(--container-md);
}

.max-w-lg {
    max-width: var(--container-lg);
}

.max-w-xl {
    max-width: var(--container-xl);
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

/* Border */
.border-top {
    border-top: 1px solid var(--color-gray-200);
}

.border-white-20 {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Border Radius */
.rounded {
    border-radius: var(--radius-md);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

.rounded-2xl {
    border-radius: var(--radius-2xl);
}

.rounded-full {
    border-radius: var(--radius-full);
}

/* Shadow */
.shadow {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.shadow-xl {
    box-shadow: var(--shadow-xl);
}

/* ==================== SPINNER ==================== */

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-gray-200);
    border-top-color: var(--color-gold);
    border-radius: var(--radius-full);
    animation: spin 0.8s linear infinite;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
}

/* ==================== COUNTER ANIMATION ==================== */

.counter {
    font-family: var(--font-heading);
}

/* ==================== PAGINATION ==================== */

.pagination {
    display: flex;
    gap: var(--space-2);
    justify-content: center;
}

/* ==================== PRINT STYLES ==================== */

@media print {

    .nav-header,
    .footer,
    .back-to-top,
    .btn {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .section {
        padding: 20pt 0;
    }
}