/*
 * Zion United Church, Cedar Hill - Design System
 * Premium Purple Religious Theme
 */

/* ========================================
   Google Fonts Import
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ========================================
   CSS Custom Properties (Design Tokens)
   ======================================== */
:root {
    /* Primary Purple Palette */
    --primary: #6B21A8;
    --primary-light: #7C3AED;
    --primary-lighter: #A855F7;
    --primary-dark: #4C1D95;
    --primary-darker: #3B0764;

    /* Accent Colors */
    --accent: #A855F7;
    --gold: #D4AF37;
    --gold-light: #F4D03F;

    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #FAF5FF;
    --gray-100: #F3E8FF;
    --gray-200: #E9D5FF;
    --gray-300: #D8B4FE;
    --gray-400: #C084FC;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Background Colors */
    --bg-primary: #FAF5FF;
    --bg-secondary: #F3E8FF;
    --bg-dark: #1F1B24;

    /* Text Colors */
    --text-primary: #1F2937;
    --text-secondary: #4B5563;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --text-white: #FFFFFF;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6B21A8 0%, #7C3AED 50%, #A855F7 100%);
    --gradient-dark: linear-gradient(135deg, #4C1D95 0%, #6B21A8 100%);
    --gradient-light: linear-gradient(135deg, #F3E8FF 0%, #FAF5FF 100%);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(107, 33, 168, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(107, 33, 168, 0.1), 0 2px 4px -1px rgba(107, 33, 168, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(107, 33, 168, 0.1), 0 4px 6px -2px rgba(107, 33, 168, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(107, 33, 168, 0.1), 0 10px 10px -5px rgba(107, 33, 168, 0.04);
    --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.3);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Container */
    --container-max: 1280px;
    --container-padding: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ========================================
   Typography
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

.display-text {
    font-family: var(--font-display);
    font-style: italic;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Layout & Container
   ======================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-4xl) 0;
}

.section-sm {
    padding: var(--space-2xl) 0;
}

.section-lg {
    padding: var(--space-4xl) 0;
}

/* ========================================
   Header Styles
   ======================================== */
.utility-bar {
    background: var(--gradient-dark);
    color: var(--text-white);
    padding: var(--space-sm) 0;
    font-size: 0.875rem;
}

.utility-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.utility-bar a {
    color: var(--text-white);
    opacity: 0.9;
    transition: opacity var(--transition-fast);
}

.utility-bar a:hover {
    opacity: 1;
    color: var(--gold-light);
}

.utility-info {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.utility-info span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.utility-info .icon {
    width: 16px;
    height: 16px;
}

.header {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
}

.logo-text .tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-menu a {
    padding: var(--space-sm) var(--space-md);
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: var(--gray-100);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

/* ========================================
   Button Styles
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--gray-900);
    font-weight: 700;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
}

.btn-sm {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.875rem;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(76, 29, 149, 0.9) 0%, rgba(107, 33, 168, 0.7) 50%, rgba(124, 58, 237, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    color: var(--white);
}

.hero-title .highlight {
    color: var(--gold-light);
}

.hero-description {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1;
}

.hero-stat .label {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: var(--space-xs);
}

/* ========================================
   Cards
   ======================================== */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    padding: var(--space-lg);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--primary-dark);
}

.card-text {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--white);
    font-size: 1.5rem;
}

/* Feature Card */
.feature-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-lighter);
}

/* Program Card */
.program-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.program-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.program-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.program-content h4 {
    margin-bottom: var(--space-xs);
    color: var(--primary-dark);
}

.program-time {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: var(--space-xs);
}

/* ========================================
   Grid Layouts
   ======================================== */
.grid {
    display: grid;
    gap: var(--space-xl);
}

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

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

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

/* ========================================
   Section Headers
   ======================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--gray-100);
    color: var(--primary);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* ========================================
   Mission Section
   ======================================== */
.mission-section {
    background: var(--gradient-light);
    position: relative;
    overflow: hidden;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: var(--primary-lighter);
    opacity: 0.1;
    border-radius: 50%;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.mission-text h2 {
    margin-bottom: var(--space-lg);
}

.mission-statement {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    padding-left: var(--space-lg);
    border-left: 4px solid var(--primary);
    margin-bottom: var(--space-xl);
}

.mission-image {
    position: relative;
}

.mission-image img {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.mission-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--primary-lighter);
    border-radius: var(--radius-2xl);
    z-index: -1;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cta-section::before {
    top: -150px;
    left: -150px;
}

.cta-section::after {
    bottom: -150px;
    right: -150px;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.cta-description {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Pre-Footer CTA
   ======================================== */
.pre-footer {
    background: var(--gradient-primary);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.pre-footer::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.pre-footer::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.pre-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-2xl);
    position: relative;
    z-index: 1;
}

.pre-footer-text h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
}

.pre-footer-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 500px;
}

