.career-container {
    max-width: 1200px;
    margin: auto;

}

.career-header {
    text-align: center;
}

.career-banner {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px !important;
}

.career-heading h1 {
    font-size: 28px;
    color: #2a3f54;
    margin-bottom: 5px !important;
}

.career-heading p {
    font-size: 16px;
    color: #555;
}

.career-intro p {
    font-size: 16px;
    margin-top: 1rem;
    margin-bottom: 25px !important;
}

.career-section {
    margin-top: 30px;
}

.section-title {
    font-size: 22px;
    color: var(--main-color);
    margin-bottom: 15px !important;
}

.benefits-list {
    list-style-type: disc;
    padding-left: 20px;
}

.role-card-container {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.benefits-list li {
    margin-bottom: 10px !important;
}

.role-card {
    flex: 1 1 calc(33.33% - 24px);
    /* Adjust for 3 cards per row with spacing */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    /* Ensures it stretches equally */
    margin-bottom: 25px !important;
    padding: 15px;
    border: 1px solid #ddd;
    border-left: 4px solid var(--main-color);
    border-radius: 6px;
    background-color: #000;
    color: #fff;
    box-sizing: border-box;
    min-height: 256px;
    /* Optional: to maintain a baseline size */

}

.role-title {
    font-size: 18px;
    color: var(--main-color);
    margin-bottom: 5px !important;
}

.role-location {
    font-size: 14px;
    color: #fff;
    margin-bottom: 10px !important;
}

.role-card ul {
    padding-left: 20px;
}

.role-card li {
    margin-bottom: 6px !important;
}

.career-apply p {
    font-size: 16px;
    margin-bottom: 10px !important;
}

.career-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.career-footer p {
    font-size: 16px;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Responsive */
@media(max-width:1200px) {
    .career-container {
        max-width: 960px;
    }
}

@media(max-width:992px) {
    .career-container {
        max-width: 720px;
    }

    .role-card-container {
        flex-direction: column;
        gap: 0;
    }

    .role-card {
        margin-bottom: 1rem !important;
    }
}

@media(max-width:768px) {}

@media (max-width: 768px) {
    .career-container {
        max-width: 32.25rem;
        padding-left: 12px;
        padding-right: 12px;
    }

    .career-heading h1 {
        font-size: 24px;
    }

    .section-title {
        font-size: 20px;
    }

    .role-title {
        font-size: 16px;
    }

    .career-intro p,
    .benefits-list li,
    .role-card li,
    .career-footer p,
    .career-apply p {
        font-size: 14px;
        line-height: 24px;
    }
}