/* =====================================================================
   BURAK CONTRACTING — RTL refinements
   The main stylesheet already uses CSS logical properties, so this file
   only carries the handful of adjustments that logical properties cannot
   express (icon mirroring, Arabic rhythm, font metrics).
   ===================================================================== */

html[dir="rtl"] body{ font-size:16.5px; line-height:1.85; }

/* Arabic reads better with slightly looser lines and no negative tracking */
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] .hero-title,
html[dir="rtl"] .section-title{ letter-spacing:0; }

html[dir="rtl"] .btn{ letter-spacing:0; font-weight:700; }
html[dir="rtl"] .form-label,
html[dir="rtl"] .footer-title,
html[dir="rtl"] .qa-more,
html[dir="rtl"] .fleet-type,
html[dir="rtl"] .ceo-role,
html[dir="rtl"] .form-section-title,
html[dir="rtl"] .breadcrumb-bc,
html[dir="rtl"] .preloader-name{ letter-spacing:0; }

/* mirror directional icons */
html[dir="rtl"] .link-arrow i.fa-arrow-right,
html[dir="rtl"] .qa-more i.fa-arrow-right,
html[dir="rtl"] .footer-links a i.fa-chevron-right,
html[dir="rtl"] .drawer-nav a i.fa-chevron-right,
html[dir="rtl"] .breadcrumb-bc .sep i,
html[dir="rtl"] .btn i.fa-arrow-right,
html[dir="rtl"] .hero-nav i.fa-arrow-right,
html[dir="rtl"] .bc-swiper-nav i.fa-arrow-right{ transform:scaleX(-1); }

html[dir="rtl"] .btn i.fa-arrow-left,
html[dir="rtl"] .hero-nav i.fa-arrow-left,
html[dir="rtl"] .bc-swiper-nav i.fa-arrow-left{ transform:scaleX(-1); }

/* numbers, references and codes stay LTR inside Arabic text */
html[dir="rtl"] .ltr,
html[dir="rtl"] .ref-box .rv,
html[dir="rtl"] .stat-value,
html[dir="rtl"] code,
html[dir="rtl"] .mono,
html[dir="rtl"] input[type="tel"],
html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="url"],
html[dir="rtl"] input[type="number"],
html[dir="rtl"] input[type="date"],
html[dir="rtl"] input[type="password"]{
  direction:ltr; text-align:right; unicode-bidi:isolate;
}
html[dir="rtl"] input[type="tel"],
html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="url"]{ text-align:right; }

html[dir="rtl"] .phone-ltr{ direction:ltr; unicode-bidi:embed; display:inline-block; }

/* Bootstrap-driven bits that need explicit flipping */
html[dir="rtl"] .form-check{ padding-right:1.5em; padding-left:0; }
html[dir="rtl"] .form-check .form-check-input{ float:right; margin-right:-1.5em; margin-left:0; }
html[dir="rtl"] .input-group-bc .form-control{ padding-inline-start:40px; padding-inline-end:1rem; }
html[dir="rtl"] .dropdown-menu{ text-align:right; }

/* timeline mirrors cleanly */
html[dir="rtl"] .bc-timeline{ padding-inline-start:34px; }

/* marquee gradient fade handled in main sheet */
html[dir="rtl"] .marquee-item::after{ margin-inline-start:2.2rem; margin-inline-end:0; }

/* swiper is initialised with dir="rtl" from JS; keep pagination aligned */
html[dir="rtl"] .hero-pagination{ flex-direction:row-reverse; }

/* tables in the admin */
html[dir="rtl"] .table > :not(caption) > * > *{ text-align:right; }
html[dir="rtl"] .text-end{ text-align:left!important; }
html[dir="rtl"] .text-start{ text-align:right!important; }
