/* Mobile Menu Overlay Panel */
.nav-links {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--white);
  flex-direction: column;
  padding: 20px;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

/* Class to show the menu when the button is tapped */
.nav-links.active {
  display: flex;
}

/* Style individual links inside the mobile menu */
.nav-links a {
  padding: 15px 0;
  font-size: 18px;
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

/* Style the hamburger button */
.menu-toggle {
  display: block; 
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}

/* Laptop & Desktop adjustments */
@media (min-width: 768px) {
  .menu-toggle {
    display: none; /* Hide the button on large screens */
  }
  .nav-links {
    display: flex !important; /* Always show links on large screens */
    position: static;
    flex-direction: row;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    width: auto;
  }
  .nav-links a {
    margin-right: 20px;
    padding: 0;
    border-bottom: none;
  }
}