<?php
session_start();
require_once '../db.php'; 

// Check if user is logged in
if (!isset($_SESSION['Mid'])) {
    header("Location: login.php");
    exit();
}
$name = pathinfo($_SERVER['PHP_SELF'], PATHINFO_FILENAME);
?>
<!DOCTYPE html>
<html>
<head>
    <title><?php echo htmlspecialchars($name); ?></title>
         <link rel="icon" href="../images/Icon.png">
    <style type="text/css" media="screen">
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 10px;
}

p {
    margin-bottom: 10px;
}

ul {
    margin-bottom: 10px;
}

    </style>
    
<script src="../CSS/tailwindcss.css"></script>
</head>
<body>
    <div>
        <?php 
include '../includes/navbar.php';
         ?>
    <div class="container">
        <h1>About Loan Approval System</h1>
        <p class="text-gray-700">
            The Loan Approval System is a dedicated platform working towards the betterment of our lending process. We strive to address application reviews, promote financial access, and foster secure transactions. Through automation and clear protocols, we aim to create a fast and reliable service for all our clients.
        </p>

        <h2 class="mt-8">Our Mission</h2>
        <p class="text-gray-700">
            Our mission is to enhance the efficiency of our lending process by implementing consistent decision practices, organizing application workflows, and advocating for responsible financial growth. We believe in fostering partnerships with clients and regulators to create a strong sense of trust and security.
        </p>

        <h2 class="mt-8">Our Values</h2>
        <ul class="list-disc list-inside text-gray-700">
            <li>Financial Access</li>
            <li>Integrity and Security</li>
            <li>Responsibility</li>
            <li>Consistency</li>
            <li>Transparency</li>
            <li>Accountability</li>
        </ul>
    </div>
    </div>
</body>
</html>
