/* Department Dropdown Styles */
.navbar-nav .dropdown-menu {
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 15px 0;
  margin-top: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  min-width: 200px;
}

.navbar-nav .dropdown-item {
  color: #fff;
  padding: 12px 25px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  position: relative;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.1)
  );
  color: #fff;
  border-left: 3px solid #fff;
  transform: translateX(8px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.navbar-nav .dropdown-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: rgba(255, 255, 255, 0.1);
  transition: width 0.3s ease;
  z-index: -1;
}

.navbar-nav .dropdown-item:hover::before {
  width: 100%;
}

.navbar-nav .dropdown-toggle {
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .dropdown-toggle::after {
  margin-left: 8px;
  vertical-align: middle;
  transition: transform 0.3s ease;
  border-top: 0.4em solid;
  border-right: 0.3em solid transparent;
  border-left: 0.3em solid transparent;
}

.navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.navbar-nav .dropdown-toggle:hover {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Footer Department Links Styles */
.footer .departments-list a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  padding: 5px 0;
}

.footer .departments-list a:hover {
  color: var(--bs-primary);
  transform: translateX(5px);
}

.footer .departments-list li {
  margin-bottom: 5px;
}
