/* =========================================================
   Niros Case Study — page scoped CSS
   Everything lives under .nc-page. No global selectors,
   no custom fonts. Bootstrap 4 grid is used for layout.
   ========================================================= */

.nc-page {
    --nc-bg: #070707;
    --nc-bg-2: #0e0e0e;
    --nc-card: #141414;
    --nc-card-2: #1a1a1a;
    --nc-line: #2a2a2a;
    --nc-orange: #f47a1f;
    --nc-orange-2: #ff9a3d;
    --nc-orange-3: #c95a0a;
    --nc-muted: #b9b9b9;
    background: var(--nc-bg);
    color: #fff;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.nc-page *,
.nc-page *::before,
.nc-page *::after {
    box-sizing: border-box
}

.nc-page img,
.nc-page svg {
    max-width: 100%;
    display: block
}

.nc-page a {
    color: inherit;
    text-decoration: none
}

.nc-page a:hover {
    text-decoration: none;
    color: inherit
}

.nc-page p {
    margin: 0
}

.nc-page figure {
    margin: 0
}

/* section-scoped headings (h1–h6) */
.nc-page h1,
.nc-page h2,
.nc-page h3,
.nc-page h4,
.nc-page h5,
.nc-page h6 {
    color: #fff;
    margin: 0;
    font-weight: 700;
    line-height: 1.25
}

.nc-page h4 {
    font-size: 17px;
    font-weight: 600
}

.nc-page h5 {
    font-size: 16px
}

.nc-page h6 {
    font-size: 14px
}

.nc-section {
    position: relative;
    padding: 30px 0;
}

.nc-page .container {
    position: relative;
    z-index: 1
}

/* glows */
.nc-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    background: var(--nc-orange);
    z-index: 0
}

.nc-glow-hero {
    width: 420px;
    height: 420px;
    right: -120px;
    top: -100px;
    opacity: .35
}

.nc-glow-left {
    width: 300px;
    height: 300px;
    left: -120px;
    top: 120px;
    opacity: .2
}

/* section heading */
.nc-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px
}

.nc-head h2 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    flex: 1 1 380px;
    max-width: 520px;
    margin-right: 40px
}

.nc-head h2::before {
    content: "";
    display: block;
    width: 44px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--nc-orange), var(--nc-orange-2));
    margin-bottom: 18px
}

.nc-head p {
    flex: 1 1 380px;
    max-width: 540px;
    color: var(--nc-muted);
    font-size: 15px
}

/* gutters for card grids */
.nc-grid {
    margin-left: -11px;
    margin-right: -11px
}

.nc-grid>[class*="col-"] {
    padding-left: 11px;
    padding-right: 11px;
    margin-bottom: 22px
}

.nc-grid-sm {
    margin-left: -6px;
    margin-right: -6px
}

.nc-grid-sm>[class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
    margin-bottom: 12px
}

/* buttons */
.nc-page .nc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: 1.5px solid transparent;
    transition: .3s;
    color: #fff
}

.nc-page .nc-btn-primary {
    background: linear-gradient(135deg, var(--nc-orange-2), var(--nc-orange) 55%, var(--nc-orange-3));
    box-shadow: 0 10px 30px -8px rgba(244, 122, 31, .6)
}

.nc-page .nc-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -8px rgba(244, 122, 31, .8);
    color: #fff
}

.nc-page .nc-btn-ghost {
    border-color: #3a3a3a;
    background: rgba(255, 255, 255, .03)
}

.nc-page .nc-btn-ghost:hover {
    border-color: var(--nc-orange);
    color: var(--nc-orange-2);
    transform: translateY(-3px)
}

.nc-btn-row {
    display: flex;
    flex-wrap: wrap;
    margin: -8px
}

.nc-btn-row .nc-btn {
    margin: 8px
}

/* card */
.nc-card {
    background: linear-gradient(160deg, var(--nc-card-2), var(--nc-card));
    border: 1px solid var(--nc-line);
    border-radius: 18px;
    padding: 30px;
    transition: .35s;
    position: relative;
    overflow: hidden
}

