﻿/* =========================================================
   New Developer Style
   Services List Page
========================================================= */

.nd-services-page {
    padding: 35px 0 70px;
}

    .nd-services-page .nd-section-head {
        text-align: center;
        margin-bottom: 28px;
    }

    .nd-services-page .nd-section-tagline {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 8px 22px;
        border-radius: 999px;
        background: rgba(190, 145, 90, .12);
        color: #8b5e34;
        font-weight: 700;
        font-size: 15px;
    }

    .nd-services-page .nd-search-wrap {
        max-width: 760px;
        margin: 0 auto 34px;
        position: relative;
    }

    .nd-services-page .nd-service-search {
        width: 100%;
        border: 1px solid rgba(17, 24, 39, .12);
        border-radius: 22px;
        padding: 17px 52px 17px 20px;
        font-size: 16px;
        background: #fff;
        box-shadow: 0 14px 38px rgba(15, 23, 42, .08);
        transition: all .25s ease;
    }

        .nd-services-page .nd-service-search:focus {
            outline: none;
            border-color: rgba(190, 145, 90, .75);
            box-shadow: 0 16px 45px rgba(190, 145, 90, .18);
        }

    .nd-services-page .nd-search-icon {
        position: absolute;
        top: 50%;
        right: 18px;
        transform: translateY(-50%);
        color: #b98b5d;
        font-size: 18px;
        pointer-events: none;
    }

    .nd-services-page .nd-clear-search {
        position: absolute;
        top: 50%;
        left: 12px;
        transform: translateY(-50%);
        width: 34px;
        height: 34px;
        border: none;
        border-radius: 50%;
        background: rgba(15, 23, 42, .06);
        color: #111827;
        display: none;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

        .nd-services-page .nd-clear-search.is-show {
            display: flex;
        }

    .nd-services-page .nd-service-card {
        height: 100%;
        border-radius: 24px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 16px 40px rgba(15, 23, 42, .09);
        transition: transform .25s ease, box-shadow .25s ease;
    }

        .nd-services-page .nd-service-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 24px 60px rgba(15, 23, 42, .14);
        }

    .nd-services-page .nd-service-image {
        position: relative;
        height: 285px;
        overflow: hidden;
        background: #f3f4f6;
    }

        .nd-services-page .nd-service-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
            transition: transform .35s ease;
        }

    .nd-services-page .nd-service-card:hover .nd-service-image img {
        transform: scale(1.06);
    }

    .nd-services-page .nd-service-body {
        padding: 18px 18px 20px;
    }

    .nd-services-page .nd-service-title {
        margin: 0 0 12px;
        font-size: 18px;
        line-height: 1.8;
        font-weight: 800;
    }

        .nd-services-page .nd-service-title a {
            color: #111827;
            text-decoration: none;
        }

    .nd-services-page .nd-service-time {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 13px;
        border-radius: 999px;
        background: rgba(190, 145, 90, .11);
        color: #8b5e34;
        font-size: 14px;
        font-weight: 700;
    }

    .nd-services-page .nd-service-more {
        position: absolute;
        left: 16px;
        bottom: 16px;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: #fff;
        color: #111827;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        box-shadow: 0 12px 28px rgba(15, 23, 42, .18);
    }

    .nd-services-page .nd-hl {
        background: rgba(255, 214, 10, .45);
        padding: 0 .25em;
        border-radius: 6px;
    }

    .nd-services-page .nd-no-result {
        display: none;
        text-align: center;
        padding: 28px 18px;
        border-radius: 22px;
        background: #fff;
        border: 1px dashed rgba(15, 23, 42, .18);
        box-shadow: 0 14px 38px rgba(15, 23, 42, .06);
        color: #555;
    }

        .nd-services-page .nd-no-result b {
            color: #111827;
        }

@media (max-width: 767px) {
    .nd-services-page {
        padding-top: 20px;
    }

        .nd-services-page .nd-services-slider {
            display: flex;
            flex-wrap: nowrap;
            overflow-x: auto;
            gap: 16px;
            scroll-snap-type: x mandatory;
            padding-bottom: 14px;
            margin-left: -12px;
            margin-right: -12px;
            padding-left: 12px;
            padding-right: 12px;
        }

        .nd-services-page .nd-service-item {
            flex: 0 0 82%;
            max-width: 82%;
            scroll-snap-align: center;
        }

        .nd-services-page .nd-service-image {
            height: 245px;
        }

        .nd-services-page .nd-service-search {
            border-radius: 18px;
            font-size: 14px;
        }
}

