#video-banner {
  position: relative;
  overflow: hidden;
  aspect-ratio: auto;
  max-height: 500px; 
}

.video-parent {
  width: 100%;
  position: relative;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay */
.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* Shared visibility system */
.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Play Button */
.play-btn {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

/* Content */
.video-content {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
  transition: opacity 0.4s ease;
  color: var(--white-color);
}

.video-content h2 {
  font-size: clamp(20px, 4vw, 32px);
  font-weight: 700;
}

.video-content p {
  font-size: clamp(14px, 2vw, 18px);
}

/* Mobile */
@media (max-width: 768px) {
  #video-banner {
    aspect-ratio: auto;
    padding: 10px;
  }
  .play-btn svg {
    width: 50px;
    height: 50px;
  }
  .video-content p {
    font-size: clamp(10px, 2vw, 18px);
  }
  .video-content h2{
    font-size: clamp(15px, 4vw, 32px);
  }
}