/* ============================================================
   Arabic (RTL) Stylesheet — style_ar.css
   Loaded only when locale = 'ar'
   ============================================================ */

/* ---------- Typography ---------- */
body,
h1, h2, h3, h4, h5, h6,
p, a, span, li,
td, th,
input, textarea, select, button {
    font-family: 'Cairo', sans-serif !important;
}

/* ---------- Navbar ---------- */
.navbar-nav {
    flex-direction: row-reverse;
}

.navbar-light .navbar-nav .nav-link {
    font-size: 16px;
    margin-right: 0;
    margin-left: 20px;
    white-space: nowrap;
}

.sticky-top .navbar-light .navbar-nav .nav-link {
    /* padding: 27px 0; */
}

/* تصغير الخط تدريجياً على الشاشات المتوسطة */
@media (max-width: 1155px) {
    .navbar-light .navbar-nav .nav-link {
        font-size: 14px;
        margin-left: 10px;
    }
}

/* Mobile: إلغاء nowrap والـ margin لأن الـ navbar بيتطوي عمودياً */
@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        white-space: normal;
        margin-left: 0;
        margin-right: 0;
    }
}

.dropdown-menu {
    text-align: right;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-right: 0;
    padding-left: 0.5rem;
    content: "/";
    color: #6c757d;
}

/* ---------- General RTL helpers ---------- */
.text-start {
    text-align: right !important;
}

.text-end {
    text-align: left !important;
}

/* Flip arrow icons in RTL */
.fa-arrow-right,
.fa-angle-right {
    transform: scaleX(-1);
    display: inline-block;
}

/* ---------- Product features list ---------- */
.product_features ul li span.number {
    left: auto;
    right: 0;
}

.product_features ul li .content {
    padding-left: 0;
    padding-right: 9%;
}

/* ---------- Sub-title decorative lines ---------- */
.sub-title::before,
.section-title .sub-style::before {
    right: auto;
    left: 0;
    margin-right: 0;
    margin-left: -100px;
}

.sub-title::after,
.section-title .sub-style::after {
    right: auto;
    left: 0;
    margin-right: 0;
    margin-left: -50px;
}

/* ---------- Accordion (Core Commitments) ---------- */
.faq__accordian-heading {
    padding: 10px 45px 10px 30px;
    text-align: right;
}

.faq__accordian-heading::before {
    left: auto;
    right: 20px;
}

/* ---------- Cards / Service items ---------- */
.service-title-name {
    direction: rtl;
}

.sub-style h5,
.sub-title {
    direction: rtl;
    text-align: right;
}

/* ---------- Lists ---------- */
ul.service_details {
    padding-right: 1.5rem;
    padding-left: 0;
    direction: rtl;
    text-align: right;
}

/* ---------- Contact phone/fax numbers ---------- */
.contact a[href^="tel:"] {
    direction: ltr;
    display: inline-block;
    unicode-bidi: embed;
}

/* ---------- Footer ---------- */
.footer-item {
    direction: rtl;
    text-align: right;
}

/* ---------- Owl Carousel nav ---------- */
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev {
    margin-right: 0;
    margin-left: 40px;
}

/* ---------- Language switcher active state ---------- */
.lang-active {
    font-weight: 700;
}

/* ---------- Carousel ---------- */
.carousel-header,
.carousel-header .carousel-inner {
    overflow: hidden;
}

.carousel-header .carousel-inner .carousel-item .carousel-caption {
    right: 0;
    left: 0;
}
