:root {
    --neon-green: #39FF14;
    --pitch-green: #7ca31e; 
    --pitch-black: #050505;
    --white: #ffffff;
    --sip-blue: #3333ff;
}

/* Global Styles */
body {
    background-color: var(--pitch-black);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    margin: 0;
    scroll-behavior: smooth;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- NAVIGATION & LOGO FIX --- */
.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 5%; /* Reduced padding to keep bar slim */
    position: fixed;
    top: 0; /* Ensures it stays at the very top */
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 3px solid var(--pitch-green);
    box-sizing: border-box;
}

.nav-logo { 
    height: 110px; /* Kept large but slightly optimized */
    width: auto;
    display: block;
}

.nav-links { list-style: none; display: flex; align-items: center; margin: 0; }
.nav-links li a { color: white; text-decoration: none; margin: 0 15px; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; }
.nav-links .active { color: var(--neon-green); border-bottom: 2px solid var(--neon-green); }
.nav-links .nav-cta { background: var(--neon-green); color: black !important; padding: 10px 20px; border-radius: 5px; font-weight: 800; }

/* --- DROPDOWN --- */
.dropdown { position: relative; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #111;
    border-top: 2px solid var(--neon-green);
    list-style: none;
    padding: 10px 0;
    min-width: 250px;
}
.dropdown-menu li a { padding: 15px 20px; display: block; }
.dropdown-menu li a:hover { background: var(--pitch-green); color: black !important; }
.dropdown:hover .dropdown-menu { display: block; }

/* --- HERO SECTION FIX (PREVENTS BLOCKING) --- */

.hero-slider, .sub-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 0 10%;
    /* This padding-top ensures the text starts BELOW the large nav bar */
    padding-top: 130px; 
    box-sizing: border-box;
}

/* Home Page */
.hero-slider {
    height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), 
                      url('https://images.unsplash.com/photo-1556056504-5c7696c4c28d?q=80&w=2000');
}

/* Inner Pages */
.sub-hero {
    height: 65vh; 
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), 
                      url('https://images.unsplash.com/photo-1556056504-5c7696c4c28d?q=80&w=2000');
}

.hero-content h1 { 
    font-family: 'Oswald', sans-serif; 
    font-size: 4.5rem; 
    line-height: 1.1; 
    margin: 0; 
}
.highlight { color: var(--neon-green); }

/* --- CONTENT BOXES --- */
.content-section { padding: 60px 0; }
.pathway-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.full-width { grid-column: span 2; }
.glass-card { background: rgba(255, 255, 255, 0.05); border-left: 5px solid var(--pitch-green); padding: 40px; }
.section-title { font-family: 'Oswald', sans-serif; font-size: 2.5rem; margin-bottom: 20px; }

/* --- FOOTER --- */
.contact-ribbon { background: var(--pitch-green); display: flex; justify-content: space-around; padding: 30px; color: black; font-family: 'Oswald', sans-serif; font-weight: bold; }

