/* ==========================================================================
   ASSET POOLS LLC — PREMIUM CORPORATE GLASSMORPHISM NAVIGATION SYSTEM
   Guaranteed 100% visible on all desktop resolutions, no Tailwind/Bootstrap conflicts,
   luxurious glassmorphism styling, and responsive mobile slide-down drawer.
   ========================================================================== */

/* ── Main Navbar Wrapper ────────────────────────────────────────────────────── */
.corporate-navbar-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 30px rgba(0, 80, 200, 0.08);
  z-index: 99999;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.corporate-navbar-header.is-scrolled {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(36px) saturate(240%);
  -webkit-backdrop-filter: blur(36px) saturate(240%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 8px 32px rgba(0, 80, 200, 0.06);
}

.corporate-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 8px 0;
}

/* ── Brand Logo & Titles ────────────────────────────────────────────────────── */
.corporate-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 100001;
}

.corporate-brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.corporate-brand:hover .corporate-brand-logo {
  transform: scale(1.05);
}

.corporate-brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.corporate-brand-title {
  font-family: 'Outfit', -apple-system, sans-serif;
  font-weight: 800;
  font-size: 1.28rem;
  color: #0a2540;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.corporate-brand-accent {
  color: #0088ff;
  font-weight: 900;
}

.corporate-brand-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: #0066cc;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* ── Desktop Nav Menu (>= 992px) ────────────────────────────────────────────── */
.corporate-nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.corporate-nav-item {
  position: relative;
}

.corporate-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0f2942 !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  white-space: nowrap;
}

.corporate-nav-link:hover,
.corporate-nav-link.active {
  color: #0066cc !important;
  background: rgba(0, 136, 255, 0.08);
}

.corporate-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2.5px;
  background: linear-gradient(90deg, #0088ff, #00d2ff);
  border-radius: 4px;
}

/* ── Services Dropdown ──────────────────────────────────────────────────────── */
.corporate-dropdown {
  position: relative;
}

.corporate-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1.5px solid rgba(0, 136, 255, 0.18);
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 16px 45px rgba(0, 80, 200, 0.15);
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100000;
  list-style: none;
}

.corporate-dropdown:hover .corporate-dropdown-menu,
.corporate-dropdown.is-active .corporate-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.corporate-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #1e293b !important;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.corporate-dropdown-item:hover {
  background: rgba(0, 136, 255, 0.09);
  color: #0066cc !important;
  transform: translateX(4px);
}

.corporate-dropdown-item i {
  width: 20px;
  font-size: 0.95rem;
  text-align: center;
}

/* ── Actions on Right (WhatsApp & Request Quote) ────────────────────────────── */
.corporate-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.corporate-wa-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  color: #10b981 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.corporate-wa-btn:hover {
  background: #10b981;
  color: #ffffff !important;
  transform: scale(1.08);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.corporate-quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0088ff 0%, #0066cc 60%, #004c99 100%);
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 22px;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 136, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.corporate-quote-btn:hover {
  background: linear-gradient(135deg, #0099ff 0%, #0077ee 60%, #005bb5 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 136, 255, 0.45);
  color: #ffffff !important;
}

/* ── Mobile Hamburger Toggle (< 992px) ──────────────────────────────────────── */
.corporate-nav-toggle {
  display: none;
  background: rgba(0, 136, 255, 0.08);
  border: 1.5px solid rgba(0, 136, 255, 0.2);
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 42px;
  height: 42px;
  z-index: 100001;
  transition: all 0.25s ease;
}

.corporate-nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #0a2540;
  border-radius: 2px;
  transition: all 0.28s ease;
}

.corporate-nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.corporate-nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: translateX(10px);
}

.corporate-nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Responsive Rules (< 992px Mobile & Tablet Drawer) ──────────────────────── */
@media (max-width: 991px) {
  .corporate-nav-toggle {
    display: flex;
  }

  .corporate-nav-menu-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 17, 38, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 99998;
  }

  .corporate-nav-menu-wrapper.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .corporate-nav-drawer {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border: 1.5px solid rgba(0, 136, 255, 0.2);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 80, 200, 0.2);
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    transform: translateY(-15px);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .corporate-nav-menu-wrapper.is-open .corporate-nav-drawer {
    transform: translateY(0);
  }

  .corporate-nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .corporate-nav-link {
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: 14px;
    width: 100%;
    justify-content: flex-start;
  }

  .corporate-nav-link.active::after {
    display: none;
  }

  .corporate-dropdown-menu {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 1px solid rgba(0, 136, 255, 0.14);
    background: rgba(240, 249, 255, 0.85);
    margin-top: 6px;
    margin-bottom: 8px;
    padding: 8px;
    border-radius: 16px;
  }

  .corporate-dropdown.is-active .corporate-dropdown-menu {
    display: block;
    animation: apNavDropdownSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .corporate-dropdown > .corporate-nav-link i.fa-chevron-down {
    transition: transform 0.25s ease;
  }

  .corporate-dropdown.is-active > .corporate-nav-link i.fa-chevron-down {
    transform: rotate(180deg);
  }

  @keyframes apNavDropdownSlide {
    0% {
      opacity: 0;
      transform: translateY(-6px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .corporate-nav-drawer .corporate-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 136, 255, 0.15);
  }

  .corporate-nav-drawer .corporate-quote-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }
}
