/* Mobile hero video: remove dark overlay and ensure video fills viewport */
@media (max-width: 560px) {
  /* remove heavy dark overlay on mobile so video is visible full */
  .gt-hero-2::before,
  .hero-with-video::before,
  .gt-hero-2,
  .hero-with-video {
    background: transparent !important;
  }

  /* make hero take full viewport height and remove section paddings */
  .hero-with-video,
  .gt-hero-2.hero-with-video {
    min-height: 100vh !important;
    height: 100vh !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    background: transparent !important;
  }

  /* ensure the video wrapper covers whole section */
  .hero-with-video .hero-video {
    position: absolute !important;
    inset: 0 !important;
    z-index: -2 !important;
    pointer-events: none !important;
    background: transparent !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
  }

  /* video fills the wrapper and preserves cover behavior
     Use centering + min dimensions so no black bars remain */
  .hero-with-video .hero-video__video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: auto !important;
    height: auto !important;
    min-width: 100vw !important;   /* ensure full viewport width */
    min-height: 100vh !important;  /* ensure full viewport height */
    object-fit: cover !important;
    display: block !important;
    z-index: -2 !important;
  }

  /* keep content above video and give some inner spacing for readability */
  .hero-with-video .container,
  .hero-with-video .gt-hero-content {
    position: relative !important;
    z-index: 2 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  /* Slightly lighten any overlay text-background so content stays legible */
  .gt-hero-2 .gt-hero-content {
    color: #fff !important;
    text-shadow: 0 6px 18px rgba(0,0,0,0.35) !important;
  }

  /* center content vertically & horizontally */
  .hero-with-video,
  .gt-hero-2.hero-with-video {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
  }

  .hero-with-video .container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  .hero-with-video .gt-hero-content {
    max-width: 94% !important;
    margin: 0 auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* small visual tweaks for buttons/text spacing on mobile */
  .hero-with-video .gt-hero-content h1 {
    margin-bottom: 12px !important;
    line-height: 1.06 !important;
  }
  .hero-with-video .gt-hero-content p {
    margin-bottom: 16px !important;
  }
  .hero-with-video .gt-hero-button {
    margin-top: 8px !important;
  }
}