:root {
    --bg-dark: #0F172A;
    --accent-yellow: #FACC15; /* Professional Gold-Yellow */
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --card-bg: rgba(30, 41, 59, 0.7);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    scroll-behavior: smooth;
    
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Sticky Navbar Styles */
.navbar {
    position: fixed; /* Makes it sticky */
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95); /* Semi-transparent dark blue */
    backdrop-filter: blur(10px); /* Modern blur effect */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    height: 40px; /* Adjust based on your logo size */
    width: auto;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.4rem;
    color: var(--accent-yellow);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent-yellow);
}

.nav-cta {
    background: var(--accent-yellow);
    color: #000 !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700 !important;
}

/* Mobile Responsive Nav */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-main);
    transition: 0.3s;
}



/* Hero Section */
.hero-v2 {
    padding: 120px 0 40px;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(250, 204, 21, 0.1);
    color: var(--accent-yellow);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.highlight { color: var(--accent-yellow); }

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-scroll {
    text-decoration: none;
    background: var(--accent-yellow);
    color: #000;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s ease;
}

/* Info Cards */
.info-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 24px;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature {
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
}

.feature span { color: var(--accent-yellow); font-weight: 800; display: block; margin-bottom: 10px;}

/* Form Design */
.form-wrapper {
    background: white;
    color: #000;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.form-header { text-align: center; margin-bottom: 40px; }

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

input, textarea {
    padding: 15px;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    font-size: 1rem;
    width: 100%;
}

textarea { height: 120px; margin-bottom: 20px; }
#statement { height: 350px; }

.instruction { font-size: 0.9rem; color: #64748B; margin-bottom: 10px; }

.submit-btn {
    width: 100%;
    padding: 18px;
    background: #0F172A;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
}


/* Sections */
.section { padding: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.profile-img { width: 100%; border-radius: 20px; border: 4px solid var(--accent-gold); }
.about-head { font-size: 2rem; font-weight: 700; margin-bottom: 20px; }
.intro-text { text-align: justify; color: var(--text-muted); line-height: 1.6; padding: 5px; }
.mentor-intro { background: var(--card-bg); padding: 30px; border-radius: 20px; 
 margin-bottom: 20px;
}



/* About Mentor Section Styles */
.about-mentor {
    padding: 60px 0;
    background-color: var(--bg-navy);
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.6;
}

.text-box h2 {
    font-size: 2rem;
    margin: 15px 0 25px;
}

.image-box {
    position: relative;
}

.experience-badge {
    width: 200px;
    background:rgba(255, 255, 255, 0.03);
    color: #000;
    padding: 8px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.experience-badge p {
    font-size: 0.9rem;
    line-height: 1.2;
}


.closing-text {
    font-style: italic;
    color: var(--text-slate);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin: 10px 0;
}


/* Program Overview Styles */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--text-slate);
    max-width: 700px;
    margin: 20px auto 0;
    font-size: 1.1rem;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background: rgba(30, 41, 59, 0.5); /* Semi-transparent card */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    background: rgba(30, 41, 59, 0.8);
}

.card-num {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(250, 204, 21, 0.1); /* Subtle large number background */
    position: absolute;
    top: 10px;
    right: 20px;
}

.program-card h3 {
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-size: 1rem;
}

.program-card p {
    color: var(--text-slate);
    line-height: 1.6;
    font-size: 0.95rem;
}


/* Footer Styles */
.footer {
    background-color: #050A1E; /* Slightly darker than the main navy */
    padding: 50px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 80px;
    margin-bottom: 15px;
}

.footer-mission {
    color: var(--text-slate);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 350px;
    margin-top: 15px;
}

.footer h4 {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-slate);
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-slate);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-slate);
}

.designer-credit {
    margin-top: 10px;
    font-size: 0.75rem;
    opacity: 0.6;
}



.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Exact 50/50 split */
    gap: 40px;
    align-items: center;
}

/* Image Side Adjustments */
.image-box {
    position: relative;
    width: 100%;
}

.image-wrapper-large {
    position: relative;
    border-radius: 30px;
    padding: 15px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--accent-gold), #ffffff, var(--accent-gold));
    background-size: 200% 200%;
    animation: gradientMove 4s linear infinite;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.hero-impact-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 22px;
    display: block;
}

/* Text Side Adjustments */
.text-box {
    padding-left: 20px;
}

.intro-text {
    /* Background & Aesthetics */
    background: rgba(255, 255, 255, 0.03); /* Subtle light tint */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px);
    
    /* Border & Glow */
    border-left: 4px solid var(--accent-gold); /* Accent line for emphasis */
    border-radius: 12px;
    
    /* Typography */
    padding: 25px;
    font-size: 1.15rem;
    color: var(--text-white);
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.3px;
    
    /* Spacing & Shadow */
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    
    /* Animation entry */
    transition: transform 0.3s ease, background 0.3s ease;
}

.intro-text:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px); /* Gentle interaction on hover */
}

/* Optional: Adding a gradient highlight to the text itself */
.intro-text strong {
    color: var(--accent-gold);
    font-weight: 700;
}

