/* Arabic (RTL) Layout & Navbar Alignment */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .desktop-header {
    direction: rtl;
    text-align: right;
    padding-top: 14px;
    padding-bottom: 24px;
    overflow: visible;
}

html[dir="rtl"] .desktop-header .topper {
    direction: rtl;
    display: flex;
    align-items: center;
    gap: 12px;
}

html[dir="rtl"] .desktop-header .topper .icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 4px;
    background: #1F3044;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

html[dir="rtl"] .desktop-header .topper .text {
    text-align: right;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

html[dir="rtl"] .desktop-header .topper .topper-title {
    font-size: 14px;
    font-weight: 700;
    color: #1F3044;
    margin: 0;
    line-height: 1.25;
}

html[dir="rtl"] .desktop-header .topper .topper-sub {
    font-size: 12px;
    font-weight: 400;
    color: #64748b;
    margin: 0;
    line-height: 1.35;
}

html[dir="rtl"] .ftco-navbar-light .container-xl {
    /* top: -26px;
    margin-bottom: -26px; */
    display: flex;
    align-items: center;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

html[dir="rtl"] .ftco-navbar-light .navbar-collapse {
    direction: rtl;
    width: 100%;
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

html[dir="rtl"] .ftco-navbar-light .navbar-nav {
    direction: rtl;
    flex-wrap: nowrap;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    gap: 4px;
}

html[dir="rtl"] .ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
    padding-left: 12px !important;
    padding-right: 12px !important;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    background: transparent !important;
}

html[dir="rtl"] .ftco-navbar-light .navbar-nav > .nav-item.active > .nav-link {
    background: transparent !important;
    color: #ffffff !important;
}

html[dir="rtl"] .ftco-navbar-light .navbar-nav > .nav-item.active > .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 10px;
    right: 10px;
    height: 2.5px;
    background: #ffffff;
    border-radius: 2px;
}

html[dir="rtl"] .nav-actions-wrap {
    margin-right: auto !important;
    margin-left: 0 !important;
    direction: ltr;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

html[dir="rtl"] .language-switcher,
html[dir="rtl"] .language-box {
    direction: ltr;
    flex-shrink: 0;
}

html[dir="rtl"] .nav-call-btn {
    flex-shrink: 0;
    margin-left: 0;
    direction: ltr;
}

html[dir="rtl"] .nav-call-btn .call-text-wrap {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .services-dropdown {
    right: 0;
    left: auto;
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .services-dropdown .service-dropdown-item {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .services-dropdown .service-dropdown-item:hover {
    transform: translateX(-3px);
}
