/* ==========================================================================
   AE CONSULTING - UNBREAKABLE PIXEL-EXACT HEADER STYLES (100% MATCH TO GALLERY.HTML)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

html body header,
html body header * {
  box-sizing: border-box !important;
}

html body header {
  position: relative !important;
  z-index: 1000 !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
}

html body header .navbar,
html body header nav.navbar,
html body header #navbar {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  padding: 20px 0 !important;
  background: rgba(18, 18, 28, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15) !important;
  transition: padding 0.2s ease, background 0.2s ease !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  height: auto !important;
  min-height: auto !important;
}

html body header .navbar.scrolled,
html body header nav.navbar.scrolled,
html body header #navbar.scrolled {
  padding: 14px 0 !important;
  background: rgba(10, 10, 15, 0.96) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}

html body header .nav-container,
html body header .container.nav-container,
html body header div.nav-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
  float: none !important;
}

html body header a.brand-logo,
html body header .brand-logo {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  z-index: 1010 !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

html body header img.brand-logo-img,
html body header .brand-logo-img {
  height: 44px !important;
  max-width: 210px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
  transition: transform 0.3s ease !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

html body header a.brand-logo:hover img.brand-logo-img {
  transform: scale(1.03) !important;
}

html body header ul.nav-links,
html body header .nav-links {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 36px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  background: none !important;
  border: none !important;
}

html body header ul.nav-links > li,
html body header .nav-links > li {
  position: relative !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  display: block !important;
}

html body header a.nav-link,
html body header .nav-link,
html body header .nav-links li a {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  font-weight: 500 !important;
  color: #b0b0c0 !important;
  position: relative !important;
  padding: 6px 0 !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  background: none !important;
  transition: color 0.2s ease !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

html body header a.nav-link:hover,
html body header a.nav-link.active,
html body header .nav-link:hover,
html body header .nav-link.active,
html body header .nav-links li.active > a,
html body header .nav-links li.active > .nav-link {
  color: #d4af37 !important;
  background: none !important;
}

html body header a.nav-link::after,
html body header .nav-link::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 0 !important;
  height: 2px !important;
  background: #d4af37 !important;
  transition: width 0.2s ease !important;
}

html body header a.nav-link:hover::after,
html body header a.nav-link.active::after,
html body header .nav-link:hover::after,
html body header .nav-link.active::after,
html body header .nav-links li.active > a::after,
html body header .nav-links li.active > .nav-link::after {
  width: 100% !important;
}

html body header .nav-link i.fa-chevron-down,
html body header .nav-links li a i.fa-chevron-down {
  font-size: 12px !important;
  margin-left: 6px !important;
  transition: transform 0.25s ease !important;
  color: inherit !important;
  display: inline-block !important;
}

html body header .nav-links li:hover > .nav-link i.fa-chevron-down,
html body header .nav-links li:hover > a i.fa-chevron-down {
  transform: rotate(180deg) !important;
}

/* Desktop Dropdown Submenu */
html body header .nav-links ul.dropdown-menu,
html body header .nav-links ul.submenu,
html body header .nav-links .dropdown-menu,
html body header .nav-links .submenu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  min-width: 250px !important;
  background: rgba(18, 18, 28, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(212, 175, 55, 0.15) !important;
  border-top: 2px solid #d4af37 !important;
  border-radius: 8px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  list-style: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(12px) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  pointer-events: none !important;
  z-index: 1050 !important;
  display: block !important;
}

html body header .nav-links li:hover > .dropdown-menu,
html body header .nav-links li:hover > .submenu,
html body header .nav-links li.has-droupdown:hover > .submenu,
html body header .nav-links li.dropdown:hover > .dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

html body header .nav-links .dropdown-menu li,
html body header .nav-links .submenu li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
  display: block !important;
}

html body header .nav-links .dropdown-menu li a,
html body header .nav-links .submenu li a {
  display: block !important;
  padding: 10px 20px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #b0b0c0 !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  background: none !important;
  border: none !important;
  margin: 0 !important;
}

html body header .nav-links .dropdown-menu li a::after,
html body header .nav-links .submenu li a::after {
  display: none !important;
}

html body header .nav-links .dropdown-menu li a:hover,
html body header .nav-links .submenu li a:hover,
html body header .nav-links .dropdown-menu li a.active,
html body header .nav-links .submenu li a.active {
  color: #d4af37 !important;
  background: rgba(212, 175, 55, 0.08) !important;
  padding-left: 24px !important;
}

