    .scroll-to-top {
        position: fixed;
        bottom: 50px;
        left: 50px; 
        width: 50px;
        height: 50px;
        background: rgba(0, 0, 0, 0.5);
        color: white;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: none;
        justify-content: center;
        align-items: center;
        font-size: 24px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: opacity 0.3s ease, transform 0.3s ease;
        z-index: 9999;
    }

    .scroll-to-top:hover {
        background: rgba(0, 0, 0, 0.8);
    }

    .scroll-to-top.show {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .scroll-to-top.hide {
        opacity: 0;
        transform: translateY(20px);
    }