/* ===== RTL OVERRIDES FOR ARABIC ===== */

/* Base direction */
body {
  direction: rtl;
  text-align: right;
}

/* Typography */
body,
.form-group input,
.form-group textarea,
.btn,
.filter-btn,
.section-label,
.nav-links a,
.nav-demo,
.nav-lang,
.mobile-menu .nav-demo,
.mobile-menu .nav-lang,
.footer-col h4 {
  font-family: 'Noto Sans Arabic', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

h1, h2, h3, h4,
.nav-logo,
.footer-brand .footer-logo,
.mobile-menu a {
  font-family: 'Noto Sans Arabic', 'Cormorant Garamond', Georgia, serif;
}

/* Navigation */
.nav-links {
  flex-direction: row-reverse;
}

.nav-links a::after {
  left: auto;
  right: 0;
}

/* Hero */
.hero-content {
  text-align: center;
}

/* Pillar cards, feature cards - text alignment */
.pillar-card,
.feature-card,
.usecase-card,
.insight-card {
  text-align: right;
}

/* Comparison list */
.comparison-col li {
  padding-left: 0;
  padding-right: 28px;
}

.comparison-col li::before {
  left: auto;
  right: 0;
}

/* Comparison heading border */
.comparison-col h3 {
  text-align: right;
}

/* Contact details */
.contact-detail {
  flex-direction: row-reverse;
}

.contact-form .btn-filled {
  align-self: flex-end;
}

/* Footer */
.footer-grid {
  direction: rtl;
}

.footer-bottom {
  flex-direction: row-reverse;
}

.footer-social {
  flex-direction: row-reverse;
}

/* Legal / Article */
.legal-body,
.article-body {
  text-align: right;
}

.article-body blockquote {
  border-left: none;
  border-right: 3px solid var(--gold);
  padding: 20px 28px 20px 20px;
}

.legal-body ul,
.article-body ul,
.article-body ol {
  padding-left: 0;
  padding-right: 24px;
}

/* Article back link */
.article-back {
  text-align: right;
}

/* Insights filters */
.insights-filters {
  flex-direction: row-reverse;
}

/* Insights teaser header */
.insights-teaser-header {
  flex-direction: row-reverse;
}

/* Why card underline */
.why-card h3::after {
  left: auto;
  right: 0;
}

/* Feature card top border animation */
.feature-card::before {
  transform-origin: right;
}

/* Section text */
.section-subheading {
  text-align: right;
}

/* Contact info text */
.contact-info .contact-text {
  text-align: right;
}

/* Mobile menu center alignment stays centered */
.mobile-menu {
  text-align: center;
}

/* LIDA steps stay centered */
.lida-step {
  text-align: center;
}

/* Deployment cards stay centered */
.deployment-card {
  text-align: center;
}

/* Values cards stay centered */
.value-card {
  text-align: center;
}

/* CTA section stays centered */
.cta-section {
  text-align: center;
}

/* Logo bar stays centered */
.logo-bar {
  text-align: center;
}

/* Nervous system stays centered */
.nervous-system {
  text-align: center;
}

/* Responsive RTL */
@media (max-width: 768px) {
  .insights-teaser-header {
    align-items: flex-end;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
