
/* =========================================================
   FORCE PUBLIC HEADER EXACT STYLE
   این بخش باید در noorvista-pro.css هم باشد تا همه صفحات عمومی، مخصوصاً contact و services، دقیقاً مثل index دیده شوند.
========================================================= */

.contact-topbar,
.contact-nav {
  display: none !important;
}

.topbar {
  width: 100% !important;
  min-height: 56px !important;
  height: 56px !important;
  background: #073b57 !important;
  color: #ffffff !important;
  font-family: Vazir, Shabnam, Tahoma, Arial, sans-serif !important;
  font-size: 14px !important;
  direction: rtl !important;
  display: block !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

.topbar * {
  box-sizing: border-box !important;
}

.topbar-inner,
.topbar .container {
  width: min(100% - 32px, 1180px) !important;
  height: 56px !important;
  min-height: 56px !important;
  margin-inline: auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
}

.topbar-info,
.socials {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
}

.topbar-info span,
.topbar-info a {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.topbar a {
  color: inherit !important;
  text-decoration: none !important;
}

.topbar-phone {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  direction: ltr !important;
  unicode-bidi: plaintext !important;
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 999px !important;
  padding: 6px 12px !important;
  height: 34px !important;
}

.social-link {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 14px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.social-link svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
}

.navbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 120 !important;
  width: 100% !important;
  min-height: 82px !important;
  background: rgba(255,255,255,.96) !important;
  backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid #dbeafe !important;
  direction: rtl !important;
  display: block !important;
  box-sizing: border-box !important;
}

.navbar * {
  box-sizing: border-box !important;
}

.nav-inner {
  width: min(100% - 32px, 1180px) !important;
  margin-inline: auto !important;
  min-height: 82px !important;
  height: 82px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
}

.brand {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: #0f172a !important;
  text-decoration: none !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.brand-logo {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg,#06b6d4,#075985) !important;
  color: #fff !important;
  display: grid !important;
  place-items: center !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  box-shadow: 0 14px 28px rgba(8,145,178,.18) !important;
  line-height: 1 !important;
}

.brand strong {
  display: block !important;
  color: #0f172a !important;
  font-size: 18px !important;
  line-height: 1.35 !important;
  font-weight: 950 !important;
  margin: 0 !important;
}

.brand small {
  display: block !important;
  color: #64748b !important;
  font-size: 12px !important;
  line-height: 1.65 !important;
  font-weight: 800 !important;
  margin: 0 !important;
}

.menu {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.menu > li {
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
}

.menu > li > a {
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 14px !important;
  border-radius: 999px !important;
  color: #334155 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  transition: .2s ease !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.menu > li > a:hover,
.menu > li > a.active {
  color: #075985 !important;
  background: #e0f2fe !important;
}

.nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-actions .btn,
.nav-actions a,
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 950;
  text-decoration: none;
}

.btn-primary {
  color: #fff !important;
  background: linear-gradient(135deg,#06b6d4,#0891b2) !important;
  border: 0 !important;
  box-shadow: 0 14px 28px rgba(8,145,178,.18) !important;
}

.btn-outline {
  color: #075985 !important;
  background: #fff !important;
  border: 1px solid #bae6fd !important;
}

.mobile-toggle {
  display: none !important;
}

@media (max-width: 980px) {
  .topbar {
    height: auto !important;
    min-height: 56px !important;
  }

  .topbar-inner,
  .topbar .container {
    height: auto !important;
    min-height: 56px !important;
    padding: 10px 0 !important;
    flex-wrap: wrap !important;
  }

  .nav-inner {
    height: auto !important;
    min-height: 82px !important;
    flex-wrap: wrap !important;
    padding-top: 8px !important;
  }

  .menu {
    order: 3 !important;
    width: 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    padding-bottom: 12px !important;
  }
}

@media (max-width: 720px) {
  .topbar-inner,
  .topbar .container {
    justify-content: center !important;
    text-align: center !important;
  }

  .topbar-info,
  .socials {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  .brand-logo {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 15px !important;
    font-size: 11px !important;
  }

  .brand strong {
    font-size: 15px !important;
  }

  .brand small {
    font-size: 11px !important;
  }

  .nav-actions {
    display: none !important;
  }

  .menu > li > a {
    min-height: 38px !important;
    padding: 8px 10px !important;
    font-size: 13px !important;
  }
}


/* FINAL: keep public header exactly aligned with index */
.contact-topbar,.contact-nav{display:none!important}
.nav-actions .btn,.nav-actions a.btn{min-height:42px!important;height:42px!important;padding:0 16px!important;font-size:13.5px!important;line-height:1!important}
.menu > li { position: relative !important; }
.mega-menu{z-index:500!important}


/* =========================================================
   FIX: topbar vertical alignment
   آیتم‌های topbar به پایین کادر نچسبند و دقیقاً وسط قرار بگیرند.
========================================================= */

.topbar {
  min-height: 58px !important;
  height: auto !important;
  padding: 6px 0 !important;
  display: flex !important;
  align-items: center !important;
}

.topbar-inner,
.topbar .container {
  min-height: 46px !important;
  height: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.topbar-info,
.socials {
  align-items: center !important;
}

.topbar-info span,
.topbar-info a,
.topbar-phone {
  line-height: 1.6 !important;
  display: inline-flex !important;
  align-items: center !important;
}

.topbar-phone {
  height: 34px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.social-link {
  display: inline-grid !important;
  place-items: center !important;
  align-self: center !important;
}

@media (max-width: 720px) {
  .topbar {
    padding: 8px 0 !important;
  }

  .topbar-inner,
  .topbar .container {
    row-gap: 8px !important;
  }
}

