/* Bouncing Arrow Styles */
.scroll-down-arrow {
  position: absolute;
  bottom: 200px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 2;
}

.arrow {
  width: 20px;
  height: 20px;
  border: solid #333;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(45deg);
  }
  40% {
    transform: translateY(-30px) rotate(45deg);
  }
  60% {
    transform: translateY(-15px) rotate(45deg);
  }
}

/* Sticky Header */
header, #header-wrapper {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.3s ease-in-out;
}

header {
  background-color: white; /* Ensure header has a background for pages that need it */
}

header.scrolled, #header-wrapper.scrolled {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Hero Section Responsive Styles */
.hero, .fold {
  position: relative; /* This is crucial for positioning the arrow inside */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
