/* ============================================================
   RTL / LTR Direction Overrides for ESDeveLops Premium
   ============================================================ */

/* ── RTL (Hebrew) ── */
body.rtl {
  direction: rtl;
  text-align: right;
}

/* Nav: logo on right, actions on left */
body.rtl .navbar .container {
  flex-direction: row;
}
body.rtl .nav-list {
  flex-direction: row-reverse;
}

/* section-eyebrow line: flip to right side */
body.rtl .section-eyebrow::before {
  order: 1;
}
body.rtl .section-eyebrow {
  flex-direction: row-reverse;
}

/* About text alignment */
body.rtl .about-text .section-title { text-align: right; }
body.rtl .about-text .section-eyebrow { justify-content: flex-start; }

/* Hero buttons — align right */
body.rtl .hero-buttons { justify-content: flex-start; }

/* Hero trust row */
body.rtl .hero-trust { direction: rtl; }
body.rtl .trust-avatars { flex-direction: row-reverse; }
body.rtl .trust-avatar { margin-inline-start: -8px; margin-inline-end: 0; }
body.rtl .trust-avatar:last-child { margin-inline-start: -8px; }
body.rtl .trust-avatar:first-child { margin-inline-start: 0; }

/* Contact icon margin */
body.rtl .contact-icon { margin-left: var(--space-4); margin-right: 0; }

/* Service link arrow flip */
body.rtl .service-link { direction: rtl; }

/* Service popular badge: move to left in RTL (service-num flows from right) */
body.rtl .service-popular {
  right: auto;
  left: var(--space-5);
}

/* Footer social */
body.rtl .footer-social { flex-direction: row; }

/* Back to top: left side for RTL */
body.rtl .back-to-top {
  inset-inline-end: var(--space-8);
}

/* section-header subtitle */
body.rtl .section-header .section-subtitle { text-align: center; }
body.rtl .section-header { text-align: right; }
body.rtl .section-header .section-subtitle { text-align: center; }
body.rtl .section-header .section-eyebrow { justify-content: center; }

/* Stat cards: center content */
body.rtl .stat-card { text-align: center; }

/* about feature flex */
body.rtl .about-feature { flex-direction: row; }

/* Form labels */
body.rtl .form-group label { text-align: right; }
body.rtl .form-group input,
body.rtl .form-group textarea {
  text-align: right;
}

/* Footer */
body.rtl .footer-content { direction: rtl; }
body.rtl .footer-description { text-align: right; }
body.rtl .footer-section h4 { text-align: right; }
body.rtl .footer-section ul li { text-align: right; }

/* Clients strip */
body.rtl .clients-strip .container { flex-direction: row-reverse; }

/* Portfolio metrics */
body.rtl .portfolio-metrics { direction: rtl; }

/* Testimonials */
body.rtl .testi-author { flex-direction: row; }
body.rtl .testi-quote { text-align: right; }
body.rtl .testi-stars { text-align: right; }

/* Service features list */
body.rtl .service-features li { flex-direction: row-reverse; justify-content: flex-end; }
body.rtl .service-num { text-align: right; }

/* Hero card visual: mirror on RTL */
body.rtl .hero-visual { direction: ltr; }

/* Mobile RTL */
@media (max-width: 768px) {
  body.rtl .nav-menu { left: 0; right: 0; }
  body.rtl .hero-buttons { align-items: flex-start; }
}

/* ── LTR (English) ── */
body.ltr {
  direction: ltr;
  text-align: left;
}
body.ltr .navbar .container { flex-direction: row; }
body.ltr .nav-list { flex-direction: row; }
body.ltr .about-text .section-title { text-align: left; }
body.ltr .section-header { text-align: center; }
body.ltr .hero-buttons { justify-content: flex-start; }
body.ltr .trust-avatars { flex-direction: row; }
body.ltr .trust-avatar { margin-inline-start: -8px; }
body.ltr .trust-avatar:first-child { margin-inline-start: 0; }
body.ltr .contact-icon { margin-right: var(--space-4); margin-left: 0; }
body.ltr .footer-content { direction: ltr; }
body.ltr .clients-strip .container { flex-direction: row; }

@media (max-width: 768px) {
  body.ltr .hero-buttons { align-items: flex-start; }
}
