/* ═══════════════════════════════════════════════════════════════
   NarneTech Component Library — modern section components used by
   the revamped public pages (homepage first). Theme-aware through
   the tokens in nt-theme.css; works in light and dark.
   ═══════════════════════════════════════════════════════════════ */

/* ── Section shell ────────────────────────────────────────────── */
.nt-section {
    position: relative;
    padding: 76px 0;
}

.nt-section-alt {
    background:
        radial-gradient(900px 400px at 90% 0%, rgba(65, 84, 241, .05), transparent 60%),
        var(--nt-bg-soft);
}

html[data-theme="dark"] .nt-section-alt {
    background:
        radial-gradient(900px 400px at 90% 0%, rgba(65, 84, 241, .10), transparent 60%),
        var(--nt-bg-soft);
}

/* eyebrow label with SYMMETRIC accent dashes on both sides —
   the single, consistent "line" treatment used across all sections */
.nt-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--nt-primary);
}

    .nt-eyebrow::before,
    .nt-eyebrow::after {
        content: "";
        width: 26px;
        height: 2px;
        border-radius: 2px;
        flex-shrink: 0;
        background: linear-gradient(90deg, #4154f1, #2db6fa);
    }

    .nt-eyebrow::before {
        background: linear-gradient(90deg, transparent, #4154f1);
    }

    .nt-eyebrow::after {
        background: linear-gradient(90deg, #2db6fa, transparent);
    }

html[data-theme="dark"] .nt-eyebrow {
    color: var(--nt-primary-soft);
}

/* NOTE: style.css styles ".section-header h2" (13px uppercase eyebrow) and
   ".section-header p" (38px bold title) — the legacy pattern. The selectors
   below are element-qualified so they outrank those rules and restore the
   intended hierarchy: eyebrow → big title → muted subtitle. */
h2.nt-section-title,
.section-header h2.nt-section-title {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -.4px;
    text-transform: none;
    color: var(--nt-heading);
    margin: 10px 0 8px;
}

p.nt-section-sub,
.section-header p.nt-section-sub {
    color: var(--nt-muted);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    max-width: 640px;
    margin: 0 0 0;
}

.text-center .nt-section-sub,
.section-header p.nt-section-sub {
    margin-left: auto;
    margin-right: auto;
}

html[data-theme="dark"] h2.nt-section-title,
html[data-theme="dark"] .section-header h2.nt-section-title {
    color: var(--nt-heading);
}

html[data-theme="dark"] p.nt-section-sub,
html[data-theme="dark"] .section-header p.nt-section-sub {
    color: var(--nt-muted);
}

/* ── Feature cards (Why choose us) ────────────────────────────── */
.nt-feature-card {
    position: relative;
    height: 100%;
    padding: 26px 24px;
    border-radius: 18px;
    background: var(--nt-surface);
    border: 1px solid var(--nt-border);
    box-shadow: var(--nt-shadow);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

    .nt-feature-card::before {
        /* top accent line that lights up on hover */
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--nt-fc-a, #4154f1), var(--nt-fc-b, #2db6fa));
        opacity: .55;
        transition: opacity .3s ease;
    }

    .nt-feature-card:hover::before {
        opacity: 1;
    }

.nt-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 15px;
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, var(--nt-fc-a, #4154f1), var(--nt-fc-b, #2db6fa));
    box-shadow: 0 10px 22px rgba(65, 84, 241, .30);
    margin-bottom: 16px;
}

.nt-feature-card h3 {
    font-size: 1.06rem;
    font-weight: 800;
    color: var(--nt-heading);
    margin-bottom: 8px;
}

.nt-feature-card p {
    font-size: .92rem;
    color: var(--nt-muted);
    margin: 0;
}

/* accent variants */
.nt-fc-indigo { --nt-fc-a: #4154f1; --nt-fc-b: #7186f9; }
.nt-fc-cyan   { --nt-fc-a: #0ea5e9; --nt-fc-b: #2dd4bf; }
.nt-fc-amber  { --nt-fc-a: #f59e0b; --nt-fc-b: #f97316; }
.nt-fc-green  { --nt-fc-a: #16a34a; --nt-fc-b: #4ade80; }
.nt-fc-rose   { --nt-fc-a: #e11d48; --nt-fc-b: #fb7185; }
.nt-fc-violet { --nt-fc-a: #7c3aed; --nt-fc-b: #a78bfa; }

/* ── Value cards (image + copy) ───────────────────────────────── */
.nt-value-card {
    height: 100%;
    padding: 30px 26px;
    text-align: center;
    border-radius: 20px;
    background: var(--nt-surface);
    border: 1px solid var(--nt-border);
    box-shadow: var(--nt-shadow);
    transition: transform .3s ease, box-shadow .3s ease;
}

    .nt-value-card img {
        max-height: 150px;
        margin-bottom: 14px;
        transition: transform .45s cubic-bezier(.34,1.56,.64,1);
    }

    .nt-value-card:hover img {
        transform: translateY(-6px) scale(1.05);
    }

    .nt-value-card h3 {
        font-size: 1.05rem;
        font-weight: 800;
        color: var(--nt-heading);
    }

    .nt-value-card p {
        font-size: .92rem;
        color: var(--nt-muted);
        margin: 0;
    }

/* ── Stats band (counts) ──────────────────────────────────────── */
.nt-stats-band {
    border-radius: 24px;
    padding: 38px 26px;
    background:
        radial-gradient(600px 200px at 15% 0%, rgba(255, 255, 255, .10), transparent 60%),
        linear-gradient(120deg, #012970 0%, #1e3a8a 55%, #4154f1 100%);
    box-shadow: 0 24px 60px rgba(1, 41, 112, .30);
    position: relative;
    overflow: hidden;
}

    .nt-stats-band::after {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                          linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
        background-size: 36px 36px;
        pointer-events: none;
    }

html[data-theme="dark"] .nt-stats-band {
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 40px rgba(65, 84, 241, .18);
}

.nt-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    padding: 10px 6px;
    position: relative;
    z-index: 1;
}

    .nt-stat i {
        font-size: 2rem;
        color: #9fb0ff;
    }

    .nt-stat .purecounter,
    .nt-stat span {
        font-size: 2rem;
        font-weight: 800;
        color: #ffffff !important;
        line-height: 1.1;
        background: none !important;
        -webkit-text-fill-color: #ffffff !important;
    }

    .nt-stat p {
        margin: 0;
        font-size: .85rem;
        font-weight: 600;
        letter-spacing: .4px;
        color: rgba(255, 255, 255, .75);
    }

/* ── Portfolio (services & products) ──────────────────────────── */
/* style.css targets ".portfolio #portfolio-flters" (ID specificity) and
   paints the whole bar as one white pill — match that weight to restyle
   the bar as individual theme-aware pills instead. */
.portfolio #portfolio-flters {
    background: transparent;
    border-radius: 0;
    padding: 0;
}

    .portfolio #portfolio-flters li {
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        padding: 9px 20px;
        margin: 6px;
        border-radius: 999px;
        font-size: .88rem;
        font-weight: 700;
        line-height: 1.2;
        list-style: none;
        color: var(--nt-heading);
        background: var(--nt-surface);
        border: 1px solid var(--nt-border);
        box-shadow: var(--nt-shadow);
        transition: all .3s ease;
    }

        .portfolio #portfolio-flters li:hover {
            color: var(--nt-primary);
            border-color: var(--nt-primary);
            transform: translateY(-2px);
        }

        .portfolio #portfolio-flters li.filter-active {
            color: #fff;
            background: linear-gradient(120deg, #4154f1, #2db6fa);
            border-color: transparent;
            box-shadow: 0 8px 22px rgba(65, 84, 241, .35);
        }

html[data-theme="dark"] .portfolio #portfolio-flters li:hover {
    color: var(--nt-primary-soft);
    border-color: var(--nt-primary-soft);
}

.nt-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 21rem;
    margin: 12px;
    padding: 28px 22px 56px;
    border-radius: 18px;
    background: var(--nt-surface);
    border: 1px solid var(--nt-border);
    box-shadow: var(--nt-shadow);
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

    .nt-card:hover {
        border-color: rgba(65, 84, 241, .45);
    }

    .nt-card .nt-card-img {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 150px;
        margin-bottom: 14px;
    }

        .nt-card .nt-card-img img {
            max-height: 140px;
            width: auto;
            transition: transform .45s cubic-bezier(.34,1.56,.64,1);
        }

    .nt-card:hover .nt-card-img img {
        transform: scale(1.08) translateY(-4px);
    }

    .nt-card h3 {
        font-size: 1rem;
        font-weight: 800;
        text-align: center;
        color: var(--nt-heading);
        margin-bottom: 8px;
    }

    .nt-card p {
        font-size: .88rem;
        text-align: center;
        color: var(--nt-muted);
        margin: 0;
    }

    .nt-card .nt-card-cta {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 14px;
        text-align: center;
        font-size: .82rem;
        font-weight: 700;
        color: var(--nt-primary);
        opacity: 0;
        transform: translateY(8px);
        transition: opacity .3s ease, transform .3s ease;
    }

    .nt-card:hover .nt-card-cta {
        opacity: 1;
        transform: none;
    }

html[data-theme="dark"] .nt-card .nt-card-cta {
    color: var(--nt-primary-soft);
}

/* ── Process timeline ─────────────────────────────────────────── */
.nt-process {
    position: relative;
    counter-reset: nt-step;
}

.nt-step {
    position: relative;
    height: 100%;
    padding: 26px 22px 22px;
    border-radius: 18px;
    background: var(--nt-surface);
    border: 1px solid var(--nt-border);
    box-shadow: var(--nt-shadow);
    transition: transform .3s ease, border-color .3s ease;
}

    .nt-step:hover {
        transform: translateY(-6px);
        border-color: rgba(65, 84, 241, .45);
    }

    .nt-step .nt-step-no {
        position: absolute;
        top: -18px;
        left: 22px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        font-weight: 800;
        color: #fff;
        background: linear-gradient(135deg, #4154f1, #2db6fa);
        box-shadow: 0 10px 20px rgba(65, 84, 241, .35);
    }

    .nt-step h3 {
        font-size: 1rem;
        font-weight: 800;
        color: var(--nt-heading);
        margin: 14px 0 8px;
    }

    .nt-step p {
        font-size: .88rem;
        color: var(--nt-muted);
        margin: 0;
    }

/* ── Tech marquee ─────────────────────────────────────────────── */
.nt-marquee {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    padding: 8px 0;
}

.nt-marquee-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: nt-marquee-scroll 32s linear infinite;
}

.nt-marquee:hover .nt-marquee-track {
    animation-play-state: paused;
}

@keyframes nt-marquee-scroll {
    to { transform: translateX(-50%); }
}

.nt-tech-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 700;
    color: var(--nt-heading);
    background: var(--nt-surface);
    border: 1px solid var(--nt-border);
    box-shadow: var(--nt-shadow);
}

    .nt-tech-chip i {
        color: var(--nt-primary);
        font-size: 1.1rem;
    }

html[data-theme="dark"] .nt-tech-chip i {
    color: var(--nt-primary-soft);
}

/* ── FAQ accordion polish ─────────────────────────────────────── */
.nt-faq .accordion-item {
    border-radius: 14px !important;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid var(--nt-border);
    box-shadow: var(--nt-shadow);
}

.nt-faq .accordion-button {
    font-weight: 700;
    font-size: .96rem;
    color: var(--nt-heading);
}

    .nt-faq .accordion-button:not(.collapsed) {
        color: var(--nt-primary);
        background: rgba(65, 84, 241, .08);
        box-shadow: none;
    }

html[data-theme="dark"] .nt-faq .accordion-button:not(.collapsed) {
    color: var(--nt-primary-soft);
    background: rgba(65, 84, 241, .16);
}

.nt-faq .accordion-body {
    font-size: .92rem;
    color: var(--nt-muted);
}

/* ── CTA band ─────────────────────────────────────────────────── */
.nt-cta-band {
    border-radius: 26px;
    padding: 52px 34px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(700px 300px at 20% 0%, rgba(255, 255, 255, .12), transparent 55%),
        linear-gradient(120deg, #012970, #4154f1 70%, #2db6fa 130%);
    box-shadow: 0 26px 70px rgba(1, 41, 112, .35);
}

    .nt-cta-band h2 {
        color: #ffffff;
        font-weight: 800;
        font-size: clamp(1.4rem, 2.6vw, 2rem);
        margin-bottom: 10px;
    }

    .nt-cta-band p {
        color: rgba(255, 255, 255, .82);
        max-width: 620px;
        margin: 0 auto 24px;
    }

.nt-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.nt-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: 999px;
    font-weight: 800;
    color: #012970 !important;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
    transition: transform .3s ease, box-shadow .3s ease;
}

    .nt-cta-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
    }

.nt-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: 999px;
    font-weight: 700;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, .55);
    transition: background .3s ease, transform .3s ease;
}

    .nt-cta-secondary:hover {
        background: rgba(255, 255, 255, .14);
        transform: translateY(-3px);
    }

/* ── Inner-page hero band ─────────────────────────────────────── */
/* Drop-in top section for every inner page:
   <section class="nt-page-hero">
     <div class="nt-aurora" aria-hidden="true"> blobs + .nt-grid </div>
     <div class="container"> .nt-eyebrow + h1 + p.nt-lead + chips </div>
   </section> */
.nt-page-hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 64px;
    background:
        radial-gradient(900px 420px at 10% -10%, rgba(65, 84, 241, .10), transparent 60%),
        radial-gradient(700px 380px at 95% 0%, rgba(45, 182, 250, .08), transparent 55%),
        var(--nt-bg);
}

html[data-theme="dark"] .nt-page-hero {
    background:
        radial-gradient(900px 420px at 10% -10%, rgba(65, 84, 241, .22), transparent 60%),
        radial-gradient(700px 380px at 95% 0%, rgba(45, 182, 250, .14), transparent 55%),
        var(--nt-bg);
}

.nt-page-hero .container {
    position: relative;
    z-index: 1;
}

.nt-page-hero h1 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.5px;
    color: var(--nt-heading);
    margin: 12px 0 14px;
}