/* Animated Stats Box (The Lively Container) */
.stats-container-animated {
    margin-top: 30px;
    padding: 30px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 20px;
    border: 2px solid var(--accent-gold);
    overflow: hidden;
    position: relative;
    animation: borderGlow 2s infinite alternate;
}

/* Marquee & Text Styling */
.marquee-wrapper {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scrollNumbers 15s linear infinite;
}

.stat-item {
    min-width: 160px;
    text-align: center;
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-white);
}

.plus {
    color: var(--accent-gold);
    font-size: 1.8rem;
    font-weight: 800;
}

/* Animations */
@keyframes scrollNumbers {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes borderGlow {
    0% {
        border-color: var(--accent-gold);
        box-shadow: 0 0 5px rgba(250, 204, 21, 0.2);
    }
    100% {
        border-color: #ffffff;
        box-shadow: 0 0 25px rgba(250, 204, 21, 0.6), inset 0 0 10px rgba(250, 204, 21, 0.2);
    }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



/* Benefits Section Styles */
.benefits-section {
    background-color: var(--bg-navy); /* Matches your site theme */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03); /* Glassmorphism effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color); /* Use your highlight/primary color variable */
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    opacity: 0.8;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}




/* ==========================================
   MASTER MOBILE RESPONSIVE BLOCK
   ========================================== */

@media (max-width: 992px) {
    .grid-2, 
    .footer-grid, 
    .program-grid, 
    .features-grid { 
        grid-template-columns: 1fr !important; 
        gap: 40px; 
    }
    
    .hero-impact-img { height: 400px; }
}

@media (max-width: 768px) {
    /* 1. Mobile Menu Activation */
    .menu-toggle { 
        display: block !important; 
    }

    .nav-links {
        display: none; /* Hidden by default */
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #0F172A;
        padding: 30px;
        gap: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    /* When JavaScript adds the 'active' class */
    .nav-links.active { 
        display: flex !important; 
    }

    /* 2. Typography Adjustments */
    h1 { font-size: 2.2rem !important; }
    .hero-subtitle { font-size: 1rem; }
    .about-head, .text-box h2 { font-size: 1.8rem; }

    /* 3. Layout & Forms */
    .container { padding: 0 15px; }
    .input-group { grid-template-columns: 1fr !important; }
    .form-wrapper { padding: 30px 20px; }
    
    /* 4. Images & Profile */
    .hero-impact-img { 
        height: auto !important; 
        aspect-ratio: 1 / 1; 
    }
    
    .text-box { 
        text-align: center; 
        padding-left: 0; 
    }
    
    .intro-text { text-align: left; }
    
    .experience-badge { 
        width: 100%; 
        margin: 20px 0; 
    }

    /* 5. Stats */
    .stat-number { font-size: 2.5rem; }
}








/* ==========================================
   FINAL MOBILE RESPONSIVE FIXES
   ========================================== */

@media (max-width: 768px) {
    /* 1. Navigation Menu Activation */
    .menu-toggle { 
        display: block !important; 
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #0F172A; /* Match your bg-dark variable */
        padding: 40px 20px;
        gap: 25px;
        border-bottom: 2px solid var(--accent-yellow);
        z-index: 999;
    }
    
    .nav-links.active { 
        display: flex !important; 
    }

    /* 2. Meet Your Mentor - Force Single Column */
    /* Target the grid specifically in the about-mentor section */
    .about-mentor .grid-2 {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    /* Fix image fitting in Mentor section */
    .hero-impact-img {
        width: 100% !important;
        height: auto !important;
        max-height: 400px;
        object-fit: cover;
    }

    /* 3. Text-Box & Stats Width Fixes */
    .text-box {
        padding: 0 !important; /* Removes the 20px left padding that pushes it off-center */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .intro-text {
        width: 100% !important;
        margin: 0 0 20px 0 !important;
        padding: 20px !important; /* Reduced padding for better fit */
        font-size: 1rem !important;
        text-align: left;
    }

    .stats-container-animated {
        width: 100% !important;
        padding: 20px 10px !important; /* Slimmer padding for mobile */
        margin: 20px 0 !important;
        box-sizing: border-box;
    }

    /* 4. Curriculum & Why Join - Keep 2-Column Grid */
    .program-grid, 
    .features-grid { 
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important; 
    }

    /* Adjust cards for the 2-column squeeze */
    .feature-card, .program-card {
        padding: 15px !important;
    }

    .feature-card h3, .program-card h3 {
        font-size: 0.85rem !important;
    }

    /* 5. General Layout Fix */
    .container {
        padding: 0 15px !important;
        overflow-x: hidden; /* Prevents side-scrolling */
    }

    h1 { font-size: 2.2rem !important; }
}


/* Footer 2-Column Grid for Mobile */
@media (max-width: 768px) {
    .footer-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; /* 2 Columns */
        gap: 20px !important;
    }

    /* Make the brand section span both columns for better look */
    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }
    
    .footer-brand .logo-group {
        justify-content: center;
    }

    /* Force Nav bar to be on top of everything */
    .navbar {
        z-index: 9999 !important;
    }

    .nav-links {
        display: none;
        background: #0F172A !important;
        position: fixed; /* Better than absolute for mobile overlay */
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        z-index: 9998 !important;
    }

    .nav-links.active {
        display: flex !important;
    }
}