/* Minimal custom tweaks on top of Bootstrap */
.video-wrap video { width: 100%; max-width: 980px; border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,.10); }
.card-hover { transition: transform .08s ease, box-shadow .08s ease; }
.card-hover:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0,0,0,.10); }
.badge-soft { font-weight: 600; }

/* Module cards */
.module-card { position: relative; overflow: hidden; }
.module-lock-overlay{
  position:absolute; inset:0;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(2px);
  display:flex; align-items:center; justify-content:center;
  text-align:center; padding: 16px;
}
.module-lock-overlay .lock-bubble{
  background: white;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  max-width: 260px;
}
.module-icon{
  width: 40px; height: 40px;
  border-radius: 12px;
  display:inline-flex; align-items:center; justify-content:center;
  background: rgba(13,110,253,.12);
}

/* Timeline / stepper */
.stepper{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.step{
  display:flex; align-items:center; gap:8px;
  padding:8px 10px;
  border:1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  background: white;
}
.step .dot{
  width: 10px; height: 10px; border-radius: 999px;
  background: #adb5bd;
}
.step.passed .dot{ background:#198754; }
.step.current .dot{ background:#0d6efd; }
.step.locked .dot{ background:#6c757d; }
.step .label{ font-size: .875rem; color:#495057; }


/* --- UI WOW additions --- */
:root{
  --nis2-grad-1: #0d6efd;
  --nis2-grad-2: #20c997;
  --nis2-card-radius: 18px;
}
.page-hero{
  border-radius: calc(var(--nis2-card-radius) + 6px);
  padding: 1.25rem 1.25rem;
  background: radial-gradient(1200px 400px at 0% 0%, rgba(13,110,253,.28), transparent 60%),
              radial-gradient(1200px 400px at 100% 0%, rgba(32,201,151,.22), transparent 60%),
              linear-gradient(135deg, rgba(13,110,253,.10), rgba(32,201,151,.08));
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.badge-soft{
  background: rgba(13,110,253,.10);
  color: #0d6efd;
  border: 1px solid rgba(13,110,253,.20);
}
.kpi-card{
  border-radius: var(--nis2-card-radius);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
  transition: transform .12s ease, box-shadow .12s ease;
}
.kpi-card:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}
.module-card{
  border-radius: var(--nis2-card-radius);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
  transition: transform .12s ease, box-shadow .12s ease;
  overflow: hidden;
  position: relative;
}
.module-card:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}
.lock-overlay{
  position:absolute; inset:0;
  background: rgba(0,0,0,.55);
  color: #fff;
  display:flex; align-items:center; justify-content:center;
  text-align:center;
  padding: 1rem;
}
.timeline{
  display:flex; gap:.75rem; align-items:center;
  flex-wrap: wrap;
}
.timeline .t-item{
  display:flex; align-items:center; gap:.5rem;
  padding: .5rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.8);
}
.timeline .dot{
  width: 12px; height: 12px; border-radius: 50%;
  background: #adb5bd;
}
.timeline .t-item.done .dot{ background: #198754; }
.timeline .t-item.current .dot{ background: #0d6efd; }
.timeline .t-item.locked .dot{ background: #6c757d; }
.timeline .t-item.done{ border-color: rgba(25,135,84,.30); }
.timeline .t-item.current{ border-color: rgba(13,110,253,.30); background: rgba(13,110,253,.06); }
.timeline .t-item.locked{ background: rgba(108,117,125,.08); }
.small-muted{ color: rgba(33,37,41,.7); }
