/* =============================================================
   NEXSUS — custom.css
   Add to assets/css/ and link AFTER style.css in site-header.php:
   <link href="assets/css/custom.css" rel="stylesheet">
   =============================================================

   TABLE OF CONTENTS
   -----------------
   1.  Global / Shared Helpers
   2.  Page Hero Banner (all inner pages)
   3.  Section Headings
   4.  Buttons
   5.  Stats Bar
   6.  Client Logo Marquee
   7.  About Section
   8.  Product Cards
   9.  AI Section
   10. Testimonials
   11. Awards
   12. Portfolio CTA
   13. Main CTA Banner
   14. Journey / Timeline
   15. Specialisation Cards
   16. Industries Section
   17. Responsive
============================================================= */


/* ─────────────────────────────────────────
   1. GLOBAL / SHARED HELPERS
───────────────────────────────────────── */
:root {
  --nx-primary:    #106eea;
  --nx-primary-dk: #0d5bc4;
  --nx-heading:    #012970;
  --nx-text:       #555555;
  --nx-light-bg:   #f6f9fe;
  --nx-border:     #e8ecf4;
}

.nx-badge-label {
  display: inline-block;
  background: rgba(16, 110, 234, 0.08);
  color: var(--nx-primary);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.nx-divider {
  width: 44px;
  height: 3px;
  background: var(--nx-primary);
  border-radius: 2px;
  margin: 12px 0 0;
}

.nx-divider.center {
  margin: 12px auto 0;
}

.nx-check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.nx-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--nx-text);
  line-height: 1.6;
}

.nx-check-list li i {
  color: var(--nx-primary);
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}


/* ─────────────────────────────────────────
   2. PAGE HERO BANNER (inner pages)
───────────────────────────────────────── */
.nx-page-hero {
  background: linear-gradient(120deg, #eef4ff 0%, #f6f9fe 60%, #e8f0fe 100%);
  padding: 48px 0 48px;   /* top handled by body padding-top from JS header offset */
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--nx-border);
}

.nx-page-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(16,110,234,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.nx-page-hero .container {
  position: relative;
  z-index: 1;
}

.nx-page-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--nx-heading);
  line-height: 1.15;
  margin-bottom: 14px;
}

.nx-page-hero h1 span {
  color: var(--nx-primary);
}

.nx-page-hero .nx-lead {
  font-size: 16px;
  color: #666;
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 0;
}

/* Breadcrumb */
.nx-breadcrumb {
  margin-bottom: 16px;
}

.nx-breadcrumb ol {
  background: none;
  padding: 0;
  margin: 0;
}

.nx-breadcrumb .breadcrumb-item a {
  color: var(--nx-primary);
  font-size: 13px;
  font-weight: 500;
}

.nx-breadcrumb .breadcrumb-item.active {
  color: #999;
  font-size: 13px;
}

.nx-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #bbb;
}

/* Hero stat pills */
.nx-hero-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.nx-hero-pill {
  background: #fff;
  border: 1px solid var(--nx-border);
  border-radius: 50px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 12px rgba(1,41,112,0.06);
}

.nx-hero-pill .pill-num {
  font-family: 'Nunito', 'Raleway', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--nx-primary);
  line-height: 1;
}

.nx-hero-pill .pill-lbl {
  font-size: 12px;
  color: #888;
  line-height: 1.35;
  max-width: 90px;
}

/* Hero feature cards (right side) */
.nx-hero-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nx-hero-card-item {
  background: #fff;
  border: 1px solid var(--nx-border);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(1,41,112,0.05);
}

.nx-hero-card-item .hci-icon {
  width: 38px;
  height: 38px;
  background: rgba(16,110,234,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--nx-primary);
}

.nx-hero-card-item .hci-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--nx-heading);
  line-height: 1.3;
}

.nx-hero-card-item .hci-sub {
  font-size: 11.5px;
  color: #999;
  margin-top: 2px;
}


/* ─────────────────────────────────────────
   3. SECTION HEADINGS
───────────────────────────────────────── */
.nx-section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.nx-section-heading h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: var(--nx-heading);
  margin-bottom: 0;
}

.nx-section-heading p {
  font-size: 15.5px;
  color: #777;
  max-width: 600px;
  margin: 12px auto 0;
  line-height: 1.75;
}


/* ─────────────────────────────────────────
   4. BUTTONS
───────────────────────────────────────── */
.nx-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--nx-primary);
  color: #fff !important;
  border-radius: 50px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(16,110,234,0.25);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.nx-btn-primary:hover {
  background: var(--nx-primary-dk);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(16,110,234,0.32);
  color: #fff !important;
}

