/* ═══════════════════════════════════════════════════════
   NM-ABOUT — page-specific styles  (prefix: nm-about-)
═══════════════════════════════════════════════════════ */

/* ── 1. HERO ────────────────────────────────────────── */
.nm-about-hero {
  min-height: 100vh;
  padding: 130px 0 80px;
  background: var(--bg-0);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.nm-about-hero::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 700px;
  background: radial-gradient(ellipse at 60% 40%, rgba(26,110,255,.16) 0%, transparent 68%);
  pointer-events: none;
}

.nm-about-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

/* left */
.nm-about-hero-lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.nm-about-hero-h1 {
  font-family: var(--fd);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--t1);
  margin-bottom: 20px;
}
.nm-about-hero-h1 .nm-about-acc {
  background: linear-gradient(90deg, #1a6eff 0%, #3d8bff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nm-about-hero-desc {
  font-size: 14.5px;
  color: var(--t2);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 28px;
}
.nm-about-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* right — 2×2 stat grid around center cube */
.nm-about-hero-right {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto 1fr;
  gap: 0;
  align-items: center;
}

/* cube center */
.nm-about-cube-wrap {
  grid-column: 1 / 3;
  grid-row: 1 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 0;
  pointer-events: none;
}
.nm-about-cube-wrap img {
  width: 70%;
  max-width: 340px;
  filter: drop-shadow(0 0 50px rgba(26,110,255,.50));
  animation: nm-about-float 4s ease-in-out infinite;
}
@keyframes nm-about-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-16px); }
}

/* 4 stat boxes overlaying the grid corners */
.nm-about-hero-right {
  position: relative;
  height: 360px;
}
.nm-about-sbox {
  position: absolute;
  background: rgba(8,15,30,.82);
  border: 1px solid rgba(26,110,255,.18);
  border-radius: 12px;
  padding: 16px 20px;
  backdrop-filter: blur(10px);
  min-width: 120px;
  z-index: 2;
}
.nm-about-sbox.tl { top: 0;    left: 0; }
.nm-about-sbox.tr { top: 0;    right: 0; }
.nm-about-sbox.bl { bottom: 0; left: 0; }
.nm-about-sbox.br { bottom: 0; right: 0; }

.nm-about-sbox-num {
  font-family: var(--fd);
  font-size: 30px;
  font-weight: 800;
  color: var(--t1);
  line-height: 1;
  margin-bottom: 4px;
}
.nm-about-sbox-lbl {
  font-size: 11.5px;
  color: var(--t2);
  line-height: 1.4;
}

/* glow rings behind cube */
.nm-about-cube-glow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}
.nm-about-cube-glow::before,
.nm-about-cube-glow::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(26,110,255,.15);
  animation: nm-about-ring 5s linear infinite;
}
.nm-about-cube-glow::before {
  width: 260px; height: 260px;
}
.nm-about-cube-glow::after {
  width: 340px; height: 340px;
  animation-delay: -2.5s;
  border-color: rgba(26,110,255,.08);
}
@keyframes nm-about-ring {
  0%   { transform: scale(.95); opacity: 1; }
  100% { transform: scale(1.05); opacity: 0.4; }
}

/* ── 2. STATS BAR ───────────────────────────────────── */
.nm-about-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--b-sub);
  border-bottom: 1px solid var(--b-sub);
}
.nm-about-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.nm-about-bar-col {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 30px 28px;
  border-right: 1px solid var(--b-sub);
}
.nm-about-bar-col:last-child { border-right: none; }
.nm-about-bar-ico {
  width: 44px; height: 44px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
  margin-top: 2px;
}
.nm-about-bar-num {
  font-family: var(--fd);
  font-size: 28px;
  font-weight: 800;
  color: var(--t1);
  line-height: 1;
  margin-bottom: 3px;
}
.nm-about-bar-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--t1);
  margin-bottom: 3px;
}
.nm-about-bar-sub {
  font-size: 11.5px;
  color: var(--t3);
  line-height: 1.5;
}

/* ── 3. OUR STORY / TIMELINE ────────────────────────── */
.nm-about-story {
  padding: 96px 0;
  background: var(--bg-1);
}
.nm-about-story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.nm-about-story-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.nm-about-story-h2 {
  font-family: var(--fd);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--t1);
  line-height: 1.18;
  margin-bottom: 18px;
}
.nm-about-story-desc {
  font-size: 14px;
  color: var(--t2);
  line-height: 1.78;
  margin-bottom: 30px;
}
.nm-about-story-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--t1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  padding: 11px 20px;
  transition: var(--ease);
}
.nm-about-story-btn:hover {
  border-color: var(--blue);
  color: var(--blue-l);
  transform: translateX(3px);
}

