  


 .hero-jumbotron {
  height: 70vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video background */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

/* Overlay */
.hero-overlay {
  /* position: absolute;
  inset: 0;
  background: rgba(0, 56, 101, 0.65);
  z-index: 2;
    */
}

/* Foreground content */
.hero-content {
  z-index: 4;
}

/* Scrolling image */
.hero-scroll-image {
  position: absolute;
  bottom: 10%;
  height: auto;
  width: 200%;
  z-index: 3;
  animation: scroll-banner 18s linear infinite;
}

/* Animation: right → left */
@keyframes scroll-banner {
  0% {
    transform: translateX(110vw);
  }
  100% {
    transform: translateX(-190vw);
  }
}

/* Mobile fallback */
@media (max-width: 768px) {
  .hero-video {
    display: none;
  }

  .hero-scroll-image {
    max-height: 80px;
    animation-duration: 22s;
  }

  .hero-jumbotron {
    background: linear-gradient(
        rgba(0, 56, 101, 0.8),
        rgba(0, 56, 101, 0.8)
      ),
      url("https://www.uscb.edu/_resources/upload/mobile_homepage_hero_image.jpg");
    background-size: cover;
    background-position: center;
  }
}      


@media (max-width: 1100px) {
    .jumbotron {
        background-image: url('https://www.uscb.edu/_resources/upload/mobile_homepage_hero_image.jpg');
    }
}


















      
