:root {
    --primary-bg: #3CB98D;
    --white-color: #ffff;
    --black: #000000;
    --icon-bg: #592d85;
    --font-tajawal: "Tajawal", serif;
    --gray-color: #787778;

}



body {
    direction: ltr !important;
}


#herpcontainer::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(270deg, var(--white-color) 30%, var(--icon-bg) 70%) !important;
    overflow: hidden;

    /* طبقة منخفضة */
}

.title-container {
    position: relative;
    z-index: 2;
    padding: 20px;
    padding-left: 7rem;
    overflow: hidden;

}

.ryada{
    color: #fff !important;
}

.swiper-wrapper {
    justify-content: start !important;
}

.second-title {
    border-left: 6px solid var(--icon-bg);
    padding-left: 1rem !important;
    border-right: 0;
    padding-right: 0 !important;
}



@media only screen and (max-width: 600px) {

    .title-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #herpcontainer::before {
        content: '';
        position: absolute;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(220deg, var(--white-color) 10%, var(--icon-bg) 90%) !important;
        overflow: hidden;

        /* طبقة منخفضة */
    }

    .offcanvas-header {
        justify-content: space-between;
    }

    .offcanvas-title {
        order: 0;
    }

    .btn-close {
        width: 50%;
    }

    .counter-about {
        right: 0% !important;
    }
}



.form-label {

    left: 10px !important;
}


.breadcrumbs__item::after,
.breadcrumbs__item::before {
    background: white;
    bottom: 0;

    content: "";
    left: 0%;
    right: 100% !important;
    position: absolute;
    top: 0;
    transition: background 0.2s linear;
    width: 1em;
    z-index: 1;
    clip-path: polygon(50% 50%, -50% -50%, 0 100%);
}

#close-popup {
    position: absolute;
    top: 10px;
    left: 95% !important;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    background: var(--icon-bg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}



.form-control {
    width: 100%;
    padding: 16px 10px 16px 10px;
    border-radius: 30px;
    border: 1px solid #ddd;
    font-size: 16px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    text-align: left !important;
}


@media (max-width: 991px) {
    .modal-dialog {
        max-width: 95%;
        height: 90%;
    }

    .popup-content,
    .modal-dialog {
        width: 100%;
    }

    #close-popup {
        left: 80% !important;
    }
}