/* assets/css/style.css */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;800&display=swap');

:root {
    /* NGO Friendly Earthy & Professional Colors */
    --primary-green: #2e8b57; /* Sea Green - Trust and Nature */
    --primary-blue: #2b6cb0; /* Professional Blue */
    --accent-color: #f6ad55; /* Warm Orange for highlights */
    --bg-main: #f8fafc; /* Very soft off-white background */
    --bg-surface: #ffffff; /* Pure white for cards */
    --text-main: #1e293b; /* Dark slate for easy reading */
    --text-muted: #64748b; /* Soft gray for secondary text */
    --border-light: #e2e8f0; /* Subtle borders */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
}

/* Background Blobs - Changed to soft pastel watercolor-like effects */
.glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.glow-blue {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(43, 108, 176, 0.08) 0%, transparent 70%);
    animation: floatGlowBlue 20s infinite alternate ease-in-out;
}

.glow-green {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(46, 139, 87, 0.08) 0%, transparent 70%);
    animation: floatGlowGreen 18s infinite alternate-reverse ease-in-out;
}

@keyframes floatGlowBlue {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(3%, 3%) scale(1.05); }
}

@keyframes floatGlowGreen {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-3%, -3%) scale(1.05); }
}

/* Clean, Solid Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.navbar .logo {
    font-size: 0;
    display: block;
    width: 160px;
    height: 46px;
    background-image: url('../../logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    text-indent: -9999px;
}

.navbar .logo span {
    display: none; 
}


.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn-donate-nav {
    background: var(--bg-surface);
    border: 2px solid var(--primary-green);
    padding: 10px 28px;
    border-radius: 50px;
    color: var(--primary-green) !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-donate-nav:hover {
    background: var(--primary-green);
    color: var(--bg-surface) !important;
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.2);
}

.mobile-menu-btn {
    display: none;
    color: var(--text-main);
    font-size: 28px;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 120px 8%;
    min-height: 70vh;
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text-main);
    letter-spacing: -1px;
}

.hero-content h1 span {
    color: var(--primary-green);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
    font-weight: 400;
}

/* Buttons */
.hero-buttons { 
    display: flex; 
    gap: 15px; 
    flex-wrap: wrap; 
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 16px;
    text-align: center;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--bg-surface);
    border: 2px solid #ffffff;
}

.btn-primary:hover {
    background: #246d44; /* Darker green */
    border-color: #246d44;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 139, 87, 0.25);
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-main);
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--text-muted);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Clean Stats Section (Removed Glassmorphism) */
.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 8%;
    margin-top: -40px;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.stat-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-box i { 
    font-size: 2.8rem; 
    color: var(--primary-blue); 
    margin-bottom: 15px; 
}

.stat-box:nth-child(2) i { 
    color: var(--primary-green); 
}

.stat-box h2 { 
    font-size: 3rem; 
    font-weight: 800; 
    margin-bottom: 5px; 
    color: var(--text-main); 
}

.stat-box p { 
    color: var(--text-muted); 
    font-size: 1.05rem; 
    font-weight: 500; 
}

/* Footer Adjustments */
footer {
    background: #111827; /* Dark but professional gray */
    padding: 30px 20px;
    text-align: center;
    color: #94a3b8;
    margin-top: auto;
}

.dev-credit {
    color: var(--primary-green) !important;
    font-weight: 600 !important;
}

/* --- New Sections Styles --- */

/* Section Heading */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 5%;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-main);
}

.section-title h2 span {
    color: var(--primary-green);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Mission Section */
.mission-section {
    padding: 80px 8%;
    background: var(--bg-surface);
}

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

.mission-card {
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    padding: 40px;
    border-radius: 16px;
    transition: 0.3s;
}

.mission-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-green);
    background: var(--bg-surface);
}

.mission-card i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

/* Featured Projects Section */
.projects-section {
    padding: 100px 8%;
    background: var(--bg-main);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s ease;
    box-shadow: var(--shadow-sm);
}

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

