/* =====================
   HERO VIDEO SECTION
   ===================== */
.nb-hero-video {
  background: #fff;
  padding: 40px 0 0;
  overflow: hidden;
  position: relative;
}

/* Subtle dot pattern */
.nb-hero-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.nb-hero-video .container {
  position: relative;
  z-index: 1;
}

/* Text block — centered */
.nb-hero-video__text {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.nb-hero-video__badge {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 99px;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.nb-hero-video__text h2 {
  font-size:clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: #0F172A;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.nb-hero-video__text p {
  font-size: 18px;font-weight:500;
  color:#334155;
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto;
}

/* Video wrapper */
.nb-hero-video__wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 -8px 60px rgba(99,102,241,0.12), 0 0 0 1px rgba(255,255,255,0.06);
}

.nb-hero-video__player {
  width: 100%;
  display: block;
  /* 16:9 aspect ratio */
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}

/* Play / Pause button — bottom right of video */
.nb-hero-video__toggle {
  position: absolute;
  bottom: 16px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
  z-index: 10;
}
.nb-hero-video__toggle:hover {
  background: rgba(0,0,0,0.8);
  border-color: rgba(255,255,255,0.4);
  transform: scale(1.1);
}

/* Responsive */
@media(max-width:768px) {
  .nb-hero-video        { padding: 50px 0 0; }
  .nb-hero-video__text  { margin-bottom: 32px; }
  .nb-hero-video__wrap  { border-radius: 12px 12px 0 0; }
  .nb-hero-video__player{ border-radius: 12px 12px 0 0; }
}
@media(max-width:568px) {
 .nb-hero-video{padding:30px 0 0}
}
@media(max-width:480px) {
  .nb-hero-video__text h2 { font-size: 22px; }
  .nb-hero-video__text p  { font-size: 14px; }
}
