<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Portal</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
<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=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
  /* Base Styles */
  * { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
  }
  
  body {
            background: linear-gradient(135deg, var(--primary) 0%, #e4edf5 100%);

    font-family: "Josefin Sans", sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f7fa ;
    color: #333;
    text-align: center;
    padding: 20px;
    position: relative;
  }

  /* Container */
  .container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 480px;
    position: relative;
    overflow: hidden;
  }

  /* Decorative Elements */
  .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), #202342);
  }

  .circle-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
  }

  .circle-1 {
    width: 120px;
    height: 120px;
    background: var(--primary);
    top: -40px;
    right: -40px;
  }

  .circle-2 {
    width: 80px;
    height: 80px;
    background: var(--primary);
    bottom: -20px;
    left: -20px;
  }

  /* Logo */
  .logo-container {
    margin-bottom: 35px;
    position: relative;
  }

  .logo {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: white;
    padding: 20px;
  }

  .logo img {
    max-width: 100%;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
  }

  /* Heading */
  h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #202342;
    position: relative;
    padding-bottom: 15px;
  }

  h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #202342);
    border-radius: 2px;
  }

  /* Buttons */
  .btn {
    width: 100%;
    max-width: 280px;
    padding: 18px;
    margin: 18px auto;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
  }

  .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.5s ease;
  }

  .btn:hover::before {
    left: 100%;
  }

  .btn-staff {
    background: var(--primary);
    color: white;
  }

  .btn-staff:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(35, 134, 101, 0.3);
  }

  .btn-student {
    background: linear-gradient(135deg, #202342 0%, #171a2f 100%);
    color: white;
  }

  .btn-student:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(32, 35, 66, 0.3);
  }

  /* Footer */
  .footer {
    margin-top: 40px;
    font-size: 14px;
    color: #888;
    position: relative;
  }

  /* Animation */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .logo-container, h1, .btn-container, .footer {
    animation: fadeIn 0.8s ease forwards;
  }

  .btn-container {
    animation-delay: 0.2s;
  }

  .footer {
    animation-delay: 0.4s;
  }

  /* Responsive */
  @media (max-width: 500px) {
    .container {
      padding: 30px 20px;
    }
    
    h1 {
      font-size: 26px;
      margin-bottom: 30px;
    }
    
    .btn {
      padding: 16px;
      font-size: 16px;
      margin: 15px auto;
    }
    
    .logo {
      width: 160px;
      height: 160px;
    }
  }
</style>
</head>
<?php
include "color.php";?>

<body>
  <div class="container">
    <div class="circle-decoration circle-1"></div>
    <div class="circle-decoration circle-2"></div>
    
    <div class="logo-container">
      <div class="logo">
     <img src="logo.png" width="270px"?>
      </div>
    </div>
    
    <h1>Lanbridge College</h1>
    
    <div class="btn-container">
      <button class="btn btn-staff" onclick="location.href='staff/'">
        <i class="fas fa-user-tie"></i>
        Staff Login
      </button>
      <button class="btn btn-student" onclick="location.href='students/'">
        <i class="fas fa-graduation-cap"></i>
        Student Login
      </button>
    </div>
    
    <div class="footer">
      <p>Created by Jere.C © 2025 All rights reserved. </p>
    </div>
  </div>

  <script>
    // Add subtle animation to buttons on page load
    document.addEventListener('DOMContentLoaded', function() {
      const buttons = document.querySelectorAll('.btn');
      buttons.forEach((btn, index) => {
        btn.style.animationDelay = `${0.3 + index * 0.1}s`;
      });
    });
  </script>
</body>
</html>