/* RoboMecs Arabic commercial-site typography and RTL refinements */
html[lang="ar"][dir="rtl"] body,
html[lang="ar"][dir="rtl"] button,
html[lang="ar"][dir="rtl"] input,
html[lang="ar"][dir="rtl"] select,
html[lang="ar"][dir="rtl"] textarea{
  font-family:"IBM Plex Sans Arabic",Tahoma,Arial,sans-serif;
}
html[lang="ar"][dir="rtl"] body{line-height:1.72}
html[lang="ar"][dir="rtl"] h1,
html[lang="ar"][dir="rtl"] h2,
html[lang="ar"][dir="rtl"] h3,
html[lang="ar"][dir="rtl"] .rm-hero-title-line,
html[lang="ar"][dir="rtl"] .nav-solutions-menu .nav-solutions-item strong{
  letter-spacing:0;
}
html[lang="ar"][dir="rtl"] .eyebrow,
html[lang="ar"][dir="rtl"] .solution-kicker,
html[lang="ar"][dir="rtl"] .service-kicker,
html[lang="ar"][dir="rtl"] .rm-industry-hero__kicker,
html[lang="ar"][dir="rtl"] .contact34-caption,
html[lang="ar"][dir="rtl"] .contact34-field label{
  letter-spacing:0;
  text-transform:none;
}
html[lang="ar"][dir="rtl"] .hero h1,
html[lang="ar"][dir="rtl"] .solution-hero h1,
html[lang="ar"][dir="rtl"] .service-hero h1,
html[lang="ar"][dir="rtl"] .rm-industry-hero h1{
  line-height:1.08;
}
html[lang="ar"][dir="rtl"] .solution-hero-intro,
html[lang="ar"][dir="rtl"] .solution-hero-secondary,
html[lang="ar"][dir="rtl"] .hero-description,
html[lang="ar"][dir="rtl"] .hero-secondary{
  line-height:1.82;
}
html[lang="ar"][dir="rtl"] .header-cta svg,
html[lang="ar"][dir="rtl"] .solution-hero-actions .btn svg,
html[lang="ar"][dir="rtl"] .industry-final-actions .btn svg,
html[lang="ar"][dir="rtl"] .solutions-hub-cta .btn svg,
html[lang="ar"][dir="rtl"] .industry-hub-cta .btn svg{
  transform:scaleX(-1);
}
html[lang="ar"][dir="rtl"] .solution-related-links a,
html[lang="ar"][dir="rtl"] .industry-related a,
html[lang="ar"][dir="rtl"] .hub-editorial-row,
html[lang="ar"][dir="rtl"] .service-editorial-row{
  text-align:right;
}
html[lang="ar"][dir="rtl"] .solution-cap-meta,
html[lang="ar"][dir="rtl"] .industry-priority-meta,
html[lang="ar"][dir="rtl"] .service-meta,
html[lang="ar"][dir="rtl"] .hub-editorial-meta{
  direction:rtl;
}
html[lang="ar"][dir="rtl"] .solution-chip-list,
html[lang="ar"][dir="rtl"] .industry-chip-list,
html[lang="ar"][dir="rtl"] .service-tags,
html[lang="ar"][dir="rtl"] .hub-editorial-tags{
  direction:rtl;
}
html[lang="ar"][dir="rtl"] .solution-breadcrumbs,
html[lang="ar"][dir="rtl"] .service-breadcrumbs,
html[lang="ar"][dir="rtl"] .rm-industry-hero__breadcrumbs{
  direction:rtl;
}
html[lang="ar"][dir="rtl"] .solution-hero-media figcaption,
html[lang="ar"][dir="rtl"] .industry-feature-media figcaption{
  text-align:right;
}
html[lang="ar"][dir="rtl"] .footer-social-links{direction:rtl}
html[lang="ar"][dir="rtl"] .contact34-field input,
html[lang="ar"][dir="rtl"] .contact34-field textarea,
html[lang="ar"][dir="rtl"] .contact34-field select{text-align:right}
html[lang="ar"][dir="rtl"] input[type="email"]{direction:ltr;text-align:left}

