﻿ï»¿/* Reset and Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

:root {
    /* UN-inspired palette */
    --primary-color: #2A52BE;
    --primary-dark: #1E3A8A;
    --secondary-color: #666;
    --accent-color: #555;
    --text-primary: #1a1a1a;
    --text-secondary: #3a3a3a;
    --text-light: #757575;
    --bg-primary: #fff;
    --bg-secondary: #f2f6f8;
    --bg-dark: #0f0f0f;
    --bg-card: #fff;
    --border-color: #e3e7ea;
    --shadow: rgba(0,0,0,0.08);
    --shadow-strong: rgba(0,0,0,0.16);
    --font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

[data-theme="dark"] {
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --text-light: #888;
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-card: #2d2d2d;
    --border-color: #404040;
    --shadow: rgba(0,0,0,0.3);
    --shadow-strong: rgba(0,0,0,0.5);
}

body {
    font-family: var(--font-family);
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

h1 { font-size: 1.7rem; font-weight: 700; }

h2 { font-size: 1.3rem; }

h3 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a { color: var(--primary-color); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Hide sections with hidden attribute */
[data-lang-section][hidden] {
    display: none !important;
}

/* RTL support for Arabic */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .container {
    direction: rtl;
}

[dir="rtl"] .hero-content,
[dir="rtl"] .mission-content,
[dir="rtl"] .about-hero,
[dir="rtl"] .about-section,
[dir="rtl"] .contact-grid,
[dir="rtl"] .programs-intro,
[dir="rtl"] .partnership-philosophy,
[dir="rtl"] .program-overview {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .hero-buttons,
[dir="rtl"] .cta-buttons,
[dir="rtl"] .cta-content {
    direction: rtl;
}

[dir="rtl"] .btn {
    direction: rtl;
}

/* Top Bar (UN-style) */
.top-bar {
    background: #f5f5f5;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    padding: 0.5rem 0;
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    min-height: 40px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 13px;
    color: #333;
    height: 100%;
    line-height: 1;
}

.top-bar-left a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.top-bar-left i {
    font-size: 14px;
    display: flex;
    align-items: center;
    height: 100%;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    height: 100%;
}

.top-bar-right {
    display: flex;
    gap: 1rem;
    align-items: center;
    position: relative;
    height: 100%;
}

.lang-link {
    text-decoration: none;
    color: #333;
    font-size: 13px;
    padding: 0;
    display: flex;
    align-items: center;
    height: 100%;
    line-height: 1;
}

.lang-link.active {
    font-weight: bold;
}

.lang-link:hover {
    text-decoration: underline;
}

.top-bar-line {
    height: 3px;
    background: var(--primary-color);
    width: 100%;
    margin-top: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1002;
}

.header {
    background: transparent;
    box-shadow: none;
    position: fixed;
    top: 43px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    height: 0;
    overflow: hidden;
}

.navbar {
    padding: 0;
    height: 0;
}

.nav-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 30px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 20px;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* GCSI Logo CSS */
.gcsi-logo {
    width: 60px;
    height: 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5dc;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.2);
}

.logo-hands {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 20px;
}

.hand {
    position: absolute;
    width: 20px;
    height: 15px;
    background: var(--primary-color);
    border: 2px solid var(--primary-dark);
    border-radius: 50% 50% 0 0;
}

.left-hand {
    left: 5px;
    transform: rotate(-15deg);
}

.right-hand {
    right: 5px;
    transform: rotate(15deg);
}

.logo-house {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 25px;
}

.house-roof {
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-bottom: 12px solid var(--primary-dark);
    position: relative;
}

.house-roof::after {
    content: '';
    position: absolute;
    right: -8px;
    top: -12px;
    width: 4px;
    height: 4px;
    background: var(--primary-dark);
}

.house-body {
    width: 35px;
    height: 15px;
    background: white;
    border: 2px solid var(--primary-dark);
    position: relative;
}

.house-figure {
    position: absolute;
    width: 6px;
    height: 8px;
    top: 3px;
}

.sport-figure {
    left: 6px;
    background: #ff8c00;
    border-radius: 50% 50% 0 0;
}

.sport-figure::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 2px;
    width: 2px;
    height: 2px;
    background: #ff8c00;
    border-radius: 50%;
}

.care-figure {
    right: 6px;
    background: #800080;
    border-radius: 50% 50% 0 0;
}

.care-figure::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 6px;
    width: 1px;
    height: 3px;
    background: #800080;
    transform: rotate(15deg);
}

