/* NoorVista 3.0.161 — definitive mobile UX overhaul */
:root{--nv161-navy:#0a2540;--nv161-blue:#1268d8;--nv161-cyan:#00a9c6;--nv161-line:#d8e7f3;--nv161-white:#fff}

/* Homepage quick tiles: clean luminous cards, no fake decorative shadow */
body.nv-home-page .nv-quick-services{padding:14px 0 22px!important;background:#fff!important}
body.nv-home-page .nv-quick-services__shell{width:min(calc(100% - 24px),1140px)!important}
body.nv-home-page .nv-quick-services__grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
body.nv-home-page .nv-quick-service{
  min-height:128px!important;padding:17px 12px!important;gap:10px!important;
  border-radius:22px!important;background:linear-gradient(145deg,#0c2f64,#104faf)!important;
  border:1px solid rgba(95,208,255,.68)!important;color:#fff!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.1) inset,0 0 20px rgba(0,188,212,.18)!important;
  overflow:hidden!important;transform:none!important;filter:none!important
}
body.nv-home-page .nv-quick-service::before,body.nv-home-page .nv-quick-service::after{content:none!important;display:none!important}
body.nv-home-page .nv-quick-service--eyelid{background:linear-gradient(145deg,#103e82,#165fd1)!important}
body.nv-home-page .nv-quick-service--ptosis{background:linear-gradient(145deg,#183d93,#2838be)!important}
body.nv-home-page .nv-quick-service--exam{background:linear-gradient(145deg,#0f356e,#153e9d)!important}
body.nv-home-page .nv-quick-service:hover,body.nv-home-page .nv-quick-service:focus-visible{transform:translateY(-2px)!important;box-shadow:0 0 0 1px rgba(255,255,255,.14) inset,0 0 26px rgba(0,188,212,.26)!important}
body.nv-home-page .nv-quick-service__icon{width:54px!important;height:54px!important;border-radius:16px!important;background:rgba(255,255,255,.06)!important;border:1px solid rgba(131,224,255,.42)!important;box-shadow:0 0 16px rgba(69,211,255,.12)!important}
body.nv-home-page .nv-quick-service__icon svg{width:36px!important;height:36px!important;stroke:#a9ecff!important;stroke-width:2.15!important}
body.nv-home-page .nv-quick-service__title{font-size:14px!important;line-height:1.55!important;color:#fff!important;font-weight:900!important}
body.nv-home-page .nv-quick-service__meta{display:none!important}

/* Map only */
body.nv-home-page .home-location-grid--map-only{display:block!important;width:100%!important;grid-template-columns:1fr!important}
body.nv-home-page .home-location-grid--map-only .home-location-map-card{width:100%!important;max-width:none!important;margin:0!important}
body.nv-home-page .home-location-grid--map-only .home-neshan-map{width:100%!important;min-height:440px!important}

@media(max-width:900px){
  html.nv161-menu-lock,body.nv161-menu-lock{overflow:hidden!important}
  body:not([data-panel-role]) header.navbar{height:52px!important;min-height:52px!important;background:#fff!important;z-index:1500!important;border-bottom:1px solid #dae8f3!important;box-shadow:0 5px 16px rgba(10,37,64,.06)!important}
  body:not([data-panel-role]) header.navbar .nav-inner,body:not([data-panel-role]) .navbar .container.nav-inner{
    width:calc(100% - 16px)!important;height:52px!important;min-height:52px!important;margin:auto!important;padding:0!important;
    display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;grid-template-areas:"toggle brand"!important;align-items:center!important;gap:8px!important
  }
  body:not([data-panel-role]) header.navbar .brand{grid-area:brand!important;justify-self:end!important;max-width:148px!important;width:auto!important;height:45px!important;margin:0!important;overflow:hidden!important}
  body:not([data-panel-role]) header.navbar .brand>div:not(.brand-logo){display:none!important}
  body:not([data-panel-role]) header.navbar .brand .brand-logo,body:not([data-panel-role]) header.navbar .brand .brand-logo-image{width:auto!important;max-width:148px!important;height:45px!important;margin:0!important}
  body:not([data-panel-role]) header.navbar .brand img{display:block!important;width:auto!important;max-width:100%!important;height:100%!important;object-fit:contain!important;object-position:right center!important}
  body:not([data-panel-role]) header.navbar .mobile-toggle,body:not([data-panel-role]) header.navbar #mobileToggle{
    grid-area:toggle!important;display:grid!important;place-items:center!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;padding:0!important;margin:0!important;
    border:1px solid #cfe0ed!important;border-radius:11px!important;background:#f7fbfe!important;color:#0a2540!important;z-index:1525!important
  }
  body:not([data-panel-role]) header.navbar nav{
    display:block!important;position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;
    width:min(86vw,340px)!important;height:100dvh!important;margin:0!important;padding:70px 14px 94px!important;
    overflow-y:auto!important;background:#fff!important;border-left:1px solid #d5e4ef!important;box-shadow:-20px 0 54px rgba(6,31,53,.22)!important;
    transform:translateX(105%)!important;opacity:1!important;visibility:visible!important;z-index:1510!important;transition:transform .22s ease!important
  }
  body.nv161-menu-open:not([data-panel-role]) header.navbar nav{transform:translateX(0)!important}
  body.nv161-menu-open::before{content:""!important;display:block!important;position:fixed!important;inset:0!important;background:rgba(5,24,41,.5)!important;backdrop-filter:blur(2px)!important;z-index:1505!important}
  body:not([data-panel-role]) header.navbar nav .nv161-menu-close{display:grid!important;place-items:center!important;position:absolute!important;top:13px!important;left:13px!important;width:38px!important;height:38px!important;border:1px solid #d5e4ef!important;border-radius:11px!important;background:#f6fafc!important;color:#0a2540!important;font-size:24px!important;line-height:1!important}
  body:not([data-panel-role]) header.navbar .menu,body:not([data-panel-role]) header.navbar #menu{display:flex!important;flex-direction:column!important;gap:5px!important;width:100%!important;margin:0!important;padding:0!important;background:transparent!important;opacity:1!important;visibility:visible!important;transform:none!important;list-style:none!important}
  body:not([data-panel-role]) header.navbar .menu>li{display:block!important;width:100%!important;margin:0!important;padding:0!important;border:0!important}
  body:not([data-panel-role]) header.navbar .menu>li>a{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;min-height:43px!important;padding:9px 11px!important;border:1px solid transparent!important;border-radius:11px!important;background:#fff!important;color:#17344f!important;font-size:13px!important;font-weight:850!important;line-height:1.55!important;text-align:right!important;opacity:1!important;visibility:visible!important;white-space:normal!important}
  body:not([data-panel-role]) header.navbar .menu>li>a.active,body:not([data-panel-role]) header.navbar .menu>li>a:hover{background:#eef8ff!important;border-color:#d6e9f7!important;color:#0874ad!important}
  body:not([data-panel-role]) header.navbar .mega-menu{position:static!important;display:none!important;width:100%!important;margin:5px 0 0!important;padding:8px!important;grid-template-columns:1fr!important;gap:8px!important;border:1px solid #dce9f3!important;border-radius:12px!important;background:#f7fbfe!important;box-shadow:none!important;opacity:1!important;visibility:visible!important;transform:none!important}
  body:not([data-panel-role]) header.navbar .has-mega.nv161-submenu-open>.mega-menu{display:grid!important}
  body:not([data-panel-role]) header.navbar .mega-col{display:grid!important;gap:3px!important}
  body:not([data-panel-role]) header.navbar .mega-col strong{margin:5px 5px 2px!important;color:#076a9b!important;font-size:11.5px!important}
  body:not([data-panel-role]) header.navbar .mega-col a{display:block!important;padding:7px 8px!important;border-radius:8px!important;background:#fff!important;color:#48647d!important;font-size:11px!important;font-weight:700!important;line-height:1.55!important}
  body:not([data-panel-role]) header.navbar .nav-actions{display:flex!important;position:fixed!important;right:14px!important;bottom:16px!important;width:min(calc(86vw - 28px),312px)!important;gap:7px!important;padding:8px!important;margin:0!important;border:1px solid #dae7f1!important;border-radius:14px!important;background:#fff!important;box-shadow:0 12px 30px rgba(10,37,64,.14)!important;transform:translateX(115%)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;z-index:1520!important;transition:transform .22s ease,opacity .16s ease!important}
  body.nv161-menu-open:not([data-panel-role]) header.navbar .nav-actions{transform:translateX(0)!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}
  body:not([data-panel-role]) header.navbar .nav-actions .btn{display:flex!important;align-items:center!important;justify-content:center!important;flex:1!important;min-width:0!important;min-height:40px!important;padding:0 8px!important;border-radius:10px!important;font-size:11px!important;white-space:nowrap!important}

  /* Persistent bottom booking/consult bar on every public page */
  body:not([data-panel-role]){padding-bottom:58px!important}
  body:not([data-panel-role]) .floating-actions{display:none!important}
  .nv161-mobile-actions{position:fixed!important;right:0!important;bottom:0!important;left:0!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;padding:7px max(9px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(9px,env(safe-area-inset-left))!important;background:rgba(255,255,255,.96)!important;border-top:1px solid #d8e6f1!important;box-shadow:0 -9px 24px rgba(7,34,58,.12)!important;backdrop-filter:blur(10px)!important;z-index:1450!important}
  .nv161-mobile-actions button{min-height:42px!important;border:0!important;border-radius:13px!important;font:800 12px/1.2 inherit!important;cursor:pointer!important}
  .nv161-mobile-actions__booking{background:linear-gradient(135deg,#138ad8,#08a9c1)!important;color:#fff!important}
  .nv161-mobile-actions__consult{background:linear-gradient(135deg,#ff8b63,#ff7047)!important;color:#fff!important}
  body.nv161-menu-open .nv161-mobile-actions,body.nv-booking-open .nv161-mobile-actions,body.chatbot-open .nv161-mobile-actions{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
}

@media(max-width:760px){
  /* Keep the complete hero and four tiles visible in a single phone viewport */
  body.nv-home-page .nv-home-slider{width:100%!important;height:232px!important;min-height:232px!important;max-height:232px!important;margin:0!important;border-radius:0!important}
  body.nv-home-page .nv-home-slide__image{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important}
  body.nv-home-page .nv-home-slide__veil{background:linear-gradient(180deg,rgba(4,24,43,.22),rgba(4,28,50,.64))!important}
  body.nv-home-page .nv-home-slide[data-content-position] .nv-home-slide__content,body.nv-home-page .nv-home-slide__content{width:calc(100% - 24px)!important;height:100%!important;max-width:390px!important;margin:0 auto!important;padding:13px 8px 23px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;inset:0!important}
  body.nv-home-page .nv-home-slide__eyebrow{display:none!important}
  body.nv-home-page .nv-home-slide__title{width:100%!important;max-width:340px!important;margin:0 auto!important;font-size:clamp(17px,5.1vw,20px)!important;line-height:1.38!important;text-align:center!important;letter-spacing:-.02em!important}
  body.nv-home-page .nv-home-slide__subtitle{max-width:330px!important;margin:5px auto 0!important;font-size:10px!important;line-height:1.65!important;text-align:center!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  body.nv-home-page .nv-home-slide__actions,body.nv-home-page .nv-home-slide[data-content-position] .nv-home-slide__actions{width:min(100%,270px)!important;margin:8px auto 0!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important}
  body.nv-home-page .nv-home-slide__action{width:100%!important;min-height:34px!important;height:34px!important;padding:0 8px!important;border-radius:10px!important;font-size:9.5px!important;line-height:1.2!important}
  body.nv-home-page .nv-home-slide__trust,body.nv-home-page .nv-home-slider__arrow{display:none!important}
  body.nv-home-page .nv-home-slider__footer{bottom:4px!important}
  body.nv-home-page .nv-home-slider__dot{width:5px!important;height:5px!important}
  body.nv-home-page .nv-home-slider__dot.is-active{width:16px!important}
  body.nv-home-page .nv-quick-services{padding:8px 0 12px!important}
  body.nv-home-page .nv-quick-services__shell{width:calc(100% - 16px)!important}
  body.nv-home-page .nv-quick-services__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  body.nv-home-page .nv-quick-service{min-height:96px!important;padding:9px 6px!important;gap:5px!important;border-radius:16px!important;box-shadow:0 0 0 1px rgba(255,255,255,.1) inset,0 0 14px rgba(0,188,212,.16)!important}
  body.nv-home-page .nv-quick-service__icon{width:42px!important;height:42px!important;border-radius:13px!important;box-shadow:0 0 11px rgba(69,211,255,.1)!important}
  body.nv-home-page .nv-quick-service__icon svg{width:28px!important;height:28px!important}
  body.nv-home-page .nv-quick-service__title{font-size:11px!important;line-height:1.4!important}
  body.nv-home-page .home-location-section .container{width:100%!important;max-width:none!important;padding-inline:0!important}
  body.nv-home-page .home-location-section .section-head{padding-inline:14px!important}
  body.nv-home-page .home-location-grid--map-only .home-location-map-card{border-radius:0!important;border-inline:0!important}
  body.nv-home-page .home-location-grid--map-only .home-neshan-map{min-height:340px!important;border-radius:0!important}
}

@media(max-width:390px){
  body.nv-home-page .nv-home-slider{height:216px!important;min-height:216px!important;max-height:216px!important}
  body.nv-home-page .nv-home-slide__title{font-size:17px!important}
  body.nv-home-page .nv-home-slide__subtitle{font-size:9.5px!important}
  body.nv-home-page .nv-quick-service{min-height:91px!important}
  body.nv-home-page .nv-quick-service__icon{width:39px!important;height:39px!important}
}

@media(prefers-reduced-motion:reduce){body:not([data-panel-role]) header.navbar nav,body:not([data-panel-role]) header.navbar .nav-actions{transition:none!important}}