.nx-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--nx-heading) !important;
  border: 2px solid var(--nx-border);
  border-radius: 50px;
  padding: 11px 26px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.nx-btn-outline:hover {
  border-color: var(--nx-primary);
  color: var(--nx-primary) !important;
  transform: translateY(-2px);
}

.nx-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--nx-primary) !important;
  border-radius: 50px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transition: all 0.2s;
  cursor: pointer;
}

.nx-btn-white:hover {
  background: #f0f4ff;
  transform: translateY(-2px);
  color: var(--nx-primary) !important;
}

.nx-btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: 50px;
  padding: 11px 26px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.nx-btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.10);
  color: #fff !important;
  transform: translateY(-2px);
}


/* ─────────────────────────────────────────
   5. STATS BAR
───────────────────────────────────────── */
.nx-stats-section {
  background: var(--nx-heading);
  padding: 52px 0;
}

.nx-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.nx-stat-box {
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid rgba(255,255,255,0.10);
}

.nx-stat-box:last-child {
  border-right: none;
}

.nx-stat-box .nx-stat-num {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.nx-stat-box .nx-stat-num .nx-accent {
  color: #60a5fa;
}

.nx-stat-box .nx-stat-lbl {
  font-size: 13px;
  color: rgba(255,255,255,0.50);
  line-height: 1.5;
}

/* Counter animation — JS driven */
.nx-counter { display: inline; }


/* ─────────────────────────────────────────
   6. CLIENT LOGO MARQUEE
───────────────────────────────────────── */
.nx-clients-section {
  padding: 44px 0;
  background: #fff;
  border-top: 1px solid var(--nx-border);
  border-bottom: 1px solid var(--nx-border);
  overflow: hidden;
}

.nx-clients-label {
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 24px;
}

.nx-marquee-outer {
  overflow: hidden;
  position: relative;
}

.nx-marquee-outer::before,
.nx-marquee-outer::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.nx-marquee-outer::before {
  left: 0;
  background: linear-gradient(90deg, #fff, transparent);
}

.nx-marquee-outer::after {
  right: 0;
  background: linear-gradient(-90deg, #fff, transparent);
}

.nx-marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: nxMarquee 28s linear infinite;
}

.nx-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes nxMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.nx-client-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.45);
  transition: filter 0.3s, transform 0.3s;
  flex-shrink: 0;
}

.nx-client-logo:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.06);
}


/* ─────────────────────────────────────────
   7. ABOUT SECTION
───────────────────────────────────────── */
.nx-about-section {
  padding: 80px 0;
  background: #fff;
}

.nx-about-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: visible;
}

.nx-about-img-wrap img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(1,41,112,0.10);
  display: block;
}

.nx-ms-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 8px 28px rgba(1,41,112,0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--nx-border);
  min-width: 200px;
}

.nx-ms-badge img {
  height: 48px;
  width: auto;
  flex-shrink: 0;
}

.nx-ms-badge .ms-sub {
  font-size: 11px;
  color: #999;
  font-weight: 500;
  margin-bottom: 2px;
}

.nx-ms-badge div div {
  font-size: 13px;
  font-weight: 800;
  color: var(--nx-heading);
}

.nx-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0 24px;
}

.nx-feature-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--nx-text);
}

.nx-feature-item i {
  color: var(--nx-primary);
  font-size: 14px;
  flex-shrink: 0;
}