.project-img {
    width: 100%;
    height: 220px;
    background: #cbd5e1; /* Soft placeholder */
    object-fit: cover;
}

.project-info {
    padding: 30px;
}

.project-info h3 {
    margin-bottom: 12px;
    color: var(--text-main);
    font-size: 1.4rem;
}

.project-info p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 100px 8%;
    text-align: center;
    overflow: hidden;
}

.cta-box {
    background: var(--primary-green);
    padding: 80px 40px;
    border-radius: 24px;
    color: var(--bg-surface);
    box-shadow: 0 20px 40px rgba(46, 139, 87, 0.15);
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--bg-surface);
}

/* --- Form & Join Us Styles --- */
.join-section {
    padding: 100px 8%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-main);
}

.glass-form {
    /* Kept class name, but removed glass effect */
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    padding: 50px;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
}

.glass-form h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
    color: var(--text-main);
}

.glass-form p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.form-control:focus {
    border-color: var(--primary-green);
    background: var(--bg-surface);
    box-shadow: 0 0 0 4px rgba(46, 139, 87, 0.1);
}

/* Alert Styles */
.alert {
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 500;
}

.alert-success { 
    background: #ecfdf5; 
    color: #047857; 
    border: 1px solid #a7f3d0; 
}

.alert-error { 
    background: #fef2f2; 
    color: #b91c1c; 
    border: 1px solid #fecaca; 
}

/* --- About & Contact Styles --- */
.about-header {
    text-align: center;
    padding: 100px 8% 40px;
}

.about-header h1 { 
    font-size: 3.5rem; 
    margin-bottom: 20px; 
    color: var(--text-main);
}

.about-header h1 span { 
    color: var(--primary-green); 
}

.about-content {
    padding: 60px 8%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 { 
    font-size: 2.2rem; 
    margin-bottom: 20px; 
    color: var(--text-main); 
}

.about-text p { 
    color: var(--text-muted); 
    line-height: 1.8; 
    margin-bottom: 20px; 
    font-size: 1.1rem; 
}

.contact-section {
    padding: 80px 8% 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    padding: 40px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.info-item { 
    display: flex; 
    align-items: flex-start; 
    margin-bottom: 30px; 
}

.info-item i { 
    font-size: 1.5rem; 
    color: var(--primary-green); 
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h4 { 
    font-size: 1.1rem; 
    color: var(--text-main); 
    margin-bottom: 5px; 
}

.info-item p { 
    color: var(--text-muted); 
    line-height: 1.5;
}

/* Social Media Icons in Footer */
.social-links {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: #94a3b8;
    background: rgba(255,255,255,0.05);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--bg-surface);
    transform: translateY(-3px);
}

.social-links a.fb:hover { background: #1877F2; }
.social-links a.tw:hover { background: #1DA1F2; }
.social-links a.ig:hover { background: #E4405F; }
.social-links a.yt:hover { background: #FF0000; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar { 
        padding: 20px 5%; 
    } 
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 5%;
        width: 90%;
        background: var(--bg-surface);
        padding: 30px;
        border-radius: 16px;
        border: 1px solid var(--border-light);
        box-shadow: var(--shadow-md);
        text-align: center;
        gap: 20px;
    } 
    .nav-links.active { 
        display: flex; 
    } 
    .mobile-menu-btn { 
        display: block; 
        color: var(--text-main);
    } 
    .hero-section { 
        padding: 100px 5% 60px; 
        text-align: center; 
    } 
    .hero-content h1 {
        font-size: 3.5rem;
    } 
    .hero-buttons { 
        flex-direction: column; 
        justify-content: center; 
        width: 100%; 
    } 
    .btn { 
        width: 100%; 
        margin: 0; 
    } 
    .stats-container { 
        grid-template-columns: 1fr; 
        padding: 0 5%; 
        margin-top: 20px; 
        margin-bottom: 50px;
    }
    .about-content, .contact-grid { 
        grid-template-columns: 1fr; 
    }
    .about-header h1 {
        font-size: 2.5rem;
    }
}


footer h3 {
    color: white !important;
}