/* ===== Desktop Dropdown Menu ===== */
.nav-dropdown {
  position: relative;
  white-space: nowrap;
}
.nav-dropdown-menu {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  padding: 0.5rem 0;
  z-index: 60;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  pointer-events: none;
}
.nav-dropdown:hover .nav-dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: #334155;
  transition: background-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background-color: #f1f5f9;
  color: #1e40af;
}

/* ===== Mobile Dropdown (Accordion) ===== */
.mobile-dropdown-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.mobile-dropdown-content.open {
  max-height: 300px;
}
.mobile-dropdown-toggle svg.chevron {
  transition: transform 0.3s;
}
.mobile-dropdown-toggle.open svg.chevron {
  transform: rotate(180deg);
}
