/* -------------------------------------------------
   NAVBAR
-------------------------------------------------- */

.m365-navbar {
  background: #0A0E16;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 14px 0;
  transition: box-shadow .3s var(--ease);
  z-index: 999;
}

.m365-navbar.is-scrolled {
  box-shadow: 0 8px 28px -14px rgba(0,0,0,0.5);
}

.m365-navbar .brand-logo {
  color: #fff;
}

.m365-navbar .brand-text small {
  color: rgba(255,255,255,0.55);
}

.custom-toggler {
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
}

.custom-toggler:focus {
  box-shadow: none;
  outline: 3px solid var(--blue);
}

.custom-toggler i {
  color: #fff;
}

.m365-navbar .navbar-nav {
  gap: 6px;
}

.m365-navbar .nav-link {
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  font-size: .88rem;
  padding: 9px 14px !important;
  border-radius: 999px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}

.m365-navbar .nav-link:hover,
.m365-navbar .nav-link:focus {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff !important;
  font-weight: 700;
  font-size: .9rem;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 10px 22px -10px rgba(15,108,189,0.55);
  transition: transform .2s var(--ease), box-shadow .2s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(15,108,189,0.6);
  color: #fff;
}

/* -------------------------------------------------
   NAVBAR DROPDOWN
-------------------------------------------------- */

.nav-solutions-dropdown {
  position: relative;
}

.solutions-menu {
  min-width: 350px;
  padding: 12px;
  margin-top: 12px;
  background: rgba(10, 14, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
    max-height: 75vh;
    overflow-y: auto;
}

.solutions-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 34px;
  width: 16px;
  height: 16px;
  background: rgba(10, 14, 22, 0.96);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotate(45deg);
}

.solutions-menu .dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  color: #ffffff;
  border-radius: 14px;
  transition: all 0.22s ease;
  white-space: normal;
}

.solutions-menu .dropdown-item:hover,
.solutions-menu .dropdown-item:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.10);
  transform: translateX(4px);
}

.dropdown-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--aurora-teal));
  border-radius: 12px;
  box-shadow: 0 12px 24px -12px rgba(79, 166, 255, 0.7);
}

.solutions-menu strong {
  display: block;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

.solutions-menu small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.35;
}

@media (min-width: 992px) {
  .nav-solutions-dropdown:hover > .dropdown-menu {
    display: block;
  }

  .nav-solutions-dropdown:hover > .nav-link {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
  }
}
