|
|
<!DOCTYPE html>
|
|
|
<html lang="en">
|
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
|
<title>Nearby Veterinary Hospitals - AgroVet</title>
|
|
|
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap" rel="stylesheet">
|
|
|
<style>
|
|
|
body {
|
|
|
background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
|
|
|
font-family: 'Poppins', sans-serif;
|
|
|
margin: 0;
|
|
|
padding: 0;
|
|
|
min-height: 100vh;
|
|
|
position: relative;
|
|
|
}
|
|
|
|
|
|
|
|
|
.floating-icon {
|
|
|
position: fixed;
|
|
|
font-size: 2.5rem;
|
|
|
opacity: 0.12;
|
|
|
animation: float 18s ease-in-out infinite;
|
|
|
}
|
|
|
@keyframes float {
|
|
|
0%, 100% { transform: translateY(0px) rotate(0deg); }
|
|
|
50% { transform: translateY(-40px) rotate(-15deg); }
|
|
|
}
|
|
|
.icon-1 { top: 12%; left: 8%; animation-delay: 0s; }
|
|
|
.icon-2 { top: 68%; left: 10%; animation-delay: 4s; }
|
|
|
.icon-3 { top: 28%; right: 12%; animation-delay: 8s; }
|
|
|
.icon-4 { bottom: 18%; right: 15%; animation-delay: 12s; }
|
|
|
.icon-5 { top: 48%; left: 45%; animation-delay: 16s; }
|
|
|
|
|
|
.container {
|
|
|
max-width: 1000px;
|
|
|
margin: 50px auto;
|
|
|
background: rgba(255, 255, 255, 0.97);
|
|
|
border-radius: 20px;
|
|
|
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
|
|
|
padding: 40px;
|
|
|
position: relative;
|
|
|
z-index: 1;
|
|
|
backdrop-filter: blur(10px);
|
|
|
}
|
|
|
|
|
|
.title-box {
|
|
|
background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
|
|
|
color: #333;
|
|
|
padding: 35px;
|
|
|
text-align: center;
|
|
|
border-radius: 15px;
|
|
|
margin-bottom: 30px;
|
|
|
box-shadow: 0 10px 30px rgba(168, 237, 234, 0.4);
|
|
|
}
|
|
|
|
|
|
.title-box h1 {
|
|
|
font-size: 2.8em;
|
|
|
margin-bottom: 15px;
|
|
|
color: #2C3E50;
|
|
|
font-weight: 700;
|
|
|
text-shadow: 2px 2px 4px rgba(255,255,255,0.5);
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
gap: 15px;
|
|
|
}
|
|
|
|
|
|
.title-box h1::before {
|
|
|
content: 'ποΈ';
|
|
|
font-size: 1.2em;
|
|
|
}
|
|
|
|
|
|
.title-box p {
|
|
|
font-size: 1.25em;
|
|
|
color: #555;
|
|
|
font-weight: 400;
|
|
|
}
|
|
|
|
|
|
.map-btn {
|
|
|
background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
|
|
|
color: #333;
|
|
|
padding: 16px 40px;
|
|
|
font-size: 1.15rem;
|
|
|
border: none;
|
|
|
border-radius: 12px;
|
|
|
cursor: pointer;
|
|
|
transition: all 0.3s ease;
|
|
|
margin-top: 25px;
|
|
|
font-weight: 700;
|
|
|
box-shadow: 0 6px 20px rgba(168, 237, 234, 0.4);
|
|
|
display: inline-flex;
|
|
|
align-items: center;
|
|
|
gap: 10px;
|
|
|
}
|
|
|
|
|
|
.map-btn::before {
|
|
|
content: 'π';
|
|
|
font-size: 1.3em;
|
|
|
}
|
|
|
|
|
|
.map-btn:hover {
|
|
|
transform: translateY(-3px);
|
|
|
box-shadow: 0 8px 25px rgba(168, 237, 234, 0.5);
|
|
|
}
|
|
|
|
|
|
iframe {
|
|
|
width: 100%;
|
|
|
height: 500px;
|
|
|
border: 0;
|
|
|
border-radius: 15px;
|
|
|
margin-top: 35px;
|
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
|
|
|
border: 3px solid #a8edea;
|
|
|
}
|
|
|
|
|
|
.footer {
|
|
|
text-align: center;
|
|
|
margin-top: 35px;
|
|
|
font-size: 15px;
|
|
|
color: #555;
|
|
|
padding: 20px;
|
|
|
background: rgba(168, 237, 234, 0.2);
|
|
|
border-radius: 10px;
|
|
|
font-weight: 500;
|
|
|
}
|
|
|
|
|
|
@media (max-width: 600px) {
|
|
|
.title-box h1 {
|
|
|
font-size: 2em;
|
|
|
}
|
|
|
|
|
|
.map-btn {
|
|
|
width: 100%;
|
|
|
}
|
|
|
|
|
|
iframe {
|
|
|
height: 350px;
|
|
|
}
|
|
|
}
|
|
|
</style>
|
|
|
</head>
|
|
|
<body>
|
|
|
|
|
|
<div class="floating-icon icon-1">π</div>
|
|
|
<div class="floating-icon icon-2">π</div>
|
|
|
<div class="floating-icon icon-3">π</div>
|
|
|
<div class="floating-icon icon-4">π</div>
|
|
|
<div class="floating-icon icon-5">π·</div>
|
|
|
|
|
|
<div class="container">
|
|
|
<div class="title-box">
|
|
|
<h1>Find Nearby Vet Hospitals</h1>
|
|
|
<p>Click the button to view veterinary hospitals near you</p>
|
|
|
</div>
|
|
|
|
|
|
<div style="text-align: center;">
|
|
|
<button class="map-btn" onclick="findVetHospitals()">Locate Vet Hospitals</button>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
<iframe
|
|
|
src="https://www.google.com/maps?q=Shimoga+Veterinary+Hospital&output=embed"
|
|
|
allowfullscreen
|
|
|
loading="lazy"
|
|
|
referrerpolicy="no-referrer-when-downgrade">
|
|
|
</iframe>
|
|
|
|
|
|
<div class="footer">Β© 2025 AgroVet Hub β All Rights Reserved</div>
|
|
|
</div>
|
|
|
|
|
|
<script>
|
|
|
function findVetHospitals() {
|
|
|
if (navigator.geolocation) {
|
|
|
navigator.geolocation.getCurrentPosition(function(position) {
|
|
|
let lat = position.coords.latitude;
|
|
|
let lng = position.coords.longitude;
|
|
|
let mapsUrl = `https://www.google.com/maps/search/Veterinary+Hospitals+shimoga/@${lat},${lng},15z`;
|
|
|
window.open(mapsUrl, '_blank');
|
|
|
}, function(error) {
|
|
|
alert('Error: Please allow location access to use this feature.');
|
|
|
});
|
|
|
} else {
|
|
|
alert('Geolocation is not supported by your browser.');
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
</body>
|
|
|
</html>
|
|
|
|