<?php
// school_admission/public/404.php
if (session_status() === PHP_SESSION_NONE) {
    session_start();
}
header("HTTP/1.0 404 Not Found"); // Send 404 header
require_once __DIR__ . '/../includes/header.php'; // Include header for consistent look
?>
<div class="container text-center">
    <h2 class="mt-20" style="color: #ff0019ff;">404 - Page Not Found</h2>
    <p>Sorry, the page you are looking for does not exist.</p>
    <p><a href="dashboard.php" class="btn btn-primary">Go to Dashboard</a></p>
</div>
<?php
require_once __DIR__ . '/../includes/footer.php'; // includes the footer from includes folder 
?>