:root {
    /* Color System */
    --green-80: #004d3d;
    /* Deep Presidential Green */
    --green-60: #007a61;
    /* Mid Green */
    --green-40: #e6f2f0;
    /* Light Mint/Accent */
    --gold: #d4af37;
    /* Dignified Gold */
    --white: #ffffff;
    --charcoal: #333333;
    /* Body Text */
    --light-gray: #f9f9f9;
    --border-color: #e0e0e0;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --line-height-body: 1.6;
    --line-height-heading: 1.2;

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding-desktop: 72px;
    --section-padding-tablet: 48px;
    --section-padding-mobile: 32px;
    --border-radius: 12px;
    --header-height: 120px;

    /* Transitions */
    --transition-base: all 0.3s ease-out;
}

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

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

body {
    font-family: var(--font-primary);
    line-height: var(--line-height-body);
    color: var(--charcoal);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* Typography Defaults */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: var(--line-height-heading);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.25rem;
}

a {
    color: var(--green-60);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--green-80);
}

ul,
ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

/* Layout Components */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: var(--section-padding-desktop) 0;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    text-align: center;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--green-80);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--green-60);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--white);
}

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

.btn-outline:hover {
    background-color: var(--green-60);
    color: var(--white);
    border-color: var(--green-60);
    transform: translateY(-2px);
}

.btn-donate {
    background-color: var(--green-80);
    color: var(--white);
    border-bottom: 3px solid var(--gold);
}

.btn-donate:hover {
    background-color: var(--green-60);
    transform: translateY(-2px);
}

/* Helper Classes */
.bg-light {
    background-color: var(--light-gray);
}

.bg-green-light {
    background-color: var(--green-40);
}

.bg-green-deep {
    background-color: var(--green-80);
    color: var(--white);
}

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

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

/* Sticky Header */
header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--green-80);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav ul li a {
    font-weight: 500;
    color: var(--charcoal);
}

nav ul li a.active,
nav ul li a:hover {
    color: var(--green-60);
}

.header-ctas {
    display: flex;
    gap: 1rem;
}

/* Footer */
footer {
    background-color: var(--green-80);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.footer-col h4 {
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Grid Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.footer-main {
    background: var(--green-80);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-grid-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
}

.footer-bottom-inner {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    header {
        height: auto;
        padding: 1rem 0;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    nav {
        width: 100%;
        order: 3;
        margin-top: 1rem;
        display: none;
    }

    nav.show {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    section {
        padding: var(--section-padding-tablet) 0;
    }

    .grid-2 {
        gap: 2rem;
    }

    .footer-grid-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

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

    h2 {
        font-size: 1.75rem;
    }

    section {
        padding: var(--section-padding-mobile) 0;
    }

    .header-ctas {
        display: none;
    }

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

    .footer-grid-inner {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Mobile Bottom Bar (Sticky CTAs) */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
    z-index: 1000;
}

.mobile-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .mobile-bottom-bar {
        display: block;
    }

    body {
        padding-bottom: 70px;
        /* Space for the bottom bar */
    }
}

@media (max-width: 480px) {
    .grid-5 {
        grid-template-columns: 1fr;
        /* 1 column on phones */
    }
}

/* Watermark Effects */
.hope-watermark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35vw;
    font-weight: 900;
    color: var(--white);
    opacity: 0.4;
    /* Increased opacity to 40% */
    z-index: 1;
    /* Sits above the gradient background */
    pointer-events: none;
    user-select: none;
    letter-spacing: 0.05em;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
}

/* Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-gradient {
    background: linear-gradient(135deg, var(--white) 0%, var(--green-40) 100%);
    position: relative;
    overflow: hidden;
}

.hero-gradient::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 122, 97, 0.05) 0%, transparent 70%);
    animation: rotate 12s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}