/* ===  Sticky navigation bar  === */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 85px;
  overflow: hidden;
  margin-bottom: -85px;
}

/* --- Angled colour layers (SVG backgrounds from original paths) --- */
.nav-layers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Light blue — widest angled strip (cls-24: #6cc6e2) */
.nav-layer--light {
  position: absolute;
  inset: 0;
  background: url('nav-light.svg') no-repeat left top / 100% 100%;
}

/* Teal — middle layer (cls-57: #008fbf) */
.nav-layer--teal {
  position: absolute;
  inset: 0;
  background: url('nav-teal.svg') no-repeat left top / 100% 100%;
}

/* Dark blue — narrowest, full height (cls-15: #133e68) */
.nav-layer--dark {
  position: absolute;
  inset: 0;
  background: url('nav-dark.svg') no-repeat left top / 100% 100%;
}

/* --- Nav content --- */
.nav-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
  width: min(1115px, 100% - 2rem);
  margin-inline: auto;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: clamp(40px, 6vw, 65px);
  /* Responsive logo sizing */
  width: auto;
  transition: height 0.3s ease;
}

/* --- Hamburger Menu --- */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  z-index: 25;
  width: 30px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: 2px center;
}

.hamburger.active span:first-child {
  transform: rotate(45deg);
  width: 32px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  width: 32px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
  margin-right: 300px;
  align-items: center;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s;
}

.nav-links a:hover {
  color: #a2ecfc;
}

@media (max-width: 1024px) {
  .nav-links {
    margin-right: 2rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: #133e68;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 30px;
    margin: 0;
    transition: right 0.3s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 24;
  }

  .nav-links.active {
    right: 0;
  }
}