@media(max-width:880px){
  html[lang="ar"][dir="rtl"] .navlinks{direction:rtl}
  html[lang="ar"][dir="rtl"] .nav-solutions-menu{direction:rtl}
}

/* ============================================================
   P2 Arabic UI correction V6.1.2
   ============================================================ */

/* Arabic footer must use the same branded navy component as English. */
html[lang="ar"][dir="rtl"] .footer{direction:rtl;text-align:right}
html[lang="ar"][dir="rtl"] .footer .footer-social-links{direction:rtl}

/* Keep Hub Hero decoration clean and fully contained. */
html[lang="ar"][dir="rtl"] .rm-clean-hub-hero,
html[lang="ar"][dir="rtl"] .rm-clean-hub-hero .solutions-hub-hero-layout,
html[lang="ar"][dir="rtl"] .rm-clean-hub-hero .solutions-hub-copy{
  background-image:none!important;
}
html[lang="ar"][dir="rtl"] .rm-clean-hub-hero::before,
html[lang="ar"][dir="rtl"] .rm-clean-hub-hero::after,
html[lang="ar"][dir="rtl"] .rm-clean-hub-hero .solutions-hub-copy::before,
html[lang="ar"][dir="rtl"] .rm-clean-hub-hero .solutions-hub-copy::after{
  content:none!important;
  display:none!important;
  background:none!important;
  background-image:none!important;
  mask:none!important;
  -webkit-mask:none!important;
  box-shadow:none!important;
}
html[lang="ar"][dir="rtl"] .solutions-family-section.surface-white-pro{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
}
html[lang="ar"][dir="rtl"] .solutions-family-section.surface-white-pro>.container{
  position:relative;
  z-index:2;
}
/* Mirror the approved readability gradient because Arabic Hero copy sits on the right. */
html[lang="ar"][dir="rtl"] .rm-clean-hub-hero .solutions-hub-hero-media::after{
  content:""!important;
  display:block!important;
  background:
    linear-gradient(270deg,rgba(0,0,71,.96) 0%,rgba(0,0,71,.86) 30%,rgba(0,0,71,.58) 52%,rgba(0,0,71,.16) 78%,rgba(0,0,71,.08) 100%),
    linear-gradient(0deg,rgba(0,0,71,.48),rgba(0,0,71,.08) 58%,rgba(0,0,71,.24))!important;
  pointer-events:none;
}

/* Hub bullets: marker belongs on the right in RTL, with text flowing away from it. */
html[lang="ar"][dir="rtl"] .hub-editorial-highlights,
html[lang="ar"][dir="rtl"] .service-highlights{
  direction:rtl;
  text-align:right;
}
html[lang="ar"][dir="rtl"] .hub-editorial-highlights li,
html[lang="ar"][dir="rtl"] .service-highlights li{
  padding-left:0!important;
  padding-right:14px!important;
  text-align:right;
}
html[lang="ar"][dir="rtl"] .hub-editorial-highlights li::before,
html[lang="ar"][dir="rtl"] .service-highlights li::before,
html[lang="ar"][dir="rtl"] .service-highlights li:before{
  left:auto!important;
  right:0!important;
}

/* Arabic eyebrow labels need more visual weight without changing the English system. */
html[lang="ar"][dir="rtl"] .eyebrow{
  font-size:.80rem;
  line-height:1.45;
  font-weight:850;
  letter-spacing:0;
}
html[lang="ar"][dir="rtl"] .contact34-eyebrow{
  font-size:.82rem;
  font-weight:850;
}
html[lang="ar"][dir="rtl"] .contact34-caption{
  font-size:.70rem;
  line-height:1.45;
  font-weight:800;
  letter-spacing:0;
}

/* Keep phone numbers visually stable inside an RTL page. */
html[lang="ar"][dir="rtl"] bdi[dir="ltr"]{
  unicode-bidi:isolate;
  direction:ltr;
}
