/* ============================================
   NovaNext — Precision Authority Theme
   Brand: Nova #0D1153 · Next #4CAE25
   ============================================ */

/* --- Custom Properties --- */
:root {
  --nn-navy: #0D1153;
  --nn-navy-deep: #080d3e;
  --nn-navy-mid: #151b6b;
  --nn-navy-light: #1e2880;
  --nn-accent: #4CAE25;
  --nn-accent-hover: #3f9420;
  --nn-accent-glow: rgba(76, 174, 37, 0.15);
  --nn-accent-soft: rgba(76, 174, 37, 0.08);
  --nn-white: #ffffff;
  --nn-off-white: #f4f6f9;
  --nn-light-gray: #e2e6ed;
  --nn-text: #1a1e2e;
  --nn-text-muted: #5b6478;
  --nn-text-light: #cdd2de;
  --nn-success: #4CAE25;
  --nn-danger: #e5393b;
  --nn-radius: 8px;
  --nn-radius-lg: 14px;
  --nn-radius-xl: 28px;
  --nn-shadow-sm: 0 1px 3px rgba(13, 17, 83, 0.06);
  --nn-shadow: 0 4px 12px rgba(13, 17, 83, 0.08);
  --nn-shadow-lg: 0 8px 30px rgba(13, 17, 83, 0.12);
  --nn-shadow-xl: 0 24px 60px rgba(13, 17, 83, 0.22);
  --nn-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Typography: Outfit (display) + Plus Jakarta Sans (body) --- */
/* --- Global reset: prevent horizontal overflow --- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--nn-text);
  line-height: 1.65;
  margin: 0;
  background: var(--nn-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  color: var(--nn-navy);
}

h1 { font-size: 3rem; letter-spacing: -0.025em; }
h2 { font-size: 2.15rem; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; letter-spacing: -0.01em; }
h4 { font-size: 1.25rem; }

/* Bootstrap's .lead is weight 300, so <strong>'s "bolder" (400) looks unchanged */
.lead strong { font-weight: 700; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
}

/* --- Top Bar --- */
.nn-topbar {
  background: var(--nn-navy);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--nn-text-light);
}

.nn-topbar a {
  color: var(--nn-text-light);
  text-decoration: none;
  transition: color var(--nn-transition);
}

.nn-topbar a:hover {
  color: var(--nn-accent);
}

.nn-lang-switch {
  display: flex;
  gap: 0.25rem;
}

.nn-lang-switch a {
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.nn-lang-switch a.active {
  background: var(--nn-accent);
  color: var(--nn-white);
}

/* --- Navigation --- */
.nn-nav {
  background-color: var(--nn-navy);
  border-bottom: 3px solid var(--nn-accent);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--nn-shadow-sm);
}

.navbar {
  background-color: var(--nn-navy);
}

.nn-nav .navbar-brand {
  padding: 0;
}

.nn-logo-img {
  height: auto;
  max-height: 60px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transition: transform var(--nn-transition);
}

.nn-nav .navbar-brand:hover .nn-logo-img {
  transform: scale(1.03);
}
@media (max-width: 576px) {
  .nn-nav .navbar-brand {
    min-width: 0;
  }

  .nn-logo-img {
    max-height: 56px;
    max-width: 180px;
  }
}

.nn-nav .nav-link {
  color: var(--nn-white) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1rem !important;
  position: relative;
  letter-spacing: 0.01em;
  transition: color var(--nn-transition);
}

