/* RTL Stylesheet for Advisors360 Arabic CMS */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

body, h1, h2, h3, h4, h5, h6, p, a, span, button, input, select, textarea, label {
    font-family: 'Cairo', 'Mulish', sans-serif !important;
}

/* Floating WhatsApp button to the left side in RTL */
.float {
    position: fixed !important;
    bottom: 40px !important;
    left: 40px !important;
    right: auto !important;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.float:hover {
    color: #fff;
    transform: scale(1.1);
}

/* Fix navbar item spacing for RTL */
header .navbar-expand-lg .navbar-nav .nav-item {
    margin: 0 7px !important;
}

header .navbar-expand-lg .navbar-nav .nav-link {
    text-align: right;
}

/* Breadcrumb dividers and layout */
.breadcrumb-item + .breadcrumb-item::before {
    content: "|" !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
}

/* Quotation marks in testimonials */
.testimonials .testimonials-info .quotation-mark {
    right: auto !important;
    left: 20px !important;
    transform: scaleX(-1);
}

/* Info graphics / journey value system layout */
@media (min-width: 992px) {
    .info-grap {
        display: flex;
        flex-direction: row !important;
    }

    .info-grap-data {
        padding-left: 0 !important;
        padding-right: 2rem !important;
        border-left: none !important;
        border-right: 1.5px solid #EA1F27 !important;
    }

    .info-grap-item-icon {
        margin-right: -4.5rem !important;
        margin-left: 1.5rem !important;
    }

    .info-grap-item-icon1, .info-grap-item-icon2, .info-grap-item-icon3 {
        margin-right: -4.5rem !important;
        margin-left: 1.5rem !important;
    }
}

.info-grap-item-info {
    text-align: right !important;
}

/* Milestone Pin adjustments */
.milestones-sec-info::before {
    left: auto !important;
    right: 50% !important;
    transform: translateX(50%) !important;
}

.milestones-sec-info .year .year-title {
    flex-direction: row-reverse !important;
}

.milestones-sec-info .year .year-title img {
    margin-left: 0 !important;
    margin-right: -10px !important;
}

/* Align text properties */
.text-start-rtl {
    text-align: right !important;
    direction: rtl !important;
    unicode-bidi: plaintext !important;
}

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

[dir="rtl"] p, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6, [dir="rtl"] div {
    unicode-bidi: plaintext;
}

/* Footer layouts styling */
.footer-sec .quick-link {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.footer-sec .quick-link li {
    float: none !important;
    width: auto !important;
    text-align: inherit !important;
}

.footer-sec .social-media a img {
    margin-right: 0 !important;
    margin-left: 10px !important;
}

.footer-sec .social-media-links {
    padding-right: 0 !important;
    display: flex;
    justify-content: flex-start;
}

.footer-sec .social-media-links li {
    margin-right: 0 !important;
    margin-left: 15px !important;
}

/* Accordion collapse icon alignment in RTL Bootstrap */
.accordion-button::after {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Grid offsets */
@media (min-width: 992px) {
    .offset-lg-1-rtl {
        margin-right: 8.33333333%;
        margin-left: 0;
    }
}
