body {
  font-family: "Raleway", sans-serif;
  background-color: #eee;
}

.hero-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-wrap video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -1;
}

.hero-wrap .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  /* optional dark overlay */
  z-index: 0;
}

/* Responsive adjustment for very small screens */
@media screen and (max-width: 576px) {
  .hero-wrap {
    height: 80vh;
    /* Optional: reduce height on mobile */
  }

  .hero-wrap video {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
  }
}

/* 1. Makes the section take up the full screen height */
.hero-height {
  min-height: 100vh;
}

/* 2. Scroll Down Animation */
.scroll-down-container {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  cursor: pointer;
  z-index: 10;
}

/* The Mouse Shape */
.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid #fff;
  border-radius: 20px;
  margin: 0 auto 10px;
  position: relative;
}

/* The Moving Wheel inside the mouse */
.mouse-wheel {
  width: 4px;
  height: 8px;
  background-color: #fff;
  border-radius: 2px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateY(-50%);
  animation: scrollAnimation 1.5s infinite;
}

/* The Animation Keyframes */
@keyframes scrollAnimation {
  0% {
    top: 10px;
    opacity: 1;
  }

  100% {
    top: 30px;
    opacity: 0;
  }
}

/* --- 1. Layout & Positioning --- */
.hero-wrapper {
  min-height: 100vh;
  display: flex;
  position: relative;
  /* Default: Center content vertically (Desktop) */
  align-items: center;
}

/* MOBILE SPECIFIC: Override to align top */
@media (max-width: 991px) {
  .hero-wrapper {
    align-items: flex-start;
    /* Aligns content to top */
    padding-top: 120px;
    /* clear the navbar/status bar */
  }
}

/* --- 2. Scroll Icon Styling --- */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  z-index: 10;
}

/* The Arrow/Icon */
.scroll-arrow {
  font-size: 30px;
  /* Apply the animation */
  animation: fadeUpMove 2s infinite;
}

/* --- 3. Animation: Fade Down to Up --- */
@keyframes fadeUpMove {
  0% {
    transform: translateY(20px);
    /* Starts lower */
    opacity: 0;
  }

  50% {
    opacity: 1;
    /* Fully visible in middle */
  }

  100% {
    transform: translateY(-10px);
    /* Moves Up */
    opacity: 0;
  }
}
