.video-hero {
  position: relative;
  width: 100%;
  background: linear-gradient(to bottom, #ffffff 50%, #111d46 50%);
  overflow: hidden;
  margin-top: 88px;
}

.video-hero-background {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-hero .container {
  height: 100%;
  position: relative;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
}

.video-wrapper video,
.video-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.video-hero-content {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  padding-top: 6vw;
}

.content-wrapper {
  max-width: 955px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
}

.video-hero h1 {
  color: var(--white);
  margin-bottom: 32px;
  font-size: var(--font-size-48);
  line-height: 120%;
}

.video-hero .body-large {
  color: var(--white);
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.video-hero .btn-secondary {
  padding: 14px 32px;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .video-hero-content {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding-top: 0;
  }

  .video-hero .video-hero-background .container {
    padding: 0;
  }

  .video-hero h1 {
    font-size: var(--font-size-32);
    line-height: 120%;
  }

  .video-hero .body-large {
    font-size: var(--font-size-16);
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .video-wrapper {
    aspect-ratio: auto;
    height: 100%;
  }

  .video-hero-content {
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    padding: 120px 0;
  }

  .content-wrapper {
    width: 100%;
  }

  /* Adjust video container height based on content */
  .video-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}
