File size: 832 Bytes
3dbb5a4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
document.addEventListener('DOMContentLoaded', () => {
    // Add any interactive elements here
    const cards = document.querySelectorAll('.bg-white');
    
    cards.forEach(card => {
        card.addEventListener('mouseenter', () => {
            card.querySelector('h3').classList.add('text-primary-600');
        });
        
        card.addEventListener('mouseleave', () => {
            card.querySelector('h3').classList.remove('text-primary-600');
        });
    });
    
    // Smooth scroll for any anchor links
    document.querySelectorAll('a[href^="#"]').forEach(anchor => {
        anchor.addEventListener('click', function (e) {
            e.preventDefault();
            document.querySelector(this.getAttribute('href')).scrollIntoView({
                behavior: 'smooth'
            });
        });
    });
});