/* timeline */
.nm-about-tl {
  position: relative;
  padding-left: 28px;
  --tl-axis: 6px;
}
.nm-about-tl-line {
  position: absolute;
  left: var(--tl-axis);
  top: 6px; bottom: 6px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, var(--blue) 0%, rgba(26,110,255,.12) 100%);
  border-radius: 2px;
}
.nm-about-tl-item {
  position: relative;
  padding-left: 18px;
  margin-bottom: 28px;
  cursor: pointer;
}
.nm-about-tl-item:last-child { margin-bottom: 0; }
.nm-about-tl-dot {
  position: absolute;
  left: calc(var(--tl-axis) - 28px);
  top: 5px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg-1);
  border: 2px solid var(--blue);
  transform: translateX(-50%);
  transition: var(--ease);
  z-index: 1;
}
.nm-about-tl-item.active .nm-about-tl-dot,
.nm-about-tl-item:hover .nm-about-tl-dot {
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(26,110,255,.22);
}
.nm-about-tl-year {
  font-family: var(--fd);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--blue-l);
  margin-bottom: 3px;
}
.nm-about-tl-body {
  font-size: 13.5px;
  color: var(--t2);
  line-height: 1.6;
}

/* ── 4. WHAT WE DO ──────────────────────────────────── */
.nm-about-services {
  padding: 96px 0;
  background: var(--bg-0);
}
.nm-about-services-hdr {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}
.nm-about-services-lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
}
.nm-about-services-h2 {
  font-family: var(--fd);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 800;
  color: var(--t1);
  line-height: 1.15;
}

/* 6 cards single row */
.nm-about-svc-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
.nm-about-svc-card {
  background: var(--bg-2);
  border: 1px solid var(--b-sub);
  border-radius: 12px;
  padding: 22px 16px 20px;
  transition: var(--ease);
  position: relative;
  overflow: hidden;
}
.nm-about-svc-card:hover {
  border-color: rgba(26,110,255,.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.3);
}
.nm-about-svc-ico {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--t1);
  margin-bottom: 14px;
  transition: var(--ease);
}
.nm-about-svc-card:hover .nm-about-svc-ico {
  background: rgba(26,110,255,.14);
  border-color: rgba(26,110,255,.3);
  color: var(--blue-l);
}
.nm-about-svc-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--t1);
  margin-bottom: 8px;
  line-height: 1.35;
}
.nm-about-svc-desc {
  font-size: 12px;
  color: var(--t2);
  line-height: 1.6;
  margin-bottom: 14px;
}
.nm-about-svc-arrow {
  font-size: 14px;
  color: var(--t2);
  transition: var(--ease);
}
.nm-about-svc-card:hover .nm-about-svc-arrow {
  color: var(--blue-l);
  transform: translateX(4px);
}

/* ── 5. TECHNOLOGIES ────────────────────────────────── */
.nm-about-tech {
  padding: 60px 0 64px;
  background: var(--bg-1);
  border-top: 1px solid var(--b-sub);
}
.nm-about-tech-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 36px;
}
.nm-about-tech-row {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 28px;
}
.nm-about-tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 64px;
  transition: var(--ease);
  cursor: default;
}
.nm-about-tech-item:hover { transform: translateY(-4px); }
.nm-about-tech-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
}
.nm-about-tech-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nm-about-tech-name {
  font-size: 11.5px;
  color: var(--t2);
  font-weight: 500;
  text-align: center;
}

/* ── 6. FEATURED CASE STUDIES ───────────────────────── */
.nm-about-cases {
  padding: 96px 0;
  background: var(--bg-0);
}
.nm-about-cases-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.nm-about-cases-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--blue);
}
.nm-about-cases-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--t2);
  transition: var(--ease);
}
.nm-about-cases-link:hover { color: var(--blue-l); }

/* horizontal cards */
.nm-about-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.nm-about-case-card {
  background: var(--bg-2);
  border: 1px solid var(--b-sub);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--ease);
}
.nm-about-case-card:hover {
  border-color: rgba(26,110,255,.28);
  transform: translateY(-5px);
  box-shadow: 0 18px 48px rgba(0,0,0,.35);
}

/* image area (top) */
.nm-about-case-img {
  height: 150px;
  position: relative;
  overflow: hidden;
  background: var(--bg-0);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nm-about-case-img-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #030812 0%, #070f22 100%);
}
/* circuit-like inner glow */
.nm-about-case-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(26,110,255,.22) 0%, transparent 65%);
}
.nm-about-case-img-ico {
  position: relative;
  z-index: 1;
  font-size: 48px;
  color: rgba(26,110,255,.45);
  filter: drop-shadow(0 0 20px rgba(26,110,255,.35));
}

/* body */
.nm-about-case-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.nm-about-case-tag {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--blue-l);
  margin-bottom: 10px;
}
.nm-about-case-title {
  font-family: var(--fd);
  font-size: 15px;
  font-weight: 700;
  color: var(--t1);
  line-height: 1.35;
  margin-bottom: 8px;
}
.nm-about-case-desc {
  font-size: 12.5px;
  color: var(--t2);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}
