/* --- Variables & Reset --- */
:root {
    --primary-color: #007a36; /* Afghan Flag Green */
    --accent-color: #d32011; /* Afghan Flag Red */
    --dark-color: #111111; /* Afghan Flag Black */
    --light-color: #f4f4f4;
    --white: #ffffff;
    --text-color: #333333;
    --font-stack: 'Helvetica Neue', Arial, sans-serif;
}

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

body {
    font-family: var(--font-stack);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

ul {
    list-style: none;
}

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

.text-center { text-align: center; }
.bg-light { background-color: var(--light-color); }
.subtitle { margin-bottom: 40px; font-size: 1.2rem; color: #666; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

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

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

/* --- Header & Nav --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
    color: var(--dark-color);
}

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

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.btn-donate {
    background-color: var(--accent-color);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: 4px;
}

.btn-donate:hover {
    background-color: #a8190d; /* Darker red */
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-color);
    transition: all 0.3s ease-in-out;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background: url('hero.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.7); /* Dark overlay for text readability */
    z-index: 1;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* --- Crisis Section --- */
.crisis-section {
    padding: 80px 20px;
}

.crisis-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.crisis-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* --- Pillars Section --- */
.pillars-section {
    padding: 80px 20px;
}

.pillars-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

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

.card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

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

.card h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.focus-text {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* --- Help/Action Section --- */
.help-section {
    padding: 80px 20px;
}

.help-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: center;
}

.action-item {
    padding: 20px;
}

.action-item .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.action-item h3 {
    margin-bottom: 15px;
}

.action-item p {
    margin-bottom: 25px;
    min-height: 80px;
}

/* --- Footer --- */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    padding-bottom: 30px;
    margin-bottom: 20px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
}

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

.footer-links a {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}

/* --- Media Queries (Mobile Responsiveness) --- */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    }

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

    .nav-links li {
        margin: 20px 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}

/* Footer copyright mark doubles as a plain link - inherits color/underline so it's visually identical to the static text around it. */
.footer-bottom a.cprt {
    color: inherit;
    text-decoration: none;
}
