/* =========================================
   1. CORE THEME & VARIABLES
   ========================================= */
:root {
    --bg-void: #ffffff;
    --bg-deep: #f8f9fc;
    --glass-surface: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-highlight: rgba(0, 123, 255, 0.1);
    --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --neon-gold: #c5a017;
    --neon-cyan: #007cc3;
    --neon-purple: #7b1fa2;
    --neon-red: #d32f2f;
    --text-main: #1a1e26;
    --text-muted: #64748b;
    --text-on-dark: #ffffff;
    --font-display: 'Syncopate', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-void);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}
main, section, .hero {
    flex-grow: 1; /* Pushes footer down */
    width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--neon-cyan); }

/* Background Canvas Base */
#bg-canvas {
    position: fixed;
    top: 0; left: 0;right:0;
    width: 100%; height: 100%;
    z-index: -1;
    opacity: 0.6;
}

.mesh-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(var(--bg-deep) 1px, transparent 1px),
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0V0zm1 1h38v38H1V1z' fill='%23000000' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 20px 20px, 40px 40px;
    z-index: -1;
    pointer-events: none;
}

/* =========================================
   2. NAVIGATION BAR
   ========================================= */
.navbar {
    position: fixed; 
    top: 20px; 
    left: 50%; 
    transform: translateX(-50%);
    width: 90%; 
    max-width: 1200px; 
    z-index: 1000;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 0.8rem 2rem; 
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.navbar.scrolled { width: 95%; top: 10px; background: rgba(255, 255, 255, 0.95); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

.logo { font-family: var(--font-display); font-size: 1rem; letter-spacing: 2px; color: var(--text-main); text-decoration: none; text-transform: uppercase; }
.logo img {
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* Ensure the footer logo doesn't get squashed */
.f-col img {
    max-width: 200px;
    height: auto;
}

.nav-links { display: flex; gap: 2rem; }
.nav-links a {
    color: var(--text-main); text-decoration: none; font-family: var(--font-heading);
    font-weight: 600; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; transition: 0.3s; position: relative;
}

.nav-links a:hover, .nav-links a.active { color: var(--neon-cyan); }
.nav-links a.active::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 100%; height: 2px; background: var(--neon-cyan); }

/* =========================================
   DROPDOWN NAVIGATION STYLES
   ========================================= */
.dropdown { 
    position: relative; 
    display: inline-block; 
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 15px;
    padding: 10px 0;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
    z-index: 1001;
}

.dropdown-content a {
    color: var(--text-main) !important;
    padding: 10px 20px !important;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 0.8rem !important;
    border: none !important;
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

/* Remove the underline effect from dropdown links */
.dropdown-content a::after { 
    display: none !important; 
}

.dropdown-content a:hover {
    background: rgba(0, 124, 195, 0.05);
    color: var(--neon-cyan) !important;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content { 
    display: block; 
}

/* Add a small arrow icon style */
.dropdown i {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: 0.3s;
}

.dropdown:hover i {
    transform: rotate(180deg);
}
.btn-glow {
    padding: 0.8rem 2rem; border-radius: 50px; background: var(--text-main); color: white;
    border: none; font-family: var(--font-heading); font-weight: 700; cursor: pointer;
    text-decoration: none; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-glow:hover { background: var(--neon-cyan); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0, 124, 195, 0.3); }


/* =========================================
   HERO SLIDER (Universal Background)
   ========================================= */
   
        .champ-hero {
            padding: 220px 0 140px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .official-badge {
            display: inline-block; padding: 5px 15px; background: rgba(255,255,255,0.2); 
            backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.3);
            border-radius: 20px; font-size: 0.8rem; font-weight: 700; color: #fff; margin-bottom: 10px;
            position: relative; z-index: 2;
        }

.hero-bg-wrapper {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            z-index: -1;
        }

        .hero-slide {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0;
            transform: scale(1.1);
            transition: opacity 1.5s ease-in-out, transform 10s linear;
        }
        
        .hero-slide::after {
            content: '';
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,1) 100%);
        }

        .hero-slide.active { opacity: 1; transform: scale(1); }

        .hero-title {
            font-family: var(--font-display); font-size: 3.5rem; line-height: 1.1; margin-bottom: 1.5rem;
            color: #fff; 
            text-shadow: 0 10px 30px rgba(0,0,0,0.5);
            position: relative; z-index: 2;
        }

        .hero-intro {
            font-size: 1.2rem; max-width: 700px; margin: 0 auto; 
            color: rgba(255,255,255,0.9); font-weight: 500;
            text-shadow: 0 2px 10px rgba(0,0,0,0.5);
            position: relative; z-index: 2;
        }


/* =========================================
   3. SHARED UTILITIES & CARDS
   ========================================= */
.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

.text-gradient {
    background: linear-gradient(135deg, var(--neon-cyan) 0%, #003366 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gold { color: var(--neon-gold); }
.text-cyan { color: var(--neon-cyan); }

.glass-card {
    background: #ffffff; border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow);
    border-radius: 16px; position: relative; overflow: hidden; transition: all 0.4s var(--ease-out-expo);
}

.glass-card:hover { transform: translateY(-5px); border-color: rgba(0, 124, 195, 0.2); }

/* Animation Hooks */
[data-aos] { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo); }
[data-aos].active { opacity: 1; transform: translateY(0); }

/* =========================================
   4. FOOTER
   ========================================= */
footer{position:relative;z-index:2;background:#1a2332;border-top:1px solid rgba(255,255,255,0.07);padding:50px 40px 30px;}
footer .container{max-width:1200px;margin:0 auto;}
.footer-content{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;margin-bottom:40px;}
.f-col h4{font-family:'Rajdhani',sans-serif;font-weight:700;font-size:0.78rem;letter-spacing:3px;color:#00e5ff;margin-bottom:18px;}
.f-links{list-style:none;}
.f-links li{margin-bottom:10px;}
.f-links a{color:#8899bb;text-decoration:none;font-size:0.86rem;transition:color 0.3s;}
.f-links a:hover{color:#00e5ff;}
.socials{display:flex;gap:12px;margin-top:18px;}
.socials a{width:38px;height:38px;border-radius:8px;background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.1);
    display:flex;align-items:center;justify-content:center;color:#8899bb;text-decoration:none;transition:all 0.3s;}
.socials a:hover{background:#00e5ff;color:#000;border-color:#00e5ff;}
.copyright{text-align:center;color:#8899bb;font-size:0.78rem;border-top:1px solid rgba(255,255,255,0.07);padding-top:20px;}

.recognition {
    background-color: #000000;
    padding: 60px 0 0; /* Changed bottom padding to 0 */
    text-align: center;
    border: none;
}
.recognition-title {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 40px;
    text-transform: uppercase;
    opacity: 0.9;
}

.recognition-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.recognition-grid img {
    object-fit: contain;
    transition: transform 0.3s ease;
    /* This makes logos pop on black background if they are originally dark */
    filter: brightness(1.1); 
    padding: 10px;
}

.recognition-grid img:hover {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (min-width: 992px) {
    .mobile-menu-btn {
        display: none !important; /* Hide 3 lines on PC */
    }

    .nav-links {
        display: flex;
        gap: 2rem;
        align-items: center;
    }

    .dropdown {
        position: relative; /* REQUIRED anchor for the menu */
    }

    .dropdown-content {
        display: none;
        position: absolute;
        top: 100%; /* Fix: Anchors it to the BOTTOM of the link */
        left: 50%;
        transform: translateX(-50%);
        background: white;
        min-width: 200px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        border-radius: 12px;
        padding: 10px 0;
        z-index: 1001;
    }

    .dropdown:hover .dropdown-content {
        display: block; /* Show on hover for PC */
    }

    .dropdown-content a {
        padding: 12px 20px;
        display: block;
        color: var(--text-main);
        text-decoration: none;
        font-size: 0.85rem;
        transition: 0.3s;
    }
}
/* --- MOBILE VIEW --- */
@media (max-width: 991px) {
    /* Ensure the body and html don't have side-scrolling gaps */
html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Force Footer to be 100% of the screen width */
footer {
    width: 100%;
    background: #1a2332;
    padding: 60px 0 30px;
    color: white;
    margin-top: auto; /* Keeps footer at bottom of page */
}

footer .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    /* This magic line handles the "shift to down" automatically */
    grid-template-columns: 1fr; /* Full width stacks on very small phones */
    text-align: center;
    gap: 40px;
    margin-bottom: 40px;
}

.f-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.f-col img{
    max-width: 83px;
}

/* Ensure icons and text don't wrap letter-by-letter */
.f-links li {
    list-style: none;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap; /* Prevents phone/email from breaking awkwardly */
}
    .nav-links {
        display: none; 
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 2rem;
        max-height: 80vh;
        overflow-y: auto; /* Allows scrolling if menu is long */
    }

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

   .dropdown-content {
        position: static; 
        display: none; /* Controlled by JavaScript */
        width: 100%;
        background: rgba(0, 0, 0, 0.05); /* Slight background to distinguish from main links */
        box-shadow: none;
        transform: none;
    }
    
    /* Show class for JS to toggle */
    .dropdown-content.show {
        display: block !important;
    }
    .socials {
        justify-content: center;
    }
}
.recognition{position:relative;z-index:2;background:#fff;border-top:1px solid #dde6ef;border-bottom:1px solid #dde6ef;padding:50px 40px;}
.recognition .container{max-width:1200px;margin:0 auto;}
.recognition-title{font-family:'Syncopate',sans-serif;font-size:0.72rem;letter-spacing:4px;text-transform:uppercase;color:#6b7fa3;text-align:center;margin-bottom:36px;}
.recognition-grid{display:flex;align-items:center;justify-content:center;gap:60px;flex-wrap:wrap;}


/* Keep actual text content centered inside the 100vw footer */
p, h1, h2, h3, .update-title {
    overflow-wrap: break-word; 
    word-wrap: break-word;
    max-width: 100%;
}

