/* =========================================
   1. GLOBAL & TYPOGRAPHY
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary: #6c757d;
    --success: #198754;
    --info: #0dcaf0;
    --warning: #ffc107;
    --danger: #dc3545;
    --dark: #1e293b;
    --light: #f8fafc;
    --body-bg: #f0f2f5;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
}

body {
    background-color: var(--body-bg);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #334155;
    line-height: 1.6;
    overflow-x: hidden;
    /* Smooth Scroll for anchor links */
    scroll-behavior: smooth;
}

/* Custom Selection Color */
::selection {
    background: rgba(13, 110, 253, 0.2);
    color: var(--primary-dark);
}

/* Smooth Page Load Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.container, .fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

a { text-decoration: none; transition: all 0.2s ease; }

/* =========================================
   2. BUTTONS & INTERACTIVE ELEMENTS
   ========================================= */
.btn {
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 0.6rem 1.5rem;
    border-radius: 50px; /* Pill shape */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn:active { transform: scale(0.96); }

/* Primary Button Glow */
.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.35);
    background: linear-gradient(135deg, #0b5ed7 0%, #004494 100%);
}

/* Secondary/Outline Buttons */
.btn-outline-primary {
    border-width: 2px;
}
.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
}

.btn-light {
    background: white;
    border: 1px solid #e2e8f0;
    color: #475569;
}
.btn-light:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

/* =========================================
   3. CARDS & CONTAINERS
   ========================================= */
.card {
    border: none;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Glassmorphism Card (Use class .card-glass) */
.card-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* =========================================
   4. FORMS & INPUTS
   ========================================= */
.form-control, .form-select {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background-color: #fcfcfd;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    background-color: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

/* Search Inputs (with icons) */
.input-group-text {
    background-color: white;
    border: 1px solid #e2e8f0;
    border-right: none;
    border-radius: 10px 0 0 10px;
    color: #94a3b8;
}
.input-group .form-control {
    border-left: none;
}

/* =========================================
   5. NAVBAR & HEADER (Enhancement)
   ========================================= */
.navbar-glass {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.nav-link {
    position: relative;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    background-color: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 60%;
}

/* =========================================
   6. JOB CARDS SPECIFIC
   ========================================= */
.job-card {
    border-left: 4px solid transparent;
}

.job-card:hover {
    border-left-color: var(--primary);
}

.company-logo-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
    padding: 5px;
}
.company-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* =========================================
   7. UTILITIES
   ========================================= */
.text-gradient {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    -webkit-background-clip: text;
    background-clip: text; /* Standard property for compatibility */
    -webkit-text-fill-color: transparent;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
}

.hover-lift {
    transition: transform 0.2s;
}
.hover-lift:hover {
    transform: translateY(-3px);
}

.avatar-sm { width: 32px; height: 32px; object-fit: cover; border-radius: 50%; }
.avatar-md { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; }
.avatar-lg { width: 80px; height: 80px; object-fit: cover; border-radius: 50%; }