/* =========================================================
   Service Details Page - New Developer Style
========================================================= */

.nd-service-details {
    padding: 45px 0 80px;
    direction: rtl;
    background: #f8fafc;
}

    .nd-service-details .nd-service-top {
        display: grid;
        grid-template-columns: 1fr 1.05fr;
        gap: 26px;
        align-items: stretch;
        margin-bottom: 26px;
    }

    .nd-service-details .nd-service-media,
    .nd-service-details .nd-service-summary {
        background: #fff;
        border-radius: 28px;
        overflow: hidden;
        box-shadow: 0 18px 55px rgba(15, 23, 42, .10);
    }

    .nd-service-details .nd-service-media {
        position: relative;
        min-height: 430px;
    }

        .nd-service-details .nd-service-media img {
            width: 100%;
            height: 100%;
            min-height: 430px;
            object-fit: cover;
            display: block;
        }

    .nd-service-details .nd-service-summary {
        padding: 32px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .nd-service-details .nd-service-kicker {
        color: #8b5e34;
        font-size: 14px;
        font-weight: 900;
        margin-bottom: 10px;
    }

    .nd-service-details .nd-service-title {
        font-size: 32px;
        font-weight: 950;
        line-height: 1.65;
        margin-bottom: 18px;
        color: #111827;
    }

    .nd-service-details .nd-service-meta {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 22px;
    }

    .nd-service-details .nd-meta-box {
        background: #f8fafc;
        border: 1px solid rgba(15, 23, 42, .06);
        border-radius: 18px;
        padding: 13px 15px;
        display: flex;
        align-items: center;
        gap: 10px;
        color: #374151;
        font-weight: 800;
    }

        .nd-service-details .nd-meta-box i {
            color: #8b5e34;
        }

    .nd-service-details .nd-reserve-btn {
        width: fit-content;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        border-radius: 18px;
        padding: 14px 24px;
        background: linear-gradient(135deg, #111827, #374151);
        color: #fff;
        text-decoration: none;
        font-weight: 900;
        transition: all .25s ease;
    }

        .nd-service-details .nd-reserve-btn:hover {
            color: #fff;
            transform: translateY(-3px);
            box-shadow: 0 16px 34px rgba(15, 23, 42, .22);
        }

    .nd-service-details .nd-tabs-card {
        background: #fff;
        border-radius: 28px;
        box-shadow: 0 18px 55px rgba(15, 23, 42, .08);
        overflow: hidden;
        margin-bottom: 26px;
    }

    .nd-service-details .nd-tabs-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
        border-bottom: 1px solid rgba(15, 23, 42, .08);
        background: #fff;
    }

    .nd-service-details .nd-tab-btn {
        border: 0;
        background: #fff;
        padding: 18px 24px;
        font-weight: 900;
        color: #374151;
        cursor: pointer;
        border-left: 1px solid rgba(15, 23, 42, .06);
    }

        .nd-service-details .nd-tab-btn.is-active {
            background: #0f172a;
            color: #fff;
        }

    .nd-service-details .nd-tab-panel {
        display: none;
        padding: 26px;
    }

        .nd-service-details .nd-tab-panel.is-active {
            display: block;
        }

    .nd-service-details .nd-text-box {
        line-height: 2.25;
        text-align: justify;
        color: #374151;
        max-height: 310px;
        overflow: hidden;
        position: relative;
    }

        .nd-service-details .nd-text-box::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 75px;
            background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
        }

    .nd-service-details .nd-tab-panel.is-open .nd-text-box {
        max-height: none;
    }

        .nd-service-details .nd-tab-panel.is-open .nd-text-box::after {
            display: none;
        }

    .nd-service-details .nd-text-box img {
        max-width: 100%;
        height: auto;
        border-radius: 18px;
    }

    .nd-service-details .nd-read-more-btn {
        margin-top: 18px;
        border: 0;
        border-radius: 15px;
        padding: 11px 18px;
        background: rgba(190, 145, 90, .13);
        color: #8b5e34;
        font-weight: 900;
        cursor: pointer;
    }

        .nd-service-details .nd-read-more-btn:hover {
            background: rgba(190, 145, 90, .22);
        }

    .nd-service-details .nd-related-card,
    .nd-service-details .nd-faq-card {
        background: #fff;
        border-radius: 28px;
        padding: 24px;
        box-shadow: 0 18px 55px rgba(15, 23, 42, .08);
        margin-bottom: 26px;
    }

    .nd-service-details .nd-block-title {
        font-size: 22px;
        font-weight: 950;
        margin-bottom: 18px;
        color: #111827;
    }

    .nd-service-details .nd-related-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .nd-service-details .nd-related-link {
        background: #f8fafc;
        border-radius: 18px;
        padding: 14px;
        color: #374151;
        text-decoration: none;
        font-weight: 850;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        transition: all .2s ease;
    }

        .nd-service-details .nd-related-link:hover {
            background: rgba(190, 145, 90, .13);
            color: #8b5e34;
        }

    .nd-service-details .accrodion {
        border: 1px solid rgba(15, 23, 42, .08);
        border-radius: 18px;
        margin-bottom: 12px;
        overflow: hidden;
    }

    .nd-service-details .accrodion-title {
        padding: 16px 18px;
        background: rgba(190, 145, 90, .08);
        cursor: pointer;
    }

        .nd-service-details .accrodion-title h4 {
            margin: 0;
            font-size: 16px;
            font-weight: 900;
        }

    .nd-service-details .accrodion-content .inner {
        padding: 16px 18px;
        line-height: 2;
    }

