
.home_cat_nav .main {
    padding: 0 4.4rem 0 4.8rem;
    background-color: white;
    border-radius: 1.2rem;
    transform: translateY(-50%);
    position: relative;
    z-index: 8;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.home_cat_nav .main .swiper_cat_nav a{
    display: inline-block;
    padding: 3.1rem 0 2.7rem;
    display: flex;
    gap: 1.2rem;
    align-items: center;
    font-size: 2rem;
    line-height: 2.8rem;
    color: #161616;
    /* white-space: nowrap; */
    font-weight: 300;
    cursor: pointer;
}
.home_cat_nav .main .swiper_cat_nav a img{
    max-height: 6rem;
    max-width: 9.4rem;
    display: inline-block;
    object-fit: contain;
    position: relative;
}
.home_cat_nav .main .swiper_cat_nav a:after{
    content: "";
    width: 0%;
    height: 3px;
    background-color: var(--secondary);
    position: absolute;
    left: 0;
    bottom: 0;
    transition: all 0.3s;
}
.home_cat_nav .main .swiper_cat_nav .active a:after, .home_cat_nav .main .swiper_cat_nav li:hover a:after{
    width: 100%;
}

.home_solutions{
    padding-top: 10.5rem;
}
.home_solutions .head{
    margin-bottom: 8.8rem;
}
.home_solutions .head h2{
    margin-bottom: 7rem;
    padding-left: 10.3rem;
}

.home_solutions .head p{
    padding-left: 32%;
    padding-right: 14%;
}
.home_solutions .head:after{
    content: "";
    width: 1px;
    height: 25.8rem;
    background-color: #161616;
    position: absolute;
    left: 28.8rem;
    top: 16.6rem;
}
.home_solutions .head:before{
    content: "";
    width: 1px;
    height: 7rem;
    background-color: #fff;
    position: absolute;
    left: 28.8rem;
    top: 37rem;
    z-index: 9;
}
.home_solutions .item .content{
    max-width: 161.5rem;
}
.home_solutions .item {
    position: relative;
}
.home_solutions .item .img{
    aspect-ratio: 1920/578;
    cursor: pointer;
}
.home_solutions .item .title{
    padding: 2.7rem 5.4rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2),rgba(0,0,0,1) 80%,rgba(0,0,0,1));
    width: max-content;
    width: 49.5%;
    margin-left: auto;
    font-size: 4rem;
    font-weight: 400;
    margin-left: auto;
    color: white;
    margin-top: -8.2rem;
    position: relative;
    z-index: 9;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.home_solutions .item .flex .info{
    padding-top: 1.8rem;
    padding-left: 8.5rem;
    padding-bottom: 6rem;
    width: 79.5%;
    box-shadow: inset -15px 0 15px -15px rgba(0, 0, 0, 0.1);
}
html[lang="ar"] .home_solutions .item .flex .info{
    box-shadow: none !important;
}
.home_solutions .item .flex .btns{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: right;
    width: 100%;
    justify-content: left !important;
    padding-left: 2rem;
}
.home_solutions .item .flex .info span{
    font-size: 1.8rem;
    color: #161616;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 450;
    display: inline-block;
    position: relative;
}
.home_solutions .item .flex .info span:before{
    content: "";
    width: 6.6rem;
    height: 1px;
    background-color: #161616;
    position: absolute;
    top: 1.2rem;
    right: calc(100% + 2rem);
}

.home_solutions .item .flex .info h3{
    margin-top: 4rem;
    font-size: 3.4rem;
    line-height: 4.4rem;
    font-weight: 300;
    max-width: 82.5rem;
    margin-bottom: 4rem;
}

.home_solutions .item .flex .info p{
    font-size: 2rem;
    font-weight: 380;
    color: #545454;
    padding-top: 2.5rem;
    position: relative;
    transition: all 0.3s;
}
.home_solutions .item .flex .info p a:hover{
    color: var(--secondary);
}
.home_solutions .item .flex .info p:before{
    content: "";
    width: 3.2rem;
    height: 1px;
    background-color: #d5d5d5;
    position: absolute;
    left: 0;
    top: 0;
}

.page_services{
    padding: 7.8rem 0 8.4rem;
    background-color: #F4F5F7;
}
.page_services .head{
    margin-bottom: 3rem;
}
.page_services .main ul{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 3.5rem;
}
.page_services .main ul .item{
    display: block;
    padding: 3rem;
    background-color: #F9F9F9;
    border: 1px solid white;
    border-radius: 1.2rem;
    transition: all 0.3s;
}
.page_services .main ul .item .img{
    width: 8.1rem;
    height: 8.1rem;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10rem;
    margin-bottom: 0 !important;
}
.page_services .main ul .item .img img{
    width: 50%;
    height: 50%;
    
}
.page_services .main ul .item p{
    font-size: 2.4rem;
}
.page_services h2{
    font-size: 3.4rem
}
.page_services .main ul .item:hover{
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.btn.btn_square:hover{
    background-color: transparent;
    color: #161616;
}


@media screen and (max-width: 768px) {
    .home_cat_nav .main{
        transform: translateY(0);
    }
    .home_cat_nav{
        margin-top: 30px;
    }
    .home_cat_nav .main{
        padding: 0 20px;
        overflow: hidden;
    }
    .home_cat_nav .main .swiper_cat_nav a img{
        max-height: 40px;
        max-width: 70px;
    }
    .home_cat_nav .main .swiper_cat_nav a{
        font-size: 15px;
        line-height: 1.5;
        padding: 20px 0;
    }
    .home_solutions{
        padding-top: 50px;
    }
    .home_solutions .head h2{
        padding-left: 0;
        margin-bottom: 15px;
    }
    .home_solutions .head p{
        padding: 0;
    }
    .home_solutions .head{
        margin-bottom: 50px;
    }
    .home_solutions .head:after{
        display: none;
    }
    .home_solutions .item .img{
        aspect-ratio: 1/0.7;
    }
    .home_solutions .item .title{
        margin-left: 0;
        width: 100%;
        padding: 20px;
        font-size: 25px;
        margin-top: -76px;
    }

    .home_solutions .item .content >.flex{
        flex-flow: wrap;
    }
    .home_solutions .item .flex .info{
        width: 100%;
        padding: 30px 0;
        box-shadow: none;
    }
    .home_solutions .item .flex .info span{
        font-size: 15px;
    }
    .home_solutions .item .flex .info h3{
        font-size: 16px;
        line-height: 1.4;
        margin: 10px 0;
    }
    .home_solutions .item .flex .info p{
        font-size: 14px;
        line-height: 1.5;
    }
    .btn.btn_square{
        font-size: 15px;
        padding: 0px 10px;
    }
    .btn.btn_square:before{
        width: 40px;
        height: 40px;
    }
    .btn.btn_square:after{
        width: 15px;
        height: 15px;
            left: calc(80% + 20px);
    }
    .home_solutions .item .flex .btns{
        margin-bottom: 50px;
    }
    .page_services{
        padding: 50px 0;
    }
    .page_services h2{
        font-size: 25px;
    }
    .page_services .head{
        margin-bottom: 20px;
    }
    .page_services .main ul{
        display: flex;
        overflow: auto;
        gap: 20px;
    }
    .page_services .main ul li{
        min-width: 250px;
    }
    .page_services .main ul .item{
        padding: 20px;
    }
    .page_services .main ul .item .img{
        width: 60px;
        height: 60px;
        margin-bottom: 30px;
    }
    .page_services .main ul .item p{
        font-size: 16px;
    }
}