/* ===== SCROLL Index.PHP ===== */
  @keyframes bounce-vertical {
    0%, 100% { transform: translateY(-50%) translateY(0); }
    50% { transform: translateY(-50%) translateY(-8px); }
  }

  @keyframes float-up {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.3; transform: translateY(-4px); }
  }

  @keyframes float-down {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(4px); }
  }

  #scrollToggleBtn {
    display: none;
    position: fixed;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #222;
    color: #fff;
    width: 36px;
    height: 70px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.6);
    cursor: pointer;
    z-index: 9999;
    transition: background 0.3s ease, transform 0.3s ease;
    animation: bounce-vertical 2s infinite ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  #scrollToggleBtn:hover {
    background-color: #444;
    transform: translateY(-50%) scale(1.1);
    animation-play-state: paused;
  }

  #scrollToggleBtn i {
    font-size: 14px;
    line-height: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .up-arrow {
    animation: float-up 1.6s infinite ease-in-out;
  }

  .down-arrow {
    animation: float-down 1.6s infinite ease-in-out;
  }

  @media (max-width: 768px) {
    #scrollToggleBtn {
      display: none !important;
    }
  }