@media (max-width: 991px) {
    .nd-service-details {
        padding: 25px 0 55px;
    }

        .nd-service-details .nd-service-top {
            grid-template-columns: 1fr;
        }

        .nd-service-details .nd-service-media,
        .nd-service-details .nd-service-media img {
            min-height: 285px;
        }

        .nd-service-details .nd-service-summary {
            padding: 22px;
        }

        .nd-service-details .nd-service-title {
            font-size: 24px;
        }

        .nd-service-details .nd-service-meta {
            grid-template-columns: 1fr;
        }

        .nd-service-details .nd-tabs-nav {
            overflow-x: auto;
            flex-wrap: nowrap;
        }

        .nd-service-details .nd-tab-btn {
            flex: 0 0 auto;
            padding: 15px 18px;
            white-space: nowrap;
        }

        .nd-service-details .nd-tab-panel {
            padding: 20px;
        }

        .nd-service-details .nd-related-grid {
            display: flex;
            overflow-x: auto;
            gap: 12px;
            scroll-snap-type: x mandatory;
            padding-bottom: 10px;
        }

        .nd-service-details .nd-related-link {
            flex: 0 0 78%;
            scroll-snap-align: center;
        }
}

/* =========================================================
   Work Sample Gallery
========================================================= */

.nd-sample-gallery {
    padding: 45px 0 80px;
    direction: rtl;
    background: #f8fafc;
}

    .nd-sample-gallery .nd-sample-head {
        text-align: center;
        margin-bottom: 30px;
    }

    .nd-sample-gallery .nd-sample-kicker {
        display: inline-flex;
        padding: 8px 18px;
        border-radius: 999px;
        background: rgba(190, 145, 90, .13);
        color: #8b5e34;
        font-weight: 900;
        margin-bottom: 12px;
    }

    .nd-sample-gallery .nd-sample-title {
        font-size: 30px;
        font-weight: 950;
        line-height: 1.7;
        margin: 0;
        color: #111827;
    }

    .nd-sample-gallery .nd-sample-count {
        margin-top: 10px;
        color: #6b7280;
        font-weight: 700;
    }

    .nd-sample-gallery .nd-sample-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .nd-sample-gallery .nd-sample-card {
        width: 100%;
        border: 0;
        padding: 0;
        background: #fff;
        cursor: pointer;
        border-radius: 26px;
        overflow: hidden;
        box-shadow: 0 16px 45px rgba(15, 23, 42, .09);
        transition: transform .25s ease, box-shadow .25s ease;
    }

        .nd-sample-gallery .nd-sample-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 24px 60px rgba(15, 23, 42, .14);
        }

    .nd-sample-gallery .nd-sample-img-wrap {
        position: relative;
        overflow: hidden;
        aspect-ratio: 4 / 5;
        background: #eef2f7;
    }

    .nd-sample-gallery .nd-sample-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .35s ease;
    }

    .nd-sample-gallery .nd-sample-card:hover .nd-sample-img {
        transform: scale(1.05);
    }

    .nd-sample-gallery .nd-sample-overlay {
        position: absolute;
        inset: auto 14px 14px 14px;
        padding: 11px 14px;
        border-radius: 16px;
        background: rgba(15, 23, 42, .72);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-weight: 900;
        opacity: 0;
        transform: translateY(8px);
        transition: all .25s ease;
    }

    .nd-sample-gallery .nd-sample-card:hover .nd-sample-overlay {
        opacity: 1;
        transform: translateY(0);
    }

    .nd-sample-gallery .nd-sample-card-footer {
        padding: 15px 16px;
        text-align: center;
        font-weight: 900;
        color: #111827;
    }

    .nd-sample-gallery .nd-sample-empty {
        background: #fff;
        border: 1px dashed rgba(15, 23, 42, .18);
        border-radius: 24px;
        padding: 28px;
        text-align: center;
        color: #6b7280;
        box-shadow: 0 14px 38px rgba(15, 23, 42, .06);
    }