.nc-card:hover {
    transform: translateY(-6px);
    border-color: rgba(244, 122, 31, .6);
    box-shadow: 0 20px 50px -20px rgba(244, 122, 31, .35)
}

/* chips */
.nc-chips {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px 32px
}

.nc-chip {
    margin: 5px;
    font-size: 13px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--nc-card-2);
    border: 1px solid var(--nc-line);
    color: #e8e8e8;
    transition: .3s
}

.nc-chip:hover {
    border-color: var(--nc-orange);
    color: var(--nc-orange-2)
}

.nc-chips-orange {
    margin: 16px -5px 0
}

.nc-chips-orange .nc-chip {
    background: rgba(244, 122, 31, .12);
    border-color: rgba(244, 122, 31, .35);
    color: var(--nc-orange-2)
}

/* media (images keep ratio, never stretched) */
.nc-media {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #171717, #0d0d0d)
}

.nc-media::before {
    content: "";
    display: block;
    padding-top: 62.5%
}

.nc-r-16x10::before {
    padding-top: 62.5%
}

.nc-r-4x3::before {
    padding-top: 75%
}

.nc-r-1x1::before {
    padding-top: 100%
}

.nc-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top
}

.nc-ph {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px;
    font-size: 12px;
    color: var(--nc-muted);
    background: repeating-linear-gradient(45deg, rgba(244, 122, 31, .05) 0 12px, transparent 12px 24px)
}

.nc-ph b {
    color: var(--nc-orange-2);
    font-size: 14px;
    margin-bottom: 4px
}

.nc-media.nc-empty .nc-ph {
    display: flex
}

/* browser-style screenshot frame */
.nc-shot {
    background: var(--nc-card);
    border: 1px solid var(--nc-line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(244, 122, 31, .12);
    transition: .5s
}

.nc-shot-bar {
    display: flex;
    align-items: center;
    padding: 11px 16px;
    background: #101010;
    border-bottom: 1px solid var(--nc-line)
}

.nc-shot-bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3a3a3a;
    margin-right: 7px
}

.nc-shot-bar i:first-child {
    background: var(--nc-orange)
}

/* ---------- HERO ---------- */
.nc-hero {
    position: relative;
    padding: 30px 0;
    overflow: hidden;
    background: radial-gradient(1100px 600px at 80% 0%, rgba(244, 122, 31, .22), transparent 60%), var(--nc-bg)
}

.nc-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 8px 16px;
    border: 1px solid rgba(244, 122, 31, .5);
    border-radius: 999px;
    color: var(--nc-orange-2);
    background: rgba(244, 122, 31, .08);
    margin-bottom: 22px
}

.nc-hero h1 {
    font-size: clamp(32px, 5.2vw, 58px);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 22px
}

.nc-hero h1 span {
    background: linear-gradient(90deg, var(--nc-orange-2), var(--nc-orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.nc-lead {
    color: var(--nc-muted);
    font-size: 17px;
    max-width: 540px;
    margin-bottom: 26px
}

.nc-hero-visual {
    margin-top: 0
}

.nc-hero-visual .nc-shot {
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg)
}

.nc-hero-visual:hover .nc-shot {
    transform: perspective(1400px) rotateY(0) rotateX(0)
}

/* ---------- ABOUT ---------- */
.nc-about {
    padding: 30px 0;
}

.nc-about-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #151515, #0d0d0d);
    border: 1px solid var(--nc-line);
    border-radius: 22px;
    padding: 48px 52px
}

.nc-about-card::before {
    content: "";
    position: absolute;
    left: -80px;
    top: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 122, 31, .18), transparent 70%)
}

.nc-about-card .row {
    position: relative
}

.nc-about-logo {
    display: flex;
    justify-content: center;
    align-self: flex-start
}

.nc-logo-media {
    width: 100%;
    max-width: 220px;
    border-radius: 50%;
    background: none;
    filter: drop-shadow(0 24px 40px rgba(244, 122, 31, .3))
}

