html {
  scroll-behavior: smooth;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon-wrapper img {
  transition: transform 0.3s ease;
}

.icon-wrapper:hover img {
  transform: translateY(-4px) scale(1.2);
}

.icon-wrapper span {
  margin-top: 0.25rem;
  font-size: 0.875rem; /* text-sm */
  text-align: center;
}
@keyframes bounce {
  0%   { transform: translateY(0); }
  10%  { transform: translateY(-40px); }
  20%  { transform: translateY(0); }
  30%  { transform: translateY(-30px); }
  40%  { transform: translateY(0); }
  50%  { transform: translateY(-20px); }
  60%  { transform: translateY(0); }
  70%  { transform: translateY(-10px); }
  80%  { transform: translateY(0); }
  90%  { transform: translateY(-5px); }
  100% { transform: translateY(0); }

}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.scroll-arrow {
  opacity: 0;
  animation:
    fadeIn 1s ease 1s forwards,   /* fade in after 1s */
    bounce  ease-out 5s 1;      /* bounce once */
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 10rem;   /* increased size */
  height: 10rem;
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scroll-arrow:hover {
  background-color: #f3f4f6; /* Tailwind's gray-100 */
}

.scroll-arrow svg {
  width: 8rem; /* make icon bigger */
  height: 8rem;
}