.nd-ws-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
}

    .nd-ws-modal.is-open {
        display: block;
    }

.nd-ws-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, .82);
    backdrop-filter: blur(5px);
}

.nd-ws-modal__panel {
    position: relative;
    width: min(1040px, 94vw);
    margin: 4vh auto;
    background: #0b0f19;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
    animation: ndWsModalIn .22s ease both;
}

@keyframes ndWsModalIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.nd-ws-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(0,0,0,.35);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

.nd-ws-modal__media {
    position: relative;
    background: #000;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nd-ws-modal__img {
    width: 100%;
    max-height: 76vh;
    object-fit: contain;
    display: none;
}

.nd-ws-modal__loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px;
    color: #fff;
}

.nd-ws-spinner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.25);
    border-top-color: #fff;
    animation: ndWsSpin .8s linear infinite;
}

@keyframes ndWsSpin {
    to {
        transform: rotate(360deg);
    }
}

.nd-ws-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    background: #0b0f19;
    border-top: 1px solid rgba(255,255,255,.08);
}

.nd-ws-modal__title {
    color: #fff;
    font-weight: 800;
    opacity: .92;
}

.nd-ws-modal__counter {
    color: rgba(255,255,255,.72);
    font-weight: 800;
}

.nd-ws-modal__nav {
    display: flex;
    gap: 10px;
}

.nd-ws-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.06);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .nd-ws-nav-btn:hover {
        background: rgba(255,255,255,.12);
    }

@media (max-width: 991px) {
    .nd-sample-gallery {
        padding: 28px 0 58px;
    }

        .nd-sample-gallery .nd-sample-grid {
            display: flex;
            overflow-x: auto;
            gap: 16px;
            scroll-snap-type: x mandatory;
            padding-bottom: 14px;
            margin-left: -12px;
            margin-right: -12px;
            padding-left: 12px;
            padding-right: 12px;
        }

        .nd-sample-gallery .nd-sample-item {
            flex: 0 0 82%;
            max-width: 82%;
            scroll-snap-align: center;
        }

    .nd-ws-modal__panel {
        margin: 7vh auto;
        border-radius: 20px;
    }

    .nd-ws-modal__footer {
        flex-wrap: wrap;
    }
}

/* =========================================================
   Contact Page - New Developer Style
========================================================= */

