/* ========================================
   SERVICE DETAIL PAGE
   Pixel-perfect match to Figma node 789-12871
   ======================================== */

/* === HERO === */
.nexar-svcdetail-hero {
    position: relative;
    background: #1400A0;
    background-size: cover;
    background-position: center center;
    padding-top: 180px;
    padding-bottom: 120px;
    overflow: hidden;
    min-height: 620px;
    display: flex;
    align-items: center;
}

.nexar-svcdetail-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.nexar-svcdetail-hero__title {
    font-family: 'Noto Sans', sans-serif;
    font-size: 92px;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.05;
    margin: 0 0 40px;
    letter-spacing: -1px;
}

.nexar-svcdetail-hero__desc {
    font-family: 'Noto Sans', sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    margin: 0;
    max-width: 720px;
}

/* Animated decorative bars */
.nexar-svcdetail-hero__lines {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 100%;
    height: 90px;
    pointer-events: none;
    z-index: 1;
}

.nexar-svcdetail-hero__line {
    position: absolute;
    right: 0;
    display: block;
    height: auto;
    max-width: 100%;
    transform: translateX(110vw);
}

.svcdetail-lines-entered .nexar-svcdetail-hero__line--1 {
    animation: nexar-line-enter 4s infinite;
    animation-delay: 0s;
}
.svcdetail-lines-entered .nexar-svcdetail-hero__line--2 {
    animation: nexar-line-enter 4s infinite;
    animation-delay: 0.12s;
}
.svcdetail-lines-entered .nexar-svcdetail-hero__line--3 {
    animation: nexar-line-enter 4s infinite;
    animation-delay: 0.24s;
}
.svcdetail-lines-entered .nexar-svcdetail-hero__line--4 {
    animation: nexar-line-enter 4s infinite;
    animation-delay: 0.36s;
}

.nexar-svcdetail-hero__line--1 {
    top: 8px;
    right: 28.4%;
    width: 9.9%;
    max-width: 190px;
    min-width: 60px;
}
.nexar-svcdetail-hero__line--2 {
    top: 23px;
    width: 33.4%;
    max-width: 641px;
    min-width: 120px;
}
.nexar-svcdetail-hero__line--3 {
    top: 51px;
    width: 28.2%;
    max-width: 541px;
    min-width: 100px;
}
.nexar-svcdetail-hero__line--4 {
    top: 74px;
    width: 7.6%;
    max-width: 145px;
    min-width: 40px;
}

/* Gradient line after hero — matches about-us page */
.nexar-svcdetail-gradient-line {
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #3699FD 0%, #1CD47F 100%);
    margin: 0;
    padding: 0;
}

/* === WHAT WE DELIVER === */
.nexar-svcdetail-deliver {
    background: #FFFFFF;
    padding: 50px 245px;
}

.nexar-svcdetail-deliver__inner {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 80px;
    align-items: stretch;
}

.nexar-svcdetail-deliver__left {
    min-width: 0;
}

.nexar-svcdetail-deliver__heading {
    font-family: 'Noto Sans', sans-serif;
    font-size: 56px;
    font-weight: 500;
    color: #000000;
    margin: 0 0 40px;
    line-height: 1.15;
    text-transform: capitalize;
}

.nexar-svcdetail-deliver__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nexar-svcdetail-deliver__item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
}

.nexar-svcdetail-deliver__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    border: 2px solid transparent;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, #3699FD 0%, #1CD47F 100%) border-box;
    box-shadow: none;
    flex-shrink: 0;
}
.nexar-svcdetail-deliver__num svg {
    width: 20px;
    height: 20px;
    display: block;
}

.nexar-svcdetail-deliver__text {
    font-family: 'Noto Sans', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #1A1A1A;
    line-height: 1.65;
    margin: 0;
}

/* Right column — two stacked images that span content height */
.nexar-svcdetail-deliver__right {
    position: relative;
    min-height: 100%;
}

.nexar-svcdetail-deliver__img {
    overflow: hidden;
    position: absolute;
}

.nexar-svcdetail-deliver__img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.nexar-svcdetail-deliver__img--1 {
    top: 0;
    right: 0;
    width: 80%;
    height: 380px;
    z-index: 1;
}

.nexar-svcdetail-deliver__img--2 {
    bottom: 0;
    left: 0;
    width: 55%;
    height: 220px;
    margin-bottom: -20px !important;
    z-index: 2;
}

