/* Nalashaa Digital — Manufacturing industry page (scoped) */
html:has(.nd-mfg) {
    scroll-behavior: smooth;
    overflow-x: clip;
}

html:has(.nd-mfg) body {
    overflow-x: clip;
}

.nd-mfg {
    --nd-blue: #2257d3;
    --nd-blue-dark: #263b8c;
    --nd-blue-cta: #2253c8;
    --nd-black: #242424;
    --nd-dark: #1d1d1d;
    --nd-grey: #6b7280;
    --nd-grey-3: #364153;
    --nd-border: #d6d6d6;
    --nd-card-border: #e6ecf8;
    --nd-card-border-strong: #afceff;
    --nd-emphasis: #9dc3ff;
    --nd-light-bg: #f6f9ff;
    --nd-star: #f5b301;
    --nd-gradient: linear-gradient(125deg, #2257d3 0%, #263b8c 100%);
    --nd-hero-bg: linear-gradient(134deg, rgba(34, 87, 211, 0.08), rgba(128, 163, 245, 0.12) 50%, #fff);
    --nd-container: 1148px;
    --nd-font-heading: "Plus Jakarta Sans", Inter, Arial, sans-serif;
    --nd-font-body: Inter, Arial, sans-serif;
    font-family: var(--nd-font-body);
    color: var(--nd-black);
    line-height: 1.5;
    overflow: visible;
    display: block;
    width: 100%;
}

.nd-mfg *,
.nd-mfg *::before,
.nd-mfg *::after { box-sizing: border-box; }

.nd-mfg img,
.nd-mfg video,
.nd-mfg svg { max-width: 100%; display: block; }

.nd-mfg__container {
    width: min(100% - 32px, var(--nd-container));
    margin-inline: auto;
}

.nd-mfg h1,
.nd-mfg h2,
.nd-mfg h3,
.nd-mfg h4 {
    font-family: var(--nd-font-heading);
    font-weight: 700;
    margin: 0;
}

.nd-mfg__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 600;
    line-height: 28px;
    text-transform: uppercase;
    background: var(--nd-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nd-mfg__eyebrow::before {
    content: "";
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    background: linear-gradient(122deg, rgba(34, 87, 211, 0.08) 0%, rgba(128, 163, 245, 0.12) 50%, #fff 100%);
}

.nd-mfg__h1 {
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.26;
    letter-spacing: -0.3px;
    color: var(--nd-black);
}

.nd-mfg__h1-gradient {
    display: block;
    background: var(--nd-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nd-mfg__h1-rest {
    display: block;
    color: var(--nd-black);
}

.nd-mfg__h2 {
    font-size: clamp(28px, 3.5vw, 34px);
    line-height: 1.29;
    letter-spacing: -0.09px;
    color: var(--nd-black);
    text-align: center;
}

.nd-mfg__h2--left { text-align: left; }

.nd-mfg__h2-accent {
    background: var(--nd-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nd-mfg__lead {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 28px;
    color: var(--nd-grey);
    margin: 0;
}

.nd-mfg__body {
    font-size: 16px;
    line-height: 25px;
    color: var(--nd-grey-3);
    margin: 0;
}

.nd-mfg__section-head {
    margin-bottom: 36px;
}

.nd-mfg__section-head--stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    max-width: 860px;
}

.nd-mfg__section-head--center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.nd-mfg__section-head--center .nd-mfg__lead {
    max-width: 780px;
}

.nd-mfg__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nd-mfg__btn--primary {
    background: var(--nd-gradient);
    color: #fff;
    box-shadow: 0 10px 24px rgba(34, 87, 211, 0.22);
}

.nd-mfg__btn--primary:hover,
.nd-mfg__btn--primary:focus,
.nd-mfg__btn--primary:active {
    color: #fff;
    text-decoration: none;
}

.nd-mfg__btn--white {
    background: #fff;
    color: var(--nd-black);
    gap: 13px;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
    box-shadow: none;
}

.nd-mfg__btn--white img {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.nd-mfg__btn--white:hover,
.nd-mfg__btn--white:focus,
.nd-mfg__btn--white:active {
    color: var(--nd-black);
    text-decoration: none;
}

.nd-mfg__btn:hover { transform: translateY(-2px); }
.nd-mfg__btn:focus-visible { outline: 2px solid var(--nd-blue); outline-offset: 2px; }

.nd-mfg__reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.nd-mfg__reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* -------------------------------------------------------------- Hero */
.nd-mfg__hero {
    position: relative;
    min-height: 758px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background: #eef2f9;
}

.nd-mfg__hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.nd-mfg__hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.nd-mfg__hero-inner {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    width: min(100% - 32px, var(--nd-container));
    margin-inline: auto;
    padding: 88px 0 48px;
}

.nd-mfg__hero-copy {
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
}

.nd-mfg__hero-lead {
    margin: 0;
    max-width: 560px;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    color: var(--nd-grey);
}

.nd-mfg__hero-stats {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding: 22px 15px 28px;
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.55);
}

.nd-mfg__hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: var(--nd-container);
    margin: 0 auto;
    text-align: center;
}

.nd-mfg__hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.nd-mfg__hero-stat::before {
    content: "";
    width: 150px;
    max-width: 100%;
    height: 1px;
    background: rgba(214, 214, 214, 0.55);
}

.nd-mfg__hero-stat-value {
    font-family: var(--nd-font-heading);
    font-size: 30px;
    font-weight: 700;
    line-height: 40px;
    background: var(--nd-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nd-mfg__hero-stat-label {
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    margin: 0;
    color: var(--nd-black);
}

/* -------------------------------------------------------------- Platforms */
.nd-mfg__platforms {
    padding: 80px 0;
    background: #fff;
}

.nd-mfg__platforms-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.nd-mfg__platform-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    border: 1px solid var(--nd-card-border-strong);
    border-radius: 14px;
    background: #fff;
    min-height: 100%;
}

.nd-mfg__platform-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(122deg, rgba(34, 87, 211, 0.08) 0%, rgba(128, 163, 245, 0.12) 50%, #fff 100%);
}

.nd-mfg__platform-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.nd-mfg__platform-card h3 {
    font-family: var(--nd-font-heading);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: #0f172b;
}

.nd-mfg__platform-card > p {
    margin: 0;
    color: var(--nd-grey);
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    flex: 1;
}

.nd-mfg__rating {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 8px;
}

.nd-mfg__stars-img {
    width: 70px;
    height: 10px;
    object-fit: contain;
    flex-shrink: 0;
}

.nd-mfg__rating-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--nd-grey);
}

.nd-mfg__rating-text strong {
    color: var(--nd-black);
    font-weight: 500;
}

.nd-mfg__platform-divider {
    width: 100%;
    border: 0;
    border-top: 1px solid #e8eef8;
    margin: 4px 0 0;
}

.nd-mfg__platform-footer {
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
    color: var(--nd-black);
}

/* -------------------------------------------------------------- Services */
.nd-mfg__services {
    padding: 80px 0;
    background: #fff;
}

.nd-mfg__services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.nd-mfg__service-card {
    background: #fff;
    border: 1px solid var(--nd-card-border-strong);
    border-radius: 14px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100%;
}

.nd-mfg__service-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(34, 87, 211, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nd-mfg__service-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.nd-mfg__service-card h3 {
    font-size: 18px;
    line-height: 1.35;
}

.nd-mfg__service-card p {
    margin: 0;
    color: var(--nd-grey);
    font-size: 15px;
    line-height: 24px;
}

.nd-mfg__services-cta {
    grid-column: span 2;
    background: var(--nd-blue-cta);
    border-radius: 16px;
    padding: 28px 24px;
    color: #fff;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(160px, 0.9fr);
    gap: 20px;
    align-items: center;
    min-height: 100%;
    overflow: hidden;
}

.nd-mfg__services-cta-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.nd-mfg__services-cta h3 {
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.3;
    color: #fff;
}

.nd-mfg__services-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 24px;
}

.nd-mfg__services-cta-visual {
    margin-top: auto;
}

.nd-mfg__services-cta-visual img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* -------------------------------------------------------------- Power Platform */
.nd-mfg__power {
    padding: 80px 0;
    background: #fff;
}

.nd-mfg__power-head {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px 48px;
    align-items: end;
    margin-bottom: 40px;
}

.nd-mfg__power-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #e8eef8;
}

.nd-mfg__power-row {
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    gap: 24px 40px;
    padding: 28px 0;
    border-bottom: 1px solid #e8eef8;
}

.nd-mfg__power-meta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.nd-mfg__power-meta h3 {
    font-family: var(--nd-font-body);
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: #0f172b;
}

.nd-mfg__power-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--nd-grey);
    font-size: 12px;
    font-weight: 500;
    line-height: 24px;
}

.nd-mfg__power-tag::before {
    content: "";
    width: 13px;
    height: 1px;
    background: var(--nd-grey);
    transform: rotate(-67deg);
    flex-shrink: 0;
}

.nd-mfg__power-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nd-mfg__power-body p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    color: var(--nd-grey);
}

.nd-mfg__power-if {
    font-size: 16px !important;
    line-height: 24px !important;
    color: var(--nd-grey) !important;
}

.nd-mfg__power-if strong {
    color: var(--nd-black);
    font-weight: 500;
}

/* -------------------------------------------------------------- Why Choose */
.nd-mfg__why {
    padding: 80px 0;
    background: #fff;
}

.nd-mfg__why-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 36px 48px;
    align-items: start;
}