.nd-contact-page {
    direction: rtl;
    background: #f8fafc;
    padding-bottom: 70px;
}

    .nd-contact-page .nd-contact-hero {
        position: relative;
        min-height: 260px;
        border-radius: 0 0 34px 34px;
        overflow: hidden;
        background: #f7e1e1;
        margin-bottom: 38px;
    }

        .nd-contact-page .nd-contact-hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image: var(--nd-contact-bg);
            background-size: cover;
            background-position: center;
            opacity: .35;
        }

        .nd-contact-page .nd-contact-hero::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15,23,42,.92), rgba(15,23,42,.55));
        }

    .nd-contact-page .nd-contact-hero-content {
        position: relative;
        z-index: 2;
        min-height: 260px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 35px 16px;
        text-align: center;
        color: #fff;
    }

    .nd-contact-page .nd-contact-kicker {
        display: inline-flex;
        padding: 8px 18px;
        border-radius: 999px;
        background: rgba(255,255,255,.13);
        color: #fff;
        font-weight: 900;
        margin-bottom: 14px;
    }

    .nd-contact-page .nd-contact-title {
        font-size: 34px;
        font-weight: 950;
        line-height: 1.7;
        margin: 0 0 10px;
    }

    .nd-contact-page .nd-contact-desc {
        max-width: 650px;
        margin: 0;
        color: rgba(255,255,255,.82);
        line-height: 2;
        font-weight: 600;
    }

    .nd-contact-page .nd-contact-info-grid {
        margin-top: -68px;
        position: relative;
        z-index: 4;
        margin-bottom: 30px;
    }

    .nd-contact-page .nd-contact-info-card {
        height: 100%;
        background: #fff;
        border-radius: 26px;
        padding: 22px;
        box-shadow: 0 18px 55px rgba(15, 23, 42, .10);
        border: 1px solid rgba(15,23,42,.06);
        transition: all .25s ease;
    }

        .nd-contact-page .nd-contact-info-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 26px 70px rgba(15, 23, 42, .14);
        }

    .nd-contact-page .nd-contact-info-icon {
        width: 52px;
        height: 52px;
        border-radius: 18px;
        background: rgba(190, 145, 90, .13);
        color: #8b5e34;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        margin-bottom: 14px;
    }

    .nd-contact-page .nd-contact-info-title {
        font-size: 17px;
        font-weight: 950;
        margin-bottom: 8px;
        color: #111827;
    }

    .nd-contact-page .nd-contact-info-text {
        color: #4b5563;
        line-height: 2;
        font-weight: 650;
    }

        .nd-contact-page .nd-contact-info-text a {
            color: #8b5e34;
            text-decoration: none;
            font-weight: 900;
        }

    .nd-contact-page .nd-contact-main-grid {
        display: grid;
        grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
        gap: 24px;
        align-items: stretch;
    }

    .nd-contact-page .nd-contact-form-card,
    .nd-contact-page .nd-contact-map-card {
        background: #fff;
        border-radius: 28px;
        box-shadow: 0 18px 55px rgba(15, 23, 42, .08);
        border: 1px solid rgba(15,23,42,.06);
        overflow: hidden;
    }

    .nd-contact-page .nd-contact-form-card {
        padding: 26px;
    }

    .nd-contact-page .nd-contact-card-title {
        font-size: 24px;
        font-weight: 950;
        margin: 0 0 8px;
        color: #111827;
    }

    .nd-contact-page .nd-contact-card-desc {
        color: #6b7280;
        line-height: 2;
        margin-bottom: 22px;
    }

    .nd-contact-page .nd-contact-field {
        margin-bottom: 16px;
    }

        .nd-contact-page .nd-contact-field label {
            display: block;
            color: #111827;
            font-weight: 900;
            margin-bottom: 8px;
        }

        .nd-contact-page .nd-contact-field input,
        .nd-contact-page .nd-contact-field textarea {
            width: 100%;
            border: 1px solid rgba(15,23,42,.10);
            border-radius: 16px;
            background: #f8fafc;
            padding: 13px 15px;
            color: #111827;
            transition: all .2s ease;
        }

            .nd-contact-page .nd-contact-field input:focus,
            .nd-contact-page .nd-contact-field textarea:focus {
                outline: none;
                border-color: rgba(190, 145, 90, .75);
                background: #fff;
                box-shadow: 0 0 0 4px rgba(190, 145, 90, .13);
            }

        .nd-contact-page .nd-contact-field textarea {
            min-height: 145px;
            resize: vertical;
        }

    .nd-contact-page .field-validation-error,
    .nd-contact-page .text-danger {
        display: block;
        font-size: 12px;
        margin-top: 6px;
        color: #dc2626 !important;
    }

    .nd-contact-page .nd-contact-submit {
        width: 100%;
        border: 0;
        border-radius: 18px;
        padding: 14px 22px;
        background: linear-gradient(135deg, #111827, #374151);
        color: #fff;
        font-weight: 950;
        cursor: pointer;
        transition: all .25s ease;
    }

        .nd-contact-page .nd-contact-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 16px 34px rgba(15, 23, 42, .20);
        }

        .nd-contact-page .nd-contact-submit:disabled {
            opacity: .65;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

    .nd-contact-page .nd-contact-map-head {
        padding: 22px 24px;
        border-bottom: 1px solid rgba(15,23,42,.07);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
    }

    .nd-contact-page .nd-contact-map-title {
        font-size: 20px;
        font-weight: 950;
        margin: 0;
        color: #111827;
    }

    .nd-contact-page .nd-route-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border-radius: 15px;
        padding: 10px 16px;
        background: rgba(190, 145, 90, .13);
        color: #8b5e34;
        font-weight: 950;
        text-decoration: none;
        white-space: nowrap;
    }

        .nd-contact-page .nd-route-btn:hover {
            color: #8b5e34;
            background: rgba(190, 145, 90, .22);
        }

    .nd-contact-page .nd-map-wrap {
        position: relative;
        height: 460px;
        background: #e5e7eb;
    }

    .nd-contact-page #map {
        height: 100%;
    }

    .nd-contact-page .nd-map-overlay {
        position: absolute;
        inset: 0;
        z-index: 5;
        display: none;
        align-items: center;
        justify-content: center;
        background: rgba(248, 250, 252, .94);
        text-align: center;
        padding: 20px;
    }

    .nd-contact-page .nd-map-box {
        background: #fff;
        border-radius: 22px;
        padding: 22px;
        max-width: 420px;
        box-shadow: 0 18px 55px rgba(15, 23, 42, .10);
        border: 1px solid rgba(15,23,42,.07);
    }

    .nd-contact-page .nd-map-box-title {
        font-weight: 950;
        color: #111827;
        margin-bottom: 8px;
    }

    .nd-contact-page .nd-map-box-desc {
        color: #6b7280;
        line-height: 2;
        margin-bottom: 14px;
    }

    .nd-contact-page .nd-map-retry {
        border: 0;
        border-radius: 15px;
        padding: 11px 18px;
        background: #111827;
        color: #fff;
        font-weight: 900;
        cursor: pointer;
    }

    .nd-contact-page .nd-spinner {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        border: 3px solid rgba(15, 23, 42, .15);
        border-top-color: #8b5e34;
        animation: ndContactSpin .8s linear infinite;
        display: inline-block;
        vertical-align: middle;
        margin-right: 8px;
    }

