/* ================================================================
   DDO SOMALIA WEBSITE - MAIN STYLES
   ================================================================ */

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    padding-top: 6.5rem; /* Body Padding */
}

html {
    scroll-behavior: smooth;
}

/* Heading Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* =========================
   TOP HEADER
========================= */

/* =========================
   HEADER - TOP BAR (Contact Info)
========================= */

.header-top {
    background: #12961C;
    color: white;
    padding: 0.75rem 1rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 998;
    font-size: 0.85rem;
    height: auto; /* Let it size naturally */
}

.header-top-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.header-contact {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.header-contact a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.3s ease;
}

.header-contact a:hover {
    color: #24B15E;
}

.header-contact i {
    font-size: 0.75rem;
}

.header-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.header-location i {
    font-size: 0.75rem;
}

/* =========================
   HEADER - MAIN BAR (Navigation)
========================= */

.header-main {
    position: fixed;
    top: 2.5rem; /* Adjusted to match actual top header height */
    width: 100%;
    z-index: 999;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.header-main.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-main-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    min-height: 4rem;
}

/* Logo - Left */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    order: 1;
}

.logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Navigation Menu - Center */
.nav-menu {
    display: none;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
    order: 2;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #12961C;
}

/* Desktop Navigation Language Switcher */
.nav-menu .language-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border-bottom: none !important;
    gap: 0;
}

.nav-menu .language-switcher label {
    display: none;
}

.nav-menu .language-switcher select {
    display: none;
}

/* Language Item */
.language-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 !important;
    border-bottom: none !important;
}

.language-item label {
    font-weight: 600;
    color: #333;
    margin: 0;
    white-space: nowrap;
}

.language-item select {
    background: white;
    color: #333;
    border: 1px solid #ddd;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-item select:hover {
    background: #f5f5f5;
    border-color: #999;
}

.language-item select:focus {
    outline: none;
    border-color: #12961C;
}

/* Menu Toggle Button */
.menu-toggle {
    display: flex;
    background: #12961C;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease;
    align-items: center;
    justify-content: center;
    order: 3;
    flex: 0 0 auto;
}

.menu-toggle:hover {
    background: #24B15E;
}

.menu-toggle.active {
    background: #e74c3c;
}

/* Donate Button - Right */
.donate-link {
    text-decoration: none;
    order: 4;
    flex: 0 0 auto;
}

.donate-btn-new {
    background: #12961C;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.donate-btn-new:hover {
    background: #24B15E;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 6.5rem;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 1rem 0;
    z-index: 997;
    width: 100%;
    max-height: calc(100vh - 6.5rem);
    overflow-y: auto;
}

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

.nav-menu-mobile {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu-mobile li {
    padding: 0;
    width: 100%;
}

.nav-menu-mobile a {
    display: block;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu-mobile a:hover {
    background: #f5f5f5;
    color: #12961C;
}

/* Mobile Menu Language Switcher */
.nav-menu-mobile .language-switcher {
    padding: 16px 1.5rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: none !important;
}

.nav-menu-mobile .language-switcher label {
    display: none;
}

.nav-menu-mobile #custom-language-switcher {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.nav-menu-mobile .lang-toggle-btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.95rem;
}

.nav-menu-mobile .lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    z-index: 10001;
}

