/* ══ HERO ══ */
.ns-hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  font-family: 'Outfit', sans-serif;
}

/* ── BACKGROUND LAYERS ── */
#ns-bg,
#ns-bg-next {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: nsZoom 18s ease-in-out infinite alternate;
  transition: opacity 0.8s ease;
  will-change: opacity, transform;
  pointer-events: none;
}

#ns-bg {
  z-index: 0;
  opacity: 1;
}

#ns-bg-next {
  z-index: 1;
  opacity: 0;
}

@keyframes nsZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0);  }
}

/* ── OVERLAY & GRID ── */
.ns-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(4,9,26,0.93) 0%, rgba(4,18,50,0.75) 45%, rgba(8,115,234,0.12) 100%);
  z-index: 2;
}

.ns-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  z-index: 2;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1400 900' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='g' width='80' height='80' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 80 0 L 0 0 0 80' fill='none' stroke='white' stroke-width='0.5'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23g)'/%3E%3C/svg%3E");
}

/* ── LAYOUT ── */
.ns-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 0 0;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  min-height: 100vh;
}

/* ── LEFT CONTENT ── */
.ns-left {
  position: relative;
  min-height: 400px;
}

.ns-slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  pointer-events: none;
  will-change: opacity, transform;
}

.ns-slide-content.ns-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* ── EYEBROW ── */
.ns-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.ns-eyebrow-line {
  width: 40px;
  height: 1px;
  background: #0873EA;
  flex-shrink: 0;
}

.ns-eyebrow-text {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #0873EA;
  font-weight: 600;
}

/* ── TITLE ── */
.ns-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 300;
  line-height: 0.95;
  color: #ffffff;
  margin: 0 0 10px;
}

.ns-title em {
  font-style: italic;
  color: #2d8fff;
  display: block;
}

.ns-title .ns-outline {
  -webkit-text-stroke: 1px rgba(255,255,255,0.35);
  color: transparent;
  display: block;
}

/* ── SUBTITLE ── */
.ns-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  font-weight: 300;
  max-width: 500px;
  margin: 32px 0 48px;
  border-left: 2px solid #0873EA;
  padding-left: 20px;
}

/* ── BUTTON ── */
.ns-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0873EA;
  color: #ffffff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 36px;
  transition: background 0.3s ease;
  width: fit-content;
}

.ns-btn:hover {
  background: #2d8fff;
  color: #ffffff;
}

.ns-btn svg {
  transition: transform 0.3s ease;
}

.ns-btn:hover svg {
  transform: translateX(4px);
}

/* ── RIGHT PANEL ── */
.ns-panel {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 40px;
}

.ns-panel-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0873EA;
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* ── THUMBS ── */
.ns-thumbs {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
}

.ns-thumb {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
  /* Replaced "all" with specific properties */
  transition: background 0.25s ease;
}

.ns-thumb:last-child {
  border-bottom: none;
}

.ns-thumb-num {
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  font-weight: 600;
  letter-spacing: 0.1em;
  min-width: 20px;
  transition: color 0.25s ease;
}

.ns-thumb-img {
  width: 56px;
  height: 40px;
  overflow: hidden;
  flex-shrink: 0;
}

.ns-thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(60%);
  transition: filter 0.3s ease;
  will-change: filter;
}

.ns-thumb-info {
  flex: 1;
}

.ns-thumb-name {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  transition: color 0.25s ease;
  margin-bottom: 2px;
}

.ns-thumb-cat {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ns-thumb-arrow {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease, border-color 0.25s ease;
}

.ns-thumb:hover .ns-thumb-num,
.ns-thumb.ns-active .ns-thumb-num {
  color: #0873EA;
}

.ns-thumb:hover .ns-thumb-name,
.ns-thumb.ns-active .ns-thumb-name {
  color: #ffffff;
}

.ns-thumb:hover .ns-thumb-img img,
.ns-thumb.ns-active .ns-thumb-img img {
  filter: grayscale(0%);
}

.ns-thumb:hover .ns-thumb-arrow,
.ns-thumb.ns-active .ns-thumb-arrow {
  opacity: 1;
  border-color: rgba(8,115,234,0.4);
}

/* ── STATS ── */
.ns-stats {
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
}

.ns-stat {
  flex: 1;
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.ns-stat:last-child {
  border-right: none;
}

.ns-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
}

.ns-stat-label {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}

/* ── SCROLL INDICATOR ── */
.ns-scroll-ind {
  position: absolute;
  bottom: 40px;
  left: 60px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ns-scroll-line {
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}

.ns-scroll-line::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: #0873EA;
  animation: nsScrollAnim 2s ease infinite;
}

@keyframes nsScrollAnim {
  0%   { left: -100%; }
  100% { left: 100%;  }
}

.ns-scroll-text {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

/* ── PROGRESS BAR ── */
.slide-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.08);
  z-index: 10;
}

.progress-fill {
  height: 100%;
  background: #0873EA;
  width: 0%;
  will-change: width;
}

/* ── RESPONSIVE ── */
@media (max-width: 1366px) {
  .ns-hero {
    min-height: 90vh;
  }
  .ns-inner {
    padding: 100px 20px 60px;
    gap: 40px;
    grid-template-columns: 1fr 360px;
  }
  .ns-title {
    font-size: clamp(50px, 6vw, 80px);
  }

}

@media (max-width: 1024px) {
  .ns-hero { min-height: 85vh; }
  .ns-inner {
    grid-template-columns: 1fr;
    padding: 120px 20px 60px;
    min-height: 85vh;
  }
  .ns-right { display: none; }
  .ns-scroll-ind { left: 20px; }
}

@media (max-width: 768px) {
  .ns-hero { min-height: 75vh; }
  .ns-inner {
    padding: 100px 20px 60px;
    min-height: 75vh;
  }
  .ns-left { min-height: 320px; }
  .ns-scroll-ind { left: 20px; }
  .ns-title { font-size: clamp(40px, 10vw, 64px); }
}

@media (max-width: 480px) {
  .ns-hero { min-height: 70vh; }
  .ns-inner {
    padding: 90px 20px 50px;
    min-height: 70vh;
  }
  .ns-left { min-height: 280px; }
  .ns-scroll-ind { left: 20px; bottom: 20px; }
  .ns-title { font-size: clamp(34px, 10vw, 52px); }
  .ns-subtitle { font-size: 13px; margin: 20px 0 32px; }
  .ns-btn { padding: 13px 24px; font-size: 10px; }
}