.nc-logo-media img {
    object-fit: contain;
    object-position: center
}

.nc-about-block+.nc-about-block {
    margin-top: 26px
}

.nc-about-block h3 {
    font-size: clamp(21px, 2.4vw, 28px);
    margin-bottom: 8px
}

.nc-about-block p {
    color: var(--nc-muted);
    font-size: 15.5px;
    max-width: 760px
}

/* ---------- CHALLENGES ---------- */
.nc-challenges .nc-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(var(--nc-orange-2), var(--nc-orange-3))
}

.nc-num {
    position: absolute;
    top: 14px;
    right: 20px;
    font-size: 44px;
    font-weight: 800;
    color: rgba(244, 122, 31, .16);
    line-height: 1
}

.nc-challenges h3 {
    font-size: 19px;
    margin: 34px 0 12px
}

.nc-challenges p {
    color: var(--nc-muted);
    font-size: 14px
}

/* ---------- IMPACT ---------- */
.nc-impact {
    padding-top: 30px 0;
}

.nc-impact-box {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f98a2e, #f47a1f 45%, #b9510a);
    border-radius: 28px;
    padding: 56px 40px;
    box-shadow: 0 40px 80px -40px rgba(244, 122, 31, .6)
}

.nc-impact-box::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12)
}

.nc-impact-box>* {
    position: relative
}

.nc-impact-box h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 14px
}

.nc-impact-intro {
    max-width: 820px;
    color: #fff3e6;
    font-size: 15px;
    margin-bottom: 36px
}

.nc-stat {
    background: rgba(38, 14, 0, .85);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    padding: 22px 18px;
    transition: .35s
}

.nc-stat:hover {
    transform: translateY(-6px);
    border-color: var(--nc-orange)
}

.nc-big {
    font-size: 46px;
    font-weight: 800;
    line-height: 1;
    color: var(--nc-orange-2)
}

.nc-stat h4 {
    margin: 10px 0 8px;
    font-size: 15px;
    line-height: 1.35
}

.nc-stat p {
    font-size: 12.5px;
    line-height: 1.55;
    color: #cfcfcf
}

/* ---------- SOLUTION ---------- */
.nc-sol-card {
    padding: 22px;
    border-radius: 16px
}

.nc-sol-text h3 {
    display: flex;
    align-items: center;
    font-size: 20px;
    margin-bottom: 10px
}

.nc-sol-text h3 b {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--nc-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 12px
}

.nc-sol-text p {
    color: var(--nc-muted);
    font-size: 15px
}

/* solution mini visuals (code-drawn, no images) */
.nc-mini {
    background: #0a0a0a;
    border: 1px solid #262626;
    border-radius: 12px;
    padding: 14px;
    font-size: 12px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #e6e6e6
}

.nc-mini-plain {
    background: none;
    border: 0;
    padding: 0;
    align-items: center
}

.nc-mr {
    display: flex;
    justify-content: space-between;
    padding: 7px 2px;
    border-bottom: 1px solid #232323
}

.nc-mr:last-of-type {
    border-bottom: 0
}

.nc-bar {
    height: 8px;
    width: 55%;
    border-radius: 8px;
    background: var(--nc-orange);
    margin-top: 10px
}

.nc-bar-y {
    background: #f5b928;
    width: 40%
}

.nc-st-o {
    color: var(--nc-orange-2)
}

.nc-st-y {
    color: #f5b928
}

.nc-ok {
    color: var(--nc-orange-2);
    font-weight: 700
}

.nc-qr {
    width: 150px;
    height: 150px;
    max-width: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 10px
}

.nc-qr svg {
    width: 100%;
    height: 100%
}

.nc-tg {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 6px
}

.nc-t {
    background: #111;
    border: 1px solid #333;
    border-radius: 6px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 0
}

.nc-t-y {
    background: #f5b928;
    border-color: #f5b928;
    color: #111
}

.nc-t-o {
    background: var(--nc-orange);
    border-color: var(--nc-orange)
}

.nc-lang-tog {
    display: inline-flex;
    align-self: flex-end;
    border: 1px solid #333;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 8px
}

