/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #2563eb; /* Modern Tech Blue */
    --secondary-color: #1e293b; /* Dark Navy */
    --accent-color: #f59e0b; /* Amber for highlights */
    --bg-light: #f8fafc;
}

.text-orange {
    color: var(--accent-color);
}

.bg-sky {
    background-color: #e0f2fe;
}

a{
    text-decoration: none;
    color: inherit;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: #334155;
}

/* Navbar Styling */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 15px 0;
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    letter-spacing: -0.5px;
}
.nav-link {
    font-weight: 500;
    color: var(--secondary-color) !important;
    margin: 0 10px;
    transition: 0.3s;
}
.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section (The Search Area) */
.hero-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 80px 0 100px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Floating Search Box */
.search-box {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-top: -40px; /* Pulls it up into the Hero */
    position: relative;
    z-index: 10;
}

/* Job Cards */
.job-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    position: relative;
}
.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}
.company-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    background: #f1f5f9;
    padding: 5px;
}
.badge-custom {
    background: #eff6ff;
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
}
.btn-primary:hover {
    background-color: #1d4ed8;
}

/* Stats Section */
.stats-section {
    background-color: white;
    padding: 40px 0;
    border-bottom: 1px solid #e2e8f0;
}
.stat-item h3 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
}

/* Featured Jobs Section */
.section-title {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    margin-top: 5px;
    border-radius: 2px;
}

/* How it Works */
.step-card {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    background: white;
    transition: 0.3s;
}
.step-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.step-icon {
    width: 70px;
    height: 70px;
    background: #e0e7ff;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

/* Top Recruiters */
.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
}
.company-logo-box {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    transition: 0.3s;
}
.company-logo-box:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.company-logo-box img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%); /* Makes logos grey until hover */
    transition: 0.3s;
}
.company-logo-box:hover img {
    filter: grayscale(0%);
}

/* Mega Footer Styling */
footer {
    background-color: #0f172a; /* Dark Navy (Matches Hero) */
    color: #cbd5e1; /* Soft Grey Text */
    padding-top: 60px;
    font-size: 0.9rem;
}
footer h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 20px;
}
footer ul {
    list-style: none;
    padding: 0;
}
footer ul li {
    margin-bottom: 12px;
}
footer ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s;
}
footer ul li a:hover {
    color: var(--primary-color); /* Blue on hover */
    padding-left: 5px; /* Slight movement effect */
}
.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: 0.3s;
    text-decoration: none;
}
.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}
.footer-bottom {
    background-color: #020617; /* Even darker for the bottom bar */
    padding: 20px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ... Keep existing CSS ... */

/* DASHBOARD SIDEBAR STYLES */
.dashboard-container {
    display: flex;
    min-height: 100vh;
}
.sidebar {
    width: 250px;
    background-color: #0f172a; /* Dark Navy */
    color: #cbd5e1;
    flex-shrink: 0;
    transition: all 0.3s;
}
.sidebar .brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-menu {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}
.sidebar-menu li a {
    display: block;
    padding: 12px 25px;
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
    display: flex;
    align-items: center;
}
.sidebar-menu li a:hover, 
.sidebar-menu li a.active {
    background-color: var(--primary-color);
    color: white;
}
.sidebar-menu li a i {
    width: 25px;
    margin-right: 10px;
}
.main-content {
    flex-grow: 1;
    background-color: #f8fafc;
    padding: 0;
}
.top-bar {
    background: white;
    padding: 15px 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar {
        margin-left: -250px;
        position: fixed;
        height: 100%;
        z-index: 1000;
    }
    .sidebar.active {
        margin-left: 0;
    }
}