html,
body {
  margin: 0;
  padding: 0;
}

.hero {
  position: relative;
  height: 50vh;
  width: 100%;
  overflow: hidden;
}

/* The video acting as a background */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0; /* was -2 */
}

/* Optional dark overlay to improve text contrast */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1; /* was -1 */
}

/* Content on top of the video */
.hero-content {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 0 1.5rem;
  z-index: 2; /* add this so text sits above overlay */
}


.hero-button {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border-radius: 999px;
  border: 1px solid #f5f5f5;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
}

.hero-button:hover {
  background: rgba(255, 255, 255, 0.15);
}