.nn-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background: var(--nn-accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nn-nav .nav-link:hover {
  color: var(--nn-accent) !important;
}

.nn-nav .nav-link:hover::after,
.nn-nav .nav-link.active::after {
  transform: scaleX(1);
}

.nn-nav-cta {
  background: var(--nn-accent) !important;
  color: var(--nn-white) !important;
  border-radius: 999px !important;
  padding: 0.6rem 1.4rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  transition: all var(--nn-transition) !important;
  box-shadow: 0 2px 8px rgba(76, 174, 37, 0.3);
}

.nn-nav-cta:hover {
  background: var(--nn-accent-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(76, 174, 37, 0.4) !important;
}

.nn-nav-cta::after {
  display: none !important;
}

/* --- Hero Section --- */
.nn-hero {
  background:
    radial-gradient(60% 80% at 92% 8%, rgba(76, 174, 37, 0.16) 0%, transparent 60%),
    linear-gradient(145deg, var(--nn-navy-deep) 0%, var(--nn-navy) 45%, var(--nn-navy-mid) 100%);
  color: var(--nn-white);
  padding: 5rem 0 7.5rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Rising arrows echo the logo mark */
.nn-hero-arrows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.nn-hero-arrows path {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: nn-draw 2.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.nn-hero-arrows .a1 { stroke: rgba(76, 174, 37, 0.55); stroke-width: 3; }
.nn-hero-arrows .a2 { stroke: rgba(255, 255, 255, 0.14); stroke-width: 2; animation-delay: 0.5s; }
.nn-hero-arrows .a3 { stroke: rgba(76, 174, 37, 0.25); stroke-width: 2; animation-delay: 0.8s; }

@keyframes nn-draw { to { stroke-dashoffset: 0; } }

.nn-hero h1 {
  color: var(--nn-white);
  font-size: clamp(2.25rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 640px;
  overflow-wrap: break-word;
}

.nn-hero h1::before {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: var(--nn-accent);
  margin-bottom: 1.5rem;
}

.nn-hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  line-height: 1.7;
}

.nn-hero-media {
  position: relative;
  padding: 0 0 2.5rem 2.5rem;
}

.nn-hero-media-main {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--nn-radius-xl) var(--nn-radius-xl) 96px var(--nn-radius-xl);
  box-shadow: var(--nn-shadow-xl);
}

.nn-hero-media::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  right: -1rem;
  width: 42%;
  height: 46%;
  border-radius: var(--nn-radius-xl);
  background: var(--nn-accent);
  opacity: 0.9;
  z-index: -1;
}

.nn-hero-media-sm {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--nn-radius-lg);
  border: 5px solid var(--nn-white);
  box-shadow: var(--nn-shadow-lg);
}

.nn-hero-badge {
  position: absolute;
  right: 1rem;
  bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 250px;
  padding: 0.75rem 1rem;
  background: var(--nn-white);
  color: var(--nn-navy);
  border-radius: var(--nn-radius-lg);
  box-shadow: var(--nn-shadow-lg);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
}

.nn-hero-badge i {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--nn-accent);
  color: var(--nn-white);
}

@media (max-width: 991.98px) {
  .nn-hero { padding: 3.5rem 0 6rem; }
  .nn-hero-media { padding-left: 1.25rem; margin-top: 1rem; }
}

@media (max-width: 575.98px) {
  .nn-hero-media-sm { width: 36%; bottom: 4.5rem; }
  .nn-hero-badge { position: static; margin-top: 1rem; max-width: none; }
  .nn-hero-media { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .nn-hero-arrows path { animation: none; stroke-dashoffset: 0; }
}

/* --- Buttons --- */
.btn-nn-primary {
  background: var(--nn-accent);
  color: var(--nn-white);
  border: 2px solid transparent;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  letter-spacing: 0.01em;
  transition: all var(--nn-transition);
  box-shadow: 0 2px 8px rgba(76, 174, 37, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  max-width: 100%;
  line-height: 1.2;
}

.btn-nn-primary:hover {
  background: var(--nn-accent-hover);
  color: var(--nn-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 174, 37, 0.35);
}

.btn-nn-outline {
  background: transparent;
  color: var(--nn-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  letter-spacing: 0.01em;
  transition: all var(--nn-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  max-width: 100%;
  line-height: 1.2;
}

.btn-nn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--nn-white);
  color: var(--nn-white);
}

/* Outline variant for light backgrounds (e.g. confirmation pages) */
.btn-nn-outline-dark {
  background: transparent;
  color: var(--nn-navy);
  border: 2px solid var(--nn-navy);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  letter-spacing: 0.01em;
  transition: all var(--nn-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  max-width: 100%;
  line-height: 1.2;
}

.btn-nn-outline-dark:hover {
  background: var(--nn-navy);
  border-color: var(--nn-navy);
  color: var(--nn-white);
}

.btn-nn-navy {
  background: var(--nn-navy);
  color: var(--nn-white);
  border: 2px solid transparent;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  letter-spacing: 0.01em;
  transition: all var(--nn-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  max-width: 100%;
  line-height: 1.2;
}

.btn-nn-navy:hover {
  background: var(--nn-navy-mid);
  color: var(--nn-white);
  transform: translateY(-1px);
}

/* --- Trust Block (floating card) --- */
.nn-trust {
  position: relative;
  z-index: 3;
  margin-top: -3.25rem;
  padding: 0 0 1rem;
  background: none;
}

.nn-trust-card {
  background: var(--nn-white);
  border: 1px solid var(--nn-light-gray);
  border-radius: var(--nn-radius-lg);
  box-shadow: var(--nn-shadow-lg);
  padding: 1.5rem 1.25rem;
}

.nn-trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--nn-navy);
}

.nn-trust-check {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--nn-accent-soft);
  color: var(--nn-accent-hover);
  font-size: 1.1rem;
  font-weight: 800;
}

@media (max-width: 768px) {
  .nn-trust { margin-top: -2.5rem; }
  .nn-trust-card { padding: 1rem; }
}

/* --- Section Spacing --- */
.nn-section {
  padding: 5rem 0;
}

.nn-section-alt {
  background: var(--nn-off-white);
}

.nn-section-dark {
  background: var(--nn-navy);
  color: var(--nn-white);
}

.nn-section-dark h2,
.nn-section-dark h3 {
  color: var(--nn-white);
}

.nn-section-title {
  margin-bottom: 1rem;
  position: relative;
}

.nn-section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--nn-accent);
  margin-top: 0.75rem;
}
.nn-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--nn-white);
  border: 1px solid var(--nn-light-gray);
  border-radius: var(--nn-radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  text-decoration: none;
  color: var(--nn-navy);
  transition: transform var(--nn-transition), box-shadow var(--nn-transition), border-color var(--nn-transition);
  height: 100%;
  min-width: 0;
  overflow: hidden;
}

