/**
 * About Page - RTL Support Styles
 * Contains all RTL (Right-to-Left) styles for Arabic language support
 */

/* RTL Support for Arabic */
[dir="rtl"] .modern-cta-button,
html[dir="rtl"] .modern-cta-button {
  flex-direction: row-reverse;
}

[dir="rtl"] .modern-cta-button i.fa-arrow-right,
html[dir="rtl"] .modern-cta-button i.fa-arrow-right {
  transform: rotate(180deg);
}

[dir="rtl"] .modern-cta-button:hover i.fa-arrow-right,
html[dir="rtl"] .modern-cta-button:hover i.fa-arrow-right {
  transform: rotate(180deg) translateX(-5px);
}

[dir="rtl"] .modern-cta-button i {
  transform: rotate(180deg);
}

[dir="rtl"] .modern-cta-button:hover i {
  transform: rotate(180deg) translateX(-5px);
}

/* RTL for other elements */
[dir="rtl"] .about-hero-quote,
html[dir="rtl"] .about-hero-quote {
  direction: rtl;
  text-align: center;
}

[dir="rtl"] .vision-paragraph,
html[dir="rtl"] .vision-paragraph {
  text-align: right;
}

[dir="rtl"] .timeline-content,
html[dir="rtl"] .timeline-content {
  text-align: right;
}

[dir="rtl"] .principle-description,
html[dir="rtl"] .principle-description {
  text-align: right;
}

[dir="rtl"] .timeline-item:nth-child(odd) .timeline-content:first-child::before {
  right: auto;
  left: -15px;
}

[dir="rtl"] .timeline-item:nth-child(even) .timeline-content:last-child::before {
  left: auto;
  right: -15px;
}

[dir="rtl"] .timeline-description {
  text-align: right;
}
