@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #ebf0f6;
    color: #333333;
    padding: 24px;
    min-height: 100vh;
}

/* --- REUSABLE COMPONENTS --- */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #611535;
    border-radius: 50%;
}

.italic-text {
    font-style: italic;
    font-weight: 300;
}

.section-header-centered {
    text-align: center;
    margin-bottom: 48px;
}

.section-header-centered h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: #1e3a8a;
    font-weight: 400;
}

/* --- 1. HEADER (Matches other pages) --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    background-color: #ffffff;
    border-radius: 20px;
    position: relative;
    z-index: 50;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.logo-img {
    height: 100px;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #3b71ca;
    text-decoration: underline;
}

.contact-btn {
    text-decoration: none;
    background-color: #3b71ca;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
}

.contact-btn:hover {
    background-color: #2b579a;
}

.mobile-menu-toggle,
.mobile-only-btn {
    display: none;
}

/* --- 2. HERO SECTION --- */
.outreach-hero {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 24px;
    background: url('images/empowerement.jpg') no-repeat center center;
    background-size: cover;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 60px;
    margin-bottom: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4));
    z-index: 1;
}

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

.hero-content .section-badge {
    margin-bottom: 24px;
}

.page-title {
    color: #ffffff;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    color: #e2e8f0;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* --- 3. MISSION SPLIT --- */
.mission-section {
    max-width: 1400px;
    margin: 0 auto 100px auto;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-text h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: #1e3a8a;
    font-weight: 400;
    margin-bottom: 24px;
}

.mission-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 16px;
}

.mission-image-wrapper {
    width: 100%;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
}

.mission-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- 4. IMPACT METRICS --- */
.metrics-section {
    background-color: #1e293b;
    border-radius: 24px;
    padding: 60px;
    max-width: 1400px;
    margin: 0 auto 100px auto;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.metric-number {
    font-size: 4rem;
    font-weight: 700;
    color: #3b71ca;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- 5. ACTIVE PROJECTS --- */
.projects-section {
    max-width: 1400px;
    margin: 0 auto 100px auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.project-card {
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.project-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.project-content {
    padding: 32px;
}

.project-category {
    font-size: 0.85rem;
    font-weight: 700;
    color: #611535;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.project-content h3 {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 12px;
}

.project-content p {
    color: #64748b;
    line-height: 1.6;
}

/* --- 6. GET INVOLVED (GLASS FORM) --- */
.get-involved-section {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 60px auto;
    border-radius: 24px;
    background: url('images/partner-with-us.jpeg') no-repeat center center;
    background-size: cover;
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
    padding: 60px;
}

.cta-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4);
    z-index: 1;
}

.glass-form-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 48px;
}

.involved-text h2 {
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 16px;
}

.involved-text p {
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 32px;
}

.custom-contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.custom-contact-form input,
.custom-contact-form textarea {
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    border: none;
    background-color: rgba(255, 255, 255, 0.9);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.custom-contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background-color: #3b71ca;
    width: 100%;
    margin-top: 8px;
    border: none;
    padding: 10px;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
}

/* --- 7. MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {

    .mission-grid,
    .metrics-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .mission-image-wrapper {
        height: 400px;
    }

    .get-involved-section {
        justify-content: center;
        padding: 40px 20px;
    }

    /* Mobile Header Overrides */
    .desktop-only-btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 14px;
        background: transparent;
        border: none;
        z-index: 60;
    }

    .hamburger-line {
        width: 100%;
        height: 2px;
        background-color: #1e293b;
        transition: 0.3s ease;
    }

    .main-header.is-active {
        border-radius: 20px 20px 0 0;
    }

    .nav-menu {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        gap: 24px;
        padding: 32px 24px;
        border-radius: 0 0 20px 20px;
        border-top: 1px solid #f1f5f9;
        box-shadow: 0 16px 24px -8px rgba(0, 0, 0, 0.15);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: 0.3s ease;
        z-index: 40;
    }

    .nav-menu.is-active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-only-btn {
        display: inline-block;
        width: 100%;
        text-align: center;
    }

    .mobile-menu-toggle.is-active .top-line {
        transform: translateY(6px) rotate(45deg);
    }

    .mobile-menu-toggle.is-active .bottom-line {
        transform: translateY(-6px) rotate(-45deg);
    }
}

@media (max-width: 640px) {

    .main-header,
    .outreach-hero {
        padding: 24px;
    }

    .outreach-hero {
        height: 400px;
    }

    .glass-form-wrapper {
        padding: 32px 24px;
    }

    .metrics-section {
        padding: 40px 20px;
    }
}

.site-footer {
    background-color: #ffffff;
    padding: 80px 40px 40px 40px;
    font-family: Arial, sans-serif;
    color: #475569;
    border-top: 1px solid #e2e8f0;
    margin-left: -24px;
    margin-right: -24px;
    margin-bottom: -24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.5fr; 
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Brand Column --- */
.footer-logo {
    max-width: 150px;
    margin-bottom: 24px;
}

.brand-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #1e293b;
    max-width: 280px;
}

/* --- Headings --- */
.footer-heading {
    font-size: 1.8rem;
    color: #6384f5; /* Soft vibrant blue matching the design */
    font-weight: 500;
    margin-bottom: 24px;
}

/* --- Links (Menu & Socials) --- */
.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #475569;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #6384f5; /* Hover matches the heading color */
}

/* --- Contact Column --- */
.contact-email {
    display: block;
    text-decoration: none;
    color: #475569;
    margin-bottom: 24px;
    font-size: 1rem;
}

.contact-email:hover {
    color: #6384f5;
}

.location-block {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.location-block a {
    text-decoration: none;
    color: #475569;
}

.location-block a:hover {
    color: #6384f5;
}

/* --- Bottom Copyright Area --- */
.footer-bottom {
    max-width: 1400px;
    margin: 60px auto 0 auto;
    text-align: right; /* Aligns text to the right as seen in the image */
    font-size: 0.85rem;
    color: #94a3b8; /* Lighter gray for copyright */
    line-height: 1.5;
}

/* --- Responsive Layout Breakpoints --- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* Drops to a 2x2 grid on tablets */
        gap: 60px 40px;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 60px 20px 20px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr; /* Stacks everything straight down on phones */
        gap: 40px;
    }
    
    .footer-bottom {
        text-align: left; /* Flips copyright to left-align on mobile for better flow */
        margin-top: 40px;
    }
}