/* ─── Wrapper ─────────────────────────────────────────────── */
.nd-job-wrap {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ─── Filter bar ──────────────────────────────────────────── */
.nd-job-filter-outer {
    border-radius: 30px;
    box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.nd-job-filter {
    display: flex !important;
    align-items: center !important;
    gap: 35px !important;
    height: 113px !important;
    padding: 0 28px !important;
    background: #FCFEFF !important;
    overflow-x: auto !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(38, 63, 83, 0.3) transparent;
}

.nd-job-filter::-webkit-scrollbar {
    height: 4px;
}

.nd-job-filter::-webkit-scrollbar-track {
    background: transparent;
    margin-left: 28px;
    margin-right: 28px;
}

.nd-job-filter::-webkit-scrollbar-thumb {
    background: rgba(38, 63, 83, 0.3);
    border-radius: 4px;
}

/* ─── Tabs ────────────────────────────────────────────────── */
.nd-job-tab,
.nd-job-tab:hover,
.nd-job-tab:focus,
.nd-job-tab:active {
    flex-shrink: 0;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    cursor: pointer;
    padding: 0 !important;
    font-family: 'PT Sans', sans-serif !important;
    font-size: 24px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    color: #263F53 !important;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.nd-job-tab {
    opacity: 0.4;
}

.nd-job-tab:first-child,
.nd-job-tab:first-child:hover,
.nd-job-tab:first-child:focus,
.nd-job-tab:first-child:active {
    font-weight: 700 !important;
}

.nd-job-tab--active {
    opacity: 1 !important;
}

/* ─── Content area ────────────────────────────────────────── */
.nd-job-content {
    position: relative;
}

/* ─── Logo background ─────────────────────────────────────── */
.nd-job-logo-bg {
    position: absolute !important;
    top: -90px !important;
    left: 450px !important;
    pointer-events: none !important;
    z-index: -1 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    transform: none !important;
}

.nd-job-logo-bg img {
    display: block !important;
    max-width: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
    object-fit: unset !important;
}

.nd-job-slide {
    display: none !important;
    position: relative;
    z-index: 1;
}

.nd-job-slide--visible {
    display: block !important;
}

.nd-job-slide-inner {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.nd-job-slide-main {
    flex: 3;
    min-width: 0;
}

.nd-job-slide-sidebar {
    flex: 1;
    min-width: 0;
}

/* ─── Booking card ────────────────────────────────────────── */
.nd-job-booking-card {
    background: #FCFEFF;
    box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    overflow: hidden;
}

.nd-job-booking-header {
    background: linear-gradient(90deg, #152946 0%, #B3EEEB 100%);
    padding: 20px 28px;
}

.nd-job-booking-header span {
    color: #fff;
    font-family: 'PT Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 150%;
    display: block;
}

.nd-job-booking-body {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.nd-job-booking-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nd-job-booking-list li {
    font-family: 'PT Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #263F53;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
}

.nd-job-booking-check {
    color: #34c286;
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}

.nd-job-booking-price {
    font-family: 'PT Sans', sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #263F53 !important;
    text-align: center !important;
    margin: 0 !important;
}

.nd-job-booking-btn,
.nd-job-booking-btn:visited {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 192px !important;
    padding: 0 8px !important;
    height: 53px !important;
    border-radius: 30px !important;
    border: 2px solid transparent !important;
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(93.93deg, #77DAC1 3.27%, #0F3151 150.87%) border-box !important;
    color: #263F53 !important;
    font-family: 'PT Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    letter-spacing: 0.5px !important;
    box-shadow: none !important;
    transition: opacity 0.2s ease !important;
}

.nd-job-booking-btn:hover,
.nd-job-booking-btn:focus {
    opacity: 0.85 !important;
    color: #263F53 !important;
    text-decoration: none !important;
}

/* ─── Job title ───────────────────────────────────────────── */
.nd-job-title {
    margin: 40px 0 0 !important;
    text-align: left !important;
    font-family: 'PT Sans', sans-serif !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #263F53 !important;
}

/* ─── Before-after in job context ─────────────────────────── */
.nd-job-ba-wrap {
    margin-top: 24px;
}

.nd-job-ba-item {
    position: relative;
    width: 600px;
    max-width: 100%;
    height: 300px;
    border-radius: 35px;
    overflow: hidden;
    cursor: col-resize;
    user-select: none;
    -webkit-user-select: none;
}

.nd-job-ba-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
}

.nd-job-ba-img-before {
    clip-path: inset(0 50% 0 0);
}

.nd-job-ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 30px;
    transform: translateX(-50%);
    cursor: col-resize;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nd-job-ba-handle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #fff;
    transform: translateX(-50%);
}

.nd-job-ba-handle-circle {
    position: relative;
    z-index: 1;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #263F53;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
}

.nd-job-ba-handle-circle svg {
    width: auto;
    height: 20px;
    flex-shrink: 0;
}

.nd-job-ba-title {
    margin: 12px 0 0 !important;
    text-align: left !important;
    font-family: 'PT Sans', sans-serif !important;
    font-size: 32px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #263F53 !important;
}

/* ─── Description ─────────────────────────────────────────── */
.nd-job-desc {
    margin-top: 24px;
}

/* ─── Related services ────────────────────────────────────── */
.nd-job-services {
    margin-top: 24px;
}

.nd-job-services-title {
    margin: 0 0 16px !important;
    text-align: left !important;
    font-family: 'PT Sans', sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #263F53 !important;
}

.nd-job-services-list {
    margin-top: 10px !important;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nd-job-service-box {
    display: flex;
    background: #FCFEFF;
    box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    overflow: hidden;
}

.nd-job-service-content {
    flex: 1;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nd-job-service-name {
    margin: 0 !important;
    font-family: 'PT Sans', sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #263F53 !important;
}

.nd-job-service-desc {
    margin: 0 !important;
    font-family: 'PT Sans', sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #263F53 !important;
}

.nd-job-service-link,
.nd-job-service-link:hover,
.nd-job-service-link:focus,
.nd-job-service-link:active {
    align-self: flex-start;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 115px !important;
    height: 53px !important;
    border-radius: 30px !important;
    border: 2px solid transparent !important;
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(90deg, #a8efdd 0%, #f3ddb7 100%) border-box !important;
    box-shadow: none !important;
    font-family: 'PT Sans', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #263F53 !important;
    text-decoration: none !important;
}

.nd-job-service-book {
    width: 20%;
    min-width: 120px;
    background: linear-gradient(180deg, #86D4C2 0%, #152946 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    flex-shrink: 0;
}

.nd-job-service-book span {
    color: #fff !important;
    text-transform: uppercase;
    font-family: 'PT Sans', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-align: center;
    padding: 0 12px;
}

/* ─── Pagination ──────────────────────────────────────────── */
.nd-job-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nd-job-page,
.nd-job-page:hover,
.nd-job-page:focus,
.nd-job-page:active {
    width: 35px !important;
    height: 35px !important;
    padding: 0 !important;
    border: 1px solid rgba(38, 63, 83, 0.2) !important;
    border-radius: 5px !important;
    background: none !important;
    box-shadow: none !important;
    font-family: 'PT Sans', sans-serif !important;
    font-size: 20px !important;
    line-height: 1 !important;
    color: #263F53 !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: opacity 0.2s, background 0.2s;
}

.nd-job-page--active,
.nd-job-page--active:hover {
    background: #263F53 !important;
    border-color: #263F53 !important;
    color: #fff !important;
}

.nd-job-page--arrow {
    color: #263F53 !important;
}

.nd-job-page--arrow:disabled {
    opacity: 0.25;
    cursor: default;
}

.nd-job-page--ellipsis {
    border: none !important;
    background: none !important;
    cursor: default;
    padding: 0 4px !important;
}

/* ─── Mobile ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .nd-job-logo-bg {
        display: none !important;
    }

    .nd-job-slide-inner {
        flex-direction: column;
    }

    .nd-job-slide-sidebar {
        width: 100%;
    }

    /* ── BA item ── */
    .nd-job-ba-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nd-job-ba-item {
        width: 300px;
        max-width: 100%;
        height: auto;
        aspect-ratio: 2 / 1;
    }

    .nd-job-ba-title {
        font-size: 20px !important;
        margin: 12px 0 0 !important;
        text-align: center !important;
    }

    /* ── BA handle ── */
    .nd-job-ba-handle {
        width: 20px;
    }

    .nd-job-ba-handle-circle {
        width: 45px;
        height: 45px;
        gap: 4px;
    }

    .nd-job-ba-handle-circle svg {
        height: 14px;
    }

    /* ── Job title & description ── */
    .nd-job-title {
        font-size: 20px !important;
        text-align: center !important;
    }

    .nd-job-desc {
        text-align: center;
    }

    /* ── Related services ── */
    .nd-job-services-title {
        font-size: 20px !important;
        text-align: center !important;
        margin: 30px 0 30px 0 !important;
    }

    .nd-job-service-box {
        flex-direction: column;
    }

    .nd-job-service-content {
        align-items: center;
        text-align: center;
    }

    .nd-job-service-name {
        font-size: 20px !important;
        text-align: center !important;
    }

    .nd-job-service-desc {
        font-size: 16px !important;
        text-align: center !important;
        margin-bottom: 30px !important;
    }

    .nd-job-service-link,
    .nd-job-service-link:hover,
    .nd-job-service-link:focus,
    .nd-job-service-link:active {
        align-self: center;
        font-size: 16px !important;
    }

    .nd-job-service-book {
        width: 100%;
        padding: 21px 0;
    }
}