.nn-tile:hover,
.nn-tile:focus-visible {
  border-color: transparent;
  box-shadow: var(--nn-shadow-lg);
  transform: translateY(-6px);
  color: var(--nn-navy);
}

.nn-tile-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: var(--nn-off-white);
  transition: background var(--nn-transition);
}

.nn-tile:hover .nn-tile-icon { background: var(--nn-accent); }
.nn-tile:hover .nn-tile-icon img { filter: brightness(0) invert(1); }

.nn-tile-icon img {
  max-height: 46px;
  max-width: 46px;
  width: auto;
  object-fit: contain;
}

.nn-tile h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  font-size: 1.05rem;
  margin-bottom: 0;
  overflow-wrap: break-word;
  hyphens: manual;
}

.nn-tile h3::after {
  content: '\2192';
  color: var(--nn-accent);
  font-weight: 700;
  transition: transform var(--nn-transition);
}

.nn-tile:hover h3::after { transform: translateX(4px); }

@media (max-width: 768px) {
  .nn-tile { padding: 1.25rem 1rem; gap: 0.9rem; }
  .nn-tile-icon { width: 60px; height: 60px; border-radius: 16px; }
  .nn-tile h3 { font-size: 0.95rem; }
}

/* --- Cards --- */
.nn-card {
  background: var(--nn-white);
  border: 1px solid var(--nn-light-gray);
  border-radius: var(--nn-radius-lg);
  padding: 2rem;
  transition: box-shadow var(--nn-transition);
}

.nn-card:hover {
  box-shadow: var(--nn-shadow);
}

/* --- Steps (numbered) --- */
.nn-steps {
  counter-reset: step;
}

.nn-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.nn-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--nn-accent);
  color: var(--nn-white);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
}

/* --- Advantages grid --- */
.nn-adv-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--nn-white);
  border: 1px solid var(--nn-light-gray);
  border-radius: var(--nn-radius);
  font-weight: 600;
  transition: all var(--nn-transition);
}

.nn-adv-item:hover {
  border-color: var(--nn-accent);
  box-shadow: var(--nn-shadow-sm);
}

.nn-adv-icon {
  font-size: 1.25rem;
  color: var(--nn-success);
}

/* --- Why choose us list --- */
.nn-why-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--nn-radius-lg);
  transition: background var(--nn-transition), transform var(--nn-transition);
}

.nn-why-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.nn-why-item::before {
  content: '\2713';
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--nn-accent);
  color: var(--nn-white);
  font-weight: 800;
  font-size: 0.9rem;
}

