.careers-listing {
    background-color: #ffffff;
}

.job-opening-box {
    background-color: #F5F5F5;
    border-radius: 16px;
    padding: 60px 40px;
    margin-bottom: 50px;
}

.job-opening-box h4 {
    font-size: 27px;
    margin-top: 20px;
}

.careers-heading {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #000;
}

.job-opening-box p {
    font-size: 16px;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.careers-heading {
    font-size: 40px;
    font-weight: 400;
    color: #2c3e50;
    margin-bottom: 12px;
}

.careers-intro {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.7;
}

.career-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.25s ease;
    margin: 3rem auto;
    max-width: 600px;
    border: 1px solid #0000000d;
    padding: 7px 15px;
    border-radius: 3px;
}

.career-title {
    font-size: 18px;
    font-weight: 500;
    color: #1f2d3d;
    margin: 0;
}

/* Link */
.career-link {
    font-size: 15px;
    font-weight: 500;
    color: #0b4d3a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.career-link:hover {
    border-bottom-color: #0b4d3a;
}


@media (max-width: 768px) {
    .career-card {
        align-items: flex-start;
        gap: 14px;
        padding: 18px;
    }

    .careers-heading {
        font-size: 30px;
    }

    .career-title {
        font-size: 18px;
    }
}


.job-details {
    background-color: #ffffff;
}

.job-summary {
    font-size: 14px;
    color: #495057;
    margin-bottom: 6px;
}

.section-title {
    font-size: 34px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #095540;
}

.job-summary p {
    font-size: 14px;
    margin-bottom: 15px;
}

.job-summary a {
    color: #023a2a;
    text-decoration: none;
}

.job-details ul {
    padding-left: 18px;
    margin: 2rem 0;
}

.job-details ul li {
    font-size: 14px;
    color: #495057;
    margin-bottom: 12px;
}

.job-info-box {
    background-color: #eef3f2;
    padding: 30px;
    border-radius: 4px;
}

.job-info-table {
    font-size: 14px;
}

.job-info-table th {
    width: auto;
    font-weight: 600;
    color: #2c3e50;
    border: none;
    padding: 10px 12px;
    background: #eef3f2;
}

.job-info-table td {
    width: auto;
    color: #495057;
    border: none;
    padding: 10px 12px;
    background: #eef3f2;
}

.job-info-table tr:not(:last-child) {
    border-bottom: 1px solid #dce5e3;
}

.btn-apply {
    background-color: #0b4d3a;
    color: #ffffff;
    padding: 14px 40px;
    font-weight: 600;
    border-radius: 0;
    text-decoration: none;
    display: inline-block;
    font-size: 1.6rem;
}

.btn-apply:hover {
    background-color: #093d2f;
    color: #ffffff;
}

@media (max-width: 768px) {

    .section-title {
        font-size: 24px;
    }
}


#applyModal .modal-content {
    border: none;
    border-radius: 0;
}

#applyModal .modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #e5e5e5;
}

#applyModal .modal-title {
    font-size: 20px;
    font-weight: 500;
    color: #2c3e50;
}

#applyModal .modal-body {
    padding: 30px;
    max-height: calc(100vh - 180px);
    overflow-y: hidden;
    overflow-x: hidden;
}

#applyModal form .row {
    margin-bottom: 18px;
}

#applyModal form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 6px;
}

#applyModal form input[type="text"],
#applyModal form input[type="email"],
#applyModal form input[type="tel"],
#applyModal form textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    color: #2c3e50;
    background-color: #ffffff;
    border: 1px solid #e1e5e8;
    border-radius: 4px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#applyModal form input:focus,
#applyModal form textarea:focus {
    border-color: #0b4d3a;
    box-shadow: 0 0 0 2px rgba(11, 77, 58, 0.08);
    outline: none;
}

#applyModal form textarea {
    resize: none;
    max-height: 100px;
}

#applyModal .wpcf7-not-valid {
    border-color: #c0392b !important;
}

#applyModal .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #c0392b;
    margin-top: 4px;
}

#applyModal .wpcf7-response-output {
    margin: 16px 0 0;
    padding: 12px 14px;
    font-size: 13px;
    border-radius: 4px;
}

#applyModal .wpcf7-validation-errors,
#applyModal .wpcf7-response-output {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

#applyModal .wpcf7-mail-sent-ok {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

#applyModal form input[type="submit"] {
    margin-top: 10px;
    padding: 12px 36px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background-color: #0b4d3a;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#applyModal form input[type="submit"]:hover {
    background-color: #093d2f;
}

@media (max-width: 576px) {
    #applyModal .modal-body {
        padding: 20px;
        max-height: calc(100vh - 140px);
        overflow-y: auto;
        overflow-x: hidden;
    }

    #applyModal .modal-title {
        font-size: 18px;
    }
}


.careers-gallery .gallery-item {
    position: relative;
    overflow: hidden;
    background-color: #f2f2f2;
    height: 320px;
}

.careers-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.careers-gallery .gallery-item:hover img {
    transform: scale(1.03);
    transition: transform 0.4s ease;
}


@media (max-width: 991px) {
    .careers-gallery .gallery-item {
        height: 260px;
    }
}


@media (max-width: 576px) {
    .careers-gallery .gallery-item {
        height: 220px;
    }
}