/* ===========================================
CAREERS PAGE
============================================== */
.careers-content h2 {
    font-weight: 600;
    font-size: clamp(36px, 5.5vw, 72px);
    line-height: clamp(48px, 7vw, 90px);
    text-align: center;
    letter-spacing: -0.03em;
    text-transform: capitalize;
    background: linear-gradient(
        180deg,
        #ffffff 8.33%,
        rgba(15, 15, 16, 0) 105.18%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 15px;
}

.careers-desc {
    font-weight: 400;
    font-size: clamp(14px, 1.4vw, 18px);
    line-height: clamp(22px, 2vw, 28px);
    text-align: center;
    color: var(--jdg-white);
    opacity: 0.6;
    margin: auto;
}

.careers-images {
    margin-top: 70px;
}

/*.hiring-title {*/
/*    font-family: var(--jdg-heading-font-family);*/
/*    font-weight: 500;*/
/*    font-size: 52px;*/
/*    line-height: 58px;*/
/*    color: var(--jdg-white);*/
/*    margin-bottom: 40px;*/
/*    letter-spacing: -0.5px;*/
/*}*/

.job-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 66px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.job-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -1px;
    height: 1px;
    background: rgba(255, 255, 255, 0.8);
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-item:hover::after {
    right: 0;
}

.job-left {
    display: flex;
    gap: 80px;
    flex: 1;
}

.job-title {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: clamp(1.25rem, 1.2vw, 1.5rem);
    line-height: 100%;
    text-transform: uppercase;
    color: var(--jdg-white);
    letter-spacing: 0.3px;
    min-width: 535px;
}

.job-type {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: clamp(1.25rem, 1.2vw, 1.5rem);
    line-height: 100%;
    text-transform: uppercase;
    color: #999999;
    min-width: 150px;
}

.apply-now {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: clamp(1.25rem, 1.2vw, 1.5rem);
    line-height: 100%;
    text-align: right;
    text-transform: uppercase;
    color: #999999;
    letter-spacing: 0.8px;
    opacity: 0;
    transform: translateX(-10px);
    transition:
        opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hiring-content {
    background-image: url("/assets/front/imgs/hiring-bg-img.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.job-item:hover .apply-now {
    opacity: 1;
    transform: translateX(0);
}

/*.careers-work-title {*/
/*    font-family: var(--jdg-heading-font-family);*/
/*    font-weight: 400;*/
/*    font-size: 48px;*/
/*    line-height: 58px;*/
/*    text-align: center;*/
/*    color: var(--jdg-white);*/
/*    margin-bottom: 15px;*/
/*    letter-spacing: -0.5px;*/
/*}*/

.careers-work-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 400;
}

.careers-work .feature-card {
    background: #ffffff08;
    border-radius: 20px;
    padding: 40px 35px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.careers-work .feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(165.97deg, #0b0573 -64.93%, #0f0f10 106.42%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.careers-work .feature-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(
        150.09deg,
        rgba(49, 249, 187, 0.3) -3.04%,
        rgba(79, 70, 229, 0.3) 80.38%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.careers-work .feature-card:hover::before {
    opacity: 1;
}

.careers-work .feature-card:hover {
    background: rgba(30, 58, 138, 0.3);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-5px);
}

.careers-work .feature-card-content {
    position: relative;
    z-index: 1;
}

.careers-work .feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 51px;
}

.careers-work .feature-title {
    font-family: var(--jdg-heading-font-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    color: var(--jdg-white);
    margin-bottom: 15px;
    letter-spacing: -0.3px;
}

.careers-work .feature-description {
    font-family: var(--jdg-extra-font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: var(--jdg-gray);
}

.careers-work .col-card {
    margin-bottom: 30px;
}

.career-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.career-slider .slider-row {
    display: flex;
    width: max-content;
    will-change: transform;
}

.career-slider .slider-row:nth-child(1) {
    animation: scroll-left 200s linear infinite;
}

.career-slider .slider-row:nth-child(2) {
    /* flex-direction: row-reverse; */
    transform: translateX(-100%);
    animation: scroll-right 200s linear infinite;
}

.career-slider .slider-row.paused {
    animation-play-state: paused;
}

.career-slider .image-item {
    flex: 0 0 auto;
    width: 530px;
    height: 280px;
    margin: 5px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.career-slider .image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.career-slider .image-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 576px) {
    .job-title {
        min-width: 100%; 
    }
}

@media (max-width: 400px) {
    .career-slider .image-item {
        width: 200px;
        height: 120px;
    }
}