/* ==========================================================================
   NextChaat - RTL (Right-to-Left) Stylesheet for Arabic
   ========================================================================== */

html[dir="rtl"], body[dir="rtl"] {
  font-family: var(--font-arabic) !important;
  direction: rtl;
  text-align: right;
}

[dir="rtl"] h1, 
[dir="rtl"] h2, 
[dir="rtl"] h3, 
[dir="rtl"] h4, 
[dir="rtl"] h5, 
[dir="rtl"] h6,
[dir="rtl"] p,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] select,
[dir="rtl"] textarea {
  font-family: var(--font-arabic) !important;
}

/* Nav & Language */
[dir="rtl"] .brand-tag {
  margin-left: 0;
  margin-right: 0.5rem;
}

[dir="rtl"] .lang-dropdown {
  right: auto;
  left: 0;
}

[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

/* Stats Separators */
[dir="rtl"] .stat-item:not(:last-child)::after {
  right: auto;
  left: 0;
}

/* FAQ question */
[dir="rtl"] .faq-question {
  text-align: right;
}

/* Floating WhatsApp Button on the bottom-left for Arabic */
[dir="rtl"] .floating-whatsapp {
  right: auto;
  left: 2rem;
}

@media (max-width: 640px) {
  [dir="rtl"] .floating-whatsapp {
    right: auto;
    left: 1.25rem;
    bottom: 1.25rem;
  }
}

/* Checkmarks and List Icons */
[dir="rtl"] .feature-pill {
  flex-direction: row;
}

/* Estimator Check Circles */
[dir="rtl"] .estimator-option-card {
  flex-direction: row;
}

/* Ticker Slide reverse for RTL or smooth flow */
[dir="rtl"] .ticker-track {
  direction: ltr; /* Keeps tech logo names properly oriented */
}