.nc-lang-tog button {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    cursor: pointer
}

.nc-lang-tog button.nc-on {
    background: var(--nc-orange)
}

.nc-lrow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 2px;
    border-bottom: 1px solid #232323
}

.nc-lrow:last-child {
    border-bottom: 0
}

.nc-lrow .nc-ar {
    direction: rtl;
    color: #888;
    font-size: 14px;
    transition: .3s
}

.nc-lrow .nc-en {
    color: var(--nc-orange-2);
    transition: .3s
}

.nc-lang.nc-is-ar .nc-ar {
    color: var(--nc-orange-2)
}

.nc-lang.nc-is-ar .nc-en {
    color: #888
}

/* ---------- INSIDE ---------- */
.nc-inside {
    background: var(--nc-bg-2);
    border-top: 1px solid var(--nc-line);
    border-bottom: 1px solid var(--nc-line)
}

.nc-inside-row {
    margin-bottom: 72px
}

.nc-inside-row:last-child {
    margin-bottom: 0
}

.nc-inside-row:hover .nc-shot {
    transform: translateY(-6px);
    box-shadow: 0 40px 80px -30px rgba(244, 122, 31, .35)
}

.nc-label {
    display: inline-block;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--nc-orange);
    margin-bottom: 18px
}

.nc-in-text p {
    color: var(--nc-muted);
    font-size: 15.5px
}

/* ---------- FEATURES ---------- */
.nc-f-ico {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--nc-orange-2), var(--nc-orange-3));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px
}

.nc-f-ico svg {
    width: 26px;
    height: 26px;
    stroke: #fff;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.nc-features h3 {
    font-size: 20px;
    margin-bottom: 10px
}

.nc-features p {
    color: var(--nc-muted);
    font-size: 14.5px
}

/* ---------- TECH ---------- */
.nc-tech {
    background: var(--nc-bg-2);
    border-top: 1px solid var(--nc-line);
    border-bottom: 1px solid var(--nc-line)
}

.nc-tech h4 {
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--nc-orange-2);
    margin-bottom: 20px;
    line-height: 1.5
}

.nc-logo {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 12px;
    background: #0b0b0b;
    border: 1px solid var(--nc-line);
    font-size: 14.5px;
    font-weight: 500;
    transition: .3s
}

.nc-logo+.nc-logo {
    margin-top: 12px
}

.nc-logo:hover {
    border-color: var(--nc-orange)
}

.nc-logo img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-right: 12px
}

.nc-fb {
    display: none;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--nc-orange);
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    margin-right: 12px
}

.nc-fb.nc-fb-on {
    display: flex
}

/* ---------- PROCESS ---------- */
.nc-steps {
    position: relative
}

.nc-dot {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nc-orange-2), var(--nc-orange-3));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 0 6px var(--nc-bg), 0 10px 26px -6px rgba(244, 122, 31, .7)
}

.nc-step h3 {
    font-size: 18px;
    margin-bottom: 10px
}

.nc-step p {
    color: var(--nc-muted);
    font-size: 14.5px
}

@media (min-width:992px) {
    .nc-steps::before {
        content: "";
        position: absolute;
        left: 4%;
        right: 4%;
        top: 26px;
        height: 2px;
        background: linear-gradient(90deg, var(--nc-orange), rgba(244, 122, 31, .15))
    }

    .nc-step {
        position: relative
    }
}

/* ---------- RESULTS ---------- */
.nc-results {
    background: radial-gradient(900px 400px at 50% 0%, rgba(244, 122, 31, .18), transparent 70%), var(--nc-bg-2);
    border-top: 1px solid var(--nc-line)
}

.nc-res-text h2 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    margin-bottom: 20px
}

.nc-res-text h2::before {
    content: "";
    display: block;
    width: 44px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--nc-orange), var(--nc-orange-2));
    margin-bottom: 18px
}

.nc-res-text p {
    color: var(--nc-muted);
    font-size: 16px
}

.nc-res-stat {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    margin-bottom: 16px
}

