// Initialize Lucide icons
lucide.createIcons();

// Smooth scroll
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
    anchor.addEventListener('click', function (e) {
        e.preventDefault();
        const target = document.querySelector(this.getAttribute('href'));
        if (target) {
            target.scrollIntoView({ behavior: 'smooth' });
        }
    });
});

// Hover animation
document.querySelectorAll('.bg-white.shadow-lg').forEach(card => {
    card.addEventListener('mouseenter', () => {
        card.classList.add('transform', 'scale-105', 'transition', 'duration-300');
    });
    card.addEventListener('mouseleave', () => {
        card.classList.remove('transform', 'scale-105', 'transition', 'duration-300');
    });
});
