#main-content > section.careers-intro-section {
    padding:6rem 0 1rem 0;
    background-color: #fff;
}

#main-content > section.careers-listings-section {
    padding: 4rem 0 1rem 0;
}

#main-content .container {
    max-width: 1200px;
}

.careers-intro-text {
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.careers-listings-section .row {
    gap: 4rem;
}

.career-card {
    background: #F9F9F9;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 12px solid #fff;
    outline: #009EAC solid 4px;
    position: relative;
    min-height: auto;
    padding: 3rem;
}

.career-card-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.career-icon img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.career-title-section {
    display: flex;
    gap: 6px;
}

.career-title-section img {
    width: 30px;
    height: 30px;
}

.career-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

.career-compensation {
    font-size: 1rem;
    color: #231F20;
    font-style: italic;
    font-weight: 600;
}


.career-description p {
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
}

.career-card-footer {
    padding: 10px 30px;
    display: flex;
    gap: 15px;
    position: absolute;
    bottom: -1rem;
    z-index: 10;
}


.career-card-footer:before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f9f9f9;
    z-index: 2;
}
.career-card-footer:after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 1;
}

.btn-read-more {
    background-color: #019EAC;
    color: #fff;
    border: none;
    padding: 0 30px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    z-index: 4;
    top: 1.5rem;
    height: 36px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-read-more:hover {
    background-color: #00C8D9;
    color: #fff;
}

.btn-apply-now {
    background-color: #231F20;
    color: #fff !important;
    border: none;
    padding: 0 30px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    z-index: 4;
    top: 1.5rem;
    height: 36px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-apply-now:hover {
    background-color: #000;
    color: #fff;
}

.careers-disclaimer-section {
    padding: 60px 0;
    background-color: #fff;
}

.careers-disclaimer {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

/* Modal Styles */
.modal-title-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-icon img {
    width: 24px;
    height: 24px;
}

.modal-section {
    margin-bottom: 25px;
}

.modal-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    margin-top: 3rem;
}

.modal-section-content {
    font-size: 1rem;
    line-height: 1.4;
    color: #373737;
}

.modal-section-content.text-disclaimer {
    font-style: italic;
    font-size: 0.8rem;
}

.modal-section-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.modal-section-content li {
    margin-bottom: 1.2rem;
    line-height: 20px;
}

::marker {
    color: #009eac;
}

.modal-footer .btn-primary {
    background-color: #019EAC;
    color: #fff;
    border: none;
    padding: 0 30px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    z-index: 4;
    top: 1.5rem;
    height: 36px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-footer .btn-primary:hover {
    background-color: #1a9b94;
    border-color: #1a9b94;
}

.modal {
    background: #00000082;
}
.modal-content {
    padding: 2rem;
}

.modal-header {
    border-bottom: none;
}

@media (max-width: 768px) {
    .careers-intro-section {
        padding: 60px 0;
    }
    
    .careers-listings-section {
        padding: 40px 0;
    }
    
    .careers-disclaimer-section {
        padding: 40px 0;
    }
    .career-card-header {
        flex-direction: column;
    }
}

@media (max-width: 400px) {
    .career-card-footer {
        flex-direction: column;
    }
    .career-card {
        padding: 3rem 3rem 7rem 3rem;
    }
}