/* Job Opportunities Section */
.job-opportunities-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.job-header .section-title {
    color: #0066b3;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.btn-view-all-jobs {
    background-color: white;
    border: 2px solid #0066b3;
    color: #0066b3;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-view-all-jobs:hover {
    background-color: #0066b3;
    color: white;
    transform: translateX(5px);
}

.job-cards-wrapper {
    margin-bottom: 40px;
    overflow: hidden;
}

.job-cards-carousel {
    overflow: hidden;
}

.job-cards-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.job-card-item {
    flex: 0 0 calc(33.333% - 14px);
    min-width: calc(33.333% - 14px);
}

/* Job Card */
.job-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.job-card:hover {
    box-shadow: 0 4px 16px rgba(0, 102, 179, 0.2);
    transform: translateY(-5px);
}

.job-card-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.job-company-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.job-company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.job-company-info {
    flex: 1;
}

.job-company-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.job-salary {
    font-size: 14px;
    font-weight: 600;
    color: #dc3545;
    margin: 0;
    display: flex;
    align-items: center;
}

.job-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

.job-card-body {
    display: flex;
    gap: 15px;
}

.job-calendar {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.job-calendar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.job-calendar-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    margin-top: -3px;
}

.job-calendar-month {
    display: block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
    color: white;
    white-space: nowrap;
}

.job-calendar-day {
    display: block;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    color: #0066b3;
}

.job-details {
    flex: 1;
}

.job-location {
    font-size: 13px;
    color: #666;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
}

.job-location .job-icon {
    filter: opacity(0.6);
}

.job-title {
    font-size: 15px;
    font-weight: 700;
    color: #0066b3;
    margin: 0;
    line-height: 1.4;
}

/* Job Pagination */
.job-nav-group {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.job-progress {
    flex: 1;
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.job-progress-bar {
    height: 100%;
    background-color: #0066b3;
    border-radius: 2px;
    transition: width 0.4s ease;
    width: 0%;
}

.job-nav {
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
    flex-shrink: 0;
}

.job-nav img {
    width: 52px;
    height: 52px;
}

.job-nav:hover:not(:disabled) {
    transform: scale(1.1);
}

.job-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Job Opportunities Responsive */
@media (max-width: 991px) {
    .job-opportunities-section {
        padding: 60px 0;
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .job-header .section-title {
        font-size: 24px;
    }
    
    .job-card-item {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 767px) {
    .job-opportunities-section {
        padding: 50px 0;
    }
    
    .job-header .section-title {
        font-size: 20px;
    }
    
    .job-card {
        padding: 15px;
    }
    
    .job-card-item {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .job-company-logo {
        width: 50px;
        height: 50px;
    }
    
    .job-company-name {
        font-size: 14px;
    }
    
    .job-salary {
        font-size: 13px;
    }
    
    .job-calendar {
        width: 60px;
        height: 60px;
    }
    
    .job-calendar-month {
        font-size: 8px;
    }
    
    .job-calendar-day {
        font-size: 20px;
    }
    
    .job-title {
        font-size: 14px;
    }
    
    .job-nav img {
        width: 40px;
        height: 40px;
    }
}