.nn-section-dark {
  background:
    radial-gradient(50% 70% at 100% 0%, rgba(76, 174, 37, 0.14) 0%, transparent 60%),
    linear-gradient(145deg, var(--nn-navy-deep) 0%, var(--nn-navy) 55%, var(--nn-navy-mid) 100%);
}

.nn-section-dark p { color: rgba(255, 255, 255, 0.82); }
.nn-section-dark .nn-text-navy { color: var(--nn-white); }

.nn-photo-frame {
  position: relative;
  padding: 0 1.5rem 1.5rem 0;
}

.nn-photo-frame::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 70%;
  height: 70%;
  border-radius: var(--nn-radius-xl);
  background: var(--nn-accent);
}

.nn-photo-frame img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--nn-radius-xl);
  box-shadow: var(--nn-shadow-lg);
}

/* --- Training Category Block --- */
.nn-cat-block {
  margin-bottom: 2.5rem;
}

.nn-cat-block h3 {
  border-left: 4px solid var(--nn-accent);
  padding-left: 1rem;
  margin-bottom: 0.75rem;
}

.nn-cat-items {
  color: #2f7a17;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* --- Training Detail Quick Info --- */
.nn-quick-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
  background: var(--nn-off-white);
  border-radius: var(--nn-radius-lg);
  margin-bottom: 2rem;
}

.nn-quick-info-item {
  text-align: center;
}

.nn-quick-info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nn-text-muted);
  font-weight: 700;
}

.nn-quick-info-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--nn-navy);
  margin-top: 0.25rem;
}

/* --- Open Trainings Table --- */
.nn-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.nn-table thead th {
  background: var(--nn-navy);
  color: var(--nn-white);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.875rem 1rem;
}

.nn-table thead th:first-child {
  border-radius: var(--nn-radius) 0 0 0;
}

.nn-table thead th:last-child {
  border-radius: 0 var(--nn-radius) 0 0;
}

.nn-table tbody td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--nn-light-gray);
  font-size: 0.95rem;
}

.nn-table tbody tr:hover {
  background: var(--nn-accent-glow);
}

.nn-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 var(--nn-radius);
}

.nn-table tbody tr:last-child td:last-child {
  border-radius: 0 0 var(--nn-radius) 0;
}

/* --- Breadcrumb --- */
.nn-breadcrumb {
  padding: 1rem 0;
  font-size: 0.85rem;
}

.nn-breadcrumb a {
  color: var(--nn-text-muted);
  text-decoration: none;
}

.nn-breadcrumb a:hover {
  color: var(--nn-accent);
}

.nn-breadcrumb .separator {
  color: var(--nn-light-gray);
  margin: 0 0.5rem;
}

/* --- Footer --- */
.nn-footer {
  background: var(--nn-navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 0;
}

.nn-footer h5 {
  color: var(--nn-white);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.nn-footer a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--nn-transition);
  font-size: 0.9rem;
}

.nn-footer a:hover {
  color: var(--nn-accent);
}

.nn-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nn-footer-links li {
  margin-bottom: 0.5rem;
}

.nn-footer-tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}
.nn-footer-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: min(220px, 55vw);
  object-fit: contain;
}


.nn-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  margin-top: 3rem;
  font-size: 0.85rem;
}

@media (max-width: 575.98px) {
  .nn-footer-bottom,
  .nn-footer-bottom > div {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.75rem !important;
  }

  .nn-footer-bottom .nn-footer-logo {
    height: 36px;
    max-width: min(180px, 48vw);
  }
}

.nn-footer-sapico a {
  color: var(--nn-accent);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--nn-transition);
}

.nn-footer-sapico a:hover {
  color: var(--nn-white);
}

/* --- Cookie Consent --- */
.nn-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--nn-navy);
  color: var(--nn-white);
  padding: 1rem 0;
  z-index: 9999;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.nn-cookie-banner.show {
  transform: translateY(0);
}

/* --- Sector Card --- */
.nn-sector-card {
  border-left: 4px solid var(--nn-accent);
  padding: 1.5rem;
  background: var(--nn-white);
  border-radius: 0 var(--nn-radius-lg) var(--nn-radius-lg) 0;
  margin-bottom: 1.5rem;
  transition: box-shadow var(--nn-transition);
}

.nn-sector-card:hover {
  box-shadow: var(--nn-shadow);
}

