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

:root {
    --primary: #1a5276;
    --primary-dark: #154360;
    --secondary: #2e86c1;
    --accent: #f39c12;
    --text: #2c3e50;
    --text-light: #5d6d7e;
    --bg: #ffffff;
    --bg-alt: #f4f6f9;
    --border: #dce1e8;
    --success: #27ae60;
    --radius: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

a {
    color: var(--secondary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

/* Navigation */
.navbar {
    background: var(--primary);
    padding: 0 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.nav-logo {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.nav-logo:hover {
    text-decoration: none;
    opacity: 0.9;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0.25rem;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
    text-decoration: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    padding: 5rem 1rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.hero-mission {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    opacity: 0.85;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Header */
.page-header {
    background: var(--primary);
    color: #fff;
    padding: 3rem 1rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    opacity: 0.85;
    font-size: 1.05rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s, transform 0.1s;
    cursor: pointer;
    border: none;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

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

.btn-primary:hover {
    background: #f0f0f0;
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
}

.btn-donate {
    background: var(--success);
    color: #fff;
    font-size: 1.15rem;
    padding: 1rem 2.5rem;
}

.btn-donate:hover {
    background: #219a52;
}

/* Sections */
.section {
    padding: 4rem 1rem;
}

.section-alt {
    background: var(--bg-alt);
}

.section-cta {
    background: var(--primary);
    color: #fff;
    text-align: center;
}

.section-cta h2 {
    color: #fff;
}

.section-cta .btn-primary {
    margin-top: 1rem;
}

.section-cta .btn-secondary {
    color: #fff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-cta h2 {
    color: #fff;
}

.section p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.section-intro {
    font-size: 1.1rem;
    max-width: 900px;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.stat {
    padding: 1.5rem;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-item {
    padding: 1.5rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.contact-item h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Info grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.info-item {
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
}

/* Donate box */
.donate-box {
    background: #fff;
    border: 2px solid var(--success);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    max-width: 600px;
    margin: 2rem auto;
}

.donate-box h3 {
    color: var(--success);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.donate-box p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.donate-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Lists */
.section ul {
    margin-bottom: 1rem;
}

.section li {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 3rem 1rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.footer h4 {
    color: #fff;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.footer p,
.footer li {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer ul {
    list-style: none;
}

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

.footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* Mobile */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

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

    .nav-links a {
        padding: 0.75rem 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 2.5rem 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .page-header {
        padding: 2rem 1rem;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .donate-box {
        padding: 1.5rem;
    }

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

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
        max-width: 280px;
    }

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

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