/* styles.css */

/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth; /* Smooth scrolling */
    background-color: #ecf0f1; /* Light background color */
  }
  
  header {
    position: fixed;
    width: 100%;
    background: #2c3e50; /* Dark header background */
    color: #fff;
    padding: 10px 0;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  }
  
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #fff; /* White logo text */
  }
  
  .menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }
  
  .menu-toggle .bar {
    background: #fff;
    height: 3px;
    width: 25px;
    margin: 4px 0;
    transition: 0.3s;
  }
  
  .nav-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .nav-list li {
    margin: 0 8px;
  }
  
  .nav-list a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    transition: background 0.3s, color 0.3s;
  }
  
  .nav-list a:hover {
    background-color: #4862aa;
    color: #fff; /* White text on hover */
    border-radius: .4rem;
  }
  
  .hero {
    background: url('images/login.jpg') no-repeat center center/cover;
    height: auto;

    color: #fff;
    text-align: center;
    position: relative;
  }
  
  .hero-content {
    max-width: 800px;
  }
  
  .hero-content h1 {
    font-size: 3em;
    color: #fff; /* White text */
    animation: typewriter 3s steps(40, end) 1s 1 normal both;
  }
  
  .cta-button {
    background: #3498db; /* Primary color for CTA button */
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }
  
  .section {
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .container {
    max-width: 1200px;
    width: 100%;
    height: auto;
    text-align: center;
    display: flex;
    justify-content: end;
    align-items: center;
    padding-top: 8rem;
  }
  
 
  
  footer {
    background: #2c3e50; /* Dark footer background */
    color: #fff;
    text-align: center;
    padding: 20px;
  }
  
  /* Keyframe Animations */
  @keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  .fade-in {
    opacity: 0;
    animation: fadeIn 2s forwards;
  }
  
  @keyframes slideIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .slide-in {
    opacity: 0;
    animation: slideIn 0.8s forwards;
  }
  
  /* Responsive Design */
  @media (max-width:1024px) {
    .nav-list li {
        margin: 0 5px;
      }
      .logo {
        font-size: 1.5em;
        font-weight: bold;
        color: #fff; /* White logo text */
      }
  }

  @media (max-width: 768px) {
  
    .nav-list.active {
      display: flex;
    }
  
    .nav-list li {
      margin: 20px 0;
    }
  
  
    .hero-content h1 {
      font-size: 2em;
    }
  
    .cta-button {
      padding: 10px 20px;
    }
  }



  /* login form */
  
/* Form styling */
/* Login container styling */
.login-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
  }
.login-form {
    display: flex;
    flex-direction: column;
  }
  
  /* Heading styling */
  .login-form h2 {
    margin-bottom: 1rem;
    text-align: center;
    color: #2c3e50; /* Dark header background */
  }
  
  /* Label styling */
  .login-form label {
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
  }
  
  /* Input field styling */
  .login-form input {
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
  }
  
  /* Button styling */
  .login-form button {
    padding: 0.75rem;
    background-color: #2c3e50;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .login-form button:hover {
    background-color: #4862aa;
  }
  .error {
              color: red;
  }  
  