// Mobile menu toggle document.addEventListener('DOMContentLoaded', () => { const mobileMenuToggle = document.getElementById('mobileMenuToggle'); const navMenu = document.getElementById('navMenu'); if (mobileMenuToggle && navMenu) { mobileMenuToggle.addEventListener('click', () => { navMenu.classList.toggle('active'); }); // Close menu when clicking on a link const navLinks = navMenu.querySelectorAll('a'); for (const link of navLinks) { link.addEventListener('click', () => { navMenu.classList.remove('active'); }); } } });