/* Intro graphic panel (used in overview) */
.nx-intro-graphic {
  background: linear-gradient(135deg, var(--nx-heading) 0%, #1a4fa0 100%);
  border-radius: 20px;
  padding: 36px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.nx-intro-graphic::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.nx-intro-graphic > * { position: relative; z-index: 1; }

.nx-ig-year {
  font-size: 68px;
  font-weight: 800;
  color: rgba(255,255,255,0.10);
  line-height: 1;
  margin-bottom: 6px;
}

.nx-ig-tagline {
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 18px;
}

.nx-ig-tagline span { color: #60a5fa; }

.nx-ig-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.nx-ig-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.nx-ig-stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 14px;
}

.nx-ig-stat .n {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.nx-ig-stat .n span { color: #60a5fa; }

.nx-ig-stat .l {
  font-size: 11px;
  color: rgba(255,255,255,0.50);
  margin-top: 4px;
}


/* ─────────────────────────────────────────
   8. PRODUCT CARDS
───────────────────────────────────────── */
.nx-products-section {
  padding: 80px 0;
  background: #fff;
}

.nx-product-card {
  background: #fff;
  border: 1px solid var(--nx-border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease,
              background 0.3s ease, border-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* No top-line trick needed — full card changes on hover */
.nx-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 52px rgba(241,98,127,0.28);
  background: #f1627f;
  border-color: #f1627f;
}

/* ── Image area: fixed height, contain so logos never stretch ── */
.nx-product-img-wrap {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #f6f9fe;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.nx-product-card:hover .nx-product-img-wrap {
  background: #e04d6b;        /* slightly darker shade of #f1627f */
}

.nx-product-card .nx-product-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;        /* contain = no stretching, full image visible */
  display: block;
  transition: transform 0.3s ease;
}

.nx-product-card:hover .nx-product-img {
  transform: scale(1.04);
}

.nx-product-placeholder {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, var(--nx-heading) 0%, var(--nx-primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: rgba(255,255,255,0.20);
  transition: background 0.3s ease;
}

.nx-product-card:hover .nx-product-placeholder {
  background: linear-gradient(135deg, #e04d6b 0%, #f1627f 100%);
}

.nx-product-body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.nx-product-icon {
  width: 36px;
  height: 36px;
  background: rgba(16,110,234,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.nx-product-card:hover .nx-product-icon {
  background: rgba(255,255,255,0.20);
}

.nx-product-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.nx-product-icon i {
  font-size: 16px;
  color: var(--nx-primary);
  transition: color 0.3s ease;
}

.nx-product-card:hover .nx-product-icon i {
  color: #fff;
}

.nx-product-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--nx-primary);
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.nx-product-card:hover .nx-product-cat {
  color: rgba(255,255,255,0.75);
}

.nx-product-name {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--nx-heading);
  margin-bottom: 7px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.nx-product-card:hover .nx-product-name {
  color: #fff;
}

.nx-product-desc {
  font-size: 13.5px;
  color: #777;
  line-height: 1.65;
  flex: 1;
  transition: color 0.3s ease;
}

.nx-product-card:hover .nx-product-desc {
  color: rgba(255,255,255,0.80);
}

.nx-product-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--nx-primary);
  text-decoration: none;
  transition: gap 0.2s, color 0.3s ease;
}

.nx-product-link:hover {
  gap: 9px;
  color: var(--nx-primary-dk);
}

/* When the whole card is hovered, link turns white */
.nx-product-card:hover .nx-product-link {
  color: #fff;
}

.nx-product-card:hover .nx-product-link:hover {
  color: rgba(255,255,255,0.85);
  gap: 9px;
}


/* ─────────────────────────────────────────
   9. AI SECTION
───────────────────────────────────────── */
.nx-ai-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--nx-heading) 0%, #0d3a7a 100%);
  position: relative;
  overflow: hidden;
}

.nx-ai-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.nx-ai-section .container { position: relative; z-index: 1; }

.nx-ai-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 26px;
}

.nx-ai-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s;
}

.nx-ai-tag i { color: #60a5fa; font-size: 11px; }

.nx-ai-tag:hover { background: rgba(16,110,234,0.25); }

.nx-ai-panel {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 28px;
  backdrop-filter: blur(8px);
}

.nx-ai-panel-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nx-ai-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nx-ai-row:last-child { border-bottom: none; }

.nx-ai-row-lbl { font-size: 13.5px; color: rgba(255,255,255,0.55); }

.nx-ai-row-val { font-size: 13.5px; font-weight: 700; color: #fff; }

.nx-badge-green {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.nx-badge-blue {
  background: rgba(96,165,250,0.15);
  color: #93c5fd;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.nx-badge-yellow {
  background: rgba(251,191,36,0.15);
  color: #fcd34d;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}


/* ─────────────────────────────────────────
   10. TESTIMONIALS
───────────────────────────────────────── */
.nx-testi-section {
  padding: 80px 0;
  background: var(--nx-light-bg);
}

.nx-testi-card {
  background: #fff;
  border: 1px solid var(--nx-border);
  border-radius: 14px;
  padding: 28px;
  height: 100%;
  transition: transform 0.25s, box-shadow 0.25s;
}

.nx-testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(1,41,112,0.09);
}

.nx-testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.nx-testi-stars i { color: #f59e0b; font-size: 14px; }

.nx-testi-text {
  font-size: 14.5px;
  color: #555;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}

.nx-testi-person {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 16px;
  border-top: 1px solid var(--nx-border);
}

.nx-testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nx-testi-avatar-init {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nx-primary), #42a0ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  color: #fff;
  flex-shrink: 0;
}

.nx-testi-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--nx-heading);
}

.nx-testi-role {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}


/* ─────────────────────────────────────────
   11. AWARDS
───────────────────────────────────────── */
.nx-awards-section {
  padding: 72px 0;
  background: #fff;
}

.nx-award-card {
  background: #fff;
  border: 1px solid var(--nx-border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.nx-award-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(1,41,112,0.10);
}

.nx-award-card img {
  width: 100%;
  aspect-ratio: 1 / 1;     /* square — shows full image without cropping */
  object-fit: contain;      /* contain = no cropping, full image visible */
  display: block;
  padding: 8px;             /* small padding so image doesn't touch edges */
  background: #fafbfe;
}

.nx-award-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--nx-light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #f59e0b;
}


/* ─────────────────────────────────────────
   12. PORTFOLIO CTA
───────────────────────────────────────── */
.nx-portfolio-cta {
  padding: 60px 0;
  background: var(--nx-light-bg);
  border-top: 1px solid var(--nx-border);
  text-align: center;
}

.nx-portfolio-cta h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--nx-heading);
  margin-bottom: 10px;
}

.nx-portfolio-cta p {
  font-size: 15px;
  color: #777;
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.75;
}


/* ─────────────────────────────────────────
   13. MAIN CTA BANNER
───────────────────────────────────────── */
.nx-cta-section {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--nx-primary) 0%, #0d3a7a 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nx-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.nx-cta-section .container { position: relative; z-index: 1; }

.nx-cta-section h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.nx-cta-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.70);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.75;
}


