
/* ==== HAMBURGER MENU STYLES ==== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
  z-index: 1100;
  margin-left: auto; /* Push it to the far right */
}


.menu-toggle span {
  display: block;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.4s;
}

/* Animate to X when active */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==== RESPONSIVE NAVIGATION ==== */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex; /* Show hamburger on mobile */
  }

  .nav-links {
    position: absolute;
    top: 80px; /* Height of navbar */
    left: 0;
    width: 100%;
    background-color: #001f3f;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    display: none; /* Hidden by default */
  }

  .nav-links.active {
    display: flex; /* Show nav when hamburger is active */
  }

  .nav-links a {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .contact-link {
    border: 1px solid white;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
}