/* Desktop CTA Button */
html body header .nav-cta-btn {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body header .btn-primary,
html body header a.btn-primary,
html body header .nav-cta-btn a.btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #d4af37, #aa841e) !important;
  color: #000000 !important;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 10px 22px !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25) !important;
  border: none !important;
  cursor: pointer !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  height: auto !important;
  width: auto !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

html body header .btn-primary:hover,
html body header a.btn-primary:hover,
html body header .nav-cta-btn a.btn-primary:hover {
  background: linear-gradient(135deg, #f5d061, #d4af37) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4) !important;
  color: #000000 !important;
}

/* Mobile Hamburger Toggle Button */
html body header button.hamburger,
html body header .hamburger {
  display: none !important;
  background: rgba(212, 175, 55, 0.1) !important;
  border: 1px solid rgba(212, 175, 55, 0.15) !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  padding: 10px !important;
  z-index: 1010 !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 5px !important;
  width: 44px !important;
  height: 44px !important;
  margin: 0 !important;
}

html body header .hamburger-line {
  display: block !important;
  width: 22px !important;
  height: 2px !important;
  background-color: #d4af37 !important;
  border-radius: 2px !important;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease !important;
}

html body header .hamburger.is-active {
  background: #d4af37 !important;
}

html body header .hamburger.is-active .hamburger-line {
  background-color: #000000 !important;
}

html body header .hamburger.is-active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg) !important;
}

html body header .hamburger.is-active .hamburger-line:nth-child(2) {
  opacity: 0 !important;
}

html body header .hamburger.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg) !important;
}

/* Mobile Navigation Overlay & Drawer */
html body .mobile-nav-overlay,
html body header .mobile-nav-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  z-index: 990 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.35s ease !important;
}

html body .mobile-nav-overlay.is-active,
html body header .mobile-nav-overlay.is-active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

html body .mobile-nav-drawer,
html body header .mobile-nav-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  width: 85% !important;
  max-width: 360px !important;
  height: 100vh !important;
  background: #12121c !important;
  border-left: 1px solid rgba(212, 175, 55, 0.15) !important;
  z-index: 995 !important;
  padding: 96px 32px 40px 32px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transform: translateX(100%) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8) !important;
  box-sizing: border-box !important;
}

html body .mobile-nav-drawer.is-active,
html body header .mobile-nav-drawer.is-active {
  transform: translateX(0) !important;
}

html body .mobile-nav-list,
html body header .mobile-nav-list {
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body .mobile-nav-link,
html body header .mobile-nav-link {
  font-size: 18px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  text-decoration: none !important;
  background: none !important;
}

html body .mobile-nav-link:hover,
html body .mobile-nav-link.active,
html body header .mobile-nav-link:hover,
html body header .mobile-nav-link.active,
html body header .mobile-nav-list li.active > a,
html body header .mobile-nav-list li.active > .mobile-nav-link {
  color: #d4af37 !important;
  border-bottom-color: rgba(212, 175, 55, 0.15) !important;
}

html body .mobile-nav-list .mobile-submenu,
html body .mobile-nav-list .submenu,
html body header .mobile-nav-list .mobile-submenu,
html body header .mobile-nav-list .submenu {
  list-style: none !important;
  padding-left: 16px !important;
  margin-top: 8px !important;
  margin-bottom: 8px !important;
  display: none;
  flex-direction: column !important;
  gap: 8px !important;
  border-left: 2px solid rgba(212, 175, 55, 0.15) !important;
}

html body .mobile-nav-list li.is-open > .mobile-submenu,
html body .mobile-nav-list li.is-open > .submenu,
html body .mobile-nav-list li.has-droupdown.is-open > .submenu,
html body header .mobile-nav-list li.is-open > .mobile-submenu,
html body header .mobile-nav-list li.is-open > .submenu,
html body header .mobile-nav-list li.has-droupdown.is-open > .submenu {
  display: flex !important;
}

html body .mobile-nav-list .mobile-submenu li a,
html body .mobile-nav-list .submenu li a,
html body header .mobile-nav-list .mobile-submenu li a,
html body header .mobile-nav-list .submenu li a {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #b0b0c0 !important;
  padding: 6px 12px !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  display: block !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
  background: none !important;
}

html body .mobile-nav-list .mobile-submenu li a:hover,
html body .mobile-nav-list .submenu li a:hover,
html body .mobile-nav-list .mobile-submenu li a.active,
html body .mobile-nav-list .submenu li a.active,
html body header .mobile-nav-list .mobile-submenu li a:hover,
html body header .mobile-nav-list .submenu li a:hover,
html body header .mobile-nav-list .mobile-submenu li a.active,
html body header .mobile-nav-list .submenu li a.active {
  color: #d4af37 !important;
}

html body header .mobile-nav-link i.fa-chevron-down {
  transition: transform 0.3s ease !important;
}

html body header .mobile-nav-list li.is-open > .mobile-nav-link i.fa-chevron-down {
  transform: rotate(180deg) !important;
}

@media (max-width: 991px) {
  html body header .nav-links,
  html body header .nav-cta-btn {
    display: none !important;
  }
  html body header .hamburger {
    display: flex !important;
  }
}

@media (min-width: 992px) {
  html body header .container,
  html body header .nav-container,
  html body header .container.nav-container,
  html body header div.nav-container {
    max-width: 1280px !important;
    width: 100% !important;
  }
}

@media (min-width: 1200px) {
  html body header .container,
  html body header .nav-container,
  html body header .container.nav-container,
  html body header div.nav-container {
    max-width: 1280px !important;
    width: 100% !important;
  }
}