/* --- FOUNDER SECTION STYLES --- */
.founder-section {
    padding: 100px 0;
    background: linear-gradient(to right, #0a0a0a, #151515);
    border-top: 1px solid #222;
}

.founder-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.founder-image {
    flex: 1;
    min-width: 300px;
}

.profile-pic {
    width: 100%;
    max-width: 450px;
    border: 5px solid var(--pitch-green);
    filter: grayscale(20%);
    box-shadow: 20px 20px 0px var(--pitch-green); /* Modern offset shadow */
}

.founder-text {
    flex: 1.5;
    min-width: 350px;
}

.founder-name {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: var(--white);
    margin: 10px 0 20px 0;
    text-transform: uppercase;
}

.founder-bio {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 20px;
}

.credentials {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.cred-tag {
    background: var(--pitch-green);
    color: black;
    padding: 8px 15px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-radius: 3px;
}

/* Responsive adjustments for the founder grid */
@media (max-width: 768px) {
    .founder-grid { text-align: center; justify-content: center; }
    .profile-pic { box-shadow: 10px 10px 0px var(--pitch-green); }
    .credentials { justify-content: center; }
}

/* --- TRIAL PROCESS GRAPHIC --- */
.process-steps {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 40px;
    text-align: center;
}

.step {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-bottom: 4px solid var(--neon-green);
    flex: 1;
    font-size: 0.9rem;
    transition: 0.3s;
}

.step strong {
    color: var(--neon-green);
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.step:hover {
    background: var(--pitch-green);
    color: black;
}

.step:hover strong {
    color: white;
}

@media (max-width: 768px) {
    .process-steps { flex-direction: column; }
}

/* --- FORM STYLES --- */
.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-heading {
    color: var(--neon-green);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    margin: 30px 0 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 5px;
}

.sip-form input, .sip-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    color: white;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.sip-form input:focus, .sip-form textarea:focus {
    border-color: var(--neon-green);
    outline: none;
    background: rgba(255, 255, 255, 0.1);
}

.form-row {
    display: flex;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row { flex-direction: column; gap: 0; }
}

.btn-primary {
    background: var(--neon-green);
    color: black;
    padding: 15px 30px;
    font-weight: 800;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    background: white;
    transform: translateY(-2px);
}

/* --- FIX DROPDOWN HOVER --- */
.dropdown:hover .dropdown-menu {
    display: block !important;
}

/* --- WHATSAPP WIDGET --- */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: 0.3s;
}
.whatsapp-widget img { width: 35px; height: 35px; }
.whatsapp-widget:hover { transform: scale(1.1); }

/* --- SIGNATURE PAD --- */
.signature-wrapper {
    background: white;
    border: 2px solid var(--pitch-green);
    margin-bottom: 10px;
    border-radius: 4px;
}
.signature-pad {
    width: 100%;
    height: 200px;
    cursor: crosshair;
}
.btn-secondary {
    background: transparent;
    color: #888;
    border: 1px solid #444;
    padding: 5px 15px;
    font-size: 0.8rem;
    cursor: pointer;
}

/* --- UPDATED SELECT FIELD --- */
.sip-form select {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    color: #888;
}

/* --- UNIVERSAL HEADER CONTACT (Top Bar) --- */
.header-contact-bar {
    background: #000;
    color: #fff;
    font-size: 0.8rem;
    padding: 8px 5%;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    border-bottom: 1px solid #222;
}
.header-contact-bar span { font-weight: 700; color: var(--pitch-green); }

/* --- FIX DROPDOWN HOVER (ACADEMICS & SOCCER) --- */
/* This ensures both menus open simply by moving the mouse over them */
.nav-links li.dropdown:hover .dropdown-menu {
    display: block !important;
    opacity: 1;
    visibility: visible;
}

/* --- FLOATING WHATSAPP WIDGET --- */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 10000;
    transition: transform 0.3s ease;
}
.whatsapp-widget:hover { transform: scale(1.1); }
.whatsapp-widget img { width: 35px; height: 35px; }

/* --- SIGNATURE PAD (For Apply Page) --- */
.signature-wrapper {
    background: white;
    border: 2px solid var(--pitch-green);
    border-radius: 4px;
    margin-top: 10px;
}
canvas#signature-pad {
    width: 100%;
    height: 200px;
    cursor: crosshair;
}

/* --- HEADER CONTACT BAR --- */
.header-contact-bar {
    background: #000;
    color: #fff;
    font-size: 0.85rem;
    padding: 10px 5%;
    display: flex;
    justify-content: flex-end;
    gap: 25px;
    border-bottom: 1px solid #222;
    font-family: 'Inter', sans-serif;
}
.header-contact-bar span { color: var(--neon-green); font-weight: 700; }

