body {
      margin: 0;
      font-family: 'Poppins', sans-serif;
      background: #f9f9f9;
      color: #333;
    }

    header {
      background: linear-gradient(135deg, #4a90e2, #50c9c3);
      color: white;
      padding: 1.5rem 3rem;
      text-align: center;
    }

    header h1 {
      margin: 0;
      font-size: 2.5rem;
      font-weight: 600;
    }

    /* Navigation */
    nav {
      display: flex;
      justify-content: center;
      gap: 2rem;
      background: #ffffff;
      padding: 1rem;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    nav ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      gap: 5rem;
    }

    nav li {
      position: relative;
    }

    nav a {
      text-decoration: none;
      color: #4a90e2;
      font-weight: 600;
      transition: color 0.3s;
    }

    nav a:hover {
      color: #50c9c3;
    }

    /* Dropdown */
    nav ul li ul {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background: #fff;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      padding: 1rem;
      border-radius: 6px;
    }

    nav ul li:hover ul {
      display: block;
    }

    nav ul li ul li {
      margin: 1rem 0;
    }

    .hero {
      background: url('school-campus.jpg') center/cover no-repeat;
      height: 400px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    }

    .hero h2 {
      font-size: 3rem;
      font-weight: 600;
    }

    .section {
      padding: 3rem;
      text-align: center;
    }

    .section h2 {
      color: #4a90e2;
      margin-bottom: 1rem;
    }

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

    .card {
      background: white;
      padding: 2rem;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      transition: transform 0.3s;
    }

    .card:hover {
      transform: translateY(-5px);
    }

    /* Principal's Message */
    .principal {
      background: #ffffff;
      padding: 3rem;
      margin: 2rem auto;
      max-width: 800px;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      text-align: left;
    }

    .principal h2 {
      color: #4a90e2;
      margin-bottom: 1rem;
    }

    .principal p {
      line-height: 1.6;
    }

    footer {
      background: #4a90e2;
      color: white;
      text-align: center;
      padding: 1rem;
      margin-top: 2rem;
    }
    .hero-slider {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
}

.hero-slider .slide.active {
  display: block;
  animation: fadeIn 1s;
}

.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caption {
  position: absolute;
  bottom: 20px;
  left: 30px;
  color: white;
  font-size: 2rem;
  font-weight: 600;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 20px;
}
@media (max-width: 600px) {
  .school-logo {
    height: 40px;
  }
}
.logo-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.school-logo {
  height: 150px;
  width: auto;
  margin-bottom: 2px;
}
table {
      margin: auto; /* centers the table */
      border-collapse: collapse;
      width: 50%;
    }
    th, td {
      border: 1px solid black;
      padding: 8px;
      text-align: center; /* centers text inside cells */
    }
    th {
      background-color: #f2f2f2;
    }