html[dir="rtl"] [data-maco-split="chars"],
html[dir="rtl"] .maco-chars-wrapper,
html[dir="rtl"] .swiper-animate-head .title,
html[dir="rtl"] .maco-slider-content .title,
html[dir="rtl"] .maco-slider-content .slide-content h2 {
    unicode-bidi: embed !important;
    text-align: right !important;
}

html[dir="rtl"] .fa-angle-right,
html[dir="rtl"] .fa-long-arrow-alt-right,
html[dir="rtl"] .fa-arrow-right,
html[dir="rtl"] .fa-chevron-right,
html[dir="rtl"] .fa-caret-right,
html[dir="rtl"] .fa-angle-left,
html[dir="rtl"] .fa-long-arrow-alt-left,
html[dir="rtl"] .fa-arrow-left,
html[dir="rtl"] .fa-chevron-left,
html[dir="rtl"] .fa-caret-left {
    transform: scaleX(-1);
    display: inline-block;
}

html[dir="rtl"] .main-slider .control-nav .box-title h6.sm-title-block , html[dir="rtl"] .maco-testimonials .swiper-slide {
    direction: rtl;
}

html[dir="rtl"] .pdf-card-icon {
    transform: scaleX(-1);
}

html[dir="rtl"]
    .site-header:not(.maco-hamburger)
    ul.primary-nav
    > li
    li[class*="has-sub"]:after {
    right: auto !important;
    left: 15px !important;
    transform: translateY(-50%) rotate(-135deg) !important;
}

html[dir="rtl"]
    .menu-footer-menu-container
    .menu-item
    a.nav-hover-link
    .hover-arrow {
    transform: translateX(10px);
}
html[dir="rtl"]
    .menu-footer-menu-container
    .menu-item:hover
    a.nav-hover-link
    .hover-arrow {
    transform: translateX(0);
    margin-right: 0;
    margin-left: 6px;
}

html[dir="rtl"] .maco-btn .btn-icon-left {
    margin-right: 0 !important;
    margin-left: 10px !important;
}
html[dir="rtl"] .maco-btn .btn-icon-right {
    margin-left: 0 !important;
    margin-right: 10px !important;
}

html[dir="rtl"] .scroll-progress {
    right: auto !important;
    left: 15px !important;
}
@media only screen and (max-width: 767px) {
    html[dir="rtl"] .scroll-progress {
        left: 10px !important;
        transform-origin: bottom left !important;
    }
}

html[dir="rtl"] .prev-container .container-inner .triangle {
    border-right: 6px solid var(--heading-color);
    border-left: 0;
    margin-left: 19.5px;
    margin-right: 0;
}
html[dir="rtl"] .next-container .container-inner .triangle {
    border-left: 6px solid var(--heading-color);
    border-right: 0;
    margin-right: 19.5px;
    margin-left: 0;
}

html[dir="rtl"] .exp-number,
html[dir="rtl"] .animate-number,
html[dir="rtl"] .slider-current-index,
html[dir="rtl"] .maco-pagination .h2 {
    direction: ltr;
    unicode-bidi: embed;
    display: inline-block;
}

html[dir="rtl"] .org-chart-wrapper .node,
html[dir="rtl"] .org-chart-wrapper .stack-node {
    direction: ltr;
    unicode-bidi: embed;
}

.site-header.maco-hamburger.maco-open ul.primary-nav ul.nav-item {
    justify-content: flex-start !important;
    overflow-y: auto !important;
    pointer-events: auto !important;
    padding-top: 10px;
    padding-bottom: 20px;
}

.site-header.maco-hamburger:not(.maco-open) ul.primary-nav ul.nav-item {
    overflow-y: hidden !important;
}

.site-header.maco-hamburger ul.primary-nav ul.nav-item::-webkit-scrollbar {
    width: 4px;
}
.site-header.maco-hamburger
    ul.primary-nav
    ul.nav-item::-webkit-scrollbar-thumb {
    background-color: var(--maco-gold, var(--theme-color));
    border-radius: 4px;
}

html[dir="rtl"]
    .site-header.maco-hamburger
    ul.primary-nav
    li
    a
    span.overflow::before,
html[dir="rtl"]
    .site-header.maco-hamburger
    ul.primary-nav
    ul
    li
    a
    span.overflow::before {
    direction: ltr !important;
    text-align: right;
    display: inline-block;
}

.site-header.maco-hamburger .container-content::after {
    display: none !important;
}

.site-header.maco-hamburger ul.primary-nav li.has-sub-menu > a::after {
    display: none !important;
}

