/* RTL (Arabic) — Bootstrap 5 compatible */
body.rtl {
  direction: rtl;
  text-align: right;
  font-family: 'Noto Sans Arabic', var(--font-sans);
}
body.rtl h1,body.rtl h2,body.rtl h3,body.rtl h4,body.rtl h5,body.rtl h6 {
  font-family: 'Noto Sans Arabic', var(--font-serif);
}
body.rtl .ms-auto { margin-left: unset !important; margin-right: auto !important; }
body.rtl .ms-lg-3 { margin-left: unset !important; margin-right: 1rem !important; }
body.rtl .me-2,.rtl .me-3 { margin-right: unset !important; margin-left: .5rem !important; }
body.rtl .ps-lg-5 { padding-left: unset !important; padding-right: 3rem !important; }
body.rtl .pe-lg-5 { padding-right: unset !important; padding-left: 3rem !important; }
body.rtl .text-start { text-align: right !important; }
body.rtl .text-end { text-align: left !important; }

/* Navbar */
body.rtl .dropdown-menu { text-align: right; }
body.rtl .dropdown-item:hover { padding-left: 1.25rem; padding-right: 1.5rem; }

/* Hero text */
body.rtl .hero-kicker,
body.rtl .hero-title,
body.rtl .hero-subtitle { text-align: right; }

/* Centered sections stay centered */
body.rtl .text-center { text-align: center !important; }

/* Two-col layout flip */
@media (min-width: 992px) {
  body.rtl .row-flip { flex-direction: row-reverse; }
}

/* Contact info & badges */
body.rtl .contact-info-item,
body.rtl .check-item { flex-direction: row-reverse; text-align: right; }
body.rtl .attorney-badge { flex-direction: row-reverse; }

/* Footer */
body.rtl .footer-link i { margin-right: 0; margin-left: .5rem; }
body.rtl .footer-contact-item { flex-direction: row-reverse; text-align: right; }

/* Sidebar */
body.rtl .sidebar-nav li a:hover,
body.rtl .sidebar-nav li.active a { padding-left: 0; padding-right: .5rem; }

/* Form */
body.rtl .form-control { text-align: right; }
body.rtl .form-control::placeholder { text-align: right; }

/* Highlight box */
body.rtl .highlight-box { border-left: none; border-right: 4px solid var(--gold); border-radius: 6px 0 0 6px; }

/* Video keeps LTR */
body.rtl .video-wrapper { direction: ltr; }

/* Breadcrumb */
body.rtl .breadcrumb { direction: rtl; }

/* Stat block RTL */
body.rtl .stat-block {
  padding-left: 0;
  padding-right: 1rem;
  border-left: none;
  border-right: 3px solid var(--gold);
}

/* Mobile */
@media (max-width: 991.98px) {
  body.rtl .navbar-brand { margin-right: 0; }
}

/* Prevent horizontal overflow */
body.rtl {
  overflow-x: hidden;
}
body.rtl .badrane-hero,
body.rtl .badrane-page-hero,
body.rtl .section,
body.rtl .section-dark-bg {
  overflow-x: hidden;
}
body.rtl .hero-title {
  word-break: break-word;
  overflow-wrap: break-word;
}
@media (max-width: 575.98px) {
  body.rtl .hero-title {
    font-size: 1.6rem;
  }
  body.rtl .hero-subtitle {
    font-size: 1rem;
  }
  body.rtl .hero-kicker {
    font-size: .7rem;
  }
}
