/* Arabic / RTL refinements for the whole public site (loaded last) */
body.lang-ar, body.lang-ar input, body.lang-ar select, body.lang-ar textarea, body.lang-ar button { font-family: 'IBM Plex Sans Arabic', 'Manrope', Arial, sans-serif; }
/* Arabic letters must stay joined: no tracking, no uppercase transform, roomier line-height */
body.lang-ar *, body.lang-ar *::before, body.lang-ar *::after { letter-spacing: 0 !important; text-transform: none !important; }
body.lang-ar { line-height: 1.8; }
body.lang-ar h1, body.lang-ar h2, body.lang-ar h3, body.lang-ar h4 { line-height: 1.3 !important; }
body.lang-ar p, body.lang-ar li { line-height: 1.85; }
[dir="rtl"] { text-align: start; }
/* Numbers, phone, email, dates, URLs stay left-to-right inside RTL text */
[dir="rtl"] input[type="tel"], [dir="rtl"] input[type="email"], [dir="rtl"] input[type="url"], [dir="rtl"] input[type="date"], [dir="rtl"] input[type="number"], [dir="rtl"] .ltr-field { direction: ltr; text-align: right; }
[dir="rtl"] input[type="tel"]::placeholder, [dir="rtl"] input[type="email"]::placeholder { text-align: right; }
[dir="rtl"] a[href^="tel:"], [dir="rtl"] a[href^="mailto:"], [dir="rtl"] .registration-number strong { direction: ltr; unicode-bidi: isolate; display: inline-block; }
[dir="rtl"] select { background-position: left .9rem center; padding-inline-end: .9rem; }
[dir="rtl"] .hp-field { left: auto !important; right: -9999px !important; }

/* Physical left/right rules from site.css mirrored */
[dir="rtl"] .orbit-one, [dir="rtl"] .orbit-two { right: auto; left: -14rem; }
[dir="rtl"] .orbit-two { left: .5rem; }
[dir="rtl"] .signal-strip span + span { border-left: 0; border-right: 1px solid var(--naya-line); }
[dir="rtl"] .about-fact { padding-left: 0; border-left: 0; padding-right: 1.4rem; border-right: 2px solid var(--naya-teal); }
[dir="rtl"] .service-grid { border-left: 0; border-right: 1px solid #ccd8e4; }
[dir="rtl"] .service-grid > * { border-right: 0; border-left: 1px solid #ccd8e4; }
[dir="rtl"] .field-image > span { left: auto; right: 2rem; }
[dir="rtl"] .field-note { padding: 1.4rem 1.3rem 0 0; border-left: 0; border-right: 2px solid var(--naya-teal); }
[dir="rtl"] .training-points span:nth-child(even) { padding-left: 0; border-left: 0; padding-right: 1rem; border-right: 1px solid #ccd8e4; }
[dir="rtl"] .training-program-card::after { right: auto; left: -8rem; }
[dir="rtl"] .mobile-menu nav { right: auto; left: 0; }
[dir="rtl"] .form-alert { border-left: 0; border-right: 3px solid #c63c52; }
[dir="rtl"] .course-summary { border-left: 1px solid #cfe0eb; border-right: 3px solid var(--naya-teal); }
[dir="rtl"] .program-hero aside { padding: 1.5rem 1.4rem 0 0; border-left: 0; border-right: 2px solid var(--naya-teal); }
/* Directional arrows ↗ mirror */
[dir="rtl"] .button span, [dir="rtl"] .text-link span, [dir="rtl"] .m-sub-all span, [dir="rtl"] .submenu-all span, [dir="rtl"] .training-program-card > a span { display: inline-block; transform: scaleX(-1); }
@media (max-width: 860px) {
  [dir="rtl"] .signal-strip span + span { border-right: 0; }
  [dir="rtl"] .training-points span:nth-child(even) { padding-right: 0; border-right: 0; }
}
/* Language switch + header keep tidy in RTL */
[dir="rtl"] .caret { margin-inline-start: .25rem; }
[dir="rtl"] .lang-switch a { font-family: 'IBM Plex Sans Arabic', 'Manrope', sans-serif; }
