/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(11, 60, 93, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.35s ease, box-shadow 0.25s ease;
}

/* Shadow appears after scroll */
.navbar.scrolled {
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}


.nav-container {
  max-width: 1100px;
  margin: auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
  transition: all 0.25s ease-in-out;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.nav-links li a:hover {
  color: #ff2d20;
}

/* Mobile */
.menu-toggle {
  display: none;
  font-size: 26px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 56px;
    left: 0;
    width: 100%;

    background: rgba(11, 60, 93, 0.95);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    flex-direction: column;
    align-items: center;

    padding: 6px 0;   /* tighter */
    display: none;
  }

  /* 🔥 KEY FIX: remove li padding */
  .nav-links li {
    padding: 6px 0;
    width: 100%;
    text-align: center;
  }

  .nav-links li a {
    display: block;
    padding: 10px 0;  /* single source of spacing */
    font-size: 16px;
    line-height: 1.4;
  }

  .nav-links.show {
    display: flex;
  }
}
@media (max-width: 768px) {
  .nav-links li:not(:last-child) a {
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
}