@keyframes ndContactSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 991px) {
    .nd-contact-page .nd-contact-main-grid {
        grid-template-columns: 1fr;
    }

    .nd-contact-page .nd-contact-info-grid {
        margin-top: -52px;
    }

    .nd-contact-page .nd-contact-title {
        font-size: 27px;
    }

    .nd-contact-page .nd-contact-map-head {
        flex-direction: column;
        align-items: stretch;
    }

    .nd-contact-page .nd-route-btn {
        width: 100%;
    }

    .nd-contact-page .nd-map-wrap {
        height: 360px;
    }
}



/* ================================
   Home Page - Mobile Discount Badge
================================ */

.mobile-discount-badge {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: none;
    padding: 12px 18px;
    border-radius: 50px;
    background: linear-gradient(45deg, #ff0000, #ff9900, #ff00ff, #00ffff);
    background-size: 400% 400%;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 0 10px #ff0000, 0 0 20px #ff9900;
    animation: nd-gradientMove 3s ease infinite, nd-bounce 1s infinite alternate, nd-glow 1s infinite alternate;
    z-index: 9999;
}

    .mobile-discount-badge:hover,
    .mobile-discount-badge:focus {
        color: #fff;
        text-decoration: none;
    }

@media (max-width: 768px) {
    .mobile-discount-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@keyframes nd-gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes nd-bounce {
    from {
        transform: translateY(0) rotate(-2deg);
    }

    to {
        transform: translateY(-6px) rotate(2deg);
    }
}

@keyframes nd-glow {
    from {
        box-shadow: 0 0 8px #ff0000, 0 0 15px #ff9900;
    }

    to {
        box-shadow: 0 0 15px #ff00ff, 0 0 25px #00ffff;
    }
}

/* ================================
   Home Page - About / Video / CTA
================================ */

.nd-about-video-text {
    font-weight: 700;
}

.nd-video-modal {
    display: none;
}

    .nd-video-modal.is-open {
        display: grid;
    }

.nd-video-frame {
    width: 640px;
    max-width: calc(100vw - 32px);
    height: 360px;
    margin: 10px;
}

.nd-mobile-video {
    display: none;
}

.nd-mobile-video-player {
    width: 100%;
    height: 360px;
    margin-top: 15px;
}

.nd-line-card-link {
    display: block;
    text-decoration: none;
}

    .nd-line-card-link:hover,
    .nd-line-card-link:focus {
        text-decoration: none;
    }

/* ================================
   Home Page - Service Lines
================================ */

.nd-empty-section {
    padding: 30px 15px;
    text-align: center;
    color: #777;
}

/* ================================
   Home Page - Final Sections
================================ */

.nd-work-sample-item,
.nd-work-sample-card {
    border: 1px solid var(--wallpi-text, #2a2826);
    border-radius: 10px;
}

.nd-section-center {
    text-align: center;
}

.nd-consultation-section {
    margin-bottom: 100px;
}

.nd-bg-light {
    background-color: #f0f0f0;
}

input.invalid,
textarea.invalid {
    border: 1px solid red;
}

    input.invalid:focus,
    textarea.invalid:focus {
        outline: none;
        box-shadow: 0 0 5px red;
    }

.error {
    color: red !important;
}





/* پیشنهاد: منتقل به CSS فایل و minify */
.wa-fab {
    position: fixed;
    right: 18px;
    bottom: 96px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    z-index: 9999;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
    isolation: isolate;
}

.wa-fab svg {
    fill: #fff;
}

.wa-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0,0,0,.24);
}

.wa-fab::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid rgba(37,211,102,.65);
    animation: wa-pulse 1.8s ease-out infinite;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: .7;
    }

    70% {
        transform: scale(1.35);
        opacity: 0;
    }

    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

