onVisibility);
            window.addEventListener('resize', checkButtonVisibility);
        
            backToTopButton.addEventListener('click', function () {
                window.scrollTo({
                    top: 0,
                    behavior: 'smooth' 
                });
            });
            checkButtonVisibility();
        });
        

        document.querySelectorAll('.faq-question').forEach(item => {
            item.addEventListener('click', (event) => {
                event.preven