.nm-about-case-metric {
  border-top: 1px solid var(--b-sub);
  padding-top: 14px;
}
.nm-about-case-pct {
  font-family: var(--fd);
  font-size: 32px;
  font-weight: 800;
  color: var(--blue-l);
  line-height: 1;
  margin-bottom: 2px;
}
.nm-about-case-meta {
  font-size: 11.5px;
  color: var(--t3);
  line-height: 1.45;
}

/* ── 7. OUR PEOPLE ──────────────────────────────────── */
.nm-about-team {
  padding: 96px 0;
  background: var(--bg-1);
}
.nm-about-team-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}
.nm-about-team-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.nm-about-team-h2 {
  font-family: var(--fd);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 800;
  color: var(--t1);
  line-height: 1.2;
  margin-bottom: 14px;
}
.nm-about-team-desc {
  font-size: 13.5px;
  color: var(--t2);
  line-height: 1.72;
  margin-bottom: 26px;
}
.nm-about-team-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--t1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  padding: 10px 20px;
  transition: var(--ease);
}
.nm-about-team-btn:hover {
  border-color: var(--blue);
  color: var(--blue-l);
  transform: translateY(-2px);
}

/* 4 cards in a row */
.nm-about-team-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.nm-about-team-card {
  background: var(--bg-2);
  border: 1px solid var(--b-sub);
  border-radius: 14px;
  padding: 28px 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--ease);
}
.nm-about-team-card:hover {
  border-color: rgba(26,110,255,.28);
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,0,0,.28);
}
.nm-about-team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  transition: var(--ease);
}
.nm-about-team-card:hover .nm-about-team-avatar {
  border-color: rgba(26,110,255,.35);
  background: rgba(26,110,255,.08);
}
.nm-about-team-avatar i {
  font-size: 30px;
  color: rgba(255,255,255,.25);
}
.nm-about-team-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--t1);
  margin-bottom: 14px;
}
.nm-about-team-socials {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.nm-about-team-soc {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: var(--t2);
  transition: var(--ease);
}
.nm-about-team-soc:hover {
  background: rgba(26,110,255,.18);
  border-color: rgba(26,110,255,.35);
  color: var(--blue-l);
}

/* ── 8. CTA BANNER ──────────────────────────────────── */
.nm-about-cta {
  padding: 60px 0;
  background: var(--bg-0);
  position: relative;
  overflow: hidden;
}
/* subtle wave glow on right */
.nm-about-cta::after {
  display: none;
}
.nm-about-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 1px solid var(--b-sub);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(5, 10, 20, 0.82) 0%, rgba(5, 10, 20, 0.45) 55%, rgba(5, 10, 20, 0.25) 100%),
    url('../UI-Design/about_cta_bg.png') center / cover no-repeat;
  padding: 48px 52px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.nm-about-cta-left {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nm-about-cta-logo {
  width: 46px; height: 46px;
  background: var(--blue);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fd);
  font-weight: 900;
  font-size: 22px;
  color: #fff;
  box-shadow: 0 6px 20px var(--glow);
  flex-shrink: 0;
}
.nm-about-cta-h2 {
  font-family: var(--fd);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  color: var(--t1);
  line-height: 1.25;
  margin-bottom: 6px;
}
.nm-about-cta-sub {
  font-size: 13.5px;
  color: var(--t2);
  line-height: 1.6;
  max-width: 400px;
}

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .nm-about-svc-grid { grid-template-columns: repeat(3, 1fr); }
  .nm-about-team-inner { grid-template-columns: 1fr; }
  .nm-about-team-row { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .nm-about-hero-inner { grid-template-columns: 1fr; }
  .nm-about-hero-right { display: none; }
  .nm-about-story-inner { grid-template-columns: 1fr; gap: 48px; }
  .nm-about-bar-inner { grid-template-columns: 1fr 1fr; }
  .nm-about-bar-col { border-bottom: 1px solid var(--b-sub); }
  .nm-about-bar-col:nth-child(2) { border-right: none; }
  .nm-about-cases-grid { grid-template-columns: 1fr; }
  .nm-about-svc-grid { grid-template-columns: repeat(2, 1fr); }
  .nm-about-cta-inner { flex-direction: column; text-align: center; }
  .nm-about-cta-left { flex-direction: column; text-align: center; }
  .nm-about-cta-sub { margin: 0 auto; }
}
@media (max-width: 640px) {
  .nm-about-team-row { grid-template-columns: 1fr 1fr; }
  .nm-about-svc-grid { grid-template-columns: 1fr; }
  .nm-about-bar-inner { grid-template-columns: 1fr; }
  .nm-about-bar-col { border-right: none; }
  .nm-about-cta-inner { padding: 32px 22px; }
  .nm-about-tech-row { gap: 20px; justify-content: center; }
  .nm-about-cases-grid { grid-template-columns: 1fr; }
}

/* ── About page: solutions section background ─────── */
.nm-solutions--about {
  background-color: #050a14;
}