/* ==========================================
   DESKTOP NAVBAR (Laptops & Displays > 768px)
   ========================================== */
.site-header {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #E2E8F0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
}

/* Desktop Horizontal Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #FF5500;
}

.btn-consultation {
  background-color: #FF5500;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn-consultation:hover {
  background-color: #E04B00;
}

/* Hide Mobile Toggle Button on Desktop */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #0F172A;
  padding: 4px;
}

/* ==========================================
   MOBILE NAVBAR & SOLID DROPDOWN (<= 768px)
   ========================================== */
@media screen and (max-width: 768px) {
  /* Force the header container to a high fixed stacking context */
  .site-header,
  #navbar-mount {
    position: relative !important;
    z-index: 99999999 !important;
  }

  /* Show Hamburger Trigger on Mobile */
  .mobile-toggle {
    display: block !important;
  }

  .nav-actions {
    display: none !important; /* Hide CTA button in header bar on small screens */
  }

  .logo-img {
    height: 32px !important;
  }

  /* DEFAULT HIDDEN STATE ON MOBILE */
  .nav-menu {
    display: none !important;
  }

  /* SOLID WHITE CARD DROPDOWN WHEN TOGGLED */
  .nav-menu.is-open {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    background-color: #ffffff !important; /* Completely hides hero section underneath */
    z-index: 99999999 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    padding: 12px 20px 20px !important;
    border-bottom: 2px solid #E2E8F0 !important;
    gap: 0 !important;
    box-sizing: border-box !important;
  }

  .nav-menu.is-open li {
    width: 100% !important;
    margin: 0 !important;
    background-color: #ffffff !important;
  }

  .nav-menu.is-open .nav-link {
    display: block !important;
    width: 100% !important;
    padding: 14px 0 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    background-color: #ffffff !important;
    border-bottom: 1px solid #F1F5F9 !important;
  }

  .nav-menu.is-open li:last-child .nav-link {
    border-bottom: none !important;
  }
}