/* ---------------------------------------------------------
   Flovantis Header - Final Stable Version
--------------------------------------------------------- */
.flovantis-header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1030;
}

.navbar-brand .logo {
  height: 48px;
  width: auto;
}

.brand-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

/* NAV LINKS */
.nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: #202833 !important;
  margin: 0 0.6rem;
  transition: color 0.25s ease;
}

.nav-link:hover {
  color: #0F5FFF !important;
}

.nav-link.active {
  color: #0F5FFF !important;
  font-weight: 600;
}

/* Disabled Link */
.nav-link.disabled {
  color: #9aa1af !important;
  opacity: 0.8;
  pointer-events: none;
  cursor: not-allowed !important;
}

/* DROPDOWN */
.navbar .dropdown-menu {
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.navbar .dropdown-item {
  font-weight: 500;
  color: #202833;
}

.navbar .dropdown-item:hover {
  background-color: #0F5FFF;
  color: #fff;
}

/* Force dropdown toggles to always stay clickable */
.nav-item.dropdown > .nav-link.dropdown-toggle {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 10;
}

/* CTA Button */
.flovantis-btn {
  background-color: #EA8000;
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.6rem 1.4rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.flovantis-btn:hover {
  background-color: #FF9B26;
  transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 992px) {
  .nav-link { margin: 0.5rem 0; }
  .flovantis-btn { margin-top: 0.5rem; }
}


/* ---------- NAVIGATION STABILITY FIX ---------- */

/* Disabled links shouldn't block sibling dropdowns */
.navbar-nav .nav-link.disabled {
  pointer-events: none;
  cursor: not-allowed !important;
}

/* Ensure dropdown toggles always clickable */
.nav-item.dropdown > .nav-link.dropdown-toggle {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 10;
}
