-->
// PWA Installation
// Check if PWA is already installed
// PWA is already installed
// Listen for the beforeinstallprompt event
// Prevent the mini-infobar from appearing on mobile
// Stash the event so it can be triggered later
// Show the install button
// Handle install button click
// PWA install prompt not available
// Hide the install button
// Show the install prompt
// Wait for the user to respond to the prompt
// Update button state
// Show the button again
// Clear the deferredPrompt
// Listen for the app to be installed
// Update button state
// Show success message
// Show manual installation instructions
// Show modal with instructions
// Show success message
// Simple modal function
// Check PWA status on page load
// Hide install button initially if PWA prompt is not available
// installButton.style.display = 'none';
// Intersection Observer for fade-in animations
// Observe all fade-in sections
// Smooth scrolling for anchor links