Files
ukaiautomation/404.php
2025-06-07 10:53:32 +01:00

110 lines
3.4 KiB
PHP

<?php
http_response_code(404);
header('X-Content-Type-Options: nosniff');
header('X-Frame-Options: DENY');
header('X-XSS-Protection: 1; mode=block');
$page_title = "Page Not Found | UK Data Services";
$page_description = "The page you're looking for doesn't exist. Explore our data services or contact us for assistance.";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?php echo htmlspecialchars($page_title); ?></title>
<meta name="description" content="<?php echo htmlspecialchars($page_description); ?>">
<meta name="robots" content="noindex, nofollow">
<link rel="icon" type="image/x-icon" href="assets/images/favicon.ico">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/main.css">
<style>
.error-page {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
padding: 20px;
}
.error-container {
text-align: center;
max-width: 600px;
background: white;
padding: 60px 40px;
border-radius: 16px;
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}
.error-code {
font-size: 8rem;
font-weight: 700;
color: #667eea;
margin-bottom: 20px;
line-height: 1;
}
.error-title {
font-size: 2rem;
font-weight: 600;
color: #1a1a1a;
margin-bottom: 16px;
}
.error-description {
font-size: 1.1rem;
color: #666;
margin-bottom: 40px;
line-height: 1.6;
}
.error-buttons {
display: flex;
gap: 20px;
justify-content: center;
flex-wrap: wrap;
}
@media (max-width: 768px) {
.error-container {
padding: 40px 30px;
}
.error-code {
font-size: 6rem;
}
.error-title {
font-size: 1.5rem;
}
.error-buttons {
flex-direction: column;
align-items: center;
}
}
</style>
</head>
<body>
<div class="error-page">
<div class="error-container">
<div class="error-code">404</div>
<h1 class="error-title">Page Not Found</h1>
<p class="error-description">
Oops! The page you're looking for doesn't exist. It might have been moved, deleted, or you entered the wrong URL.
</p>
<div class="error-buttons">
<a href="/" class="btn btn-primary">Go Home</a>
<a href="quote.php" class="btn btn-secondary">Get Quote</a>
<a href="/#contact" class="btn btn-secondary">Contact Us</a>
</div>
</div>
</div>
</body>
</html>