/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

.fixed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #333;
  color: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

/* Left: Logo + School Name */
.logo-school {
  display: flex;
  align-items: center;
}

.logo-school .logo {
  width: 50px;
  height: 50px;
  border-radius: 50%; /* Round logo */
  margin-right: 10px;
}

.school-name {
  font-size: 1.2rem;
  font-weight: bold;
}

/* Middle: Menu */
nav {
  flex: 1;
  text-align: center;
}

.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.menu li {
  position: relative;
}

.menu li a {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  display: block;
}

.menu li .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #444;
  list-style: none;
  min-width: 150px;
}

.menu li .dropdown li a {
  padding: 8px 12px;
}

.menu li:hover .dropdown {
  display: block;
}

/* Right: Login + Hamburger */
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.login-btn {
  color: white;
  text-decoration: none;
  background-color: #007bff;
  padding: 8px 12px;
  border-radius: 4px;
}

/* Hamburger */
.hamburger {
  font-size: 24px;
  cursor: pointer;
  display: none; /* Hidden on desktop */
}

/* Mobile */
@media (max-width: 900px) {
  nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #333;
    display: none;
    flex-direction: column;
    text-align: center;
  }

  nav.active {
    display: flex;
  }

  .menu {
    flex-direction: column;
    gap: 0;
  }

  .menu li {
    width: 100%;
  }

  .menu li .dropdown {
    position: static;
    display: none;
    flex-direction: column;
  }

  .menu li.active .dropdown {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}
