.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .3s;
}

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

#mobile-menu {
  display: none;
}

#mobile-menu.open {
  display: block;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  min-width: 270px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
  border-top: 3px solid var(--teal);
  padding: 8px 0;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: #2d3748;
  transition: background .2s, color .2s, padding .2s;
}

.dropdown-menu a:hover {
  background: #f0fafb;
  color: var(--teal);
  padding-left: 26px;
}

.dropdown-menu .sub-header {
  padding: 8px 20px 4px;
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.dropdown-menu hr {
  border: none;
  border-top: 1px solid #f1f5f9;
  margin: 4px 0;
}

.sidebar-link {
  display: block;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  color: #4a5568;
  transition: background .2s, color .2s;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: rgba(13, 125, 138, .1);
  color: var(--teal);
  font-weight: 600;
}

#scrollTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 99;
  opacity: 0;
  transition: opacity .3s;
}

#scrollTop.visible {
  opacity: 1;
}
