.stb-lang-menu>a{font-weight:700!important}
html[dir="rtl"] .stb-lang-menu>a{font-family:Arial,"Tahoma",sans-serif}
html[dir="rtl"] .stb-site-page,
html[dir="rtl"] .stiffener-builto-home{direction:rtl;text-align:right}
html[dir="rtl"] .stb-site-page *{box-sizing:border-box}
html[dir="rtl"] .stb-site-page .stb-page-breadcrumb{direction:rtl}
@media (max-width:999px){.stb-lang-menu>a{font-weight:800!important}}
html[dir="rtl"] #header-outer nav>ul,
html[dir="rtl"] header nav>ul{direction:rtl}
html[dir="rtl"] #header-outer .menu-item,
html[dir="rtl"] header .menu-item{text-align:right}

/* V6 self-contained header for repaired/Arabic routes */
.stb-plugin-document{margin:0!important;background:#fff;color:#10203d}
.stb-plugin-header{position:relative;z-index:9999;background:#fff;border-bottom:1px solid #edf0f3;font-family:Arial,"Helvetica Neue",sans-serif}
.stb-plugin-header__inner{width:min(1180px,calc(100% - 42px));min-height:92px;margin:0 auto;display:flex;align-items:center;gap:32px}
.stb-plugin-header__brand{display:flex;align-items:center;gap:10px;color:#10203d;text-decoration:none;min-width:205px}
.stb-plugin-header__logo-img{display:block;max-width:205px;max-height:66px;width:auto;height:auto}
.stb-plugin-header__mark{font-size:44px;line-height:1;color:#10203d}.stb-plugin-header__word{display:flex;flex-direction:column}.stb-plugin-header__word b{font-size:21px;line-height:1}.stb-plugin-header__word small{font-size:14px;color:#1d6da5;margin-top:3px}
.stb-plugin-header__nav{margin-left:auto;display:flex;align-items:center;gap:27px}.stb-plugin-document--ar .stb-plugin-header__nav{margin-left:0;margin-right:auto}
.stb-plugin-header__nav>a,.stb-plugin-header__services>a{color:#071735!important;text-decoration:none!important;font-size:15px;font-weight:700;white-space:nowrap}
.stb-plugin-header__nav>a:hover,.stb-plugin-header__services>a:hover{color:#1d6da5!important}
.stb-plugin-header__services{position:relative}.stb-plugin-header__dropdown{position:absolute;top:calc(100% + 18px);left:-22px;min-width:310px;background:#fff;border-top:4px solid #ffb400;box-shadow:0 18px 45px rgba(5,20,48,.14);padding:12px;opacity:0;visibility:hidden;transform:translateY(8px);transition:.2s;z-index:99999}
.stb-plugin-document--ar .stb-plugin-header__dropdown{left:auto;right:-22px;text-align:right}
.stb-plugin-header__services:hover .stb-plugin-header__dropdown,.stb-plugin-header__services:focus-within .stb-plugin-header__dropdown{opacity:1;visibility:visible;transform:none}
.stb-plugin-header__dropdown a{display:block;padding:11px 12px;color:#10203d!important;text-decoration:none!important;font-size:13px;font-weight:700;border-bottom:1px solid #edf0f3}.stb-plugin-header__dropdown a:hover{background:#f6f7f8;color:#1d6da5!important}.stb-plugin-header__dropdown .stb-plugin-header__all-services{border:0;background:#071735;color:#fff!important;margin-top:8px}
.stb-plugin-header__language{font-weight:900!important}.stb-plugin-header__quote{background:#1d6da5;color:#fff!important;padding:15px 22px!important;clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px)}.stb-plugin-header__quote:hover{background:#071735;color:#fff!important}
.stb-plugin-header__toggle{display:none;margin-left:auto;border:0;background:#071735;width:46px;height:42px;padding:10px;cursor:pointer}.stb-plugin-document--ar .stb-plugin-header__toggle{margin-left:0;margin-right:auto}.stb-plugin-header__toggle span{display:block;height:2px;background:#fff;margin:5px 0}
@media(max-width:1050px){.stb-plugin-header__nav{gap:16px}.stb-plugin-header__nav>a,.stb-plugin-header__services>a{font-size:13px}.stb-plugin-header__quote{padding:13px 16px!important}}
@media(max-width:860px){.stb-plugin-header__inner{min-height:78px}.stb-plugin-header__toggle{display:block}.stb-plugin-header__nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-top:1px solid #edf0f3;padding:18px 22px;box-shadow:0 16px 35px rgba(5,20,48,.12);flex-direction:column;align-items:stretch;gap:0}.stb-plugin-header.is-open .stb-plugin-header__nav{display:flex}.stb-plugin-header__nav>a,.stb-plugin-header__services>a{display:block;padding:13px 4px;border-bottom:1px solid #edf0f3;font-size:14px}.stb-plugin-header__dropdown{position:static;opacity:1;visibility:visible;transform:none;display:none;box-shadow:none;border-top:0;padding:4px 0 10px;min-width:0}.stb-plugin-header.is-open .stb-plugin-header__services.is-open .stb-plugin-header__dropdown{display:block}.stb-plugin-header__quote{text-align:center;margin-top:12px}.stb-plugin-header__logo-img{max-width:175px;max-height:58px}}
/* V7: make the current white-theme logo readable on the white plugin header. */
.stb-plugin-header__logo-img{filter:brightness(0) saturate(100%) invert(11%) sepia(26%) saturate(1900%) hue-rotate(183deg) brightness(86%) contrast(101%)}
.stb-plugin-header__quote,.stb-plugin-header__quote:link,.stb-plugin-header__quote:visited{color:#fff!important;-webkit-text-fill-color:#fff!important}

/* V8: make the language switch look intentional, not like another nav item. */
.stb-plugin-header__language,
.stb-plugin-header__language:link,
.stb-plugin-header__language:visited,
.stb-lang-menu > a,
.stb-lang-menu > a:link,
.stb-lang-menu > a:visited{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:8px 13px!important;
  border:1px solid #cbd6e2!important;
  border-inline-start:3px solid #ffb300!important;
  background:#f5f8fb!important;
  color:#1d6da5!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:0!important;
  text-decoration:none!important;
  transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;
}
.stb-plugin-header__language:hover,
.stb-lang-menu > a:hover{
  background:#071735!important;
  border-color:#071735!important;
  border-inline-start-color:#ffb300!important;
  color:#fff!important;
  transform:translateY(-1px);
}
.stb-plugin-document--ar .stb-plugin-header__language{font-family:Arial,"Tahoma",sans-serif}

/* V8: defensive RTL/home safeguards in case theme CSS is unusually aggressive. */
html[dir="rtl"],body.stb-plugin-document--ar{direction:rtl}
body.stb-plugin-document--ar{overflow-x:hidden}
body.stb-plugin-document--ar .stiffener-builto-home{width:100%;max-width:100%;direction:rtl;text-align:right;overflow:hidden}
body.stb-plugin-document--ar .stiffener-builto-home svg{max-width:100%;height:auto}
body.stb-plugin-document--ar .stb-plugin-header__inner{direction:rtl}
body.stb-plugin-document--ar .stb-plugin-header__nav{direction:rtl}

@media(max-width:860px){
  .stb-plugin-header__language,.stb-lang-menu>a{margin:8px 0!important;min-height:42px}
}


/* V9: final Arabic polish */
.stb-plugin-document--ar .stb-plugin-header__language{box-shadow:0 0 0 1px rgba(255,183,0,.35),0 5px 18px rgba(7,23,53,.08)}
.stb-plugin-document--ar .stb-site-page h1,.stb-plugin-document--ar .stb-site-page h2,.stb-plugin-document--ar .stb-site-page h3{letter-spacing:0!important;line-height:1.18}
.stb-plugin-document--ar .stb-blog-card__body,.stb-plugin-document--ar .stb-projects-page__body{text-align:right}
.stb-plugin-document--ar .stb-blog-card__meta{direction:rtl}

/* V10: Arabic internal-page readability and bidi-safe phone/email values */
.stb-plugin-document--ar{font-family:Tahoma,Arial,sans-serif}
.stb-plugin-document--ar .stb-page-eyebrow{font-size:12px;line-height:1.5;letter-spacing:0;text-transform:none}
.stb-plugin-document--ar .stb-page-hero p,
.stb-plugin-document--ar .stb-page-copy>p,
.stb-plugin-document--ar .stb-page-feature p,
.stb-plugin-document--ar .stb-services-hub__head p{font-size:17px;line-height:1.9}
.stb-plugin-document--ar .stb-page-bullets li{font-size:15px;line-height:1.7}
.stb-plugin-document--ar .stb-page-aside a{font-size:14px;line-height:1.5}
.stb-plugin-document--ar .stb-projects-page__body small{font-size:11px;letter-spacing:0}
.stb-plugin-document--ar .stb-projects-page__body h3{line-height:1.45}
.stb-plugin-document--ar .stb-contact-info p,
.stb-plugin-document--ar .stb-contact-info a{font-size:16px;line-height:1.9}
.stb-plugin-document--ar .stb-form label{font-size:12px;letter-spacing:0;text-transform:none}
.stb-plugin-document--ar .stb-ltr-inline{display:inline-block;direction:ltr!important;unicode-bidi:isolate!important;text-align:left!important;font-variant-numeric:tabular-nums}


/* V11: keep Salient's native homepage header/menu and add only the quote CTA. */
.stb-quote-menu > a,
.stb-quote-menu > a:link,
.stb-quote-menu > a:visited{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:48px!important;
  padding:13px 24px!important;
  margin-left:14px!important;
  background:#2379ad!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-weight:700!important;
  line-height:1!important;
  text-decoration:none!important;
  border:0!important;
  box-shadow:none!important;
  clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);
  transition:background .2s ease,transform .2s ease!important;
}
.stb-quote-menu > a:hover{
  background:#071735!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  transform:translateY(-1px);
}
/* Prevent Salient's normal menu underline/indicator from drawing through the CTA. */
.stb-quote-menu > a:after,
.stb-quote-menu > a:before{display:none!important}

/* Match the cleaner native Services chevron on the self-contained internal header. */
.stb-plugin-header__caret{
  display:inline-block;
  width:7px;
  height:7px;
  margin-inline-start:7px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:translateY(-2px) rotate(45deg);
  transition:transform .2s ease;
}
.stb-plugin-header__services:hover .stb-plugin-header__caret,
.stb-plugin-header__services:focus-within .stb-plugin-header__caret{
  transform:translateY(1px) rotate(225deg);
}
/* Bring internal English navigation closer to the live homepage typography without
   replacing the robust virtual-route header. */
.stb-plugin-document:not(.stb-plugin-document--ar) .stb-plugin-header__nav>a,
.stb-plugin-document:not(.stb-plugin-document--ar) .stb-plugin-header__services>a{
  font-weight:500;
  font-size:16px;
}

@media(max-width:999px){
  .stb-quote-menu > a,
  .stb-quote-menu > a:link,
  .stb-quote-menu > a:visited{
    margin:10px 0 0!important;
    min-height:44px!important;
    width:100%!important;
  }
}

/* V12: clean custom mobile navigation for the Salient-powered live homepage.
   Desktop keeps Salient's native header/Services chevron exactly as requested. */
@media (max-width:999px){
  body.stb-mobile-drawer-ready #slide-out-widget-area,
  body.stb-mobile-drawer-ready #slide-out-widget-area-bg{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  body.stb-mobile-menu-open{overflow:hidden!important;touch-action:none}
  .stb-mobile-drawer{
    position:fixed;
    inset:0;
    z-index:2147483000;
    visibility:hidden;
    pointer-events:none;
    font-family:Arial,"Helvetica Neue",sans-serif;
  }
  .stb-mobile-drawer__backdrop{
    position:absolute;
    inset:0;
    background:rgba(3,15,39,.58);
    opacity:0;
    transition:opacity .24s ease;
  }
  .stb-mobile-drawer__panel{
    position:absolute;
    top:0;
    right:0;
    width:min(88vw,390px);
    height:100%;
    overflow-y:auto;
    overscroll-behavior:contain;
    background:#fff;
    padding:22px 22px 30px;
    box-shadow:-18px 0 50px rgba(3,15,39,.18);
    transform:translateX(105%);
    transition:transform .28s cubic-bezier(.2,.75,.25,1);
  }
  body.stb-mobile-menu-open .stb-mobile-drawer{visibility:visible;pointer-events:auto}
  body.stb-mobile-menu-open .stb-mobile-drawer__backdrop{opacity:1}
  body.stb-mobile-menu-open .stb-mobile-drawer__panel{transform:translateX(0)}
  .stb-mobile-drawer__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding-bottom:18px;
    margin-bottom:8px;
    border-bottom:1px solid #e6eaf0;
  }
  .stb-mobile-drawer__brand{
    color:#071735;
    font-size:18px;
    font-weight:900;
    letter-spacing:.02em;
  }
  .stb-mobile-drawer__close{
    width:42px;
    height:42px;
    border:1px solid #d8dde5;
    background:#fff;
    color:#071735;
    font-size:30px;
    line-height:36px;
    cursor:pointer;
  }
  .stb-mobile-drawer__nav{display:flex;flex-direction:column;padding-top:5px}
  .stb-mobile-drawer__nav>a,
  .stb-mobile-drawer__service-toggle{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:58px;
    padding:0 2px;
    border:0;
    border-bottom:1px solid #e6eaf0;
    background:transparent;
    color:#071735!important;
    -webkit-text-fill-color:#071735!important;
    text-decoration:none!important;
    text-align:left;
    font-size:19px;
    line-height:1.2;
    font-weight:700;
    cursor:pointer;
  }
  .stb-mobile-drawer__service-toggle span{
    width:9px;height:9px;
    border-right:1.8px solid currentColor;
    border-bottom:1.8px solid currentColor;
    transform:rotate(45deg) translateY(-2px);
    transition:transform .2s ease;
    margin-right:5px;
  }
  .stb-mobile-drawer__services.is-open .stb-mobile-drawer__service-toggle span{
    transform:rotate(225deg) translate(-2px,-2px);
  }
  .stb-mobile-drawer__submenu{display:none;background:#f7f8fa;padding:4px 14px 10px}
  .stb-mobile-drawer__services.is-open .stb-mobile-drawer__submenu{display:block}
  .stb-mobile-drawer__submenu a{
    display:block;
    padding:12px 0;
    color:#344257!important;
    -webkit-text-fill-color:#344257!important;
    text-decoration:none!important;
    border-bottom:1px solid #e2e6eb;
    font-size:14px;
    line-height:1.35;
    font-weight:600;
  }
  .stb-mobile-drawer__submenu a:last-child{border-bottom:0}
  .stb-mobile-drawer__language{
    width:max-content!important;
    min-height:44px!important;
    padding:0 18px!important;
    margin-top:22px;
    border:1px solid #cad5df!important;
    border-left:3px solid #ffb400!important;
    color:#1d6da5!important;
    -webkit-text-fill-color:#1d6da5!important;
    font-weight:800!important;
  }
  .stb-mobile-drawer__quote{
    justify-content:center!important;
    min-height:54px!important;
    margin-top:14px;
    padding:0 20px!important;
    border:0!important;
    background:#2379ad!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    font-weight:800!important;
    clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);
  }
  .stb-mobile-drawer__quote:hover{background:#071735!important;color:#fff!important}
}
