/* Back to Top Button Styles */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-purple);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(138, 43, 226, 0.3);
}

.back-to-top:hover {
    background: var(--secondary-purple);
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(138, 43, 226, 0.4);
    color: var(--dark-navy);   
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Arrow Animation */
.back-to-top .arrow-up {
    animation: bounce-up 2s infinite;
}

@keyframes bounce-up {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
