.navbar {
  background-color: color-mix(in srgb, var(--bg-card) 95%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
.navbar-primary { height: 72px; }
.navbar-secondary {
  background-color: var(--accent-primary-hover);
  padding: 0.1rem 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out;
}
.navbar:hover .navbar-secondary { max-height: 50px; opacity: 1; }
.nav-link-secondary {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  transition: color 0.2s;
}
.nav-link-secondary:hover { color: white; }
.nav-link {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
  padding: 1.5rem 0.75rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom-color 0.2s, background-color 0.3s;
  display: inline-flex;
  align-items: center;
}
.nav-link:hover { color: var(--accent-primary); border-bottom-color: var(--accent-primary); }
.logo-svg { height: 40px; width: auto; }

/* Dropdown Desktop */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 85%;
  left: 0;
  background-color: var(--bg-card);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  z-index: 1000;
  min-width: 200px;
  animation: slideDown 0.3s ease-out;
  padding: 0.5rem 0;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 0.75rem 1.25rem; font-size: 0.95rem; }

/* Mobile Menu & Dropdown */
#mobile-menu { background-color: #ffffff; }
.mobile-dropdown-wrapper { position: relative; }
.mobile-submenu { display: none; background-color: #f7f7f7; padding-left: 1rem; }
.mobile-dropdown-wrapper:hover .mobile-submenu { display: block; }
.mobile-submenu a { font-size: 1rem !important; transition: all 0.3s ease; }
.mobile-submenu a:hover {
  background-color: var(--accent-primary-hover);
  color: white !important;
  border-radius: 8px;
  margin: 0.1rem 0.5rem;
  padding: 0.5rem;
}
""")