.hero {
  position: relative;
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  /* fallback shown while the video loads */
  background-color: #1e72d1;
  background-image:
    linear-gradient(135deg, rgba(62, 153, 220, 0.9) 0%, rgba(30, 114, 209, 0.9) 100%);

  overflow: hidden;
}

/* ---------- Background video ---------- */

.hero-video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  z-index: 0;

  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 42%,
    rgba(255, 255, 255, 0.42) 49%,
    rgba(255, 255, 255, 1) 85%,
    #fff 100%
  );
}

.hero-content {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;

  width: 100%;
  max-width: none;

  text-align: center;

  padding: 0 24px 55px;
}

.hero-content h1 {
  margin: 0;

  color: #000000;

  font-family: "geist", sans-serif;
  font-size: 53px;
  line-height: 100%;
  letter-spacing: 0px;
  font-style: normal;
  font-weight: 400;
  text-align: center;
}

.hero-content p {
  max-width: 760px;

  margin: 10px auto 20px;

  color: #000000;

  font-family: Inter, sans-serif;
  font-size: 17px;
  line-height: 120%;
  letter-spacing: 0px;
  font-style: normal;
  font-weight: 300;
  text-align: center;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 600;

  color: white;
  background: linear-gradient(135deg, #87ceeb 0%, #1e72d1 100%);

  border: none;
  border-radius: 12px;

  box-shadow: 0 8px 20px rgba(23, 80, 183, 0.35);

  padding: 14px 26px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(23, 80, 183, 0.45);
}

.hero-button svg {
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.hero-button span {
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.hero-button:hover svg {
  transform: rotate(45deg);
}

@media (max-width: 800px) {
  .hero-content {
    padding-bottom: 40px;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}