/* ─────────────────────────────────────────
   14. JOURNEY / TIMELINE
───────────────────────────────────────── */
.nx-journey-section {
  padding: 80px 0;
  background: var(--nx-light-bg);
}

.nx-timeline {
  position: relative;
  padding-left: 30px;
  margin-top: 32px;
}

.nx-timeline::before {
  content: '';
  position: absolute;
  left: 9px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--nx-primary) 0%, #e8ecf4 100%);
}

.nx-tl-item {
  position: relative;
  padding-bottom: 32px;
}

.nx-tl-item:last-child { padding-bottom: 0; }

.nx-tl-dot {
  position: absolute;
  left: -26px; top: 4px;
  width: 16px; height: 16px;
  background: var(--nx-primary);
  border-radius: 50%;
  border: 3px solid #f6f9fe;
  box-shadow: 0 0 0 2px var(--nx-primary);
}

.nx-tl-year {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--nx-primary);
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}

.nx-tl-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--nx-heading);
  margin-bottom: 3px;
}

.nx-tl-desc {
  font-size: 13.5px;
  color: #777;
  line-height: 1.65;
}

/* Journey visual panel */
.nx-journey-panel {
  background: #fff;
  border: 1px solid var(--nx-border);
  border-radius: 20px;
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nx-jv-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: var(--nx-light-bg);
  border-radius: 10px;
  border: 1px solid var(--nx-border);
}

.nx-jv-metric .label { font-size: 13px; color: #777; }

.nx-jv-metric .value {
  font-size: 17px;
  font-weight: 800;
  color: var(--nx-heading);
}

.nx-jv-metric .value span { color: var(--nx-primary); }


/* ─────────────────────────────────────────
   15. SPECIALISATION CARDS
───────────────────────────────────────── */
.nx-specials-section {
  padding: 80px 0;
  background: var(--nx-light-bg);
}

.nx-special-card {
  background: #fff;
  border: 1px solid var(--nx-border);
  border-radius: 16px;
  padding: 30px 26px;
  height: 100%;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.nx-special-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--nx-primary), #42a0ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.nx-special-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(1,41,112,0.10);
  border-color: transparent;
}

.nx-special-card:hover::before { transform: scaleX(1); }

.nx-sc-icon {
  width: 50px; height: 50px;
  background: rgba(16,110,234,0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 21px;
  color: var(--nx-primary);
  transition: background 0.25s, color 0.25s;
}

.nx-special-card:hover .nx-sc-icon {
  background: var(--nx-primary);
  color: #fff;
}

.nx-special-card h4 {
  font-size: 16.5px;
  font-weight: 800;
  margin-bottom: 9px;
}

.nx-special-card p {
  font-size: 14px;
  color: #777;
  line-height: 1.7;
  margin: 0;
}


/* ─────────────────────────────────────────
   16. INDUSTRIES SECTION
───────────────────────────────────────── */
.nx-industries-section {
  padding: 80px 0;
  background: #fff;
}

.nx-industry-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--nx-border);
  border-radius: 12px;
  padding: 14px 18px;
  transition: all 0.25s;
}

