/*
=============== 
    Fonts
===============
*/

@font-face {
    font-family: "Dana-Regular";
    src: url(../../Fonts/Dana-Regular.ttf);
}
@font-face {
    font-family: "Dana-Medium";
    src: url(../../Fonts/Dana-Medium.ttf);
}
@font-face {
    font-family: "Dana-Bold";
    src: url(../../Fonts/Dana-Bold.ttf);
}

/*
=============== 
    Main
===============
*/
html{
    font-size: 10px;
}
body{
    direction: rtl;
    font-size: 1.6rem;
    line-height: 1.5;
    font-family: "Dana-Regular";
    margin-bottom: -8px !important;
}
*{
    box-sizing: border-box !important;
}
a {
    text-decoration: none;
}

ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}
:root{
    --text-color:#373A40;
    --main-color:#4C3BCF;
}

/*

-- Reset Styles

*/

/*

-- Components

*/
.app-btn {
    width: 18rem;
    height: 5.2rem;
    border-radius: 4rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*

Main

*/

/*


NAVBAR


*/
.nav{
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: solid 3px blue;
}
.nav-logo{
    font-size: 3rem;
    color: black;
    font-family: "Dana-Bold";
}
.menu{
    display: flex;
    align-items: center;
    gap: 4rem;
    z-index: 99;
}
.menu__item{
  
}
.menu__link{
    font-family: "Dana-Medium";
    font-size: 2rem;
    transition: all 120ms ease-in;
    color: var(--text-color);
}
.menu__link:hover{
    color:var(--main-color);
}
.nav__link{
    background-color: var(--main-color);
    font-size: 1.8rem;
    transition: all 170ms ease-in;
}
.nav__link:hover{
    background-color: #6554e8;
    transform: scale(0.95);
}
.nav__link-mobile{
    display: none;
    background-color: var(--main-color);
    font-size: 1.8rem;
    transition: all 120ms ease-in;
    line-height: 5.2rem;
    text-align: center;
}
.toggle-menu{
    width: 5rem;
    height: 5rem;
    cursor: pointer;
    display: none;
}
.nav__logo-img{
    width: 7rem;
    height: 7rem;
}

.boxes-wrapper{
    margin-top: 15rem;
    line-height: 2;
}
.box{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: 0 0 4rem rgba(0, 0, 0, 0.20);
    padding: 3rem 0;
    border-radius: 1rem;
    position: relative;
}
.box__img-wrapper{
    width: 100%;
    height: 100%;
}
.box__img{
    width: 100%;
    height: 100%;
    box-shadow: 0 0 3rem  rgba(75, 112, 245 , 0.20);
    object-fit: cover;
}
.box__title{
    font-family: "Dana-Bold";
    font-size: 2rem;
    margin: 0.5rem;
}
.box__caption {
    margin-top: 1rem;
    font-family: "Dana-Medium";
    font-size: 1.8rem;
    width: 100%;
    max-width: 42rem;
    height: 7rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 2.3rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}
.box-btn{
    background-color: blue;
}
/*


Footer


*/

.footer{
    width: 100%;
    height: auto;
    line-height: 8rem;
    margin-top: 2rem;
    background-color: #111931;
}
.footer__wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer__caption{
    color: #fff;
    font-size: 2rem;
    font-family: "Dana-Medium";
}
.footer__social-wrapper{
    margin-top: 1rem;
    flex-wrap: wrap;
    text-align: center;
}
.footer__link{

}
.footer__icon--bale{
    fill: #fff;
}
.footer__icon{
    width: 3rem;
    height: 3rem;
    color: #fff;
    margin-right: 1rem;
}
/*
=============== 
  Responsive
===============
*/

@media screen and (max-width: 992px) {
    .menu{
        background-color: #373A40;
        position: fixed;
        right: -240px;
        top: 0;
        bottom: 0;
        flex-direction: column;
        padding: 3rem;
        transition: 120ms all ease-in ;
    }
    .toggle-menu{
        display: block;
    }
    .nav__link{
        display: none;
    }
    .nav__link-mobile{
        display: block;
    }
    .nav__open{
        right:0;
    }
    .menu__link{
        color: #fff;
    }
    .menu__link:hover{
        color: #fff;
    }
}
@media screen and (max-width: 768px) {
    .nav-logo{
        font-size: 2.2rem;
    }
    .footer__caption{
        font-size: 1.6rem;
    }
    .footer__icon{
        width: 2.5rem;
        height: 2.5rem;
    }
}
@media screen and (max-width: 576px) {
    .footer__wrapper{
        flex-direction: column;
    }
    .footer__caption{
        font-size: 1.4rem;
    }
    .footer__icon{
        width: 2rem;
        height: 2rem;
    }
    .footer__social-wrapper{
        margin-top: 0;
    }
}
@media screen and (max-width: 460px) {
    .footer__icon{
        width: 2.5rem;
        height: 2.5rem;
    }
}