/* Menu toggle button styles */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
}

.menu-toggle .bar {
  width: 100%;
  height: 4px;
  background-color: #0073e6;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Change to cross icon */
.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Navigation menu styles */
.nav-menu {
  display: none; /* Hidden by default */
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
  background-color: #f9f9f9;
  padding: 15px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.nav-menu a {
  text-decoration: none;
  color: #0073e6;
  font-size: 16px;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #005bb5;
}

/* Show menu when active */
.nav-menu.active {
  display: flex;
}
