.career-section {
    position: relative;
    border-radius: 20px;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    margin-top: 10px;
    overflow: hidden;
    text-align: center;
    padding: 20px;
}


.career-image-container {
    margin-top: 60px;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    overflow: hidden;
}
.career-image {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
}


@keyframes scaleUp {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.career-section {
    position: relative;
    z-index: 1;
}

/* Basic Styles */
.job-container {
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.job-title {
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Crimson Pro'; font-size:25px
}

.job-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* Default: 5 columns for desktop */
    gap: 20px;
    margin-bottom: 40px;
    padding: 10px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.job-tab {
    color: #333;
    font-size: 18px;
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background: none;
    position: relative;
    text-align: center;
    /* Center the tab text */
}

.job-tab.active {
    color: #000;
}

.job-tab::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.job-tab:hover::after,
.job-tab.active::after {
    transform: scaleX(1);
}

/* Job Content */
.job-content {
    visibility: hidden;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s, height 0s 0.3s;
}

.job-content.active {
    visibility: visible;
    height: auto;
    opacity: 1;
    transition: opacity 0.3s ease, visibility 0s 0s, height 0.3s ease;
}

/* Empty state */
.job-empty {
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 8px;
    font-size: 18px;
    color: #666;
}

/* Job Item */
.job-item {
    border-bottom: 1px solid #ccc;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.job-apply-btn {
    background-color: #8BC34A;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Job Description */
.job-description {
    visibility: hidden;
    height: 0;
    opacity: 0;
    padding: 20px;
    background-color: #f9f9f9;
    margin-top: 10px;
    transition: opacity 0.3s ease, visibility 0s 0.3s, height 0s 0.3s;
}

.job-description.active {
    visibility: visible;
    height: auto;
    opacity: 1;
    transition: opacity 0.3s ease, visibility 0s 0s, height 0.3s ease;
}

/* Media Queries for Responsiveness */

/* For smaller screens (mobile) */
@media screen and (max-width: 768px) {
    .job-title {
        font-size: 20px;
        /* Reduce font size for small screens */
        margin-bottom: 20px;
    }

    .job-tabs {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns for small screens */
        gap: 15px;
    }

    .job-tab {
        font-size: 16px;
        /* Smaller font for mobile */
        padding: 8px 16px;
        /* Smaller padding for mobile */
    }

    .job-item {
        flex-direction: column;
        /* Stack job items vertically */
        align-items: flex-start;
        /* Align items to the left */
    }

    .job-item .job-apply-btn {
        width: 100%;
        /* Make apply button full-width on small screens */
        margin-top: 10px;
        /* Add margin between job item and button */
    }

    .job-description {
        padding: 15px;
        /* Reduce padding inside description for mobile */
    }
}

/* For medium screens (tablets) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .job-title {
        font-size: 22px;
        /* Slightly smaller font for tablet screens */
    }

    .job-tabs {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns for tablets */
        gap: 20px;
    }

    .job-tab {
        font-size: 17px;
        padding: 9px 18px;
    }

    .job-item {
        flex-direction: row;
        /* Keep job items horizontal */
    }

    .job-item .job-apply-btn {
        width: auto;
        margin-top: 0;
    }
}

/* For large screens (desktop) */
@media screen and (min-width: 1024px) {
    .job-title {
        font-size: 24px;
        /* Larger title font for desktops */
    }

    .job-tabs {
        grid-template-columns: repeat(5, 1fr);
        /* 5 columns for large screens */
        gap: 30px;
    }

    .job-tab {
        font-size: 18px;
        padding: 10px 20px;
    }

    .job-item {
        flex-direction: row;
    }
}