/* ========================================
   Arabic RTL Overrides
   ======================================== */

/* Typography */
body {
    font-family: 'Tajawal', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Headings use Tajawal with heavier weights */
h1, h2, h3, h4, h5, h6,
.hero__title,
.section__title,
.partners__title,
.partner-hero__title,
.partner-form-header__title,
.partner-faq__title {
    font-family: 'Tajawal', Georgia, serif;
    font-weight: 700;
}

/* Numbers - proper RTL flow */
.hero__stat-number,
.partner-hero__stat-number,
.testimonials__stat-number,
.pricing-card__price,
.step__number {
    font-feature-settings: "tnum";
    unicode-bidi: plaintext;
}

/* Phone numbers always display LTR */
a[href^="tel"],
.phone-number,
.app-store-btn__large {
    direction: ltr;
    unicode-bidi: embed;
}

/* Footer contact items - proper RTL alignment with LTR content */
.footer__contact-item {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: var(--space-2);
}

.footer__contact-item svg {
    flex-shrink: 0;
}

.footer__contact-item[href^="tel"] {
    direction: ltr;
}

/* Email should also be LTR */
.footer__contact-item[href^="mailto"] {
    direction: ltr;
}

/* RTL-specific adjustments */
.nav__menu {
    flex-direction: row-reverse;
}

.nav__actions {
    flex-direction: row-reverse;
}

/* Step connector reversal */
.step__connector svg {
    transform: scaleX(-1);
}

/* Service card features */
.service-card__features li::before {
    margin-left: var(--space-2);
    margin-right: 0;
}

/* Pricing features */
.pricing-card__feature::before {
    margin-left: var(--space-3);
    margin-right: 0;
}

/* Business option benefits */
.business-option__benefits li::before {
    margin-left: var(--space-2);
    margin-right: 0;
}

/* App store buttons */
.app-store-btn__text {
    text-align: right;
}

/* Footer links */
.footer__links {
    direction: rtl;
}

/* Hero phone - keep LTR for app mockup */
.hero__phone-content {
    direction: ltr;
    text-align: left;
}

.hero__phone-app-header {
    direction: rtl;
}

/* Nav link underline from right */
.nav__link::after {
    right: 0;
    left: auto;
}

/* Adjustments for RTL layout */
@media (max-width: 968px) {
    .hero__stats {
        justify-content: center;
    }
}

/* Footer social icons */
.footer__social {
    flex-direction: row-reverse;
}
