// Load AOS after page load
        function loadAOS() {
            const script = document.createElement('script');
            script.src = 'https://unpkg.com/aos@2.3.1/dist/aos.js';
            script.onload = function() {
                AOS.init({
                    duration: 800,
                    easing: 'ease-in-out',
                    once: true,
                    offset: 100
                });
            };
            document.head.appendChild(script);
        }

        // Initialize AOS (Animate On Scroll)
        if (window.addEventListener) {
            window.addEventListener('load', loadAOS);
        } else {
            window.attachEvent('onload', loadAOS);
        }

        // Initialize Lucide Icons
        document.addEventListener('DOMContentLoaded', function() {
            lucide.createIcons();
            
            // Custom scroll reveal animation
            function revealOnScroll() {
                const reveals = document.querySelectorAll('.scroll-reveal');

                reveals.forEach(element => {
                    const elementTop = element.getBoundingClientRect().top;
                    const elementVisible = 150;

                    if (elementTop < window.innerHeight - elementVisible) {
                        element.classList.add('revealed');
                    }
                });
            }

            window.addEventListener('scroll', revealOnScroll);
            revealOnScroll(); // Trigger on page load
        });

        // FAQ Toggle Functionality
        function toggleFAQ(button) {
            const content = button.nextElementSibling;
            const icon = button.querySelector('.faq-icon');
            const isOpen = !content.classList.contains('hidden');

            // Close all other FAQs
            document.querySelectorAll('.faq-content').forEach(item => {
                if (item !== content) {
                    item.classList.add('hidden');
                }
            });
            document.querySelectorAll('.faq-icon').forEach(item => {
                if (item !== icon) {
                    item.setAttribute('data-lucide', 'plus');
                }
            });

            // Toggle current FAQ
            if (isOpen) {
                content.classList.add('hidden');
                icon.setAttribute('data-lucide', 'plus');
            } else {
                content.classList.remove('hidden');
                icon.setAttribute('data-lucide', 'minus');
            }

            // Reinitialize Lucide icons
            lucide.createIcons();
        }