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

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --secondary: #a855f7;
    --accent: #f472b6;
    --dark: #0f172a;
    --dark-lighter: #1e293b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-heavy: rgba(15, 23, 42, 0.9);
    --text-muted: #94a3b8;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Outfit', sans-serif; }
html { scroll-behavior: smooth; }
body { 
    background: var(--dark); color: var(--white); min-height: 100vh; overflow-x: hidden; line-height: 1.6; 
    background-image: radial-gradient(circle at top right, rgba(99, 102, 241, 0.1), transparent 400px), 
                      radial-gradient(circle at bottom left, rgba(168, 85, 247, 0.1), transparent 400px);
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; }

/* Layout Containers */
.container { width: 100%; max-width: 1540px; margin: 0 auto; padding: 0 4rem; position: relative; }

/* Navbar Fixed */
nav {
    display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 5%;
    background: var(--glass-heavy); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border); position: sticky; top: 0; z-index: 1000;
}

.logo { font-size: 1.8rem; font-weight: 700; background: linear-gradient(to right, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { font-weight: 500; opacity: 0.8; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--primary-light); }

.auth-btns { display: flex; gap: 1rem; }

/* Buttons */
.btn { 
    padding: 0.8rem 1.8rem; border-radius: 15px; font-weight: 600; cursor: pointer; border: none; 
    display: inline-flex; align-items: center; gap: 0.6rem; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3); }
.btn-outline { background: transparent; border: 1px solid var(--glass-border); color: white; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(99, 102, 241, 0.5); }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; border-radius: 12px; }

/* Hero Banner */
.hero-banner { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; padding: 8rem 5%; gap: 5rem; min-height: 85vh; max-width: 1400px; margin: 0 auto; }
.hero-banner h1 { font-size: 5rem; line-height: 1.1; margin-bottom: 2rem; font-weight: 800; }
.campaign-tag { background: rgba(244, 114, 182, 0.1); color: var(--accent); padding: 0.6rem 1.5rem; border-radius: 50px; font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 2rem; border: 1px solid rgba(244, 114, 182, 0.2); }

.modern-search { background: var(--glass-heavy); border: 1px solid var(--glass-border); padding: 0.8rem; border-radius: 30px; display: flex; gap: 0.5rem; margin-top: 3rem; box-shadow: var(--shadow); }
.search-input-group { flex: 1; display: flex; align-items: center; gap: 0.8rem; padding: 0 1.5rem; border-right: 1px solid var(--glass-border); }
.search-input-group:last-of-type { border-right: none; }
.search-input-group i { color: var(--primary-light); }
.search-input-group input { background: transparent; border: none; color: white; outline: none; width: 100%; height: 50px; font-size: 1rem; }

.floating-img { width: 100%; border-radius: 40px; animation: float 6s ease-in-out infinite; box-shadow: var(--shadow); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* Cards Styling */
.job-card, .course-card { 
    background: var(--glass); border: 1px solid var(--glass-border); border-radius: 35px; 
    padding: 3rem; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative;
}
.job-card:hover { transform: translateY(-10px) scale(1.02); border-color: var(--primary-light); background: rgba(255,255,255,0.04); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }

/* Dashboard & Layouts */
.admin-layout, .jobs-layout { display: grid; grid-template-columns: 320px 1fr; gap: 4rem; width: 100%; margin: 6rem auto; }
.admin-main, .main-content { padding: 0; min-width: 0; }

/* Mobile App Styles */
.mobile-nav {
    position: fixed; bottom: 0; left: 0; width: 100%; background: #020617; border-top: 1px solid var(--glass-border);
    display: none; grid-template-columns: repeat(4, 1fr); z-index: 10001; padding: 0.5rem 0;
}
.mobile-nav a { display: flex; flex-direction: column; align-items: center; color: #64748b; font-size: 0.75rem; gap: 0.3rem; }
.mobile-nav a.active { color: var(--primary-light); }
.mobile-nav a i { font-size: 1.4rem; }

/* Responsive Overrides */
@media (max-width: 1200px) {
    .hero-banner { gap: 3rem; }
    .hero-banner h1 { font-size: 4rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    nav { padding: 0.8rem 5%; height: 75px; }
    .nav-links { display: none; }
    
    .hero-banner { grid-template-columns: 1fr; text-align: center; padding: 4rem 1.5rem 8rem; min-height: auto; }
    .hero-banner h1 { font-size: 3rem; }
    .floating-img { border-radius: 30px; margin-top: 3rem; }
    
    .modern-search { flex-direction: column; border-radius: 20px; padding: 1rem; }
    .search-input-group { border-right: none; border-bottom: 1px solid var(--glass-border); padding: 1.2rem 0; }
    
    .admin-layout, .jobs-layout { grid-template-columns: 1fr; }
    .admin-main, .main-content { padding: 2rem 1.5rem 10rem; }
    
    .mobile-nav { display: grid; }
    .web-footer { display: none !important; }
    
    body { padding-bottom: 85px; }
    .btn { width: 100%; justify-content: center; height: 55px; border-radius: 15px; }
    
    .promo-card { position: static; margin-top: 2rem; max-width: 100%; }
}

/* Dashboard & Sidebar Layouts */
.dashboard-layout { display: grid; grid-template-columns: 300px 1fr; min-height: 100vh; width: 100%; max-width: 100%; }
.sidebar { 
    background: var(--glass-heavy); border-right: 1px solid var(--glass-border); 
    padding: 2.5rem 1.8rem; display: flex; flex-direction: column; gap: 0.8rem; 
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar-link { 
    padding: 1rem 1.2rem; border-radius: 12px; color: var(--text-muted); 
    display: flex; align-items: center; gap: 1rem; font-weight: 500; transition: 0.3s;
}
.sidebar-link i { font-size: 1.2rem; min-width: 24px; }
.sidebar-link:hover, .sidebar-link.active { background: var(--primary); color: white; transform: translateX(5px); }

.admin-mobile-top { 
    display: none; padding: 1rem 5%; background: var(--glass-heavy); 
    border-bottom: 1px solid var(--glass-border); justify-content: space-between; align-items: center;
    position: sticky; top: 0; z-index: 9999;
}

/* Mobile Dashboard Adjustments */
@media (max-width: 768px) {
    .dashboard-layout { grid-template-columns: 1fr; }
    .sidebar { 
        position: fixed; left: -280px; top: 0; height: 100%; width: 280px; 
        z-index: 10002; box-shadow: 20px 0 50px rgba(0,0,0,0.5); 
    }
    .sidebar.open { left: 0; }
    .sidebar-overlay { 
        position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
        background: rgba(0,0,0,0.5); backdrop-filter: blur(5px); 
        z-index: 10001; display: none; 
    }
    .sidebar.open + .sidebar-overlay { display: block; }
    .admin-mobile-top { display: flex; }
    .main-content { padding: 2rem 1.2rem 100px; }
}

/* Meta Pills & Badges */
.meta-pill { background: var(--glass); padding: 0.5rem 1rem; border-radius: 10px; font-size: 0.85rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: 0.5rem; }
.status-badge { padding: 0.5rem 1rem; border-radius: 8px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.status-pending { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.status-reviewed { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.status-rejected { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.status-hired { background: rgba(16, 185, 129, 0.1); color: #10b981; }

input, textarea, select { transition: 0.3s; }
input:focus, textarea:focus, select:focus { border-color: var(--primary-light) !important; outline: none; box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1); }
