

.hamburger {
  display: none;
  cursor: pointer;
  color: white;
  font-size: 1.5rem;
}

.menu {
  display: none;
  flex-direction: column;
  width: 100%;
  list-style: none;
  padding: 0;
}

  .menu.active {
  display: flex;
}



.menu li {
  margin: 0.5rem 0;
}

.menu a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.menu a:hover {
  color: #3498db;
}



/* === Mobile: Enhanced Responsiveness === */
@media only screen and (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .hamburger {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #2c3e50;
    padding: 1rem;
  }

  .menu.active {
    display: flex !important;
  }

  .menu li {
    margin: 0.5rem 0;
  }
}



/* Mobile Menu Styles */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 9999;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

/* Prevent body scroll when menu is open */
body.menu-open,
body[style*="overflow: hidden"] {
    overflow: hidden !important;
}

/* Mobile menu button styles */
.mobile-menu-btn {
    cursor: pointer;
}

.mobile-menu-close {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 24px;
    padding: 10px;
}

/* Mobile Menu Display Fix */
.mobile-menu {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 9999;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block !important;
}

.mobile-menu-btn {
    cursor: pointer;
}

.mobile-menu-close {
    cursor: pointer;
}


