/* Header: brand, centre nav dock, menu dropdown and header responsive rules */

/* ==========================================================================
   FULL-WIDTH HEADER WITH MIDDLE SECTION BORDER MODEL & RIGHT NAV DROPDOWN
   ========================================================================== */

/* Full-Screen Width Header Bar */
.nz-header-full {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  background: #ffffff;
  /* background: linear-gradient(180deg, rgba(250, 243, 231, 0.9) 0%, rgba(243, 231, 211, 0.88) 100%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%); */
  border-bottom: 1.5px solid rgba(185, 154, 80, 0.55);
  box-shadow: 0 4px 25px -4px rgba(16, 43, 63, 0.06);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.nz-header-full.nz-scrolled {
  background: white;
  /* background: linear-gradient(180deg, rgba(251, 245, 234, 0.97) 0%, rgba(244, 233, 214, 0.96) 100%); */
  border-bottom-color: rgba(185, 154, 80, 0.8);
  box-shadow: 0 10px 35px -6px rgba(16, 43, 63, 0.12);
}

.nz-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100px;
  padding: 0 44px;
  box-sizing: border-box;
  position: relative;
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nz-header-full.nz-scrolled .nz-header-container {
  height: 74px;
  padding: 0 38px;
}

/* Brand Identity (Left) */
.nz-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
  flex: 0 0 auto;
  user-select: none;
  z-index: 3;
}

.nz-logo-badge {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: #ffffff;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 4px 14px rgba(16, 43, 63, 0.08), inset 0 0 0 1px rgba(185, 154, 80, 0.25); */
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

/* .nz-brand:hover .nz-logo-badge {
  transform: scale(1.05) rotate(1deg);
   box-shadow: 0 8px 20px rgba(185, 154, 80, 0.22), inset 0 0 0 1.5px #b99a50; 
}  */

.nz-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nz-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nz-name {
  display: block;
  color: #102b3f;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2.4px;
  line-height: 1.15;
  transition: color 0.25s ease;
}

.nz-sub {
  display: block;
  color: #102b3f;
  /* Deep crisp navy: clear, sharp, and perfectly visible against glass */
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.35;
  margin-top: 2px;
  opacity: 0.9;
}

/* ==========================================================================
   MIDDLE SECTION: THE SCULPTED BORDER MODEL DOCK
   ========================================================================== */
.nz-middle-dock {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  z-index: 2;
}

/* Only this middle section contains the sculpted border model */
.nz-nav-border-model {
  position: relative;
  display: flex;
  align-items: center;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(185, 154, 80, 0.4);
  border-radius: 9999px;
  box-shadow:
    0 6px 22px -4px rgba(16, 43, 63, 0.07),
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 2px 0 rgba(185, 154, 80, 0.15);
  overflow: hidden;
  transition: all 0.3s ease;
}

.nz-nav-border-model:hover {
  border-color: rgba(185, 154, 80, 0.7);
  box-shadow:
    0 8px 28px -4px rgba(185, 154, 80, 0.18),
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 1);
}

/* Ambient Fluid Glow inside the border model */
/* .nz-dock-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.nz-dock-blob {
  position: absolute;
  width: 140px;
  height: 60px;
  top: -15px;
  left: 20%;
  background: linear-gradient(135deg, rgba(185, 154, 80, 0.35) 0%, rgba(16, 43, 63, 0.15) 50%, rgba(43, 116, 158, 0.25) 100%);
  filter: blur(20px);
  border-radius: 50%;
  animation: nzDockBlobMove 10s ease-in-out infinite alternate;
  pointer-events: none;
} */

/* @keyframes nzDockBlobMove {
  0% {
    transform: translateX(-30px) scale(0.9);
  }

  50% {
    transform: translateX(70px) scale(1.15);
  }

  100% {
    transform: translateX(150px) scale(0.95);
  }
} */

.nz-nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 1;
}

.nz-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  color: #102b3f;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  z-index: 1;
}

.nz-nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(185, 154, 80, 0.35) 0%, rgba(16, 43, 63, 0.12) 50%, rgba(32, 99, 143, 0.28) 100%);
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 4px 14px rgba(185, 154, 80, 0.12);
  z-index: -1;
}

.nz-nav-link:hover::before,
.nz-nav-link.active::before {
  opacity: 1;
  transform: scale(1);
}

.nz-nav-link:hover,
.nz-nav-link:focus,
.nz-nav-link:active,
.nz-nav-link.active {
  color: #0b1f2d;
}

.nz-nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 14px;
  height: 2px;
  background: linear-gradient(90deg, #b99a50, #173d55);
  border-radius: 9999px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.9;
}

.nz-nav-link:hover::after,
.nz-nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* ==========================================================================
   RIGHT: NAV DROPDOWN SECTION (REPLACES INQUIRE)
   ========================================================================== */
.nz-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  z-index: 10;
}

.nz-dd {
  position: relative;
  flex: 0 0 auto;
}

/* Call button hidden on desktop mode */
.nz-header-call-btn {
  display: none !important;
}

.nz-dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  background: rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(185, 154, 80, 0.4);
  border-radius: 9999px;
  box-shadow:
    0 4px 14px -2px rgba(16, 43, 63, 0.08),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.9);
  cursor: pointer;
  outline: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.nz-dd-btn:hover,
.nz-dd.open .nz-dd-btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(246, 248, 250, 0.9) 100%);
  border-color: #b99a50;
  box-shadow: 0 6px 20px -2px rgba(185, 154, 80, 0.25), inset 0 1px 2px rgba(255, 255, 255, 1);
  transform: translateY(-1px);
}

.nz-dd-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
}

