/* ========== Base RTL Layout ========== */
.rtl *:not(.no-rtl) {
    direction: rtl;
    text-align: right;
}

/* ========== Force LTR for Specific Sections ========== */
.rtl #slider,
.rtl #slider *,
.rtl #services,
.rtl #services *,
.rtl #sponsors,
.rtl #sponsors *,
.rtl #associations,
.rtl #associations * {
    direction: initial !important;
}

/* ========== Re-Apply RTL for Specific Inner Elements ========== */
.rtl #slider .inner *,
.rtl #services .inner-box *,
.rtl #services .left-col .inner *,
.rtl #associations .inner *,
.rtl #sponsors .sponsors-text * {
    direction: rtl !important;
    text-align: right;
}

/* ========== Structural Alignments ========== */
.rtl #slider .inner {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.rtl .header-top-two .inner,
.rtl .main-menu .navigation,
.rtl .nav-content {
    display: flex;
}

/* ========== LTR Elements Inside RTL Context ========== */
.rtl .logo {
    direction: ltr;
    text-align: left;
}
.rtl .main-footer .logo {
    text-align: center;
}
/* ========== Specific Component Adjustments ========== */
.rtl .border-slide {
    background: linear-gradient(to left, red 80%, green 20%);
}

.rtl #slider .content,
.rtl #slider .btn-slide,
.rtl .btn-slide {
    direction: rtl !important;
}

/* ========== Header Style Adjustments ========== */
.rtl .header-style-two .language,
.rtl .header-style-three .language {
    justify-content: unset;
}

.rtl .header-style-three .main-menu .navigation > li > a {
    padding: 20px 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
}

.rtl .header-style-two .main-menu .navigation > li > a {
    font-size: 21px;
    font-weight: 500;
}

.rtl .btn-slide a {
    padding-left: 100px;
    padding-right: 100px;
}

.rtl i {
    text-align: center !important;
}

.rtl .text {
    font-size: 18px;
    line-height: 1.8em;
}

.rtl .custom-button {
    font-size: 17px;
    font-weight: 600;
}

.rtl .btn-style-five .btn-title {
    font-size: 16px;
}

.rtl .btn-style-three .btn-title {
    font-size: 17px;
}

.rtl .main-menu .navigation > li > ul > li > a {
    font-size: 18px;
}

.rtl p {
    font-size: 17px;
}

.rtl .news-block-five .content .text:before {
    right: 0;
}

.rtl .news-block-five .content-column .inner {
    padding-right: 30px;
}

.rtl .phone-info {
    border-right: 2px white solid;
    padding-right: 15px;
    padding-left: unset;
    border-left: unset;
}
.rtl .fas {
    margin-left: 8px;
}

.rtl .news-block-five .other-info {
    right: -443px;
}
.rtl .mobile-menu .navigation li.dropdown .dropdown-btn {
    /* transform: rotate(180deg); */
    right: 190px;
}
.rtl .carousel-control-prev,
.rtl .carousel-control-next {
    transform: rotate(180deg);
}
@media screen and (max-width: 991px) {
    .rtl .text-slide a {
        font-size: 21px !important;
    }
}