.nx-industry-pill:hover {
  border-color: var(--nx-primary);
  box-shadow: 0 6px 24px rgba(16,110,234,0.10);
  transform: translateY(-3px);
}

.nx-ip-icon {
  width: 38px; height: 38px;
  background: rgba(16,110,234,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--nx-primary);
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s;
}

.nx-industry-pill:hover .nx-ip-icon {
  background: var(--nx-primary);
  color: #fff;
}

.nx-industry-pill span {
  font-size: 14px;
  font-weight: 600;
  color: var(--nx-heading);
}

/* Industry bar panel */
.nx-industry-panel {
  background: var(--nx-light-bg);
  border: 1px solid var(--nx-border);
  border-radius: 20px;
  padding: 32px;
  height: 100%;
}

.nx-ip-header {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--nx-primary);
  margin-bottom: 18px;
}

.nx-bar-row { margin-bottom: 13px; }

.nx-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: #777;
  margin-bottom: 5px;
}

.nx-bar-labels span:last-child {
  font-weight: 700;
  color: var(--nx-heading);
}

.nx-bar {
  height: 7px;
  background: var(--nx-border);
  border-radius: 50px;
  overflow: hidden;
}

.nx-bar-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--nx-primary), #42a0ff);
}

.nx-ip-note {
  margin-top: 18px;
  background: rgba(16,110,234,0.06);
  border-left: 3px solid var(--nx-primary);
  border-radius: 0 8px 8px 0;
  padding: 11px 14px;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

/* Hero dashboard card */
.nx-hero-dashboard {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(1,41,112,0.10);
  padding: 26px;
}

.nx-hd-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nx-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nx-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #22c55e;
  font-weight: 600;
}

.nx-live-dot::before {
  content: '';
  width: 7px; height: 7px;
  background: #22c55e;
  border-radius: 50%;
  animation: nxPulse 1.5s infinite;
}

@keyframes nxPulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

.nx-hd-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.nx-hd-stat {
  background: var(--nx-light-bg);
  border-radius: 10px;
  padding: 13px;
  text-align: center;
}

.nx-hd-stat .n {
  font-size: 22px;
  font-weight: 800;
  color: var(--nx-heading);
  line-height: 1;
}

.nx-hd-stat .n span { color: var(--nx-primary); }
.nx-hd-stat .l { font-size: 11px; color: #999; margin-top: 3px; }

.nx-hd-bar-wrap { margin-bottom: 9px; }

.nx-hd-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #777;
  margin-bottom: 4px;
}

.nx-hd-bar {
  height: 6px;
  background: var(--nx-border);
  border-radius: 50px;
  overflow: hidden;
}

.nx-hd-bar-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--nx-primary), #42a0ff);
}

.nx-hd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.nx-hd-tag {
  background: var(--nx-light-bg);
  color: var(--nx-primary);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 50px;
  border: 1px solid rgba(16,110,234,0.15);
}

/* Overview closing CTA */
.nx-overview-cta {
  padding: 68px 0;
  background: linear-gradient(120deg, #eef4ff 0%, #f6f9fe 100%);
  border-top: 1px solid var(--nx-border);
  text-align: center;
}

.nx-overview-cta h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  margin-bottom: 12px;
}

.nx-overview-cta p {
  font-size: 16px;
  color: #666;
  max-width: 500px;
  margin: 0 auto 28px;
  line-height: 1.75;
}


/* ─────────────────────────────────────────
   17. RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 991px) {
  .nx-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nx-stat-box { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.10); }
  .nx-stat-box:nth-child(2n) { border-right: none; }
}

@media (max-width: 767px) {
  .nx-page-hero  { padding: 48px 0 40px; }
  .nx-about-section,
  .nx-products-section,
  .nx-ai-section,
  .nx-testi-section,
  .nx-awards-section,
  .nx-journey-section,
  .nx-specials-section,
  .nx-industries-section { padding: 56px 0; }
  .nx-stats-grid { grid-template-columns: 1fr 1fr; }
  .nx-feature-grid { grid-template-columns: 1fr; }
  .nx-hero-pills { gap: 8px; }
  .nx-ms-badge { bottom: -12px; right: -12px; padding: 10px 13px; }
  .nx-intro-graphic { padding: 26px 20px; }
  .nx-ig-year { font-size: 50px; }
}

@media (max-width: 480px) {
  .nx-stats-grid { grid-template-columns: 1fr; }
  .nx-stat-box { border-bottom: 1px solid rgba(255,255,255,0.10); border-right: none; }
}

/* ─────────────────────────────────────────
   MEGA MENU — force right-side opening
───────────────────────────────────────── */

