<footer class="bg-gray-800 text-white">
      <div class="max-w-7xl mx-auto py-8 px-4 sm:px-6 lg:px-8 text-center">
        <p>&copy; <?php echo date("Y"); ?> BrightEd Konsultasi Indonesia. All Rights Reserved.</p>
      </div>
    </footer>

    <script>
      document.addEventListener('DOMContentLoaded', function () {
        // Fungsi untuk Smooth Scroll
        const navLinks = document.querySelectorAll('.nav-link');
        navLinks.forEach(link => {
          link.addEventListener('click', function(e) {
            e.preventDefault();
            const targetId = this.getAttribute('data-target');
            const targetElement = document.getElementById(targetId);
            if (targetElement) {
              targetElement.scrollIntoView({ behavior: 'smooth' });
              // Tutup menu mobile jika terbuka
              mobileMenu.classList.add('hidden');
              menuOpenIcon.classList.remove('hidden');
              menuCloseIcon.classList.add('hidden');
            }
          });
        });

        // Fungsi untuk Menu Mobile (Hamburger)
        const mobileMenuButton = document.getElementById('mobile-menu-button');
        const mobileMenu = document.getElementById('mobile-menu');
        const menuOpenIcon = document.getElementById('mobile-menu-open-icon');
        const menuCloseIcon = document.getElementById('mobile-menu-close-icon');

        mobileMenuButton.addEventListener('click', function() {
          mobileMenu.classList.toggle('hidden');
          menuOpenIcon.classList.toggle('hidden');
          menuCloseIcon.classList.toggle('hidden');
        });
      });
    </script>
</body>
</html>