/* === STRATEGIC VALUE — gradient card === */
.nexar-svcdetail-strategic {
    background: #FFFFFF;
    padding: 40px 245px 60px;
}

section.nexar-svcdetail-strategic {
    padding-bottom: 0px !important;
}
.nexar-svcdetail-strategic__inner {
    max-width: 100%;
    background: linear-gradient(135deg, #3699FD 0%, #1CD47F 100%);
    padding: 48px 56px;
    border-radius: 8px;
}
.nexar-svcdetail-strategic__heading {
    font-family: 'Noto Sans', sans-serif;
    font-size: 36px;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 1.2;
    margin: 0 0 18px;
}
.nexar-svcdetail-strategic__desc {
    font-family: 'Noto Sans', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
    margin: 0 0 14px;
}
.nexar-svcdetail-strategic__desc:last-child {
    margin-bottom: 0;
}
@media (max-width: 1440px) {
    .nexar-svcdetail-strategic { padding: 40px 160px 60px; }
}
@media (max-width: 1200px) {
    .nexar-svcdetail-strategic { padding: 36px 80px 52px; }
    .nexar-svcdetail-strategic__inner { padding: 40px 44px; }
    .nexar-svcdetail-strategic__heading { font-size: 30px; }
    .nexar-svcdetail-strategic__desc { font-size: 16px; }
}
@media (max-width: 768px) {
    /* Tighter bottom to reduce the mobile gap before Programme Outcome */
    .nexar-svcdetail-strategic { padding: 32px 32px 8px; }
    .nexar-svcdetail-strategic__inner { padding: 32px 28px; }
    .nexar-svcdetail-strategic__heading { font-size: 26px; margin-bottom: 14px; }
    .nexar-svcdetail-strategic__desc { font-size: 15px; margin-bottom: 12px; }
}
@media (max-width: 480px) {
    .nexar-svcdetail-strategic { padding: 24px 20px 6px; }
    .nexar-svcdetail-strategic__inner { padding: 24px 20px; }
    .nexar-svcdetail-strategic__heading { font-size: 22px; }
}

/* === WHY NEXAR / WHAT WE OFFER === */
/* === PROGRAMME OUTCOME — gradient card === */
.nexar-svcdetail-outcome {
    background: #FFFFFF;
    padding: 0px 245px;
}

.nexar-svcdetail-outcome__inner {
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    /* align-items: center; */
}

.nexar-svcdetail-outcome__card {
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.nexar-svcdetail-outcome__image {
    width: 100%;
    overflow: hidden;
    /* border-radius: 8px; */
}
.nexar-svcdetail-outcome__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .nexar-svcdetail-outcome__inner { grid-template-columns: 1fr 320px; gap: 32px; }
}
@media (max-width: 768px) {
    .nexar-svcdetail-outcome__inner { grid-template-columns: 1fr; gap: 24px; }
    .nexar-svcdetail-outcome__image { max-width: 520px; }
}

.nexar-svcdetail-outcome__heading {
    font-family: 'Noto Sans', sans-serif;
    font-size: 44px;
    font-weight: 500;
    color: #1a1a2e;
    margin: 0 0 20px;
    line-height: 1.2;
}

.nexar-svcdetail-outcome__desc {
    font-family: 'Noto Sans', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #1A1A1A;
    line-height: 1.7;
    margin: 0;
    max-width: 900px;
}

/* === OUR DIFFERENCE + FEATURE CARDS === */
.nexar-diffcards {
    background: #FFFFFF;
    padding: 120px 245px;
}

section.nexar-diffcards {
    padding-top: 0px !important;
}

.nexar-diffcards__inner {
    max-width: 100%;
}

.nexar-diffcards__label {
    display: block;
    font-family: 'Noto Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #1A1A1A;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}

.nexar-diffcards__heading {
    font-family: 'Noto Sans', sans-serif;
    font-size: 56px;
    font-weight: 500;
    color: #000000;
    line-height: 1.15;
    margin: 0 0 28px;
}

.nexar-diffcards__desc {
    font-family: 'Noto Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #1A1A1A;
    line-height: 1.75;
    margin: 0;
    max-width: 900px;
}

.nexar-diffcards__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 60px;
}

.nexar-diffcards__card {
    padding: 48px 32px;
    border-left: 1px solid #E0E0E0;
}

.nexar-diffcards__card:first-child {
    border-left: none;
    padding-left: 0;
}

.nexar-diffcards__card:last-child {
    padding-right: 0;
}

.nexar-diffcards__icon {
    margin-bottom: 24px;
    width: 60px;
    height: 60px;
    animation: nexar-icon-float 3.2s ease-in-out infinite;
    will-change: transform;
}

.nexar-diffcards__card:nth-child(2) .nexar-diffcards__icon { animation-delay: 0.5s; }
.nexar-diffcards__card:nth-child(3) .nexar-diffcards__icon { animation-delay: 1.0s; }
.nexar-diffcards__card:nth-child(4) .nexar-diffcards__icon { animation-delay: 1.5s; }

.nexar-diffcards__icon img {
    width: 60px;
    height: 60px;
    display: block;
}

.nexar-diffcards__card-title {
    font-family: 'Noto Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 16px;
    line-height: 1.25;
}

.nexar-diffcards__card-desc {
    font-family: 'Noto Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #1A1A1A;
    line-height: 1.65;
    margin: 0;
}

/* Responsive */
@media screen and (max-width: 1520px) {
    .nexar-diffcards { padding: 80px 120px; }
    .nexar-diffcards__label { font-size: 18px; }
    .nexar-diffcards__heading { font-size: 48px; }
    .nexar-diffcards__desc { font-size: 18px; }
}
@media screen and (max-width: 1366px) {
    .nexar-diffcards { padding: 70px 80px; }
    .nexar-diffcards__label { font-size: 17px; }
    .nexar-diffcards__heading { font-size: 42px; }
    .nexar-diffcards__desc { font-size: 17px; }
    .nexar-diffcards__card { padding: 40px 24px; }
    .nexar-diffcards__card-title { font-size: 22px; }
    .nexar-diffcards__card-desc { font-size: 18px; }
}
@media screen and (max-width: 1200px) {
    .nexar-diffcards { padding: 80px 60px; }
    .nexar-diffcards__heading { font-size: 38px; }
    .nexar-diffcards__desc { font-size: 16px; }
    .nexar-diffcards__grid { grid-template-columns: repeat(4, 1fr); }
    .nexar-diffcards__icon, .nexar-diffcards__icon img { width: 50px; height: 50px; }
    .nexar-diffcards__card { padding: 36px 24px; }
    .nexar-diffcards__card-title { font-size: 18px; }
    .nexar-diffcards__card-desc { font-size: 15px; }
    .nexar-diffcards__card-desc { font-size: 16px; }
}
@media screen and (max-width: 1024px) {
    .nexar-diffcards { padding: 50px 40px; }
    .nexar-diffcards__label { font-size: 15px; }
    .nexar-diffcards__heading { font-size: 32px; }
    .nexar-diffcards__desc { font-size: 15px; }
}
@media screen and (max-width: 768px) {
    .nexar-diffcards { padding: 40px 24px; }
    .nexar-diffcards__label { font-size: 14px; }
    .nexar-diffcards__heading { font-size: 28px; }
    .nexar-diffcards__desc { font-size: 14px; }
    .nexar-diffcards__grid { grid-template-columns: 1fr; margin-top: 36px; }
    .nexar-diffcards__card {
        border-left: none;
        border-bottom: 1px solid #E0E0E0;
        padding: 28px 0;
    }
    .nexar-diffcards__card:last-child { border-bottom: none; }
    .nexar-diffcards__card:first-child { padding-left: 0; }
    .nexar-diffcards__icon, .nexar-diffcards__icon img { width: 44px; height: 44px; }
    .nexar-diffcards__card-title { font-size: 18px; }
    .nexar-diffcards__card-desc { font-size: 15px; }
}
@media screen and (max-width: 480px) {
    .nexar-diffcards { padding: 32px 16px; }
    .nexar-diffcards__label { font-size: 13px; }
    .nexar-diffcards__heading { font-size: 24px; }
    .nexar-diffcards__desc { font-size: 13px; }
    .nexar-diffcards__grid { margin-top: 28px; }
    .nexar-diffcards__icon, .nexar-diffcards__icon img { width: 38px; height: 38px; }
    .nexar-diffcards__card-title { font-size: 16px; }
    .nexar-diffcards__card-desc { font-size: 14px; }
}

/* === WHY NEXAR / OUR DIFFERENCE (legacy — kept for reference) === */
.nexar-svcdetail-diff {
    background: #FFFFFF;
    padding: 100px 245px;
}

.nexar-svcdetail-diff__inner {
    max-width: 100%;
}

.nexar-svcdetail-diff__label {
    font-family: 'Noto Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #1A1A1A;
    display: block;
    margin-bottom: 12px;
}

.nexar-svcdetail-diff__heading {
    font-family: 'Noto Sans', sans-serif;
    font-size: 48px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 20px;
    line-height: 1.1;
}

.nexar-svcdetail-diff__desc {
    font-family: 'Noto Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #1A1A1A;
    line-height: 1.7;
    margin: 0;
    max-width: 900px;
}

.nexar-svcdetail-diff__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 60px;
    border-top: 1px solid #E0E0E0;
    padding-top: 0;
}