.nc-res-stat:last-child {
    margin-bottom: 0
}

.nc-res-stat .nc-big {
    min-width: 80px;
    margin-right: 20px
}

.nc-res-stat h4 {
    margin: 0;
    font-size: 16px
}

/* ---------- CTA ---------- */
.nc-cta {
    padding: 30px 0;
}

.nc-cta-box {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f98a2e, #f47a1f 50%, #b9510a);
    border-radius: 28px;
    padding: 56px 48px;
    box-shadow: 0 40px 90px -40px rgba(244, 122, 31, .7)
}

.nc-cta-box::after {
    content: "";
    position: absolute;
    left: -80px;
    bottom: -140px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12)
}

.nc-cta-box .row {
    position: relative;
    z-index: 1
}

.nc-cta-box h2 {
    font-size: clamp(26px, 3.6vw, 40px);
    margin-bottom: 12px
}

.nc-cta-box p {
    color: #fff3e6;
    max-width: 640px
}

.nc-cta-btn {
    text-align: right
}

.nc-cta-box .nc-btn {
    background: #0a0a0a
}

.nc-cta-box .nc-btn:hover {
    transform: translateY(-3px);
    background: #000;
    box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .6)
}

/* ---------- reveal on scroll ---------- */
.nc-rv {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .8s ease, transform .8s ease
}

.nc-rv.nc-in {
    opacity: 1;
    transform: none
}

@media (prefers-reduced-motion:reduce) {
    .nc-rv {
        opacity: 1;
        transform: none;
        transition: none
    }

    .nc-page * {
        transition: none !important
    }
}

/* ---------- responsive ---------- */
@media (min-width:1200px) {
    .nc-impact-box {
        padding: 48px 32px
    }

    .nc-impact-box h2,
    .nc-impact-box .nc-impact-intro {
        padding-left: 8px
    }

    .nc-impact-box .nc-stat h4 {
        font-size: 14.5px
    }
}

@media (max-width:1199.98px) {
    .nc-stat p {
        font-size: 13.5px
    }

    .nc-big {
        font-size: 44px
    }
}

@media (max-width:991.98px) {
    .nc-section {
        padding: 30px 0;
    }

    .nc-hero {
        padding: 60px 0 56px
    }

    .nc-hero-visual {
        margin-top: 40px
    }

    .nc-hero-visual .nc-shot {
        transform: none
    }

    .nc-inside-row {
        margin-bottom: 56px
    }

    .nc-in-text {
        margin-top: 28px
    }

    .nc-res-text {
        margin-bottom: 32px
    }

    .nc-cta-btn {
        text-align: left;
        margin-top: 24px
    }

    .nc-impact-box,
    .nc-cta-box {
        padding: 40px 28px
    }

    .nc-about-card {
        padding: 36px 28px
    }

    .nc-head {
        display: block;
        margin-bottom: 36px
    }

    .nc-head h2 {
        max-width: none;
        margin: 0 0 16px
    }

    .nc-head p {
        max-width: none
    }
}

@media (max-width:767.98px) {
    .nc-about-logo {
        justify-content: flex-start;
        margin-bottom: 28px
    }

    .nc-logo-media {
        max-width: 170px
    }
}

@media (max-width:575.98px) {
    .nc-page .container {
        padding-left: 18px;
        padding-right: 18px
    }

    .nc-page .nc-btn {
        width: 100%
    }

    .nc-btn-row {
        margin: -6px 0
    }

    .nc-btn-row .nc-btn {
        margin: 6px 0
    }

    .nc-card {
        padding: 24px
    }

    .nc-sol-card {
        padding: 18px
    }

    .nc-sol-text {
        margin-top: 18px
    }

    .nc-impact-box,
    .nc-cta-box {
        padding: 32px 20px;
        border-radius: 22px
    }

    .nc-about-card {
        padding: 28px 20px
    }

    .nc-tag {
        letter-spacing: .08em;
        font-size: 11px
    }

    .nc-res-stat {
        padding: 16px 18px
    }
}