/* NoorVista 3.0.201 — desktop navigation cleanup and contact card readability */

@media (min-width: 921px) {
  body:not([data-panel-role]) > header.navbar > .container.nav-inner {
    position: relative !important;
    grid-template-columns: minmax(190px, 320px) minmax(0, 1fr) !important;
    column-gap: 24px !important;
  }

  body:not([data-panel-role]) > header.navbar .nav-actions {
    display: none !important;
  }

  body:not([data-panel-role]) > header.navbar nav {
    width: 100% !important;
    min-width: 0 !important;
  }

  body:not([data-panel-role]) > header.navbar .menu {
    width: 100% !important;
    justify-content: flex-start !important;
  }

  body:not([data-panel-role]) > header.navbar .has-mega {
    position: static !important;
  }

  body:not([data-panel-role]) > header.navbar .has-mega > .mega-menu {
    position: absolute !important;
    top: calc(100% - 4px) !important;
    left: 50% !important;
    right: auto !important;
    width: min(1180px, calc(100vw - 36px)) !important;
    max-width: calc(100vw - 36px) !important;
    min-width: 760px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
    padding: 24px !important;
    transform: translate(-50%, 12px) !important;
    transform-origin: top center !important;
    max-height: min(72vh, 680px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 1px solid #d6e7ef !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.99) !important;
    box-shadow: 0 28px 70px rgba(8, 47, 73, 0.2) !important;
  }

  body:not([data-panel-role]) > header.navbar .has-mega:hover > .mega-menu,
  body:not([data-panel-role]) > header.navbar .has-mega:focus-within > .mega-menu {
    transform: translate(-50%, 0) !important;
  }

  body:not([data-panel-role]) > header.navbar .mega-col {
    min-width: 0 !important;
  }

  body:not([data-panel-role]) > header.navbar .mega-col strong {
    display: block !important;
    margin-bottom: 10px !important;
    color: #0b5872 !important;
    font-size: 0.94rem !important;
    line-height: 1.7 !important;
  }

  body:not([data-panel-role]) > header.navbar .mega-col a {
    display: block !important;
    padding: 8px 10px !important;
    border-radius: 10px !important;
    color: #496579 !important;
    line-height: 1.7 !important;
    white-space: normal !important;
  }

  body:not([data-panel-role]) > header.navbar .mega-col a:hover {
    color: #087e98 !important;
    background: #edf9fc !important;
  }
}

/* Contact page: readable, ordered quick-contact card */
body:not([data-panel-role]) .nv-contact-hero-v2__panel {
  color: #173b54 !important;
  background: linear-gradient(155deg, #ffffff 0%, #f3fbfe 100%) !important;
  border-color: #cfe4ed !important;
  box-shadow: 0 24px 60px rgba(8, 47, 73, 0.1) !important;
}

body:not([data-panel-role]) .nv-contact-hero-v2__panel-head {
  padding-bottom: 18px !important;
  border-bottom: 1px solid #dbeaf1 !important;
}

body:not([data-panel-role]) .nv-contact-hero-v2__panel-head > span {
  color: #087e98 !important;
}

body:not([data-panel-role]) .nv-contact-hero-v2__panel h2 {
  color: #10314f !important;
}

body:not([data-panel-role]) .nv-contact-hero-v2__panel-head p {
  color: #60798b !important;
}

body:not([data-panel-role]) .nv-contact-hero-v2__items {
  display: grid !important;
  gap: 12px !important;
  margin-top: 18px !important;
}

body:not([data-panel-role]) .nv-contact-quick-item {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 14px !important;
  min-height: 82px !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 1px solid #dceaf1 !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: 0 8px 22px rgba(8, 47, 73, 0.045) !important;
}

body:not([data-panel-role]) .nv-contact-quick-item > div {
  min-width: 0 !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
  direction: rtl !important;
  text-align: right !important;
}

body:not([data-panel-role]) .nv-contact-quick-item__icon {
  width: 50px !important;
  height: 50px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid #bfe1ea !important;
  border-radius: 16px !important;
  color: #087e98 !important;
  background: #eaf8fb !important;
  box-shadow: none !important;
}

body:not([data-panel-role]) .nv-contact-quick-item__icon .nv-inline-icon {
  width: 23px !important;
  height: 23px !important;
  margin: 0 !important;
  color: #087e98 !important;
  filter: none !important;
  opacity: 1 !important;
}

body:not([data-panel-role]) .nv-contact-quick-item strong {
  display: block !important;
  margin: 0 !important;
  color: #0b6d86 !important;
  font-size: 0.86rem !important;
  font-weight: 900 !important;
  line-height: 1.6 !important;
}

body:not([data-panel-role]) .nv-contact-quick-item a,
body:not([data-panel-role]) .nv-contact-quick-item small,
body:not([data-panel-role]) .nv-contact-quick-item .nv-address-line,
body:not([data-panel-role]) .nv-contact-quick-item .nv-address-text {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  color: #294d63 !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  line-height: 1.9 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  text-decoration: none !important;
}

body:not([data-panel-role]) .nv-contact-quick-item--phone a,
body:not([data-panel-role]) .nv-contact-quick-item--instagram small {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  text-align: right !important;
}

body:not([data-panel-role]) .nv-contact-quick-item .nv-address-label {
  display: block !important;
  margin: 0 0 2px !important;
  color: #0b6d86 !important;
  font-weight: 900 !important;
}

body:not([data-panel-role]) .nv-contact-quick-item .nv-address-line + .nv-address-line {
  margin-top: 7px !important;
  padding-top: 8px !important;
  border-top: 1px dashed #cee2ea !important;
}

@media (max-width: 640px) {
  body:not([data-panel-role]) .nv-contact-hero-v2__panel {
    padding: 20px !important;
  }

  body:not([data-panel-role]) .nv-contact-quick-item {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    gap: 12px !important;
    min-height: 74px !important;
    padding: 12px !important;
    border-radius: 16px !important;
  }

  body:not([data-panel-role]) .nv-contact-quick-item__icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
  }
}
