/* Header navigation menu */

.menu-container {
  /* background: linear-gradient(135deg, #1a2a6c, #b21f1f, #1a2a6c); */
  background: linear-gradient(135deg, rgb(32, 14, 43), rgb(25, 23, 54), rgb(39, 22, 49));
  box-shadow: 0 0 18px rgba(97, 2, 97, 0.801);
  position: relative;
  z-index: 100;
}

.menu-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, #9f08b3, #5b02af, #05b0db);
  animation: gradientShift 4s ease infinite;
  background-size: 200% 100%;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}


nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

nav li {
  flex: 1;
  text-align: center;
}

nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 18px 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

nav a:hover,
a.active:hover {
  color: #b993ff;
  /* background-color: rgba(255, 255, 255, 0.1); */
}

nav a.active {
  color: #fcefa6;
  /* background-color: rgba(255, 255, 255, 0.15); */
}

/* Animated underline effect */
nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #540666, #8c00ff, #540666, transparent);
  /* background: linear-gradient(90deg, #ffd700, #ff8c00); */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

nav a:hover::after,
nav a.active::after {
  width: 80%;
}

/* nav a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
} */



/* Hamburger Icon */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 15px;
  z-index: 999;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgb(32, 14, 43), rgb(25, 23, 54), rgb(39, 22, 49));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 1000;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
}

.mobile-menu.active {
  transform: translateY(0);
}

.menu-toggle.active {
  transform: translateY(0);
}


.mobile-menu li {
  display: flex;
  justify-content: center;
  /* centers horizontally */
  align-items: center;
  /* centers vertically */
  text-align: center;
  /* for text alignment */
  width: 100%;
  /* border: 1px solid rgb(236, 232, 232) */
}

.mobile-menu a {
  width: 80%;
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  padding: 10px 20px;
  display: block;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: #b993ff;
}

/* Hide desktop menu on mobile */
.desktop-menu {
  display: flex;
}

.menu-toggle-li {
  display: none;
}





.menu-logo {
    display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
}

.menu-logo a {
    display: flex;
  padding: 0;
  /* padding-bottom: 18px; */
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;

}
.menu-logo a::after {
  all:unset;

}
.menu-logo a:hover {
  transform: scale(1.2);
}

.menu-logo img {
  height: 40px;
  width: auto;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .menu-toggle-li {
    display: flex;
  }

  .desktop-menu {
    display: none;
  }

  .mobile-menu {
    display: flex;
  }
}


















/* Responsive behavior */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav li {
    width: 100%;
  }

  nav a {
    padding: 15px 20px;
    font-size: 13px;
  }

  .menu-container {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
}



.footer-bottom {
  max-width: 100%;
  margin: 0 auto;
  /* padding: 30px 20px; */
  text-align: center;
  color: #718096;
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: #ffffff;
  padding-top: 25px;
  padding-bottom: 25px;
  position: relative;
  overflow: hidden;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}