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

:root {
    /* Nigerian Theme Colors - Green, White, Gold */
    --primary-green: #008751;
    --dark-green: #006b41;
    --light-green: #e8f5e9;
    --pale-green: #f1f8f4;
    --white: #ffffff;
    --off-white: #f8faf8;
    --gold: #d4af37;
    --dark-gold: #b8941f;
    --text-dark: #1a1a1a;
    --text-gray: #4a4a4a;
    --light-gray: #f5f5f5;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

img {
    max-width: 100%;
    display: block;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    transition: all 0.3s ease;
}

/* Transparent-over-photo treatment, opt-in via .navbar-transparent (Home hero only) */
.navbar-transparent {
    background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, transparent 100%);
    box-shadow: none;
    padding: 20px 0;
}

.navbar-transparent .nav-link,
.navbar-transparent .logo h2 {
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.navbar-transparent.scrolled {
    background: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    padding: 15px 0;
}

.navbar-transparent.scrolled .nav-link,
.navbar-transparent.scrolled .logo h2 {
    color: var(--text-dark);
    text-shadow: none;
}

.navbar-transparent.scrolled .logo h2 {
    color: var(--primary-green);
}

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

.logo {
    text-decoration: none;
}

.logo h2 {
    color: var(--primary-green);
    font-size: 1.4rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

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

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary-green);
    font-size: 1.5rem;
    cursor: pointer;
}

.navbar-transparent .mobile-menu-btn {
    color: var(--white);
}

.navbar-transparent.scrolled .mobile-menu-btn {
    color: var(--primary-green);
}

/* ===== BUTTONS ===== */
.btn {
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

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

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

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

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

.btn-full {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
}

/* ===== PAGE HERO (About / Vision / Contact / Get Involved) ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    padding: 160px 0 100px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-hero .subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 15px;
    opacity: 0.95;
}

.page-hero .intro-text {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== LARGE FEATURE PHOTO ===== */
.feature-photo {
    padding: 0;
    background: var(--off-white);
}

.feature-photo img {
    width: 100%;
    height: 50vh;
    min-height: 380px;
    object-fit: cover;
    object-position: center 20%;
}

.feature-photo-caption {
    text-align: center;
    padding: 18px 20px;
    color: var(--text-gray);
    font-size: 0.95rem;
    background: var(--white);
}

/* ===== CARDS (shared: info cards, focus cards, office/contact cards) ===== */
.info-card,
.focus-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 25px var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border-left: 5px solid var(--gold);
}

.info-card:hover,
.focus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--light-green), var(--pale-green));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.info-card h2 {
    color: var(--primary-green);
    font-size: 1.5rem;
    font-weight: 700;
}

.info-card p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 10px;
    font-weight: 700;
}

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

/* ===== CONTACT / VOLUNTEER FORM ===== */
.form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--light-green);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--off-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 135, 81, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
}

.form-success {
    background: var(--light-green);
    color: var(--dark-green);
    border: 1px solid var(--primary-green);
}

.form-error {
    background: #fdecea;
    color: #b3261e;
    border: 1px solid #f5c6c3;
}

/* ===== CONTACT CARD ===== */
.contact-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 25px var(--shadow);
    border-top: 4px solid var(--gold);
}

.contact-card .card-title h3 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.card-detail {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 15px;
}

.detail-icon {
    color: var(--gold);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.detail-text a {
    color: var(--text-gray);
    text-decoration: none;
}

.detail-text a:hover {
    color: var(--primary-green);
}

/* ===== CTA BAND ===== */
.cta-band {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    padding: 100px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-band h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-band p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

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

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-green);
    color: var(--white);
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 18px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.footer p {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        order: -1;
    }

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

    .info-card {
        padding: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--white);
        box-shadow: 0 10px 20px var(--shadow);
        padding: 10px 20px 20px;
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links .nav-link {
        color: var(--text-dark) !important;
        text-shadow: none !important;
        padding: 14px 0;
        border-bottom: 1px solid var(--light-gray);
    }

    .nav-links .btn {
        margin-top: 12px;
        text-align: center;
    }

    .mobile-menu-btn {
        display: block;
    }

    .page-hero {
        padding: 120px 0 60px;
    }

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

    .card-header {
        flex-direction: column;
        text-align: center;
    }

    .form-card {
        padding: 25px;
    }

    .cta-band h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .feature-photo img {
        height: 40vh;
        min-height: 260px;
    }
}