/* --- Knowledge Article Card --- */
.nn-article-card {
  display: block;
  background: var(--nn-white);
  border: 1px solid var(--nn-light-gray);
  border-radius: var(--nn-radius-lg);
  padding: 1.75rem;
  text-decoration: none;
  color: var(--nn-text);
  transition: all 0.3s ease;
}

.nn-article-card:hover {
  border-color: var(--nn-accent);
  box-shadow: var(--nn-shadow);
  color: var(--nn-text);
  transform: translateY(-2px);
}

.nn-article-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
  transition: color var(--nn-transition);
}

.nn-article-card:hover h3 {
  color: var(--nn-accent);
}

/* --- Testimonial --- */
.nn-testimonial {
  position: relative;
  padding: 2rem;
  background: var(--nn-white);
  border-radius: var(--nn-radius-lg);
  box-shadow: var(--nn-shadow-sm);
}

.nn-testimonial::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--nn-accent);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.3;
}

/* --- Training Content Sections --- */
.nn-content-section {
  margin-bottom: 2.5rem;
}

.nn-content-section h3 {
  font-size: 1.2rem;
  color: var(--nn-navy);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--nn-light-gray);
}

/* --- Page Header (inner pages) --- */
.nn-page-header {
  background:
    radial-gradient(45% 120% at 96% 0%, rgba(76, 174, 37, 0.18) 0%, transparent 60%),
    linear-gradient(145deg, var(--nn-navy-deep) 0%, var(--nn-navy) 50%, var(--nn-navy-mid) 100%);
  overflow: hidden;
  color: var(--nn-white);
  padding: 3.5rem 0;
  position: relative;
}

.nn-page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--nn-accent) 0%, transparent 60%);
}

.nn-page-header h1 {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--nn-white);
  margin-bottom: 0.5rem;
}

.nn-page-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* --- Spots Badge --- */
.nn-spots-available {
  color: var(--nn-success);
  font-weight: 600;
}

.nn-spots-full {
  color: var(--nn-danger);
  font-weight: 600;
}

/* --- Form Styling --- */
.nn-form .form-control {
  border: 2px solid var(--nn-light-gray);
  border-radius: var(--nn-radius);
  padding: 0.65rem 1rem;
  transition: border-color var(--nn-transition), box-shadow var(--nn-transition);
}

.nn-form .form-control:focus {
  border-color: var(--nn-accent);
  box-shadow: 0 0 0 3px var(--nn-accent-glow);
}

.nn-form .form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--nn-navy);
}

.nn-form .form-check-input:checked {
  background-color: var(--nn-accent);
  border-color: var(--nn-accent);
}

.nn-form .form-check-input:focus {
  border-color: var(--nn-accent);
  box-shadow: 0 0 0 3px var(--nn-accent-glow);
}

.form-label.required::after {
  content: " *";
  color: var(--nn-danger);
}

/* --- Animation: fade-in on scroll --- */
.nn-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.nn-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Utility --- */
.nn-text-accent { color: var(--nn-accent); }
.nn-bg-accent { background-color: var(--nn-accent); }
.nn-text-navy { color: var(--nn-navy); }

/* --- Responsive navbar toggler --- */
.nn-nav .navbar-toggler {
  border-color: var(--nn-light-gray);
}

.nn-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- Focus states (accessibility) --- */
.btn:focus-visible,
.form-control:focus-visible,
a:focus-visible {
  outline: 2px solid var(--nn-accent);
  outline-offset: 2px;
}

/* --- Image Carousel --- */
.nn-carousel {
  width: 100%;
}

.nn-carousel .carousel-inner {
  width: 100%;
}

.nn-carousel .carousel-item img {
  height: auto;
  max-height: 80vh;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .nn-carousel .carousel-item img {
    height: auto;
    max-height: 50vh;
  }
}

.nn-carousel .carousel-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.35), transparent);
  pointer-events: none;
}

/* --- 5-Column Category Grid (Homepage) --- */
.nn-categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1200px) {
  .nn-categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nn-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .nn-categories-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Category Navigation Sidebar (Trainings page) --- */
.nn-cat-nav-link:hover,
.nn-cat-nav-link:focus {
  background: var(--nn-accent-glow);
  color: var(--nn-accent) !important;
}

/* --- Category Intro Text --- */
.nn-cat-intro {
  color: var(--nn-text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* --- Sub-category Block --- */
.nn-subcat-block {
  margin-left: 1.5rem;
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--nn-accent);
}

.nn-subcat-block h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--nn-navy);
  margin-bottom: 0.5rem;
}

