header {
  width: 100%;
  background-color: var(--primary-bg);
  position: fixed;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  position: relative;
}


.logo {
  padding-top: 0.5rem;
  font-size: 1.6rem;
  font-family: "Tilt Neon", sans-serif;
  background-image: linear-gradient(
    45deg,
    rgb(218, 52, 19) 0%,
    #cb32d0 30%,
    rgb(247, 130, 47) 50%,
    rgb(63, 210, 26) 100%
  );
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  z-index: 99;
}



 
.navbar ul {
  display: flex;
  list-style: none;
  gap: 3px;
  margin-top: 1em;
  padding: 0 1em;
}

.navbar ul li a {
  position: relative;
  display: inline-block;
  color: white;
  padding: 8px 14px;
  text-decoration: none;
  transition: color 0.3s ease;
  overflow: hidden;
}


.navbar ul li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 70%;
  height: 6px;
  margin: 2px 0;
  border-radius: 50%;
  background-color: var(--accent-red);
  transition: transform 0.3s ease;
}

.navbar ul li a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.navbar ul li a:hover {
  opacity: 1;
}

.navbar ul li a.active {

  display: block;
  border: 1px solid rgb(184, 184, 184);
  border-radius: 4px;
}


.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary-bg);
  z-index: 2999;
  min-width: 160px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  position: relative;
  width: fit-content;
  display: inline-block;
  color: #333;
  padding: 10px 16px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
}


.dropdown-content a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 60%;
  height: 2px;
  background-color: #333;
  transition: transform 0.3s ease;
}

.dropdown-content a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

 
 
.hamburger {
  display: none;
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 1001;
  width: 38px;
  height: 38px;
  cursor: pointer;
}

.hamburger img {
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease;
}

 
@media (max-width: 750px) {
  .navbar {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
  }

  .navbar.active {
    display: flex;
  }

  .navbar ul {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
    gap: 0;
  }

  .navbar ul li {
    width: 100%;
  }

  .navbar ul li a {
    display: block;
 
    background-color: var(--primary-bg);
    border-radius: 0;
  }

  .navbar ul li a:hover {
    background-color: #4b4b4b;
    color: white;
    border-radius: 0;
    opacity: 1;
  }
  .navbar ul li a::after {
    display: none;
  }
  .dropdown-content {
    position: relative;
    width: 100%;
  }

  .dropdown-content a {
    width: 100%;
    color: white;
  }


  .dropdown-content a:hover {
    background-color: #14c926;
  }

  .hamburger {
    display: block;
  }
}