:root {
    /* --- Light Mode (Default) --- */
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --primary: #0984e3;      /* Trust Blue */
    --accent: #e17055;       /* Warm Orange */
    --success: #00b894;      /* Green (Donate) */
    --text-main: #2d3436;
    --text-muted: #636e72;
    --border-color: #eee;
    --shadow-soft: 0 10px 40px rgba(0,0,0,0.08);
    --nav-bg: rgba(255, 255, 255, 0.85);
}

/* --- Dark Mode Override --- */
[data-theme="dark"] {
    --bg-color: #050505;
    --card-bg: #111111;
    --primary: #4fa3ff;
    --accent: #ff8e72;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --border-color: #333;
    --shadow-soft: 0 10px 40px rgba(0,0,0,0.5);
    --nav-bg: rgba(5, 5, 5, 0.85);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* --- Particle Canvas --- */
#particle-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }

/* --- Navigation --- */
.glass-nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 5%;
    position: fixed; width: 100%; top: 0; z-index: 1000;
    backdrop-filter: blur(20px);
    background: var(--nav-bg);
    border-bottom: 1px solid rgba(128,128,128,0.1);
    transition: background 0.3s;
}

.logo-img { height: 50px; width: auto; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { color: var(--text-main); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 15px; }
.icon-btn {
    background: transparent; border: 1px solid var(--border-color); color: var(--text-main);
    width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
    font-weight: 800; font-size: 0.8rem; transition: 0.3s; display: flex; justify-content: center; align-items: center;
}
.icon-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* Donate Button */
.donate-btn {
    background: var(--success) !important; color: white !important;
    box-shadow: 0 5px 15px rgba(0, 184, 148, 0.3);
}
.donate-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 184, 148, 0.4); }

.btn-primary-nav {
    background: var(--text-main); color: white; padding: 10px 24px; border-radius: 30px; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: 0.3s;
}

/* --- Hero (UPDATED FOR IMAGE) --- */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: space-between; /* This pushes text left and image right */
    align-items: center;
    padding: 120px 5% 50px 5%;
    position: relative;
    overflow: hidden;
    gap: 40px; /* Space between columns */
}
/* Hero image / logo size control – BIGGER */
.logo-orb {
    transform: translateX(-80px);
}

.logo-orb img {
    width: 150%;         /* fill the orb properly */
    max-width: 560px;    /* strong desktop presence */
    height: auto;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .logo-orb img {
        width: 70%;
        max-width: 220px;
    }
}

.big-bg-text {
    position: absolute; right: -20px; bottom: -50px;
    font-size: 15vw; font-weight: 900; color: var(--text-main); opacity: 0.03; z-index: -1; user-select: none;
}
.hero-content { max-width: 600px; z-index: 2; flex: 1; }
.badge { background: rgba(9, 132, 227, 0.1); color: var(--primary); padding: 8px 16px; border-radius: 30px; font-size: 0.8rem; font-weight: 700; display: inline-block; margin-bottom: 25px; letter-spacing: 2px; }
.hero h1 { font-size: clamp(3rem, 5vw, 5rem); line-height: 1.1; margin-bottom: 25px; font-weight: 800; color: var(--text-main); }
/* Inline Logo Style */
.hero-logo-inline { height: 1em; width: auto; vertical-align: middle; margin-left: 15px; margin-bottom: 10px; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1)); }
.glitch-text { color: var(--primary); }
.hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 500px; margin-bottom: 40px; line-height: 1.6; }



.image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    animation: float 6s ease-in-out infinite; 
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 5px solid rgba(255, 255, 255, 0.5); /* Glass border effect */
}

/* Floating Badge */
.floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
    animation-delay: 1s; 
}

.floating-card i {
    font-size: 2rem;
    color: var(--success);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.cta-group { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #74b9ff); color: white;
    padding: 16px 40px; border-radius: 50px; text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(9, 132, 227, 0.3); transition: 0.4s;
}
.btn-primary:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(9, 132, 227, 0.4); }
.btn-text { color: var(--text-main); text-decoration: none; font-weight: 600; transition: 0.3s; }
.btn-text:hover { color: var(--primary); }