.nn-cat-block > h3,
.nn-subcat-block > h4 {
  color: var(--nn-accent);
}

/* ============================================
   Conversion layout: two doors (enroll / contact)
   ============================================ */

/* Hero: phone line under the two actions */
.nn-hero-call {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
  margin: 1.75rem 0 0;
  font-size: 0.95rem !important;
  color: rgba(255, 255, 255, 0.78) !important;
}

.nn-hero-call a {
  color: var(--nn-white);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--nn-transition);
}

.nn-hero-call a:hover { text-decoration-color: var(--nn-accent); }

/* Next open sessions: floats over the hero edge */
.nn-sessions {
  position: relative;
  z-index: 3;
  margin-top: -4rem;
  padding-bottom: 1rem;
}

.nn-sessions-card {
  background: var(--nn-white);
  border: 1px solid var(--nn-light-gray);
  border-radius: var(--nn-radius-lg);
  box-shadow: var(--nn-shadow-lg);
  padding: 1.5rem 1.75rem 0.5rem;
}

.nn-sessions-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: 0.75rem;
}

.nn-sessions-head h2 {
  font-size: 1.35rem;
  margin: 0;
}

.nn-link-arrow {
  color: var(--nn-navy);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--nn-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.nn-link-arrow::after {
  content: ' \2192';
  color: var(--nn-accent-hover);
  display: inline-block;
  transition: transform var(--nn-transition);
}

.nn-link-arrow:hover { color: var(--nn-navy); }
.nn-link-arrow:hover::after { transform: translateX(4px); }

.nn-sessions-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nn-session-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 9rem auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--nn-light-gray);
}

.nn-session-date {
  display: grid;
  place-items: center;
  width: 3.75rem;
  padding: 0.5rem 0 0.4rem;
  border-radius: var(--nn-radius);
  background: var(--nn-navy);
  color: var(--nn-white);
  line-height: 1;
}

.nn-session-date .d {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
}

.nn-session-date .m {
  margin-top: 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nn-accent);
}

.nn-session-main { min-width: 0; }

.nn-session-title {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--nn-navy);
  text-decoration: none;
}

.nn-session-title:hover { text-decoration: underline; text-underline-offset: 3px; }

.nn-session-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--nn-text-muted);
}

.nn-session-seats {
  font-size: 0.875rem;
  color: var(--nn-text-muted);
  white-space: nowrap;
}

.nn-session-seats strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  color: var(--nn-navy);
}

.nn-session-full { font-weight: 700; color: var(--nn-danger); }

.nn-session-cta {
  min-width: 9rem;
  font-size: 1rem !important;
  padding: 0.55rem 1rem;
}

@media (max-width: 767.98px) {
  .nn-sessions { margin-top: -2.5rem; }
  .nn-sessions-card { padding: 1.25rem 1rem 0.25rem; }
  .nn-session-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem 1rem;
  }
  .nn-session-seats { grid-column: 2; }
  .nn-session-cta { grid-column: 1 / -1; width: 100%; }
}

/* Trust strip under the sessions card */
.nn-trust-flat { margin-top: 0; padding: 2.5rem 0 0; }
.nn-trust-flat .nn-trust-card {
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

/* Two ways to start */
.nn-paths { background: var(--nn-off-white); margin-top: 2.5rem; }

.nn-path {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2.25rem;
  border-radius: var(--nn-radius-lg);
  background: var(--nn-white);
  border: 1px solid var(--nn-light-gray);
}

.nn-path h3 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.nn-path p { color: var(--nn-text-muted); max-width: 46ch; }
.nn-path .btn { align-self: flex-start; margin-top: auto !important; }
.nn-path p, .nn-path-steps { margin-bottom: 1.75rem; }

.nn-path-icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--nn-accent-soft);
  color: var(--nn-accent-hover);
  font-size: 1.5rem;
}

.nn-path-company {
  background: linear-gradient(150deg, var(--nn-navy-deep) 0%, var(--nn-navy) 60%, var(--nn-navy-mid) 100%);
  border-color: var(--nn-navy);
  box-shadow: var(--nn-shadow-lg);
}

