﻿ 
.flex, .fixed_flex {
    display: flex;
}

.flex_content {
    width: 100%;
    position: relative;
}

.padding_1x {
    padding: 1rem;
}

.padding_2x {
    padding: 2rem;
}

.padding_3x {
    padding: 3rem;
}

.padding_4x {
    padding: 4rem;
}

.big {
    font-size: 3.5em;
}

.medium {
    font-size: 2em;
}

.small {
    font-size: 1.3em;
}

.btn {
    padding: 1rem;
    border-radius: 5px;
    color: var(--white);
    position: relative;
    border: 0;
    text-align: center;
}

.btn_3 {
    display: block;
    background-color: 0;
    color: var(--white);
    position: relative;
    font-family: Vazir-B !important;text-decoration:underline !important

}

    .btn_3:before {
        content: "";
        border-radius: 50%;
        background-color: #68f7c370;
        position: absolute;
        left: -15px;
        top: 50%;
        width: 40px;
        height: 40px;
        transition: 0.5s;
        transform: translate(0%, -50%);
    }

    .btn_3:hover:before {
        border-radius: 40px;
        width: 110%;
    }

.margin-0 {
    margin: 0 !important;
}

.btn_3 {
    padding: 0 !important;
}

    .btn_3 i {
        padding-left: 5px !important;
    }

@media (max-width:920px) {
    .flex {
        flex-wrap: wrap;
    }

    .padding_1x, .padding_2x, .padding_3x, .padding_4x {
        padding: 1rem;
    }

    .big {
        font-size: 1.8em;
    }

    .medium {
        font-size: 1.3em;
    }

    .small {
        font-size: 1.1em;
    }

    .btn {
        padding: 0.5rem 1rem;
    }

    a, p, .btn {
        font-size: 12px;
    }
}

.slider { overflow: hidden; margin: auto;  max-width: 100%;
    height: 500px;
    position: relative;
    width: 1450px;
    border-radius: 24px;
    margin-top: 0px !important;
    height: 60vh;
}

    .slider .title {
        font-family: Vazir;
        font-size: 45px;
        text-align: right;
        padding-bottom: 15px
    }

.padd-r {
    margin: 0 50px 0 0
}

.slider li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    transition: clip .7s ease-in-out, z-index 0s .7s;
    clip: rect(0, 100vw, 100vh, 100vw);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .slider li:nth-child(1) {
        background: linear-gradient(to right, rgba(1,1,1,1) 5%, rgba(1,1,1,0.2) 11%, rgba(1,1,1,0.2) 100%), url("img2/001.webp");
        background-size: cover;
        background-position: top left;
    }

    .slider li:before {
        content: "";
        position: absolute;
        top: -20px;
        right: 0;
        width: 250px;
        height: 250px;
        background-image: url("img2/slider-shape2.png");
        background-size: 100% 100%;
        transition-delay: 1s;
        transform: rotate(-90deg);
        z-index: 1;
    }

    .slider li:after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 300px;
        height: 300px;
        background-image: url("img2/slider-shape3y.png");
        background-size: 100% 100%;
        transform: rotate(360deg);
        transition: all 1.5s cubic-bezier(0,0,.2,1);
        z-index: 1;
        background-position: center left;
    }

    .slider li:nth-child(2) {
        background: linear-gradient(to right, rgb(1 1 1 / 47%) 10%, rgb(1 1 1 / 70%) 51%, rgba(1, 1, 1, 0.2) 100%), url("img2/002.webp");
        background-size: cover;
        background-position: top left;
    }

    .slider li:nth-child(3) {
        background: linear-gradient(to right, rgb(1 1 1 / 47%) 10%, rgb(1 1 1 / 70%) 51%, rgba(1, 1, 1, 0.2) 100%), url("img2/004.webp");
        background-size: cover;
        background-position: top left;
    }
    .slider li:nth-child(4) {
        background: linear-gradient(to right, rgb(1 1 1 / 47%) 10%, rgb(1 1 1 / 70%) 51%, rgba(1, 1, 1, 0.2) 100%), url("img2/003.webp");
        background-size: cover;
        background-position: top left;
    }
.slider article {
    width: 60%;
    margin-top: 4rem;
    color: #fff;
    z-index: 11;
}

.slider h3 + p {
    display: inline-block;
    color: var(--lite);
    font-family: Vazir-Thin
}

.btn_3 {
    color: #fff !important;font-size:17px !important
}

.slider h3, .slider h3 + p, .slider p ~ .btn, li:after {
    opacity: 0;
    transition: opacity .7s 0s, transform .5s .2s;
    transform: translate3d(0, 50%, 0);
}

li.current h3, li.current h3 + p, li.current p ~ .btn, li.current:after {
    opacity: 1;
    transition-delay: 1s;
    transform: translate3d(0, 0, 0);
}


.slider li:before {
    transition: 0.5s;
    top: -250px !important;
}

li.current:before {
    transition-delay: 1s;
    transform: rotate(-90deg);
    top: -20px !important;
}

li.current {
    z-index: 1;
    clip: rect(0, 100vw, 100vh, 0);
}

li.prev {
    clip: rect(0, 0, 100vh, 0);
}

.slider aside {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    text-align: center;
    z-index: 10;
}

    .slider aside a {
        display: inline-block;
        width: 8px;
        height: 8px;
        min-width: 8px;
        min-height: 8px;
        background-color: var(--white);
        margin: 0 0.2rem;
        transition: transform .3s;
    }

.slider em {
    background: var(--primary);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

a.current_dot {
    transform: scale(1.4);
    background: var(--primary) !important;
}

@media screen and (max-width: 920px) {
    header {
          position: relative;
    }

    .cs-down {
        display: none;
    }

    .slider {
        height: 70vh;
    }

        .slider article {
             margin-top: 2rem;
        }

        .slider li:nth-child(2) {
            background-position: top center;
        }

        .slider li:nth-child(3) {
            background-position: top center;
        }

    li.current:before {
        top: -30px;
        right: -10px;
    }
}
.listLinks, .listLinks li{font-family:Vazir-B;text-align:center}
@media screen and (max-width: 750px) {
    .title-main h2, .title-green h3, .title-services h3 {
        letter-spacing: unset !important;
    }
    .slider article {
        width: 70%;
    }
        .slider .title {
        width: unset !important;
    }
        .p-razi {
        padding-left: 0 !important;
    }

    .listLinks, .listLinks li {
        font-size: 14px;
        text-align: right;
        gap: 10px;
    }

    footer {
        padding: 40px 40px 40px 10px;
    }

    .list-about li {
        width: calc(100% - 10px);
   line-height: 10px;
    }
        .content-about p {
            margin-bottom: 20px;
        }
    .theme-btn {display:none
    }
    .bg-about {
        padding-bottom: 20px !important;
        padding-top: 30px !important;
    }
    .bg-menu-fix{padding:10px 0 !important}
    .header nav a{font-size:14px !important}
    }

.slider .title {width:500px
}