/* --- Stats --- */
.stats-container { display: flex; justify-content: space-around; padding: 6rem 10% 4rem 10%; background: var(--bg-color); border-bottom: 1px solid var(--border-color); }
.stat-item { text-align: center; }
.stat-item h2 { font-size: 3.5rem; font-weight: 900; color: var(--primary); }
.stat-item h2::after { content: '+'; color: var(--accent); font-size: 2rem; vertical-align: super; }
.stat-item p { font-size: 1rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; font-weight: 700; }

/* --- Programs Section (New) --- */
.programs-section { padding: 6rem 10%; background: var(--bg-color); }
.section-title { font-size: 3rem; margin-bottom: 4rem; text-align: center; font-weight: 800; color: var(--text-main); }
.highlight { color: var(--primary); }
.program-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }

.program-card {
    background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 20px;
    padding: 2rem; text-align: center; box-shadow: var(--shadow-soft); transition: transform 0.3s;
}
.program-card:hover { transform: translateY(-10px); border-color: var(--primary); }
.p-icon { font-size: 3rem; color: var(--accent); margin-bottom: 1.5rem; }
.program-card h3 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--text-main); }
.program-card p { color: var(--text-muted); line-height: 1.6; font-size: 0.95rem; }

/* --- Video/Stories Grid --- */
.videos-section { padding: 6rem 10%; background: var(--bg-color); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 3rem; width: 100%; }
.video-card {
    background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 20px; overflow: hidden;
    position: relative; box-shadow: var(--shadow-soft); opacity: 0; transform: translateY(30px); transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.5s;
}
.video-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(9, 132, 227, 0.15); border-color: var(--primary); }
.video-card.show { opacity: 1; transform: translateY(0); }
.thumbnail { position: relative; height: 200px; overflow: hidden; }
.thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.video-card:hover .thumbnail img { transform: scale(1.1); }
.play-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(9, 132, 227, 0.8); display: flex; justify-content: center; align-items: center; opacity: 0; transition: 0.3s; }
.play-overlay i { font-size: 3rem; color: white; }
.video-card:hover .play-overlay { opacity: 1; }
.card-info { padding: 1.5rem; }
.card-tag { font-size: 0.7rem; color: var(--accent); font-weight: 800; text-transform: uppercase; background: rgba(225, 112, 85, 0.1); padding: 4px 10px; border-radius: 4px; display: inline-block; margin-bottom: 10px; }
.card-info h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--text-main); }
.card-info p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.watch-link { color: var(--primary); font-weight: 800; text-decoration: none; text-transform: uppercase; font-size: 0.8rem; }

/* --- CTA & Partners --- */
.cta-section { padding: 4rem 10%; text-align: center; }
.glass-banner {
    background: linear-gradient(135deg, rgba(9, 132, 227, 0.1), rgba(225, 112, 85, 0.1));
    padding: 4rem; border-radius: 30px; margin-bottom: 4rem;
}
.cta-group-center { margin-top: 30px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.btn-text-white { color: var(--text-main); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); }

.partners-strip { border-top: 1px solid var(--border-color); padding-top: 2rem; }
.partners-strip p { font-size: 0.8rem; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 20px; font-weight: 700; }
.logos { display: flex; justify-content: center; gap: 40px; font-size: 2.5rem; color: var(--text-muted); opacity: 0.5; }

