:root {
    --primary-blue: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary-color: #6c757d;
    --text-dark: #212529;
    --text-gray: #6c757d;
    --text-light: #adb5bd;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --medium-gray: #dee2e6;
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* General Styles */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
}

a {
    text-decoration: none;
}

.modern-section {
    padding: 4rem 0;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
}

/* Hero Section */
.modern-hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Box */
.modern-search-box {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.search-input-group {
    display: flex;
    gap: 1rem;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: var(--primary-blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.search-input-wrapper i {
    color: var(--text-gray);
    margin-right: 0.75rem;
}

.search-input-wrapper input,
.search-input-wrapper select {
    border: none;
    background: transparent;
    width: 100%;
    padding: 0.5rem 0;
    font-size: 1rem;
    color: var(--text-dark);
    outline: none;
}

.search-btn {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Stats Section */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Buttons */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    border: 1px solid var(--primary-blue);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Badges */
.badge-modern {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-featured {
    background: #fff3cd;
    color: #856404;
}

/* Company Card Styles (from blade file, reinforced here) */
.company-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--medium-gray);
}

.company-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

/* Job Card Styles */
.job-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--medium-gray);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

/* Job List Card Styles */
.job-list-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--medium-gray);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .search-input-group {
        flex-direction: column;
    }

    .search-btn {
        width: 100%;
        padding: 0.75rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .modern-section {
        padding: 3rem 0;
    }
}

/* Categories Section */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--medium-gray);
    transition: all 0.3s ease;
    height: 100%;
    text-decoration: none;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.category-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e3f2fd;
    border-radius: 50%;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon-wrapper {
    background: var(--primary-blue);
}

.category-icon-wrapper i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.category-card:hover .category-icon-wrapper i {
    color: var(--white);
}

.category-icon-wrapper img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.category-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.category-card:hover .category-title {
    color: var(--primary-blue);
}

.category-badge {
    background: var(--bg-light);
    color: var(--text-gray);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-card:hover .category-badge {
    background: #e3f2fd;
    color: var(--primary-blue);
}