/* Banner container */
.banner {
  position: relative;
  width: 100%;
  height: 60vh;   /* dynamic height based on screen */
  max-height: 600px;
  min-height: 250px;
  overflow: hidden;
}

/* Video styling */
.banner .video-container,
.banner .responsive-video {
  width: 100%;
  height: 100%;
}

.banner .responsive-video {
  object-fit: cover;  /* fills screen without distortion */
  border-radius: 8px;
}

/* Image styling */
.banner img.responsive-image {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* ensures image always fills container */
  border-radius: 8px;
  display: block;
}

/* Text inside banner (optional) */
.banner .banner-text {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-size: 2rem;
  text-align: center;
  max-width: 90%;
}

/* Tablet screens */
@media (max-width: 768px) {
  .banner {
    height: 45vh;
  }
  .banner .banner-text {
    font-size: 1.4rem;
    padding: 0.6rem 1rem;
  }
}

/* Mobile screens */
@media (max-width: 480px) {
  .banner {
    height: 35vh;
  }
  .banner .banner-text {
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
  }
}