.footer-logo {
    width: 50px;
    height: 50px;
}

.footer-logo .logo-hands {
    width: 40px;
    height: 16px;
    bottom: 4px;
}

.footer-logo .hand {
    width: 16px;
    height: 12px;
}

.footer-logo .logo-house {
    width: 28px;
    height: 20px;
    top: 6px;
}

.footer-logo .house-roof {
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 10px solid var(--primary-dark);
}

.footer-logo .house-body {
    width: 28px;
    height: 12px;
}

.footer-logo .house-figure {
    width: 5px;
    height: 6px;
    top: 2px;
}

.footer-logo .sport-figure {
    left: 5px;
}

.footer-logo .care-figure {
    right: 5px;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.2);
}

.logo-text h2 {
    color: var(--primary-color);
    margin: 0;
    padding-top: 5px;
    font-size: 1.5rem;
}

.logo-text span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: block;
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-item {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
    line-height: 1.5;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.language-switch {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
}

.language-switch:hover {
    background: var(--primary-dark);
    color: white !important;
}

.theme-toggle {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: white;
}

/* Language Switcher in Navbar */
.lang-switcher-nav {
    display: flex;
    align-items: center;
}

.lang-switcher {
    display: inline-flex;
    gap: .5rem;
    background: var(--bg-card);
    padding: 4px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 2px 6px var(--shadow);
}

.lang-btn {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    transition: all .2s ease;
}

.lang-btn:hover { background: var(--primary-color); color: #fff; }
.lang-btn.active, .lang-btn[aria-pressed="true"] { background: var(--primary-color); color: #fff; }

/* Language Landing Page */
body.language-landing-body { 
    background: #1E3A8A; 
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.language-landing {
    display: grid;
    grid-template-columns: 420px 1fr;
    height: 100vh;
    overflow: hidden;
}

.language-left {
    background: #e8ecf5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    gap: 1.5rem;
    overflow: hidden;
}

.language-brand h1 { color: var(--primary-color); margin-top: .5rem; }
.language-brand p { color: #4a4a4a; }

.language-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    max-width: 260px;
}

.language-brand,
.language-buttons .lang-select {
    opacity: 0;
    transform: translateY(40px);
    animation: languageFadeUp 1.4s ease forwards;
}

.language-brand {
    animation-delay: 0.3s;
}

.language-buttons .lang-select:nth-child(1) {
    animation-delay: 0.5s;
}

.language-buttons .lang-select:nth-child(2) {
    animation-delay: 0.7s;
}

.language-buttons .lang-select:nth-child(3) {
    animation-delay: 0.9s;
}

.language-buttons .lang-select {
    animation-duration: 1.6s;
}

.lang-select {
    width: 100%;
    padding: 18px 20px;
    font-size: 0.95rem;
    background: #494949;
    color: #fff;
    border: none;
    border-radius: 6px;
    box-shadow: 0 4px 10px var(--shadow);
    cursor: pointer;
    transition: transform .15s ease, background .2s ease;
}

.lang-select:hover { transform: translateY(-2px); background: #3d3d3d; }

@keyframes languageFadeUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.language-right {
    position: relative;
    background: linear-gradient(135deg, #1E3A8A 0%, #1a237e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 100vh;
}

.lang-hero { text-align: center; color: #e8f6ff; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.hero-figure {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 45px rgba(17, 26, 60, 0.25);
    opacity: 0;
    transform: translateY(40px) scale(0.6);
    animation: heroCircleReveal 1.6s ease forwards 0.35s;
    position: relative;
    overflow: hidden;
}
.hero-figure::after {
    content: "";
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0) 65%);
    opacity: 0;
    transform: scale(0.7);
    animation: heroHaloBloom 1.8s ease forwards 0.55s;
    pointer-events: none;
}
.hero-figure-logo {
    width: 74%;
    max-width: 220px;
    height: auto;
    opacity: 0;
    transform: scale(0.45);
    filter: blur(6px);
    animation: heroLogoReveal 1.4s cubic-bezier(0.22, 0.85, 0.32, 1.2) forwards 0.6s;
}

@keyframes heroCircleReveal {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.4);
        box-shadow: 0 0 0 rgba(17, 26, 60, 0.0);
    }
    55% {
        opacity: 1;
        transform: translateY(-12px) scale(1.05);
        box-shadow: 0 30px 65px rgba(17, 26, 60, 0.35);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        box-shadow: 0 22px 55px rgba(17, 26, 60, 0.28);
    }
}

@keyframes heroHaloBloom {
    0% {
        opacity: 0;
        transform: scale(0.55);
    }
    45% {
        opacity: 0.45;
        transform: scale(1.05);
    }
    100% {
        opacity: 0;
        transform: scale(1.35);
    }
}

@keyframes heroLogoReveal {
    0% {
        opacity: 0;
        transform: scale(0.45);
        filter: blur(6px);
    }
    65% {
        opacity: 1;
        transform: scale(1.12);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

.hero-figure img {
    max-width: 98%;
    max-height: 98%;
    height: auto;
}
.lang-hero-text {
    opacity: 0;
    transform: translateY(40px);
    animation: languageFadeUp 1.8s ease forwards 0.6s;
}
.lang-hero-text h2 { font-size: 1.9rem; margin-top: 1rem; }
.lang-hero-text p { font-size: 0.95rem; opacity: .9; }

@media (max-width: 900px) {
    body.language-landing-body {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        padding: 2.5rem 1.5rem;
        background: linear-gradient(135deg, #1E3A8A 0%, #1a237e 100%);
    }

    .language-landing {
        grid-template-columns: 1fr;
        height: auto;
        width: 100%;
        max-width: 420px;
    }

    .language-left {
        background: rgba(232, 236, 245, 0.96);
        border-radius: 18px;
        padding: 2.5rem 2rem;
        box-shadow: 0 18px 38px rgba(14, 31, 68, 0.25);
        min-height: auto;
    }

    .language-right {
        display: none;
    }

    .language-buttons {
        max-width: none;
        width: 100%;
    }

    .lang-select {
        font-size: 1.05rem;
    }
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
    pointer-events: auto;
    user-select: none;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger-menu {
    position: relative;
    margin-left: 0.5rem;
    display: none;
    align-items: center;
    height: 100%;
    pointer-events: auto;
}

.hamburger-menu::before {
    content: '';
    display: none;
}

.top-bar-right .hamburger {
    padding: 0;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    cursor: pointer;
    pointer-events: auto;
    user-select: none;
}

.top-bar-right .hamburger .bar {
    width: 20px;
    height: 2px;
    background: #333;
    margin: 2px 0;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-menu .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 1rem;
    min-width: 200px;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 1002;
}

.hamburger-menu.active .nav-menu {
    display: flex;
}

/* Override desktop styles on mobile - ensure menu slides from RIGHT */
@media (max-width: 768px) {
    .hamburger-menu .nav-menu {
        position: fixed !important;
        top: 46px !important;
        right: -100% !important;
        left: auto !important;
        bottom: 0 !important;
        width: 280px !important;
        max-width: 85vw !important;
        border-radius: 0 !important;
    }
    
    .hamburger-menu.active .nav-menu {
        right: 0 !important;
        left: auto !important;
    }
}

/* Desktop: Show hamburger menu in top bar, hide on mobile initially */
@media (min-width: 769px) {
    /* Show hamburger menu in top bar on desktop */
    .top-bar-right .hamburger-menu {
        display: flex !important;
        align-items: center;
        height: 100%;
        position: relative;
    }
    
    .top-bar-right .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        cursor: pointer;
        padding: 0.25rem 0.5rem;
        pointer-events: auto;
        user-select: none;
    }
    
    .top-bar-right .hamburger .bar {
        width: 18px;
        height: 2px;
        background: #333;
        margin: 2px 0;
        display: block;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    
    /* Desktop menu dropdown */
    .top-bar-right .hamburger-menu .nav-menu {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        background: white;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        border-radius: 8px;
        padding: 1rem;
        min-width: 200px;
        flex-direction: column;
        gap: 0.5rem;
        z-index: 1002;
        display: none;
    }
    
    .top-bar-right .hamburger-menu.active .nav-menu {
        display: flex;
    }
}

/* On mobile, ensure navigation is only visible in hamburger menu */
@media (max-width: 768px) {
    /* Hide any regular navigation menu on mobile */
    .nav-menu {
        display: none !important;
    }
    
    /* Only show nav-menu when hamburger is active */
    .hamburger-menu.active .nav-menu {
        display: block !important;
    }
}

/* Hamburger animation when active */
.hamburger-menu.active .hamburger .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active .hamburger .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Main Content */
main {
    margin-top: 46px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0;
    display: flex;
    align-items: center;
    min-height: 70vh;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

@media (max-width: 768px) {
    .hero {
        padding: 2.5rem 0;
        min-height: auto;
    }

    .hero .container {
        flex-direction: column;
        padding: 0 20px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Hero Menu Hamburger - Always visible on main page */
.hero-menu {
    display: flex !important;
    position: relative;
    align-items: center;
}

.hero-menu .hamburger {
    display: flex !important;
    flex-direction: column;
    cursor: pointer;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    transition: all 0.3s ease;
    pointer-events: auto;
    user-select: none;
}

.hero-menu .hamburger:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-menu .hamburger .bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

.hero-menu .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 1rem;
    min-width: 200px;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 1002;
    display: none;
}

.hero-menu.active .nav-menu {
    display: flex;
}

/* Hamburger animation when active in hero */
.hero-menu.active .hamburger .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hero-menu.active .hamburger .bar:nth-child(2) {
    opacity: 0;
}

.hero-menu.active .hamburger .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 300px;
    height: 300px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(17, 26, 60, 0.15);
}

.hero-placeholder img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary { background: var(--primary-color); color: #fff; }

.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn-secondary { background: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }

.btn-secondary:hover { background: var(--primary-color); color: #fff; }

.btn-outline { background: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }

.btn-outline:hover { background: var(--primary-color); color: #fff; }

/* Page Header */
.page-header {
    margin-top: 46px;
    padding-top: 3rem;
    padding-bottom: 3rem;
    background: #f8f9fa;
    text-align: center;
}

.page-header h1 { color: var(--primary-color); margin-bottom: 1rem; }

/* About Us Page Structure (UN-style) */
.about-hero {
    padding: 3rem 0 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.about-quote {
    font-size: 1.2rem;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 400;
}

.about-intro {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-hero p:not(.about-quote):not(.about-intro) {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-section {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

.about-section:first-of-type {
    border-top: none;
}

.about-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-section p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-section p strong {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.about-section p strong:hover {
    text-decoration: none;
}

.section-quote {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-style: italic;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary-color);
}

.about-section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.about-section li {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.about-section li a {
    color: var(--primary-color);
    text-decoration: underline;
}

.about-section li a:hover {
    text-decoration: none;
}

/* Mission Section */
.mission-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.mission-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.mission-content h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

/* Pillars Preview */
.pillars-preview {
    padding: 4rem 0;
}

.pillars-preview h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pillar-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.7rem;
    color: white;
}

.pillar-card h3 { color: var(--primary-color); margin-bottom: 1rem; }

.text-center {
    text-align: center;
}

/* Mission & Vision */
.mission-vision {
    padding: 4rem 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.mission-card,
.vision-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: white;
}

.mission-card h2,
.vision-card h2 { color: var(--primary-color); margin-bottom: 1.5rem; }

/* Strategic Pillars */
.strategic-pillars {
    padding: 4rem 0;
    background: #f8f9fa;
}

.strategic-pillars h2 { text-align: center; color: var(--primary-color); margin-bottom: 3rem; }

.pillars-detailed {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pillar-detailed {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.pillar-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    flex-shrink: 0;
}

.pillar-content h3 { color: var(--primary-color); margin-bottom: 1rem; }

.pillar-content ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.pillar-content li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Values */
.values {
    padding: 4rem 0;
}

.values h2 { text-align: center; color: var(--primary-color); margin-bottom: 3rem; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i { font-size: 2.1rem; color: var(--primary-color); margin-bottom: 1rem; }

.value-card h3 { color: var(--primary-color); margin-bottom: 1rem; }

/* Programs */
.programs-overview {
    padding: 4rem 0;
    background: #f8f9fa;
}

.programs-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.programs-intro h2 { color: var(--primary-color); margin-bottom: 2rem; }

.program-section {
    padding: 4rem 0;
}

.program-section.alt {
    background: #f8f9fa;
}

.program-card {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.program-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    color: white;
    flex-shrink: 0;
}

.program-content h2 { color: var(--primary-color); margin-bottom: 1.5rem; }

.program-description {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    color: #666;
}

.program-services h3 { color: var(--primary-color); margin-bottom: 1.5rem; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.service-item i { color: var(--primary-color); font-size: 1.3rem; margin-bottom: 0.5rem; }

.service-logo {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-logo img {
    max-width: 100px;
    height: auto;
    display: block;
}

.service-item h4 { color: var(--primary-color); margin-bottom: 0.5rem; }

/* Partnerships */
.partnership-philosophy {
    padding: 4rem 0;
    background: #f8f9fa;
}

.philosophy-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-content h2 { color: var(--primary-color); margin-bottom: 2rem; }

.featured-partnership {
    padding: 4rem 0;
}

.partnership-hero {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.partnership-logo {
    width: 120px;
    height: 120px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    flex-shrink: 0;
}

.partnership-logo img {
    width: auto;
    max-width: 150px;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    display: block;
}

.partnership-logo:has(img) {
    background: transparent !important;
    border-radius: 0;
    width: auto;
    height: auto;
    min-height: 120px;
    padding: 0;
}

.partnership-content h2 { color: var(--primary-color); margin-bottom: 1rem; }

.partnership-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.partnership-activities h3 { color: var(--primary-color); margin-bottom: 2rem; text-align: center; }

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
}

.activity-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: white;
}

.activity-card h4 { color: var(--primary-color); margin-bottom: 1rem; }

.other-partnerships {
    padding: 4rem 0;
    background: #f8f9fa;
}

.other-partnerships h2 { text-align: center; color: var(--primary-color); margin-bottom: 3rem; }

.partnerships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.partnership-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.partnership-card:hover {
    transform: translateY(-5px);
}

.partnership-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: white;
}

.partnership-icon img {
    width: auto;
    max-width: 120px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    display: block;
}

.partnership-icon-logo {
    background: transparent !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    min-height: 60px;
    padding: 0;
    overflow: visible !important;
}

.partnership-icon-logo img {
    background: transparent !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 120px;
    height: auto;
    width: auto;
    object-fit: contain;
}

.service-logo img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 120px;
    height: auto;
    width: auto;
    object-fit: contain;
}

.partnership-card h3 { color: var(--primary-color); margin-bottom: 1rem; }

.partnership-card ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.partnership-card li {
    margin-bottom: 0.5rem;
    color: #666;
}

.partnership-benefits {
    padding: 4rem 0;
}

.partnership-benefits h2 { text-align: center; color: var(--primary-color); margin-bottom: 3rem; }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
}

.benefit-item i { font-size: 3rem; color: var(--primary-color); margin-bottom: 1rem; }

.benefit-item h3 { color: var(--primary-color); margin-bottom: 1rem; }

/* Mining Resilience */
.program-overview {
    padding: 4rem 0;
    background: #f8f9fa;
}

.overview-content h2 { color: var(--primary-color); margin-bottom: 2rem; text-align: center; }

.impact-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number { font-size: 3rem; font-weight: bold; color: var(--primary-color); display: block; }

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.main-activities {
    padding: 4rem 0;
}

.main-activities h2 { text-align: center; color: var(--primary-color); margin-bottom: 3rem; }

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.activity-card.featured { border: 3px solid var(--primary-color); }

.activity-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
}

.activity-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.7rem;
    color: white;
}

.activity-card h3 { color: var(--primary-color); margin-bottom: 1rem; }

.activity-card ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.activity-card li {
    margin-bottom: 0.5rem;
    color: #666;
}

.activity-impact {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid var(--primary-color);
}

.impact-label { font-weight: bold; color: var(--primary-color); }

.community-impact {
    padding: 4rem 0;
    background: #f8f9fa;
}

.community-impact h2 { text-align: center; color: var(--primary-color); margin-bottom: 3rem; }

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.impact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
}

.impact-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.7rem;
    color: white;
}

.impact-card h3 { color: var(--primary-color); margin-bottom: 1rem; }

.impact-metrics {
    margin-top: 1.5rem;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-number {
    font-size: 1.7rem;
    font-weight: bold;
    color: var(--primary-color);
}

.metric-label {
    color: #666;
    font-size: 0.9rem;
}

.success-stories {
    padding: 4rem 0;
}

.success-stories h2 { text-align: center; color: var(--primary-color); margin-bottom: 3rem; }

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.story-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
}

.story-quote {
    margin-bottom: 1.5rem;
}

.story-quote i {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.story-quote p {
    font-style: italic;
    color: #666;
    line-height: 1.6;
}

.story-author strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.story-author span {
    color: #666;
    font-size: 0.9rem;
}

.get-involved {
    padding: 4rem 0;
    background: #f8f9fa;
}

.get-involved h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.involvement-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.involvement-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.involvement-card:hover {
    transform: translateY(-5px);
}

.involvement-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.7rem;
    color: white;
}

.involvement-card h3 { color: var(--primary-color); margin-bottom: 1rem; }

/* Contact Page */
.contact-info {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.7rem;
    color: white;
}

.contact-card h3 { color: var(--primary-color); margin-bottom: 1rem; }

.contact-card p {
    color: #666;
    margin-bottom: 0.5rem;
}

.contact-card em {
    color: #999;
    font-size: 0.9rem;
}

.contact-form-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-container h2 { color: var(--primary-color); margin-bottom: 2rem; }

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.contact-additional-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-section h3 { color: var(--primary-color); margin-bottom: 1rem; }

.contact-reasons {
    list-style: none;
    padding: 0;
}

.contact-reasons li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.contact-reasons i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.office-hours {
    padding: 4rem 0;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.hours-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.hours-card.emergency {
    border-left: 4px solid #dc3545;
}

.hours-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.hours-item:last-child {
    border-bottom: none;
}

.day {
    font-weight: 500;
}

.time {
    color: #666;
}

.emergency-contact p {
    margin-bottom: 0.5rem;
}

.social-newsletter {
    padding: 4rem 0;
    background: #f8f9fa;
}

.social-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.social-section h3,
.newsletter-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover { 
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Facebook */
.social-link[aria-label="Facebook"],
.social-link[aria-label="Facebook"]:hover {
    background: #1877F2;
}

/* Twitter */
.social-link[aria-label="Twitter"],
.social-link[aria-label="Twitter"]:hover {
    background: #1DA1F2;
}

/* LinkedIn */
.social-link[aria-label="LinkedIn"],
.social-link[aria-label="LinkedIn"]:hover {
    background: #0A66C2;
}

/* Instagram */
.social-link[aria-label="Instagram"] {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    opacity: 0.9;
}

.newsletter-form {
    margin-top: 1rem;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input-group input {
    flex: 1;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.map-section {
    padding: 4rem 0;
}

.map-section h3 { text-align: center; color: var(--primary-color); margin-bottom: 2rem; }

.map-container {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 10px;
}

.map-placeholder {
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 4rem 2rem;
    text-align: center;
    color: #666;
}

.map-placeholder i { font-size: 3rem; color: var(--primary-color); margin-bottom: 1rem; }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: visible;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .logo-text {
    position: absolute;
    bottom: 1rem;
    left: 60px;
    z-index: 1;
}

.cta-section .logo-text h2 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    margin: 0;
    padding-top: 0;
}

@media (max-width: 1024px) {
    .cta-section .logo-text {
        left: 40px;
        bottom: 0.8rem;
    }
}

@media (max-width: 768px) {
    .cta-section .logo-text {
        left: 30px;
        bottom: 0.5rem;
    }
    
    .cta-section .logo-text h2 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .cta-section .logo-text {
        left: 20px;
        bottom: 0.3rem;
    }
    
    .cta-section .logo-text h2 {
        font-size: 1rem;
    }
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-logo-icon {
    flex-shrink: 0;
    padding-top: 0;
    margin-top: 0;
}

.footer-logo-icon .gcsi-logo {
    width: 50px;
    height: 50px;
}

.footer-logo-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.footer-logo-bar {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1rem;
    margin-top: 0;
    border-radius: 0;
}

.footer-logo-bar h3 {
    color: #ffffff;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.footer-logo-text {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
}

.footer-logo-line {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.footer-logo-line-bullet {
    position: relative;
    padding-left: 0;
}

.footer-logo-line-bullet::before {
    display: none;
}

.footer-logo-line-indent {
    padding-left: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(44, 90, 160, 0.2);
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-section i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Top Bar Mobile Adjustments */
    .top-bar-container {
        padding: 0 15px;
        flex-wrap: nowrap;
        gap: 0.75rem;
    }

    .top-bar-left {
        flex: 0 1 auto;
        min-width: 0;
        margin-right: auto;
        order: 1;
        max-width: calc(50% - 20px);
    }

    .top-bar-left a {
        display: flex;
        align-items: center;
        gap: 6px;
        text-decoration: none;
        color: inherit;
        max-width: 100%;
    }

    .top-bar-left i {
        flex-shrink: 0;
        font-size: 12px;
    }

    .top-bar-left span {
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex-shrink: 1;
        min-width: 0;
    }

    .top-bar-right {
        flex-shrink: 0;
        gap: 0.4rem;
        order: 2;
        display: flex;
        align-items: center;
    }

    .lang-link {
        font-size: 10px;
        padding: 0.2rem 0.4rem;
        white-space: nowrap;
    }

    .hamburger-menu {
        display: flex !important;
        align-items: center;
        height: 100%;
        position: relative;
        z-index: 1004;
    }

    .hamburger {
        display: flex !important;
        cursor: pointer !important;
        pointer-events: auto !important;
        position: relative;
        z-index: 1005;
    }
    
    .top-bar-right .hamburger {
        display: flex !important;
        cursor: pointer !important;
        pointer-events: auto !important;
    }

    /* Hamburger Menu Mobile Styling - Side Menu from RIGHT */
    .hamburger-menu .nav-menu {
        display: none !important;
        position: fixed !important;
        right: -100% !important;
        top: 46px !important;
        left: auto !important;
        bottom: 0 !important;
        flex-direction: column;
        background-color: white;
        width: 280px !important;
        max-width: 85vw !important;
        text-align: left;
        transition: right 0.3s ease !important;
        box-shadow: -2px 0 10px rgba(0,0,0,0.15), 0 0 20px rgba(0,0,0,0.1) !important;
        padding: 1.5rem 0 !important;
        border-radius: 0 !important;
        max-height: calc(100vh - 46px);
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 1003 !important;
        margin: 0 !important;
        list-style: none;
        min-width: auto !important;
    }

    .hamburger-menu.active .nav-menu {
        right: 0 !important;
        left: auto !important;
        display: block !important;
    }
    
    /* Add overlay when menu is open */
    .hamburger-menu.active::before {
        content: '';
        position: fixed;
        top: 46px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1002;
        display: block;
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .hamburger-menu .nav-menu li {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .hamburger-menu .nav-menu .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        color: #333;
        text-decoration: none;
        font-size: 15px;
        transition: all 0.2s ease;
        border-right: 3px solid transparent;
        width: 100%;
        box-sizing: border-box;
        position: relative;
        z-index: 1004;
        font-weight: 500;
    }

    .hamburger-menu .nav-menu .nav-link:hover,
    .hamburger-menu .nav-menu .nav-link.active {
        background-color: #f5f5f5;
        border-right-color: var(--primary-color);
        color: var(--primary-color);
        font-weight: 600;
        padding-right: 1.75rem;
    }
    
    /* Ensure menu items are clickable */
    .hamburger-menu .nav-menu .nav-item {
        position: relative;
        z-index: 1004;
        width: 100%;
    }

    .hamburger-menu .nav-menu .nav-item[hidden] {
        display: none !important;
    }

    .lang-switcher { margin-top: .5rem; justify-content: center; }

    .nav-logo {
        gap: 0.5rem;
    }

    .gcsi-logo {
        width: 50px;
        height: 50px;
    }
    
    .logo-image {
        height: 50px;
    }

    .logo-text h2 {
        font-size: 1.3rem;
    }

    .logo-text span {
        font-size: 0.8rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    /* Improve responsive text sizing */
    h1 { font-size: 1.5rem !important; }
    h2 { font-size: 1.3rem !important; }
    h3 { font-size: 1.1rem !important; }
    
    /* Better spacing on mobile */
    .container {
        padding: 0 20px !important;
    }
    
    /* Improve card responsiveness */
    .pillar-card,
    .value-card,
    .partnership-card,
    .activity-card {
        padding: 1.5rem;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .pillar-detailed {
        flex-direction: column;
        text-align: center;
    }

    .program-card {
        flex-direction: column;
        text-align: center;
    }

    .partnership-hero {
        flex-direction: column;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .social-content {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-input-group {
        flex-direction: column;
    }

    .impact-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    /* Top Bar Mobile - Smaller Screens */
    .top-bar-container {
        padding: 0 10px;
        gap: 0.5rem;
    }

    .top-bar-left {
        font-size: 10px;
        margin-right: auto;
        max-width: calc(45% - 10px);
    }

    .top-bar-left a {
        gap: 4px;
    }

    .top-bar-left i {
        font-size: 11px;
    }

    .top-bar-left span {
        font-size: 10px;
    }

    .lang-link {
        font-size: 9px;
        padding: 0.15rem 0.3rem;
    }

    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .hamburger-menu .nav-menu {
        width: 100%;
        max-width: 100vw;
        border-radius: 0;
        right: -100% !important;
        box-shadow: -2px 0 15px rgba(0,0,0,0.2);
    }

    .hamburger-menu.active .nav-menu {
        right: 0 !important;
    }
    
    /* Improve mobile typography */
    h1 { font-size: 1.4rem !important; }
    h2 { font-size: 1.2rem !important; }
    h3 { font-size: 1rem !important; }
    
    /* Better spacing for small screens */
    .container {
        padding: 0 15px !important;
    }
    
    /* Stack cards better on small screens */
    .pillars-grid,
    .values-grid,
    .partnerships-grid,
    .activities-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .nav-logo {
        gap: 0.3rem;
    }

    .gcsi-logo {
        width: 40px;
        height: 40px;
    }
    
    .logo-image {
        height: 40px;
    }

    .logo-text h2 {
        font-size: 1rem;
    }

    .logo-text span {
        font-size: 0.7rem;
    }

    .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .footer-logo-image {
        height: 40px;
    }

    .footer-logo-text h3 {
        font-size: 1rem;
    }

    .footer-logo-text p {
        font-size: 0.8rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.nav-link:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        color: #fff;
        border: 2px solid #000;
    }

    .btn-secondary {
        background: #fff;
        color: #000;
        border: 2px solid #000;
    }
}


