/*
  Arabic visual layer only.
  Keep global TR/EN styles untouched and scope RTL fixes to html[dir="rtl"] .ar-site.
*/

html[dir="rtl"] body.ar-site {
    direction: rtl;
    text-align: right;
    font-family: "Tahoma", "Arial", "Segoe UI", sans-serif;
    line-height: 1.8;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Arabic inner treatment-process timeline: centered EN rhythm in RTL. */
html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) + .sd-process_warp .sd-heading {
    width: 100%;
    max-width: 1100px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) + .sd-process_warp .sd-heading .sd-title {
    width: 100%;
    max-width: 1000px;
    margin-right: auto;
    margin-bottom: 26px;
    margin-left: auto;
    line-height: 1.35;
    text-align: center;
}

html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) + .sd-process_warp .sd-heading .sd-content {
    width: 100%;
    max-width: 980px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
    line-height: 1.75;
    text-align: center;
}

html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) + .sd-process_warp .sd-process_inner {
    align-items: stretch;
    margin-top: 78px;
    padding-top: 22px;
}

html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) + .sd-process_warp .sd-process-item {
    min-height: 250px;
    padding: 56px 22px 18px 60px;
}

html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) + .sd-process_warp .sd-process-item .xb-item--number {
    top: 7px;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) + .sd-process_warp .sd-process-item .xb-item--title {
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.4;
}

html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) + .sd-process_warp .sd-process-item .xb-item--contact {
    margin-bottom: 0;
    line-height: 1.7;
}

@media (max-width: 1199px) {
    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) + .sd-process_warp .sd-process_inner {
        gap: 30px;
        margin-top: 58px;
        padding-top: 10px;
    }

    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) + .sd-process_warp .sd-process-item {
        width: calc(50% - 15px);
        max-width: none;
        min-height: 238px;
        margin-right: 0;
        padding: 54px 22px 18px 60px;
    }
}

@media (max-width: 767px) {
    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) + .sd-process_warp .sd-heading .sd-title {
        margin-bottom: 20px;
        font-size: 26px;
        line-height: 1.5;
    }

    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) + .sd-process_warp .sd-heading .sd-content {
        line-height: 1.7;
    }

    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) + .sd-process_warp .sd-process_inner {
        gap: 34px;
        margin-top: 44px;
    }

    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) + .sd-process_warp .sd-process-item {
        width: 100%;
        min-height: 232px;
        padding: 52px 20px 18px 60px;
    }
}

/* Arabic inner treatment-approach section: EN rhythm with mirrored RTL geometry. */
html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) .da-sec-titlte {
    margin-bottom: 56px;
}

html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) .da-sec-titlte > .title {
    width: 100%;
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
    font-size: 40px;
    line-height: 1.48;
    text-align: right;
}

html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) .da-sec-titlte > p {
    width: 100%;
    max-width: 900px;
    margin: 22px auto 0;
    line-height: 1.8;
    text-align: right;
}

html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) .about-left,
html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) .about-right {
    display: grid;
    grid-template-rows: repeat(3, minmax(166px, auto));
    align-content: start;
    row-gap: 38px;
}

html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) .about-right {
    margin-right: 105px;
    margin-left: 0;
}

html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) .about-left::before {
    right: auto;
    left: -12px;
    top: 50%;
    height: calc(100% - 8px);
}

html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) .about-left > .xb-item--holder,
html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) .about-right > .xb-item--holder {
    min-height: 166px;
    margin-bottom: 0;
}

html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) .xb-item--title {
    margin-bottom: 18px;
    line-height: 1.35;
}

html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) .xb-item--content {
    line-height: 1.7;
    letter-spacing: 0;
}

@media (max-width: 1199px) {
    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) .about-right {
        margin-right: 0;
        margin-left: 0;
    }
}

@media (max-width: 991px) {
    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) .da-sec-titlte > .title {
        max-width: 820px;
        font-size: 34px;
        line-height: 1.5;
    }

    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) .about-left,
    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) .about-right {
        grid-template-rows: none;
        row-gap: 30px;
    }

    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) .about-right {
        width: 100%;
        max-width: none;
    }

    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) .about-left > .xb-item--holder,
    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) .about-right > .xb-item--holder {
        min-height: 0;
    }
}

@media (max-width: 767px) {
    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) .da-sec-titlte {
        margin-bottom: 42px;
    }

    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) .da-sec-titlte > .title {
        font-size: 25px;
        line-height: 1.55;
    }

    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) .da-sec-titlte > p {
        margin-top: 18px;
        line-height: 1.75;
    }

    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) section.about.m-lr:has(.about-left > .xb-item--holder:nth-child(3)):has(.about-right > .xb-item--holder:nth-child(3)) .xb-item--title {
        margin-bottom: 12px;
        font-size: 27px;
    }
}

html[dir="rtl"],
html[dir="rtl"] body.ar-site {
    overflow-x: clip;
}

html[dir="rtl"] .ar-site *,
html[dir="rtl"] .ar-site *::before,
html[dir="rtl"] .ar-site *::after {
    box-sizing: border-box;
}

html[dir="rtl"] .ar-site img,
html[dir="rtl"] .ar-site video {
    max-width: 100%;
}

html[dir="rtl"] .ar-site .wow {
    visibility: visible !important;
    opacity: 1 !important;
}

html[dir="rtl"] .ar-site .xb-item--content,
html[dir="rtl"] .ar-site .med-product-lead,
html[dir="rtl"] .ar-site .page-update_time,
html[dir="rtl"] .ar-site .item_details_content p,
html[dir="rtl"] .ar-site .content p {
    opacity: 1 !important;
    visibility: visible !important;
}

html[dir="rtl"] .ar-site h1,
html[dir="rtl"] .ar-site h2,
html[dir="rtl"] .ar-site h3,
html[dir="rtl"] .ar-site h4,
html[dir="rtl"] .ar-site h5,
html[dir="rtl"] .ar-site h6,
html[dir="rtl"] .ar-site p,
html[dir="rtl"] .ar-site li,
html[dir="rtl"] .ar-site a,
html[dir="rtl"] .ar-site span,
html[dir="rtl"] .ar-site label,
html[dir="rtl"] .ar-site input,
html[dir="rtl"] .ar-site textarea,
html[dir="rtl"] .ar-site button {
    letter-spacing: 0;
}

html[dir="rtl"] .ar-site .page-title-box .title,
html[dir="rtl"] .ar-site .xb-hero .xb-item--title,
html[dir="rtl"] .ar-site .sec-title--two .title,
html[dir="rtl"] .ar-site .da-sec-titlte .title,
html[dir="rtl"] .ar-site .sd-title,
html[dir="rtl"] .ar-site .med-tech-title {
    line-height: 1.32;
    max-width: 760px;
    overflow-wrap: anywhere;
}

html[dir="rtl"] .ar-site .xb-hero .xb-item--content,
html[dir="rtl"] .ar-site .med-product-lead,
html[dir="rtl"] .ar-site .sd-content,
html[dir="rtl"] .ar-site .home-feature-desc,
html[dir="rtl"] .ar-site .page-title-box .page-update_time {
    line-height: 1.9;
    max-width: 700px;
    overflow-wrap: anywhere;
}

/* Header */
html[dir="rtl"] .ar-site .header__wrap {
    direction: rtl;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 28px;
    max-width: 100%;
    min-width: 0;
}

html[dir="rtl"] .ar-site .header-logo {
    order: 1;
    flex: 0 0 auto;
    margin-left: 0;
    margin-right: 0;
}

html[dir="rtl"] .ar-site .header-logo img {
    display: block;
    max-width: 178px;
    margin: 0 !important;
}

html[dir="rtl"] .ar-site .main-menu__wrap {
    order: 2;
    flex: 1 1 auto;
    justify-content: flex-start;
    margin-right: clamp(22px, 4vw, 72px);
    margin-left: 0;
}

html[dir="rtl"] .ar-site .header-action-wrap {
    order: 3;
    flex: 0 0 auto;
    margin-right: auto;
    margin-left: 0;
}