.site-header.maco-hamburger
    ul.primary-nav
    li.has-sub-menu
    > a
    > span.overflow::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 14px;
    margin-inline-start: 15px;
    color: var(--maco-gold, var(--theme-color));
    display: inline-block;
    transition: transform 0.3s ease;
}

.site-header.maco-hamburger
    ul.primary-nav
    li.has-sub-menu.open
    > a
    > span.overflow::after,
.site-header.maco-hamburger
    ul.primary-nav
    li.has-sub-menu.active
    > a
    > span.overflow::after {
    transform: rotate(180deg);
}

.site-header.maco-hamburger .container-content {
    display: none !important;
}

@media only screen and (min-width: 992px) {
    .site-header.maco-hamburger ul.primary-nav {
        width: 100% !important;
    }

    .site-header.maco-hamburger.maco-open ul.primary-nav ul.nav-item {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 50px;
        row-gap: 5px;
        align-content: start;
    }

    .site-header.maco-hamburger ul.primary-nav ul.nav-item li.maco-back {
        grid-column: 1 / -1;
        margin-bottom: 25px !important;
    }
}

html[dir="rtl"]
    .site-header.maco-hamburger.maco-open
    #navbar_toggle
    .toggle-line:nth-of-type(1) {
    transform-origin: center !important;
    transform: translateY(1px) rotate(45deg) !important;
}
html[dir="rtl"]
    .site-header.maco-hamburger.maco-open
    #navbar_toggle
    .toggle-line:nth-of-type(3) {
    transform-origin: center !important;
    transform: translateY(-1px) rotate(-45deg) !important;
}

.site-header.maco-hamburger .maco-back-fixed {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 24px;
    margin-inline-start: 5px;
}
.site-header.maco-hamburger .maco-back-fixed span {
    transition:
        transform 0.4s ease,
        opacity 0.4s ease;
    font-size: 15px;
    font-weight: 500;
}
.site-header.maco-hamburger .maco-back-fixed .title-fixed {
    transform: translateY(0);
    opacity: 1;
    color: var(--maco-gold, var(--theme-color));
}
.site-header.maco-hamburger .maco-back-fixed .back-fixed {
    position: absolute;
    top: 0;
    right: 0;
    transform: translateY(100%);
    opacity: 0;
    color: var(--maco-gold, var(--theme-color));
}
.site-header.maco-hamburger .maco-back:hover .maco-back-fixed .title-fixed {
    transform: translateY(-100%);
    opacity: 0;
}
.site-header.maco-hamburger .maco-back:hover .maco-back-fixed .back-fixed {
    transform: translateY(0);
    opacity: 1;
}

html[dir="rtl"] .maco-slider-width-circle .main-slider:after {
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important;
}

 
html[dir="rtl"] .main-slider,
html[dir="rtl"] .swiper,
html[dir="rtl"] .swiper-container,
html[dir="rtl"] .splide,
html[dir="rtl"] .blackmaco-media-swiper {
    direction: ltr !important;
}

 
html[dir="rtl"] .splide__slide,
html[dir="rtl"] .site-header.maco-hamburger .main-navigation,
html[dir="rtl"] .slide-content {
    direction: rtl !important;
    text-align: right !important;
}

 html[dir="rtl"] .bg-three-js,
html[dir="rtl"] [data-maco-grid],
html[dir="rtl"] .img-box-parallax {
    direction: ltr !important;
}

 html[dir="rtl"] .swiper-container[dir="rtl"] {
    direction: rtl !important;
}

html[dir="rtl"] .swiper-container[dir="rtl"] .swiper-wrapper {
    direction: rtl !important;
}

 html[dir="rtl"] .swiper-container[dir="rtl"] .swiper-slide {
    direction: rtl !important;
    text-align: right !important;
}

.naser-slider-title .splitting{
    direction: ltr;
    text-align: left;
}
html[dir="rtl"] .naser-slider-title .splitting{
    direction: rtl;
    text-align: right;
}
html[dir="rtl"] .desktop-nav-list {
    direction: rtl;
 
}
html[dir="ltr"] .main-slider .maco-slider-content .slide-content.maco-active ,
 html[dir="rtl"] .main-slider .maco-swiper-paginate > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic{
    left: 0;
}
html[dir="rtl"] .main-slider .maco-slider-content .slide-content.maco-active,
html[dir="ltr"] .main-slider .maco-swiper-paginate > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic{
    right: 0px;
}
.sidebar-header img {
    max-width: 60%;
}

 .nasser-image-motion {
    transform: rotate(180deg) !important;
} 
 

/* html[dir="rtl"] .subtitle {
    direction: ltr;
} */
