/* ============================================
   RTL-SPECIFIC OVERRIDES
   For Persian (Farsi) version
   ============================================ */

/* ---- Base RTL ---- */
[lang="fa"] {
  font-family: 'IranSans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  direction: rtl;
  text-align: right;
}

/* ---- Navigation RTL ---- */
[lang="fa"] .nav__logo {
  text-align: right;
}

[lang="fa"] .nav__links {
  flex-direction: row-reverse;
}

[lang="fa"] .nav__actions {
  flex-direction: row-reverse;
}

[lang="fa"] .nav__action-link svg {
  margin-right: 0;
  margin-left: 0.4rem;
}

[lang="fa"] .nav__lang {
  border-left: none;
  border-right: 1px solid var(--color-border);
  padding-left: 0;
  padding-right: 1rem;
  margin-left: 0;
  margin-right: 0.5rem;
}

/* ---- Hero RTL ---- */
[lang="fa"] .hero__container {
  direction: rtl;
}

[lang="fa"] .hero__description {
  text-align: right;
}

[lang="fa"] .hero__expertise-tags {
  justify-content: flex-end;
}

[lang="fa"] .hero__ctas {
  justify-content: flex-end;
}

[lang="fa"] .hero__linkedin {
  justify-content: flex-end;
}

/* ---- About RTL ---- */
[lang="fa"] .about__dimension-list li {
  padding-left: 0;
  padding-right: 1rem;
}

[lang="fa"] .about__dimension-list li::before {
  left: auto;
  right: 0;
}

/* ---- Timeline RTL ---- */
[lang="fa"] .timeline::before {
  left: auto;
  right: 20px;
}

[lang="fa"] .timeline__item {
  padding-left: 0;
  padding-right: 56px;
}

[lang="fa"] .timeline__marker {
  left: auto;
  right: 13px;
}

[lang="fa"] .timeline__list li {
  padding-left: 0;
  padding-right: 1.25rem;
}

[lang="fa"] .timeline__list li::before {
  left: auto;
  right: 0;
}

/* ---- Contact RTL ---- */
[lang="fa"] .contact__channel {
  text-align: right;
}

/* ---- Footer RTL ---- */
[lang="fa"] .footer__top {
  text-align: right;
}

/* ---- Achievement RTL ---- */
[lang="fa"] .achievement__case {
  border-left: none;
  border-right: 4px solid var(--color-accent);
}

/* ---- FAQ RTL ---- */
[lang="fa"] .faq__question {
  direction: rtl;
}

/* ---- Insights RTL ---- */
[lang="fa"] .insights__categories {
  justify-content: flex-end;
}

/* ---- Philosophy RTL ---- */
[lang="fa"] .philosophy__content {
  text-align: center;
}

/* ---- Mobile RTL ---- */
@media (max-width: 1023px) {
  [lang="fa"] .hero__expertise-tags {
    justify-content: center;
  }

  [lang="fa"] .hero__ctas {
    justify-content: center;
  }

  [lang="fa"] .hero__linkedin {
    justify-content: center;
  }

  [lang="fa"] .insights__categories {
    justify-content: center;
  }
}

/* ---- Tablet+ RTL ---- */
@media (min-width: 768px) {
  [lang="fa"] .hero__expertise-tags {
    justify-content: flex-end;
  }

  [lang="fa"] .hero__ctas {
    justify-content: flex-end;
  }
}
