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

:root {
    --primary-color: #2E7D32;
    --secondary-color: #4CAF50;
    --accent-color: #81C784;
    --dark-green: #1B5E20;
    --light-green: #A5D6A7;
    --pale-green: #E8F5E9;
    --text-primary: #212121;
    --text-secondary: #616161;
    --bg-white: rgba(255, 255, 255, 0.98);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(46, 125, 50, 0.15);
    --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.8;
    color: var(--text-primary);
    background: linear-gradient(180deg, #F5F5F5 0%, #E8F5E9 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation - Glass Morphism */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--dark-green);
    font-family: 'Georgia', serif;
    letter-spacing: 0.5px;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    background: var(--pale-green);
    border-bottom: 2px solid var(--primary-color);
}

.donate-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.donate-btn:hover {
    background: var(--dark-green);
    box-shadow: var(--shadow-hover);
    color: white;
    border-bottom: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: var(--radius-full);
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 25s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.2), transparent);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.2), transparent);
    bottom: -50px;
    right: -50px;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(129, 199, 132, 0.15), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    background: var(--bg-white);
    border: 3px solid var(--primary-color);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.15);
    position: relative;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary-color);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-green);
    font-family: 'Georgia', serif;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.25);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--dark-green);
    border-color: var(--dark-green);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.35);
}

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

.btn-secondary:hover {
    background: var(--pale-green);
    color: var(--dark-green);
    border-color: var(--dark-green);
}

/* Section Commons */
section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-green);
    font-family: 'Georgia', serif;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

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

/* About Section */
.about {
    background: var(--bg-white);
}

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

.about-card {
    background: white;
    border: 2px solid var(--light-green);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(46, 125, 50, 0.15);
    border-color: var(--primary-color);
    background: var(--pale-green);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.card-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid var(--light-green);
    border-radius: var(--radius-md);
    z-index: -1;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Programs Section */
.programs {
    background: var(--pale-green);
    border-top: 1px solid var(--light-green);
    border-bottom: 1px solid var(--light-green);
}

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

.program-card {
    background: white;
    border: 2px solid var(--light-green);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.program-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid var(--primary-color);
}

.program-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-tag {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--dark-green);
    border: 2px solid var(--primary-color);
}

.program-content {
    padding: 1.5rem;
}

.program-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.program-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.learn-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s var(--transition);
}

.learn-more:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
    display: inline-block;
}

/* Impact Section */
.impact {
    background: var(--bg-white);
}

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

.stat-card {
    background: white;
    border: 2px solid var(--light-green);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Georgia', serif;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Partners Section */
.partners {
    background: linear-gradient(180deg, #FFFFFF 0%, var(--pale-green) 100%);
}

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

.partner-logo {
    background: white;
    border: 2px solid var(--light-green);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--transition);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.logo-placeholder {
    color: var(--text-secondary);
    font-weight: 600;
    text-align: center;
}

/* Contact Section */
.contact {
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-item {
    margin-bottom: 2rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.info-item p {
    color: var(--text-secondary);
}

/* Contact Form */
.contact-form {
    background: white;
    border: 2px solid var(--light-green);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: var(--pale-green);
    border: 2px solid var(--light-green);
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s var(--transition);
    margin-bottom: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.contact-form button {
    width: 100%;
}

/* Footer */
.footer {
    background: var(--dark-green);
    color: white;
    padding: 3rem 0 1rem;
    border-top: 4px solid var(--primary-color);
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

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

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    color: white;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: var(--secondary-color);
    border: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: var(--light-green);
    color: var(--dark-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-soft);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-content {
        padding: 2rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

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