html[dir="rtl"] .ar-site .header-contact {
    gap: 14px;
    flex-direction: row;
    min-width: 0;
}

html[dir="rtl"] .ar-site .main-menu > ul {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 0;
    margin: 0;
}

html[dir="rtl"] .ar-site .header-style-six .main-menu__wrap .main-menu > ul > li:not(:last-child) {
    margin-right: 0;
    margin-left: 6px;
}

html[dir="rtl"] .ar-site .header-style-six .main-menu__wrap .main-menu > ul > li > a {
    padding: 20px 15px;
    font-family: "Tahoma", "Arial", "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.4;
    white-space: nowrap;
}

html[dir="rtl"] .ar-site .header-style-two .stricked-menu .main-menu__wrap .main-menu > ul > li > a,
html[dir="rtl"] .ar-site .header-style-six .stricked-menu .main-menu__wrap .main-menu > ul > li > a {
    padding: 28px 12px !important;
}

html[dir="rtl"] .ar-site .pp-lang-switch {
    position: relative;
}

html[dir="rtl"] .ar-site .pp-lang-toggle {
    direction: rtl;
    gap: 8px;
    white-space: nowrap;
}

html[dir="rtl"] .ar-site .pp-lang-toggle i {
    margin-right: 2px;
    margin-left: 0;
}

html[dir="rtl"] .ar-site .pp-lang-dropdown {
    right: auto;
    left: 0;
    min-width: 132px;
    padding-right: 0;
    text-align: right;
}

html[dir="rtl"] .ar-site .thm-btn--fill_icon .xb-item--holder,
html[dir="rtl"] .ar-site .thm-btn--fill_icon .xb-item--hidden-text,
html[dir="rtl"] .ar-site .thm-btn .xb-item--holder {
    direction: rtl;
}

