﻿/* ----- Basic Reset & Font ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f9f9f9;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  /* ----- Navbar ----- */
  header {
    background: #ffffff;
    color: #010510;
  }
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
  }
  .navbar .logo {
    font-weight: bold;
    font-size: 1.25rem;
  }
  .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-top: 0px;
    margin-left: 400px;

  }
  .nav-links li {
    margin-left: 1.5rem;
  }
  .nav-links a {
    color: #010510;
    text-decoration: none;
    font-weight: 500;
  }
  .nav-links a.active {
    text-decoration: underline;
  }
  .nav-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
  }
  
  
  /* ----- About Hero ----- */
  .about-hero {
    padding-top: var(--header-height);
    min-height: 50vh;
    background: url('../../static/image/hero_background.jpg') no-repeat center/cover;
    color: white;
    text-align: center;
    position: relative;
    margin-top: 140px;
  }

  .about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 35, 71, 0.9), rgba(0, 51, 102, 0.85));
  }
  
  .about-hero h1,
  .about-hero p {
    position: relative;
    z-index: 2;
  }
  
  .about-hero h1 {
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .about-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  }
  
  /* ----- About Content ----- */
  .about-content {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #444;
    text-align: justify; /* Justifies the text */
    margin: 20px; /* Adds some spacing around the paragraph */
    width: 95%; /* Restricts width for better visualization */
  }
  
  /* ----- Mission & Vision ----- */
  .mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
  }
  
  .mission, .vision {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .mission-vision h2 {
    color: #0f1c94;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 2px solid #003366;
    padding-bottom: 0.5rem;
  }
  
  .mission-vision p {
    line-height: 1.8;
    color: #444;
    text-align: left;
    text-align: justify;
  }
  
  /* ----- Footer Adjustments ----- */
  main {
    flex: 1;
    margin-bottom: 0;
    padding-bottom: 2rem;
  }
  
  footer {
    margin-top: auto;
    background-color: #333;
    padding: 40px 0 0 0;
  }
  
  /* ----- Responsive Styles ----- */
  @media (max-width: 768px) {
    .nav-links {
      position: absolute;
      top: 60px;
      right: 0;
      background: #003366;
      width: 200px;
      height: 0;
      overflow: hidden;
      flex-direction: column;
      transition: 0.3s ease;
    }
    .nav-links.open {
      height: auto;
      padding: 1rem 0;
    }
    .nav-links li {
      margin: 0.5rem 0;
      text-align: center;
    }
    .nav-toggle {
      display: block;
    }
    .mission-vision {
      gap: 20px;
      margin: 20px auto;
    }
  
    .about-hero {
      padding-top: var(--header-height-mobile);
      min-height: 40vh;
      margin-top: 92px;
    }
  
    .about-hero h1 {
      font-size: 2.2rem;
    }
  
    .about-hero p {
      font-size: 1.1rem;
    }
  }
  
  /* Footer Styles */
  footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
    width: 100%;
    text-align: center;
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 100px;
  }
  
  .footer-section {
    flex: 0 1 auto;
    min-width: 300px;
    padding: 0 20px;
    text-align: left;
  }
  
  .footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
  }
  
  .footer-section p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.5;
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #555;
  }

  .team-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
  }

  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
  }

  @media (max-width: 480px) {
    .about-hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* Adjust the last value (0.5) for darkness level */
    }
    
    .about-hero {
      min-height: 50vh;
      padding: 2rem 1rem;
      margin-top: 220px;
      text-align: center;
    }
  } 

  @media (max-width: 768px) and (min-width: 480px) {
    .team-section {
      padding: 40px 20px;
    }

    .team-grid {
      gap: 20px;
    }
  }

  
