@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800;900&display=swap');

:root {
    --bg-main: #060913;
    --bg-card: #0D1326;
    --bg-card-hover: #141C34;
    --primary: #00E5FF;
    --primary-glow: rgba(0, 229, 255, 0.4);
    --secondary: #7000FF;
    --secondary-glow: rgba(112, 0, 255, 0.4);
    --gradient-1: linear-gradient(135deg, #00E5FF 0%, #7000FF 100%);
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --whatsapp: #25D366;
    --whatsapp-glow: rgba(37, 211, 102, 0.4);
    --border: rgba(255, 255, 255, 0.08);
    --glass: rgba(13, 19, 38, 0.6);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', sans-serif; font-weight: 800; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; position: relative; }

/* Section Styling */
.section { padding: 100px 0; position: relative; }
.section-title { text-align: center; font-size: 3.5rem; margin-bottom: 60px; color: #fff; line-height: 1.2; }
.section-title span { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Header */
.header { position: fixed; top: 0; left: 0; width: 100%; padding: 25px 0; z-index: 1000; transition: var(--transition); }
.header.scrolled { background: var(--glass); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 15px 0; }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 2.2rem; font-weight: 900; text-decoration: none; color: #fff; letter-spacing: -1px; }
.logo span { color: var(--primary); }
.nav { display: flex; gap: 35px; align-items: center; }
.nav a { text-decoration: none; color: var(--text-muted); font-weight: 500; transition: var(--transition); font-size: 0.95rem; }
.nav a:hover { color: var(--primary); }

.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 6px; }
.hamburger span { width: 30px; height: 3px; background: #fff; border-radius: 3px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding-top: 100px; background: radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.05) 0%, transparent 70%); }
.hero-content h1 { font-size: 5.5rem; line-height: 1; margin-bottom: 30px; letter-spacing: -3px; }
.hero-content h1 span { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-content p { font-size: 1.4rem; color: var(--text-muted); max-width: 800px; margin: 0 auto 50px; }
.trust-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 24px; background: rgba(0,229,255,0.08); border: 1px solid var(--border); border-radius: 50px; color: var(--primary); font-weight: 700; margin-bottom: 40px; font-size: 0.95rem; }

/* Buttons & Polish */
.btn { 
    padding: 16px 36px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 700; 
    transition: var(--transition); 
    cursor: pointer; 
    display: inline-flex; 
    align-items: center; 
    border: none; 
    font-family: inherit;
    position: relative;
    overflow: hidden;
}
.btn-primary { 
    background: var(--gradient-1); 
    color: #fff; 
    box-shadow: 0 10px 20px var(--primary-glow); 
}
.btn-primary:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 35px var(--primary-glow), 0 0 20px var(--primary-glow); 
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}
.btn-primary:hover::after { opacity: 1; }

.btn-secondary { border: 2px solid var(--border); color: #fff; }
.btn-secondary:hover { background: #fff; color: #000; border-color: #fff; transform: translateY(-5px); }
.btn-whatsapp { 
    background: var(--whatsapp); 
    color: #fff; 
    box-shadow: 0 10px 25px var(--whatsapp-glow); 
    font-size: 1.25rem; 
    width: 100%; 
    justify-content: center; 
    border-radius: 16px; 
    padding: 22px; 
}
.btn-whatsapp:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px var(--whatsapp-glow), 0 0 15px var(--whatsapp-glow);
}

/* Mentor Card */
.mentor-card {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 60px;
    align-items: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.mentor-image { position: relative; border-radius: 30px; overflow: hidden; height: 550px; border: 1px solid var(--border); }
.mentor-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.experience-badge { position: absolute; bottom: 25px; left: 25px; background: var(--primary); color: #000; padding: 10px 20px; border-radius: 12px; font-weight: 900; font-size: 0.95rem; }
.mentor-info h3 { font-size: 3.2rem; margin-bottom: 12px; color: #fff; letter-spacing: -1px; }
.tagline { color: var(--primary); font-weight: 800; font-size: 1.25rem; margin-bottom: 25px; text-transform: uppercase; }
.desc { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 35px; line-height: 1.8; }
.mentor-stats { display: flex; gap: 40px; margin-bottom: 45px; }
.stat b { font-size: 2rem; color: #fff; display: block; }
.stat span { color: var(--text-muted); font-size: 0.9rem; }

/* Jobs Card */
.jobs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.job-card { 
    background: var(--bg-card); 
    border: 1px solid var(--border); 
    border-radius: 25px; 
    padding: 40px; 
    transition: var(--transition); 
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.job-card:hover { transform: translateY(-10px); background: var(--bg-card-hover); border-color: var(--primary); }
.job-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--gradient-1);
    opacity: 0;
    transition: var(--transition);
}
.job-card:hover::before { opacity: 1; }

.job-badge { display: inline-block; padding: 6px 12px; background: rgba(0,229,255,0.1); color: var(--primary); border-radius: 8px; font-size: 0.85rem; font-weight: 700; margin-bottom: 20px; }
.job-title { font-size: 1.8rem; margin-bottom: 15px; color: #fff; }

.job-info-list { list-style: none; margin: 20px 0; }
.job-info-item { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--text-muted); font-size: 1rem; }
.job-info-item i { color: var(--primary); width: 20px; }
.job-info-item b { color: #fff; margin-left: auto; }

.reg-fee-badge {
    background: rgba(112, 0, 255, 0.1);
    color: #b380ff;
    padding: 10px 15px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid rgba(112, 0, 255, 0.2);
    margin-top: auto;
    text-align: center;
}

.job-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 25px; border-top: 1px solid var(--border); padding-top: 20px; }
.salary { font-size: 1.6rem; font-weight: 900; color: #fff; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Premium Job Cards */
.job-card-premium {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 35px;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.job-card-premium:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: 0 25px 50px rgba(0, 229, 255, 0.15);
}
.job-card-premium .card-glow {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}
.job-card-premium:hover .card-glow { opacity: 1; }

.trending-badge {
    position: absolute;
    top: 25px; right: 25px;
    background: linear-gradient(90deg, #ff4d4d, #ff0055);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(255, 0, 85, 0.3);
}
.high-paying-badge {
    background: linear-gradient(90deg, #00c853, #b2ff59);
    color: #000;
}

.job-card-premium h3 { font-size: 1.8rem; margin-bottom: 20px; color: #fff; }
.job-card-premium .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 25px; }
.job-card-premium .stat-item { background: rgba(255,255,255,0.03); padding: 12px; border-radius: 12px; text-align: center; }
.job-card-premium .stat-item span { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; }
.job-card-premium .stat-item b { font-size: 1.1rem; color: var(--primary); }

.job-card-premium .salary-tag {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    margin-top: auto;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Sliders */
.swiper { width: 100%; padding-bottom: 60px; }
.gallery-slide img { width: 100%; height: 420px; object-fit: cover; border-radius: 24px; border: 1px solid var(--border); transition: var(--transition); cursor: pointer; }
.gallery-slide:hover img { transform: scale(1.04); border-color: var(--primary); }

.video-card { background: var(--bg-card); border-radius: 28px; overflow: hidden; border: 1px solid var(--border); transition: var(--transition); }
.video-thumb { position: relative; cursor: pointer; aspect-ratio: 16/9; overflow: hidden; }
.play-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; opacity: 0.8; transition: var(--transition); }
.video-card:hover .play-overlay { opacity: 1; background: rgba(0,0,0,0.2); }
.video-info { padding: 25px; }

/* Empty State */
.empty-state { text-align: center; padding: 60px; color: var(--text-muted); font-style: italic; background: rgba(255,255,255,0.02); border-radius: 20px; border: 1px dashed var(--border); }

/* Form */
.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(145deg, #0f172a, #020617);
    padding: 70px;
    border-radius: 45px;
    border: 1px solid var(--border);
    position: relative;
    box-shadow: 0 0 80px rgba(0, 229, 255, 0.08);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.input-group label { color: var(--text-muted); font-weight: 700; font-size: 0.9rem; margin-bottom: 12px; display: block; }
.input-group input, .input-group select {
    width: 100%;
    background: rgba(0,0,0,0.4);
    border: 1.5px solid var(--border);
    padding: 18px 24px;
    border-radius: 14px;
    color: #fff;
    font-size: 1.1rem;
    transition: var(--transition);
}
.input-group input:focus, .input-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
    outline: none;
}
.phone-input-wrapper { display: flex; align-items: center; background: rgba(0,0,0,0.4); border: 1.5px solid var(--border); border-radius: 14px; }
.phone-prefix { padding: 0 18px; border-right: 1px solid var(--border); color: var(--text-muted); font-weight: 800; }

/* Footer */
.footer { padding: 120px 0 60px; background: linear-gradient(to bottom, var(--bg-main), #05070d); border-top: 1px solid var(--border); }
.premium-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 80px; margin-bottom: 80px; }
.footer-logo { font-size: 2.5rem; font-weight: 900; color: #fff; text-decoration: none; margin-bottom: 30px; display: block; }
.footer-logo b { color: var(--primary); }
.footer-desc { font-size: 1.2rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 40px; }

/* 3D Social Icons */
.modern-socials { display: flex; gap: 20px; }
.social-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(145deg, #1a2235, #0a0f1c);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 700;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.4), -2px -2px 10px rgba(255,255,255,0.02);
}
.social-btn:hover {
    transform: translateY(-8px) rotate(-5deg);
    background: var(--gradient-1);
    color: #000;
    box-shadow: 0 15px 30px var(--primary-glow);
}

.footer-links h3, .footer-contact h3 { font-size: 1.5rem; margin-bottom: 35px; color: #fff; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 15px; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); padding-left: 10px; }
.footer-contact ul { list-style: none; }
.footer-contact ul li { color: var(--text-muted); margin-bottom: 15px; }
.footer-divider { height: 1px; background: var(--border); margin-bottom: 50px; }

/* Marquee */
.marquee-container { overflow: hidden; width: 100%; padding: 40px 0; }
.marquee-content { display: flex; gap: 35px; animation: marquee 50s linear infinite; width: max-content; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.proof-card { flex-shrink: 0; width: 300px; border-radius: 28px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 15px 35px rgba(0,0,0,0.4); }
.proof-card img { width: 100%; height: 350px; object-fit: cover; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: 1s cubic-bezier(0.2, 1, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Popup Modal */
.popup-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.popup-modal.active { display: flex; }
.popup-content {
    position: relative;
    width: 92%;
    max-width: 550px;
    max-height: 88vh;
    background: #0b1220;
    border-radius: 28px;
    overflow-y: auto;
    box-shadow: 0 0 60px rgba(0, 229, 255, 0.2);
    border: 1px solid var(--border);
    padding: 30px 25px;
    margin: auto;
    scrollbar-width: none;
}
.popup-content::-webkit-scrollbar { display: none; }

.form-close {
    position: fixed; /* Keep it locked to screen top right relative to modal or viewport on mobile */
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: #ff3b30;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 59, 48, 0.4);
    transition: 0.3s;
}
.form-close:hover { transform: scale(1.1) rotate(90deg); }

@media (max-width: 768px) {
    .form-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* MOBILE OPTIMIZATION (CLEAN SYSTEM) */
@media (max-width: 992px) {
    .section-title { font-size: 2.8rem; }
    .hero-content h1 { font-size: 4rem; }
    .mentor-card { grid-template-columns: 1fr; padding: 40px; gap: 40px; }
    .mentor-image { height: 450px; }
    
    .nav { display: none !important; } /* Hide old nav */
}

/* SIDEBAR SYSTEM (MOBILE ONLY) */
@media (max-width: 768px) {
    body { overflow-x: hidden; }

    /* MENU BUTTON */
    .menu-toggle {
        display: flex;
        position: fixed;
        top: 20px;
        right: 20px;
        font-size: 28px;
        z-index: 2001;
        cursor: pointer;
        color: #fff;
        background: rgba(112, 0, 255, 0.2);
        width: 45px; height: 45px;
        align-items: center; justify-content: center;
        border-radius: 10px;
        border: 1px solid var(--border);
    }

    /* SIDEBAR (RIGHT SIDE) */
    .sidebar {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 320px;
        height: 100%;
        background: #0b1220;
        transform: translateX(100%);
        transition: 0.3s ease;
        z-index: 9999;
        padding: 60px 30px;
        display: flex;
        flex-direction: column;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    /* ACTIVE */
    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar a {
        font-size: 1.2rem;
        color: #fff;
        text-decoration: none;
        margin-bottom: 25px;
        font-weight: 600;
        transition: 0.3s;
    }

    /* CLOSE BUTTON (Sidebar) */
    .close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 24px;
        background: none;
        border: none;
        color: #fff;
        cursor: pointer;
    }
    
    /* CLOSE BUTTON (Modal) */
    .form-close {
        top: 15px; right: 15px;
        width: 35px; height: 35px;
        font-size: 1.2rem;
    }
    /* OVERLAY */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.7);
        opacity: 0;
        display: none;
        transition: 0.3s;
        z-index: 9998;
    }

    /* ACTIVE */
    .overlay.active {
        display: block;
        opacity: 1;
    }

    .hero-content h1 { font-size: 2.8rem; letter-spacing: -1.5px; }
    .hero-content p { font-size: 1.1rem; }
    .jobs-grid { grid-template-columns: 1fr; }
    .form-container { padding: 40px 25px; border-radius: 30px; }
    .form-grid { grid-template-columns: 1fr; gap: 15px; }
    .input-group label { font-size: 0.85rem; margin-bottom: 8px; }
    .modern-input { padding: 14px 18px; height: 50px; font-size: 1rem; }
    
    .popup-content {
        padding: 40px 20px 30px;
        padding-top: 50px;
        width: 94%;
        border-radius: 32px;
    }
    
    .section { padding: 60px 0; }
    .section-title { font-size: 2.2rem; }
    
    /* Notch / Safe Area Support */
    body {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Desktop Defaults for Sidebar Elements */
@media (min-width: 769px) {
    .menu-toggle, .sidebar, .overlay { display: none !important; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.5rem; }
    .btn { padding: 16px 28px; width: 100%; justify-content: center; font-size: 1rem; }
    .hero-buttons { flex-direction: column; gap: 15px; width: 100%; }
    .btn-whatsapp { padding: 18px; font-size: 1.1rem; }
}
