/* ======================
   SCROLL-TO-TOP BUTTON
====================== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #0a2c3e;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.scroll-to-top.show {
  display: flex;
}

.scroll-to-top:hover {
  background-color: #6db3e8;
  color: #0a2c3e;
  animation: bounce-up 0.6s ease 1;
}

/* ======================
   BOUNCE ANIMATION
====================== */
@keyframes bounce-up {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-8px); }
  50%  { transform: translateY(-4px); }
  70%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* ============================
   MEDIA QUERIES – SCROLL BUTTON
============================ */
@media (max-width: 480px) {
  .scroll-to-top {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 20px;
    right: 20px;
  }
}