/* Arabic / right-to-left overrides (loaded only when the site language is Arabic) */
:root{--font:'Tajawal','Plus Jakarta Sans',system-ui,sans-serif}
body{font-family:var(--font);letter-spacing:0}
h1,h2,h3,h4,.hero-title,.h-display,.h-section{letter-spacing:0}
.hero-title{padding-left:0;padding-right:24px;line-height:1.15}
.hero-title::before{left:auto;right:0}

/* mirror directional icons */
.ico-arrow,.ico-right,.ico-left{transform:scaleX(-1)}
.coverflow .cf-nav .ico{transform:none}

/* borders that mark the "start" side */
.sys-card{border-left:0;border-right:4px solid var(--blue)}
.sys-card.is-orange{border-right-color:var(--orange)}
.job-card{border-left:1px solid var(--line);border-right:4px solid var(--orange)}
.prose .tip,.tip{border-left:0;border-right:4px solid var(--orange)}
.unread td:first-child{box-shadow:inset -3px 0 var(--orange)}
.clients-label{padding-right:0;border-right:0;padding-left:32px;border-left:1px solid var(--line)}

/* things that must keep left-to-right flow */
.logo-marquee,.logo-track,.coverflow,.cf-stage,[dir=ltr],input[type=email],input[type=tel],input[type=url],.phone-pill,.tb-contact a[href^="tel"]{direction:ltr}
input[type=email],input[type=tel],input[type=url]{text-align:right}
.logo,.logo-text{direction:ltr}

.prose ul,.prose ol{padding-left:0;padding-right:1.3em}
.table th,.table td,.prose th,.prose td{text-align:right}
.job-overview dd{text-align:left}
.details{direction:rtl}

/* floating buttons swap sides */
.assistant{right:auto;left:22px}
.has-tawk .assistant{right:auto;left:22px} /* Tawk.to always sits bottom-right */
.assistant-panel{right:auto;left:0}
.has-tawk .assistant-panel{right:auto;left:0}
.wa-bubble{right:auto;left:70px}
.exit-offer .eo-close{right:auto;left:14px}
.cookie-bar{left:auto;right:22px}

/* mega menu text alignment */
.mega-item,.drop a{text-align:right}
.main-nav>ul>li>a.active::after,.main-nav>ul>li>button.active::after{left:12px;right:12px}
@media (max-width:1024px){
  .main-nav{inset:0 auto 0 0;transform:translateX(-100%)}
  .main-nav.open{transform:none}
}
.assistant .wa-bubble{right:auto;left:72px}.has-tawk .assistant .wa-bubble{right:auto;left:72px}.msg.bot{border-bottom-left-radius:14px;border-bottom-right-radius:4px}.msg.me{border-bottom-right-radius:14px;border-bottom-left-radius:4px}.ap-close{margin-left:0;margin-right:auto}.audit-bar{padding:8px 16px 8px 8px}.ai-badge{right:auto;left:22px}
.sys-card.is-ai{border-left:0;border-right:4px solid transparent}