.nd-mfg__why-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-width: 520px;
}

.nd-mfg__why-stats {
    display: grid;
    gap: 18px;
}

.nd-mfg__why-stat {
    background: #fff;
    border: 1px solid var(--nd-card-border-strong);
    border-radius: 14px;
    padding: 22px 24px;
}

.nd-mfg__why-stat-value {
    font-family: var(--nd-font-heading);
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
    background: var(--nd-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

.nd-mfg__why-stat h3 {
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 8px;
}

.nd-mfg__why-stat p {
    margin: 0;
    color: var(--nd-grey);
    font-size: 15px;
    line-height: 24px;
}

/* -------------------------------------------------------------- FAQ */
.nd-mfg__faq {
    padding: 72px 0;
    background: #eef1f8;
    position: relative;
    overflow: hidden;
}

.nd-mfg__faq::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(48, 113, 211, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.nd-mfg__faq-list {
    display: grid;
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.nd-mfg__faq-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 12px rgba(149, 157, 165, 0.16);
    overflow: hidden;
}

.nd-mfg__faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    border: 0;
    background: #fff;
    padding: 20px 22px;
    font-family: var(--nd-font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--nd-black);
    cursor: pointer;
}

.nd-mfg__faq-q > span {
    flex: 1;
}

.nd-mfg__faq-q svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.nd-mfg__faq-item.is-open .nd-mfg__faq-q svg {
    transform: rotate(180deg);
}

.nd-mfg__faq-a {
    display: none;
    padding: 0 22px 20px;
    color: var(--nd-grey);
    font-size: 16px;
    line-height: 25px;
}

.nd-mfg__faq-item.is-open .nd-mfg__faq-a {
    display: block;
}

.nd-mfg__faq-a p {
    margin: 0;
}

/* -------------------------------------------------------------- Explore */
.nd-mfg__explore {
    padding: 80px 0;
    background: #fff;
}

.nd-mfg__explore-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.nd-mfg__explore-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--nd-card-border);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nd-mfg__explore-card:hover,
.nd-mfg__explore-card:focus {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(34, 87, 211, 0.12);
    text-decoration: none;
    color: inherit;
}

.nd-mfg__explore-thumb {
    position: relative;
    aspect-ratio: 368 / 200;
    overflow: hidden;
    background: #eef2f8;
}

.nd-mfg__explore-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nd-mfg__explore-badge {
    position: absolute;
    top: 8px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px;
    padding: 8px 12px;
    border-radius: 31px;
    border: 1px solid #8c8c8c;
    background: #fff;
    font-size: 16px;
    line-height: 25px;
    color: var(--nd-black);
}

.nd-mfg__explore-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    flex: 1;
}

