/* Back to Top Button Fix - Additional Styles */

/* Override any conflicting styles to ensure the button is always visible */
#back-to-top {
    display: block !important;
    z-index: 9999 !important; /* Ultra-high z-index */
    opacity: 1 !important;
    visibility: visible !important;
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
}

#back-to-top.visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Make the button more noticeable with a pulsing effect */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(197, 164, 126, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(197, 164, 126, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(197, 164, 126, 0);
    }
}

#back-to-top.visible {
    animation: pulse 2s infinite;
}

/* Ensure mobile visibility */
@media (max-width: 767px) {
    #back-to-top {
        bottom: 20px !important;
        right: 20px !important;
    }
}