.nz-dd-bars span {
  display: block;
  height: 2px;
  background: #102b3f;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nz-dd-bars span:nth-child(1) {
  width: 16px;
}

.nz-dd-bars span:nth-child(2) {
  width: 16px;
}

.nz-dd-bars span:nth-child(3) {
  width: 16px;
}

.nz-dd.open .nz-dd-bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background: #b99a50;
}

.nz-dd.open .nz-dd-bars span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nz-dd.open .nz-dd-bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background: #b99a50;
}

.nz-dd-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #102b3f;
  line-height: 1;
}

.nz-dd-arrow {
  font-size: 13px;
  color: #b99a50;
  transition: transform 0.3s ease;
}

.nz-dd.open .nz-dd-arrow {
  transform: rotate(180deg);
}

/* Glassy Nav Dropdown Menu */
.nz-dd-menu {
  display: block;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 230px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(28px) saturate(190%) contrast(95%);
  backdrop-filter: blur(28px) saturate(190%) contrast(95%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow:
    0 20px 50px -10px rgba(16, 43, 63, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.95);
  padding: 14px 12px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.97);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99999;
  overflow: hidden;
}

.nz-dd-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 2.5px;
  background: linear-gradient(90deg, transparent, #b99a50, #173d55, #b99a50, transparent);
  border-radius: 9999px;
}

.nz-dd.open .nz-dd-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.nz-dd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 10px 10px;
  border-bottom: 1px solid rgba(16, 43, 63, 0.08);
  margin-bottom: 8px;
}

/* .nz-dd-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b99a50;
} */

.nz-dd-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nz-dd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  margin-bottom: 3px;
  color: #102b3f;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.nz-dd-item i {
  color: #b99a50;
  font-size: 13px;
  transition: transform 0.25s ease;
}

.nz-dd-item:hover,
.nz-dd-item:focus,
.nz-dd-item.active {
  background: linear-gradient(135deg, rgba(185, 154, 80, 0.12) 0%, rgba(16, 43, 63, 0.05) 50%, rgba(32, 99, 143, 0.1) 100%);
  color: #0b1f2d;
  padding-left: 18px;
}

.nz-dd-item:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   RESPONSIVE DESIGN ADAPTATIONS FOR HEADER
   ========================================================================== */
@media (max-width: 1100px) {
  .nz-name {
    font-size: 18px;
    letter-spacing: 2px;
  }

  .nz-nav-link {
    padding: 8px 14px;
    font-size: 12px;
  }

  .nz-header-container {
    padding: 0 28px;
  }
}

@media (max-width: 991px) {
  .nz-middle-dock {
    display: none;
  }

  .nz-header-container {
    height: 76px;
    padding: 0 22px;
  }

  .nz-header-full.nz-scrolled .nz-header-container {
    height: 68px;
    padding: 0 18px;
  }

  .nz-dd-menu {
    width: 230px;
    right: 0;
  }
}

@media (max-width: 767px) {

  /* Increased mobile header size */
  .nz-header-container {
    height: 94px;
    padding: 0 16px;
  }

  /* Scrolled header */
  .nz-header-full.nz-scrolled .nz-header-container {
    height: 72px;
    padding: 0 14px;
  }

  .nz-brand {
    gap: 12px;
  }

  .nz-logo-badge {
    width: 52px;
    height: 52px;
    border-radius: 13px;
  }

  .nz-header-full.nz-scrolled .nz-logo-badge {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }

  .nz-name {
    font-size: 17.5px;
    letter-spacing: 1.6px;
    line-height: 1.15;
  }

  .nz-header-full.nz-scrolled .nz-name {
    font-size: 15.5px;
  }

  .nz-sub {
    font-size: 8.8px;
    letter-spacing: 1.3px;
    line-height: 1.3;
    margin-top: 2px;
  }

  .nz-dd-label {
    display: none;
  }

  .nz-header-actions {
    gap: 8px;
  }

  .nz-dd-btn {
    padding: 8px 13px;
    gap: 6px;
    height: 38px;
    box-sizing: border-box;
  }

  /* Phone call symbol: same sculpted glass design as dropdown button, placed after dropdown */
  .nz-header-call-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    background: rgba(255, 255, 255, 0.65);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(185, 154, 80, 0.4);
    border-radius: 9999px;
    box-shadow:
      0 4px 14px -2px rgba(16, 43, 63, 0.08),
      inset 0 1px 1.5px rgba(255, 255, 255, 0.9);
    cursor: pointer;
    outline: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    color: #102b3f;
    font-size: 16px;
    text-decoration: none !important;
    box-sizing: border-box;
    flex-shrink: 0;
  }

  .nz-header-call-btn:hover,
  .nz-header-call-btn:focus,
  .nz-header-call-btn:active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(246, 248, 250, 0.9) 100%);
    border-color: #b99a50;
    color: #b99a50;
    box-shadow: 0 6px 20px -2px rgba(185, 154, 80, 0.25), inset 0 1px 2px rgba(255, 255, 255, 1);
    transform: translateY(-1px);
  }

  .nz-dd-menu {
    width: 220px;
    right: 0;
  }
}

@media (max-width: 380px) {
  .nz-header-container {
    padding: 0 10px;
  }

  .nz-brand {
    gap: 8px;
  }

  .nz-logo-badge {
    width: 44px;
    height: 44px;
  }

  .nz-name {
    font-size: 14.5px;
    letter-spacing: 1.2px;
  }

  .nz-sub {
    font-size: 7.5px;
    letter-spacing: 1px;
  }

  .nz-header-actions {
    gap: 6px;
  }

  .nz-dd-btn {
    padding: 6px 10px;
    height: 36px;
  }

  .nz-header-call-btn {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
}