/* Navigation styling */
nav {
  background-color: #ffffff;
  padding: 16px 24px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  position: sticky; /* sticky nav */
  top: 0;
  z-index: 1000;
}

/* Desktop menu */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 0;
  padding: 0;
}

/* Menu links */
.nav-menu li a {
  text-decoration: none;
  color: #007BFF;
  font-weight: 600;
  display: block;
  padding: 8px 12px;
}

/* Hover effect */
.nav-menu li a:hover {
  color: #0056b3;
}

/* Mobile menu toggle button */
.menu-toggle {
  display: none; /* hidden on desktop */
  cursor: pointer;
  background: none;
  border: none;
  font-size: 24px;
  color: #007BFF;
}

/* Mobile menu (hidden by default) */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 10px 24px;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Show mobile menu when active */
.mobile-menu.active {
  display: flex;
}

/* Responsive rules */
@media (max-width: 768px) {
  /* Hide desktop menu on mobile */
  .nav-menu {
    display: none;
  }

  /* Show mobile menu toggle button */
  .menu-toggle {
    display: inline-block;
  }
}
