﻿html,body {
    direction: rtl;
}


.dir-ars-ltr{
    direction: ltr;
}

.pr-ars-10 {
    padding-right: 10px;
}

.dropdown-column-wrapper.header-dropdown {
    left: 1px;
    text-align: right;
}

.grid-2-columns---new.home-hero {
    direction: ltr;
    text-align: right;
}

.btn-arrow.contact-btn.small {
    margin-right: 6px;
    margin-left: 0px;
}

.header-nav-list-item {
    min-width: fit-content;
}

.steps .step:first-child {
    margin-left: initial;
    margin-right: auto;
}

.steps .step:last-child {
    margin-left: auto;
    margin-right: initial;
}
 

.steps {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    overflow-x: auto;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 20%; /* المسافة بين العناصر */
}
.text-dir-ars-rtl {
    direction: rtl;
}
.features-icon-wrapper {
    margin-left: 24px;
    margin-right: 0px;
}
.badge-row {
    margin-left: 0px;
    margin-right: 8px;
}



/* الهواتف الذكية (أقل من 600px) */
@media only screen and (max-width: 600px) {
    .w-layout-grid {
        grid-template-columns: 1fr;
    }
    .steps {
        padding: 25px 0 21px 50px;
        background: #f4f4f5;
/*        margin-top: 150px;*/
        border: 1px solid #1e4acbe3;
        border-radius: 12px;
    }
    .step-circle::before {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        left: -2px;
        width: calc(5rem + 2rem - 1.5rem);
        height: 2px;
        transform: translate(110%, 50%);
        color: #adb5bd;
        background-color: currentColor;
        display: none;
    }
}

/* الأجهزة اللوحية الصغيرة (من 600px إلى 768px) */
@media only screen and (min-width: 600px) and (max-width: 768px) {
    .w-layout-grid {
        grid-template-columns: 1fr;
    }
    .steps {
        padding: 25px 0 21px 50px;
        background: #f4f4f5;
/*        margin-top: 150px;*/
        border: 1px solid #1e4acbe3;
        border-radius: 12px;
    }
    .step-circle::before {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        left: -2px;
        width: calc(5rem + 2rem - 1.5rem);
        height: 2px;
        transform: translate(110%, 50%);
        color: #adb5bd;
        background-color: currentColor;
        display:none;
    }
}

@media only screen and (min-width: 768px) and (max-width: 992px ) {
    .w-layout-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        padding: 25px 0 21px 50px;
        background: #f4f4f5;
/*        margin-top: 150px;*/
        border: 1px solid #1e4acbe3;
        border-radius: 12px;
    }

    .step-circle::before {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        left: -2px;
        width: calc(5rem + 2rem - 1.5rem);
        height: 2px;
        transform: translate(110%, 50%);
        color: #adb5bd;
        background-color: currentColor;
        display: none;
    }
}


    /* الشاشات المتوسطة (من 992px إلى 1200px) */
    @media only screen and (min-width: 992px) and (max-width: 1200px) {
        .step-circle::before {
            content: "";
            display: block;
            position: absolute;
            top: 50%;
            right: -2px;
            width: calc(5rem + 9rem - 1.5rem);
/*            width: 16vw;*/
            height: 2px;
            transform: translate(40%, 50%);
            color: #adb5bd;
            background-color: currentColor;
        }
    }

    /* الشاشات الكبيرة (أكبر من 1200px) */
    @media only screen and (min-width: 1200px) {
        .step-circle::before {
            content: "";
            display: block;
            position: absolute;
            top: 50%;
            right: -2px;
            width: calc(5rem + 13rem - 1.5rem);
/*            width: 19vw;*/
            height: 2px;
            transform: translate(30%, 50%);
            color: #adb5bd;
            background-color: currentColor;
        }
    }


    .header-nav-link {
        text-align: right;
    }

    .line-rounded-icon.dropdown-arrow {
        margin-right: 8px;
    }

    .dropdown-column-wrapper.header-dropdown {
        left: 141px;
    }

    .brix---big-icon-left {
        margin-right: 0;
        margin-left: 16px;
    }

    .form-select {
        background-position: left .75rem center;
    }