/* --- NAVIGATION HOVER FIX --- */
/* This forces the dropdowns to appear whenever the parent 'li' is hovered */
.nav-links .dropdown:hover .dropdown-menu {
    display: block !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* --- WHATSAPP WIDGET --- */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 10000;
    transition: transform 0.3s ease;
}
.whatsapp-widget:hover { transform: scale(1.1); }
.whatsapp-widget img { width: 35px; height: 35px; }

/* --- SIGNATURE PAD --- */
.signature-wrapper {
    background: white;
    border: 2px solid var(--pitch-green);
    border-radius: 4px;
    margin-top: 10px;
}

/* CONTACT BAR */
.header-contact-bar { background: #000; color: #fff; font-size: 0.85rem; padding: 10px 5%; display: flex; justify-content: flex-end; gap: 25px; border-bottom: 1px solid #222; }
.header-contact-bar span { color: #ccff00; font-weight: 700; }

/* NAV HOVER FIX */
.nav-links .dropdown:hover .dropdown-menu { display: block !important; opacity: 1; visibility: visible; }

/* WHATSAPP */
.whatsapp-widget { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background-color: #25d366; border-radius: 50%; display: flex; justify-content: center; align-items: center; z-index: 10000; }
.whatsapp-widget img { width: 35px; }

/* SIGNATURE */
.signature-wrapper { background: white; border: 2px solid #004d00; border-radius: 4px; margin-top: 10px; }
canvas#signature-pad { width: 100%; height: 200px; cursor: crosshair; }

/* Ensure the dropdown menu appears on hover for BOTH Academics and Soccer */
.nav-links li.dropdown:hover .dropdown-menu {
    display: block !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* This ensures the layout container never exceeds the screen width */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Adjustments for Vertical (Portrait) mode */
@media (max-width: 768px) {
    .nav-main-row {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Forces cards to stack vertically instead of squishing */
    .pathway-grid, .form-grid {
        display: block !important;
    }
    
    .glass-card {
        width: 100% !important;
        margin-bottom: 20px;
    }
}

/* Adjustments for Horizontal (Landscape) mode */
@media (max-height: 500px) and (orientation: landscape) {
    .sub-hero {
        padding: 60px 20px; /* Reduces height so content isn't cut off */
    }
    .nav-contact-info {
        display: none; /* Hides the top bar to give more room for content */
    }
}

/* 1. Global fix for all containers */
.container, .form-container {
    width: 100% !important;
    max-width: 1200px; /* Limits width on desktop */
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box; /* Prevents horizontal scrolling */
}

/* 2. Vertical Fix (Portrait) */
@media (max-width: 768px) {
    .nav-main-row {
        flex-direction: column; /* Stacks logo above menu */
        gap: 10px;
    }
    .form-row, .row {
        display: flex !important;
        flex-direction: column !important; /* Stacks input fields vertically */
        gap: 10px;
    }
    input, select, textarea {
        width: 100% !important; /* Ensures inputs take full width */
    }
}

/* 3. Horizontal Fix (Landscape) */
@media (max-height: 500px) and (orientation: landscape) {
    .sub-hero {
        padding: 40px 20px !important; /* Reduces vertical empty space */
        min-height: auto !important;
    }
    .nav-contact-info {
        display: none; /* Hides top bar to save screen space */
    }
}

/* Ensure the main container is flexible for all orientations */
.container, .form-container {
    width: 100% !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box; /* This prevents content from bleeding off the screen */
}

/* Portrait (Vertical) Fixes */
@media (max-width: 768px) {
    .form-row {
        display: flex !important;
        flex-direction: column !important; /* Forces side-by-side inputs to stack */
        gap: 10px;
    }
    
    .nav-main-row {
        flex-direction: column !important;
        align-items: center;
    }

    input, select, textarea {
        width: 100% !important; /* Ensures fields fill the screen width */
    }
}

/* Landscape (Horizontal) Fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .sub-hero {
        padding: 30px 20px !important; /* Shrinks the header to show more form */
        min-height: auto !important;
    }
    
    .nav-contact-info {
        display: none !important; /* Hides contact bar to save vertical space */
    }
}