.pre-footer-cta {
    display: flex;
    gap: var(--space-md);
    flex-shrink: 0;
}

/* ========================================
   Footer Styles
   ======================================== */
.footer {
    background: linear-gradient(180deg, #1a1625 0%, #0f0a1a 100%);
    color: var(--text-white);
    padding-top: var(--space-4xl);
}

/* Footer Top - Brand Section */
.footer-top {
    padding-bottom: var(--space-3xl);
    margin-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-section {
    max-width: 600px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.footer-logo .logo-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-text .name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.footer-logo-text .tagline {
    font-size: 0.875rem;
    color: var(--primary-lighter);
    font-weight: 500;
}

.footer-mission {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.social-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: var(--space-sm);
}

.social-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-base);
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-column h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: var(--space-lg);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
}

.footer-links a i {
    width: 16px;
    height: 16px;
    color: var(--primary-lighter);
    transition: transform var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-links a:hover i {
    transform: translateX(4px);
}

/* Footer Contact Card */
.footer-contact-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-fast);
}

.footer-contact-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(124, 58, 237, 0.3);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-lighter);
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-text strong {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
}

.contact-text span,
.contact-text a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    line-height: 1.4;
}

.contact-text a:hover {
    color: var(--gold-light);
}

/* Footer Bottom */
.footer-bottom {
    padding: var(--space-xl) 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-xl);
}

.footer-bottom-left,
.footer-bottom-right {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-bottom-right {
    text-align: right;
    align-items: flex-end;
}

.footer-charity-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    color: var(--primary-lighter);
    font-size: 0.8rem;
    font-weight: 500;
}

.footer-charity-badge i {
    width: 16px;
    height: 16px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--gold-light);
}

.footer-legal .divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
}

.footer-affiliation {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.footer-affiliation a {
    color: var(--primary-lighter);
    text-decoration: underline;
    text-decoration-color: rgba(124, 58, 237, 0.3);
    text-underline-offset: 2px;
}

.footer-affiliation a:hover {
    color: var(--gold-light);
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
    background: var(--gradient-dark);
    color: var(--white);
    padding: var(--space-4xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.03"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--gray-300);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb .separator {
    color: var(--gray-400);
}

.breadcrumb .current {
    color: var(--gold-light);
}

/* ========================================
   Forms
   ======================================== */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--white);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(107, 33, 168, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--primary);
}

.text-gold {
    color: var(--gold);
}

.text-muted {
    color: var(--text-muted);
}

.bg-light {
    background: var(--bg-secondary);
}

.bg-dark {
    background: var(--bg-dark);
    color: var(--white);
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: var(--space-sm);
}

.mt-2 {
    margin-top: var(--space-md);
}

.mt-3 {
    margin-top: var(--space-lg);
}

.mt-4 {
    margin-top: var(--space-xl);
}

.mt-5 {
    margin-top: var(--space-2xl);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: var(--space-sm);
}

.mb-2 {
    margin-bottom: var(--space-md);
}

.mb-3 {
    margin-bottom: var(--space-lg);
}

.mb-4 {
    margin-bottom: var(--space-xl);
}

.mb-5 {
    margin-bottom: var(--space-2xl);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease forwards;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .mission-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    .utility-bar .container {
        justify-content: center;
        text-align: center;
    }

    .utility-info {
        display: none;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-lg);
        box-shadow: var(--shadow-lg);
        gap: var(--space-xs);
    }

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

    .nav-menu a {
        width: 100%;
        padding: var(--space-md);
    }

    .mobile-toggle {
        display: flex;
    }

    .header-cta .btn {
        display: none;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    /* Pre-footer responsive */
    .pre-footer-content {
        flex-direction: column;
        text-align: center;
    }

    .pre-footer-text {
        text-align: center;
    }

    .pre-footer-text p {
        margin: 0 auto;
    }

    .pre-footer-cta {
        flex-direction: column;
        width: 100%;
    }

    .pre-footer-cta .btn {
        width: 100%;
    }

    /* Footer responsive */
    .footer-top {
        text-align: center;
    }

    .footer-brand-section {
        max-width: 100%;
        margin: 0 auto;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        align-items: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-2xl);
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        align-items: center;
    }

    .footer-contact-card {
        max-width: 350px;
        margin: 0 auto;
    }

    .footer-contact-item {
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-bottom-left,
    .footer-bottom-right {
        align-items: center;
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    .btn-lg {
        width: 100%;
    }
}