.nn-path-company h3 { color: var(--nn-white); }
.nn-path-company p { color: rgba(255, 255, 255, 0.82); }
.nn-path-company .nn-path-icon { background: rgba(76, 174, 37, 0.2); color: var(--nn-accent); }

.nn-path-steps {
  margin: 0.25rem 0 0;
  padding-left: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.nn-path-steps li { padding: 0.15rem 0 0.15rem 0.25rem; }
.nn-path-steps li::marker { color: var(--nn-accent); font-weight: 800; }

/* Contact band (replaces the old green quote strip) */
.nn-contact-band {
  padding: 4.5rem 0;
  background: var(--nn-off-white);
  border-top: 1px solid var(--nn-light-gray);
}

.nn-contact-band h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); max-width: 22ch; }
.nn-contact-band p { color: var(--nn-text-muted); font-size: 1.1rem; max-width: 46ch; margin-bottom: 1.75rem; }

.nn-contact-people {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.nn-contact-people li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  background: var(--nn-white);
  border: 1px solid var(--nn-light-gray);
  border-radius: var(--nn-radius-lg);
  transition: box-shadow var(--nn-transition), border-color var(--nn-transition);
}

.nn-contact-people li:hover { box-shadow: var(--nn-shadow); border-color: var(--nn-accent); }

.nn-contact-people i {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--nn-accent-soft);
  color: var(--nn-accent-hover);
}

.nn-contact-people a {
  flex: 1;
  color: var(--nn-navy);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.nn-contact-people a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Link inside inner page headers */
.nn-header-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--nn-white);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--nn-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.nn-header-link::after { content: ' \2192'; color: var(--nn-accent); }
.nn-header-link:hover { color: var(--nn-white); }

/* Mobile: two persistent actions */
.nn-sticky-actions { display: none; }

@media (max-width: 991.98px) {
  body.has-sticky-actions { padding-bottom: 4.5rem; }
  .nn-sticky-actions {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 1030;
    display: flex;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
    background: var(--nn-white);
    border-top: 1px solid var(--nn-light-gray);
    box-shadow: 0 -6px 20px rgba(13, 17, 83, 0.1);
  }
  .nn-sticky-actions .btn {
    flex: 1;
    min-width: 0;
    padding: 0.65rem 0.5rem;
    font-size: 1rem !important;
  }
}

/* Open trainings table becomes stacked cards on phones */
@media (max-width: 767.98px) {
  .nn-table, .nn-table tbody, .nn-table tr, .nn-table td { display: block; width: 100%; }
  .nn-table thead { display: none; }
  .nn-table tbody tr {
    margin-bottom: 1rem;
    border: 1px solid var(--nn-light-gray);
    border-radius: var(--nn-radius-lg);
    background: var(--nn-white);
    box-shadow: var(--nn-shadow-sm);
    overflow: hidden;
  }
  .nn-table tbody td, .nn-table tbody tr:last-child td:first-child, .nn-table tbody tr:last-child td:last-child {
    border-radius: 0;
    border-bottom: 1px solid var(--nn-light-gray);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    text-align: right;
  }
  .nn-table tbody td::before {
    content: attr(data-label);
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--nn-text-muted);
    text-align: left;
  }
  .nn-table tbody td:first-child { display: block; text-align: left; background: var(--nn-off-white); }
  .nn-table tbody td:first-child::before { display: none; }
  .nn-table tbody td.nn-row-actions { border-bottom: 0; justify-content: stretch; gap: 0.5rem; }
  .nn-table tbody td.nn-row-actions::before { display: none; }
  .nn-table tbody td.nn-row-actions .btn { flex: 1; min-width: 0; margin: 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
  .nn-link-arrow::after { transition: none; }
}


/* In-company page: practical workplace training */
.nn-company-hero {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--nn-off-white);
}

