/* header-global meryosab electronics web devolper resume.meryosab.com */
:root {
    color-scheme: dark;
    --bg: #050505;
    --text: #fafafa;
    --text-soft: rgba(250,250,250,.76);
    --muted: #a1a1aa;
    --line: rgba(255,255,255,.12);
    --line-strong: rgba(255,255,255,.22);
    --white: #ffffff;
    --black: #000000;
    --blue: #60a5fa;
    --violet: #a78bfa;
    --ease: cubic-bezier(.16, 1, .3, 1);
    --container: 1168px;
    --msb-header-height: 84px;
    --msb-admin-bar-height: 0px;
  }
  html[data-msb-theme="light"] {
    color-scheme: light;
    --bg: #f5f5f7;
    --text: #1d1d1f;
    --text-soft: rgba(29,29,31,.76);
    --muted: #6e6e73;
    --line: rgba(0,0,0,.10);
    --line-strong: rgba(0,0,0,.18);
    --white: #1d1d1f;
    --black: #ffffff;
  }
  body:has(#msb-header-global) {
    padding-top: calc(var(--msb-header-height, 84px) + var(--msb-admin-bar-height, 0px)) !important;
    background: var(--bg) !important;
    background-color: var(--bg) !important;
  }
  body:has(#msb-header-global) .wp-site-blocks > header:has(#msb-header-global),
  body:has(#msb-header-global) .wp-block-template-part:has(#msb-header-global),
  body:has(#msb-header-global) .wp-block-html:has(#msb-header-global) {
    margin: 0 !important;
    padding: 0 !important;
    background: var(--bg) !important;
    background-color: var(--bg) !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  body.admin-bar:has(#msb-header-global) {
    --msb-admin-bar-height: 32px;
  }
  @media (max-width: 782px) {
    body.admin-bar:has(#msb-header-global) {
      --msb-admin-bar-height: 46px;
    }
  }
  #msb-header-global,
  #msb-header-global * {
    box-sizing: border-box;
  }
  #msb-header-global.site-header {
    position: fixed !important;
    top: var(--msb-admin-bar-height, 0px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    padding: 14px 0 !important;
    margin: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    pointer-events: none !important;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
  #msb-header-global.site-header::before,
  #msb-header-global.site-header::after {
    display: none !important;
    content: none !important;
  }
  #msb-header-global a {
    color: inherit;
    text-decoration: none;
  }
  #msb-header-global svg {
    display: block;
  }
  #msb-header-global .container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
  }
  #msb-header-global .nav-shell {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(8,8,8,.72);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 24px 80px rgba(0,0,0,.45);
    backdrop-filter: saturate(180%) blur(22px);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
    pointer-events: auto;
    overflow: visible;
    isolation: isolate;
  }
  html[data-msb-theme="light"] #msb-header-global .nav-shell {
    border-color: rgba(0,0,0,.14);
    background: rgba(255,255,255,.78);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.80), 0 18px 55px rgba(0,0,0,.10);
  }
  #msb-header-global .logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
  }
  #msb-header-global .logo-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    background:
      linear-gradient(#000, #000) padding-box,
      conic-gradient(from 140deg, #fff, rgba(255,255,255,.18), #60a5fa, #a78bfa, #fff) border-box;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: -.04em;
    box-shadow: 0 0 42px rgba(255,255,255,.10);
  }
  html[data-msb-theme="light"] #msb-header-global .logo-mark {
    border-color: rgba(0,0,0,.18);
    background:
      linear-gradient(#000, #000) padding-box,
      conic-gradient(from 140deg, #000, rgba(0,0,0,.22), #6b7280, #9ca3af, #000) border-box;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }
  #msb-header-global .logo-text {
    display: grid;
    line-height: 1;
  }
  #msb-header-global .logo-text strong {
    color: var(--text);
    font-size: .97rem;
    font-weight: 820;
    letter-spacing: -.03em;
  }
  #msb-header-global .logo-text span {
    margin-top: 4px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 650;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  #msb-header-global .nav-links {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    background: rgba(255,255,255,.035);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  html[data-msb-theme="light"] #msb-header-global .nav-links {
    border-color: rgba(0,0,0,.12);
    background: rgba(0,0,0,.035);
  }
  #msb-header-global .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 650;
    transition: color .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease);
  }
  #msb-header-global .nav-link:hover,
  #msb-header-global .nav-link:focus-visible,
  #msb-header-global .nav-link[aria-current="page"] {
    color: var(--text);
    background: rgba(255,255,255,.085);
    outline: none;
  }
  html[data-msb-theme="light"] #msb-header-global .nav-link {
    color: #5f6368;
  }
  html[data-msb-theme="light"] #msb-header-global .nav-link:hover,
  html[data-msb-theme="light"] #msb-header-global .nav-link:focus-visible,
  html[data-msb-theme="light"] #msb-header-global .nav-link[aria-current="page"] {
    color: #1d1d1f;
    background: rgba(255,255,255,.92);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 8px 22px rgba(0,0,0,.055);
  }
  #msb-header-global .header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  #msb-header-global .msb-header-lang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
  }
  #msb-header-global .msb-header-lang .switch-poly-msb-root {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
  }
  #msb-header-global .msb-header-lang .switch-poly-msb-trigger {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    padding: 0 !important;
    gap: 0 !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.06) !important;
    color: var(--text) !important;
    box-shadow: none !important;
    transform: none !important;
    transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease) !important;
  }
  #msb-header-global .msb-header-lang .switch-poly-msb-trigger:hover,
  #msb-header-global .msb-header-lang .switch-poly-msb-trigger:focus-visible,
  #msb-header-global .msb-header-lang .switch-poly-msb-trigger[aria-expanded="true"] {
    transform: translateY(-2px) !important;
    border-color: var(--line-strong) !important;
    background: rgba(255,255,255,.10) !important;
    color: var(--text) !important;
    outline: none !important;
    box-shadow: none !important;
  }
  html[data-msb-theme="light"] #msb-header-global .msb-header-lang .switch-poly-msb-trigger {
    border-color: rgba(0,0,0,.14) !important;
    background: rgba(255,255,255,.88) !important;
    color: #1d1d1f !important;
  }
  html[data-msb-theme="light"] #msb-header-global .msb-header-lang .switch-poly-msb-trigger:hover,
  html[data-msb-theme="light"] #msb-header-global .msb-header-lang .switch-poly-msb-trigger:focus-visible,
  html[data-msb-theme="light"] #msb-header-global .msb-header-lang .switch-poly-msb-trigger[aria-expanded="true"] {
    background: #ffffff !important;
    border-color: var(--line-strong) !important;
  }
  #msb-header-global .msb-header-lang .switch-poly-msb-burger {
    --msb-lang-globe-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M3.6%209h16.8M3.6%2015h16.8%22%2F%3E%3Cpath%20d%3D%22M12%203a13.8%2013.8%200%200%201%200%2018M12%203a13.8%2013.8%200%200%200%200%2018%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    display: block !important;
    color: inherit !important;
    background-color: currentColor !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: .96 !important;
    -webkit-mask-image: var(--msb-lang-globe-icon) !important;
    mask-image: var(--msb-lang-globe-icon) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
  }
  #msb-header-global .msb-header-lang .switch-poly-msb-burger span,
  #msb-header-global .msb-header-lang .switch-poly-msb-burger::before,
  #msb-header-global .msb-header-lang .switch-poly-msb-burger::after {
    display: none !important;
    content: none !important;
  }
  #msb-header-global .button {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 11px 16px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(255,255,255,.055);
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
    font-weight: 720;
    line-height: 1;
    overflow: hidden;
    transition: transform .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease), box-shadow .24s var(--ease), color .24s var(--ease);
  }
  #msb-header-global .button:hover,
  #msb-header-global .button:focus-visible {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    outline: none;
  }
  #msb-header-global .button-primary {
    border-color: var(--white);
    background: var(--white);
    color: var(--black);
  }
  #msb-header-global .theme-toggle,
  #msb-header-global .mobile-toggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: var(--text);
    cursor: pointer;
    line-height: 0;
    transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
  }
  #msb-header-global .theme-toggle:hover,
  #msb-header-global .theme-toggle:focus-visible,
  #msb-header-global .mobile-toggle:hover,
  #msb-header-global .mobile-toggle:focus-visible {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    outline: none;
  }
  html[data-msb-theme="light"] #msb-header-global .theme-toggle,
  html[data-msb-theme="light"] #msb-header-global .mobile-toggle {
    border-color: rgba(0,0,0,.14);
    background: rgba(255,255,255,.88);
    color: #1d1d1f;
  }
  #msb-header-global .theme-toggle svg {
    grid-area: 1 / 1;
    width: 18px;
    height: 18px;
    display: block;
    margin: 0;
  }
  #msb-header-global .theme-toggle .theme-toggle-sun {
    display: none;
  }
  #msb-header-global .theme-toggle .theme-toggle-moon {
    display: block;
    transform: translateX(-1px);
    transform-origin: center;
  }
  html[data-msb-theme="light"] #msb-header-global .theme-toggle .theme-toggle-moon {
    display: none;
  }
  html[data-msb-theme="light"] #msb-header-global .theme-toggle .theme-toggle-sun {
    display: block;
  }
  #msb-header-global .mobile-toggle {
    display: none;
  }
  @media (max-width: 1080px) {
    #msb-header-global .nav-links {
      display: none;
    }
    #msb-header-global .mobile-toggle {
      display: inline-grid;
    }
    #msb-header-global .nav-shell {
      border-radius: 24px;
    }
  }
  @media (max-width: 740px) {
    #msb-header-global.site-header {
      padding: 8px 0 !important;
    }
    #msb-header-global .container {
      width: min(100% - 24px, var(--container));
    }
    #msb-header-global .nav-shell {
      padding: 9px;
    }
    #msb-header-global .logo-mark {
      width: 40px;
      height: 40px;
    }
    #msb-header-global .header-actions .button {
      display: none;
    }
    #msb-header-global .mobile-menu-open .nav-links {
      position: absolute;
      left: 12px;
      right: 12px;
      top: calc(100% + 8px);
      display: grid;
      gap: 2px;
      padding: 8px;
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 22px;
      background: rgba(8,8,8,.94);
      box-shadow: 0 24px 80px rgba(0,0,0,.62);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
    }
    html[data-msb-theme="light"] #msb-header-global .mobile-menu-open .nav-links {
      border-color: rgba(0,0,0,.12);
      background: rgba(255,255,255,.94);
    }
    #msb-header-global .mobile-menu-open .nav-link {
      padding: 12px 14px;
    }
  }
