:root {
    --orange: #F39117;
    --blue: #28306F;
    --white: #ffffff;
    --grey-bg: #f5f5f5;
    --gradient: linear-gradient(135deg, var(--blue), var(--orange));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
}

body {
    background: var(--grey-bg);
    color: var(--blue);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 2rem 1.5rem;
}

/* --- HEADER CONTAINER --- */
#header-container {
    min-height: 100px; 
    width: 100%;
    margin-bottom: 1rem;
}

/* --- HEADER STYLES --- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    background: transparent;
    animation: fadeIn 0.3s ease-in;
    position: relative; /* For dropdown positioning */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Brand Identity */
.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo {
    width: 65px;
    height: auto;
    transition: transform 0.3s;
    margin-bottom: 0;
}

.header-brand:hover .logo {
    transform: scale(1.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-main {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -0.5px;
}

.brand-sub {
    font-size: 1rem;
    font-weight: 600;
    color: var(--orange);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Header Right Side */
.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* --- NAVIGATION --- */
.nav-menu {
    margin-top: 0;
}

.nav-list {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: var(--blue);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-list a:hover, .nav-list a.highlight {
    color: var(--orange);
}

/* --- LANGUAGE DROPDOWN (New UI) --- */
.lang-dropdown-wrapper {
    position: relative;
    margin-left: 0.5rem;
}

.lang-drop-btn {
    background: white;
    border: 1px solid rgba(40, 48, 111, 0.15);
    color: var(--blue);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.lang-drop-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.lang-drop-btn i {
    font-size: 0.9em;
}

.text-xs { font-size: 0.75em !important; opacity: 0.7; }

/* The Dropdown Menu */
.lang-dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 120%;
    right: 0;
    background: white;
    min-width: 120px;
    box-shadow: 0 8px 16px rgba(40, 48, 111, 0.15);
    border-radius: 12px;
    padding: 0.5rem;
    z-index: 1000;
    border: 1px solid rgba(0,0,0,0.05);
    animation: slideDown 0.2s ease-out;
}

.lang-dropdown-menu.show {
    display: block;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.lang-dropdown-menu a {
    display: block;
    color: var(--blue);
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s;
    text-align: left;
}

.lang-dropdown-menu a:hover {
    background: #f0f4ff;
    color: var(--orange);
}

/* Mobile Language Switcher Styles */
.lang-mobile-item {
    display: none;
    padding: 10px 0;
    justify-content: flex-start;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    gap: 10px;
}

.lang-btn-mobile {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    font-weight: 600;
    color: #666;
}

.lang-btn-mobile.active {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 3000;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--blue);
    margin: 5px 0;
    transition: 0.3s;
}

/* --- HERO SECTION --- */
.hero-section {
    text-align: center;
    padding: 2rem 1rem 4rem 1rem;
}

.hero-title {
    font-size: 3.2rem;
    color: var(--blue);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.hero-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-tag {
    background: rgba(40, 48, 111, 0.05);
    color: var(--blue);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(40, 48, 111, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-tag i {
    color: var(--orange);
}

/* --- SECTIONS (Clean Look) --- */
.section {
    margin-bottom: 4rem;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.section-title {
    color: var(--blue);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 5px;
    background: var(--orange);
    border-radius: 10px;
}

.section-title::after { display: none; }

/* --- JOIN SPLIT LAYOUT --- */
.join-wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.carousel-container {
    flex: 1;
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
}

.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s;
    z-index: 1;
}

.carousel-img.active {
    opacity: 1;
    z-index: 2;
}

.join-content {
    flex: 1;
    text-align: left;
}

.join-content .section-title {
    padding-left: 0;
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.join-content .section-title::before { display: none; }

.join-btn {
    background: var(--gradient);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.join-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(243, 145, 23, 0.4);
    color: white;
}

/* --- GRIDS & CARDS --- */
.links-grid, .media-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.link-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid rgba(40, 48, 111, 0.05);
    text-decoration: none;
    color: var(--blue);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
}

.link-card i {
    font-size: 1.5rem;
    color: var(--orange);
    transition: 0.3s;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--orange);
}

/* --- IMPACT STATS (Sleek Version) --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem; /* Tighter gap */
    max-width: 1000px; /* Constrains width so cards don't stretch */
    margin: 0 auto 2.5rem auto;
}

.stat-card {
    background: white;
    padding: 1.5rem 1rem; /* Reduced padding for sleek look */
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(40, 48, 111, 0.08); /* Subtle border */
    box-shadow: 0 4px 6px rgba(0,0,0,0.02); /* Very light shadow */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(40, 48, 111, 0.1);
    border-color: var(--orange); /* Orange accent only appears on hover */
}

/* Icon Styling (Removed the big circle background) */
.stat-card i {
    font-size: 2rem;
    color: var(--orange); /* Icon is now orange */
    margin-bottom: 0.5rem;
    background: transparent;
    width: auto;
    height: auto;
    line-height: normal;
    padding: 0;
}

.stat-number {
    font-size: 2rem; /* Slightly smaller, more elegant */
    font-weight: 800;
    color: var(--blue);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: #64748b; /* Softer grey */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Zero Cost Banner - Aligning with the sleek grid */
.zero-cost-banner {
    background: linear-gradient(135deg, var(--blue), #1e255e);
    border-radius: 16px;
    padding: 2rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(40, 48, 111, 0.15);
    max-width: 1000px; /* Match grid width */
    margin: 0 auto;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr); /* Keep 2 cols on mobile for density */
        gap: 0.8rem;
    }
    .stat-number {
        font-size: 1.6rem;
    }
    .stat-label {
        font-size: 0.75rem;
    }
    .stat-card {
        padding: 1rem;
    }
    .zero-cost-banner {
        flex-direction: column;
        text-align: center;
    }
    .zero-cost-content h3 {
        justify-content: center;
    }
}

/* Zero Cost Banner */
.zero-cost-banner {
    background: linear-gradient(135deg, var(--blue), #1e255e);
    border-radius: 16px;
    padding: 2.5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 10px 30px rgba(40, 48, 111, 0.3);
}

.zero-cost-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zero-cost-content h3 i {
    color: var(--orange);
}

.zero-cost-banner .action-btn {
    background: var(--orange);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.zero-cost-banner .action-btn:hover {
    background: white;
    color: var(--orange);
    transform: translateY(-2px);
}

/* --- FOOTER --- */
.site-footer {
    background: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(40, 48, 111, 0.1);
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 2rem;
    align-items: start;
}

/* Left Column: Identity & Socials */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-identity {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    width: 70px;
    height: auto;
}

/* Typography - Matches Header Exactly */
.footer-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.footer-brand-main {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -0.5px;
}

.footer-brand-sub {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--orange);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 1.2rem;
    margin-top: 0.5rem;
}

.footer-social a {
    color: var(--blue);
    font-size: 1.4rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(40, 48, 111, 0.05); /* Subtle background */
}

.footer-social a:hover {
    color: white;
    background: var(--orange);
    opacity: 1;
    transform: translateY(-3px);
}

/* Right Column: Navigation */
.footer-navigation {
    justify-self: end; /* Pushes links to the right */
    text-align: right;
}

.footer-menu h3 {
    color: var(--blue);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-menu a {
    display: block;
    color: var(--blue);
    text-decoration: none;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.footer-menu a:hover {
    color: var(--orange);
    opacity: 1;
    transform: translateX(-5px); /* Slide left slightly on hover */
}

/* Copyright Bar */
.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(40, 48, 111, 0.08);
}

.footer-copyright p {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-wrapper {
        grid-template-columns: 1fr; /* Stack vertically */
        text-align: center;
        gap: 3rem;
    }
    
    .footer-left {
        align-items: center;
    }
    
    .footer-identity {
        justify-content: center;
        text-align: left; /* Keep logo/text aligned relative to each other */
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-navigation {
        justify-self: center;
        text-align: center;
    }
    
    .footer-menu a:hover {
        transform: none; /* Disable slide effect on mobile */
    }
}

/* Copyright Bar */
.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(40, 48, 111, 0.1);
}

.footer-copyright p {
    color: var(--blue);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-left {
        align-items: center;
    }
    
    .footer-identity {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    .footer-navigation {
        justify-content: center;
    }
}

/* Contact Page Specific (Required for contact.html) */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}
.contact-info h3 { color: var(--blue); margin: 1.5rem 0 0.5rem; font-size: 1.2rem; }
.contact-info h3:first-child { margin-top: 0; }
.contact-info p { margin-bottom: 0.5rem; }
.contact-info a { color: var(--orange); text-decoration: none; transition: color 0.3s ease; }
.contact-info a:hover { color: var(--blue); }
.contact-info i { color: var(--orange); width: 20px; margin-right: 8px; }
.map-container { position: relative; }
.map-link { margin-top: 1rem; }

/* Mobile Responsive */
@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container { padding: 1rem; }
    .hero-title { font-size: 2.2rem; }
    
    /* Header Mobile */
    .header-right { gap: 1rem; }
    .lang-dropdown-wrapper { display: none; } /* Hide dropdown on mobile */
    
    .nav-list {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0; right: 0;
        height: 100vh;
        width: 250px;
        background: white;
        padding: 4rem 1.5rem;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 2900;
        align-items: flex-start;
    }
    .nav-list.active { display: flex; }
    .nav-list a { width: 100%; border-bottom: 1px solid #eee; padding: 10px 0; }
    
    .lang-mobile-item { display: flex; width: 100%; padding: 0; margin-bottom: 1rem; gap: 10px; }

    .hamburger { display: block; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 6px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -5px); }
    
    .join-wrapper { flex-direction: column; }
    .carousel-container { height: 220px; }
    .stats-grid { grid-template-columns: 1fr; }
    .zero-cost-banner { flex-direction: column; text-align: center; }
    .zero-cost-content h3 { justify-content: center; }
    .contact-grid { grid-template-columns: 1fr; }
}