/* RTL overrides for Arabic */
[dir="rtl"] { direction: rtl; text-align: right; }
[dir="rtl"] body { font-family: 'IBM Plex Sans Arabic', 'Inter', sans-serif; }
[dir="rtl"] .nav-inner { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .hero-content, [dir="rtl"] .page-hero-content { text-align: right; }
[dir="rtl"] .feature-grid { direction: ltr; } /* Keep mockups LTR */
[dir="rtl"] .feature-content { direction: rtl; text-align: right; }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .section-label { margin-right: 0; }
[dir="rtl"] .btn svg { transform: scaleX(-1); } /* Flip arrows */
[dir="rtl"] .hero-actions { justify-content: flex-end; }
/* Nav adjustments */
[dir="rtl"] .nav-dropdown-menu { left: auto; right: 0; text-align: right; }
[dir="rtl"] .nav-item-text { text-align: right; }
[dir="rtl"] .nav-dropdown-item { flex-direction: row-reverse; }
[dir="rtl"] .nav-item-icon { margin-right: 0; margin-left: 12px; }
/* Section headers */
[dir="rtl"] .section-header { text-align: center; }
/* Feature rows */
[dir="rtl"] .feature-row { direction: rtl; }
[dir="rtl"] .feature-text { text-align: right; }
/* Cards */
[dir="rtl"] .card { text-align: right; }
/* Footer */
[dir="rtl"] .footer-col { text-align: right; }
[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
/* Lists */
[dir="rtl"] ul, [dir="rtl"] ol { padding-right: 1.5em; padding-left: 0; }
/* Eco node tags */
[dir="rtl"] .eco-node-tags { justify-content: flex-start; }
[dir="rtl"] .eco-node--found .eco-node-tags { justify-content: center; }
/* Testimonials */
[dir="rtl"] .testi-grid { direction: rtl; }
/* Hero float cards stay LTR */
[dir="rtl"] .hero-float-cards { direction: ltr; }
[dir="rtl"] .hero-float-card { direction: ltr; text-align: left; }
/* OBC link flip */
[dir="rtl"] .obc-link { right: auto; left: 20px; }
/* Misc spacing */
[dir="rtl"] .hf-trend { margin-left: 0; margin-right: 6px; }
[dir="rtl"] .ms.active { border-left: none; border-right: 2px solid #338edc; }
/* Mobile nav */
[dir="rtl"] .nav-toggle { order: -1; }
/* Page hero breadcrumb */
[dir="rtl"] .breadcrumb { direction: rtl; }
/* Keep mockup sections LTR */
[dir="rtl"] .mock-sidebar, [dir="rtl"] .mock-canvas, [dir="rtl"] .mock-panel { direction: ltr; text-align: left; }
[dir="rtl"] .app-mock, [dir="rtl"] .mock-app { direction: ltr; text-align: left; }
