// Function to initialize geolocation
// Show loading message when requesting location
// Success callback for geolocation
// Use Google Maps API to get the country name from latitude and longitude
// Find the country from the address components
// Error callback for geolocation
// Function to request location again if denied
getLocation(); // Re-attempt fetching the location
// Initialize location fetching on page load