.wa-tooltip {
    position: absolute;
    right: 72px;
    bottom: 50%;
    transform: translateY(50%);
    background: #111;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    padding: 8px 10px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.wa-fab:hover .wa-tooltip {
    opacity: 1;
    transform: translate(4px,50%);
}

@supports (padding: max(0px)) {
    .wa-fab {
        right: max(18px, env(safe-area-inset-right));
        bottom: max(96px, env(safe-area-inset-bottom));
    }
}

@media (max-width: 576px) {
    .wa-fab {
        width: 54px;
        height: 54px;
        bottom: 88px;
    }

    .wa-tooltip {
        display: none;
    }
}

/* ================================
   Line Services Page
================================ */

.nd-line-services {
    padding: 70px 0 90px;
}

.nd-line-head {
    max-width: 900px;
    margin: 0 auto 36px;
    text-align: center;
}

.nd-line-kicker {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--wallpi-base, #024442);
}

.nd-line-title {
    margin: 0;
    font-size: clamp(26px, 4vw, 44px);
    line-height: 1.8;
    color: var(--wallpi-text, #2a2826);
}

.nd-line-count {
    margin-top: 12px;
    color: #777;
    font-size: 14px;
}

.nd-line-search-wrap {
    max-width: 760px;
    margin: 0 auto 38px;
}

.nd-line-search-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #333;
}

.nd-line-search-box {
    position: relative;
}

