/* Glowing Effect */
.glow {
  transition: box-shadow 0.5s ease-in-out;
  /* Add smooth transition for the glowing effect */
}

.glow:hover {
  box-shadow: 0 0 15px rgba(0, 0, 255, 0.5);
  /* Define the glowing effect properties */
}

/* Underline Effect */
.underline-link {
  text-decoration: none;
  /* Remove default underline */
  color: #333;
  /* Set text color */
  border-bottom: 1px solid transparent;
  /* Initially hide the underline */
  transition: border-bottom 0.1s ease-in-out;
  /* Add smooth transition for the underline effect */
}

/* Define the underline effect on hover */
.underline-link:hover {
  border-bottom: 3px solid #007bff;
  /* Define the underline effect properties */
}




/* Underline Effect Creative */
.underline-effect {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: var(--secondary-color);
  /* Change color as per your design */
  transition: color 0.3s ease;
}

.underline-effect::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary-color);
  /* Change color as per your design */
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out;
}

.underline-effect:hover {
  color: var(--primary-color);
  /* Change color as per your design */
}

.underline-effect:hover::before {
  visibility: visible;
  transform: scaleX(1);
}

/* Hovers */
.secondary-hover {
  transition: .3s;
}

.secondary-hover:hover {
  color: var(--secondary-color) !important;
}

/* Navigation Bar */
.brand-name {
    padding: 2px;
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(90deg, #00d4ff, #050c9c, #ff00f7);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: gradientMove 5s ease infinite;
  text-transform: uppercase;
  display: inline-block;
  letter-spacing: 1px;
  transition: all .1s ease;
}

.brand-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.05px;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #00d4ff, #050c9c, #ff00f7);
  transition: width .4s ease;
  border-radius: 2px;
}


.brand-name:hover {
  font-weight: 900;
  transform: scale(1.05);
  letter-spacing: 1.5px;
}

.brand-name:hover::after {
  width: 100%;
}

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

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

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

}












/* Reset default nav-link color */
.navbar-nav .nav-link {
  position: relative;
  font-weight: 600;
  color: #333 !important;
  padding: 8px 14px;
  transition: all 0.3s ease;
}

/* Hover underline and bold */
.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
  font-weight: bold;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  height: 2px;
  width: 0%;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Active (selected) nav item style */
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary-color), #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  transform: scale(1.2);
}

/* Animated underline for active */
.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 10%;
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 10px;
  animation: underlineExpand 0.4s ease-out forwards;
}

/* Animation */
@keyframes underlineExpand {
  from {
    width: 0%;
    left: 50%;
  }

  to {
    width: 80%;
    left: 10%;
  }
}


/* Login button using primary color */
.login-btn {
  background-color: var(--primary-color);
  border: none;
  font-weight: 600;
  padding: 8px 22px;
  color: white !important;
  transition: 0.3s ease;
  box-shadow: 0 2px 8px rgba(5, 12, 156, 0.3);
}

.login-btn:hover {
  background-color: #00d4ff;
  color: var(--primary-color) !important;
  box-shadow: 0 4px 14px rgba(0, 212, 255, 0.5);
}