#careers-job {
    display: flex;
    padding: 20px 230px 255px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.career-header h1 {
    color: #FFF;
    text-align: center;
    font-family: Poppins;
    font-size: 50px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 10px;
}

main.page-home {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.career-header {
    color: #fff;
    text-align: center;
    font-family: Poppins;
    font-size: 50px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
    text-align: center;
    width: 1920px;
    height: 258px;
    top: 80px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0a1930;
}

.career-header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: center/cover;
    mix-blend-mode: soft-light;
    z-index: 1;
}

.career-link {
    text-decoration: none;
    margin: auto;
    width: 100%;
    border: 1px solid #e8e8e8;
    background: #fafcff;
    box-shadow: 0px 8px 16px 0px rgba(3, 7, 18, 0.08);
    display: flex;
    padding: 20px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border-radius: var(--sm-radius);
    align-self: stretch;
    max-width: 1100px;
    margin-top: 20px;

}

.career-link .details span {
    color: #525252;
    text-align: center;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.career-layout {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.career-link .details .more-details {
    border-radius: 5px;
    background: linear-gradient(90deg, #1d7ac0 0%, #34c7f5 100%);
    color: #fff;
    text-align: center;
    font-family: Poppins;
    font-size: 20px;
    display: flex;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.career-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.job-title {
    background: linear-gradient(90deg, #1d7ac0 0%, #34c7f5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: Poppins;
    font-size: 28px;
    font-weight: 700;
}

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

.details span {
    color: #525252;
}


.more-details:hover {
    background-color: #ebebeb;
}

hr {
    height: 1px;
    border: none;
    width: 100%;
    background: rgba(82, 82, 82, 0.2);
    margin: 0;
}

.location {
    display: flex;
    align-items: center;
    align-self: flex-start;
    gap: 20px;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #525252;
    font-size: 0.875rem;
}

.career-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 1rem;
}

.location-item svg {
    width: 20px;
    height: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .career-link {
        padding: 1rem;
    }

    .row-between {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .details {
        width: 100%;
        justify-content: space-between;
    }

    .location {
        gap: 1rem;
    }

    .location-item {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .location {
        flex-direction: column;
        gap: 0.75rem;
    }

    .job-title {
        font-size: 1.125rem;
    }
}

/* RESPONSIVE STYLES FOR CAREERS SECTION */

/* Large screens (desktops, 1200px and down) */
@media (max-width: 1200px) {
    #careers-job {
        padding: 20px 100px 200px;
    }

    .career-header {
        width: 100%;
        height: 220px;
    }

    .career-link {
        max-width: 900px;
    }
}

/* Medium screens (tablets, 992px and down) */
@media (max-width: 992px) {
    #careers-job {
        padding: 20px 60px 150px;
    }

    .career-header h1 {
        font-size: 40px;
    }

    .career-header {
        height: 200px;
    }

    .career-layout {
        gap: 60px;
    }

    .job-title {
        font-size: 24px;
    }

    .career-link .details span {
        font-size: 18px;
    }

    .career-link .details .more-details {
        font-size: 18px;
        padding: 8px 16px;
    }

    .career-links {
        padding: 40px;
    }
}

/* Small screens (tablets and large phones, 768px and down) */
@media (max-width: 768px) {
    #careers-job {
        padding: 20px 30px 120px;
    }

    .career-header h1 {
        font-size: 32px;
    }

    .career-header {
        height: 180px;
    }

    .career-layout {
        gap: 40px;
    }

    .career-link {
        padding: 15px;
    }

    .row-between {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .details {
        width: 100%;
        justify-content: space-between;
    }

    .location {
        gap: 10px;
    }

    .location-item {
        font-size: 0.8125rem;
    }

    .job-title {
        font-size: 22px;
    }

    .career-links {
        padding: 40px;
    }
}

/* Extra small screens (phones, 576px and down) */
@media (max-width: 576px) {
    #careers-job {
        padding: 15px 20px 100px;
    }

    .career-header h1 {
        font-size: 28px;
    }

    .career-header {
        height: 150px;
    }

    .career-layout {
        gap: 30px;
    }

    .career-link {
        padding: 12px;
        gap: 15px;
    }

    .details {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .job-title {
        font-size: 20px;
    }

    .career-link .details span {
        font-size: 16px;
    }

    .career-link .details .more-details {
        font-size: 16px;
        padding: 8px 14px;
        margin-top: 5px;
    }

    .career-links {
        padding: 40px;
    }
}

/* Tiny screens (small phones, 400px and down) */
@media (max-width: 400px) {
    #careers-job {
        padding: 10px 15px 80px;
    }

    .career-header h1 {
        font-size: 24px;
    }

    .career-header {
        height: 130px;
    }

    .career-layout {
        gap: 25px;
    }

    .location {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .job-title {
        font-size: 18px;
    }

    .career-link .details .more-details {
        width: 100%;
    }

    .career-link .details span {
        font-size: 14px;
    }

    .location-item {
        font-size: 0.75rem;
    }

    .location-item svg {
        width: 16px;
        height: 16px;
    }

    .career-links {
        padding: 40px;
    }
}