/* RTL — Arabic · Cairo font */
body.rtl { direction:rtl; text-align:right; }

/* Navbar — floating pill, always reverse in RTL */
body.rtl .navbar-inner   { flex-direction: row-reverse; }
body.rtl .navbar-brand   { flex-direction: row-reverse; }
body.rtl .brand-text     { text-align: right; }
body.rtl .navbar-actions { flex-direction: row-reverse; }
/* Pill stays centered — no left/right override needed */
body.rtl .navbar { left: 50%; right: auto; transform: translateX(-50%); }

/* Language dropdown */
body.rtl .lang-current { flex-direction: row-reverse; }
body.rtl .lang-menu    { right: auto; left: 0; }
body.rtl .lang-btn     { flex-direction: row-reverse; text-align: right; }

/* Hero */
body.rtl .hero-bg-right {
  right:auto; left:0;
  clip-path: polygon(0% 0%, 91% 0%, 100% 100%, 0% 100%);
}
body.rtl .hero-grid { direction:rtl; }
body.rtl .hero-left {
  padding-left: 48px;
  padding-right: max(24px, calc((100vw - 1200px)/2 + 24px));
}
/* On desktop, hero-top/bottom are display:contents — set alignment on hero-name etc. */
body.rtl .hero-name,
body.rtl .hero-tagline,
body.rtl .hero-desc,
body.rtl .hero-eyebrow { text-align: right; }
body.rtl .hero-eyebrow  { justify-content: flex-end; }
body.rtl .hero-eyebrow { flex-direction:row-reverse; }
body.rtl .hero-cred     { flex-direction:row-reverse; }
body.rtl .hero-actions  { flex-direction:row-reverse; }
body.rtl .hero-stats-row{ flex-direction:row-reverse; }
body.rtl .hs-item       { text-align:center; }
body.rtl .hero-right    { padding-right:60px; padding-left:40px; }
body.rtl .hiw-card      { flex-direction:row-reverse; }
body.rtl .hiw-card-a    { left:auto; right:-60px; }
body.rtl .hiw-card-b    { right:auto; left:-50px; }
body.rtl .hero-scroll-btn { left:auto; right:50%; transform:translateX(50%); }
body.rtl .btn-hero-wa,
body.rtl .btn-hero-outline { flex-direction:row-reverse; }

/* Value strip */
body.rtl .vs-item  { border-right:none; border-left:1px solid var(--border); }
body.rtl .vs-item:last-child { border-left:none; }

/* Sections */
body.rtl .section-tag { flex-direction:row-reverse; }

/* About */
body.rtl .about-grid        { direction:rtl; }
body.rtl .about-contact-card{ direction:rtl; }
body.rtl .acc-item          { flex-direction:row-reverse; }
body.rtl .lang-section      { flex-direction:row-reverse; }
body.rtl .diploma-item      { flex-direction:row-reverse; }
body.rtl .diploma-item > div:not(.dip-icon) { text-align:right; }
body.rtl .diploma-item      { transform:translateX(20px); }
body.rtl .diploma-item.visible { transform:none; }
body.rtl .dip-badge         { margin-left:0; margin-right:auto; }

/* Services */
body.rtl .service-card::after { transform-origin:right; }

/* Feature */
body.rtl .feature-grid      { direction:rtl; }
body.rtl .feature-reversed  { direction:rtl; }
body.rtl .feature-list li   { flex-direction:row-reverse; text-align:right; }
body.rtl .fi-badge          { left:auto; right:22px; }
body.rtl .fi-badge-right    { right:auto; left:22px; }
body.rtl .reveal-left       { transform:translateX(36px); }
body.rtl .reveal-right      { transform:translateX(-36px); }
body.rtl .reveal-left.visible, body.rtl .reveal-right.visible { transform:none; }
body.rtl .btn-teal          { flex-direction:row-reverse; }

/* Journey */
body.rtl .journey-grid  { direction:rtl; }
body.rtl .journey-step  { border-right:none; border-left:1px solid var(--border); }
body.rtl .journey-step:last-child { border-left:none; }
body.rtl .js-arrow      { right:auto; left:-1px; }
body.rtl .js-arrow i    { transform:rotate(180deg); }

/* Trust */
body.rtl .trust-section   { direction:rtl; }
body.rtl .tc-author        { flex-direction:row-reverse; }
body.rtl .tc-author strong, body.rtl .tc-author span { text-align:right; }
body.rtl .tb-item          { flex-direction:row-reverse; }
body.rtl .testimonial-card p { text-align:right; }

/* Appointment */
body.rtl .appt-grid     { direction:rtl; }
body.rtl .appt-info     { text-align:right; }
body.rtl .appt-detail   { flex-direction:row-reverse; }
body.rtl .appt-note     { flex-direction:row-reverse; }
body.rtl .form-group label { text-align:right; }
body.rtl .form-group select {
  background-position:left 13px center;
  padding-left:36px; padding-right:14px;
}

/* Hours */
body.rtl .hcr-item { flex-direction:row-reverse; }

/* FAQ */
body.rtl .faq-question  { flex-direction:row-reverse; text-align:right; }
body.rtl .faq-answer p  { text-align:right; }

/* Contact */
body.rtl .contact-grid  { direction:rtl; }
body.rtl .ci-card       { flex-direction:row-reverse; }
body.rtl .ci-card div   { text-align:right; }
body.rtl .ci-card       { transform:translateX(16px); }
body.rtl .ci-card.visible { transform:none; }

/* Footer */
body.rtl .footer-grid    { direction:rtl; }
body.rtl .footer-logo    { flex-direction:row-reverse; }
body.rtl .footer-social  { flex-direction:row-reverse; }
body.rtl .footer-contact p { flex-direction:row-reverse; }
body.rtl .footer-bottom  { direction:rtl; }
body.rtl .footer-nav a:hover, body.rtl .footer-services a:hover { padding-left:0; padding-right:4px; }
body.rtl .footer-addr    { flex-direction:row-reverse; }

/* Floating buttons */
body.rtl .wa-float    { right:auto; left:26px; }
body.rtl .phone-float { right:auto; left:26px; }
body.rtl .wa-tooltip  {
  right:auto; left:calc(100% + 12px);
}
body.rtl .wa-tooltip::after {
  left:auto; right:100%;
  border-left-color:transparent; border-right-color:var(--navy-dk);
}

/* LTR-forced: numbers, phones */
body.rtl .hc-time,
body.rtl .tsn,
body.rtl .hs-item strong   { direction:ltr; unicode-bidi:embed; display:inline-block; }
body.rtl a[href^="tel:"],
body.rtl a[href^="https://wa.me/"],
body.rtl .acc-item a,
body.rtl .hcr-item a       { direction:ltr; unicode-bidi:embed; display:inline-block; }
body.rtl .bc-link { flex-direction:row-reverse; }