.nexar-svcdetail-diff__card {
    padding: 48px 32px;
    border-left: 1px solid #E0E0E0;
}

.nexar-svcdetail-diff__card:first-child {
    border-left: none;
    padding-left: 0;
}

.nexar-svcdetail-diff__card:last-child {
    padding-right: 0;
}

.nexar-svcdetail-diff__icon {
    margin-bottom: 28px;
}

.nexar-svcdetail-diff__icon img {
    width: 56px;
    height: 56px;
    display: block;
}

.nexar-svcdetail-diff__card-title {
    font-family: 'Noto Sans', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 16px;
    line-height: 1.25;
}

.nexar-svcdetail-diff__card-desc {
    font-family: 'Noto Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #1A1A1A;
    line-height: 1.65;
    margin: 0;
}

/* Responsive — 1520px */
@media screen and (max-width: 1520px) {
    .nexar-svcdetail-diff { padding: 80px 160px; }
    .nexar-svcdetail-diff__heading { font-size: 42px; }
}

/* Responsive — 1366px */
@media screen and (max-width: 1366px) {
    .nexar-svcdetail-diff { padding: 70px 120px; }
    .nexar-svcdetail-diff__heading { font-size: 38px; }
    .nexar-svcdetail-diff__card { padding: 32px 24px; }
    .nexar-svcdetail-diff__card-title { font-size: 20px; }
}

