/* General hero section styles */
.hero {
  position: relative;
  height: 80vh; /* Increase height to allow more space */
  overflow: hidden;
  color: white;
  font-family: sans-serif;
}

.hero .hero-background {
  background: url('/sites/default/files/2025-07/webdrips-homepage-hero-accessibility-plus-ai-products.png') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero .hero-overlay {
  background: rgba(0, 0, 0, 0.75);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}

.hero .hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 100px; /* More space from the logo/menu */
  padding-bottom: 3rem; /* More padding below the buttons */
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-top: -180px;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  color: white;
}

.hero .button-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.hero .button-container a {
  padding: 0.75em 1.5em;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.3em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.3s ease;
  color: white !important; /* Ensure text is white by default */
}

.hero .button-container .btn-orange {
  background-color: #e49014;
}

.hero .button-container .btn-orange:hover {
  text-decoration: none !important;
  background-color: #c8780b;
}

.hero .button-container .btn-outline {
  border: 2px solid #fff;
  color: #fff;
  background-color: transparent;
}

.hero .button-container .btn-outline:hover {
  background-color: #fff;
  color: #000 !important;
  border-color: #000 !important;
  text-decoration: none !important;
}

/* Media queries for smaller screens */
@media screen and (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
    margin-top: -120px;
  }

  .hero p {
    font-size: 1rem;
    max-width: 90%;
  }

  .hero .button-container {
    flex-direction: column;
    align-items: center;
  }

  .hero .button-container a {
    width: 100%;
    justify-content: center;
    padding: 1em;
  }

  /* Change background to black on mobile */
  .hero .hero-background {
    background: #000; /* Solid black background */
    background-attachment: unset; /* Remove fixed background attachment */
    height: 60vh; /* Adjust height */
  }
}

@media screen and (max-width: 480px) {
  .hero {
    height: 70vh; /* Increase height for mobile */
  }

  .hero h1 {
    font-size: 1.5rem;
    margin-top: -100px;
  }

  /* Adjust height of hero background on very small screens */
  .hero .hero-background {
    height: 70vh; /* Adjust background height for mobile */
  }
}

/* General Video Section Styles */
.video-cta-container {
  max-width: 1104px;
  margin: -30px auto 30px;
}

.video-cta-container .video-wrapper {
  text-align: center;
}

.video-cta-container video {
  border-radius: 8px;
  overflow: hidden;
}

.cta-button-wrapper {
  display: none;
  text-align: center;
  margin-top: 1rem;
}

.cta-button-wrapper .btn-warning {
  background-color: #e49014;
  color: white;
  padding: 1rem 2rem;
  font-size: 1.25rem;
  border-radius: 0.3em;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button-wrapper .btn-warning:hover {
  background-color: #c8780b;
}

/* Media queries for smaller screens */
@media screen and (max-width: 768px) {
  /* Adjust the video wrapper */
  .video-cta-container {
    max-width: 100%;
    margin: 0 auto;
  }

  /* Ensure the cta button is displayed on mobile */
  .cta-button-wrapper {
    display: block;
  }

  /* Adjust video size for mobile */
  .video-cta-container video {
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 480px) {
  .video-cta-container {
    max-width: 100%;
    margin: 0 auto;
  }

  /* Further adjustments for very small screens */
  .cta-button-wrapper .btn-warning {
    font-size: 1rem;
    padding: 0.75em 1.5em;
  }
}

.video-cta-container .cta-button-wrapper {
  display: none;
}