/* MSBGROUP responsive adaptation patch — header only, media-only overrides. */
@media (max-width: 900px) {
  #msb-header-global.site-header {
    padding: 10px 0 !important;
  }
  #msb-header-global .container {
    width: min(100% - 24px, var(--container, 1168px)) !important;
  }
  #msb-header-global .nav-shell {
    min-height: 60px !important;
    gap: 10px !important;
    padding: 8px !important;
    border-radius: 24px !important;
  }
  #msb-header-global .logo-mark {
    width: 40px !important;
    height: 40px !important;
  }
  #msb-header-global .theme-toggle,
  #msb-header-global .mobile-toggle,
  #msb-header-global .msb-header-lang .switch-poly-msb-trigger {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
  }
  #msb-header-global .mobile-menu-open .nav-links {
    max-height: calc(100vh - var(--msb-header-height, 84px) - var(--msb-admin-bar-height, 0px) - 24px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}
@media (max-width: 520px) {
  #msb-header-global.site-header {
    padding: 8px 0 !important;
  }
  #msb-header-global .container {
    width: min(100% - 18px, var(--container, 1168px)) !important;
  }
  #msb-header-global .nav-shell {
    min-height: 56px !important;
    gap: 8px !important;
    padding: 7px !important;
    border-radius: 22px !important;
  }
  #msb-header-global .logo {
    gap: 9px !important;
    min-width: 0 !important;
  }
  #msb-header-global .logo-mark {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }
  #msb-header-global .logo-text strong {
    font-size: .88rem !important;
  }
  #msb-header-global .logo-text span {
    display: none !important;
  }
  #msb-header-global .header-actions {
    gap: 7px !important;
  }
  #msb-header-global .theme-toggle,
  #msb-header-global .mobile-toggle,
  #msb-header-global .msb-header-lang .switch-poly-msb-trigger {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
  }
  #msb-header-global .mobile-menu-open .nav-links {
    left: 7px !important;
    right: 7px !important;
    top: calc(100% + 7px) !important;
    border-radius: 20px !important;
  }
  #msb-header-global .mobile-menu-open .nav-link {
    min-height: 44px !important;
    padding: 12px 13px !important;
  }
}
/* Language modal — match MSBGROUP glass, hide Window Repair UAE */
.switch-poly-msb-modal,
.switch-poly-msb-modal * {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
.switch-poly-msb-overlay {
  background:
    radial-gradient(circle at 18% 8%, rgba(96,165,250,.14), transparent 32%),
    radial-gradient(circle at 88% 92%, rgba(167,139,250,.10), transparent 34%),
    rgba(5,5,5,.62) !important;
  backdrop-filter: saturate(160%) blur(16px) !important;
  -webkit-backdrop-filter: saturate(160%) blur(16px) !important;
}
.switch-poly-msb-dialog {
  width: min(420px, calc(100vw - 32px)) !important;
  min-width: 0 !important;
  max-width: calc(100vw - 32px) !important;
  padding: 22px 22px 20px !important;
  border-radius: 28px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  color: #fafafa !important;
  background: rgba(8,8,8,.86) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 28px 80px rgba(0,0,0,.55) !important;
  backdrop-filter: saturate(180%) blur(22px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(22px) !important;
  filter: none !important;
}
.switch-poly-msb-header {
  margin: 0 0 18px !important;
  padding: 0 0 16px !important;
  border-bottom: 1px solid rgba(255,255,255,.10) !important;
  align-items: flex-start !important;
}
.switch-poly-msb-eyebrow {
  display: none !important;
}
.switch-poly-msb-title {
  color: #fafafa !important;
  font-size: 1.35rem !important;
  font-weight: 780 !important;
  letter-spacing: -.045em !important;
  line-height: 1.15 !important;
}
.switch-poly-msb-close {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 999px !important;
  color: #fafafa !important;
  background: rgba(255,255,255,.06) !important;
  font-size: 22px !important;
  box-shadow: none !important;
}
.switch-poly-msb-close:hover {
  color: #ffffff !important;
  background: rgba(255,255,255,.12) !important;
  transform: translateY(-1px) !important;
}
.switch-poly-msb-flags {
  gap: 10px !important;
}
.switch-poly-msb-flag-button {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.05) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06) !important;
  opacity: 1 !important;
  transform: none !important;
}
.switch-poly-msb-flag-button:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(255,255,255,.28) !important;
  background: rgba(255,255,255,.10) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.28) !important;
}
.switch-poly-msb-flag-button-current {
  border-color: rgba(255,255,255,.34) !important;
  background: rgba(255,255,255,.12) !important;
  box-shadow: 0 0 0 3px rgba(255,255,255,.08) !important;
}
.switch-poly-msb-flag-button-current::after {
  background: #fafafa !important;
  border-color: #0a0a0a !important;
  box-shadow: none !important;
}
.switch-poly-msb-flag-image {
  box-shadow: 0 0 0 1px rgba(255,255,255,.14) !important;
}
html[data-msb-theme="light"] .switch-poly-msb-overlay {
  background:
    radial-gradient(circle at 18% 8%, rgba(0,91,189,.08), transparent 32%),
    rgba(245,245,247,.55) !important;
}
html[data-msb-theme="light"] .switch-poly-msb-dialog {
  border-color: rgba(0,0,0,.12) !important;
  color: #1d1d1f !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.8),
    0 24px 60px rgba(0,0,0,.12) !important;
}
html[data-msb-theme="light"] .switch-poly-msb-header {
  border-bottom-color: rgba(0,0,0,.10) !important;
}
html[data-msb-theme="light"] .switch-poly-msb-title {
  color: #1d1d1f !important;
}
html[data-msb-theme="light"] .switch-poly-msb-close {
  border-color: rgba(0,0,0,.14) !important;
  color: #1d1d1f !important;
  background: rgba(255,255,255,.88) !important;
}
html[data-msb-theme="light"] .switch-poly-msb-close:hover {
  background: #ffffff !important;
}
html[data-msb-theme="light"] .switch-poly-msb-flag-button {
  border-color: rgba(0,0,0,.12) !important;
  background: rgba(255,255,255,.88) !important;
}
html[data-msb-theme="light"] .switch-poly-msb-flag-button:hover,
html[data-msb-theme="light"] .switch-poly-msb-flag-button-current {
  border-color: rgba(0,0,0,.20) !important;
  background: #ffffff !important;
}
html[data-msb-theme="light"] .switch-poly-msb-flag-button-current::after {
  background: #1d1d1f !important;
  border-color: #ffffff !important;
}
@media (max-width: 700px) {
  .switch-poly-msb-dialog {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 24px 24px 18px 18px !important;
  }
}