.nd-mfg__explore-meta {
    font-size: 13px;
    font-weight: 600;
    color: var(--nd-grey);
}

.nd-mfg__explore-card h3 {
    font-size: 18px;
    line-height: 1.35;
}

.nd-mfg__explore-card p {
    margin: 0;
    color: var(--nd-grey);
    font-size: 15px;
    line-height: 24px;
    flex: 1;
}

.nd-mfg__read-more {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--nd-blue);
}

/* -------------------------------------------------------------- Responsive */
@media (max-width: 1100px) {
    .nd-mfg__hero {
        min-height: 640px;
    }

    .nd-mfg__hero-bg img {
        object-position: 70% center;
    }

    .nd-mfg__hero-inner {
        padding: 72px 0 40px;
    }

    .nd-mfg__power-head,
    .nd-mfg__why-grid {
        grid-template-columns: 1fr;
    }

    .nd-mfg__platforms-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nd-mfg__services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nd-mfg__services-cta {
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr);
    }

    .nd-mfg__power-intro {
        max-width: 720px;
    }
}

@media (max-width: 820px) {
    .nd-mfg__platforms,
    .nd-mfg__services,
    .nd-mfg__power,
    .nd-mfg__why,
    .nd-mfg__explore {
        padding: 64px 0;
    }

    .nd-mfg__hero {
        min-height: 0;
        justify-content: flex-start;
    }

    .nd-mfg__hero-bg {
        position: relative;
        inset: auto;
        height: 280px;
        order: 2;
    }

    .nd-mfg__hero-bg img {
        object-fit: contain;
        object-position: center bottom;
    }

    .nd-mfg__hero-inner {
        order: 1;
        flex: 0 0 auto;
        padding: 48px 0 24px;
    }

    .nd-mfg__hero-stats {
        order: 3;
    }

    .nd-mfg__platforms-grid,
    .nd-mfg__explore-grid,
    .nd-mfg__hero-stats-grid {
        grid-template-columns: 1fr;
    }

    .nd-mfg__power-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .nd-mfg__hero-copy {
        align-items: flex-start;
        max-width: none;
    }

    .nd-mfg__hero-copy .nd-mfg__btn--primary {
        width: 100%;
    }

    .nd-mfg__hero-lead {
        font-size: 18px;
    }
}

@media (max-width: 575px) {
    .nd-mfg__hero-bg {
        height: 220px;
    }

    .nd-mfg__hero-inner {
        padding: 36px 0 20px;
    }

    .nd-mfg__h1 {
        font-size: 30px;
    }

    .nd-mfg__services-grid {
        grid-template-columns: 1fr;
    }

    .nd-mfg__services-cta {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .nd-mfg__platform-card,
    .nd-mfg__service-card,
    .nd-mfg__services-cta,
    .nd-mfg__why-stat {
        padding: 20px;
    }

    .nd-mfg__hero-stat-value,
    .nd-mfg__why-stat-value {
        font-size: 26px;
        line-height: 34px;
    }

    .nd-mfg__faq-q {
        padding: 18px;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nd-mfg__btn,
    .nd-mfg__explore-card,
    .nd-mfg__faq-q svg,
    .nd-mfg__reveal {
        transition: none;
    }

    .nd-mfg__reveal {
        opacity: 1;
        transform: none;
    }
}
