/* ========================================= */
/* 🎨 COLOR PALETTE & VARIABLES              */
/* ========================================= */
:root {
    /* Super Dark, Rich Navy Blue */
    --dark-navy: #000412; 
    /* Bold Orange for accents */
    --orange: #FF7A00;
    
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --text-dark: #2C3E50;
    --text-light: #E0E5EC;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

body {
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.7;
    padding-top: 70px; 
}

h1 { font-size: 3.8rem; font-weight: 800; margin-bottom: 0.5rem; }
h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1.5rem; color: var(--dark-navy); }
.center-text { text-align: center; }

/* Background Helpers */
.bg-light { background-color: var(--light-gray); }
.bg-white { background-color: var(--white); }
.bg-dark { background-color: var(--dark-navy); color: var(--text-light); }
.bg-dark h2 { color: var(--white); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ========================================= */
/* 🧭 NAVIGATION BAR                         */
/* ========================================= */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(0, 4, 18, 0.98); backdrop-filter: blur(10px);
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 5%; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.nav-brand { color: var(--white); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 1px;}
.nav-links { list-style: none; display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--white); text-decoration: none; font-weight: 600; transition: color 0.3s; cursor: pointer; }
.nav-links a:hover { color: var(--orange); }
.nav-links a.active { color: var(--orange); border-bottom: 2px solid var(--orange); padding-bottom: 3px;}

.btn-nav { background: var(--orange); padding: 0.6rem 1.5rem; border-radius: 5px; }
.btn-nav:hover { background: #e66e00; color: white !important; border-bottom: none !important;}
.btn-nav.active { border-bottom: none !important; }

.hamburger { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--white); transition: all 0.3s ease; }

/* ========================================= */
/* 📂 TAB SYSTEM                             */
/* ========================================= */
.tab-section { display: none; animation: fadeInTab 0.4s ease-in-out; }
.tab-section.active-tab { display: block; }
.hero.active-tab { display: flex; }

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

/* ========================================= */
/* 🦸‍♂️ HERO SECTION                           */
/* ========================================= */
.hero {
    min-height: calc(100vh - 70px); align-items: center; justify-content: center; text-align: center;
    background: linear-gradient(135deg, var(--dark-navy) 0%, #001033 100%);
    color: var(--white); padding: 60px 20px 40px;
}
.hero .subtitle { font-size: 1.5rem; font-weight: 600; color: var(--orange); margin-bottom: 1.5rem; }
.unified-mission { max-width: 800px; margin: 0 auto 2.5rem; font-size: 1.1rem; opacity: 0.9; }

.hero-buttons { display: flex; gap: 1rem; justify-content: center; margin-bottom: 4rem; }
.btn { padding: 0.8rem 2rem; border-radius: 6px; text-decoration: none; font-weight: 700; transition: all 0.3s; display: inline-block; text-transform: uppercase; cursor: pointer;}
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.btn-primary { background-color: var(--orange); color: var(--white); border: none; }
.btn-secondary { background-color: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--dark-navy); }

.hero-logos { display: flex; gap: 3rem; justify-content: center; align-items: center; }
.hero-logos .logo { max-width: 180px; height: auto; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4)); transition: transform 0.3s; }
.hero-logos .logo:hover { transform: scale(1.08); }

/* ========================================= */
/* 📄 SECTION LAYOUTS                        */
/* ========================================= */
.section { padding: 80px 0; min-height: calc(100vh - 70px); }
.split-layout { display: flex; align-items: center; gap: 4rem; justify-content: space-between; margin-bottom: 4rem;}
.split-layout.reverse { flex-direction: row-reverse; }
.text-content { flex: 1.2; }
.image-content { flex: 0.8; text-align: center; }
.section-logo { max-width: 100%; width: 350px; transition: transform 0.3s; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));}
.section-logo:hover { transform: scale(1.05); }

.badge { display: inline-block; padding: 0.5rem 1.2rem; border-radius: 30px; font-size: 0.9rem; font-weight: 700; margin-bottom: 1.5rem; text-transform: uppercase; }
.badge-orange { background: rgba(255, 122, 0, 0.1); color: var(--orange); border: 2px solid var(--orange); }

.mission { font-size: 1.15rem; margin-bottom: 1.5rem; line-height: 1.8; }
.text-content ul { list-style-type: square; margin-left: 1.5rem; line-height: 2; margin-top: 1rem; color: inherit; opacity: 0.9;}

/* ========================================= */
/* 🖼️ OUTREACH & TEAM PHOTO GALLERY            */
/* ========================================= */
.gallery-title { text-align: center; font-size: 2rem; color: var(--white); margin-top: 2rem; }
.photo-gallery {
    display: grid;
    /* This creates a grid that fits up to 5 items nicely */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.photo-placeholder {
    background: rgba(255, 255, 255, 0.05);
    height: 200px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255, 255, 255, 0.3); font-weight: 600;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
}
.photo-placeholder:hover { transform: scale(1.02); border-color: var(--orange); color: var(--orange); }
.photo-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.outreach-coming-soon { color: var(--orange); font-size: 1.25rem; margin-top: 2rem; }

/* ========================================= */
/* ✉️ CONTACT FORM & FALLING BALLS PHYSICS   */
/* ========================================= */
/* Ensure the section bounds the absolute canvas */
.relative-section { position: relative; overflow: hidden; }

/* The canvas sits behind everything, and pointer-events:none lets you click through it */
#physics-canvas-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1; pointer-events: none;
}

/* Brings the contact form to the front */
.contact-content { position: relative; z-index: 10; }

.contact-form { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.form-group { display: flex; gap: 1.5rem; }
input, textarea { 
    width: 100%; padding: 1.2rem; 
    background: rgba(255, 255, 255, 0.05); color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 6px; 
    font-family: 'Inter', sans-serif; font-size: 1rem;
    transition: border-color 0.3s, background 0.3s;
}
input::placeholder, textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
input:focus, textarea:focus { outline: none; border-color: var(--orange); background: rgba(255, 255, 255, 0.1); }
.submit-btn { border: none; cursor: pointer; font-size: 1.1rem; width: 100%; padding: 1.2rem; }

/* ========================================= */
/* 🏁 FOOTER                                 */
/* ========================================= */
footer { background: #000208; color: var(--white); text-align: center; padding: 4rem 1rem; border-top: 4px solid var(--orange); }
footer h3 { color: var(--orange); margin-bottom: 0.5rem; }
footer p { opacity: 0.7; font-size: 0.9rem; margin-bottom: 0.5rem;}

/* ========================================= */
/* 📱 MOBILE RESPONSIVENESS                  */
/* ========================================= */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .split-layout, .split-layout.reverse { flex-direction: column; text-align: center; gap: 2rem;}
    .text-content ul { text-align: left; display: inline-block; }
    .form-group { flex-direction: column; gap: 1rem; }
    .hero-buttons { flex-direction: column; }
    .hero-logos { flex-direction: column; gap: 1.5rem;}
    
    .hamburger { display: block; }
    .nav-links {
        position: fixed; left: -100%; top: 70px;
        flex-direction: column; background: rgba(0, 4, 18, 0.98);
        width: 100%; text-align: center; transition: 0.3s; padding: 2rem 0; box-shadow: 0 10px 10px rgba(0,0,0,0.5);
    }
    .nav-links.active { left: 0; }
    .nav-links li { margin: 1.5rem 0; }
}