/* Responsive — 1200px */
@media screen and (max-width: 1200px) {
    .nexar-svcdetail-diff { padding: 60px 80px; }
    .nexar-svcdetail-diff__heading { font-size: 34px; }
    .nexar-svcdetail-diff__cards { grid-template-columns: repeat(2, 1fr); gap: 0; }
    .nexar-svcdetail-diff__card { border-left: 1px solid #E0E0E0; border-bottom: 1px solid #E0E0E0; }
    .nexar-svcdetail-diff__card:first-child { border-left: none; }
    .nexar-svcdetail-diff__card:nth-child(3) { border-left: none; }
}

/* Responsive — 1024px */
@media screen and (max-width: 1024px) {
    .nexar-svcdetail-diff { padding: 50px 48px; }
    .nexar-svcdetail-diff__heading { font-size: 30px; }
    .nexar-svcdetail-diff__desc { font-size: 16px; }
    .nexar-svcdetail-diff__card-title { font-size: 19px; }
    .nexar-svcdetail-diff__card-desc { font-size: 15px; }
}

/* Responsive — 768px */
@media screen and (max-width: 768px) {
    .nexar-svcdetail-diff { padding: 40px 20px; }
    .nexar-svcdetail-diff__heading { font-size: 26px; }
    .nexar-svcdetail-diff__desc { font-size: 15px; }
    .nexar-svcdetail-diff__cards { grid-template-columns: 1fr; margin-top: 36px; }
    .nexar-svcdetail-diff__card { border-left: none; border-bottom: 1px solid #E0E0E0; padding: 24px 0; }
    .nexar-svcdetail-diff__card:last-child { border-bottom: none; }
    .nexar-svcdetail-diff__card-title { font-size: 18px; }
    .nexar-svcdetail-diff__card-desc { font-size: 14px; }
}

/* Responsive — 480px */
@media screen and (max-width: 480px) {
    .nexar-svcdetail-diff { padding: 32px 16px; }
    .nexar-svcdetail-diff__heading { font-size: 22px; }
    .nexar-svcdetail-diff__cards { margin-top: 28px; }
    .nexar-svcdetail-diff__icon img { width: 40px; height: 40px; }
}

/* === OTHER SERVICES === */
.nexar-svcdetail-others {
    background: #FFFFFF;
    padding: 0 0 0;
}

.nexar-svcdetail-others__inner {
    max-width: 100%;
}

.nexar-svcdetail-others__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.nexar-svcdetail-others__card {
    position: relative;
    display: block;
    overflow: hidden;
    height: 400px;
    text-decoration: none;
}

.nexar-svcdetail-others__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.nexar-svcdetail-others__card:hover img {
    transform: scale(1.08);
}

.nexar-svcdetail-others__card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 24px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
}

.nexar-svcdetail-others__card-title {
    font-family: 'Noto Sans', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 8px;
    line-height: 1.3;
}

.nexar-svcdetail-others__card-link {
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #00E676;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* === GALLERY === */
.nexar-svcdetail-gallery {
    background: #FFFFFF;
    padding: 80px 245px;
}

.nexar-svcdetail-gallery__inner {
    max-width: 100%;
}

.nexar-svcdetail-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.nexar-svcdetail-gallery__item {
    overflow: hidden;
    border-radius: 0;
}

.nexar-svcdetail-gallery__item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.nexar-svcdetail-gallery__item:hover img {
    transform: scale(1.05);
}

/* Large first image spanning 2 columns */
.nexar-svcdetail-gallery__item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.nexar-svcdetail-gallery__item:first-child img {
    height: 100%;
}

/* === RESPONSIVE === */

/* ≤1522px */
@media screen and (max-width: 1522px) {
    .nexar-svcdetail-hero {
        padding-top: 160px;
        padding-bottom: 100px;
    }
    .nexar-svcdetail-hero__title { font-size: 80px; }
    .nexar-svcdetail-hero__desc { font-size: 20px; }
    .nexar-svcdetail-deliver,
    .nexar-svcdetail-outcome,
    .nexar-svcdetail-gallery {
        padding-left: 120px;
        padding-right: 120px;
    }
    .nexar-svcdetail-outcome__heading { font-size: 48px; }
}

/* ≤1440px */
@media screen and (max-width: 1440px) {
    .nexar-svcdetail-hero {
        padding-top: 150px;
        padding-bottom: 90px;
    }
    .nexar-svcdetail-hero__title { font-size: 74px; }
    .nexar-svcdetail-hero__desc { font-size: 19px; }
    .nexar-svcdetail-hero__inner { max-width: 750px; }
    .nexar-svcdetail-deliver,
    .nexar-svcdetail-outcome,
    .nexar-svcdetail-gallery {
        padding-left: 100px;
        padding-right: 100px;
    }
    .nexar-svcdetail-outcome__heading { font-size: 44px; }
}

/* ≤1366px */
@media screen and (max-width: 1366px) {
    .nexar-svcdetail-hero {
        padding-top: 140px;
        padding-bottom: 80px;
    }
    .nexar-svcdetail-hero__title { font-size: 66px; }
    .nexar-svcdetail-hero__desc { font-size: 18px; }
    .nexar-svcdetail-deliver,
    .nexar-svcdetail-outcome,
    .nexar-svcdetail-gallery {
        padding-left: 80px;
        padding-right: 80px;
    }
    .nexar-svcdetail-outcome__heading { font-size: 42px; }
    .nexar-svcdetail-deliver__heading { font-size: 42px; }
    .nexar-svcdetail-deliver__inner { grid-template-columns: 1fr 300px; gap: 50px; }
    .nexar-svcdetail-deliver__right { min-height: 100%; }
    .nexar-svcdetail-deliver__img--1 { width: 80%; height: 300px; }
    .nexar-svcdetail-deliver__img--2 { width: 55%; height: 200px; }
    .nexar-svcdetail-deliver__text { font-size: 22px; }
    .nexar-svcdetail-deliver__num { font-size: 18px; }
}

/* ≤1200px */
@media screen and (max-width: 1200px) {
    .nexar-svcdetail-hero {
        padding-top: 130px;
        padding-bottom: 70px;
        min-height: 520px;
    }
    .nexar-svcdetail-hero__title { font-size: 56px; }
    .nexar-svcdetail-hero__desc { font-size: 17px; max-width: 600px; }
    .nexar-svcdetail-hero__inner { max-width: 700px; }
    .nexar-svcdetail-deliver,
    .nexar-svcdetail-outcome,
    .nexar-svcdetail-gallery {
        padding-left: 60px;
        padding-right: 60px;
    }
    .nexar-svcdetail-deliver { padding-top: 80px; padding-bottom: 80px; }
    .nexar-svcdetail-deliver__heading { font-size: 36px; }
    .nexar-svcdetail-deliver__inner { grid-template-columns: 1fr 240px; gap: 30px; }
    .nexar-svcdetail-deliver__right { min-height: 100%; }
    .nexar-svcdetail-deliver__img--1 { width: 80%; height: 260px; }
    .nexar-svcdetail-deliver__img--2 { width: 55%; height: 180px; }
    .nexar-svcdetail-deliver__text { font-size: 20px; }
    .nexar-svcdetail-deliver__num { font-size: 17px; }
    .nexar-svcdetail-outcome { padding: 60px 80px; }
    .nexar-svcdetail-outcome__card { padding: 50px 60px; }
    .nexar-svcdetail-outcome__heading { font-size: 36px; }
    .nexar-svcdetail-outcome__desc { font-size: 20px; }
    .nexar-svcdetail-others__card { height: 350px; }
    .nexar-svcdetail-others__card-title { font-size: 20px; }
    .nexar-svcdetail-gradient-line { height: 6px; }
}

/* ≤1024px — Tablet landscape */
@media screen and (max-width: 1024px) {
    .nexar-svcdetail-hero {
        padding-top: 110px;
        padding-bottom: 60px;
        min-height: 480px;
    }
    .nexar-svcdetail-hero__title { font-size: 46px; margin-bottom: 28px; }
    .nexar-svcdetail-hero__desc { font-size: 16px; }
    .nexar-svcdetail-hero__inner { max-width: 600px; }
    .nexar-svcdetail-hero__lines { height: 70px; }
    .nexar-svcdetail-hero__line--2 { top: 18px; }
    .nexar-svcdetail-hero__line--3 { top: 40px; }
    .nexar-svcdetail-hero__line--4 { top: 58px; }
    .nexar-svcdetail-deliver,
    .nexar-svcdetail-outcome,
    .nexar-svcdetail-gallery {
        padding: 70px 40px;
    }
    .nexar-svcdetail-deliver__heading { font-size: 32px; }
    .nexar-svcdetail-deliver__inner { grid-template-columns: 1fr 280px; gap: 30px; }
    .nexar-svcdetail-deliver__right { min-height: 100%; }
    .nexar-svcdetail-deliver__img--1 { top: 0; right: 0; left: auto; width: 80%; height: 280px; }
    .nexar-svcdetail-deliver__img--2 { bottom: 0; left: 0; right: auto; width: 60%; height: 200px; }
    .nexar-svcdetail-deliver__text { font-size: 18px; }
    .nexar-svcdetail-deliver__num { font-size: 16px; }
    .nexar-svcdetail-outcome__heading { font-size: 32px; }
    .nexar-svcdetail-outcome__desc { font-size: 18px; }
    .nexar-svcdetail-outcome__card { padding: 40px 48px; }
    .nexar-svcdetail-others__cards { grid-template-columns: repeat(2, 1fr); }
    .nexar-svcdetail-others__card { height: 320px; }
    .nexar-svcdetail-others__card-title { font-size: 18px; }
    .nexar-svcdetail-gallery__grid { grid-template-columns: repeat(2, 1fr); }
    .nexar-svcdetail-gallery__item:first-child { grid-column: span 2; grid-row: span 1; }
}

/* ≤768px — Tablet portrait */
@media screen and (max-width: 768px) {
    .nexar-svcdetail-hero {
        padding-top: 100px;
        padding-bottom: 50px;
        min-height: 400px;
    }
    .nexar-svcdetail-hero__title { font-size: 36px; margin-bottom: 20px; }
    .nexar-svcdetail-hero__desc { font-size: 15px; line-height: 1.55; max-width: 100%; }
    .nexar-svcdetail-hero__inner { max-width: 100%; }
    .nexar-svcdetail-hero__lines { display: none; }
    .nexar-svcdetail-gradient-line { height: 6px; }
    .nexar-svcdetail-deliver,
    .nexar-svcdetail-outcome,
    .nexar-svcdetail-gallery {
        padding: 50px 24px;
    }
    .nexar-svcdetail-deliver__inner { grid-template-columns: 1fr; gap: 30px; }
    .nexar-svcdetail-deliver__heading { font-size: 28px; margin-bottom: 20px; }
    /* Offset overlap like reference — top-right img + bottom-left img with diagonal overlap */
    .nexar-svcdetail-deliver__right {
        position: relative;
        width: 100%;
        height: 420px !important;
        min-height: 420px !important;
        padding: 0 !important;
    }
    .nexar-svcdetail-deliver__img {
        position: absolute !important;
        margin: 0 !important;
    }
    .nexar-svcdetail-deliver__img--1 {
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        bottom: auto !important;
        width: 75% !important;
        height: 260px !important;
        z-index: 1;
    }
    .nexar-svcdetail-deliver__img--2 {
        bottom: 0 !important;
        left: 0 !important;
        top: auto !important;
        right: auto !important;
        width: 75% !important;
        height: 230px !important;
        z-index: 2;
    }
    .nexar-svcdetail-deliver__img img {
        width: auto !important;
        height: 100% !important;
        display: block;
        object-fit: cover;
        object-position: center 20%;
    }
    .nexar-svcdetail-deliver__num { width: 30px; height: 30px; min-width: 30px; }
    .nexar-svcdetail-deliver__num svg { width: 18px; height: 18px; }
    .nexar-svcdetail-deliver__text { font-size: 16px; }
    .nexar-svcdetail-deliver__item { gap: 14px; padding: 14px 0; }
    /* Tighter top to reduce the mobile gap after Strategic Value */
    .nexar-svcdetail-outcome { padding: 8px 20px 40px; }
    .nexar-svcdetail-outcome__card { padding: 0px 28px 36px 28px; }
    .nexar-svcdetail-outcome__heading { font-size: 28px; }
    .nexar-svcdetail-outcome__desc { font-size: 15px; }
    .nexar-svcdetail-others__cards { grid-template-columns: 1fr; }
    .nexar-svcdetail-others__card { height: 280px; }
    .nexar-svcdetail-others__card-title { font-size: 20px; }
    .nexar-svcdetail-gallery__grid { grid-template-columns: 1fr; }
    .nexar-svcdetail-gallery__item:first-child { grid-column: span 1; }
    .nexar-svcdetail-gallery__item img { height: 220px; }
}

/* ≤480px — Mobile */
@media screen and (max-width: 480px) {
    .nexar-svcdetail-hero {
        padding-top: 90px;
        padding-bottom: 40px;
        min-height: 360px;
    }
    .nexar-svcdetail-hero__title { font-size: 30px; margin-bottom: 16px; }
    .nexar-svcdetail-hero__desc { font-size: 14px; }
    .nexar-svcdetail-gradient-line { height: 4px; }
    .nexar-svcdetail-deliver,
    .nexar-svcdetail-outcome,
    .nexar-svcdetail-gallery {
        padding: 40px 16px;
    }
    .nexar-svcdetail-deliver__heading { font-size: 24px; margin-bottom: 20px; }
    .nexar-svcdetail-deliver__right {
        height: 360px !important;
        min-height: 360px !important;
    }
    .nexar-svcdetail-deliver__img--1 { width: 78% !important; height: 220px !important; }
    .nexar-svcdetail-deliver__img--2 { width: 58% !important; height: 160px !important; }
    .nexar-svcdetail-deliver__num { width: 26px; height: 26px; min-width: 26px; }
    .nexar-svcdetail-deliver__num svg { width: 16px; height: 16px; }
    .nexar-svcdetail-deliver__text { font-size: 15px; }
    .nexar-svcdetail-deliver__item { gap: 12px; padding: 12px 0; }
    /* Tighter top to reduce the mobile gap after Strategic Value (≤480) */
    .nexar-svcdetail-outcome { padding-top: 6px; }
    .nexar-svcdetail-outcome__heading { font-size: 24px; }
    .nexar-svcdetail-outcome__desc { font-size: 14px; }
    .nexar-svcdetail-others__card { height: 240px; }
    .nexar-svcdetail-others__card-title { font-size: 18px; }
    .nexar-svcdetail-gallery__item img { height: 180px; }
}
