/* Arabic (RTL) overrides. Loaded only on /ar/ pages, after style.css and Bootstrap RTL. */
:root {
  --font-head: 'IBM Plex Sans Arabic', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Inter', system-ui, sans-serif;
}
body { line-height: 1.8; }
h1, h2, h3, h4, h5, h6, .section-title, .hero-title { letter-spacing: 0; line-height: 1.45; }
.eyebrow, .hero-eyebrow, .topbar, .btn { letter-spacing: 0; }

/* Keep phone numbers, emails, URLs and stat numbers left-to-right inside Arabic text */
a[href^="tel:"], a[href^="mailto:"], .stat .num, .exp-badge strong, .hero-stats .num,
.code-badges span { unicode-bidi: isolate; }
/* Spec values: each value picks its own direction (Latin sizes stay LTR, Arabic stays RTL), aligned right */
.spec-table td, .spec-table th, .spec-list .v, .spec-list .k, .img-tile .cap small, .table-note { unicode-bidi: plaintext; text-align: right; }
a[href^="tel:"], a[href^="mailto:"], .stat .num, .exp-badge strong, .hero-stats .num { direction: ltr; display: inline-block; }

/* Directional icons point the other way in RTL */
.bi-arrow-right::before, .bi-arrow-left::before, .bi-chevron-right::before, .bi-chevron-left::before,
.bi-arrow-up-right::before, .bi-box-arrow-up-right::before, .bi-send::before { display: inline-block; transform: scaleX(-1); }
.btn-arrow:hover i, .division-card:hover .more i { transform: translateX(-4px); }

/* Mirror physical left/right rules from style.css */
.topbar i { margin-right: 0; margin-left: 6px; }
.check-list li { padding-left: 0; padding-right: 32px; }
.check-list li::before { left: auto; right: 0; }
.service-col li::before { left: auto; right: 0; }
.bar-heading::before, .mv-card::after { left: auto; right: 0; }
.param-card::before { left: auto; right: 0; border-radius: 3px 0 0 3px; }
.banner-strip h1::after { left: auto; right: 0; }
.hero-stats .stat { text-align: right; border-right: 0; border-left: 1px solid var(--line); }
.hero-stats .stat:last-child { border-left: 0; }
@media (max-width: 991px) { .hero-stats .stat:nth-child(2) { border-left: 0; } }
.stat { border-right: 0; border-left: 1px solid rgba(255,255,255,.08); }
.stat:last-child { border-left: 0; }
@media (max-width: 767px) { .stats-band .stat { border-left: 0; } }
.about-media .img-sub { right: auto; left: -24px; }
.about-media .exp-badge { left: auto; right: -24px; }
.about-media::before { left: auto; right: -28px; }
@media (max-width: 991px) { .about-media .exp-badge { right: 16px; left: auto; } }
.feature-card::before { right: auto; left: -60px; }
.feature-card .num-tag { right: auto; left: 26px; }
.division-card .idx { left: auto; right: 24px; }
.product-card h5::before { margin-right: 0; margin-left: 10px; }
.product-card .go { right: auto; left: 14px; }
.bento-tile .ic { left: auto; right: 18px; }
.bento-tile .go { right: auto; left: 18px; }
.duo-media .sub { right: auto; left: 0; }
.duo-media .float-card { left: auto; right: 24px; }
.feat-list li:hover { transform: translateX(-4px); }
.sub-card:hover .more i { transform: translateX(-4px); }
.process-step .circle .step-no { right: auto; left: -8px; }
.back-to-top { right: auto; left: 22px; }
.main-nav .dropdown-menu { text-align: right; }
@media (max-width: 991px) { .main-nav .dropdown-menu { padding-left: 0; padding-right: 1rem; } }
.footer-watermark { right: auto; left: -20px; }
.lang-switch { font-family: 'Inter', system-ui, sans-serif; }
.wa-float { right: auto; left: 22px; }
.lang-pill[lang="en"] { font-family: 'Inter', system-ui, sans-serif; }