html[dir="rtl"] .ar-site .thm-btn--fill_icon {
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

html[dir="rtl"] .ar-site .thm-btn--fill_icon .xb-item--hidden-text,
html[dir="rtl"] .ar-site .thm-btn--fill_icon .xb-item--text2 {
    display: none !important;
}

html[dir="rtl"] .ar-site .thm-btn--fill_icon .xb-item--holder {
    position: static !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
    max-width: 100%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transform: none !important;
    white-space: normal;
}

html[dir="rtl"] .ar-site .header-contact > .thm-btn--fill_icon {
    min-width: 204px;
    height: 64px;
    padding: 10px 18px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

html[dir="rtl"] .ar-site .main-menu ul li.menu-item-has-children > a span::after {
    padding-right: 6px;
    padding-left: 0;
}

html[dir="rtl"] .ar-site .header-contact > .thm-btn--fill_icon .xb-item--hidden-text {
    display: none;
}

html[dir="rtl"] .ar-site .header-contact > .thm-btn--fill_icon .xb-item--holder {
    position: static;
    left: auto;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transform: none !important;
    white-space: nowrap;
}

html[dir="rtl"] .ar-site .header-contact > .thm-btn--fill_icon .xb-item--text {
    font-size: 17px;
    line-height: 1;
    letter-spacing: 0;
}

html[dir="rtl"] .ar-site .header-contact > .thm-btn--fill_icon .xb-item--text2 {
    display: none;
}

html[dir="rtl"] .ar-site .header-contact > .thm-btn--fill_icon .xb-item--holder .xb-item--text:last-child {
    display: none;
}

html[dir="rtl"] .ar-site .header-contact > .thm-btn--fill_icon .xb-item--icon {
    width: 42px;
    height: 42px;
    margin: 0;
    flex: 0 0 42px;
}

/* Mega menus and dropdowns */
html[dir="rtl"] .ar-site .main-menu > ul > li .submenu,
html[dir="rtl"] .ar-site .main-menu > ul > li .sub-menu {
    right: 0;
    left: auto;
    text-align: right;
}

html[dir="rtl"] .ar-site .mega_menu_wrapper,
html[dir="rtl"] .ar-site .mega_menu_wrapper_inner,
html[dir="rtl"] .ar-site .megamenu_widget,
html[dir="rtl"] .ar-site .social_area,
html[dir="rtl"] .ar-site .site_author,
html[dir="rtl"] .ar-site .megamenu_case {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .ar-site .mega_menu_wrapper .row {
    flex-direction: row-reverse;
}

html[dir="rtl"] .ar-site .icon_list,
html[dir="rtl"] .ar-site .unordered_list_block,
html[dir="rtl"] .ar-site .xb-menu-primary,
html[dir="rtl"] .ar-site .footer-links,
html[dir="rtl"] .ar-site .xb-item--item,
html[dir="rtl"] .ar-site .category_list_block,
html[dir="rtl"] .ar-site .accordion_box {
    padding-right: 0;
    padding-left: 0;
}

html[dir="rtl"] .ar-site .icon_list_text {
    display: inline-block;
    text-align: right;
}

html[dir="rtl"] .ar-site .author_box {
    direction: rtl;
}

html[dir="rtl"] .ar-site .author_image {
    margin-left: 14px;
    margin-right: 0;
}

/* Mobile menu */
html[dir="rtl"] .ar-site .xb-header-menu {
    right: 0;
    left: auto;
    transform: translateX(100%);
}

html[dir="rtl"] .ar-site .xb-header-menu.active {
    transform: translateX(0);
}

html[dir="rtl"] .ar-site .xb-header-menu-scroll {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .ar-site .xb-header-menu-scroll .xb-close {
    right: auto;
    left: 0;
}

html[dir="rtl"] .ar-site .xb-header-menu-scroll .xb-menu-primary > li .sub-menu,
html[dir="rtl"] .ar-site .xb-header-menu-scroll .xb-menu-primary > li .children {
    padding-right: 15px;
    padding-left: 0;
}

html[dir="rtl"] .ar-site .xb-header-menu-scroll .xb-menu-primary li.menu-item-has-children > a {
    padding-left: 46px;
    padding-right: 0;
}

html[dir="rtl"] .ar-site .xb-header-menu-scroll .xb-menu-primary li.menu-item-has-children > .xb-menu-toggle {
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    z-index: 2;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    cursor: pointer;
}

html[dir="rtl"] .ar-site .xb-header-menu-scroll .xb-menu-primary li.menu-item-has-children > .xb-menu-toggle::before {
    content: "\f107";
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    transition: transform 0.2s ease;
}

html[dir="rtl"] .ar-site .xb-header-menu-scroll .xb-menu-primary li.menu-item-has-children > .xb-menu-toggle.active::before {
    transform: rotate(180deg);
}

/* Hero and content rhythm */
html[dir="rtl"] .ar-site .page-title-box,
html[dir="rtl"] .ar-site .xb-hero,
html[dir="rtl"] .ar-site .sd-heading,
html[dir="rtl"] .ar-site .about-left,
html[dir="rtl"] .ar-site .about-right,
html[dir="rtl"] .ar-site .blog_details_content,
html[dir="rtl"] .ar-site .item_details_content,
html[dir="rtl"] .ar-site .sidebar,
html[dir="rtl"] .ar-site .item-contact_info,
html[dir="rtl"] .ar-site .contact-form,
html[dir="rtl"] .ar-site .xb-faq .content {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .ar-site .page-title-box .title {
    letter-spacing: 0;
}

html[dir="rtl"] .ar-site .page-title-box .title {
    font-size: clamp(38px, 4.1vw, 68px);
}

html[dir="rtl"] .ar-site .cp-page-title .page-title-box .title,
html[dir="rtl"] .ar-site .cp-page-title .page-title-box .page-update_time {
    max-width: 600px;
    margin-right: 0;
    margin-left: auto;
}

html[dir="rtl"] .ar-site .xb-hero .xb-item--title {
    font-size: clamp(34px, 3.6vw, 58px);
}

html[dir="rtl"] .ar-site .cp-page-title .row,
html[dir="rtl"] .ar-site .hero-style-two .row.align-items-center {
    flex-direction: row;
}

html[dir="rtl"] .ar-site .cp-img-slide {
    right: auto;
    left: 5%;
    max-width: 100%;
}

html[dir="rtl"] .ar-site .hero-right_img,
html[dir="rtl"] .ar-site .sd-right-img {
    direction: ltr;
}

html[dir="rtl"] .ar-site .sd-process_inner {
    direction: rtl;
}

html[dir="rtl"] .ar-site .sd-process-item,
html[dir="rtl"] .ar-site .luvi-entry-card,
html[dir="rtl"] .ar-site .hd-blog,
html[dir="rtl"] .ar-site .blog_details_item,
html[dir="rtl"] .ar-site .pg-component-step,
html[dir="rtl"] .ar-site .xb-item--holder {
    text-align: right;
}

/* Buttons, icons, and inline affordances */
html[dir="rtl"] .ar-site .med-product-actions {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    max-width: 100%;
}

html[dir="rtl"] .ar-site .med-product-actions > * {
    max-width: 100%;
}

html[dir="rtl"] .ar-site .thm-btn,
html[dir="rtl"] .ar-site .cp-btn,
html[dir="rtl"] .ar-site .med-product-link,
html[dir="rtl"] .ar-site .xb-item--button a,
html[dir="rtl"] .ar-site .xb-item--det-btn,
html[dir="rtl"] .ar-site .megamenu_btn {
    direction: rtl;
}

html[dir="rtl"] .ar-site .far.fa-arrow-right,
html[dir="rtl"] .ar-site .far.fa-long-arrow-right,
html[dir="rtl"] .ar-site .fa-arrow-right,
html[dir="rtl"] .ar-site .fa-long-arrow-right {
    transform: scaleX(-1);
}

html[dir="rtl"] .ar-site .xb-item--item li i,
html[dir="rtl"] .ar-site .content li i {
    margin-left: 8px;
    margin-right: 0;
}

html[dir="rtl"] .ar-site .luvi-entry-more span {
    display: inline-block;
    transform: scaleX(-1);
}

html[dir="rtl"] .ar-site .category_list_block a {
    direction: rtl;
}

html[dir="rtl"] .ar-site .category_list_block a span:first-child {
    transform: none;
    gap: 8px;
}

html[dir="rtl"] .ar-site .category_list_block a span:first-child i {
    display: none;
}

html[dir="rtl"] .ar-site .category_list_block a span:first-child::before {
    content: "\2039";
    display: inline-flex;
    align-items: center;
    color: currentColor;
    font-weight: 700;
    line-height: 1;
}

/* Breadcrumbs */
html[dir="rtl"] .ar-site .breadcrumb,
html[dir="rtl"] .ar-site .breadcrumb__list {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .ar-site .breadcrumb__list li + .breadcrumb-item::before {
    float: right;
    padding-left: .5rem;
    padding-right: .5rem;
}

/* Forms */
html[dir="rtl"] .ar-site .input-field,
html[dir="rtl"] .ar-site .form-group {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .ar-site input,
html[dir="rtl"] .ar-site textarea,
html[dir="rtl"] .ar-site select {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .ar-site input[type="email"],
html[dir="rtl"] .ar-site input[type="tel"],
html[dir="rtl"] .ar-site input[name*="Email"],
html[dir="rtl"] .ar-site input[name*="Phone"] {
    direction: ltr;
    text-align: left;
}

html[dir="rtl"] .ar-site .nice-select {
    direction: rtl;
    text-align: right !important;
    padding-right: 46px;
    padding-left: 20px;
}

html[dir="rtl"] .ar-site .nice-select::after {
    right: auto;
    left: 20px;
}

html[dir="rtl"] .ar-site .nice-select .list {
    right: 0;
    left: auto;
    text-align: right;
}

html[dir="rtl"] .ar-site .search_icon {
    right: auto;
    left: 18px;
}

/* Cards, sliders, blog rows, footer */
html[dir="rtl"] .ar-site .cp-img-inner,
html[dir="rtl"] .ar-site .hd-blog.ul_li,
html[dir="rtl"] .ar-site .blog_details_item.ul_li,
html[dir="rtl"] .ar-site .contact-info-row,
html[dir="rtl"] .ar-site .footer-copyright,
html[dir="rtl"] .ar-site .footer-inner {
    direction: rtl;
}

html[dir="rtl"] .ar-site .footer-inner {
    align-items: flex-start;
    gap: 28px;
}

html[dir="rtl"] .ar-site .footer-links {
    justify-content: flex-start;
    gap: 18px;
}

html[dir="rtl"] .ar-site .footer-info,
html[dir="rtl"] .ar-site .footer-widget {
    text-align: right;
}

html[dir="rtl"] .ar-site .footer-info .xb-item--email,
html[dir="rtl"] .ar-site .footer-info .xb-item--number,
html[dir="rtl"] .ar-site .copyright strong,
html[dir="rtl"] .ar-site .contact-info-row a,
html[dir="rtl"] .ar-site .item-contact_info a {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
}

html[dir="rtl"] .ar-site .contact-info-row {
    flex-direction: row-reverse;
    justify-content: flex-end;
    white-space: normal;
}

html[dir="rtl"] .ar-site .ml-50 {
    margin-left: 0;
    margin-right: 50px;
}

html[dir="rtl"] .ar-site .ml-75 {
    margin-left: 0;
    margin-right: 75px;
}

html[dir="rtl"] .ar-site .post_meta {
    direction: rtl;
    justify-content: flex-start;
    text-align: right;
}

html[dir="rtl"] .ar-site .post_meta.justify-content-md-end {
    justify-content: flex-start !important;
}

html[dir="rtl"] .ar-site .post_meta li:not(:last-child) {
    margin-right: 0;
    margin-left: 20px;
}

html[dir="rtl"] .ar-site .blog_details_content .xb-item--text,
html[dir="rtl"] .ar-site .blog_details_content .xb-item--summary {
    text-align: right;
}

html[dir="rtl"] .ar-site .xb-faq .accordion_box .block .acc-btn,
html[dir="rtl"] .ar-site .cp-faq .accordion_box .block .acc-btn {
    padding-right: 30px;
    padding-left: 84px;
    text-align: right;
}

html[dir="rtl"] .ar-site .xb-faq .accordion_box .block .acc-btn .arrow,
html[dir="rtl"] .ar-site .cp-faq .accordion_box .block .acc-btn .arrow {
    right: auto;
    left: 30px;
}

html[dir="rtl"] .ar-site .xb-faq .accordion_box .block .content,
html[dir="rtl"] .ar-site .cp-faq .accordion_box .block .content {
    padding-right: 30px;
    padding-left: 30px;
}

html[dir="rtl"] .ar-site .xb-footer.is-footer {
    margin-left: 0;
    margin-right: 75px;
}

html[dir="rtl"] .ar-site .fab-wrap {
    right: auto;
    left: 25px;
    bottom: 64px;
}

html[dir="rtl"] .ar-site .fab-lbl {
    right: auto;
    left: 58px;
}

html[dir="rtl"] body.ar-site .xb-backtotop {
    right: auto;
    left: 31px;
    bottom: 112px;
    z-index: 10000;
    pointer-events: none;
}

html[dir="rtl"] body.ar-site .xb-backtotop.active {
    bottom: 132px;
    pointer-events: auto;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .xb-backtotop {
    bottom: 138px;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .xb-backtotop.active {
    bottom: 158px;
}

@media (max-width: 767px) {
    html[dir="rtl"] body.ar-site .xb-backtotop {
        left: 20px;
        bottom: 72px;
    }

    html[dir="rtl"] body.ar-site .xb-backtotop.active {
        bottom: 92px;
    }

    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .xb-backtotop {
        bottom: 138px;
    }

    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .xb-backtotop.active {
        bottom: 158px;
    }
}

/* Final Arabic homepage footer polish. Keep the CTA intrinsically sized in RTL. */
html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .thm-btn--fill_icon {
    width: auto;
    min-width: 0;
    height: 64px;
    padding: 10px 18px 10px 20px;
    overflow: visible;
    direction: rtl;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .thm-btn--fill_icon .xb-item--hidden {
    display: none;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .thm-btn--fill_icon .xb-item--holder {
    position: static !important;
    right: auto !important;
    left: auto !important;
    width: auto !important;
    display: inline-flex !important;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    direction: rtl;
    transform: none !important;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .thm-btn--fill_icon .xb-item--text {
    flex: 0 0 auto;
    white-space: nowrap;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .thm-btn--fill_icon .xb-item--text2 {
    display: none !important;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .thm-btn--fill_icon .xb-item--icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 0;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .thm-btn--fill_icon:hover .xb-item--holder {
    transform: none !important;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-quote .xb-item--content {
    max-width: 700px;
    margin-top: 32px;
    font-size: clamp(38px, 2.35vw, 45px);
    line-height: 1.45;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-quote .xb-item--holder {
    margin-top: 40px;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-cta .xb-item--title {
    max-width: 470px;
    font-size: clamp(40px, 2.6vw, 50px);
    line-height: 1.35;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-cta .xb-btn {
    margin-top: 38px;
}

@media (max-width: 767px) {
    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-quote .xb-item--content {
        max-width: 100%;
        margin-top: 26px;
        font-size: 26px;
        line-height: 1.55;
    }

    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-quote .xb-item--holder {
        margin-top: 32px;
    }

    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-cta .xb-item--title {
        max-width: 100%;
        font-size: 34px;
        line-height: 1.4;
    }

    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-cta .xb-btn {
        margin-top: 32px;
    }

    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .thm-btn--fill_icon {
        max-width: 100%;
        padding-right: 16px;
        padding-left: 18px;
    }
}

/* Arabic homepage footer parity: exact RTL mirror of the English composition. */
html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .quote-wrapper {
    direction: rtl;
    flex-direction: row;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-quote {
    width: 59.1%;
    min-height: 645px;
    padding: 93px 240px 100px 165px;
    text-align: right;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-quote .xb-item--inner {
    width: 100%;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-quote .xb-item--quote {
    display: block;
    text-align: right;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-quote .xb-item--content {
    max-width: 730px;
    margin-right: 0;
    margin-left: auto;
    text-align: right;
    letter-spacing: 0;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-quote .xb-item--holder {
    justify-content: flex-start;
    text-align: right;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-quote .xb-item--name {
    text-align: right;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-quote .xb-item--desig {
    display: block;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-cta {
    width: 40.9%;
    min-height: 645px;
    padding: 0 135px;
    justify-content: flex-start;
    text-align: right;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-cta .xb-item--inner {
    width: 100%;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-cta .xb-item--title {
    max-width: 560px;
    margin-right: 0;
    margin-left: auto;
    text-align: right;
    letter-spacing: 0;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .xb-btn {
    text-align: right;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .thm-btn--fill_icon {
    width: min(330px, 100%);
    height: 64px;
    padding: 0;
    white-space: nowrap;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .thm-btn--fill_icon .xb-item--hidden {
    width: 100%;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .thm-btn--fill_icon .xb-item--hidden-text {
    display: block !important;
    visibility: hidden;
    margin: 0 !important;
    white-space: nowrap;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .thm-btn--fill_icon .xb-item--holder {
    position: absolute !important;
    right: 40px !important;
    left: auto !important;
    width: max-content !important;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    direction: rtl;
    white-space: nowrap;
    transform: none !important;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .thm-btn--fill_icon .xb-item--icon {
    flex: 0 0 44px;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .thm-btn--fill_icon:hover .xb-item--holder {
    transform: translateX(74%) !important;
}

/* Run the proven EN marquee and mirror its motion without changing shared JS. */
html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-marquee .marquee-left {
    direction: ltr;
    transform: scaleX(-1);
    transform-origin: center;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-marquee .js-marquee {
    direction: rtl;
    text-align: right;
    transform: scaleX(-1);
}

/* Floating contact control and its label mirror EN geometry and interaction. */
html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .fab-wrap {
    right: auto;
    left: 25px;
    bottom: 90px;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .fab-lbl {
    right: auto;
    left: 54px;
    direction: rtl;
    text-align: right;
    transform: translateX(-8px);
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .fab-child.msg:hover .fab-lbl,
html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .fab-child.msg:focus-visible .fab-lbl {
    opacity: 1;
    transform: translateX(0);
}

@media only screen and (min-width: 1200px) and (max-width: 1500px) {
    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-quote {
        padding: 50px;
    }

    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-cta {
        padding: 0 50px;
    }
}

@media (max-width: 1199px) {
    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-quote {
        padding: 40px;
    }

    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-cta {
        padding: 0 50px;
    }
}

@media (max-width: 991px) {
    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-quote,
    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-cta {
        width: 50%;
    }

    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-cta {
        padding: 0 30px;
    }
}

@media (max-width: 767px) {
    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .quote-wrapper {
        display: flex;
        flex-direction: column;
    }

    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-quote,
    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-cta {
        width: 100%;
    }

    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-quote {
        min-height: 0;
        padding: 50px 20px;
    }

    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-cta {
        min-height: 0;
        padding: 50px 20px;
    }

    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .thm-btn--fill_icon {
        width: min(330px, 100%);
    }

    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .fab-wrap {
        left: 14px;
        bottom: 90px;
    }
}

html[dir="rtl"] .ar-site .footer-bottom:not(.ar-home-marquee) .marquee-left,
html[dir="rtl"] .ar-site .footer-bottom:not(.ar-home-marquee) .marquee-left .js-marquee-wrapper {
    direction: ltr;
}

html[dir="rtl"] .ar-site .footer-bottom:not(.ar-home-marquee) .marquee-left {
    display: block;
    width: 100%;
    text-align: right;
}

html[dir="rtl"] .ar-site .footer-bottom:not(.ar-home-marquee) .marquee-left .js-marquee-wrapper {
    width: auto !important;
    transform: none !important;
    animation: none !important;
    white-space: nowrap;
}

html[dir="rtl"] .ar-site .footer-bottom:not(.ar-home-marquee) .marquee-left .js-marquee {
    display: inline-block;
    float: none !important;
    direction: rtl;
    text-align: right;
}

/* Arabic home page refinements */
html[dir="rtl"] .ar-site .ar-home-hero-text,
html[dir="rtl"] .ar-site .luvi-home-clarity .xb-item--content,
html[dir="rtl"] .ar-site .sd-heading p,
html[dir="rtl"] .ar-site .sec-title--two p {
    max-width: 760px;
    line-height: 1.9;
}

html[dir="rtl"] .ar-site .page-title-box .ar-home-hero-text {
    max-width: 560px;
    margin-top: 22px;
    color: #59606c;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
}

html[dir="rtl"] .ar-site .page-title-box .med-product-actions {
    justify-content: center;
}

html[dir="rtl"] .ar-site .page-title-box .med-product-link {
    color: #26313f !important;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.64);
}

html[dir="rtl"] .ar-site .page-title-box .med-product-link:hover {
    color: #111827;
}

html[dir="rtl"] .ar-site .ar-home-card {
    height: 100%;
}

html[dir="rtl"] .ar-site .ar-home-card .med-product-link {
    margin-top: 16px;
}

html[dir="rtl"] .ar-site .ar-home-guide .hd-blog-top {
    direction: rtl;
    gap: 24px;
}

html[dir="rtl"] .ar-site .ar-home-guide-card {
    display: block;
    height: 100%;
    padding: 34px 30px;
    border: 1px solid rgba(32, 32, 32, 0.1);
    border-radius: 8px;
    background: #fff;
    color: inherit;
    text-align: right;
    transition: all 0.3s ease;
}

html[dir="rtl"] .ar-site .ar-home-guide-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 107, 96, 0.25);
    box-shadow: 0 18px 42px rgba(16, 24, 40, 0.08);
}

html[dir="rtl"] .ar-site .ar-home-guide-card span {
    display: inline-block;
    margin-bottom: 14px;
    color: #106b60;
    font-weight: 700;
}

html[dir="rtl"] .ar-site .ar-home-guide-card h3 {
    margin-bottom: 14px;
    font-size: 24px;
    line-height: 1.45;
}

html[dir="rtl"] .ar-site .ar-home-guide-card p {
    margin-bottom: 0;
    line-height: 1.85;
}

html[dir="rtl"] .ar-site .hd-blog-left {
    margin-right: 0;
}

html[dir="rtl"] .ar-site .hd-blog .xb-item--title,
html[dir="rtl"] .ar-site .hd-blog .xb-item--title a {
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* Keep media/product visuals from becoming mirrored text containers. */
html[dir="rtl"] .ar-site img,
html[dir="rtl"] .ar-site video,
html[dir="rtl"] .ar-site .pg-device-stage,
html[dir="rtl"] .ar-site .cp-img-slide,
html[dir="rtl"] .ar-site .swiper,
html[dir="rtl"] .ar-site .slick-slider {
    direction: ltr;
}

@media (max-width: 1399px) {
    html[dir="rtl"] .ar-site .header__wrap {
        gap: 18px;
    }

    html[dir="rtl"] .ar-site .main-menu__wrap {
        margin-right: 12px;
    }

    html[dir="rtl"] .ar-site .header-style-six .main-menu__wrap .main-menu > ul > li > a {
        padding-right: 8px;
        padding-left: 8px;
        font-size: 13px;
    }

    html[dir="rtl"] .ar-site .header-contact > .thm-btn--fill_icon {
        min-width: 180px;
        padding-right: 14px;
        padding-left: 14px;
    }

    html[dir="rtl"] .ar-site .header-contact > .thm-btn--fill_icon .xb-item--text {
        font-size: 15px;
    }
}

@media (max-width: 1199px) {
    html[dir="rtl"] .ar-site .header__wrap {
        gap: 16px;
        flex-wrap: nowrap;
    }

    html[dir="rtl"] .ar-site .main-menu__wrap {
        display: none;
    }

    html[dir="rtl"] .ar-site .header-action-wrap {
        margin-right: auto;
        min-width: 0;
    }

    html[dir="rtl"] .ar-site .header-logo img {
        max-width: 160px;
    }
}

@media (max-width: 991px) {
    html[dir="rtl"] .ar-site .cp-page-title,
    html[dir="rtl"] .ar-site .hero-style-two {
        overflow: hidden;
    }

    html[dir="rtl"] .ar-site .cp-page-title .row,
    html[dir="rtl"] .ar-site .hero-style-two .row.align-items-center {
        flex-direction: column;
    }

    html[dir="rtl"] .ar-site .cp-page-title .page-title-box,
    html[dir="rtl"] .ar-site .cp-page-title .page-title-box .title,
    html[dir="rtl"] .ar-site .cp-page-title .page-title-box .page-update_time {
        position: relative;
        z-index: 2;
        margin-right: 0;
        margin-left: auto;
        text-align: right;
    }

    html[dir="rtl"] .ar-site .cp-img-slide {
        position: relative;
        z-index: 1;
        left: auto;
        right: auto;
        width: 100%;
        margin-right: auto;
        margin-left: auto;
    }

    html[dir="rtl"] .ar-site .page-title-box .title,
    html[dir="rtl"] .ar-site .xb-hero .xb-item--title,
    html[dir="rtl"] .ar-site .sec-title--two .title {
        max-width: 100%;
        line-height: 1.34;
    }

    html[dir="rtl"] .ar-site .med-product-actions {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    html[dir="rtl"] .ar-site .ml-50 {
        margin-right: 0;
    }

    html[dir="rtl"] .ar-site .ml-75 {
        margin-right: 0;
    }

    html[dir="rtl"] .ar-site .xb-footer.is-footer {
        margin-right: 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    html[dir="rtl"] .ar-site .cp-page-title .page-title-box,
    html[dir="rtl"] .ar-site .cp-page-title .page-title-box .title,
    html[dir="rtl"] .ar-site .cp-page-title .page-title-box .page-update_time {
        margin-right: auto;
        margin-left: auto;
        max-width: 640px;
        opacity: 1;
    }

    html[dir="rtl"] .ar-site .cp-page-title .cp-img-slide {
        max-width: 430px;
        margin-top: 34px;
        transform: none;
        opacity: 1;
    }

    html[dir="rtl"] .ar-site .cp-page-title .cp-img-slide::before,
    html[dir="rtl"] .ar-site .cp-page-title .cp-img-slide::after {
        display: none;
    }
}

@media (max-width: 767px) {
    html[dir="rtl"] .ar-site .header__wrap {
        padding-right: 14px !important;
        padding-left: 14px !important;
        gap: 8px;
    }

    html[dir="rtl"] .ar-site .header-logo img {
        max-width: 118px;
    }

    html[dir="rtl"] .ar-site .header-action-wrap {
        gap: 8px;
    }

    html[dir="rtl"] .ar-site .header-contact > .thm-btn--fill_icon {
        display: none !important;
    }

    html[dir="rtl"] .ar-site .pp-lang-switch {
        margin-right: 0;
    }

    html[dir="rtl"] .ar-site .pp-lang-toggle {
        gap: 4px;
        font-size: 14px;
    }

    html[dir="rtl"] .ar-site .pp-lang-toggle img {
        width: 20px;
        height: 20px;
    }

    html[dir="rtl"] .ar-site .page-title-box .title {
        font-size: 30px;
        line-height: 1.35;
    }

    html[dir="rtl"] .ar-site .xb-hero .xb-item--title {
        font-size: 30px;
    }

    html[dir="rtl"] .ar-site .page-title-box .page-update_time,
    html[dir="rtl"] .ar-site .xb-hero .xb-item--content,
    html[dir="rtl"] .ar-site .med-product-lead {
        font-size: 16px;
        max-width: 100%;
    }

    html[dir="rtl"] .ar-site .med-product-actions {
        gap: 14px;
    }

    html[dir="rtl"] .ar-site .med-product-actions .thm-btn,
    html[dir="rtl"] .ar-site .med-product-actions .med-product-link {
        white-space: normal;
    }

    html[dir="rtl"] .ar-site .hd-blog .xb-item--title {
        font-size: 26px;
        line-height: 1.45;
    }

    html[dir="rtl"] .ar-site .hd-blog .xb-item--img {
        width: 100%;
    }

    html[dir="rtl"] .ar-site .hd-blog-right {
        display: block;
        margin-right: 0;
        margin-left: 0;
    }

    html[dir="rtl"] .ar-site .hd-blog-right .xb-item--holder {
        width: 100%;
    }

    html[dir="rtl"] .ar-site .xb-faq .accordion_box .block .acc-btn,
    html[dir="rtl"] .ar-site .cp-faq .accordion_box .block .acc-btn {
        padding: 18px 18px 18px 58px;
        font-size: 18px;
        line-height: 1.55;
    }

    html[dir="rtl"] .ar-site .xb-faq .accordion_box .block .acc-btn .arrow,
    html[dir="rtl"] .ar-site .cp-faq .accordion_box .block .acc-btn .arrow {
        left: 14px;
    }

    html[dir="rtl"] .ar-site .xb-faq .accordion_box .block .acc-btn .number,
    html[dir="rtl"] .ar-site .cp-faq .accordion_box .block .acc-btn .number {
        display: inline-block;
        margin-right: 0;
        margin-left: 8px;
    }

    html[dir="rtl"] .ar-site .xb-faq .accordion_box .block .content,
    html[dir="rtl"] .ar-site .cp-faq .accordion_box .block .content {
        padding-right: 18px;
        padding-left: 18px;
    }

    html[dir="rtl"] .ar-site .fab-wrap {
        left: 14px;
        bottom: 24px;
    }

    html[dir="rtl"] .ar-site .fab-lbl {
        left: 54px;
    }

    html[dir="rtl"] .ar-site .footer-copyright {
        gap: 10px;
    }

    html[dir="rtl"] .ar-site .footer-links {
        gap: 10px 18px;
        line-height: 1.85;
    }

    html[dir="rtl"] .ar-site .footer-links li {
        margin: 0;
    }
}

/* Arabic homepage alignment beyond the primary hero. */
html[dir="rtl"] .ar-site .ar-home-primary-hero .cp-img-inner {
    column-gap: 20px;
}

html[dir="rtl"] .ar-site .ar-home-primary-hero .cp-img-inner .cp-item:not(:last-child) {
    margin-right: 0;
    margin-left: 0;
}

html[dir="rtl"] .ar-site .ar-home-clarity .hero-about-right,
html[dir="rtl"] .ar-site .ar-home-why .about-right {
    margin-right: 105px;
    margin-left: 0;
}

html[dir="rtl"] .ar-site .ar-home-clarity .xb-hero .xb-item--title {
    max-width: 760px;
    font-size: 60px;
    line-height: 72px;
}

html[dir="rtl"] .ar-site .ar-home-clarity .xb-hero .xb-item--content {
    line-height: 1.7;
}

html[dir="rtl"] .ar-site .ar-home-process .sd-process-item {
    padding-right: 60px;
    padding-left: 0;
    margin-right: 0;
    margin-left: 7px;
}

html[dir="rtl"] .ar-site .ar-home-process .sd-heading {
    text-align: right;
}

html[dir="rtl"] .ar-site .ar-home-process .sd-heading .med-product-badge,
html[dir="rtl"] .ar-site .ar-home-process .sd-heading .sd-title,
html[dir="rtl"] .ar-site .ar-home-process .sd-heading .sd-content {
    margin-right: 0;
    margin-left: auto;
    text-align: right;
}

html[dir="rtl"] .ar-site .ar-home-process .sd-heading .sd-content {
    padding-right: 0;
    padding-left: 90px;
}

html[dir="rtl"] .ar-site .ar-home-process .sd-process-item .xb-item--title {
    margin-bottom: 16px;
    line-height: 1.35;
}

html[dir="rtl"] .ar-site .ar-home-process .sd-process-item .xb-item--contact {
    line-height: 1.55;
}

html[dir="rtl"] .ar-site .ar-home-process .sd-process-item .xb-item--number {
    right: 0;
    left: auto;
}

html[dir="rtl"] .ar-site .ar-home-process .sd-process_inner .sd-shape {
    right: 12px;
    left: auto;
    transform: scaleX(-1);
}

@media (max-width: 767px) {
    html[dir="rtl"] .ar-site .ar-home-process .sd-heading .sd-content {
        padding-left: 0;
    }

    html[dir="rtl"] .ar-site .ar-home-process .sd-process_inner {
        justify-content: flex-start;
    }

    html[dir="rtl"] .ar-site .ar-home-process .sd-process-item {
        width: 100%;
        max-width: 308px;
    }
}

html[dir="rtl"] .ar-site .ar-home-why .about-left::before {
    right: auto;
    left: 0;
}

html[dir="rtl"] .ar-site .ar-home-why .da-sec-titlte {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

html[dir="rtl"] .ar-site .ar-home-why .da-sec-titlte .sub_title {
    align-self: center;
}

html[dir="rtl"] .ar-site .ar-home-why .da-sec-titlte > .title {
    width: 100%;
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

html[dir="rtl"] .ar-site .ar-home-why .da-sec-titlte > p {
    width: 100%;
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.8;
    text-align: center;
}

html[dir="rtl"] .ar-site .ar-home-entry .med-section-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

html[dir="rtl"] .ar-site .ar-home-entry .med-section-heading > .title {
    width: 100%;
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.12;
    text-align: center;
}

html[dir="rtl"] .ar-site .ar-home-entry .med-section-heading > .home-feature-desc {
    width: 100%;
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 18px;
    line-height: 1.7;
    text-align: center;
}

html[dir="rtl"] .ar-site .ar-home-entry .luvi-entry-card {
    min-height: 400px;
    padding: 10px 34px 20px;
    text-align: right;
}

html[dir="rtl"] .ar-site .ar-home-entry .luvi-entry-icon {
    width: 150px;
    height: 150px;
    margin: 0 0 22px;
}

html[dir="rtl"] .ar-site .ar-home-entry .luvi-entry-label {
    margin-bottom: 10px;
    line-height: 1.6;
}

html[dir="rtl"] .ar-site .ar-home-entry .luvi-entry-card h3 {
    margin-bottom: 12px;
    line-height: 1.25;
}

html[dir="rtl"] .ar-site .ar-home-entry .luvi-entry-card p {
    max-width: none;
    margin-bottom: 22px;
    line-height: 1.65;
}

html[dir="rtl"] .ar-site .ar-home-entry .luvi-entry-more {
    align-self: flex-start;
    gap: 10px;
    line-height: 1.5;
}

html[dir="rtl"] .ar-site .ar-home-entry .luvi-entry-more span {
    transform: none;
}

html[dir="rtl"] .ar-site .ar-home-entry .luvi-entry-card:hover .luvi-entry-more span {
    transform: translateX(-5px);
}

html[dir="rtl"] .ar-site .ar-home-faq .sec-title--two > .title {
    width: 100%;
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.2;
    text-align: center;
}

@media (max-width: 991px) {
    html[dir="rtl"] .ar-site .ar-home-entry .luvi-entry-card {
        min-height: auto;
        padding: 10px 20px 35px;
        text-align: center;
    }

    html[dir="rtl"] .ar-site .ar-home-entry .luvi-entry-icon {
        width: 130px;
        height: 130px;
        margin-right: auto;
        margin-left: auto;
    }

    html[dir="rtl"] .ar-site .ar-home-entry .luvi-entry-card p {
        margin-right: auto;
        margin-left: auto;
    }

    html[dir="rtl"] .ar-site .ar-home-entry .luvi-entry-more {
        align-self: center;
    }
}

@media (max-width: 575px) {
    html[dir="rtl"] .ar-site .ar-home-entry .luvi-entry-icon {
        width: 120px;
        height: 120px;
    }
}

html[dir="rtl"] .ar-site .ar-home-blog .hd-blog-right {
    margin-right: 40px;
    margin-left: 0;
}

html[dir="rtl"] .ar-site .ar-home-blog .hd-blog-right .xb-item--img {
    margin-right: 40px;
    margin-left: 0;
}

html[dir="rtl"] .ar-site .ar-home-marquee .marquee-right,
html[dir="rtl"] .ar-site .ar-home-marquee .js-marquee-wrapper {
    direction: ltr;
}

html[dir="rtl"] .ar-site .ar-home-marquee .js-marquee {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .ar-site .ar-home-quote-cta .thm-btn--fill_icon .xb-item--hidden-text {
    display: inline !important;
    visibility: hidden;
    margin-right: 0;
    margin-left: 6.8rem;
}

html[dir="rtl"] .ar-site .ar-home-quote-cta .thm-btn--fill_icon .xb-item--holder {
    position: absolute !important;
    right: 40px !important;
    left: auto !important;
    width: 100% !important;
    display: inline-block !important;
    transform: none !important;
    direction: rtl;
}

html[dir="rtl"] .ar-site .ar-home-quote-cta .thm-btn--fill_icon .xb-item--text2,
html[dir="rtl"] .ar-site .ar-home-quote-cta .thm-btn--fill_icon .xb-item--holder .xb-item--text:last-child {
    display: inline !important;
}

html[dir="rtl"] .ar-site .ar-home-quote-cta .thm-btn--fill_icon:hover .xb-item--holder {
    transform: translateX(74%) !important;
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .header__wrap {
        flex-wrap: wrap;
        row-gap: 0;
    }

    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .header-action-wrap {
        flex: 0 0 100%;
        justify-content: flex-start;
        margin: 0;
    }
}

@media (max-width: 1199px) {
    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .header-contact > .thm-btn--fill_icon {
        display: none !important;
    }

    html[dir="rtl"] .ar-site .ar-home-clarity .hero-about-right,
    html[dir="rtl"] .ar-site .ar-home-why .about-right {
        margin-right: 0;
        margin-left: 0;
    }

    html[dir="rtl"] .ar-site .ar-home-clarity .xb-hero .xb-item--title {
        font-size: 48px;
        line-height: 60px;
    }
}

@media (max-width: 991px) {
    html[dir="rtl"] .ar-site .ar-home-clarity .xb-hero .xb-item--title {
        font-size: 38px;
        line-height: 50px;
    }
}

@media (max-width: 767px) {
    html[dir="rtl"] .ar-site .ar-home-blog .hd-blog-right {
        display: flex;
        margin-right: 0;
        margin-left: 0;
    }

    html[dir="rtl"] .ar-site .ar-home-blog .hd-blog-right .xb-item--holder {
        width: calc(100% - 140px);
    }

    html[dir="rtl"] .ar-site .ar-home-blog .hd-blog-right .xb-item--img {
        width: 120px;
        min-width: 120px;
        margin-right: 20px;
        margin-left: 0;
    }

    html[dir="rtl"] .ar-site .ar-home-quote-cta .thm-btn--fill_icon .xb-item--hidden-text {
        margin-left: 9rem;
    }
}

@media (max-width: 575px) {
    html[dir="rtl"] .ar-site .ar-home-entry .luvi-entry-card {
        text-align: center;
    }

    html[dir="rtl"] .ar-site .ar-home-entry .luvi-entry-more {
        justify-content: center;
    }
}

@media (max-width: 420px) {
    html[dir="rtl"] .ar-site .header__wrap {
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    html[dir="rtl"] .ar-site .header-logo img {
        max-width: 104px;
    }

    html[dir="rtl"] .ar-site .pp-lang-toggle span {
        max-width: 68px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    html[dir="rtl"] .ar-site .header-bar-mobile .xb-nav-mobile,
    html[dir="rtl"] .ar-site .header-bar-mobile .xb-nav-mobile i {
        font-size: 22px;
    }

    html[dir="rtl"] .ar-site .page-title-box .title,
    html[dir="rtl"] .ar-site .xb-hero .xb-item--title {
        font-size: 28px;
    }
}

/* Arabic homepage: mirror the English hero without changing inner-page heroes. */
html[dir="rtl"] .ar-site .ar-home-primary-hero .row {
    flex-direction: row;
}

html[dir="rtl"] .ar-site .ar-home-primary-hero .page-title-box .title {
    font-size: clamp(48px, 4.6vw, 82px);
    line-height: 1.18;
    max-width: 780px;
    margin-right: 0;
    margin-left: auto;
    overflow-wrap: normal;
}

html[dir="rtl"] .ar-site .ar-home-primary-hero .page-title-box .page-update_time {
    max-width: 760px;
    line-height: 1.7;
    margin-right: 0;
    margin-left: auto;
}

html[dir="rtl"] .ar-site .ar-home-primary-hero .cp-img-slide {
    right: auto;
    left: 12%;
    max-width: none;
}

/* Keep the floating actions vertically equivalent to EN on the homepage. */
html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .fab-wrap {
    right: auto;
    left: 25px;
    bottom: 90px;
}

@media only screen and (min-width: 1200px) and (max-width: 1500px) {
    html[dir="rtl"] .ar-site .ar-home-primary-hero .cp-img-slide {
        left: 2%;
    }
}

@media (max-width: 1199px) {
    html[dir="rtl"] .ar-site .ar-home-primary-hero .cp-img-slide {
        left: 1%;
    }
}

@media (max-width: 991px) {
    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .header-contact > .thm-btn--fill_icon {
        display: none !important;
    }

    html[dir="rtl"] .ar-site .ar-home-primary-hero .row {
        flex-direction: row;
    }

    html[dir="rtl"] .ar-site .ar-home-primary-hero .page-title-box,
    html[dir="rtl"] .ar-site .ar-home-primary-hero .page-title-box .title,
    html[dir="rtl"] .ar-site .ar-home-primary-hero .page-title-box .page-update_time {
        max-width: none;
        margin-right: 0;
        margin-left: 0;
        text-align: right;
    }

    html[dir="rtl"] .ar-site .ar-home-primary-hero .page-title-box .title {
        font-size: clamp(40px, 8vw, 58px);
        line-height: 1.16;
    }

    html[dir="rtl"] .ar-site .ar-home-primary-hero .page-title-box .page-update_time {
        font-size: 16px;
        line-height: 1.7;
        max-width: 760px;
    }

    html[dir="rtl"] .ar-site .ar-home-primary-hero .cp-img-slide {
        position: absolute;
        top: 29%;
        right: auto;
        left: 1%;
        width: auto;
        max-width: none;
        margin: 0;
        transform: none;
    }

    html[dir="rtl"] .ar-site .ar-home-primary-hero .cp-img-slide::before,
    html[dir="rtl"] .ar-site .ar-home-primary-hero .cp-img-slide::after {
        display: block;
    }
}

@media (max-width: 767px) {
    html[dir="rtl"] .ar-site .ar-home-primary-hero .page-title-box .title {
        font-size: 38px;
        line-height: 1.16;
    }

    html[dir="rtl"] .ar-site .ar-home-primary-hero .cp-img-slide {
        position: unset;
        width: 100%;
        transform: rotate(90deg);
    }

    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .fab-wrap {
        left: 14px;
        bottom: 90px;
    }
}

@media (max-width: 420px) {
    html[dir="rtl"] .ar-site .ar-home-clarity .xb-hero .xb-item--title {
        font-size: 38px;
        line-height: 50px;
    }
}

/* Arabic inner pages: follow the shared EN header breakpoints without touching home. */
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .header__wrap {
        flex-wrap: wrap;
        row-gap: 0;
    }

    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .header-action-wrap {
        flex: 0 0 100%;
        justify-content: flex-start;
        margin: 0;
    }
}

@media (max-width: 1199px) {
    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .header-contact > .thm-btn--fill_icon {
        display: none !important;
    }
}

@media (min-width: 768px) {
    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .hero-style-two .xb-hero .xb-item--content {
        line-height: 1.55;
    }
}

/* Arabic header/mega-menu parity: mirror EN geometry without affecting page content. */
html[dir="rtl"] body.ar-site .header-logo img {
    width: 240px;
    max-width: 240px;
}

html[dir="rtl"] body.ar-site .header-style-six .main-menu__wrap {
    margin-right: clamp(30px, 4.4vw, 84px);
}

html[dir="rtl"] body.ar-site .header-style-six .main-menu__wrap .main-menu > ul > li:not(:last-child) {
    margin-right: 0;
    margin-left: 6px;
}

html[dir="rtl"] body.ar-site .header-style-six .main-menu__wrap .main-menu > ul > li > a {
    padding: 20px 19px;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
}

html[dir="rtl"] body.ar-site .mega_menu_wrapper .row {
    flex-direction: row;
}

html[dir="rtl"] body.ar-site .megamenu_widget_wrapper {
    padding-right: 70px;
    padding-left: 0;
}

html[dir="rtl"] body.ar-site .mega_menu_wrapper .row:has(> [class*="col-"] > .megamenu_widget) > [class*="col-"]:not(:last-child) {
    border-width: 0 0 0 1px;
}

html[dir="rtl"] body.ar-site .mega_menu_wrapper .megamenu_widget ul {
    gap: 27px 22px;
}

html[dir="rtl"] body.ar-site .mega_menu_wrapper .megamenu_widget ul li a {
    font-size: 22px !important;
    font-weight: 700;
    line-height: 1.35;
}

html[dir="rtl"] body.ar-site .mega_menu_wrapper .social_area,
html[dir="rtl"] body.ar-site .mega_menu_wrapper_inner .btns_group {
    flex-direction: row-reverse;
}

html[dir="rtl"] body.ar-site .megamenu_case {
    margin-right: -43px;
    margin-left: 0;
    padding: 28px 30px;
}

html[dir="rtl"] body.ar-site .megamenu_case h3 {
    line-height: 1.35;
}

html[dir="rtl"] body.ar-site .megamenu_case h4 {
    margin-top: 10px;
    max-width: 245px;
    font-size: 22px;
    line-height: 1.45;
}

html[dir="rtl"] body.ar-site .megamenu_case img {
    width: 210px;
    max-width: 100%;
    height: auto;
    margin: 34px auto 26px;
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
    html[dir="rtl"] body.ar-site .header__wrap,
    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .header__wrap {
        flex-wrap: nowrap;
        gap: 14px;
    }

    html[dir="rtl"] body.ar-site .header-logo img {
        width: 190px;
        max-width: 190px;
    }

    html[dir="rtl"] body.ar-site .header-style-six .main-menu__wrap {
        margin-right: 8px;
    }

    html[dir="rtl"] body.ar-site .header-style-six .main-menu__wrap .main-menu > ul > li > a {
        padding-right: 8px;
        padding-left: 8px;
        font-size: 15px;
        line-height: 24px;
    }

    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .header-action-wrap {
        flex: 0 0 auto;
        justify-content: flex-start;
        margin-right: auto;
    }

    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .header-action-wrap {
        flex: 0 0 auto;
        justify-content: flex-start;
        margin-right: auto;
    }

    html[dir="rtl"] body.ar-site .header-contact > .thm-btn--fill_icon {
        min-width: 190px;
    }
}

@media (max-width: 1199px) {
    html[dir="rtl"] body.ar-site .header-logo img {
        width: 160px;
        max-width: 160px;
    }

    html[dir="rtl"] body.ar-site .megamenu_widget_wrapper {
        padding-right: 0;
    }

    html[dir="rtl"] body.ar-site .megamenu_case {
        margin-right: 0;
    }
}

@media (max-width: 420px) {
    html[dir="rtl"] body.ar-site .header-logo img {
        width: 140px;
        max-width: 140px;
    }
}

/* Arabic inner-page alignment: FAQ controls, content rhythm and feature grids. */
html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .xb-faq .accordion_box .block .acc-btn .number,
html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .cp-faq .accordion_box .block .acc-btn .number {
    display: inline-block;
    margin-right: 0;
    margin-left: 10px;
}

html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .xb-faq .accordion_box .block .acc-btn .arrow::after,
html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .cp-faq .accordion_box .block .acc-btn .arrow::after {
    inset: 0;
}

html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .xb-faq .accordion_box .block .acc-btn .arrow::before,
html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .cp-faq .accordion_box .block .acc-btn .arrow::before {
    top: 50%;
    left: 50%;
    line-height: 1;
    transform: translate(-50%, -50%);
}

html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .xb-faq .accordion_box .block.active-block .acc-btn .arrow::before,
html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .cp-faq .accordion_box .block.active-block .acc-btn .arrow::before {
    transform: translate(-50%, -50%);
}

html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .item_details_content p,
html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .sd-content,
html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .med-product-lead,
html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .da-feature-item .xb-item--content,
html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .ap-feature-item .xb-item--content {
    line-height: 1.7;
}

@media (min-width: 992px) {
    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .fea-col:nth-child(1) .xb-item--holder {
        padding-left: 0;
        padding-right: 215px;
    }

    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .fea-col:nth-child(1) .da-feature-item {
        margin-right: 0;
        margin-left: 66px;
        border-radius: 10px 0 0 10px;
    }

    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .fea-col:nth-child(2) .da-feature-item {
        margin-right: -65px;
        margin-left: 1px;
    }

    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .fea-col:nth-child(3) .da-feature-item {
        margin-right: 0;
        margin-left: -65px;
    }

    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .fea-col:nth-child(4) .xb-item--holder {
        padding-right: 0;
        padding-left: 215px;
    }

    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .fea-col:nth-child(4) .da-feature-item {
        margin-right: 66px;
        margin-left: 0;
        border-radius: 0 10px 10px 0;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1500px) {
    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .fea-col:nth-child(1) .xb-item--holder,
    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .fea-col:nth-child(4) .xb-item--holder {
        padding-right: 0;
        padding-left: 0;
    }

    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .fea-col:nth-child(1) .da-feature-item {
        padding-right: 40px;
        padding-left: 100px;
    }

    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .fea-col:nth-child(3) .da-feature-item {
        margin-right: 0;
        margin-left: -90px;
    }

    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .fea-col:nth-child(4) .da-feature-item {
        margin-right: 91px;
        margin-left: 0;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .fea-col:nth-child(1) .xb-item--holder,
    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .fea-col:nth-child(4) .xb-item--holder {
        padding-right: 0;
        padding-left: 0;
    }

    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .fea-col:nth-child(1) .da-feature-item {
        padding-right: 20px;
        padding-left: 60px;
    }

    html[dir="rtl"] body.ar-site:not(:has(.ar-home-primary-hero)) .fea-col:nth-child(4) .da-feature-item {
        padding-right: 50px;
        padding-left: 20px;
    }
}

/* Arabic RTL floating controls: one compact bottom-left stack. */
html[dir="rtl"] body.ar-site .fab-wrap,
html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .fab-wrap {
    right: auto;
    left: 25px;
    bottom: 86px;
}

html[dir="rtl"] body.ar-site .xb-backtotop,
html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .xb-backtotop {
    right: auto;
    left: 31px;
    bottom: 12px;
}

html[dir="rtl"] body.ar-site .xb-backtotop.active,
html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .xb-backtotop.active {
    bottom: 32px;
}

@media (max-width: 767px) {
    html[dir="rtl"] body.ar-site .fab-wrap,
    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .fab-wrap {
        left: 14px;
        bottom: 86px;
    }

    html[dir="rtl"] body.ar-site .xb-backtotop,
    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .xb-backtotop {
        left: 20px;
        bottom: 12px;
    }

    html[dir="rtl"] body.ar-site .xb-backtotop.active,
    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .xb-backtotop.active {
        bottom: 32px;
    }
}

/* Final Arabic homepage footer polish (kept last to supersede legacy RTL rules). */
html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .thm-btn--fill_icon {
    width: auto;
    min-width: 0;
    height: 64px;
    padding: 10px 18px 10px 20px;
    overflow: visible;
    direction: rtl;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .thm-btn--fill_icon .xb-item--hidden {
    display: none;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .thm-btn--fill_icon .xb-item--holder {
    position: static !important;
    right: auto !important;
    left: auto !important;
    width: auto !important;
    display: inline-flex !important;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    direction: rtl;
    transform: none !important;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .thm-btn--fill_icon .xb-item--text {
    flex: 0 0 auto;
    white-space: nowrap;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .thm-btn--fill_icon .xb-item--text2 {
    display: none !important;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .thm-btn--fill_icon .xb-item--holder .xb-item--text:last-child {
    display: none !important;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .thm-btn--fill_icon .xb-item--icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 0;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .thm-btn--fill_icon:hover .xb-item--holder {
    transform: none !important;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-quote .xb-item--content {
    max-width: 700px;
    margin-top: 32px;
    font-size: clamp(38px, 2.35vw, 45px);
    line-height: 1.45;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-quote .xb-item--holder {
    margin-top: 40px;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-cta .xb-item--title {
    max-width: 470px;
    font-size: clamp(40px, 2.6vw, 50px);
    line-height: 1.35;
}

html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-cta .xb-btn {
    margin-top: 38px;
}

@media (max-width: 767px) {
    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-quote .xb-item--content {
        max-width: 100%;
        margin-top: 26px;
        font-size: 26px;
        line-height: 1.55;
    }

    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-quote .xb-item--holder {
        margin-top: 32px;
    }

    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-cta .xb-item--title {
        max-width: 100%;
        font-size: 34px;
        line-height: 1.4;
    }

    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .da-cta .xb-btn {
        margin-top: 32px;
    }

    html[dir="rtl"] body.ar-site:has(.ar-home-primary-hero) .ar-home-quote-cta .thm-btn--fill_icon {
        max-width: 100%;
        padding-right: 16px;
        padding-left: 18px;
    }
}
