ve('opacity-100');
            // Wait for transition to finish before hiding
            setTimeout(function() {
                mobileMenu.classList.add('hidden');
            }, 300);
        }
    });
    
</script>