/* --- Base Styling CSS Variables --- */
:root {
    --primary-color: #10b981; /* Vibrant Emerald Green */
    --secondary-color: #f59e0b; /* Warm Amber Gold */
    --dark-color: #1f2937; /* Off-black */
    --light-bg: #f9fafb; /* Soft White */
    --text-muted: #6b7280; /* Gray text */
    --font-stack: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-stack);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: #ffffff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.subtitle {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

/* --- Navigation Header --- */
.navbar {
    background: #ffffff;
    padding: 1.2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-color);
    text-decoration: none;
}

.logo span {
    color: var(--primary-color);
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    margin-left: 1.5rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-menu .btn-donate {
    background: var(--primary-color);
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
}

.nav-menu .btn-donate:hover {
    background: #059669;
    color: #ffffff;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, #111827 0%, #065f46 100%);
    position: relative;
    padding: 10rem 0 8rem;
    color: #ffffff;
    text-align: center;
}

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

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons a {
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    margin: 0.5rem;
    transition: transform 0.2s, background 0.2s;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-secondary:hover {
    background: #ffffff;
    color: var(--dark-color);
    transform: translateY(-2px);
}

/* --- Tracking Metrics Stats Bar --- */
.stats-bar {
    background: #ffffff;
    padding: 3rem 0;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 10px;
    max-width: 1000px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

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

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
}

.stat-item p {
    color: var(--text-muted);
}

/* --- About Section --- */
.about-section {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-list {
    list-style: none;
}

.about-list li {
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.about-list i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.about-placeholder {
    background: var(--light-bg);
    border-radius: 15px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px dashed #e5e7eb;
}

.about-placeholder i {
    font-size: 6rem;
    color: #cbd5e1;
}

/* --- Causes Section --- */
.causes-section {
    background: var(--light-bg);
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.2rem;
}

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

.cause-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s;
}

.cause-card:hover {
    transform: translateY(-5px);
}

.card-img-placeholder {
    background: #e2e8f0;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-img-placeholder i {
    font-size: 4rem;
    color: #94a3b8;
}

.card-body {
    padding: 1.5rem;
}

.card-body h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    height: 70px;
    overflow: hidden;
}

.progress-bar {
    background: #e5e7eb;
    height: 8px;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.progress-fill {
    background: var(--primary-color);
    height: 100%;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--dark-color);
}

/* --- Donation Block --- */
.donate-section {
    padding: 6rem 0;
}

.donate-box {
    background: #1f2937;
    color: #ffffff;
    padding: 4rem 2rem;
    border-radius: 15px;
    text-align: center;
    max-width: 800px;
}

.donate-box h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.donate-box p {
    opacity: 0.8;
    margin-bottom: 2rem;
}

.donate-form {
    max-width: 500px;
    margin: 0 auto;
}

.amount-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 0.5rem;
}

.amount-btn {
    flex: 1;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #ffffff;
    padding: 0.6rem 0;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.2s;
}

.amount-btn.active, .amount-btn:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    border-color: var(--secondary-color);
}

.donate-input {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border-radius: 5px;
    border: none;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.btn-submit {
    width: 100%;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 0.9rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: #059669;
}

/* --- Footer Area --- */
footer {
    background: #111827;
    color: var(--text-muted);
    padding: 2rem 0;
    border-top: 1px solid #1f2937;
    font-size: 0.9rem;
}

/* --- Mobile Breakpoints Responsive Layout --- */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-menu a {
        margin: 0 0.5rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .stats-bar {
        margin-top: 2rem;
    }
}