.nn-company-hero-grid {
  display: grid;
  min-height: 31rem;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.nn-company-copy {
  max-width: 35rem;
}

.nn-company-copy h1 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
  color: var(--nn-navy);
  font-size: clamp(2.35rem, 4.5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.nn-company-copy p {
  max-width: 48ch;
  margin-bottom: 1.75rem;
  color: var(--nn-text-muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.nn-company-copy .btn {
  white-space: nowrap;
}

.nn-company-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--nn-radius-lg);
  background: var(--nn-navy);
  box-shadow: var(--nn-shadow-lg);
}

.nn-company-photo img {
  display: block;
  width: 100%;
  height: clamp(360px, 35vw, 480px);
  object-fit: cover;
}

.nn-company-photo::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(0deg, rgba(8, 13, 62, 0.78), transparent);
  content: '';
  pointer-events: none;
}

.nn-company-photo span {
  position: absolute;
  z-index: 1;
  right: 1.5rem;
  bottom: 1.35rem;
  left: 1.5rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--nn-radius);
  background: rgba(8, 13, 62, 0.82);
  color: var(--nn-white);
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.nn-company-benefits {
  border-bottom: 1px solid var(--nn-light-gray);
  background: var(--nn-white);
}

.nn-company-benefits ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 1.5rem 0;
  list-style: none;
}

.nn-company-benefits li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--nn-navy);
  font-size: 1rem;
  font-weight: 700;
}

.nn-company-benefits li i {
  flex: 0 0 auto;
  color: var(--nn-accent-hover);
  font-size: 1.2rem;
}

.nn-company-process {
  padding-top: clamp(3.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(3.5rem, 5vw, 4.5rem);
}


.nn-company-process-intro {
  max-width: 54rem;
  margin-bottom: 2rem;
}

.nn-company-process-intro h2 {
  max-width: 24ch;
  margin-bottom: 0.75rem;
  color: var(--nn-navy);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
}


.nn-company-process-intro p {
  max-width: 65ch;
  margin: 0;
  color: var(--nn-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.nn-company-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  counter-reset: company-step;
}

.nn-company-steps li {
  position: relative;
  min-height: 98px;
  padding: 0 2rem 0 0;
  counter-increment: company-step;
}


.nn-company-steps li:not(:last-child)::after {
  position: absolute;
  top: 17px;
  right: 1.75rem;
  left: 52px;
  height: 2px;
  background: var(--nn-light-gray);
  content: '';
}

.nn-company-step-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--nn-navy);
  color: var(--nn-white);
  font-weight: 800;
}

.nn-company-step-mark::before {
  content: counter(company-step, decimal-leading-zero);
}

.nn-company-steps p {
  max-width: 20ch;
  margin: 0;
  color: var(--nn-text);
  font-weight: 700;
  line-height: 1.5;
}

.nn-company-secondary-photo {
  max-width: 800px;
  margin: 0 0 0 auto;
  overflow: hidden;
  border-radius: var(--nn-radius-lg);
  background: var(--nn-off-white);
}

.nn-company-secondary-photo img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center 43%;
}

.nn-company-process-cta {
  display: flex;
  justify-content: center;
  padding-top: 3rem;
}

@media (min-width: 992px) {
  .nn-company-process-intro {
    max-width: 50rem;
    margin-bottom: 1.75rem;
  }

  .nn-company-steps {
    max-width: 920px;
  }
}

@media (max-width: 991.98px) {
  .nn-company-steps {
    margin-bottom: 2rem;
  }
}

@media (max-width: 991.98px) {
  .nn-company-steps {
    margin-bottom: 1.75rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .nn-company-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.25rem;
  }

  .nn-company-steps li {
    min-height: 84px;
  }

  .nn-company-steps li:nth-child(2)::after {
    display: none;
  }
}



@media (max-width: 767.98px) {
  .nn-company-benefits ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.25rem 0;
  }

  .nn-company-steps {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 1.75rem;
  }

  .nn-company-process-intro h2 {
    font-size: clamp(1.65rem, 6vw, 2rem);
  }

  .nn-company-process-intro p {
    font-size: 0.95rem;
  }

  .nn-company-steps li {
    padding: 0 0 1.25rem;
  }

  .nn-company-steps li:not(:last-child)::after {
    top: 36px;
    bottom: 0;
    left: 17px;
    width: 2px;
    height: auto;
    background: var(--nn-light-gray);
  }

  .nn-company-step-mark {
    grid-row: 1;
    margin-bottom: 0;
  }


  .nn-company-steps p {
    align-self: center;
    padding: 0.4rem 0;
  }

  .nn-company-secondary-photo img {
    max-height: 310px;
  }
}

@media (max-width: 479.98px) {
  .nn-company-benefits ul {
    grid-template-columns: 1fr;
  }

  .nn-company-photo img {
    height: 310px;
  }

  .nn-company-photo span {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }

  .nn-company-process-cta .btn {
    width: 100%;
  }
}