.nd-line-search-input {
    width: 100%;
    height: 58px;
    border: 2px solid rgba(2, 68, 66, .22);
    border-radius: 999px;
    padding: 0 52px 0 22px;
    font-size: 16px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .nd-line-search-input:focus {
        border-color: var(--wallpi-base, #024442);
        box-shadow: 0 12px 28px rgba(2, 68, 66, .12);
    }

.nd-line-search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--wallpi-base, #024442);
    font-size: 18px;
}

.nd-line-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

.nd-line-service-card {
    overflow: hidden;
    border: 1px solid rgba(2, 68, 66, .18);
    border-radius: 34px 34px 18px 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .nd-line-service-card:hover {
        transform: translateY(-4px);
        border-color: rgba(2, 68, 66, .42);
        box-shadow: 0 20px 46px rgba(15, 23, 42, .13);
    }

.nd-line-service-image-link {
    display: block;
    text-decoration: none;
}

.nd-line-service-img {
    display: block;
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.nd-line-service-body {
    padding: 18px 18px 20px;
}

.nd-line-service-title {
    margin: 0 0 12px;
    font-size: 19px;
    line-height: 1.8;
}

    .nd-line-service-title a {
        color: var(--wallpi-text, #2a2826);
        text-decoration: none;
    }

        .nd-line-service-title a:hover {
            color: var(--wallpi-base, #024442);
        }

.nd-line-service-time {
    margin: 0 0 16px;
    color: #666;
    font-size: 14px;
    line-height: 1.9;
}

.nd-line-service-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--wallpi-base, #024442);
    font-weight: 700;
    text-decoration: none;
}

    .nd-line-service-more:hover {
        text-decoration: none;
    }

.nd-line-empty {
    max-width: 760px;
    margin: 25px auto;
    padding: 22px;
    border-radius: 18px;
    background: rgba(2, 68, 66, .06);
    color: #555;
    text-align: center;
    font-weight: 700;
}

/* Tablet */
@media (max-width: 1199px) {
    .nd-line-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .nd-line-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile slider-like horizontal cards */
@media (max-width: 767px) {
    .nd-line-services {
        padding: 46px 0 70px;
    }

    .nd-line-search-wrap {
        margin-bottom: 26px;
    }

    .nd-line-grid {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        padding: 4px 4px 18px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

        .nd-line-grid::-webkit-scrollbar {
            height: 7px;
        }

        .nd-line-grid::-webkit-scrollbar-thumb {
            background: rgba(2, 68, 66, .35);
            border-radius: 999px;
        }

    .nd-line-service-card {
        min-width: 82%;
        scroll-snap-align: start;
    }

    .nd-line-service-img {
        height: 320px;
    }
}

@media (max-width: 420px) {
    .nd-line-service-card {
        min-width: 88%;
    }

    .nd-line-service-img {
        height: 285px;
    }
}


/* =========================
   Personnel Work Samples
========================= */

#personnelSamplesBox {
    margin-bottom: 28px;
}

.ws-wrap {
    direction: rtl;
}

.ws-title {
    font-size: 18px;
    font-weight: 950;
    color: #024442;
    margin-bottom: 18px;
}

.ws-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

    .ws-nav button {
        border: 1px solid rgba(2,68,66,.18);
        background: #fff;
        color: #024442;
        border-radius: 999px;
        padding: 9px 18px;
        font-weight: 900;
        cursor: pointer;
        transition: .2s ease;
    }

        .ws-nav button:hover,
        .ws-nav button.active {
            background: linear-gradient(135deg,#024442,#D18548);
            color: #fff;
            border-color: transparent;
            box-shadow: 0 12px 24px rgba(2,68,66,.16);
        }

.ws-pane {
    display: none;
}

    .ws-pane.active {
        display: block;
    }

.ws-card {
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 26px;
    box-shadow: 0 18px 38px rgba(15,23,42,.08);
    overflow: hidden;
    margin-bottom: 24px;
}

.ws-card-head {
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(2,68,66,.07), rgba(209,133,72,.06));
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ws-card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 950;
    color: #024442;
}

.ws-card-meta {
    background: rgba(209,133,72,.12);
    color: #7a3f17;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 900;
}

.ws-gallery {
    padding: 18px;
}

.ws-main {
    width: 100%;
    border-radius: 22px;
    overflow: hidden;
    background: #f1f5f9;
    margin-bottom: 12px;
}

    .ws-main .swiper-slide {
        height: 430px;
    }

        .ws-main .swiper-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            border-radius: 22px;
        }

.ws-thumbs {
    padding: 4px 0;
}

    .ws-thumbs .swiper-slide {
        height: 82px;
        border-radius: 14px;
        overflow: hidden;
        opacity: .55;
        cursor: pointer;
        border: 2px solid transparent;
    }

    .ws-thumbs .swiper-slide-thumb-active {
        opacity: 1;
        border-color: #D18548;
    }

    .ws-thumbs .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.ws-main .swiper-button-next,
.ws-main .swiper-button-prev {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: #024442;
    box-shadow: 0 10px 25px rgba(15,23,42,.16);
}

    .ws-main .swiper-button-next::after,
    .ws-main .swiper-button-prev::after {
        font-size: 16px;
        font-weight: 900;
    }

.ws-main .swiper-pagination-bullet-active {
    background: #D18548;
}

.ws-empty {
    padding: 20px;
    border-radius: 18px;
    background: rgba(209,133,72,.10);
    border: 1px dashed rgba(209,133,72,.42);
    color: #7a3f17;
    font-weight: 850;
    line-height: 1.9;
}

@media(max-width:768px) {
    .ws-gallery {
        padding: 12px;
    }

    .ws-main .swiper-slide {
        height: 260px;
    }

    .ws-thumbs .swiper-slide {
        height: 65px;
    }

    .ws-card-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .ws-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
    }

        .ws-nav button {
            white-space: nowrap;
        }
}
