* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
body {
  line-height: 1.6;
  background: #edf8ff;
  color: #333;
}

.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

/* side nav bar */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #fff;
  color: #004080;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.brand img {
  width: 40px;
  height: 40px;
}
.brand a {
  color: #004080;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.2px;
}

/* Desktop links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 22px;
}
.nav-links a {
  color: #004080;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: #ffd700;
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #004080;
  font-size: 1.9rem;
  cursor: pointer;
  line-height: 1;
}
.close-btn {
  display: none;
}
/* mobile overly */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .close-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    height: 100vh;
    width: 100%;
    background: #004080;
    color: #fff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 90px 28px 28px; /* space for close button */
    gap: 18px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1200;
  }
  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    color: #fff;
    width: 100%;
    font-size: 1rem;
    padding: 12px 0;
    border-bottom: 1px solid #bbb;
  }

  /* close button inside the overlay */
  .close-row {
    position: absolute;
    top: 14px;
    right: 18px;
    list-style: none;
  }
  .close-btn {
    background: none;
    border: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 30px;
    line-height: 1;
  }
  .close-btn:active {
    transform: scale(0.96);
  }
}

header {
  background: #c1d2e3;
  height: 100vh;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

header h1 {
  font-size: 2rem;
  color: #004080;
}
header p {
  opacity: 0.9;
}

@media (max-width: 768px) {
  header h1 {
    margin-top: 20%;
  }
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 40px 0;
}

h2 {
  color: #004080;
  margin-bottom: 15px;
}
p {
  margin-bottom: 20px;
  color: #444;
}

/* Sections grid */
.sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}
.section-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px 0 10px 0;
  border: 1px solid #8aa0b7;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.section-card:hover {
  transform: translateY(-6px);
}
.section-card h3 {
  margin-bottom: 10px;
}

/* Subjects */
.subjects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 50px;
}
.subject {
  background: #fff;
  padding: 15px;
  border-left: 5px solid #004080;
  border-radius: 6px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

/* Extracurricular */
.activities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}
.activity {
  background: #fff;
  padding: 20px;
  border-radius: 10% 10% 10% 0;
  border: 1px solid #004080;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.activity:hover {
  transform: scale(1.05);
}
.activity span {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

/* Unique Feature */
.unique {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 50px;
}

/* Responsive text */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.5rem;
  }
  .unique,
  .section-card,
  .subject,
  .activity {
    text-align: left;
  }
}

/* Footer */
.footer {
  background: #004080;
  color: #ddd;
  padding: 60px 20px 20px;
  /* width: 100%; */
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer-col img {
  width: 50px;
  height: 60px;
  border-radius: 8px;
}

.footer-col {
  color: #fff;
}

.footer-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #bbb;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #fff;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  text-decoration: none;
  color: #bbb;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00aaff;
}

.newsletter-form {
  display: flex;
  gap: 5px;
  margin-bottom: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px 0 0 5px;
  outline: none;
}

.newsletter-form button {
  padding: 10px 15px;
  border: none;
  background: #00aaff;
  color: #fff;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #0088cc;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  color: #bbb;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #00aaff;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 15px;
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
  .footer-col {
    text-align: left; /* Left aligned on mobile */
  }
}

/* scroll-reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.scroll-reveal.reveal {
  opacity: 1;
  transform: translateY(0);
}
