// Main JavaScript functionality document.addEventListener('DOMContentLoaded', function() { // Initialize Feather Icons feather.replace(); // Mobile menu toggle functionality will be handled by the header component // Smooth scrolling for anchor links document.querySelectorAll('a[href^="#"]').forEach(anchor => { anchor.addEventListener('click', function (e) { e.preventDefault(); document.querySelector(this.getAttribute('href')).scrollIntoView({ behavior: 'smooth' }); }); }); // You can add more global functionality here as needed });