/* ===== VARIABLES & RESET ===== */
:root {
    --primary-color: #2c5f2d;
    --secondary-color: #e8f5e9;
    --accent-color: #ff6b6b;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --border-light: #e0e0e0;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fafafa;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ===== NAVBAR ===== */
.navbar {
    background-color: var(--text-light);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-brand h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    border-bottom: 3px solid transparent;
    padding-bottom: 0.25rem;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}

.donate-btn {
    background-color: var(--accent-color);
    color: var(--text-light);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    border-bottom: none;
    font-weight: 600;
}

.donate-btn:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--text-light);
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-light);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.cta-button:hover {
    background-color: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(255, 107, 107, 0.3);
}

/* ===== MAIN SECTIONS ===== */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

.mission {
    background-color: var(--secondary-color);
}

.mission p {
    font-size: 1.2rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== CATEGORIES SECTION ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background-color: var(--text-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    border-top: 5px solid var(--primary-color);
}

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

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.category-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Category-specific colors */
.category-card.environment {
    border-top-color: #2ecc71;
}

.category-card.environment:hover {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.05), rgba(46, 204, 113, 0.1));
}

.category-card.poverty {
    border-top-color: #f39c12;
}

.category-card.poverty:hover {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.05), rgba(243, 156, 18, 0.1));
}

.category-card.health {
    border-top-color: #e74c3c;
}

.category-card.health:hover {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.05), rgba(231, 76, 60, 0.1));
}

.category-card.freedom {
    border-top-color: #3498db;
}

.category-card.freedom:hover {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05), rgba(52, 152, 219, 0.1));
}

/* ===== PRINCIPLES SECTION ===== */
.principles {
    background-color: #f5f5f5;
}

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

.principle {
    background-color: var(--text-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.principle h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.principle p {
    color: #666;
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bbb;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-section p {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
}

/* ===== ORGANIZATIONS PAGE STYLES ===== */
.org-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2));
    padding: 3rem 0;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
}

.org-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.org-header p {
    font-size: 1.1rem;
}

.organizations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.org-card {
    background-color: var(--text-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.org-card-header {
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-bottom: 1px solid var(--border-light);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.org-card-header img {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
}

.org-card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.org-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.org-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.org-card-footer {
    padding: 0 1.5rem 1.5rem;
}

.org-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
}

.org-link:hover {
    background-color: #1f4620;
    transform: translateX(3px);
}

/* ===== DONATE PAGE ===== */
.donate-section {
    background-color: var(--text-light);
    padding: 3rem 0;
}

.donation-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.donation-intro h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.policy-highlight {
    background-color: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 1.5rem;
    border-radius: 5px;
    margin: 2rem 0;
    text-align: left;
}

.policy-highlight h3 {
    color: #856404;
    margin-bottom: 0.5rem;
}

.policy-highlight p {
    color: #856404;
    line-height: 1.7;
}

.form-container {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.form-container h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .categories-grid,
    .principles-grid,
    .organizations-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 0.5rem 0;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
    }
}
