/* RTL Support for Arabic Pages */
body {
    direction: rtl;
    text-align: right;
}

/* Adjust navigation for RTL */
.nav-container {
    flex-direction: row-reverse;
}

.nav-menu {
    flex-direction: row;
}

.nav-menu li {
    text-align: right;
}

/* Language switch inside nav-menu should be at the end (left side in RTL) */
.nav-menu .lang-switch {
    order: 99;
    margin-right: auto;
}

/* Dropdown position for RTL */
.dropdown-content {
    left: auto;
    right: 0;
}

/* Desktop language switcher RTL */
.nav-container > .lang-switch {
    order: 0;
}

/* Adjust card layout */
.card-link,
.btn-outline,
.cta-button {
    text-align: center;
}

/* Process timeline RTL */
.process-timeline {
    direction: rtl;
}

.process-arrow {
    transform: none;
}

/* Footer RTL */
.footer-content {
    direction: rtl;
    text-align: right;
}

/* Adjust padding and margins for RTL */
.card-number {
    left: auto;
    right: 30px;
}

.process-number,
.deliverable-icon {
    left: auto;
    right: 30px;
}

/* Mobile menu RTL */
@media (max-width: 768px) {
    .nav-menu {
        right: auto !important;
        left: -100% !important;
        transition: left 0.3s ease !important;
    }

    .nav-menu.mobile-active {
        left: 0 !important;
        right: auto !important;
    }

    /* Mobile dropdown RTL */
    .dropdown-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .dropdown-content a {
        padding: 14px 40px 14px 24px !important;
    }

    .nav-menu li a {
        text-align: right !important;
    }

    .nav-menu .lang-switch a {
        text-align: right !important;
    }
}