.careers-wrapper {
    position: relative;
    margin-top: 127px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.careers-content {
    width: calc(100% - 34px);
    height: 780px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('../img/careers_1.jpg');
    background-size: cover;
    background-position: center 60%;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-direction: column;
}

.careers-content h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.careers-content p {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
}

.work-section {
    margin-top: 120px;
    color: #000;
    display: flex;
    flex-direction: column;
    gap: 200px;
    margin-bottom: 240px;
}

.work-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.0;
    margin-bottom: 80px;
}

.work-grid {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
}

.work-flex-grid {
    width: 100%;
    display: flex;
    gap: 20px;
}

.work-card {
    width: 100%;
    height: 348px;
    background-color: #F9F9F9;
    border-radius: 40px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.work-card img {
    width: 67px;
    height: 58px;
    margin-bottom: 32px;
}

.work-card h3 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
}

.work-card p {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
}

@media (max-width: 1600px) {

    .work-card h3 {
        font-size: 1.6vw;
    }

    .work-card p {
        font-size: 1.2vw;
    }
}

@media (max-width: 1200px) {

    .work-card h3 {
        font-size: 1.8vw;
    }

    .work-card p {
        font-size: 1.4vw;
    }

    .work-title {
        font-size: 2.8vw;
        margin-bottom: 40px;
    }
}

@media (max-width: 992px) {
    .careers-content {
        height: 500px;
    }

    .work-title {
        font-size: 3.5vw;
    }

    .work-card {
        height: unset;
    }

    .mobile-submenu li a{
        color: #111;
    }
}

@media (max-width: 768px) {
    .work-title {
        font-size: 4.0vw;
    }

    .work-flex-grid {
        flex-direction: column;
    }

    .work-card h3 {
        font-size: 2.5vw;
    }

    .work-card p {
        font-size: 2.0vw;
    }

    .careers-content {
        height: 400px;
    }

    .careers-content h1 {
        font-size: 4.0vw;
    }

    .careers-content p {
        font-size: 2.2vw;
    }
}

@media (max-width: 480px) {
    .careers-wrapper {
        margin-top: 70px;
    }

    .careers-content {
        height: 300px;
        border-radius: 0;
        width: 100vw;
        margin-right: -20px;
        gap: 20px;
    }

    .careers-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0px;
    }

    .careers-content p {
        font-size: 0.65rem;
        padding: 0 10px;
    }

    .work-title {
        font-size: 1.5rem;
    }

    .work-flex-grid,
    .work-grid {
        gap: 0;
    }

    .work-card {
        width: 100vw;
        margin-left: -20px;
        margin-right: -20px;
        border-radius: 0;
        border-top: 1px solid #ddd;
    }

    .work-section {
        margin-top: 50px;
        gap: 100px;
        margin-bottom: 100px;
    }

    .work-card h3 {
        font-size: 1.3rem;
    }

    .work-card p {
        font-size: 0.7rem;
    }
}