/*--------------------------------------------------------------
# Careers Page Styles
--------------------------------------------------------------*/
.careers {
    padding: 120px 0; /* Add more padding to account for the fixed header */
    background-color: var(--white);
}

.job-listing {
    max-width: 900px;
    margin: 0 auto;
    border-top: 2px solid #eee;
}

.job-item {
    border-bottom: 2px solid #eee;
}

.job-header {
    display: flex;
    align-items: center;
    padding: 25px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.job-header:hover {
    background-color: var(--light-color);
}

.job-number {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 25px;
}

.job-title {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--dark-color);
    margin: 0;
    flex-grow: 1;
}

.job-arrow {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.job-item.open .job-arrow {
    transform: rotate(180deg);
}

.job-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), padding 0.5s ease;
    padding: 0 15px 0 65px;
    color: #666;
}

.job-item.open .job-details {
    padding-bottom: 30px;
}

.job-details h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.job-details ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.job-details ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.job-details ul li i {
    margin-right: 10px;
    color: var(--primary-color);
    margin-top: 4px;
}

.job-details .apply-info {
    margin-top: 25px;
    font-style: italic;
    color: var(--dark-color);
}

.job-details .apply-info a {
    font-weight: 600;
    color: var(--primary-color);
}

.job-details .apply-btn {
    margin-top: 20px;
}

@media screen and (max-width: 768px) {
    .job-title {
        font-size: 1.2rem;
    }
    .job-details {
        padding: 0 15px;
    }
}