.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  font-size: small;
  z-index: 1000;
  background-color: #0952a5; /* or var(--primary) */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Hide mobile menu by default */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

/* Hamburger menu (shown only on mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  background: #fff;
  height: 3px;
  width: 25px;
  margin: 4px 0;
  transition: 0.3s;
}

/* Mobile behavior */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%; /* directly below navbar */
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    background-color: #002b5c;
    max-height: 0;             /* hidden by default */
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }

  .nav-links.show {
    max-height: 300px; /* show menu on toggle */
  }

  .hamburger {
    display: flex; /* show hamburger */
  }
}

