:root {
    --primary-color: #0d3eae;
    --secondary-color: #f8f9fa;
    --accent-color: #ff6b6b;
    --text-color: #2c3e50;
    --border-color: #e0e0e0;
    --filter-border-color: #caa03e;
    --gold-color: #caa03e;
}

/* Video Banner Styles */
.video-banner {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    margin-bottom: 40px;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            135deg,
            rgba(13, 62, 174, 0.8) 0%,
            rgba(202, 160, 62, 0.6) 100%
    );
    z-index: 2;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 3;
    width: 90%;
    max-width: 800px;
}

.banner-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #ffffff, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    letter-spacing: 1px;
}

.banner-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gold-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    z-index: 3;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator span {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator i {
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Pagination Styles */
.pagination-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.pagination {
    margin-bottom: 0;
}

.page-item .page-link {
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    margin: 0 2px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.page-item .page-link:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.page-item.disabled .page-link {
    color: #6c757d;
    background-color: #f8f9fa;
    border-color: var(--border-color);
}

.pagination-info {
    color: #6c757d;
    font-size: 0.9rem;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f7fa;
    color: var(--text-color);
}

.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.page-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

/* Filter Sidebar */
.filter-sidebar {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 0;
    height: fit-content;
    max-height: 90vh;
    position: sticky;
    top: 20px;
    border: 2px solid var(--filter-border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding: 20px 20px 15px 20px;
    border-bottom: 1px solid var(--border-color);
    background: #f8f9fa;
}

.filter-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.filter-content {
    padding: 0 20px;
    overflow-y: auto;
    flex: 1;
}

/* Scrollbar styling for entire filter sidebar */
.filter-content::-webkit-scrollbar {
    width: 8px;
}

.filter-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0 0 10px 0;
}

.filter-content::-webkit-scrollbar-thumb {
    background: var(--filter-border-color);
    border-radius: 4px;
}

.filter-content::-webkit-scrollbar-thumb:hover {
    background: #b08c2e;
}

.filter-group {
    margin-bottom: 25px;
    padding-top: 15px;
}

.filter-group:first-child {
    padding-top: 0;
}

.filter-label {
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
    color: var(--text-color);
    font-size: 0.95rem;
    padding-bottom: 5px;
    border-bottom: 1px dashed #e0e0e0;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
}

.filter-option input {
    margin: 0;
}

.filter-option label {
    margin: 0;
    font-size: 0.9rem;
    cursor: pointer;
    flex: 1;
}

.filter-count {
    color: #6c757d;
    font-size: 0.8rem;
    margin-left: auto;
    min-width: 35px;
    text-align: right;
}

/* Job Listings Container */
.job-listings {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    border: 2px solid var(--filter-border-color);
}

.job-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.job-count {
    font-weight: 600;
    color: var(--primary-color);
}

.sort-options select {
    border-radius: 5px;
    padding: 5px 10px;
    border: 1px solid var(--border-color);
}

.job-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.job-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.job-color-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.job-main-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.job-title {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.job-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: #6c757d;
}

.job-meta-item i {
    color: var(--primary-color);
}

.job-description {
    margin-bottom: 15px;
    line-height: 1.5;
    color: #555;
}

.job-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-apply {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-apply:hover {
    background-color: #0a2d87;
    transform: translateY(-2px);
    color: white;
}

.btn-details {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    padding: 8px 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-details:hover {
    background-color: rgba(13, 62, 174, 0.1);
    color: var(--primary-color);
}

.applied-badge {
    background-color: #28a745;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
}

.payment-required {
    background-color: #dc3545;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .video-banner {
        height: 60vh;
        min-height: 400px;
    }

    .banner-title {
        font-size: 2.5rem;
    }

    .banner-subtitle {
        font-size: 1.2rem;
    }

    .banner-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 2rem;
    }

    .job-main-info {
        flex-direction: column;
    }

    .job-actions {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }

    .filter-sidebar {
        margin-bottom: 20px;
        position: static;
        max-height: none;
    }

    .filter-content {
        max-height: none;
        overflow-y: visible;
    }

    .pagination {
        flex-wrap: wrap;
    }

    .page-item .page-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}

/* Search Box */
.search-container {
    margin-bottom: 20px;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 25px;
    border: 1px solid var(--border-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(13, 62, 174, 0.2);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #dee2e6;
}

/* Clear Filters */
.clear-filters {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
}

.clear-filters:hover {
    text-decoration: underline;
}
.btn-apply:hover {
    background: #0056b3;
}

.apply-soon {
    background: #ff0000 !important;
    opacity: 0.7;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 0.7; }
    50% { opacity: 0.9; }
    100% { opacity: 0.7; }
}

.btn-toggle-hide {
    background: #6c757d;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    border: none;
    transition: all 0.3s ease;
}

.btn-toggle-hide:hover {
    background: #5a6268;
}

.btn-details {
    background: #28a745;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
}

.btn-details:hover {
    background: #218838;
}

.applied-badge {
    background: #17a2b8;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
}

.payment-required {
    background: #ffc107;
    color: #333;
    padding: 8px 15px;
    border-radius: 5px;
}

.no-results {
    text-align: center;
    padding: 50px;
}

.no-results i {
    font-size: 2rem;
    color: #666;
}

.no-results h3 {
    margin: 20px 0;
}

.pagination-container {
    margin-top: 20px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}