/* Menu Divider */
.menu-divider {
    height: 1px;
    background: #eee;
    width: 100%;
    margin: 0.5rem 0;
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .menu-toggle {
        display: none !important;
    }
    
    .header-main-container {
        gap: 2rem;
    }
    
    .logo-container {
        flex: 0 0 auto;
        order: 1;
    }
    
    .nav-menu {
        display: flex !important;
        order: 2;
        flex: 1;
        justify-content: center;
    }
    
    .donate-link {
        order: 3;
        flex: 0 0 auto;
    }
    
    /* Hide mobile menu on desktop */
    .mobile-menu {
        display: none !important;
    }
    
    .mobile-menu.active {
        display: none !important;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 6.5rem;
    }

    .header-main-container {
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .logo {
        width: 50px;
        height: 50px;
    }

    .menu-toggle {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .donate-btn-new {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-top: 0; /* Ensure no extra margin */
}

.hero-content-row {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%), 
                url('../images/ddo-bg-003.jpeg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    min-height: calc(100vh - 6.5rem); /* Subtract nav height on all screens */
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    width: 100%;
    color: white;
    text-align: left;
}

.hero-label {
    font-size: 0.9rem;
    color: #24B15E;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease-out;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 0.6s both;
}

.hero-images-row {
    background: white;
    overflow: hidden;
    padding: 0;
    min-height: 40vh;
    display: flex;
    align-items: center;
}

.hero-carousel {
    display: flex;
    gap: 0;
    animation: slideLeft 60s linear infinite;
    padding: 0;
}

.hero-carousel img {
    height: 300px;
    width: auto;
    object-fit: cover;
    border-radius: 0;
    flex-shrink: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.hero-carousel img:hover {
    transform: scale(1.05);
    box-shadow: none;
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary {
    background: #12961C;
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #24B15E;
}

.btn-secondary {
    background: white;
    color: #000;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-secondary:hover {
    background: #f0f0f0;
}

/* Stats Section */
.stats-section {
    padding: 5rem 2rem;
    background: #f0f8f5;
}

.stats-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stats-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stats-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stats-left h2 {
    font-size: 2.8rem;
    color: #000;
    line-height: 1.2;
    margin: 0;
}

.stats-video-thumbnail {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: 10px;
    overflow: hidden;
    background: #e0e0e0;
}

.stats-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(18, 150, 28, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: rgba(18, 150, 28, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    color: white;
    font-size: 2rem;
    margin-left: 8px;
}

.stats-left p {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

.discover-more {
    display: inline-block;
    color: #12961C;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    width: fit-content;
}

.discover-more:hover {
    color: #12961C;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-box {
    padding: 2.5rem;
    border-radius: 8px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-box-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 1.8rem;
}

.stat-box h3 {
    font-size: 1.5rem;
    margin: 0;
    color: white;
}

.stat-box p {
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.95;
    line-height: 1.4;
}

.stat-orange {
    background: linear-gradient(135deg, #12961C 0%, #24B15E 100%);
}

.stat-green {
    background: linear-gradient(135deg, #12961C 0%, #24B15E 100%);
}

.stat-blue {
    background: linear-gradient(135deg, #12961C 0%, #24B15E 100%);
}

.stat-red {
    background: linear-gradient(135deg, #12961C 0%, #24B15E 100%);
}

/* Programs Section */
.programs-section {
    padding: 5rem 2rem;
    background: #f9f9f9;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

.programs-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.program-card {
    background: white;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.program-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    margin: 2rem 2rem 0 2rem;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-content {
    padding: 1rem 2rem 2rem 2rem;
}

.program-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

.program-content p {
    color: #666;
    margin-bottom: 1rem;
}

.learn-more {
    color: #24B15E;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: #12961C;
}

.btn-learn-more {
    background: #12961C;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-learn-more:hover {
    background: #24B15E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(18, 150, 28, 0.3);
}

.programs-footer {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
}

.btn-view-all {
    background: #12961C;
    color: white;
    padding: 1rem 2.5rem;  
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-view-all:hover {
    background: #12961C;
    color: white;
    transform: scale(1.05);
}

/* Emergency Section */
.emergency-section {
    padding: 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.emergency-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(18, 150, 28, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.emergency-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}

.emergency-content {
    flex: 1;
    min-width: 300px;
}

.emergency-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #dc2626;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.emergency-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e5e5e5;
}

.btn-emergency {
    background: transparent;
    color: #dc2626;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #dc2626;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.btn-emergency:hover {
    background: #dc2626;
    color: white;
    transform: translateX(5px);
    box-shadow: inset 0 0 10px rgba(220, 38, 38, 0.3);
}

/* Partners Section */
.partners-section {
    padding: 4rem 2rem;
    background: white;
}

.partners-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 3rem;
}

.partners-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    opacity: 0.6;
}

.partner-item {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.partner-logo {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.partner-item:hover .partner-logo {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Donate CTA Section */
.donate-cta-section {
    background: linear-gradient(135deg, rgba(18, 150, 28, 0.5) 0%, rgba(26, 126, 46, 0.95) 50%, rgba(13, 92, 26, 0.95) 100%),
                url('../images/ddo-bg-006.jpeg') center/cover no-repeat;
    padding: 3rem 2rem;
    margin: 0;
    position: relative;
}

.donate-cta-container {
    max-width: 1300px;
    margin: 0 auto;
}

.donate-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.donate-cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1.3;
    margin: 0;
    flex: 1;   
}

.btn-donate-cta {
    background: #24B15E;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
}

.btn-donate-cta:hover {
    background: #12961C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 4rem 2rem 2rem;
    margin-top: 0;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #333;
}

/* Footer About Section with Logo */
.footer-about {
    grid-column: 1;
}

.footer-logo-container {
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 100px;
    width: auto;
    display: block;
    margin-bottom: 1.5rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #24B15E;
}

.footer-column p {
    color: #aaa;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.social-links a:hover {
    background: #12961C;
    color: white;
    transform: translateY(-3px);
}

.social-links i {
    font-size: 1rem;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #24B15E;
    padding-left: 5px;
    transition: padding 0.3s ease;
}

/* Contact & Newsletter Row */
.footer-contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-contact h3,
.footer-newsletter h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-contact h3::after,
.footer-newsletter h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #24B15E;
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #aaa;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-icon {
    font-size: 1.1rem;
    color: #12961C;
    width: 20px;
    display: inline-flex;
    align-items: center;
}

.contact-info a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #24B15E;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 0;
}

.newsletter-form input {
    flex: 1;
    padding: 0.85rem 1.2rem;
    border: 1px solid #333;
    background: #222;
    color: white;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    border-color: #24B15E;
}

.newsletter-form input::placeholder {
    color: #666;
}

.newsletter-form button {
    background: #24B15E;
    color: white;
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.3s ease;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.newsletter-form button:hover {
    background: #12961C;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: #888;
    font-size: 0.9rem;
}

.footer-bottom p a {
    color: #24B15E;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom p a:hover {
    color: #12961C;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        padding: 0 1rem;
        height: auto;
        gap: 0.5rem;
    }

    .logo {
        width: 100px;
        height: 100px;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        order: 3;
    }

    .donate-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        order: 4;
        width: 100%;
        margin-top: 0.5rem;
    }

    .logo-container {
        order: 1;
        flex: 1;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-left h2 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    /* Footer Responsive */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-about {
        grid-column: 1;
    }

    .footer-contact-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo {
        height: 80px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 0.5rem;
        border: 1px solid #333;
    }

    .newsletter-form button {
        border-radius: 4px;
    }

    /* Donate CTA Responsive */
    .donate-cta-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .donate-cta-content h2 {
        font-size: 1.5rem;
    }

    .btn-donate-cta {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content-row {
        min-height: calc(100vh - 6.5rem);
        padding: 1.5rem 1rem;
    }

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

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

/* ================================================================
   LANGUAGE SWITCHER STYLING
   ================================================================ */

.language-switcher {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 999;
}

/* Hide old select elements */
.language-switcher select {
    display: none;
}

#custom-language-switcher {
    position: relative;
    display: inline-block;
}

/* Language Toggle Button */
.lang-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #12961C 0%, #0f7a16 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(18, 150, 28, 0.3);
}

.lang-toggle-btn:hover {
    background: linear-gradient(135deg, #0f7a16 0%, #0a5a0f 100%);
    box-shadow: 0 6px 16px rgba(18, 150, 28, 0.4);
    transform: translateY(-2px);
}

.lang-toggle-btn.active {
    background: linear-gradient(135deg, #0f7a16 0%, #0a5a0f 100%);
    box-shadow: 0 6px 16px rgba(18, 150, 28, 0.4);
}

/* Language Label */
.lang-label {
    font-weight: 700;
    min-width: 75px;
}

/* Dropdown Arrow */
.lang-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    font-weight: 700;
}

.lang-toggle-btn.active .lang-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.lang-dropdown-menu {
    position: absolute;
    background: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(18, 150, 28, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
    min-width: 200px;
    top: calc(100% + 8px);
    left: 0;
}

.lang-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
}

/* Language Option */
.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 18px;
    background: transparent;
    border: none;
    color: #333;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-option:hover {
    background: #f0f9f0;
    color: #12961C;
    padding-left: 22px;
}

.lang-option.selected {
    background: #f0f9f0;
    color: #12961C;
    font-weight: 600;
}

.lang-option:first-child {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.lang-option:last-child {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

/* Mobile responsiveness for language switcher */
@media (max-width: 768px) {
    #custom-language-switcher {
        position: relative;
        display: inline-block;
        width: auto;
        z-index: 1001;
    }

    .language-switcher {
        overflow: visible !important;
    }

    .lang-toggle-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
        gap: 8px;
        white-space: nowrap;
    }
    
    .lang-label {
        min-width: 65px;
    }
    
    .lang-option {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .lang-option:hover {
        padding-left: 20px;
    }
}

