/**
 * Foyez AC Repairing — Arabic RTL Stylesheet
 * Doha, Qatar
 */

body {
  direction: rtl;
  text-align: right;
  font-family: var(--font-ar);
}

/* Force Numbers and Phone to LTR display */
.phone-number,
.ltr-text,
a[href^="tel:"],
a[href^="mailto:"],
.numeric-value {
  direction: ltr !important;
  display: inline-block;
  unicode-bidi: embed;
}

/* Header & Nav */
.nav-link::after {
  left: auto;
  right: 0;
}

/* Mobile Slide-Out Drawer - Slides from Left in Arabic */
.mobile-nav-drawer {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

/* Buttons */
.btn svg,
.btn-sm svg,
.btn-lg svg {
  transform: scaleX(-1);
}

/* Exempt specific icons from flipping if they are universal */
.social-icon-link svg,
.floating-whatsapp-btn svg,
.phone-icon svg {
  transform: none !important;
}

/* Section Header */
.section-header {
  text-align: center;
}

/* Feature & Service Cards */
.service-warning-box {
  border-left: none;
  border-right: 4px solid #D97706;
}

/* FAQ */
.faq-question {
  text-align: right;
}

/* Footer Heading Accent Line */
.footer-col h4::after {
  left: auto;
  right: 0;
}

.footer-links a:hover {
  transform: translateX(-3px);
}

/* Floating WhatsApp in RTL */
.floating-whatsapp {
  right: 22px; /* Kept on right side as specified in prompt requirement 5 */
  left: auto;
}

.floating-whatsapp-tooltip {
  transform: translateX(-10px);
}

.floating-whatsapp:hover .floating-whatsapp-tooltip {
  transform: translateX(0);
}

@media (max-width: 639px) {
  .floating-whatsapp {
    right: 16px;
    left: auto;
  }
}

