:root {
    /* Theme variables - these are overridden by admin Theme Settings */
    --primary: var(--theme-primary, #4f46e5);
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --secondary: var(--theme-secondary, #0ea5e9);
    --accent: var(--theme-accent, #ec4899);
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: var(--theme-text, #1e293b);
    --gray-900: #0f172a;
    --gray-800: var(--theme-text, #1e293b);
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: var(--theme-text-light, #64748b);
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: var(--theme-background, #f8fafc);
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--hero-gradient-start, var(--primary)) 0%, var(--hero-gradient-end, var(--secondary)) 100%);
    --shadow: 0 4px 6px -1px var(--card-shadow, rgba(0,0,0,0.1)), 0 2px 4px -2px var(--card-shadow, rgba(0,0,0,0.1));
    --shadow-lg: 0 10px 15px -3px var(--card-shadow, rgba(0,0,0,0.1)), 0 4px 6px -4px var(--card-shadow, rgba(0,0,0,0.1));
    --shadow-xl: 0 20px 25px -5px var(--card-shadow, rgba(0,0,0,0.1)), 0 8px 10px -6px var(--card-shadow, rgba(0,0,0,0.1));
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: var(--header-bg, var(--white));
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar.scrolled .navbar-container {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Header Date Bar */
.header-date-bar {
    background: var(--date-bar-bg, var(--gray-100));
    border-bottom: 1px solid var(--gray-200);
    padding: 8px 0;
    color: var(--date-bar-text, var(--gray-500));
}

.date-time-display {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.date-time-display i {
    color: var(--gray-400);
}

.time-separator {
    color: var(--gray-300);
    margin: 0 4px;
}

.current-date,
.current-time {
    font-weight: 500;
}

/* Quote Banner */
.quote-banner {
    background: var(--quote-banner-bg, linear-gradient(135deg, var(--gray-50) 0%, #f0f4ff 100%));
    border-bottom: 3px solid;
    border-image: var(--gradient) 1;
    padding: 12px 0;
    color: var(--quote-banner-text, #854d0e);
}

.quote-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.quote-icon {
    color: var(--primary-light);
    font-size: 0.9rem;
    opacity: 0.7;
}

.quote-text {
    font-style: italic;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 800px;
}

/* Responsive Date Bar and Quote Banner */
@media (max-width: 768px) {
    .date-time-display {
        font-size: 0.8rem;
        justify-content: center;
    }
    
    .quote-content {
        flex-direction: column;
        gap: 8px;
    }
    
    .quote-text {
        font-size: 0.875rem;
    }
    
    .quote-icon:last-child {
        display: none;
    }
}

@media (max-width: 480px) {
    .time-separator,
    .current-time,
    .date-time-display .fa-clock {
        display: none;
    }
    
    .quote-text {
        font-size: 0.8rem;
        padding: 0 10px;
    }
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1280px;
    margin: 0 auto;
    transition: padding 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--header-logo, var(--gradient));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--header-text, var(--gray-600));
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--btn-primary-bg, var(--primary));
    color: var(--btn-primary-text, var(--white));
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--btn-secondary-bg, var(--white));
    color: var(--btn-secondary-text, var(--primary));
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-success:hover {
    background: #16a34a;
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gray-300);
    color: var(--gray-600);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: var(--gradient);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--hero-text, var(--white));
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Box */
.search-box {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.search-box .input-group {
    flex: 1;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-box .input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.search-box .btn {
    padding: 15px 40px;
}

/* Search Autocomplete */
.search-autocomplete-wrapper {
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.search-suggestions.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.filter-sidebar .search-suggestions {
    left: 0;
    right: 0;
    margin-top: 5px;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--gray-100);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.active {
    background: var(--gray-50);
}

.suggestion-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.suggestion-icon-job {
    background: #eef2ff;
    color: var(--primary);
}

.suggestion-icon-company {
    background: #dcfce7;
    color: var(--success);
}

.suggestion-icon-category {
    background: #fef9c3;
    color: var(--warning);
}

.suggestion-content {
    flex: 1;
    min-width: 0;
}

.suggestion-text {
    font-weight: 500;
    color: var(--gray-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-subtext {
    font-size: 0.85rem;
    color: var(--gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-type {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: var(--gray-50);
    border-radius: var(--radius);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin-top: 8px;
}

/* Enhanced Stats Section */
.stats-enhanced {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f64f59 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.stats-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float 20s ease-in-out infinite;
}

.stats-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.stats-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.stats-header p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
}

.stats-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-card-enhanced {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-card-enhanced:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.25);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.stat-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.stat-icon i {
    font-size: 2rem;
    color: var(--white);
}

.stat-card-enhanced:hover .stat-icon {
    background: var(--white);
    transform: scale(1.1);
}

.stat-card-enhanced:hover .stat-icon i {
    color: var(--primary);
}

.stat-content {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 10px;
}

.stat-number-enhanced {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
}

.stat-label-enhanced {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .stats-grid-enhanced {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .stats-enhanced {
        padding: 60px 0;
    }
    
    .stats-grid-enhanced {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-card-enhanced {
        padding: 30px 20px;
    }
    
    .stat-number-enhanced {
        font-size: 2.5rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
    }
    
    .stat-icon i {
        font-size: 1.5rem;
    }
}

/* Categories Section */
.categories {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--section-title, var(--gray-900));
    margin-bottom: 15px;
}

.section-header p {
    color: var(--section-subtitle, var(--gray-500));
    font-size: 1.1rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.category-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.category-card:hover .category-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.category-name {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 5px;
}

.category-count {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Featured Jobs */
.featured-jobs {
    padding: 80px 0;
    background: var(--gray-100);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Job Card */
.job-card {
    background: var(--card-bg, var(--white));
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--card-border, transparent);
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.job-card.featured {
    border: 2px solid var(--primary);
}

.job-card.featured::before {
    content: 'Featured';
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.job-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.company-logo {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.job-info h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 5px;
    transition: var(--transition);
}

.job-card:hover .job-info h3 {
    color: var(--primary);
}

.job-info .company-name {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.job-info a.company-name:hover {
    color: var(--primary);
    text-decoration: underline;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
}

.job-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--gray-600);
    background: var(--gray-100);
    padding: 6px 12px;
    border-radius: 20px;
}

.job-meta i {
    color: var(--primary);
}

.job-salary {
    font-weight: 600;
    color: var(--success) !important;
    background: #dcfce7 !important;
}

.job-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.job-actions .btn {
    flex: 1;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step-card {
    text-align: center;
    padding: 30px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--gray-900);
}

.step-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--footer-bg, var(--gray-900));
    color: var(--footer-text, var(--gray-300));
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-grid-4col {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

/* App Download Badges */
.app-download-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.app-download-section h5 {
    color: var(--white);
    font-size: 0.85rem;
    margin-bottom: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.app-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 12px 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    max-width: 180px;
}

.app-badge:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark, #4338ca));
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

.app-badge i {
    font-size: 1.75rem;
    color: var(--white);
}

.app-badge-text {
    display: flex;
    flex-direction: column;
}

.app-badge-small {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.app-badge-large {
    font-size: 1rem;
    color: var(--white);
    font-weight: 700;
    line-height: 1.3;
}

/* Quick Links Footer Column */
.footer-column ul li a i {
    width: 18px;
    margin-right: 8px;
    color: var(--primary-light);
    font-size: 0.85rem;
}

.footer-brand .logo {
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.footer-brand .logo i {
    color: var(--primary);
    font-size: 1.3rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

.footer-column h4 {
    color: var(--footer-heading, var(--white));
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 14px;
}

.footer-column a {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-column a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-column a:hover::before {
    content: '→';
    margin-right: 5px;
    color: var(--primary);
}

.footer-bottom {
    padding-top: 35px;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* Newsletter Section */
.footer-newsletter {
    background: linear-gradient(135deg, var(--gray-800), var(--gray-900));
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.newsletter-content p {
    color: var(--gray-400);
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 450px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--gray-700);
    border-radius: var(--radius);
    font-size: 1rem;
    background: var(--gray-900);
    color: var(--white);
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: var(--gray-500);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form button {
    padding: 14px 28px;
    white-space: nowrap;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid-4col {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    .app-badges {
        flex-direction: column;
    }
    
    .app-badge {
        width: fit-content;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid-4col {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .app-badges {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fef9c3;
    color: #854d0e;
    border: 1px solid #fde047;
}

.alert-info {
    background: #e0f2fe;
    color: #0c4a6e;
    border: 1px solid #7dd3fc;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.card-body {
    padding: 25px;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
}

.table tr:hover {
    background: var(--gray-50);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-success {
    background: #dcfce7;
    color: #166534;
}

.badge-warning {
    background: #fef9c3;
    color: #854d0e;
}

.badge-danger {
    background: #fef2f2;
    color: #991b1b;
}

.badge-info {
    background: #e0f2fe;
    color: #0c4a6e;
}

.badge-primary {
    background: #eef2ff;
    color: #3730a3;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.pagination a:hover,
.pagination span.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--gradient);
}

.auth-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 450px;
}

.auth-card h1 {
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 10px;
}

.auth-card .subtitle {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 30px;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: var(--gray-400);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.auth-divider span {
    padding: 0 15px;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    color: var(--gray-500);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 500;
}

/* Dashboard Layout */
.dashboard {
    display: flex;
    min-height: calc(100vh - 160px);
    margin-top: 0;
}

.sidebar {
    width: 280px;
    background: var(--gray-900);
    color: var(--white);
    padding: 25px 0;
    position: fixed;
    top: 160px;
    height: calc(100vh - 160px);
    overflow-y: auto;
    transition: var(--transition);
    z-index: 100;
}

.sidebar-header {
    padding: 0 25px 25px;
    border-bottom: 1px solid var(--gray-800);
}

.sidebar-menu {
    padding: 20px 0;
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    color: var(--gray-400);
    transition: var(--transition);
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: var(--gray-800);
    color: var(--white);
    border-left: 3px solid var(--primary);
}

.sidebar-menu i {
    width: 20px;
    text-align: center;
}

.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 30px;
    background: var(--gray-100);
    min-height: calc(100vh - 160px);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.dashboard-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
}

/* Dashboard Cards */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.dashboard-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-card-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.dashboard-card-info p {
    color: var(--gray-500);
}

.dashboard-card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.dashboard-card-icon.blue {
    background: #dbeafe;
    color: #2563eb;
}

.dashboard-card-icon.green {
    background: #dcfce7;
    color: #16a34a;
}

.dashboard-card-icon.yellow {
    background: #fef9c3;
    color: #ca8a04;
}

.dashboard-card-icon.purple {
    background: #f3e8ff;
    color: #9333ea;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 5px;
    background: var(--gray-100);
    padding: 5px;
    border-radius: var(--radius);
    margin-bottom: 25px;
}

.tab {
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: none;
}

.tab:hover {
    color: var(--primary);
}

.tab.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow);
}

/* Progress Bar */
.progress {
    height: 10px;
    background: var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient);
    border-radius: 10px;
    transition: width 0.5s ease;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-700);
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .dashboard-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sidebar {
        transform: translateX(-100%);
        z-index: 1000;
        top: 0;
        height: 100vh;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        min-height: auto;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .nav-links {
        display: none;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-card {
        padding: 25px;
    }
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-slide-in {
    animation: slideIn 0.3s ease;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Tooltip */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    background: var(--gray-900);
    color: var(--white);
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Job Listing Page Specific */
.job-listing-page {
    padding: 40px 0;
}

.job-listing-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.filter-sidebar {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--gray-200);
}

.filter-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--gray-800);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* Quick Apply Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(-20px);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-400);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--gray-600);
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: var(--gray-600);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--gray-500);
    margin-bottom: 25px;
}

/* Skills & Endorsements */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-badge-wrapper {
    display: inline-flex;
}

.skill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.skill-badge:hover {
    box-shadow: var(--shadow);
}

.skill-badge-technical {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: var(--primary);
}

.skill-badge-soft {
    background: #fef3c7;
    border-color: #fcd34d;
    color: #92400e;
}

.skill-badge-language {
    background: #d1fae5;
    border-color: #6ee7b7;
    color: #047857;
}

.skill-name {
    font-weight: 600;
}

.skill-proficiency {
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.endorsement-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--success);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.skill-remove-btn {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0;
    margin-left: 4px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.skill-remove-btn:hover {
    color: var(--danger);
}

/* Skill Autocomplete */
.skill-autocomplete-wrapper {
    position: relative;
}

.skill-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
    display: none;
}

.skill-suggestions.active {
    display: block;
}

.skill-suggestion-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--gray-100);
}

.skill-suggestion-item:last-child {
    border-bottom: none;
}

.skill-suggestion-item:hover {
    background: var(--gray-50);
}

.skill-suggestion-item.no-result {
    color: var(--gray-500);
    font-style: italic;
    cursor: default;
}

.skill-suggestion-name {
    font-weight: 500;
}

.skill-suggestion-category {
    font-size: 0.8rem;
    color: var(--gray-400);
    text-transform: capitalize;
}

/* Candidate Public Profile */
.candidate-profile-page {
    padding: 60px 0;
    min-height: 70vh;
}

.candidate-profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gray-200);
}

.candidate-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
}

.candidate-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.candidate-avatar i {
    font-size: 3rem;
    color: var(--gray-400);
}

.candidate-info h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.candidate-location,
.candidate-member-since {
    color: var(--gray-500);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.profile-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.profile-section h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-section h2 i {
    color: var(--primary);
}

/* Skills Endorsements Grid */
.skills-endorsements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.skill-endorsement-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 15px 20px;
    transition: var(--transition);
}

.skill-endorsement-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.skill-endorsement-info {
    flex: 1;
}

.skill-endorsement-info h4 {
    font-size: 1rem;
    margin: 5px 0;
}

.skill-badge-category {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.skill-proficiency-label {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.skill-endorsement-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.endorsement-count-display {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.endorsement-count-display i {
    color: var(--success);
}

.count-number {
    font-weight: 700;
    color: var(--gray-800);
}

.count-label {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.endorse-btn {
    min-width: 100px;
}

.endorse-btn.endorsed {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.endorse-btn.endorsed:hover {
    background: #16a34a;
}

.profile-cta {
    text-align: center;
    padding: 30px;
    background: var(--gray-50);
    border-radius: var(--radius);
    color: var(--gray-600);
}

.profile-cta a {
    color: var(--primary);
    font-weight: 600;
}

.profile-cta a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .candidate-profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .skills-endorsements-grid {
        grid-template-columns: 1fr;
    }
    
    .skill-endorsement-card {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .skill-endorsement-actions {
        align-items: center;
    }
}

/* How It Works Section - Enhanced */
.how-it-works {
    padding: 80px 0;
    background: var(--white);
}

.steps-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-card {
    text-align: center;
    padding: 40px 30px;
    position: relative;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    background: var(--white);
}

.step-card .step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.step-card .step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto 25px;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
}

.step-card:hover .step-icon {
    transform: scale(1.1);
}

.step-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.step-card p {
    color: var(--gray-500);
    font-size: 1rem;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--gray-100);
    overflow: hidden;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    margin: 0 -20px;
    padding: 0 20px;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.testimonial-card {
    flex: 0 0 100%;
    max-width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-stars {
    margin-bottom: 20px;
}

.testimonial-stars i {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-right: 2px;
}

.testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-avatar span {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.testimonial-info span {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot:hover {
    background: var(--gray-400);
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .steps-grid-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .step-card {
        padding: 35px 20px;
    }
    
    .step-card .step-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .steps-grid-3 {
        grid-template-columns: 1fr;
        gap: 50px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .step-card {
        padding: 40px 30px;
    }
    
    .testimonial-card {
        padding: 30px;
    }
    
    .testimonial-quote {
        font-size: 1rem;
    }
}

/* Enhanced Job Card Styling */
.company-logo-round {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--gradient);
}

.company-logo-round img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.company-initials {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
}

.job-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.job-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.job-badge i {
    font-size: 0.8rem;
}

.job-badge-salary {
    background: #dcfce7;
    color: #166534;
    font-size: 0.95rem;
    padding: 8px 14px;
}

.job-badge-salary i {
    color: #16a34a;
}

.job-badge-time {
    background: var(--gray-100);
    color: var(--gray-600);
}

.job-badge-time i {
    color: var(--gray-500);
}

.job-badge-applicants {
    background: #dbeafe;
    color: #1e40af;
}

.job-badge-applicants i {
    color: #2563eb;
}

/* Horizontal Job Card Layout for jobs.php */
.job-card-horizontal {
    display: flex;
    gap: 20px;
}

.job-card-left {
    flex-shrink: 0;
}

.job-card-left .company-logo-round {
    width: 60px;
    height: 60px;
}

.job-card-left .company-initials {
    font-size: 1.2rem;
}

.job-card-content {
    flex: 1;
    min-width: 0;
}

.job-card-content .job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 0;
}

.job-card-right-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    flex-shrink: 0;
}

.job-card-right-badges .job-badge {
    font-size: 0.8rem;
    padding: 5px 10px;
}

.job-card-right-badges .job-badge-salary {
    font-size: 0.9rem;
    padding: 6px 12px;
}

/* Responsive adjustments for job cards */
@media (max-width: 992px) {
    .job-card-horizontal {
        flex-direction: column;
        gap: 15px;
    }
    
    .job-card-left {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .job-card-content .job-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .job-card-right-badges {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .job-badges {
        flex-wrap: wrap;
    }
    
    .job-badge {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .job-badge-salary {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .company-logo-round {
        width: 45px;
        height: 45px;
    }
    
    .company-initials {
        font-size: 0.9rem;
    }
    
    .job-card-left .company-logo-round {
        width: 50px;
        height: 50px;
    }
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    color: var(--gray-500);
    text-decoration: none;
    transition: var(--transition);
    padding: 8px 4px;
    gap: 4px;
}

.mobile-nav-item i {
    font-size: 1.25rem;
}

.mobile-nav-item span {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: var(--primary);
}

.mobile-nav-item.active i {
    transform: scale(1.1);
}

.mobile-nav-search {
    position: relative;
}

.mobile-nav-search i {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 767px) {
    .mobile-bottom-nav {
        display: flex;
    }
    
    body {
        padding-bottom: 60px;
    }
    
    .back-to-top {
        bottom: 80px;
    }
    
    .footer {
        padding-bottom: 30px;
    }
}

/* Hot Jobs Section */
.hot-jobs {
    padding: 60px 0;
    background: linear-gradient(135deg, #fff5f5 0%, #fff0e6 100%);
}

.hot-jobs .section-header h2 {
    color: #dc2626;
}

.hot-jobs .section-header h2 i {
    color: #f97316;
    animation: flame 0.5s ease-in-out infinite alternate;
}

@keyframes flame {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hot-jobs-table-wrapper {
    overflow-x: auto;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 2px solid #fed7aa;
}

.hot-jobs-table {
    width: 100%;
    border-collapse: collapse;
}

.hot-jobs-table thead {
    background: linear-gradient(135deg, #dc2626 0%, #f97316 100%);
    color: var(--white);
}

.hot-jobs-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hot-jobs-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--gray-100);
}

.hot-jobs-table tbody tr {
    transition: var(--transition);
}

.hot-jobs-table tbody tr:hover {
    background: #fff7ed;
}

.hot-jobs-table tbody tr:nth-child(even) {
    background: #fffbeb;
}

.hot-jobs-table tbody tr:nth-child(even):hover {
    background: #fff7ed;
}

.hot-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #dc2626 0%, #f97316 100%);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 10px;
    animation: pulse 1.5s ease-in-out infinite;
    text-transform: uppercase;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.btn-hot {
    background: linear-gradient(135deg, #dc2626 0%, #f97316 100%);
    color: var(--white);
    border: none;
    font-weight: 600;
}

.btn-hot:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #ea580c 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.deadline-urgent {
    color: #dc2626;
    font-weight: 600;
}

.section-footer {
    text-align: center;
    margin-top: 30px;
}

/* Jobs Table Section */
.jobs-table-section {
    padding: 80px 0;
    background: var(--white);
}

.jobs-table-wrapper {
    overflow-x: auto;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.jobs-table {
    width: 100%;
    border-collapse: collapse;
}

.jobs-table thead {
    background: var(--gray-100);
}

.jobs-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
    border-bottom: 2px solid var(--gray-200);
}

.jobs-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.95rem;
}

.jobs-table tbody tr {
    transition: var(--transition);
}

.jobs-table tbody tr:hover {
    background: var(--gray-50);
}

.jobs-table tbody tr:nth-child(even) {
    background: var(--gray-50);
}

.jobs-table tbody tr:nth-child(even):hover {
    background: var(--gray-100);
}

.jobs-table .date-cell {
    color: var(--gray-500);
    font-size: 0.875rem;
    white-space: nowrap;
}

.jobs-table .title-cell a,
.hot-jobs-table .title-cell a {
    color: var(--gray-800);
    font-weight: 600;
    transition: var(--transition);
}

.jobs-table .title-cell a:hover,
.hot-jobs-table .title-cell a:hover {
    color: var(--primary);
}

.jobs-table .company-cell a,
.hot-jobs-table .company-cell a {
    color: var(--gray-600);
    transition: var(--transition);
}

.jobs-table .company-cell a:hover,
.hot-jobs-table .company-cell a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.jobs-table .location-cell,
.hot-jobs-table .location-cell {
    color: var(--gray-500);
}

.hot-jobs-table .location-cell i {
    color: var(--primary);
    margin-right: 5px;
}

.jobs-table .deadline-cell {
    color: var(--gray-600);
    white-space: nowrap;
}

/* Browse Jobs Tabs Section */
.browse-jobs-tabs {
    padding: 80px 0;
    background: var(--gray-100);
}

.tabs-navigation {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    color: var(--gray-600);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.tab-btn i {
    font-size: 1rem;
}

.tabs-content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.browse-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.browse-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    color: var(--gray-700);
    transition: var(--transition);
    font-size: 0.9rem;
}

.browse-item:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.browse-item i {
    color: var(--primary);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.browse-item:hover i {
    color: var(--white);
}

.browse-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.browse-count {
    color: var(--gray-400);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.browse-item:hover .browse-count {
    color: rgba(255, 255, 255, 0.8);
}

.tab-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-100);
}

.see-more-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.see-more-link:hover {
    color: var(--primary-dark);
    gap: 10px;
}

/* Responsive for new sections */
@media (max-width: 1200px) {
    .browse-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .browse-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hot-jobs-table th:nth-child(1),
    .hot-jobs-table td:nth-child(1) {
        display: none;
    }
}

@media (max-width: 768px) {
    .browse-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tabs-navigation {
        gap: 8px;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 0.875rem;
    }
    
    .tabs-content {
        padding: 20px;
    }
    
    .hot-jobs-table th:nth-child(4),
    .hot-jobs-table td:nth-child(4),
    .jobs-table th:nth-child(1),
    .jobs-table td:nth-child(1) {
        display: none;
    }
    
    .hot-jobs,
    .jobs-table-section,
    .browse-jobs-tabs {
        padding: 50px 0;
    }
}

@media (max-width: 576px) {
    .browse-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-btn span {
        display: none;
    }
    
    .tab-btn {
        padding: 12px 20px;
    }
    
    .hot-jobs-table th:nth-child(3),
    .hot-jobs-table td:nth-child(3),
    .jobs-table th:nth-child(4),
    .jobs-table td:nth-child(4) {
        display: none;
    }
    
    .hot-badge {
        display: block;
        margin-left: 0;
        margin-top: 5px;
        width: fit-content;
    }
}

/* View Toggle Buttons */
.view-toggle-btns {
    display: flex;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.view-toggle-btn {
    background: var(--white);
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    color: var(--gray-500);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-toggle-btn:first-child {
    border-right: 1px solid var(--gray-200);
}

.view-toggle-btn:hover {
    background: var(--gray-100);
    color: var(--gray-700);
}

.view-toggle-btn.active {
    background: var(--primary);
    color: var(--white);
}

.view-toggle-btn.active:hover {
    background: var(--primary-dark);
}

/* Jobs Table View */
.jobs-table-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.jobs-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.jobs-table thead {
    background: var(--gray-50);
    border-bottom: 2px solid var(--gray-200);
}

.jobs-table th {
    padding: 16px 14px;
    text-align: left;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.875rem;
    white-space: nowrap;
}

.jobs-table th.sortable {
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.jobs-table th.sortable:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.jobs-table th.sortable i {
    margin-left: 6px;
    font-size: 0.75rem;
    opacity: 0.5;
}

.jobs-table th.sortable.asc i,
.jobs-table th.sortable.desc i {
    opacity: 1;
    color: var(--primary);
}

.jobs-table tbody tr {
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

.jobs-table tbody tr:nth-child(even) {
    background: var(--gray-50);
}

.jobs-table tbody tr:hover {
    background: #eef2ff;
}

.jobs-table td {
    padding: 14px;
    font-size: 0.9rem;
    color: var(--gray-700);
    vertical-align: middle;
}

.table-date .date-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--gray-100);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--gray-600);
    white-space: nowrap;
}

.table-title .job-title-link {
    font-weight: 600;
    color: var(--gray-800);
    display: block;
    margin-bottom: 6px;
}

.table-title .job-title-link:hover {
    color: var(--primary);
}

.job-type-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.type-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.type-badge.type-full-time {
    background: #dcfce7;
    color: #16a34a;
}

.type-badge.type-part-time {
    background: #fef3c7;
    color: #d97706;
}

.type-badge.type-contract {
    background: #dbeafe;
    color: #2563eb;
}

.type-badge.type-remote {
    background: #f3e8ff;
    color: #9333ea;
}

.type-badge.type-internship {
    background: #fce7f3;
    color: #db2777;
}

.type-badge.type-featured {
    background: var(--primary);
    color: var(--white);
}

.table-company .company-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.company-logo-sm {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
}

.company-logo-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.table-company a {
    color: var(--gray-700);
    font-weight: 500;
}

.table-company a:hover {
    color: var(--primary);
}

.table-location {
    white-space: nowrap;
}

.table-location i {
    color: var(--gray-400);
    margin-right: 4px;
}

.table-salary {
    font-weight: 600;
    color: var(--success);
    white-space: nowrap;
}

.table-deadline .deadline-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.table-deadline .deadline-badge .days-left {
    font-size: 0.75rem;
    opacity: 0.9;
}

.table-deadline .deadline-urgent {
    background: #fef2f2;
    color: var(--danger);
    font-weight: 600;
}

.table-deadline .deadline-past {
    background: var(--gray-100);
    color: var(--gray-500);
    text-decoration: line-through;
}

.table-deadline .no-deadline {
    color: var(--gray-400);
    font-style: italic;
}

.table-action .applied-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--success);
    font-weight: 600;
    font-size: 0.85rem;
}

/* Job Card Deadline Styling */
.job-deadline {
    background: #fef3c7 !important;
    color: #d97706 !important;
}

.job-deadline.deadline-urgent {
    background: #fef2f2 !important;
    color: var(--danger) !important;
    font-weight: 600;
    animation: pulse-urgent 2s infinite;
}

.job-deadline.deadline-past {
    background: var(--gray-200) !important;
    color: var(--gray-500) !important;
    text-decoration: line-through;
}

@keyframes pulse-urgent {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Mobile Responsive Table */
@media (max-width: 992px) {
    .view-toggle-btns {
        order: -1;
    }
    
    .jobs-table-wrapper {
        margin: 0 -10px;
        border-radius: 0;
    }
}

@media (max-width: 768px) {
    .jobs-table th:nth-child(4),
    .jobs-table td:nth-child(4),
    .jobs-table th:nth-child(5),
    .jobs-table td:nth-child(5) {
        display: none;
    }
    
    .jobs-table th,
    .jobs-table td {
        padding: 12px 10px;
    }
    
    .table-title .job-title-link {
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    .view-toggle-btn {
        padding: 8px 12px;
    }
    
    .jobs-table th:nth-child(3),
    .jobs-table td:nth-child(3),
    .jobs-table th:nth-child(6),
    .jobs-table td:nth-child(6) {
        display: none;
    }
    
    .jobs-table {
        min-width: 400px;
    }
    
    .type-badge {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
}

/* Professions Page Styles */
.professions-page {
    padding: 40px 0 80px;
}

.professions-header {
    text-align: center;
    margin-bottom: 40px;
}

.professions-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.professions-header p {
    font-size: 1.1rem;
    color: var(--gray-500);
}

.alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.alphabet-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.alphabet-btn:hover:not(.disabled) {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
}

.alphabet-btn.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.alphabet-btn.disabled {
    color: var(--gray-300);
    background: var(--gray-50);
    cursor: not-allowed;
}

.professions-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 1rem;
    color: var(--gray-600);
}

.professions-count i {
    color: var(--primary);
}

.professions-count .filter-label {
    background: var(--primary-light);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
}

.professions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.profession-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    border: 2px solid transparent;
}

.profession-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.profession-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.profession-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.profession-info {
    flex: 1;
    min-width: 0;
}

.profession-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profession-jobs {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.profession-arrow {
    color: var(--gray-400);
    transition: var(--transition);
}

.profession-card:hover .profession-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

.professions-grid .no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.professions-grid .no-results i {
    font-size: 3rem;
    color: var(--gray-300);
    margin-bottom: 20px;
}

.professions-grid .no-results h3 {
    font-size: 1.5rem;
    color: var(--gray-700);
    margin-bottom: 10px;
}

.professions-grid .no-results p {
    color: var(--gray-500);
    margin-bottom: 20px;
}

@media (max-width: 1024px) {
    .professions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .professions-header h1 {
        font-size: 2rem;
    }
    
    .alphabet-filter {
        padding: 15px;
        gap: 6px;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .alphabet-filter::-webkit-scrollbar {
        display: none;
    }
    
    .alphabet-btn {
        min-width: 36px;
        height: 36px;
        font-size: 0.8rem;
        flex-shrink: 0;
    }
    
    .professions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .profession-card {
        padding: 15px;
    }
    
    .profession-icon {
        width: 40px;
        height: 40px;
    }
    
    .profession-icon i {
        font-size: 1rem;
    }
    
    .profession-info h3 {
        font-size: 0.9rem;
    }
    
    .profession-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .professions-page {
        padding: 30px 0 60px;
    }
    
    .professions-header h1 {
        font-size: 1.75rem;
    }
    
    .professions-header p {
        font-size: 1rem;
    }
    
    .professions-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .profession-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 10px;
    }
    
    .profession-info h3 {
        white-space: normal;
    }
}

/* Cities Page Styles */
.cities-page {
    padding: 60px 0;
    min-height: 60vh;
}

.cities-header {
    text-align: center;
    margin-bottom: 40px;
}

.cities-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.cities-header p {
    font-size: 1.1rem;
    color: var(--gray-500);
}

.cities-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 1rem;
    color: var(--gray-600);
}

.cities-count i {
    color: var(--primary);
}

.cities-count .filter-label {
    background: var(--primary-light);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.city-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    border: 2px solid transparent;
}

.city-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.city-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.city-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.city-info {
    flex: 1;
    min-width: 0;
}

.city-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.city-country {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.city-jobs {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.job-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: var(--success);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 12px;
    margin-right: 4px;
}

.city-arrow {
    color: var(--gray-400);
    transition: var(--transition);
}

.city-card:hover .city-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

.cities-grid .no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
}

.cities-grid .no-results i {
    font-size: 3rem;
    color: var(--gray-300);
    margin-bottom: 20px;
}

.cities-grid .no-results h3 {
    font-size: 1.5rem;
    color: var(--gray-700);
    margin-bottom: 10px;
}

.cities-grid .no-results p {
    color: var(--gray-500);
    margin-bottom: 20px;
}

@media (max-width: 1024px) {
    .cities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cities-header h1 {
        font-size: 2rem;
    }
    
    .cities-header p {
        font-size: 1rem;
    }
    
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .cities-header h1 {
        font-size: 1.5rem;
    }
    
    .cities-header p {
        font-size: 1rem;
    }
    
    .cities-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .city-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 10px;
    }
    
    .city-info h3 {
        white-space: normal;
    }
}

/* Company Directory Page */
.companies-page {
    padding: 40px 0 80px;
}

.companies-header {
    text-align: center;
    margin-bottom: 30px;
}

.companies-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.companies-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
}

.companies-search-box {
    max-width: 600px;
    margin: 0 auto 30px;
}

.company-search-form {
    display: flex;
    gap: 12px;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.search-input-wrapper input {
    width: 100%;
    padding: 14px 40px 14px 45px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    padding: 5px;
}

.search-clear:hover {
    color: var(--danger);
}

.companies-count {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    padding: 12px 20px;
    background: var(--gray-100);
    border-radius: var(--radius);
    font-weight: 500;
    color: var(--gray-700);
    flex-wrap: wrap;
}

.companies-count i {
    color: var(--primary);
}

.companies-count .filter-label {
    background: var(--primary);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.companies-count .companies-with-jobs {
    color: var(--gray-500);
    font-weight: 400;
    font-size: 0.9rem;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.company-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 2px solid transparent;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.company-card.has-jobs {
    border-left: 3px solid var(--success);
}

.company-card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.company-card-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
    border: 3px solid var(--gray-200);
    transition: var(--transition);
}

.company-card:hover .company-card-logo {
    border-color: var(--primary);
}

.company-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-initials-large {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    background: linear-gradient(135deg, var(--gray-100) 0%, #e0e7ff 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-card-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 10px;
    line-height: 1.3;
}

.company-job-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: #dcfce7;
    color: var(--success);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 12px;
}

.company-job-badge.no-jobs {
    background: var(--gray-100);
    color: var(--gray-500);
}

.company-card-desc {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 15px;
    flex: 1;
}

.company-card-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--gray-100);
}

.company-card-actions .btn {
    flex: 1;
    min-width: 100px;
    padding: 8px 12px;
    font-size: 0.85rem;
}

/* Company Logo Carousel on Homepage */
.company-logos-section {
    padding: 60px 0;
    background: var(--white);
}

.company-logos-section .section-header {
    margin-bottom: 40px;
}

.company-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.company-logo-item {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 15px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.company-logo-item:hover {
    background: var(--white);
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.company-logo-item img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(50%);
    opacity: 0.7;
    transition: var(--transition);
}

.company-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.company-logo-item .company-initials-small {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-500);
    transition: var(--transition);
}

.company-logo-item:hover .company-initials-small {
    color: var(--primary);
}

.company-logos-footer {
    text-align: center;
    margin-top: 40px;
}

/* Responsive Company Directory */
@media (max-width: 1200px) {
    .companies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .company-logos-grid {
        gap: 20px;
    }
    
    .company-logo-item {
        width: 100px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .companies-header h1 {
        font-size: 2rem;
    }
    
    .companies-header p {
        font-size: 1rem;
    }
    
    .company-search-form {
        flex-direction: column;
    }
    
    .company-search-form .btn {
        width: 100%;
    }
    
    .companies-count {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .companies-grid {
        grid-template-columns: 1fr;
    }
    
    .company-card {
        padding: 20px;
    }
    
    .company-card-actions {
        flex-direction: column;
    }
    
    .company-card-actions .btn {
        width: 100%;
    }
    
    .company-logos-grid {
        gap: 15px;
    }
    
    .company-logo-item {
        width: 80px;
        height: 60px;
        padding: 10px;
    }
}

/* Sector Badges */
.sector-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sector-badge i {
    font-size: 0.7rem;
}

.sector-government {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.sector-private {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
}

.sector-semi-government {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.sector-ngo {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
}

/* Sector Jobs Section */
.sector-jobs-section {
    padding: 60px 0;
    background: var(--white);
}

.sector-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.sector-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.sector-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.sector-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.sector-tab .sector-count {
    font-size: 0.8rem;
    opacity: 0.8;
}

.sector-tab i {
    font-size: 1rem;
}

.sector-content {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.sector-cell {
    white-space: nowrap;
}

/* Sector filter quick links */
.sector-quick-links {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.sector-quick-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 25px;
    color: var(--gray-600);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.sector-quick-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--gray-50);
}

.sector-quick-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Responsive Sector Tabs */
@media (max-width: 768px) {
    .sector-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .sector-tab {
        padding: 10px 14px;
        font-size: 0.8rem;
    }
    
    .sector-tab .sector-count {
        display: none;
    }
    
    .sector-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .sector-tab {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
        padding: 10px 8px;
    }
    
    .sector-badge {
        font-size: 0.65rem;
        padding: 3px 8px;
    }
}

/* Overseas Jobs Section */
.overseas-jobs-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
}

.overseas-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.overseas-job-card {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #0891b2 0%, #0e7490 100%) border-box;
    position: relative;
    overflow: hidden;
}

.overseas-job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
}

.overseas-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    color: white;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.overseas-badge i {
    font-size: 0.7rem;
}

.btn-overseas {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    color: white;
    border: none;
}

.btn-overseas:hover {
    background: linear-gradient(135deg, #0e7490 0%, #155e75 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* Overseas Jobs Page */
.overseas-jobs-page {
    min-height: 100vh;
}

.overseas-hero {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.overseas-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.overseas-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.overseas-filters {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.overseas-filter-form {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.overseas-filter-form .filter-group {
    flex: 1;
    min-width: 200px;
}

.overseas-filter-form .filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-700);
}

.overseas-filter-form .filter-group label i {
    color: var(--primary);
    margin-right: 6px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    margin: 20px 0;
}

.no-results h3 {
    margin-bottom: 10px;
    color: var(--gray-700);
}

.no-results p {
    color: var(--gray-500);
    margin-bottom: 20px;
}

/* Responsive Overseas Section */
@media (max-width: 768px) {
    .overseas-jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .overseas-hero h1 {
        font-size: 1.8rem;
    }
    
    .overseas-filter-form {
        flex-direction: column;
    }
    
    .overseas-filter-form .filter-group {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .overseas-hero {
        padding: 40px 0;
    }
    
    .overseas-hero h1 {
        font-size: 1.5rem;
    }
    
    .overseas-badge {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
}

/* Experience Level Badges */
.job-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.exp-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.exp-badge i {
    font-size: 0.75rem;
}

.exp-badge-fresh {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    border: 1px solid #86efac;
}

.exp-badge-entry {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.exp-badge-mid {
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
    color: #c2410c;
    border: 1px solid #fdba74;
}

.exp-badge-senior {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    color: #6b21a8;
    border: 1px solid #c4b5fd;
}

.exp-badge-executive {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 1px solid #fbbf24;
}

/* Education Badge */
.edu-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    background: var(--gray-100);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}

.edu-badge i {
    font-size: 0.7rem;
    color: var(--gray-500);
}

/* Walk-in Interview Badge */
.walkin-badge-container {
    margin-bottom: 10px;
}

.walkin-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: white;
    animation: walkin-pulse 2s ease-in-out infinite;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.4);
}

.walkin-badge i {
    font-size: 0.9rem;
}

@keyframes walkin-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 10px rgba(239, 68, 68, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 4px 15px rgba(239, 68, 68, 0.6);
    }
}

/* Responsive adjustments for job badges */
@media (max-width: 768px) {
    .job-badges-row {
        gap: 6px;
    }
    
    .exp-badge {
        padding: 4px 10px;
        font-size: 0.75rem;
    }
    
    .edu-badge {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    
    .walkin-badge {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* ========================================
   TOOLS PAGES STYLES
   ======================================== */

/* Hero Small Variant */
.hero.hero-small {
    padding: 60px 0;
}

.hero.hero-small h1 {
    font-size: 2.5rem;
}

.hero.hero-small p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Tools Section */
.tools-section {
    padding: 80px 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.tool-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: var(--transition);
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.tool-card:hover::before {
    height: 6px;
}

.tool-card-blue::before {
    background: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
}

.tool-card-green::before {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.tool-card-purple::before {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
}

.tool-card-orange::before {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
}

.tool-card .tool-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    transition: var(--transition);
}

.tool-card-blue .tool-icon {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    color: var(--primary);
}

.tool-card-green .tool-icon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.1) 100%);
    color: var(--success);
}

.tool-card-purple .tool-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    color: #8b5cf6;
}

.tool-card-orange .tool-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
    color: var(--warning);
}

.tool-card:hover .tool-icon {
    transform: scale(1.1);
}

.tool-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 15px;
}

.tool-card p {
    color: var(--gray-600);
    margin-bottom: 25px;
    line-height: 1.6;
}

.tool-card .btn {
    width: 100%;
}

/* Typing Test Styles */
.typing-test-section {
    padding: 60px 0 100px;
}

.typing-test-container {
    max-width: 900px;
    margin: 0 auto;
}

.typing-instructions {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    text-align: center;
}

.typing-instructions h2 {
    font-size: 1.5rem;
    color: var(--gray-800);
    margin-bottom: 25px;
}

.typing-instructions h2 i {
    color: var(--primary);
    margin-right: 10px;
}

.typing-instructions ul {
    list-style: none;
    text-align: left;
    max-width: 500px;
    margin: 0 auto 30px;
}

.typing-instructions li {
    padding: 12px 0;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}

.typing-instructions li:last-child {
    border-bottom: none;
}

.typing-instructions li i {
    color: var(--success);
    margin-right: 12px;
    width: 20px;
}

.correct-example {
    color: var(--success);
    font-weight: 600;
}

.wrong-example {
    color: var(--danger);
    font-weight: 600;
}

/* Typing Stats */
.typing-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    min-width: 120px;
}

.stat-box .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-box .stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 5px;
}

/* Typing Area */
.typing-area {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
}

.text-display {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.2rem;
    line-height: 2;
    padding: 25px;
    background: var(--gray-50);
    border-radius: var(--radius);
    margin-bottom: 25px;
    min-height: 150px;
    word-wrap: break-word;
}

.char-correct {
    color: var(--success);
    background: rgba(34, 197, 94, 0.1);
}

.char-wrong {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.2);
    text-decoration: underline;
}

.char-current {
    background: rgba(79, 70, 229, 0.2);
    border-bottom: 2px solid var(--primary);
    animation: blink 1s infinite;
}

.char-pending {
    color: var(--gray-500);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.typing-input {
    width: 100%;
    padding: 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    resize: none;
    min-height: 120px;
    transition: var(--transition);
}

.typing-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Results Panel */
.typing-results {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow);
    text-align: center;
}

.typing-results h2 {
    font-size: 1.8rem;
    color: var(--gray-800);
    margin-bottom: 40px;
}

.typing-results h2 i {
    color: var(--warning);
    margin-right: 10px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.result-card {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 25px 20px;
}

.result-card .result-icon {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.result-card .result-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
}

.result-card .result-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 5px;
}

.result-rating .result-icon {
    color: var(--warning);
}

.rating-excellent { color: var(--success) !important; }
.rating-good { color: #3b82f6 !important; }
.rating-average { color: var(--warning) !important; }
.rating-needs-practice { color: var(--danger) !important; }

.rating-scale {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius);
}

.rating-item {
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
}

.rating-item.excellent {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.rating-item.good {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.rating-item.average {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.rating-item.needs-practice {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* Responsive Tools */
@media (max-width: 768px) {
    .hero.hero-small h1 {
        font-size: 1.8rem;
    }
    
    .hero.hero-small p {
        font-size: 1rem;
    }
    
    .tools-section {
        padding: 50px 0;
    }
    
    .tool-card {
        padding: 30px 20px;
    }
    
    .tool-card .tool-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .typing-test-section {
        padding: 40px 0 80px;
    }
    
    .typing-instructions {
        padding: 30px 20px;
    }
    
    .typing-stats {
        gap: 10px;
    }
    
    .stat-box {
        padding: 15px 20px;
        min-width: 100px;
    }
    
    .stat-box .stat-value {
        font-size: 1.5rem;
    }
    
    .typing-area {
        padding: 20px;
    }
    
    .text-display {
        font-size: 1rem;
        padding: 20px;
        line-height: 1.8;
    }
    
    .typing-input {
        font-size: 1rem;
        padding: 15px;
    }
    
    .typing-results {
        padding: 30px 20px;
    }
    
    .results-grid {
        gap: 15px;
    }
    
    .result-card .result-value {
        font-size: 1.5rem;
    }
    
    .rating-scale {
        flex-direction: column;
        align-items: center;
    }
}

/* Resume Builder Styles */
.resume-builder-section {
    padding: 60px 0 100px;
    background: var(--gray-50);
}

.resume-builder-container {
    max-width: 900px;
    margin: 0 auto;
}

.progress-container {
    margin-bottom: 40px;
}

.progress-bar {
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 3px;
    width: 0%;
    transition: width 0.4s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.progress-step.active .step-circle {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
}

.progress-step.completed .step-circle {
    background: var(--success);
    color: var(--white);
}

.step-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: var(--gray-800);
}

.resume-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

.form-step h2 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-step h2 i {
    color: var(--primary);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.form-group label .required {
    color: var(--danger);
}

.form-group label .optional {
    color: var(--gray-400);
    font-weight: 400;
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.entry-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 20px;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.entry-number {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.btn-remove {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--danger);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-remove:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.btn-add {
    margin-top: 10px;
}

.skill-input-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.skill-input-container input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
}

.skill-input-container input:focus {
    outline: none;
    border-color: var(--primary);
}

.skill-input-container select {
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.95rem;
    background: var(--white);
    cursor: pointer;
}

.form-hint {
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-top: 8px;
}

.skills-display {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    animation: fadeInUp 0.3s ease;
}

.skill-tag.skill-beginner {
    background: #e0e7ff;
    color: var(--primary);
}

.skill-tag.skill-intermediate {
    background: #fef9c3;
    color: #ca8a04;
}

.skill-tag.skill-expert {
    background: #dcfce7;
    color: #16a34a;
}

.skill-name {
    font-weight: 500;
}

.skill-level {
    font-size: 0.75rem;
    opacity: 0.8;
    padding: 2px 8px;
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
}

.skill-remove {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.15);
    color: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: var(--transition);
}

.skill-remove:hover {
    background: rgba(0,0,0,0.25);
}

.template-selector {
    margin-bottom: 30px;
}

.template-selector label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 12px;
    display: block;
}

.template-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.template-btn {
    padding: 12px 24px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    cursor: pointer;
    font-weight: 500;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.template-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.template-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.resume-preview-container {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    min-height: 600px;
    max-height: 800px;
    overflow-y: auto;
}

.resume-preview {
    padding: 40px;
}

.resume-preview .resume-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary);
}

.resume-preview .resume-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.resume-preview .resume-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.resume-preview .resume-contact span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.resume-preview .resume-contact i {
    color: var(--primary);
}

.resume-preview .resume-section {
    margin-bottom: 25px;
}

.resume-preview .resume-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 8px;
}

.resume-preview .resume-section-title i {
    font-size: 0.95rem;
}

.resume-preview .resume-summary {
    color: var(--gray-600);
    line-height: 1.7;
}

.resume-preview .resume-entry {
    margin-bottom: 20px;
}

.resume-preview .resume-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
    flex-wrap: wrap;
    gap: 10px;
}

.resume-preview .resume-entry-title {
    font-weight: 600;
    color: var(--gray-900);
}

.resume-preview .resume-entry-date {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.resume-preview .resume-entry-subtitle {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 8px;
}

.resume-preview .resume-entry-grade {
    color: var(--gray-500);
    font-size: 0.9rem;
    font-style: italic;
}

.resume-preview .resume-entry-description ul {
    margin-left: 20px;
    color: var(--gray-600);
}

.resume-preview .resume-entry-description li {
    margin-bottom: 5px;
}

.resume-preview .resume-entry-description p {
    color: var(--gray-600);
}

.resume-preview .resume-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.resume-preview .resume-skill-badge {
    background: #eef2ff;
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.resume-preview .resume-skill-badge.skill-expert {
    background: #dcfce7;
    color: #16a34a;
}

.resume-preview .resume-skill-badge.skill-intermediate {
    background: #fef9c3;
    color: #ca8a04;
}

.resume-preview .resume-skill-badge.skill-beginner {
    background: #e0e7ff;
    color: var(--primary);
}

.resume-preview.template-modern .resume-header {
    background: var(--gradient);
    color: var(--white);
    padding: 40px;
    margin: -40px -40px 30px -40px;
    border-bottom: none;
    border-radius: var(--radius) var(--radius) 0 0;
}

.resume-preview.template-modern .resume-name {
    color: var(--white);
}

.resume-preview.template-modern .resume-contact {
    color: rgba(255,255,255,0.9);
}

.resume-preview.template-modern .resume-contact i {
    color: var(--white);
}

.resume-preview.template-simple .resume-header {
    border-bottom: 1px solid var(--gray-300);
}

.resume-preview.template-simple .resume-section-title {
    color: var(--gray-800);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.download-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-200);
}

.printable-resume {
    display: none;
}

@media print {
    .printable-resume {
        display: block;
    }
}

@media (max-width: 768px) {
    .resume-builder-section {
        padding: 40px 0 80px;
    }

    .resume-form {
        padding: 25px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .progress-steps {
        gap: 10px;
    }

    .step-circle {
        width: 35px;
        height: 35px;
        font-size: 0.85rem;
    }

    .step-label {
        font-size: 0.75rem;
    }

    .form-step h2 {
        font-size: 1.25rem;
    }

    .entry-card {
        padding: 20px 15px;
    }

    .skill-input-container {
        flex-direction: column;
    }

    .skill-input-container input,
    .skill-input-container select {
        width: 100%;
    }

    .template-options {
        flex-direction: column;
    }

    .template-btn {
        width: 100%;
        justify-content: center;
    }

    .resume-preview {
        padding: 25px 20px;
    }

    .resume-preview .resume-name {
        font-size: 22px;
    }

    .resume-preview .resume-contact {
        flex-direction: column;
        gap: 8px;
    }

    .resume-preview.template-modern .resume-header {
        margin: -25px -20px 25px -20px;
        padding: 30px 20px;
    }

    .download-actions {
        flex-direction: column;
    }

    .download-actions .btn {
        width: 100%;
    }

    .form-navigation {
        flex-direction: column-reverse;
        gap: 15px;
    }

    .form-navigation .btn {
        width: 100%;
    }
}

/* ========================================
   Skill Quiz Styles
   ======================================== */

.skill-quiz-section {
    padding: 60px 0;
}

.quiz-intro {
    text-align: center;
    margin-bottom: 40px;
}

.quiz-intro h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.quiz-intro p {
    color: var(--gray-500);
    font-size: 1.1rem;
}

.quiz-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.quiz-category-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.quiz-category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.quiz-category-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
}

.quiz-category-card:hover .quiz-category-icon {
    transform: scale(1.1);
}

.quiz-category-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.quiz-category-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 15px;
    min-height: 40px;
}

.quiz-category-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.quiz-category-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.quiz-category-meta i {
    color: var(--primary);
}

.quiz-high-scores {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.quiz-high-scores h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quiz-high-scores h3 i {
    color: var(--warning);
}

.high-scores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.no-scores {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--gray-500);
    padding: 20px;
}

.high-score-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--gray-300);
    position: relative;
}

.high-score-card.excellent { border-left-color: var(--success); }
.high-score-card.good { border-left-color: var(--primary); }
.high-score-card.average { border-left-color: var(--warning); }
.high-score-card.needs-improvement { border-left-color: var(--danger); }

.high-score-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.high-score-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 3px;
}

.high-score-info p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.high-score-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background: var(--warning);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.85rem;
}

/* Quiz Instructions */
.quiz-instructions-container {
    max-width: 700px;
    margin: 0 auto;
}

.quiz-instructions-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.quiz-instructions-header {
    background: var(--gradient);
    padding: 40px;
    text-align: center;
    color: var(--white);
}

.quiz-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.quiz-instructions-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
}

.quiz-instructions-body {
    padding: 40px;
}

.quiz-instructions-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quiz-instructions-body h3 i {
    color: var(--primary);
}

.instructions-list {
    list-style: none;
    margin-bottom: 30px;
}

.instructions-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
}

.instructions-list li i {
    color: var(--success);
    margin-top: 3px;
}

.quiz-scoring h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 15px;
}

.scoring-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.score-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.score-badge.excellent {
    background: #dcfce7;
    color: #166534;
}

.score-badge.good {
    background: #dbeafe;
    color: #1e40af;
}

.score-badge.average {
    background: #fef3c7;
    color: #92400e;
}

.score-badge.needs-improvement {
    background: #fee2e2;
    color: #991b1b;
}

.quiz-instructions-footer {
    padding: 30px 40px;
    background: var(--gray-50);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Quiz Question Panel */
.quiz-question-container {
    max-width: 800px;
    margin: 0 auto;
}

.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    padding: 20px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

.quiz-progress {
    flex: 1;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 8px;
    font-weight: 500;
}

.quiz-progress-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
    max-width: 300px;
}

.quiz-progress-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.quiz-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    background: var(--gray-100);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
}

.quiz-timer i {
    color: var(--primary);
}

.quiz-timer.warning {
    background: #fef3c7;
    color: #92400e;
}

.quiz-timer.warning i {
    color: #f59e0b;
}

.quiz-timer.danger {
    background: #fee2e2;
    color: #991b1b;
    animation: pulse 1s infinite;
}

.quiz-timer.danger i {
    color: #ef4444;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.quiz-question-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.question-number {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.question-text {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.5;
    margin-bottom: 30px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.quiz-option:hover {
    border-color: var(--primary-light);
    background: #f0f4ff;
}

.quiz-option.selected {
    border-color: var(--primary);
    background: #eef2ff;
}

.quiz-option input[type="radio"] {
    display: none;
}

.option-letter {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--gray-600);
    flex-shrink: 0;
    transition: var(--transition);
}

.quiz-option.selected .option-letter {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.option-text {
    font-size: 1rem;
    color: var(--gray-700);
    flex: 1;
}

.quiz-navigation {
    display: flex;
    justify-content: flex-end;
}

.quiz-navigation .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Quiz Results */
.quiz-results-container {
    max-width: 700px;
    margin: 0 auto;
}

.quiz-results-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.results-header {
    background: var(--gradient);
    padding: 40px;
    text-align: center;
    color: var(--white);
}

.results-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 2.5rem;
}

.results-icon.passed {
    animation: bounce 1s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.results-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.results-header p {
    opacity: 0.9;
}

.results-score {
    padding: 40px;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 6px solid var(--gray-200);
}

.score-circle.excellent { border-color: var(--success); background: #dcfce7; }
.score-circle.good { border-color: var(--primary); background: #dbeafe; }
.score-circle.average { border-color: var(--warning); background: #fef3c7; }
.score-circle.needs-improvement { border-color: var(--danger); background: #fee2e2; }

.score-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.score-total {
    font-size: 1.25rem;
    color: var(--gray-500);
    font-weight: 500;
}

.score-percentage {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.score-grade {
    font-size: 1.25rem;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 20px;
    display: inline-block;
}

.score-grade.excellent { background: #dcfce7; color: #166534; }
.score-grade.good { background: #dbeafe; color: #1e40af; }
.score-grade.average { background: #fef3c7; color: #92400e; }
.score-grade.needs-improvement { background: #fee2e2; color: #991b1b; }

.results-certificate {
    padding: 25px 40px;
    text-align: center;
    background: linear-gradient(135deg, #fef9c3 0%, #fde68a 100%);
    border-bottom: 1px solid var(--gray-200);
}

.certificate-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 10px;
}

.certificate-badge i {
    font-size: 1.5rem;
    color: var(--warning);
}

.certificate-badge span {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 1.1rem;
}

.results-certificate p {
    color: var(--gray-700);
    font-weight: 500;
}

.results-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 30px 40px;
    border-bottom: 1px solid var(--gray-200);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.stat-icon.correct { background: #dcfce7; color: var(--success); }
.stat-icon.wrong { background: #fee2e2; color: var(--danger); }
.stat-icon.time { background: #dbeafe; color: var(--primary); }

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-info .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
}

.stat-info .stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.results-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 30px 40px;
    flex-wrap: wrap;
}

.results-review {
    padding: 30px 40px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.results-review h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-review h3 i {
    color: var(--primary);
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 20px;
    border-left: 4px solid var(--gray-300);
}

.review-item.correct { border-left-color: var(--success); }
.review-item.wrong { border-left-color: var(--danger); }

.review-question {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.review-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-600);
    flex-shrink: 0;
}

.review-status {
    flex-shrink: 0;
}

.review-item.correct .review-status i { color: var(--success); }
.review-item.wrong .review-status i { color: var(--danger); }

.review-question p {
    flex: 1;
    color: var(--gray-800);
    font-weight: 500;
}

.review-answers {
    padding-left: 40px;
}

.user-answer, .correct-answer {
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.user-answer.correct {
    background: #dcfce7;
    color: #166534;
}

.user-answer.wrong {
    background: #fee2e2;
    color: #991b1b;
}

.correct-answer {
    background: #dcfce7;
    color: #166534;
}

/* Responsive Styles for Quiz */
@media (max-width: 992px) {
    .quiz-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .high-scores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .skill-quiz-section {
        padding: 40px 0;
    }
    
    .quiz-categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .high-scores-grid {
        grid-template-columns: 1fr;
    }
    
    .quiz-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .quiz-progress-bar {
        max-width: 100%;
    }
    
    .quiz-question-card {
        padding: 25px;
    }
    
    .question-text {
        font-size: 1.15rem;
    }
    
    .quiz-option {
        padding: 15px;
    }
    
    .quiz-instructions-body,
    .quiz-instructions-footer {
        padding: 25px;
    }
    
    .quiz-instructions-footer {
        flex-direction: column;
        gap: 15px;
    }
    
    .quiz-instructions-footer .btn {
        width: 100%;
    }
    
    .results-stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .results-actions {
        flex-direction: column;
    }
    
    .results-actions .btn {
        width: 100%;
    }
    
    .scoring-badges {
        flex-direction: column;
    }
    
    .score-badge {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .quiz-category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .quiz-category-card h3 {
        font-size: 1.1rem;
    }
    
    .quiz-category-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .option-letter {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }
    
    .score-circle {
        width: 120px;
        height: 120px;
    }
    
    .score-value {
        font-size: 2.5rem;
    }
}

/* Career Aptitude Quiz Styles */
.career-quiz-section {
    padding: 60px 0;
    min-height: 80vh;
}

.career-quiz-intro {
    max-width: 800px;
    margin: 0 auto;
}

.intro-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.intro-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: pulse 2s ease-in-out infinite;
}

.intro-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.intro-card h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.intro-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.intro-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.intro-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-600);
    font-weight: 500;
}

.intro-feature i {
    color: var(--primary);
    font-size: 1.2rem;
}

.career-categories-preview {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 40px;
}

.career-categories-preview h4 {
    color: var(--gray-700);
    margin-bottom: 20px;
    font-size: 1rem;
}

.categories-grid-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.category-preview-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: var(--white);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
}

.category-preview-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.category-preview-item i {
    font-size: 1.1rem;
}

.start-quiz-btn {
    padding: 18px 50px;
    font-size: 1.2rem;
}

/* Quiz Questions Panel */
.career-quiz-questions {
    max-width: 800px;
    margin: 0 auto;
}

.quiz-progress-container {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.quiz-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.progress-text {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 1rem;
}

.career-progress-bar {
    height: 10px;
    background: var(--gray-200);
    border-radius: 5px;
    overflow: hidden;
}

.career-progress-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.question-container {
    perspective: 1000px;
}

.question-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.question-card.animate-in {
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.question-number-badge {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.question-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 35px;
    line-height: 1.5;
}

/* Scale Options */
.scale-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 35px;
}

.scale-option {
    display: block;
    cursor: pointer;
}

.scale-option input {
    display: none;
}

.scale-option-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    transition: var(--transition);
}

.scale-option-content i {
    font-size: 1.2rem;
    color: var(--gray-400);
    width: 25px;
    text-align: center;
}

.scale-option-content span {
    font-weight: 500;
    color: var(--gray-700);
    font-size: 1rem;
}

.scale-option:hover .scale-option-content {
    border-color: var(--primary-light);
    background: var(--white);
}

.scale-option.selected .scale-option-content {
    border-color: var(--primary);
    background: #eef2ff;
}

.scale-option.selected .scale-option-content i {
    color: var(--primary);
}

.scale-option.selected .scale-option-content span {
    color: var(--primary);
}

/* Choice Options */
.choice-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

.choice-option {
    display: block;
    cursor: pointer;
}

.choice-option input {
    display: none;
}

.choice-option-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    transition: var(--transition);
    text-align: left;
    height: 100%;
}

.choice-letter {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--gray-600);
    flex-shrink: 0;
    transition: var(--transition);
}

.choice-text {
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.4;
}

.choice-option:hover .choice-option-content {
    border-color: var(--primary-light);
    background: var(--white);
}

.choice-option.selected .choice-option-content {
    border-color: var(--primary);
    background: #eef2ff;
}

.choice-option.selected .choice-letter {
    background: var(--primary);
    color: var(--white);
}

.choice-option.selected .choice-text {
    color: var(--primary);
}

.next-question-btn {
    min-width: 200px;
}

.next-question-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Quiz Results Panel */
.career-quiz-results {
    max-width: 1000px;
    margin: 0 auto;
}

.results-header-section {
    text-align: center;
    margin-bottom: 50px;
}

.results-trophy {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    animation: bounce 2s ease-in-out infinite;
}

.results-trophy i {
    font-size: 2.5rem;
    color: var(--white);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.results-header-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.results-header-section p {
    font-size: 1.1rem;
    color: var(--gray-600);
}

.top-careers-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.career-result-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px 25px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease backwards;
}

.career-result-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.career-result-card.rank-1 {
    border: 3px solid #fbbf24;
}

.career-result-card.rank-2 {
    border: 3px solid #94a3b8;
}

.career-result-card.rank-3 {
    border: 3px solid #c9844a;
}

.career-rank {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.career-result-card.rank-1 .career-rank {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.career-result-card.rank-2 .career-rank {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
}

.career-result-card.rank-3 .career-rank {
    background: linear-gradient(135deg, #c9844a 0%, #b45309 100%);
}

.career-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto 20px;
}

.career-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.career-match-bar {
    margin-bottom: 20px;
}

.match-percentage {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.match-bar-bg {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.match-bar-fill {
    height: 100%;
    border-radius: 4px;
    width: 0;
}

.career-result-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.career-description {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
}

.career-skills {
    margin-bottom: 20px;
}

.career-skills h4,
.career-jobs h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.career-skills h4 i,
.career-jobs h4 i {
    color: var(--primary);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.skills-list .skill-tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.career-jobs {
    margin-bottom: 20px;
}

.career-jobs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.career-jobs li {
    font-size: 0.9rem;
    color: var(--gray-600);
    padding: 5px 0;
}

.career-jobs li::before {
    content: '•';
    color: var(--primary);
    margin-right: 8px;
}

/* Personality Summary */
.personality-summary {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-lg);
}

.personality-summary h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.personality-summary h3 i {
    color: var(--primary);
}

.personality-traits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.personality-trait {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius);
    transition: var(--transition);
}

.personality-trait:hover {
    background: #eef2ff;
}

.trait-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trait-icon i {
    font-size: 1.2rem;
    color: var(--white);
}

.trait-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 5px;
}

.trait-content p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.results-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Career Quiz Responsive */
@media (max-width: 992px) {
    .categories-grid-preview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .top-careers-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .personality-traits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .career-quiz-section {
        padding: 40px 0;
    }
    
    .intro-card {
        padding: 35px 25px;
    }
    
    .intro-card h2 {
        font-size: 1.6rem;
    }
    
    .intro-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .categories-grid-preview {
        grid-template-columns: 1fr;
    }
    
    .question-card {
        padding: 30px 20px;
    }
    
    .question-text {
        font-size: 1.2rem;
    }
    
    .choice-options {
        grid-template-columns: 1fr;
    }
    
    .results-header-section h2 {
        font-size: 1.8rem;
    }
    
    .personality-summary {
        padding: 30px 20px;
    }
    
    .personality-trait {
        flex-direction: column;
        text-align: center;
    }
    
    .trait-icon {
        margin: 0 auto;
    }
    
    .results-actions {
        flex-direction: column;
    }
    
    .results-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .intro-icon {
        width: 80px;
        height: 80px;
    }
    
    .intro-icon i {
        font-size: 2rem;
    }
    
    .start-quiz-btn {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
    
    .question-text {
        font-size: 1.1rem;
    }
    
    .scale-option-content {
        padding: 15px 18px;
    }
    
    .career-result-card {
        padding: 25px 20px;
    }
    
    .career-icon {
        width: 60px;
        height: 60px;
    }
    
    .career-icon i {
        font-size: 1.5rem;
    }
}

/* ========================================
   FEATURED JOBS MODERN SECTION
   ======================================== */

.featured-jobs-modern {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.section-header-modern {
    text-align: center;
    margin-bottom: 50px;
}

.section-header-modern .header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.section-header-modern h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.section-header-modern p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 500px;
    margin: 0 auto;
}

.featured-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.featured-job-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.featured-job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

.featured-job-card:hover::before {
    transform: scaleX(1);
}

.featured-job-card.highlight {
    border: 2px solid var(--primary);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
}

.featured-ribbon {
    position: absolute;
    top: 15px;
    right: -35px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 6px 45px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(45deg);
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.3);
    letter-spacing: 0.5px;
}

.featured-ribbon i {
    margin-right: 3px;
}

.featured-card-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.featured-company-logo {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.featured-company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-initials {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
}

.featured-job-info {
    flex: 1;
    min-width: 0;
}

.featured-job-info h3 {
    margin: 0 0 6px 0;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
}

.featured-job-info h3 a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-job-info h3 a:hover {
    color: var(--primary);
}

.featured-company-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-company-name:hover {
    color: var(--primary);
}

.verified-badge {
    color: #3b82f6;
    font-size: 0.8rem;
}

.save-job-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f1f5f9;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.save-job-btn:hover {
    background: #fef3c7;
    color: #f59e0b;
}

.save-job-btn.saved {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
}

.save-job-btn.saved i {
    font-weight: 900;
}

.featured-salary-highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #15803d;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.featured-salary-highlight i {
    font-size: 1rem;
}

.featured-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.featured-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.85rem;
}

.featured-meta-item i {
    color: var(--primary);
    width: 16px;
    text-align: center;
}

.featured-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.featured-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f1f5f9;
    color: #475569;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
}

.featured-tag.experience {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1d4ed8;
}

.featured-card-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.btn-featured-outline {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    color: #475569;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-featured-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.btn-featured-primary {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-featured-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-featured-success {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: default;
}

.featured-section-footer {
    text-align: center;
    margin-top: 50px;
}

.btn-browse-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(30, 41, 59, 0.25);
}

.btn-browse-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 41, 59, 0.35);
}

.btn-browse-all i {
    transition: transform 0.3s ease;
}

.btn-browse-all:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .featured-jobs-modern {
        padding: 50px 0;
    }
    
    .section-header-modern h2 {
        font-size: 1.8rem;
    }
    
    .featured-jobs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .featured-job-card {
        padding: 20px;
    }
    
    .featured-meta-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .featured-card-actions {
        flex-direction: column;
    }
    
    .btn-browse-all {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .featured-card-header {
        flex-wrap: wrap;
    }
    
    .save-job-btn {
        position: absolute;
        top: 15px;
        right: 15px;
    }
    
    .featured-ribbon {
        font-size: 0.6rem;
        padding: 5px 40px;
        top: 12px;
        right: -38px;
    }
}

/* ========================================
   RECENT JOBS MODERN SECTION
   ======================================== */

.recent-jobs-modern {
    padding: 80px 0;
    background: #ffffff;
}

.recent-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.recent-header-left {
    flex: 1;
}

.recent-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.recent-header-left h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
}

.recent-header-left p {
    color: #64748b;
    font-size: 1rem;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid var(--primary);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    background: var(--primary);
    color: #ffffff;
}

.view-all-link i {
    transition: transform 0.3s ease;
}

.view-all-link:hover i {
    transform: translateX(5px);
}

.recent-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recent-job-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.recent-job-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.recent-job-item:hover {
    background: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateX(8px);
}

.recent-job-item:hover::before {
    opacity: 1;
}

.recent-job-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #e2e8f0;
    min-width: 40px;
    transition: color 0.3s ease;
}

.recent-job-item:hover .recent-job-number {
    color: var(--primary);
}

.recent-job-logo {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.recent-job-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-initials {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
}

.recent-job-content {
    flex: 1;
    min-width: 0;
}

.recent-job-main h3 {
    margin: 0 0 6px 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.recent-job-main h3 a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-job-main h3 a:hover {
    color: var(--primary);
}

.recent-job-company {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.recent-job-company a {
    color: #64748b;
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.recent-job-company a:hover {
    color: var(--primary);
}

.recent-dot {
    width: 4px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 50%;
}

.recent-location {
    color: #94a3b8;
    font-size: 0.85rem;
}

.recent-location i {
    margin-right: 4px;
    color: var(--primary);
}

.recent-job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.recent-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
}

.recent-tag.type {
    background: #dbeafe;
    color: #1d4ed8;
}

.recent-tag.time {
    background: #fef3c7;
    color: #b45309;
}

.recent-tag.applicants {
    background: #dcfce7;
    color: #15803d;
}

.recent-job-salary {
    text-align: right;
    min-width: 140px;
}

.salary-amount {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 2px;
}

.salary-period {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recent-job-actions {
    min-width: 120px;
    text-align: right;
}

.btn-recent-apply {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}

.btn-recent-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

.btn-recent-apply i {
    transition: transform 0.3s ease;
}

.btn-recent-apply:hover i {
    transform: translateX(4px);
}

.applied-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 10px;
}

@media (max-width: 992px) {
    .recent-job-item {
        flex-wrap: wrap;
    }
    
    .recent-job-salary {
        order: 4;
        min-width: auto;
        text-align: left;
    }
    
    .recent-job-actions {
        order: 5;
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .recent-jobs-modern {
        padding: 50px 0;
    }
    
    .recent-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .recent-header-left h2 {
        font-size: 1.7rem;
    }
    
    .recent-job-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 15px;
    }
    
    .recent-job-item:hover {
        transform: none;
    }
    
    .recent-job-number {
        display: none;
    }
    
    .recent-job-logo {
        width: 50px;
        height: 50px;
    }
    
    .recent-job-content {
        width: 100%;
    }
    
    .recent-job-salary {
        text-align: left;
        padding: 12px 15px;
        background: #f0fdf4;
        border-radius: 10px;
        width: 100%;
    }
    
    .recent-job-actions {
        width: 100%;
        text-align: center;
    }
    
    .btn-recent-apply {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .recent-job-main h3 {
        font-size: 1rem;
    }
    
    .recent-job-tags {
        gap: 6px;
    }
    
    .recent-tag {
        padding: 4px 10px;
        font-size: 0.7rem;
    }
}

/* ===================================
   JOB DETAILS PAGE STYLES
   =================================== */

.job-details-section {
    padding: 40px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

.job-details-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

.job-main-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.job-header-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.job-header-top {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.company-logo-large {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 16px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.company-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.company-logo-large .logo-placeholder {
    font-size: 28px;
    font-weight: 700;
    color: #6366f1;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-header-info {
    flex: 1;
}

.job-header-info h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
    line-height: 1.3;
}

.job-header-info .company-name {
    margin-bottom: 12px;
}

.job-header-info .company-name a {
    font-size: 18px;
    font-weight: 600;
    color: #6366f1;
    text-decoration: none;
    transition: color 0.2s;
}

.job-header-info .company-name a:hover {
    color: #4f46e5;
}

.job-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: #64748b;
    font-size: 14px;
}

.job-meta-row span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-meta-row i {
    color: #94a3b8;
}

.salary-display {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 600;
    color: #059669;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.salary-display i {
    background: #10b981;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.job-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.job-action-buttons .btn {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.job-action-buttons .btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.job-action-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}

.job-action-buttons .btn-outline {
    background: white;
    border: 2px solid #e2e8f0;
    color: #475569;
}

.job-action-buttons .btn-outline:hover {
    border-color: #6366f1;
    color: #6366f1;
}

.job-action-buttons .btn-outline.saved {
    border-color: #ef4444;
    color: #ef4444;
}

.job-action-buttons .btn-success {
    background: #10b981;
    color: white;
}

/* Job Content Cards */
.job-description-card,
.job-requirements-card,
.job-benefits-card,
.job-advertisement-card,
.job-image-card,
.job-responsibilities-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.job-advertisement-card h2,
.job-image-card h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-advertisement-card h2 i,
.job-image-card h2 i {
    color: #4f46e5;
}

.advertisement-image,
.job-main-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.advertisement-image img,
.job-main-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.advertisement-image img:hover,
.job-main-image img:hover {
    transform: scale(1.02);
}

.full-width-image {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.job-description-card h2,
.job-requirements-card h2,
.job-benefits-card h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.job-description-content,
.requirements-content,
.responsibilities-content,
.benefits-content {
    color: #475569;
    font-size: 15px;
    line-height: 1.8;
}

.job-description-content table,
.requirements-content table,
.responsibilities-content table,
.benefits-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.job-description-content table td,
.requirements-content table td,
.responsibilities-content table td,
.benefits-content table td {
    padding: 12px 16px !important;
    border: 1px solid #e2e8f0 !important;
    border-color: #e2e8f0 !important;
    font-size: 14px;
}

.job-description-content table tr:nth-child(odd),
.requirements-content table tr:nth-child(odd),
.responsibilities-content table tr:nth-child(odd),
.benefits-content table tr:nth-child(odd) {
    background: #f8fafc !important;
}

.job-description-content table tr:nth-child(even),
.requirements-content table tr:nth-child(even),
.responsibilities-content table tr:nth-child(even),
.benefits-content table tr:nth-child(even) {
    background: #ffffff !important;
}

.job-description-content table td:first-child,
.requirements-content table td:first-child,
.responsibilities-content table td:first-child,
.benefits-content table td:first-child {
    font-weight: 600;
    color: #1e293b;
    width: 35%;
}

.job-description-content table td:last-child,
.requirements-content table td:last-child,
.responsibilities-content table td:last-child,
.benefits-content table td:last-child {
    color: #4f46e5;
    font-weight: 500;
}

/* Job Information Box - Green Theme */
.job-info-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid #bbf7d0;
}

.job-info-title {
    color: #166534;
    margin: 0 0 15px 0;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.job-info-title i {
    color: #16a34a;
}

.job-info-table {
    width: 100%;
    border-collapse: collapse;
}

.job-info-table tr {
    border-bottom: 1px solid #bbf7d0;
}

.job-info-table tr:last-child {
    border-bottom: none;
}

.job-info-table td {
    padding: 10px 0;
    font-size: 14px;
    vertical-align: middle;
}

.job-info-table td:first-child {
    color: #4b5563;
    font-weight: 500;
    width: 40%;
}

.job-info-table td:first-child i {
    color: #10b981;
    width: 20px;
    margin-right: 8px;
    text-align: center;
}

.job-info-table td:last-child {
    color: #1f2937;
    font-weight: 500;
}

.job-info-table .deadline-row td:first-child i {
    color: #ef4444;
}

.job-info-table .deadline-row .deadline-text {
    color: #dc2626;
    font-weight: 600;
}

.job-info-table .form-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.job-info-table .form-link:hover {
    text-decoration: underline;
}

/* Job Sidebar */
.job-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}

.job-sidebar .glass-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.job-sidebar .glass-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-sidebar .glass-card h3 i {
    color: #4f46e5;
}

/* Quick Apply Card */
.quick-apply-card {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
    color: white;
}

.quick-apply-card h3 {
    color: white !important;
    border-bottom-color: rgba(255,255,255,0.2) !important;
}

.quick-apply-card h3 i {
    color: white !important;
}

.quick-apply-card p {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin-bottom: 15px;
}

.quick-apply-card .deadline-badge {
    background: rgba(255,255,255,0.2);
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-apply-card .btn-primary {
    background: white;
    color: #4f46e5;
    font-weight: 600;
}

.quick-apply-card .btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

/* Company Card in Sidebar */
.job-sidebar .company-card {
    text-align: center;
}

.company-logo-sidebar {
    margin-bottom: 15px;
}

.company-logo-sidebar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
}

.company-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.company-logo-placeholder i {
    font-size: 32px;
    color: #94a3b8;
}

.company-details {
    text-align: left;
    margin-bottom: 15px;
}

.company-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}

.company-detail-item:last-child {
    border-bottom: none;
}

.company-detail-item i {
    color: #4f46e5;
    width: 20px;
    text-align: center;
}

.company-detail-item a {
    color: #4f46e5;
    text-decoration: none;
}

.company-detail-item a:hover {
    text-decoration: underline;
}

/* Job Stats Card */
.job-stats-card .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
}

.stat-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    color: #64748b;
}

/* Share Job Card */
.share-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0a66c2; }
.share-btn.whatsapp { background: #25d366; }

.job-info-box h3 i {
    color: #4f46e5;
}

.info-box-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px;
    background: #f8fafc;
    border-radius: 10px;
}

.info-item.full-width {
    flex-direction: column;
}

.info-item i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    border-radius: 10px;
    font-size: 14px;
    flex-shrink: 0;
}

.info-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-item .label {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.info-item .value {
    font-size: 14px;
    color: #1e293b;
    font-weight: 500;
}

.info-item .value a {
    color: #4f46e5;
    text-decoration: none;
}

.info-item .value a:hover {
    text-decoration: underline;
}

.overview-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.overview-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.overview-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    color: #6366f1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.overview-item > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.overview-item .label {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.overview-item .value {
    font-size: 14px;
    color: #334155;
    font-weight: 500;
}

/* Company Card in Sidebar */
.company-card .company-info {
    text-align: center;
}

.company-card .company-logo-sidebar {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 16px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-card .company-logo-sidebar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.company-card .company-name-sidebar {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.company-card .company-details {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
}

.company-card .btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
}

/* Apply Modal */
.apply-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.apply-modal.active {
    display: flex;
}

.apply-modal-content {
    background: white;
    border-radius: 20px;
    padding: 32px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.apply-modal-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 24px;
    color: #1e293b;
}

.apply-modal-content .form-group {
    margin-bottom: 20px;
}

.apply-modal-content label {
    display: block;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    font-size: 14px;
}

.apply-modal-content textarea {
    width: 100%;
    min-height: 120px;
    padding: 14px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    resize: vertical;
    transition: border-color 0.2s;
}

.apply-modal-content textarea:focus {
    outline: none;
    border-color: #6366f1;
}

.apply-modal-content input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
}

.apply-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.apply-modal-actions .btn {
    flex: 1;
    padding: 14px;
    font-weight: 600;
    border-radius: 10px;
}

/* Responsive Styles for Job Details */
@media (max-width: 1024px) {
    .job-details-grid {
        grid-template-columns: 1fr;
    }
    
    .job-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .job-overview-card,
    .company-card {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .job-details-section {
        padding: 20px 0 100px;
    }
    
    .job-header-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .job-header-info h1 {
        font-size: 22px;
    }
    
    .job-meta-row {
        justify-content: center;
    }
    
    .job-action-buttons {
        flex-direction: column;
    }
    
    .job-action-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .job-header-card,
    .job-description-card,
    .job-requirements-card,
    .job-benefits-card,
    .job-overview-card,
    .company-card {
        padding: 20px;
        border-radius: 16px;
    }
    
    .company-logo-large {
        width: 80px;
        height: 80px;
    }
    
    .job-sidebar {
        flex-direction: column;
    }
    
    .job-overview-card,
    .company-card {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .job-header-info h1 {
        font-size: 20px;
    }
    
    .salary-display {
        font-size: 16px;
        padding: 12px 16px;
    }
    
    .overview-item i {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* ===================================
   RELATED JOBS SECTION
   =================================== */

.related-jobs-section {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.section-header-centered {
    text-align: center;
    margin-bottom: 40px;
}

.section-header-centered h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.section-header-centered h2 i {
    color: #6366f1;
}

.section-header-centered p {
    color: #64748b;
    font-size: 16px;
    margin: 0;
}

.related-jobs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.related-job-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.related-job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.15);
    border-color: #6366f1;
}

.related-job-header {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.related-job-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-job-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.logo-placeholder-sm {
    font-size: 16px;
    font-weight: 700;
    color: #6366f1;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-job-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-company {
    font-size: 13px;
    color: #6366f1;
    font-weight: 500;
}

.related-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #64748b;
    font-size: 13px;
}

.related-job-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.related-job-meta i {
    color: #94a3b8;
    font-size: 11px;
}

.related-job-salary {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #059669;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-job-salary i {
    font-size: 12px;
}

.related-job-cta {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.view-job-btn {
    color: #6366f1;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.related-job-card:hover .view-job-btn {
    gap: 10px;
}

.related-jobs-footer {
    text-align: center;
}

.related-jobs-footer .btn {
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 1200px) {
    .related-jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .related-jobs-section {
        padding: 40px 0 60px;
    }
    
    .section-header-centered h2 {
        font-size: 22px;
    }
    
    .related-jobs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .related-job-card {
        padding: 20px;
    }
}

/* ===================================
   ENHANCED BACKGROUND DESIGNS
   =================================== */

/* Hero Section Enhanced Background */
.hero-section {
    background: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, #667eea 0%, #764ba2 50%, #6B8DD6 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: heroFloat 20s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(255,255,255,0.05), transparent);
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -10px) rotate(2deg); }
    50% { transform: translate(-5px, 5px) rotate(-1deg); }
    75% { transform: translate(-10px, -5px) rotate(1deg); }
}

/* Related Jobs Section Enhanced Background */
.related-jobs-section {
    background: 
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.03'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(180deg, #f8fafc 0%, #eef2ff 50%, #f8fafc 100%);
    position: relative;
}

.related-jobs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899, #6366f1);
    background-size: 300% 100%;
    animation: gradientFlow 4s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Career Tools Section Enhanced Background */
.tools-section,
.career-tools-section {
    background: 
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%236366f1' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E"),
        linear-gradient(135deg, #faf5ff 0%, #f0f9ff 50%, #ecfdf5 100%);
    position: relative;
}

/* Typing Test Page Background */
.typing-test-container,
.typing-test-section {
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.04'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
}

/* Quiz Section Background */
.quiz-container,
.quiz-section,
.skill-assessment-section {
    background: 
        url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238b5cf6' fill-opacity='0.04'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, #faf5ff 0%, #fdf4ff 50%, #fce7f3 100%);
    position: relative;
}

/* Resume Builder Background */
.resume-builder-container,
.resume-builder-section {
    background: 
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2310b981' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 50%, #ecfeff 100%);
}

/* Featured Jobs Section Background */
.featured-jobs-section,
.hot-jobs-section {
    background: 
        url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f59e0b' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(180deg, #fffbeb 0%, #fef3c7 30%, #fffbeb 100%);
    position: relative;
}

.featured-jobs-section::before,
.hot-jobs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #ef4444, #f59e0b);
}

/* Categories Section Background */
.categories-section,
.job-categories-section {
    background: 
        url("data:image/svg+xml,%3Csvg width='84' height='48' viewBox='0 0 84 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h12v6H0V0zm28 8h12v6H28V8zm14-8h12v6H42V0zm14 0h12v6H56V0zm0 8h12v6H56V8zM42 8h12v6H42V8zm0 16h12v6H42v-6zm14-8h12v6H56v-6zm14 0h12v6H70v-6zm0-16h12v6H70V0zM28 32h12v6H28v-6zM14 16h12v6H14v-6zM0 24h12v6H0v-6zm0 8h12v6H0v-6zm14 0h12v6H14v-6zm14 8h12v6H28v-6zm-14 0h12v6H14v-6zm28 0h12v6H42v-6zm14-8h12v6H56v-6zm0-8h12v6H56v-6zm14 8h12v6H70v-6zm0 8h12v6H70v-6zM14 24h12v6H14v-6zm14-8h12v6H28v-6zM14 8h12v6H14V8zM0 8h12v6H0V8z' fill='%236366f1' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E"),
        linear-gradient(180deg, #ffffff 0%, #f0f9ff 50%, #ffffff 100%);
}

/* Companies Section Background */
.companies-section,
.company-logos-section {
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%234f46e5' fill-opacity='0.02'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
}

/* Testimonials Section Background */
.testimonials-section {
    background: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ec4899' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, #fdf2f8 0%, #fce7f3 50%, #fdf2f8 100%);
}

/* Stats Section Background */
.stats-section,
.counters-section {
    background: 
        linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
    position: relative;
}

.stats-section::before,
.counters-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Floating Decorative Elements */
.section-decorator {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
}

.section-decorator.circle-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    top: -100px;
    right: -100px;
}

.section-decorator.circle-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    bottom: -50px;
    left: -50px;
}

/* Animated Background Shapes */
.bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.bg-shapes .shape-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
    animation: floatShape 15s ease-in-out infinite;
}

.bg-shapes .shape-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -100px;
    animation: floatShape 20s ease-in-out infinite reverse;
}

.bg-shapes .shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 20%;
    animation: floatShape 12s ease-in-out infinite;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.05); }
    50% { transform: translate(-10px, 20px) scale(0.95); }
    75% { transform: translate(-20px, -10px) scale(1.02); }
}

/* Glass Effect Enhancement */
.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ===================================
   FIX: CORRECT CLASS SELECTORS FOR BACKGROUNDS
   =================================== */

/* Hero Section - Using correct class name */
.hero {
    background: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, #667eea 0%, #764ba2 50%, #6B8DD6 100%) !important;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.08) 0%, transparent 30%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.5; }
    50% { transform: scale(1.1) translate(-20px, 20px); opacity: 0.8; }
}

/* Related Jobs Section - More Visible Pattern */
.related-jobs-section {
    background: 
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.08'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(180deg, #f8fafc 0%, #e0e7ff 50%, #f8fafc 100%) !important;
    position: relative;
}

.related-jobs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899, #f59e0b, #6366f1);
    background-size: 200% 100%;
    animation: gradientSlide 3s linear infinite;
}

@keyframes gradientSlide {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Hot Jobs / Featured Section */
.hot-jobs {
    background: 
        url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f59e0b' fill-opacity='0.08' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(180deg, #fffbeb 0%, #fef3c7 50%, #fffbeb 100%) !important;
    position: relative;
}

.hot-jobs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #ef4444, #f59e0b);
}

/* Categories Grid Section */
.categories-grid-section,
.job-categories {
    background: 
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%236366f1' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%) !important;
}

/* Career Tools Section */
.career-tools,
.tools-grid-section {
    background: 
        url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238b5cf6' fill-opacity='0.06'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, #faf5ff 0%, #f3e8ff 50%, #ede9fe 100%) !important;
    position: relative;
}

/* Company Logos Section */
.company-logos,
.companies-carousel {
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%234f46e5' fill-opacity='0.04'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%) !important;
}

/* Stats/Counters Section */
.stats-counter,
.counter-section {
    background: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%) !important;
}

/* Recent Jobs Section */
.recent-jobs,
.latest-jobs {
    background: 
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%236366f1' fill-opacity='0.04' fill-rule='evenodd'/%3E%3C/svg%3E"),
        linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
}

/* Typing Test Hero */
.typing-hero,
.typing-test-hero {
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, #667eea 0%, #764ba2 50%, #6B8DD6 100%) !important;
}

/* ===================================
   SECTION SIZE OPTIMIZATION
   =================================== */

/* Reduce Hero Section Height */
.hero {
    padding: 60px 0 80px !important;
    min-height: auto !important;
}

.hero-content {
    padding: 0 !important;
}

.hero h1 {
    font-size: 42px !important;
    margin-bottom: 16px !important;
}

.hero p {
    font-size: 18px !important;
    margin-bottom: 30px !important;
}

/* Reduce Hot Jobs Section */
.hot-jobs {
    padding: 50px 0 !important;
}

.hot-jobs .section-header {
    margin-bottom: 30px !important;
}

.hot-jobs-table-wrapper {
    margin-bottom: 25px !important;
}

/* Reduce Featured Section */
.featured-section,
.featured-jobs-section {
    padding: 50px 0 !important;
}

/* Reduce Company Logos Section */
.company-logos-section,
.company-logos {
    padding: 40px 0 !important;
}

.company-logos-grid {
    gap: 20px !important;
}

/* Reduce Categories Section */
.categories-section,
.job-categories {
    padding: 50px 0 !important;
}

/* Reduce Career Tools Section */
.career-tools,
.tools-section {
    padding: 50px 0 !important;
}

/* Reduce Stats Section */
.stats-counter,
.counter-section {
    padding: 40px 0 !important;
}

/* Reduce Recent Jobs Section */
.recent-jobs,
.latest-jobs {
    padding: 50px 0 !important;
}

/* Reduce Related Jobs Section */
.related-jobs-section {
    padding: 50px 0 60px !important;
}

.related-jobs-section .section-header-centered {
    margin-bottom: 30px !important;
}

/* Reduce Testimonials */
.testimonials-section {
    padding: 50px 0 !important;
}

/* Section Headers - Compact */
.section-header,
.section-header-modern {
    margin-bottom: 30px !important;
}

.section-header h2,
.section-header-modern h2 {
    font-size: 28px !important;
    margin-bottom: 10px !important;
}

.section-header p,
.section-header-modern p {
    font-size: 15px !important;
}

/* Footer Compact */
.footer-section,
.site-footer {
    padding: 40px 0 20px !important;
}

/* Job Details Page - Compact */
.job-details-section {
    padding: 30px 0 60px !important;
}

/* Container Max Width */
.container {
    max-width: 1200px !important;
    padding: 0 20px !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 40px 0 60px !important;
    }
    
    .hero h1 {
        font-size: 28px !important;
    }
    
    .hero p {
        font-size: 16px !important;
    }
    
    .hot-jobs,
    .featured-section,
    .categories-section,
    .career-tools,
    .recent-jobs,
    .related-jobs-section {
        padding: 35px 0 !important;
    }
    
    .section-header h2,
    .section-header-modern h2 {
        font-size: 22px !important;
    }
    
    .company-logos-section {
        padding: 30px 0 !important;
    }
    
    .stats-counter,
    .counter-section {
        padding: 30px 0 !important;
    }
}

/* Card Spacing Compact */
.glass-card,
.job-card,
.feature-card {
    padding: 20px !important;
}

/* Grid Gap Optimization */
.jobs-grid,
.features-grid,
.categories-grid {
    gap: 20px !important;
}

/* Table Row Spacing */
.hot-jobs-table tr {
    height: auto !important;
}

.hot-jobs-table td {
    padding: 12px 15px !important;
}

/* ===================================
   MOBILE RESPONSIVENESS - ADMIN & TOOLS
   =================================== */

/* Admin Panel Mobile Styles */
@media (max-width: 992px) {
    .admin-wrapper {
        flex-direction: column !important;
    }
    
    .admin-sidebar {
        width: 100% !important;
        position: fixed !important;
        left: -100% !important;
        top: 0 !important;
        height: 100vh !important;
        z-index: 1000 !important;
        transition: left 0.3s ease !important;
    }
    
    .admin-sidebar.active {
        left: 0 !important;
    }
    
    .admin-content {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 15px !important;
    }
    
    .admin-header {
        padding: 15px !important;
    }
    
    .admin-header h1 {
        font-size: 20px !important;
    }
    
    .mobile-menu-toggle {
        display: block !important;
    }
}

@media (max-width: 768px) {
    /* Admin Tables */
    .admin-table-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .admin-table {
        min-width: 600px !important;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 10px 8px !important;
        font-size: 13px !important;
    }
    
    /* Admin Cards */
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .stat-card {
        padding: 15px !important;
    }
    
    .stat-card h3 {
        font-size: 22px !important;
    }
    
    /* Admin Forms */
    .admin-form .form-row {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .admin-form .form-group {
        width: 100% !important;
    }
    
    .admin-form input,
    .admin-form select,
    .admin-form textarea {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
    
    /* Admin Actions */
    .admin-actions {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    
    .admin-actions .btn {
        flex: 1 !important;
        min-width: 120px !important;
        padding: 10px 12px !important;
        font-size: 13px !important;
    }
}

/* Tools Pages Mobile Styles */
@media (max-width: 768px) {
    /* Typing Test */
    .typing-test-container {
        padding: 15px !important;
    }
    
    .typing-settings {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .typing-settings .setting-group {
        width: 100% !important;
    }
    
    .typing-text-display {
        font-size: 16px !important;
        line-height: 1.8 !important;
        padding: 15px !important;
    }
    
    .typing-input {
        font-size: 16px !important;
    }
    
    .typing-stats {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    
    .typing-stats .stat {
        flex: 1 !important;
        min-width: 80px !important;
        padding: 10px !important;
    }
    
    .keyboard-visual {
        display: none !important; /* Hide keyboard on mobile */
    }
    
    /* Resume Builder */
    .resume-builder-container {
        flex-direction: column !important;
    }
    
    .resume-sidebar {
        width: 100% !important;
        order: 2 !important;
    }
    
    .resume-editor {
        width: 100% !important;
        order: 1 !important;
    }
    
    .resume-preview {
        width: 100% !important;
        height: 400px !important;
        order: 3 !important;
    }
    
    .template-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    /* Quiz Pages */
    .quiz-container {
        padding: 15px !important;
    }
    
    .quiz-question {
        font-size: 16px !important;
        padding: 15px !important;
    }
    
    .quiz-options {
        gap: 10px !important;
    }
    
    .quiz-option {
        padding: 12px 15px !important;
        font-size: 14px !important;
    }
    
    .quiz-timer {
        font-size: 18px !important;
    }
    
    .quiz-progress {
        height: 8px !important;
    }
    
    /* Career Quiz */
    .career-quiz-container {
        padding: 15px !important;
    }
    
    .career-option {
        padding: 12px !important;
    }
    
    /* Skill Assessment */
    .skill-categories {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .skill-category-card {
        padding: 15px !important;
    }
    
    .skill-category-card h3 {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .admin-stats-grid {
        grid-template-columns: 1fr !important;
    }
    
    .typing-stats .stat {
        min-width: 70px !important;
        font-size: 12px !important;
    }
    
    .typing-stats .stat-value {
        font-size: 20px !important;
    }
    
    .template-grid {
        grid-template-columns: 1fr !important;
    }
    
    .skill-categories {
        grid-template-columns: 1fr !important;
    }
    
    .quiz-option {
        padding: 10px 12px !important;
    }
    
    /* Certificate Modal */
    .certificate-modal-content {
        padding: 20px !important;
        width: 95% !important;
    }
    
    .certificate-preview {
        transform: scale(0.6) !important;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .btn,
    button,
    .nav-link,
    .menu-item {
        min-height: 44px !important;
        min-width: 44px !important;
    }
    
    /* Remove hover effects on touch */
    .btn:hover,
    .card:hover,
    .job-card:hover {
        transform: none !important;
    }
    
    /* Better tap highlights */
    a, button, .clickable {
        -webkit-tap-highlight-color: rgba(99, 102, 241, 0.2) !important;
    }
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 8px 0;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex !important;
        justify-content: space-around !important;
    }
    
    .mobile-bottom-nav a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 4px !important;
        color: #64748b !important;
        text-decoration: none !important;
        font-size: 11px !important;
        padding: 5px !important;
    }
    
    .mobile-bottom-nav a.active {
        color: #6366f1 !important;
    }
    
    .mobile-bottom-nav i {
        font-size: 20px !important;
    }
    
    /* Add padding to body for bottom nav */
    body {
        padding-bottom: 70px !important;
    }
}

/* Landscape mode optimizations */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 30px 0 40px !important;
    }
    
    .hero h1 {
        font-size: 28px !important;
    }
    
    .typing-test-container {
        max-height: 80vh !important;
        overflow-y: auto !important;
    }
}
