<?php
// home.php
// This file now ONLY contains the main content HTML for the home page.
// The session starting and redirect logic has been moved to index.php.

// No session_start() or redirect logic here anymore!
?>

<div class="flex items-center justify-center min-h-screen bg-gray-50"> 
    <div class="bg-white p-8 rounded-lg shadow-xl w-full max-w-sm text-center transform transition duration-500 hover:scale-[1.02]">
        <i class="fas fa-graduation-cap text-6xl text-blue-600 mb-4"></i>
        <h1 class="text-3xl font-extrabold mb-4 text-gray-800">Welcome to the ORINSTO LMS!</h1>
        <p class="text-gray-600 mb-8 px-4">Your platform for learning, growth, and effective administration.</p>
        <div class="space-y-4">
            <a href="index.php?page=login" class="block w-full py-3 px-6 bg-blue-600 text-white font-semibold rounded-lg hover:bg-blue-700 transition duration-300 shadow-md">
                Proceed to Login
            </a>
        </div>
    </div>
</div>