/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables from Design */
:root {
    --primary-green: #6BAE3C;
    --primary-green-dark: #5A9632;
    --primary-green-light: #C8F0D8;
    --accent-orange: #F4A460;
    --accent-yellow: #FFD93D;
    --accent-yellow-light: #FFF6D9;
    --background-footer: #1A1918;
    --background-light: #F5F4F1;
    --background-white: #FFFFFF;
    --text-primary: #1A1918;
    --text-secondary: #404040;
    --text-light: #9C9B99;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-light);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* Header */
.header {
    background: var(--background-white);
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 70px;
    width: auto;
}

.nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.nav a:hover,
.nav a.nav-active {
    color: var(--text-primary);
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-block;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-green);
    color: white;
    padding: 14px 32px;
    font-size: 15px;
}

.btn-primary:hover {
    background: var(--primary-green-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 14px 32px;
    font-size: 15px;
}

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

.btn-large {
    padding: 18px 40px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    background: var(--background-white);
    padding: 80px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 64px;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 600px;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
}

.hero-image {
    flex-shrink: 0;
    width: 550px;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 48px;
        max-width: none;
    }
    
    .hero-image {
        width: 100%;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
}

/* Values Section */
.values-section {
    background: var(--background-light);
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.value-card {
    background: var(--background-white);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
}

.value-icon {
    width: 56px;
    height: 56px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.value-card p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Programs Section */
.programs-section {
    background: var(--background-white);
    padding: 80px 0;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.program-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-4px);
}

.program-image {
    height: 320px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-content {
    padding: 24px 32px 32px 32px;
}

.program-content h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
}

.program-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.73);
}

.program-content-dark h3 {
    color: var(--text-primary);
}

.program-content-dark p {
    color: rgba(26, 25, 24, 0.73);
}

/* Program Card Backgrounds */
.program-health {
    background: var(--primary-green);
}

.program-tutoring {
    background: var(--accent-orange);
}

.program-scholarships {
    background: var(--primary-green-dark);
}

.program-workshops {
    background: var(--accent-yellow);
}

.program-service {
    background: var(--primary-green-light);
}

.program-language {
    background: #E8F5E9;
}

@media (max-width: 768px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }
}

/* Impact Section */
.impact-section {
    background: var(--primary-green);
    padding: 80px 0;
    text-align: center;
}

.impact-section h2 {
    color: white;
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 40px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.impact-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-size: 56px;
    font-weight: bold;
    color: white;
}

.stat-label {
    font-size: 16px;
    color: rgba(232, 245, 233, 1);
}

/* CTA Section */
.cta-section {
    background: var(--background-white);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 52px;
    font-weight: bold;
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.cta-buttons .btn-large {
    padding: 20px 48px;
    font-size: 18px;
}

@media (max-width: 768px) {
    .cta-section h2 {
        font-size: 36px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Footer */
.footer {
    background: var(--background-footer);
    color: var(--text-light);
    padding: 60px 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand h3 {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.footer-column a {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--text-secondary);
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.footer-ein, .footer-address .footer-email {
    font-size: 12px;
    opacity: 0.8;
}

/* Footer Legal Section */
.footer-legal {
    font-size: 12px;
    line-height: 1.5;
    color: #555;
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.footer-legal p {
    margin: 8px 0;
    color: var(--text-light);
    text-align: center;
}

.footer-legal-disclosure {
    text-transform: uppercase;
    /* max-width: 600px; */
    margin: 12px auto;
    font-size: 11px;
    text-align: center;
}

.footer-legal-link {
    margin-top: 10px;
}

.footer-legal a {
    color: var(--primary-green);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-legal a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-green);
}

.social-links i {
    width: 20px;
    height: 20px;
}

@media (max-width: 1024px) {
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        gap: 40px;
    }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background-white);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

.mobile-nav.active {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
}

.mobile-nav a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 12px 0;
    border-bottom: 1px solid var(--background-light);
    transition: color 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a.nav-active {
    color: var(--text-primary);
}


@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .donate-btn {
        display: inline-block;
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
    }
    
    .logo {
        flex-shrink: 0;
    }
    
    .mobile-menu-toggle {
        order: 1;
    }
    
    .donate-btn {
        order: 2;
        flex-shrink: 0;
    }
    
    .header {
        position: relative;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 32px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .value-card h3 {
        font-size: 20px;
    }
    
    .program-content h3 {
        font-size: 22px;
    }
    
    .stat-number {
        font-size: 42px;
    }
}