/* Professional Stylesheet for Sidebar Navigation (Menu Button on LEFT) */

/* Reset + Base */
*, *::before, *::after {
  box-sizing: border-box;
}
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background: #f6f8fc;
  color: #25324b;
  min-height: 100vh;
  font-size: 17px;
  line-height: 1.7;
}

/* Top Bar */
.navbar {
  background: #2563eb;
  color: white;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
.menu-btn {
  font-size: 32px;
  cursor: pointer;
  color: white;
  transition: color 0.2s;
  margin-right: 22px;
}
.menu-btn:hover {
  color: #ffe066;
}
.navbar-center {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}
.school-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 12px;
  margin-right: 16px;
  background: #fff;
  border: 2px solid #ffe066;
}
.logo-text {
  font-size: 1.5em;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
}

/* Sidebar Menu */
.side-menu {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, #2563eb 0%, #60a5fa 100%);
  overflow-x: hidden;
  transition: width 0.4s ease;
  padding-top: 70px;
  z-index: 1000;
}
.side-menu a {
  padding: 16px 32px;
  text-decoration: none;
  font-size: 1.08em;
  color: #fff;
  display: block;
  transition: background 0.2s, padding-left 0.2s;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.side-menu a:hover {
  background: #ffe066;
  color: #2563eb;
  padding-left: 52px;
  font-weight: 800;
}
.side-menu .close-btn {
  position: absolute;
  top: 18px;
  right: 26px;
  font-size: 38px;
  cursor: pointer;
  color: white;
  transition: color 0.2s;
}
.side-menu .close-btn:hover {
  color: #ffe066;
}

/* Section and Footer styling */
section {
  max-width: 750px;
  margin: 48px auto 28px auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 32px rgba(37, 99, 235, 0.11);
  padding: 44px 44px 36px 44px;
}
h2 {
  color: #2563eb;
  font-size: 2.2em;
  margin-top: 0;
  font-weight: 700;
  letter-spacing: 1px;
}
footer {
  background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
  color: #fff;
  text-align: center;
  padding: 26px 0;
  margin-top: 52px;
  font-size: 1em;
  border-top: 3px solid #ffe066;
  position: relative;
  bottom: 0;
  width: 100%;
}

/* Responsive */
@media (max-width: 900px) {
  section {
    max-width: 99vw;
    padding: 24px 10px;
  }
  .navbar .logo-text {
    font-size: 1.1em;
  }
  .school-logo {
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 600px) {
  section {
    padding: 9px 3px;
    margin: 24px auto;
  }
  .school-logo {
    width: 32px;
    height: 32px;
    margin-right: 8px;
  }
  .logo-text {
    font-size: 1em;
  }
  .menu-btn {
    font-size: 28px;
    margin-right: 8px;
  }
  .side-menu a {
    font-size: 1em;
    padding: 13px 18px;
  }
  .navbar-center {
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
  }
}

/* Accessibility: High contrast for focus */
.side-menu a:focus,
.menu-btn:focus,
.close-btn:focus {
  outline: 2.5px solid #ffe066;
  outline-offset: 2px;
}
