/* Reset for proper alignment */
body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  /* Ensure the body and html take full height */
}

/* Video Header Container */
.video-header {
  position: relative;
  height: 100vh;
  /* Fullscreen height */
  overflow: hidden;
}

.video-header::before {
  content: "";
  /* Creates the dark overlay */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Semi-transparent overlay */
  z-index: 0;
  /* Below content, above video */
}

/* Video Element */
#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  /* Cover width */
  min-height: 100%;
  /* Cover height */
  object-fit: cover;
  /* Maintain aspect ratio */
  z-index: -1;
  /* Behind everything */
}

/* Centered Header Content */
.header-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Center horizontally and vertically */
  text-align: center;
  color: white;
  z-index: 1;
  /* Above the overlay */
}

.header-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  /* Responsive font size for all screens */
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  /* Text contrast */
}

.header-content p {
  font-size: clamp(1rem, 3vw, 1.5rem);
  /* Responsive font size for paragraph */
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  /* Text contrast */
  color: #fff;
}

/* Button Container for Layout */
.button-container {
  display: flex;
  justify-content: center;
  /* Center buttons */
  gap: 1rem;
  /* Add spacing between buttons */
  flex-wrap: wrap;
  /* Allow wrapping on smaller screens */
}

/* Button Styling */
.button {
  background-color: #E13A3A;
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
  text-decoration: none;
  /* Remove underline */
}

/* Hover effect */
.button:hover {
  background-color: #cc0000;
  /* Slightly darker red on hover */
  transform: scale(1.05);
  /* Slightly increase size on hover */
}

/* Responsive: Mobile Fallback */
@media (max-width: 768px) {
  .button-container {
    flex-wrap: nowrap;
    /* Keep buttons side by side */
  }

  .button {
    flex: 1;
    /* Buttons take equal width */
    max-width: 48%;
    /* Prevent buttons from being too wide */
  }
}