/* NoorVista 3.0.5 final public cleanup: stable topbar, nav active state, hero spacing, footer flicker guard */
body:not([data-panel-role]) .topbar,
body:not([data-panel-role]) .topbar *{box-sizing:border-box!important}
body:not([data-panel-role]) .topbar{display:block!important;width:100%!important;background:linear-gradient(135deg,#062f43 0%,#07384f 100%)!important;color:#e0f7ff!important;border:0!important;overflow:hidden!important;box-shadow:0 10px 24px rgba(15,23,42,.12)!important;position:relative!important;z-index:50!important}
body:not([data-panel-role]) .topbar .topbar-inner,body:not([data-panel-role]) .topbar .container{display:block!important;width:100%!important;max-width:var(--nv-container,1180px)!important;margin-inline:auto!important;padding-block:0!important}
body:not([data-panel-role]) .topbar .topbar-info,body:not([data-panel-role]) .topbar .socials,body:not([data-panel-role]) .topbar .nv-topbar169{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
body:not([data-panel-role]) .topbar .nv-final-topbar{visibility:visible!important;opacity:1!important;pointer-events:auto!important}
body:not([data-panel-role]) .nv-final-topbar{width:100%!important;direction:ltr!important;display:flex!important;align-items:center!important;justify-content:space-between!important;min-width:0!important}
body:not([data-panel-role]) .nv-final-topbar__socials,body:not([data-panel-role]) .nv-final-topbar__contacts{display:flex!important;align-items:center!important;min-width:0!important;height:100%!important}
body:not([data-panel-role]) .nv-final-topbar__socials{order:1!important;margin-right:auto!important;justify-content:flex-start!important;direction:ltr!important;gap:10px!important}
body:not([data-panel-role]) .nv-final-topbar__contacts{order:2!important;margin-left:auto!important;justify-content:flex-end!important;direction:rtl!important;gap:26px!important}
body:not([data-panel-role]) .nv-final-topbar__item{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#e0f7ff!important;text-decoration:none!important;font-weight:850!important;line-height:1!important;white-space:nowrap!important;vertical-align:middle!important;font-variant-numeric:normal!important}
body:not([data-panel-role]) .nv-final-topbar__item:hover{color:#fff!important}
body:not([data-panel-role]) .nv-final-topbar__icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:18px!important;height:18px!important;min-width:18px!important;flex:0 0 18px!important;color:#7dd3fc!important;line-height:0!important;vertical-align:middle!important}
body:not([data-panel-role]) .nv-final-topbar__icon svg{display:block!important;width:18px!important;height:18px!important;fill:currentColor!important}
body:not([data-panel-role]) .nv-final-topbar__text{display:inline-block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:1!important;vertical-align:middle!important;transform:translateY(0)!important}
body:not([data-panel-role]) .nv-final-topbar__item--phone .nv-final-topbar__text{direction:ltr!important;unicode-bidi:isolate!important;font-family:Vazirmatn,Vazir,Tahoma,Arial,sans-serif!important;letter-spacing:.01em!important}
body:not([data-panel-role]) .nv-final-topbar__social{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:30px!important;height:30px!important;margin:0!important;padding:0!important;border-radius:9px!important;background:transparent!important;box-shadow:none!important;text-decoration:none!important;line-height:0!important;transition:background-color .16s ease,transform .16s ease!important}
body:not([data-panel-role]) .nv-final-topbar__social:hover{background:rgba(255,255,255,.12)!important;transform:translateY(-1px)!important}
body:not([data-panel-role]) .nv-final-topbar__social img{display:block!important;width:21px!important;height:21px!important;object-fit:contain!important;margin:0!important;padding:0!important}
body:not([data-panel-role]) .nv-final-topbar__mobile-address,body:not([data-panel-role]) .nv-final-topbar__mobile-call{display:none!important}
body:not([data-panel-role]) .nv-chatbot-closed-hard{display:none!important}
body:not([data-panel-role]) .nv-final-topbar-toast{position:fixed!important;left:50%!important;bottom:86px!important;transform:translateX(-50%) translateY(12px)!important;z-index:99999!important;background:rgba(15,23,42,.94)!important;color:#fff!important;padding:9px 16px!important;border-radius:999px!important;font-size:13px!important;font-weight:850!important;opacity:0!important;pointer-events:none!important;transition:.18s ease!important}
body:not([data-panel-role]) .nv-final-topbar-toast.is-visible{opacity:1!important;transform:translateX(-50%) translateY(0)!important}
@media(min-width:721px){body:not([data-panel-role]) .topbar,body:not([data-panel-role]) .topbar .topbar-inner,body:not([data-panel-role]) .topbar .container,body:not([data-panel-role]) .nv-final-topbar{height:54px!important;min-height:54px!important}body:not([data-panel-role]) .topbar .topbar-inner,body:not([data-panel-role]) .topbar .container{padding-inline:24px!important}body:not([data-panel-role]) .nv-final-topbar{gap:28px!important}body:not([data-panel-role]) .nv-final-topbar__contacts{max-width:74%!important}body:not([data-panel-role]) .nv-final-topbar__socials{max-width:26%!important}body:not([data-panel-role]) .nv-final-topbar__item{height:54px!important;min-height:54px!important;font-size:14px!important}body:not([data-panel-role]) .nv-final-topbar__item--location .nv-final-topbar__text{max-width:260px!important}body:not([data-panel-role]) .nv-final-topbar__item--clock .nv-final-topbar__text{max-width:180px!important}body:not([data-panel-role]) .nv-final-topbar__item--phone .nv-final-topbar__text{max-width:150px!important}}
@media(max-width:720px){body:not([data-panel-role]) .topbar,body:not([data-panel-role]) .topbar .topbar-inner,body:not([data-panel-role]) .topbar .container,body:not([data-panel-role]) .nv-final-topbar{height:44px!important;min-height:44px!important}body:not([data-panel-role]) .topbar .topbar-inner,body:not([data-panel-role]) .topbar .container{max-width:none!important;padding-inline:12px!important}body:not([data-panel-role]) .nv-final-topbar{display:grid!important;grid-template-columns:36px minmax(80px,1fr) 136px!important;grid-template-areas:'call socials address'!important;align-items:center!important;gap:8px!important;direction:ltr!important}body:not([data-panel-role]) .nv-final-topbar__contacts{display:none!important}body:not([data-panel-role]) .nv-final-topbar__socials{grid-area:socials!important;display:flex!important;justify-content:center!important;gap:8px!important;max-width:none!important}body:not([data-panel-role]) .nv-final-topbar__mobile-address{grid-area:address!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;direction:rtl!important;min-width:0!important}body:not([data-panel-role]) .nv-final-topbar__mobile-call{grid-area:call!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:32px!important;border-radius:10px!important;background:rgba(255,255,255,.09)!important;color:#e0f7ff!important}.nv-final-topbar__mobile-address .nv-final-topbar__item{max-width:136px!important;font-size:11px!important;gap:6px!important}.nv-final-topbar__mobile-address .nv-final-topbar__text{max-width:106px!important}.nv-final-topbar__mobile-address .nv-final-topbar__icon,.nv-final-topbar__mobile-address .nv-final-topbar__icon svg{width:15px!important;height:15px!important;min-width:15px!important;flex-basis:15px!important}body:not([data-panel-role]) .nv-final-topbar__social{width:27px!important;height:27px!important}body:not([data-panel-role]) .nv-final-topbar__social img{width:20px!important;height:20px!important}}
body:not([data-panel-role]) .navbar .menu>li>a{background:transparent!important;box-shadow:none!important;color:#0f172a!important;border-color:transparent!important}
body:not([data-panel-role]) .navbar .menu>li>a:hover{background:#f0f9ff!important;color:#075985!important;box-shadow:inset 0 0 0 1px rgba(8,145,178,.10)!important}
body:not([data-panel-role]) .navbar .menu>li>a.active,body:not([data-panel-role]) .navbar .menu>li>a[aria-current="page"]{background:#e0f2fe!important;color:#075985!important;box-shadow:inset 0 0 0 1px rgba(8,145,178,.16)!important}
body:not([data-panel-role]) .hero{padding-top:36px!important;margin-top:0!important}
body:not([data-panel-role]) .hero .hero-grid{padding-top:0!important}
@media(max-width:720px){body:not([data-panel-role]) .hero{padding-top:24px!important}}
body:not([data-panel-role]) .footer .contact-list,body:not([data-panel-role]) .footer .contact-list *{transition:none!important;animation:none!important}

/* NoorVista 3.0.35 — mobile final topbar address locked to the physical right edge */
@media (max-width: 720px) {
  body:not([data-panel-role]) .nv-final-topbar {
    grid-template-columns: 36px minmax(76px, 1fr) 142px !important;
    grid-template-areas: 'call socials address' !important;
    padding-inline: 8px 0 !important;
  }

  body:not([data-panel-role]) .nv-final-topbar__mobile-address {
    justify-content: flex-start !important;
    justify-self: end !important;
    width: 142px !important;
    max-width: 142px !important;
    padding-right: 8px !important;
    padding-left: 0 !important;
    text-align: right !important;
    direction: rtl !important;
  }

  body:not([data-panel-role]) .nv-final-topbar__mobile-address .nv-final-topbar__item {
    width: 134px !important;
    max-width: 134px !important;
    justify-content: flex-start !important;
    direction: rtl !important;
  }

  body:not([data-panel-role]) .nv-final-topbar__mobile-address .nv-final-topbar__text {
    max-width: 111px !important;
    text-align: right !important;
  }
}

/* NoorVista 3.0.37 — responsive public footer layout polish */
body:not([data-panel-role]) .footer,
body:not([data-panel-role]) .footer * {
  box-sizing: border-box !important;
}

body:not([data-panel-role]) .footer {
  overflow: hidden !important;
}

body:not([data-panel-role]) .footer .footer-grid {
  direction: rtl !important;
  align-items: start !important;
}

body:not([data-panel-role]) .footer .footer-grid > div {
  min-width: 0 !important;
}

body:not([data-panel-role]) .footer .footer-grid > div:nth-child(2),
body:not([data-panel-role]) .footer .footer-grid > div:nth-child(3) {
  text-align: right !important;
  direction: rtl !important;
}

body:not([data-panel-role]) .footer .footer-grid > div:nth-child(2) h3,
body:not([data-panel-role]) .footer .footer-grid > div:nth-child(3) h3 {
  margin: 0 0 14px !important;
  color: #f8fbff !important;
  font-weight: 950 !important;
  line-height: 1.6 !important;
}

body:not([data-panel-role]) .footer .footer-grid > div:nth-child(2) ul,
body:not([data-panel-role]) .footer .footer-grid > div:nth-child(3) ul {
  display: grid !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body:not([data-panel-role]) .footer .footer-grid > div:nth-child(2) li,
body:not([data-panel-role]) .footer .footer-grid > div:nth-child(3) li {
  display: block !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.8 !important;
}

body:not([data-panel-role]) .footer .footer-grid > div:nth-child(2) li > a,
body:not([data-panel-role]) .footer .footer-grid > div:nth-child(3) li > a {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  width: 100% !important;
  min-width: 0 !important;
  color: #d9edf8 !important;
  font-weight: 800 !important;
  line-height: 1.9 !important;
  text-align: right !important;
  direction: rtl !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body:not([data-panel-role]) .footer .footer-grid > div:nth-child(2) li > a::before,
body:not([data-panel-role]) .footer .footer-grid > div:nth-child(3) li > a::before {
  content: "" !important;
  flex: 0 0 7px !important;
  width: 7px !important;
  height: 7px !important;
  margin-top: .72em !important;
  border-radius: 999px !important;
  background: #22d3ee !important;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .12) !important;
}

body:not([data-panel-role]) .footer .footer-grid > div:nth-child(2) li > a:hover,
body:not([data-panel-role]) .footer .footer-grid > div:nth-child(3) li > a:hover {
  color: #67e8f9 !important;
}

@media (min-width: 721px) {
  body:not([data-panel-role]) .footer .footer-grid {
    grid-template-columns: minmax(240px, 1.25fr) minmax(150px, .82fr) minmax(180px, .92fr) minmax(260px, 1.08fr) !important;
    gap: 30px 40px !important;
  }
}

@media (max-width: 720px) {
  body:not([data-panel-role]) .footer {
    padding: 44px 0 94px !important;
    margin-top: 22px !important;
  }

  body:not([data-panel-role]) .footer .container {
    width: min(100% - 28px, 520px) !important;
  }

  body:not([data-panel-role]) .footer .footer-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 16px !important;
    padding-bottom: 28px !important;
    border-bottom-color: rgba(226, 232, 240, .14) !important;
  }

  body:not([data-panel-role]) .footer .footer-grid > div:first-child,
  body:not([data-panel-role]) .footer .footer-grid > div:nth-child(4),
  body:not([data-panel-role]) .footer .footer-grid > div:last-child {
    grid-column: 1 / -1 !important;
  }

  body:not([data-panel-role]) .footer .footer-grid > div:first-child {
    text-align: center !important;
    padding: 0 4px 4px !important;
  }

  body:not([data-panel-role]) .footer .footer-brand {
    justify-content: center !important;
    margin-bottom: 14px !important;
  }

  body:not([data-panel-role]) .footer .footer-grid > div:first-child > p {
    max-width: 420px !important;
    margin: 0 auto !important;
    color: #d9edf8 !important;
    line-height: 2 !important;
  }

  body:not([data-panel-role]) .footer .footer-grid > div:nth-child(2),
  body:not([data-panel-role]) .footer .footer-grid > div:nth-child(3) {
    min-height: 100% !important;
    padding: 16px 13px 15px !important;
    border: 1px solid rgba(125, 211, 252, .15) !important;
    border-radius: 20px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05) !important;
  }

  body:not([data-panel-role]) .footer .footer-grid > div:nth-child(2) h3,
  body:not([data-panel-role]) .footer .footer-grid > div:nth-child(3) h3 {
    font-size: 15px !important;
    margin-bottom: 11px !important;
  }

  body:not([data-panel-role]) .footer .footer-grid > div:nth-child(2) ul,
  body:not([data-panel-role]) .footer .footer-grid > div:nth-child(3) ul {
    gap: 7px !important;
  }

  body:not([data-panel-role]) .footer .footer-grid > div:nth-child(2) li > a,
  body:not([data-panel-role]) .footer .footer-grid > div:nth-child(3) li > a {
    gap: 8px !important;
    font-size: 13px !important;
    line-height: 1.95 !important;
  }

  body:not([data-panel-role]) .footer .footer-grid > div:nth-child(2) li > a::before,
  body:not([data-panel-role]) .footer .footer-grid > div:nth-child(3) li > a::before {
    flex-basis: 6px !important;
    width: 6px !important;
    height: 6px !important;
    margin-top: .78em !important;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, .11) !important;
  }

  body:not([data-panel-role]) .footer .footer-grid > div:nth-child(4),
  body:not([data-panel-role]) .footer .footer-grid > div:last-child {
    margin-top: 2px !important;
    padding-top: 2px !important;
    text-align: center !important;
  }

  body:not([data-panel-role]) .footer .footer-grid > div:nth-child(4) h3,
  body:not([data-panel-role]) .footer .footer-grid > div:last-child h3 {
    text-align: center !important;
    margin-bottom: 13px !important;
  }

  body:not([data-panel-role]) .footer .nv-static-footer-contact-list,
  body:not([data-panel-role]) .footer .contact-list {
    width: 100% !important;
    max-width: 440px !important;
    margin-inline: auto !important;
  }

  body:not([data-panel-role]) .footer .nv-static-footer-socials,
  body:not([data-panel-role]) .footer .footer-socials {
    justify-content: center !important;
  }

  body:not([data-panel-role]) .footer .nv-static-footer-bottom,
  body:not([data-panel-role]) .footer .footer-bottom {
    justify-content: center !important;
    text-align: center !important;
    gap: 8px 12px !important;
    padding-top: 18px !important;
  }
}

@media (max-width: 390px) {
  body:not([data-panel-role]) .footer .container {
    width: min(100% - 20px, 520px) !important;
  }

  body:not([data-panel-role]) .footer .footer-grid {
    gap: 12px !important;
  }

  body:not([data-panel-role]) .footer .footer-grid > div:nth-child(2),
  body:not([data-panel-role]) .footer .footer-grid > div:nth-child(3) {
    padding: 14px 10px !important;
    border-radius: 18px !important;
  }

  body:not([data-panel-role]) .footer .footer-grid > div:nth-child(2) h3,
  body:not([data-panel-role]) .footer .footer-grid > div:nth-child(3) h3 {
    font-size: 14px !important;
  }

  body:not([data-panel-role]) .footer .footer-grid > div:nth-child(2) li > a,
  body:not([data-panel-role]) .footer .footer-grid > div:nth-child(3) li > a {
    font-size: 12.5px !important;
    gap: 7px !important;
  }
}

/* NoorVista 3.0.39 — center footer social icons on mobile while keeping clinic info RTL/right-aligned */
@media (max-width: 720px) {
  body:not([data-panel-role]) .footer .footer-grid > div:nth-child(4) .footer-socials,
  body:not([data-panel-role]) .footer .footer-grid > div:nth-child(4) .nv-static-footer-socials,
  body:not([data-panel-role]) .footer .footer-socials.compact-socials,
  body:not([data-panel-role]) .footer .footer-socials,
  body:not([data-panel-role]) .footer .nv-static-footer-socials {
    display: flex !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 14px auto 0 !important;
    padding: 0 !important;
    justify-content: center !important;
    align-items: center !important;
    justify-items: center !important;
    text-align: center !important;
    direction: ltr !important;
    gap: 10px !important;
  }

  body:not([data-panel-role]) .footer .footer-grid > div:nth-child(4) .footer-socials > a,
  body:not([data-panel-role]) .footer .footer-grid > div:nth-child(4) .nv-static-footer-socials > a,
  body:not([data-panel-role]) .footer .footer-socials.compact-socials > a,
  body:not([data-panel-role]) .footer .footer-socials > a,
  body:not([data-panel-role]) .footer .nv-static-footer-socials > a {
    flex: 0 0 auto !important;
    margin-inline: 0 !important;
  }
}

@media (max-width: 360px) {
  body:not([data-panel-role]) .footer .footer-socials,
  body:not([data-panel-role]) .footer .nv-static-footer-socials {
    max-width: 100% !important;
  }
}