.nt-page-hero p.nt-lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--nt-muted);
    max-width: 760px;
    margin: 0 0 18px;
}

.nt-page-hero.text-center p.nt-lead {
    margin-left: auto;
    margin-right: auto;
}

.nt-page-hero .nt-hero-img img {
    max-width: 100%;
    border-radius: 22px;
}

/* ── Checklist bullets ────────────────────────────────────────── */
ul.nt-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    ul.nt-check-list li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 12px;
        font-size: .95rem;
        color: var(--nt-text);
    }

        ul.nt-check-list li i {
            color: #16a34a;
            font-size: 1.05rem;
            margin-top: 1px;
            flex-shrink: 0;
        }

        ul.nt-check-list li strong {
            color: var(--nt-heading);
        }

/* ── Split rows (image + copy, alternate with .order-lg-*) ────── */
.nt-split-img img {
    max-width: 100%;
    border-radius: 20px;
    transition: transform .5s cubic-bezier(.34,1.56,.64,1);
}

.nt-split-img:hover img {
    transform: translateY(-6px) scale(1.02);
}

/* ── Reduced motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .nt-marquee-track {
        animation: none;
    }

    .nt-feature-card,
    .nt-value-card,
    .nt-card,
    .nt-step {
        transition: none;
    }
}