/* Footer */
footer { padding: 5rem 10%; background: var(--bg-color); border-top: 1px solid var(--border-color); }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 30px; }
.footer-col h3 { font-size: 2rem; color: var(--primary); margin-bottom: 10px; }
.footer-col h4 { font-size: 1.2rem; color: var(--text-main); margin-bottom: 20px; }
.footer-col p { color: var(--text-muted); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.copyright { text-align: center; color: var(--text-muted); font-size: 0.9rem; border-top: 1px solid var(--border-color); padding-top: 20px; }
.socials { display: flex; justify-content: center; gap: 20px; margin-top: 20px; }
.socials a { color: var(--text-main); font-size: 1.5rem; transition: 0.3s; }
.socials a:hover { color: var(--primary); }

/* Aura */
.cursor-glow {
    position: fixed; width: 400px; height: 400px; background: radial-gradient(circle, rgba(9, 132, 227, 0.15), transparent 70%);
    border-radius: 50%; pointer-events: none; z-index: 999; transform: translate(-50%, -50%); mix-blend-mode: multiply;
}

/* Animation Classes */
.hidden { opacity: 0; transform: translateY(40px); transition: 1s all cubic-bezier(0.165, 0.84, 0.44, 1); }
.show { opacity: 1; transform: translateY(0); }
.delay { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* Mobile */
.menu-toggle { display: none; font-size: 1.5rem; color: var(--text-main); cursor: pointer; }
@media (max-width: 968px) {
    .nav-links { display: none; } 
    .menu-toggle { display: block; } 
    .hero h1 { font-size: 3rem; }
    .nav-actions { display: none; } 
    .stats-container { flex-direction: column; gap: 40px; }
    .video-grid, .program-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; text-align: center; } 
    .footer-col p { justify-content: center; }
    
    /* Hero Visual Mobile Fixes */
    .hero {
        flex-direction: column-reverse; /* Moves image to top on mobile */
        padding-top: 100px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }

    .hero-visual {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .cta-group {
        justify-content: center;
    }
}

/* --- Volunteer Form Styles --- */
.volunteer-form {
    max-width: 500px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-input {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.8);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(9, 132, 227, 0.2);
    transform: scale(1.02);
}

/* Dark Mode Support for Inputs */
[data-theme="dark"] .form-input {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}


/* --- Success Messages --- */
.message-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 2000;
}
.alert-box {
    background: var(--success);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    font-weight: 700;
    margin-bottom: 10px;
    animation: slideIn 0.5s ease;
}
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* --- Story Card Tweaks --- */
.story-person {
    display: block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
}

/* --- Marquee Strip (Restored) --- */
.marquee-strip {
    background: var(--primary); /* Uses your Trust Blue color */
    color: white;
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 5;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(9, 132, 227, 0.2);
}

.marquee-content {
    display: inline-block;
    animation: scroll 20s linear infinite;
}

.marquee-content span {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-right: 40px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

/* Pause animation on hover so people can read it */
.marquee-strip:hover .marquee-content {
    animation-play-state: paused;
}

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

/* Dark Mode Adjustment */
[data-theme="dark"] .marquee-strip {
    background: #1a1a1a;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    color: var(--primary);
}

/* =========================================
   ABOUT PAGE STYLES
   ========================================= */
.about-section {
    padding: 8rem 10%;
    background: var(--bg-color);
    position: relative;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

/* Visual Side (Image & Badge) */
.about-visual {
    flex: 1;
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: -20px 20px 0 var(--primary); /* Blue offset shadow */
    transition: 0.3s;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--card-bg);
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    text-align: center;
    border: 1px solid var(--border-color);
}

.experience-badge .years {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent);
}

.experience-badge .text {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-main);
}

/* Content Side (Text) */
.about-content {
    flex: 1;
}

.section-tag {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.section-title-left {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-main);
}

.lead-text {
    font-size: 1.2rem;
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.6;
}

.quote-box {
    background: rgba(9, 132, 227, 0.05); /* Light Blue Tint */
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 0 10px 10px 0;
}

.quote-box i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.quote-box p {
    font-style: italic;
    color: var(--text-main);
    font-weight: 600;
}

/* Values Grid (The 3 Cards below) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.v-icon {
    width: 60px;
    height: 60px;
    background: rgba(9, 132, 227, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.value-card h4 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-main);
}

.value-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
    .about-row {
        flex-direction: column;
    }
    
    .about-visual {
        order: -1; /* Puts image on top on mobile */
        width: 100%;
        margin-bottom: 30px;
    }
    
    .section-title-left {
        font-size: 2.5rem;
    }
}