/*
  These are the custom CSS styles specifically for the navbar.
  They rely on variables and base styles defined in the original file's <style> tag.
*/
:root {
  --primary-color: #6a0dad;
  --secondary-color: #d653c9;
}

body {
  /* Added padding to prevent content from being hidden behind the fixed navbar */
  padding-top: 70px; 
}

/* Gradient background for the navbar */
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

/* Styles for navigation links */
.navbar-nav .nav-link {
  color: white !important;
  padding: 0.5rem 1rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

/* Hover effect for navigation links */
.navbar-nav .nav-link:hover {
  color: #ffcc00 !important;
}

/* Underline animation for navigation links on hover */
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #ffcc00;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
  left: 10%;
}

/* Styles for the dropdown menu */
.dropdown-menu {
  border: none;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 10px 0;
}

/* Styles for individual dropdown items */
.dropdown-item {
  padding: 8px 20px;
  transition: all 0.2s ease;
}

/* Hover effect for dropdown items */
.dropdown-item:hover {
  background-color: rgba(106, 13, 173, 0.1);
  color: var(--primary-color);
}
