/* ==========================================
   1. GLOBAL RESETS & BRAND VARIABLES
   ========================================== */
:root {
    --primary-navy: #002554;
    --primary-orange: #ff7c00;
    --dark-navy: #001a3b;
    --bg-light: #f8fbfd;
    --text-main: #333333;
    --text-muted: #555555;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img, video {
    max-width: 100%;
    height: auto;
}

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

/* ==========================================
   2. TOP BAR (Responsive & Clean)
   ========================================== */
.top-bar {
    background-color: var(--primary-navy) !important;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    font-size: 0.85rem;
    font-weight: 500;
}

.top-left-links a, .top-right-actions a {
    color: #ffffff;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.top-left-links a:hover, .top-right-actions a:hover {
    color: var(--primary-orange);
}

.top-right-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icons a {
    margin-left: 8px;
    font-size: 0.95rem;
}

.search-box input {
    padding: 5px 12px;
    border-radius: 20px;
    border: none;
    outline: none;
    font-size: 0.85rem;
    background-color: rgba(255, 255, 255, 0.9);
}

/* ==========================================
   3. MAIN HEADER & NAVIGATION
   ========================================== */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.main-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 37, 84, 0.1); */
	background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.logo-box img {
    height: 55px;
    width: auto;
}

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

.nav-menu li a {
    font-weight: 600;
    color: var(--primary-navy);
    text-transform: uppercase;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--primary-orange);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-navy);
}

/* ==========================================
   4. BUTTONS & ACCENTS
   ========================================== */
.donate-btn, .outline-btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-block;
    transition: var(--transition-smooth) !important;
    text-align: center;
    cursor: pointer;
    font-size: 0.9rem;
}

.donate-btn {
    background-color: var(--primary-orange) !important;
    color: #ffffff !important;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 124, 0, 0.3);
}

.donate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(255, 124, 0, 0.45) !important;
}

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

.outline-btn:hover {
    background-color: var(--primary-navy);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 37, 84, 0.15) !important;
}

.mobile-only-btn {
    display: none;
}

/* ==========================================
   5. HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    height: 55vh;
    min-height: 380px;
    background-color: var(--primary-navy) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 37, 84, 0.92), rgba(0, 37, 84, 0.8));
    z-index: 1;
}

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

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #ffffff !important;
}

.accent-line {
    width: 80px;
    height: 4px;
    background-color: var(--primary-orange);
    margin: 0 auto 20px;
    border-radius: 3px;
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 300;
    line-height: 1.7;
    color: #e5edf9;
}

/* ==========================================
   6. PURPOSE & IMPACT SECTIONS
   ========================================== */
.purpose-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #ff7c00 !important; /* Vibrant Orange Background */
    color: #ffffff !important;
}

.purpose-section h2 {
    color: #ffffff !important;
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 18px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
}

.purpose-text {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    max-width: 850px;
    margin: 0 auto;
    color: #ffffff !important;
    line-height: 1.8;
    font-weight: 600;
}

.impact-section {
    padding: 90px 20px;
    background-color: var(--dark-navy) !important;
    color: #ffffff;
}

.impact-section h2 {
    color: #ffffff !important;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    text-transform: uppercase;
    font-weight: 800;
}

.vision-quote-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #ff7c00;
    margin-top: 10px;
}

.quote-body {
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    font-style: italic;
    line-height: 1.8;
    color: #e5edf9;
    margin-bottom: 20px;
    text-align: left;
}

.quote-author {
    color: #ff7c00;
    font-weight: 700;
    font-size: 1.05rem;
    text-align: right;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================
   7. SPLIT MEDIA SECTION
   ========================================== */
.split-section-wrapper {
    padding: 80px 0;
    background-color: #ffffff !important;
}

.split-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background-color: #ffffff;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 37, 84, 0.05);
    margin-bottom: 50px;
}

.split-row.reverse {
    direction: rtl;
}
.split-row.reverse > * {
    direction: ltr;
}

.split-image, .split-content {
    width: 100%;
}

.split-content h2 {
    color: var(--primary-navy);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin-bottom: 15px;
    font-weight: 800;
}

.split-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.image-placeholder {
    background-color: #e0e6ed;
    height: 320px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    font-weight: bold;
    text-align: center;
    border: 3px dashed var(--primary-orange);
}

/* ==========================================
   8. CALL TO ACTION & FOOTER
   ========================================== */
.cta-section {
    background-color: var(--primary-navy) !important;
    color: #ffffff;
    padding: 90px 20px;
    text-align: center;
}

.cta-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px auto;
    text-align: left;
    display: inline-block;
    font-size: clamp(1.05rem, 2.5vw, 1.2rem);
    line-height: 2;
}

.cta-pillars {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 35px;
    font-weight: 800;
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    text-transform: uppercase;
    color: #e5edf9;
    letter-spacing: 1px;
}

.cta-pillars span:nth-child(even) {
    color: #ff7c00;
}

.site-footer {
    background-color: var(--dark-navy) !important;
    color: #ffffff;
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--primary-orange);
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 700;
}

.footer-col p, .footer-col ul li a {
    color: #c9d6e8;
    line-height: 1.8;
}

.footer-col ul li a:hover {
    color: var(--primary-orange);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-box {
    background-color: rgba(255, 255, 255, 0.08);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.social-box:hover {
    background-color: var(--primary-orange);
    transform: translateY(-3px);
}

.footer-logo-placeholder {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #8fa6c4;
}

/* ==========================================
   9. MOBILE & TABLET RESPONSIVE FIXES
   ========================================== */
@media (max-width: 991px) {
    .split-row, .split-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        text-align: center;
        padding: 25px 20px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Clean Top Bar on Mobile */
    .top-bar {
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    .search-box {
        display: none; /* Hide search input on mobile screen to prevent squishing */
    }

    .top-left-links a {
        margin-right: 10px;
    }

    /* Mobile Header & Hamburger Menu */
    .main-header {
        padding: 12px 20px;
    }

    .logo-box img {
        height: 45px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 20px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu li a {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only-btn {
        display: block;
        border-bottom: none !important;
        padding-top: 15px !important;
    }

    .hero-section {
        height: 50vh;
        min-height: 350px;
    }

    .vision-quote-box {
        padding: 20px;
    }
}

/* ==========================================
   10. ANIMATIONS & BACK TO TOP
   ========================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    background-color: var(--primary-orange);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-navy);
    transform: translateY(-4px);
}


/* Hide Top Bar Social Icons on Mobile */
@media (max-width: 768px) {
    .top-bar .social-icons { 
        display: none !important; 
    }
}

/* Mobile-only adjustment for the Support Us button */
@media (max-width: 768px) {
    .donate-btn {
        padding: 8px 18px !important;
        font-size: 0.9rem !important;
    }
}
