/* Career Page Specific Styles */
/* Note: Global variables are reversed in this theme: 
   --main-dark is #FFFFFF (White)
   --white is #19272B (Dark)
*/

.section-career {
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: var(--white); /* Dark Background */
}

/* Heading visibility fixes for Dark Background */
.section-career .heading-section .title {
    color: var(--main-dark); /* White Text */
}

.section-career .heading-section .sub-title {
    color: var(--primary); /* Blue Subtitle */
}

.open-roles-container {
    padding: 0 15px;
}

.open-roles-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--main-dark); /* White Text */
    margin-bottom: 40px;
}

.contact-us-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--main-dark); /* White Text */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 40px;
    display: block;
}

.contact-email {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: underline;
    margin-top: 5px;
    display: inline-block;
}

.job-list {
    margin-top: 0;
}

.job-item {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.job-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.job-content {
    flex: 1;
}

.job-badge {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.job-role-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--main-dark); /* White Text */
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.job-item:hover .job-role-title {
    color: var(--primary);
}

.job-details {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.6); /* Muted White */
    font-size: 16px;
}

.job-details span:not(:last-child)::after {
    content: "•";
    margin-left: 15px;
}

.job-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.submit-btn {
    background-color: var(--primary);
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.submit-btn:hover {
    background-color: var(--main-blue-1);
    transform: translateY(-2px);
}

.submit-btn i {
    font-size: 14px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translate(2px, -2px);
}

/* Hiring Process Section */
.section-process {
    background-color: var(--dark-2); /* Light Gray Background */
    padding: 100px 0;
}

.process-timeline {
    position: relative;
    padding: 50px 0;
}

.process-timeline::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--main-dark); /* White Background */
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 700;
    font-size: 20px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--white); /* Dark Text */
}

.step-desc {
    font-size: 14px;
    color: rgba(25, 39, 43, 0.7); /* Muted Dark Text */
}

/* Response Styles */
@media (max-width: 991px) {
    .open-roles-title {
        font-size: 48px;
        margin-bottom: 30px;
    }
    
    .job-actions {
        flex-direction: column;
        align-items: flex-end;
    }
    
    .process-timeline::after {
        display: none;
    }
    
    .process-step {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .job-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .job-actions {
        align-items: flex-start;
        width: 100%;
        justify-content: space-between;
        flex-direction: row;
    }
}
