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

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: "Tajawal", sans-serif;
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1366px;
    margin: 0 auto;
    padding: 0 5rem;
}

nav .fa-bars{
    display: none;
}

nav .logo{
    display: flex;
    align-items: center;
}

nav .logo img{
    width: 90px;
    padding-top: 10px;
    padding-bottom: 10px;
}

nav .nav-items{
    display: flex;
    list-style-type: none;
}

nav .nav-items .nav-item{
    padding: 0 1rem;
}

nav .nav-link{
    text-decoration: none;
    color: #4e547e;
    font-size: 1.4rem;
    transition: 0.5s;
}

nav .nav-link:hover{
    color: #6e0aef;
}

.container{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: #f8f7fc;
}

.swiper{
    width: 100%;
    height: fit-content;
    transition: transform 0.5s ease-in-out;
}

.container .swiper .swiper-slide{
    justify-content: space-between;
    display: flex;
}

.container .swiper .swiper-slide .text{
    margin-right: 60px;
    text-align: center;
    align-content: center;
    padding-right: 60px;
}

.container .swiper .swiper-slide .image{
    margin-left: 60px;
    padding-left: 60px;
}

.container .swiper .swiper-slide .text h1{
    font-size: 52px;
}

.container .swiper .swiper-slide .text h2{
    color: #4e547e;
    font-size: 32px;
    padding-top: 20px;
}

.hero{
    background-color: #f8f7fc;
}

.hero-section{
    max-width: 1366px;
    height: 90vh;
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding: 0 5rem;
    justify-content: space-between;
}

.hero-section .content{
    padding-right: 90px;
}

.hero-section .content h4{
    color: #6e0aef;
    padding-bottom: 10px;
}

.hero-section .content h1{
    font-size: 42px;
    color: #4e547e;
    padding-bottom: 3px;
}

.hero-section .content p{
    font-size: 20px;
}

.hero-section .btn{
    width: 14rem;
    margin-top: 2rem;
    border-radius: 0.5rem;
    outline: none;
    border: none;
    padding: 0.75rem 1.5rem;
    background-color: #6e0aef;
    cursor: pointer;
}

.hero-section .btn:hover{
    background-color: #7532cc;
}

.hero-section .btn a{
    text-decoration: none;
    color: white;
    font-size: 1.4rem;
}

.features{
    padding: 2rem 0;
    background-color: #f8f7fcf8; 
}

.features .features-section{
    max-width: 1366px;
    margin: 0 auto;
    padding: 0 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.features .features-section h4{
    color: #6e0aef;
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.features .features-section .qualities{
    display: flex;
    justify-content: center;
}

.features .features-section .qualities .quality{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    padding: 2rem;
    max-width: 17rem;
    border-radius: 1rem;
    margin: 1rem;
}

.features .features-section .qualities .quality:hover{
    border: 2px solid #6e0aef;
}

.features .features-section .qualities .quality i{
    font-size: 2rem;
    color: #6e0aef;
    margin-bottom: 1rem;
}

.features .features-section .qualities .quality h3{
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.counter-up{
    background: #f8f7fc;
    min-width: 50vh;
    align-items: center;
}

.counter-up .content1{
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
    flex-wrap: wrap;
}

.counter-up .content1 .box{
    width: calc(20% - 30px);
    background-color: white;
    border-radius: 5px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
    border-radius: 5px;
}

.counter-up .content1 .box .icon{
    font-size: 2rem;
    color: #6e0aef;
}

.counter-up .content1 .box .text1{
    font-size: 1.5rem;
    font-weight: 600;
}

.counter-up .content1 .box .counter{
    font-size: 1.5rem;
}

.counter-up .content1 .box:hover{
    border: 2px solid #6e0aef;
}

.counter-up h4{
    color: #4e547e;
    font-size: 1.6rem;
    margin-bottom: 2rem; 
    text-align: center;
    text-decoration: underline #a2a2a5f8;
}

@media(max-width: 1036px){
    .counter-up .content1 .box{
        width: calc(50% - 30px);
        margin-bottom: 50px;
    }

    .counter-up{
        padding: 50px 50px 0 50px;
    }
}

@media(max-width: 580px){
    .counter-up .content1 .box{
        width: 100%;
    }
}

.container1{
    width: 100%;
    height: 100vh;
    padding: 0 8%;
    background: #f8f7fc;
}

.container1 h1{
    text-align: center;
    padding-top: 10%;
    margin-bottom: 60px;
    font-weight: 600;
    position: relative;
}

.container1 h1::after{
    content: '';
    background: #303ef7;
    width: 100px;
    height: 5px;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.container1 .row{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    grid-gap: 30px;
}

.container1 .row .service{
    text-align: center;
    padding: 25px 10px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    background: white;
    transition: transform 0.5s, background 0.5s;
}

.container1 .row .service:hover{
    background: #303ef7;
    color: #fff;
    transform: scale(1.05);
}

footer{
    background-color: #606063;
    color: #fff;
}

.footer-info{
    width: 90%;
    margin: 0 auto;
    display: flex;
    padding: 50px 0;
}

.footer-info .footer-width{
    padding: 0 15px;
}

.footer-info h2{
    margin-bottom: 20px;
}

.about , .contact{
    width: 40%;
}

.link{
    width: 20%;
}

.link ul il a{
    margin-bottom: 15px;
    font-size: 20px;
    display: block;
}

.link ul il a:hover{
    color: #000;
}

.contact ul il{
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact ul il span{
    margin-right: 15px;
}

footer ul li{
    list-style-type: none;
}

footer a{
    text-decoration: none;
    transition: 0.5s;
    color: #fff;
}

@media screen and (max-width:992px){
    .about , .contact {
        width: 35%;
    }

    .link{
        width: 30%;
    }

    .container1 {
        height: 100%;
        padding-bottom: 30px;
    }
}

@media screen and (max-width:767px){
    .about , .contact , .link{
        width: 100%;
        margin-bottom: 30px;
    }

    .footer-info{
        flex-direction: column;
    }

    .container1 {
        height: 100%;
        padding-bottom: 30px;
    }
}

@media (max-width:1000px){
    * {
        text-align: center;
    }

    .hero img{
        display: none;
    }

    .counter-up h4{
        margin-top: 30px;
    }

    .features-section .qualities{
        flex-wrap: wrap;

    }

    .hero .hero-section .content{
        padding-right: 0;
    }

    .container{
        display: none;
    }

    .container .swiper .swiper-wrapper .swiper-slide .image{
        display: none;
    }

    .container .swiper .swiper-wrapper .swiper-slide .text{
        padding: 0;
        text-align: center;
    }

    .container .swiper .swiper-wrapper .swiper-slide .text h1{
        font-size: 40px;
    }
}

@media (max-width:1132px){
    .counter-up h4{
        padding-top: 60px;
    }
}

@media (max-width:1246px){
    .counter-up h4{
        padding-top: 60px;
    }
}

@media (max-width:645px){
    nav .fa-bars{
        display: block;
        font-size: 28px;
        color: #6e0aef;
    }

    nav .nav-items{
        position: absolute;
        left: 0;
        top: 18vh;
        flex-direction: column;
        width: 100%;
        background-color: #6e0aef;
        padding: 2rem 0;
        display: none;
        cursor: pointer;
    }

    nav .nav-items.active{
        display: flex;
    }

    nav .nav-items .nav-item{
        margin: 0.5rem 0;
    }

    nav .nav-items .nav-item a{
        color: #fff;
    }
}