/* ====== BACKGROUND IMAGE WITH RED OVERLAY ====== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #fff;
  background: url("/image/contactusb.webp") no-repeat center center fixed; /* <-- change /img/bg.jpg to your image path */
  background-size: cover;
  position: relative;
}

/* Red overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgb(164, 0, 0); /* 50% red overlay */
  z-index: -1;
}

/* ====== HEADER ====== */

header h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

/* ====== VIDEO GRID ====== */
main.video-container {
  width: min(1200px, 92vw);
  margin: 40px auto;
  display: grid;
  gap: 30px; /* more gap between */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
/* ====== VIDEO BOX ====== */
.media-box.video-box {
  background: rgb(161, 0, 0);
  border-radius: 20px;
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* Responsive video */
.media-box.video-box iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 14px;
  display: block;
}

/* ====== HOVER WHITE LIGHT EFFECT ====== */
.media-box.video-box:hover {
  transform: translateY(-6px) scale(1.02);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
}

/* ====== SMALL DEVICES ====== */
@media (max-width: 420px) {
  header h1 { font-size: 1.5rem; }
}
