:root {
  --primary: #083248;
  --secondary: #fab919;
  --tertiary: #8c0e0f;
  --myWhite: #f1f1f1;
  --myWhiteOpc: #f1f1f1db;
}

/* Video Background Section */
.video-background-section {
  color: var(--myWhite);
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--primary); /* Fallback if video fails to load */
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the video covers the entire container */
  z-index: 1; /* Below content */
}

.video-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(
    0,
    0,
    0,
    0.5
  ); Semi-transparent overlay for text readability */
  background-color: var(--primary);
  opacity: 0;
  z-index: 2;
}

/* Content Styles */
.content-overlay {
  position: relative;
  z-index: 3; /* Above video and overlay */
  max-width: 85%; /* Limit content width */
  padding: 20px;
  box-sizing: border-box;
  animation: fadeInScale 1.5s ease-out forwards; /* Animation for content */
  opacity: 0; /* Start hidden for animation */
  transform: scale(0.9); /* Start slightly scaled down */
}

.content-overlay h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.content-overlay p {
  font-size: 1.4em;
  margin-bottom: 30px;
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  max-width: 800px;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background-color: #007bff; /* Blue */
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #0056b3; /* Darker blue on hover */
  transform: translateY(-3px); /* Slight lift effect */
}

/* Responsive Design */
@media (max-width: 768px) {
  .content-overlay h1 {
    font-size: 2.5em;
  }

  .content-overlay p {
    font-size: 1em;
  }

  .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .content-overlay h1 {
    font-size: 2em;
  }

  .content-overlay p {
    font-size: 0.9em;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}

/* Keyframe Animations */
@keyframes fadeInScale {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
