/* -------------------------------------------------- */
/*             NEURO MAIN NAVBAR STYLE                */
/* -------------------------------------------------- */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  backdrop-filter: blur(16px);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(to right, #00c6ff, #7d2ae8, #ff6f61, #00ffa3);
  border-image-slice: 1;
  z-index: 999;
  transition: all 0.4s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

/* Navbar container */
.navbar-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 46px;
  transition: transform 0.4s ease, filter 0.3s ease;
}
.logo:hover .logo-img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px #00ffa3);
}

/* Menu items */
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
  transition: all 0.3s ease;
}

.nav-menu li a {
  color: #0b1f52;
  text-decoration: none;
  font-weight: 500;
  font-size: 16.5px;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
  letter-spacing: 0.3px;
}

/* Hover + active glow */
.nav-menu li a:hover,
.nav-menu li a.active {
  /* color: #00ffa3; */
  transform: translateY(-2px);
}
.nav-menu li a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 1.3px;
  background: linear-gradient(90deg, #00c6ff, #7d2ae8, #ff6f61, #00ffa3);
  transition: width 0.4s ease;
  border-radius: 4px;
}
.nav-menu li a:hover::after,
.nav-menu li a.active::after {
  width: 100%;
}

/* Hamburger icon */
.menu-icon {
  display: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.menu-icon:hover {
  transform: rotate(90deg);
}

/* ---------------------------------- */
/*           Mobile Menu              */
/* ---------------------------------- */
@media (max-width: 950px) {
  .menu-icon {
    display: block;
    color: #0b1f52;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 72px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    background: rgb(17, 17, 17);
    backdrop-filter: blur(18px);
    border-top: 2px solid #7d2ae8;
    transition: right 0.4s ease-in-out;
  }

  .nav-menu.show {
    right: 0;
  }

  .nav-menu li a {
    font-size: 18px;
    color: #eaeaea;
  }

  .nav-menu li a:hover {
    color: #00ffa3;
  }
}

/* ---------------------------------- */
/*     Navbar Scroll Enhancement      */
/* ---------------------------------- */
.navbar.scrolled {
  background: rgba(10, 10, 25, 0.9);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(0);
}
