/* Generated by script */
@font-face {
    font-family: Vazirmatn FD;
    src: url('../fonts/webfonts/Vazirmatn-FD-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: Vazirmatn FD;
    src: url('../fonts/webfonts/Vazirmatn-FD-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: Vazirmatn FD;
    src: url('../fonts/webfonts/Vazirmatn-FD-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: Vazirmatn FD;
    src: url('../fonts/webfonts/Vazirmatn-FD-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: Vazirmatn FD;
    src: url('../fonts/webfonts/Vazirmatn-FD-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: Vazirmatn FD;
    src: url('../fonts/webfonts/Vazirmatn-FD-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: Vazirmatn FD;
    src: url('../fonts/webfonts/Vazirmatn-FD-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: Vazirmatn FD;
    src: url('../fonts/webfonts/Vazirmatn-FD-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: Vazirmatn FD;
    src: url('../fonts/webfonts/Vazirmatn-FD-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
  }
  
body {
    margin: 0px;
    font-family: "Vazirmatn FD", sans-serif;
    direction: rtl;
}

a {
    color: inherit;
}

* {
    box-sizing: border-box;
}

.overlay {
    width: 100vw;
    height: 100vh;
    background-color: rgba(39, 38, 38, 0.8);
    position: fixed;
    top: 0px;
    z-index: 1;
}

/*hover*/
.hover_btn:hover {
    background-color: #0062cc !important;
}

/*end hover*/

/*start headr*/
header {
    width: 100%;
    position: relative;
}

.hamburger_menu {
    display: none;
}

.logo_title {
    text-align: center;
}

.menu {
    background-color: rgb(97, 95, 95, 50%);
    position: absolute;
    width: 100%;
    height: 60px;
}

.menu ul {
    list-style: none;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    flex-direction: row;
    float: right;
    margin: 0px;
}

.menu ul li {
    background-color: transparent;
    height: 60px;
    margin-right: 50px;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    align-items: center;
}

.menu ul li:hover {
    background-color: #007bff;
}

.btn_login {
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    background-color: #0062cc !important;
    color: #ffffff;
    /* width: 120px;
    height: 60px; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu ul li a {
    text-decoration: none;
    color: #ffffff;
}

.banner {
    width: 100%;
    min-height: 250px;
}

.title_page {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    bottom: auto;
    top: auto;
    margin-top: 110px;
}

.title_page>h1 {
    margin: 0px;
    height: 4rem;
    display: flex;
    background-color: rgb(214 215 216 / 88%);
    color: #181616;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    padding: 0px 30px;
}

/*end headr*/

/*intro*/
.intro {
    width: 95%;
    background-color: #f3f3f3;
    border-radius: 30px;
    display: flex;
    flex-direction: row;
    margin: 40px auto 100px auto;
    flex-wrap: wrap;
}

.intro_img {
    margin: 10px 0px 10px 35px;
}

.intro div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin: 0px 40px 0px 40px;
    min-width: 320px;
    max-width: 600px;
}

.intro h1 {
    margin: 0px 0px 20px 0px;
    color: #db5c01;
}

.intro p {
    margin: 0px 0px 20px 0px;
    line-height: 33.73px;
    font-size: 16px;
    text-align: justify;
    font-weight: 700;
    color: #5a5a5a;
}

.intro a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    background-color: #007bff;
    padding: 0px 15px;
    height: 54px;
    font-size: 15px;
    border-radius: 10px;
    font-weight: 700;
    margin-bottom: 15px;
}

/*end intro*/

/*cards*/
.container_cards {
    width: 95%;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: auto auto 0px auto;
    justify-content: center;
}

.card {
    background-color: #eaeef4;
    width: 30%;
    border-radius: 30px;
    min-height: 620px;
    position: relative;
    margin-left: 2rem;
    min-width: 350px;
    margin-top: 5rem;
}

.card_head {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -75px auto 0px auto;
    font-size: 40px;
    font-weight: 700;
    background-color: #fff;
}

.card_body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin: auto;
}

.card h4 {
    font-size: 32px;
    margin: 20px 0px 20px 0px;
    color: #181616;
}

.card p {
    line-height: 33.73px;
    font-size: 16px;
    text-align: justify;
    font-weight: 600;
    color: #5a5a5a;
    margin: 0px 0px 20px 0px;
}

.card_footer {
    position: absolute;
    bottom: 30px;
    left: 0px;
}

.card_footer a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    background-color: #007bff;
    padding: 0px 50px;
    height: 54px;
    font-size: 15px;
    border-radius: 0px 10px 10px 0px;
    font-weight: 700;
}

/*about us and join us page*/
.about_us,
.join_us,
.the_news {
    display: flex;
    flex-direction: row;
    margin: 40px auto 0px auto;
    width: 95%;
    flex-wrap: wrap;
    justify-content: center;
}

.about_us img,
.join_us img,
.the_news img {
    max-width: 320px;
    border-radius: 15px;
}

.about_us p,
.join_us p,
.the_news p {
    margin: 20px 55px 0px 0px;
    line-height: 33.73px;
    font-size: 18px;
    text-align: justify;
    font-weight: 700;
    color: #5a5a5a;
    min-width: 400px;
    max-width: 700px;
}

/*end about us and join us page*/
/*news*/
.news_cards {
    display: flex;
    width: 95%;
    justify-content: space-around;
    margin: 50px auto 0px auto;
    flex-wrap: wrap;
}

.news_card {
    max-width: 300px;
    background-color: #eaeef4;
    border-radius: 10px;
    margin-bottom: 50px;
}

.news_card img {
    width: 300px;
    height: 250px;
    border-radius: 10px 10px 0px 0px;
}

.body_card {
    width: 90%;
    margin: 10px auto 30px auto;
    max-height: 500px;
}

.news_card h3 {
    margin: 0px 0px 10px 0px;
    font-weight: 700;
}

.news_card p {
    margin: 0px;
    font-weight: 600;
    color: #424242;
}

.btn_news {
    width: 100%;
    background-color: #007bff;
    text-align: center;
    padding: 10px 0px;
    border-radius: 0px 0px 10px 10px;
}

.btn_news a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

/*end news*/

/*start footer*/
footer {
    background-color: #787676;
    margin-top: 90px;
    width: 100%;
}

.footer_container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    flex-wrap: wrap;
}

footer section {
    width: 33.33%;
    text-align: right;
    padding-right: 50px;
}

footer .title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin: 40px 0px 14px 0px;
}

footer .title .icon {
    width: 50px;
    height: 50px;
    margin-left: 15px;
}

footer .title h4 {
    font-weight: bold;
    font-size: 30px;
    color: #ffffff;
    margin: 0px;
}

footer section p {
    line-height: 33.73px;
    font-size: 16px;
    text-align: justify;
    color: #f2f2f2;
    font-weight: 600;
}

.btn_help_us {
    color: #ffffff;
    font-size: 22px;
    transition: all 0.5s;
    display: block;
    cursor: pointer;
}

.btn_help_us:hover {
    color: #bdddff;
    font-size: 30px;
}

.about_desinger {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #615f5f;
    color: #e3e3e3;
    height: 60px;
    width: 100%;
    margin-top: 60px;
}

/*end footer*/
.modal {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: -1;
    transition: all 0.5s;
}

.container_modal {
    width: 50%;
    background-color: #eaeef4;
    border-radius: 20px;
    margin: 50px auto;
    text-align: center;
    min-height: auto;
    max-height: 90%;
    position: relative;
    padding: 30px 0px;
    overflow-y: auto;
}

.modal_text {
    width: 70%;
    margin: auto;
    color: #5a5a5a;
    font-weight: 700;
    text-align: justify;
}

.modal_text h3 {
    text-align: center;
    font-size: 20px;
}

.modal_btn {
    padding: 10px;
    display: inline-block;
    margin-top: 6px;
    color: #ffffff;
    background-color: #007bff;
    border-radius: 10px;
    text-align: center;
    width: auto;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 10px;
}

.close_modal {
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 1s;
    position: absolute;
    top: 10px;
    left: 10px;
}

.close_modal:hover {
    transform: rotate(180deg);
}

.btns_modal a:hover {
    background-color: #f8fcff;
    color: #98ccfd;
}

.menu ul li:last-child {
    margin-right: auto;
    margin-left: 0px;
}

.menu ul {
    padding: 0px;
    width: 100%;
}

.page_404 {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.page_404 h1 {
    font-size: 4rem;
    color: #e21515;
}

.page_404 a {
    font-size: 2rem;
    color: #007bff;
    text-decoration: none;
}

.limited_text p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media only screen and (max-width: 360px) {
    .intro {
        width: 100%;
        border-radius: unset;
    }

    .logo_title {
        font-size: 1.2rem !important;
    }

    .footer_container .title h4 {
        font-size: 24px;
    }

    .container_modal {
        width: 100vw;
        /* margin: 50px auto; */
        min-height: 100vh !important;
        border-radius: 0px;
        overflow: scroll;
    }

    .modal_text {
        text-align: justify !important;
    }

    .modal_text h3 {
        margin: 0px;
    }

    .modal_text p {
        font-size: 15px;
        margin: 10px 0px;
    }
}

@media only screen and (max-width: 600px) {
    .logo_title {
        font-size: 1.35rem;
    }

    .banner {
        min-height: 120px;
    }

    .title_page {
        margin-top: 35px;
    }

    .title_page h1 {
        font-size: 20px;
        height: 50px;
        padding: 0px 15px;
    }

    .intro {
        flex-wrap: wrap;
    }

    .intro div {
        align-items: center;
        margin: 0px;
    }

    .intro_img {
        width: 100%;
    }

    .intro h1 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .intro p {
        margin: 0px 15px 0px 15px;
        font-size: 16px;
    }

    .intro a {
        margin: 15px auto;
    }

    .container_cards {
        flex-direction: column-reverse;
        background-color: #96abca;
        border-radius: 20px;
    }

    .card {
        width: 100%;
        border-radius: 0px;
        margin-top: 78px;
        min-width: auto;
    }

    .card_head {
        background-color: #96abca;
    }

    .card h4 {
        font-size: 25px;
    }

    .card p {
        font-size: 16px;
    }

    .container_cards .card:last-child {
        border-radius: 20px 20px 0px 0px;
    }

    .container_cards .card:last-child {
        margin-top: 0px;
    }

    .container_cards .card:last-child .card_head {
        background-color: #ffffff;
    }

    .container_cards .card:first-child {
        border-radius: 0px 0px 20px 20px;
    }

    .menu {
        background-color: #615f5f;
        height: auto;
        z-index: 2;
        flex-direction: column;
        align-items: center;
        opacity: 0;
        transition: all 0.5s;
    }

    .menu ul {
        flex-direction: column;
        float: unset;
        padding: 0px;
    }

    li {
        margin: 0px;
    }

    .btn_login:hover {
        background-color: #007bff !important;
    }

    .btn_login {
        float: unset;
        background-color: unset;
        width: auto;
        padding-left: 20px;
        padding-right: 20px;
        justify-content: unset;
    }

    .fix_menu {
        display: flex;
        flex-direction: row-reverse;
        padding: 0px 10px;
        align-items: center;
        justify-content: space-between;
    }

    .hamburger_menu {
        display: block;
        min-width: 30px;
    }

    .about_us,
    .join_us,
    .the_news {
        flex-direction: column;
        width: 90%;
    }

    .about_us p,
    .join_us p,
    .the_news p {
        margin: 25px auto 0px auto;
        text-align: justify;
        min-width: 300px;
    }

    .news_card {
        margin-top: 20px;
    }

    .footer_container {
        flex-wrap: wrap;
    }

    .container_modal {
        width: 100vw !important;
        margin: 50px auto;
        height: 100vh;
        border-radius: 0px;
    }

    .modal_text {
        width: 95%;
        text-align: justify;
    }

    footer section {
        width: 90% !important;
        padding-right: 0px;
    }

    .menu ul li:last-child {
        margin-right: initial;
        margin-left: unset;
        padding-right: 30px;
    }

    .about_desinger {
        font-size: 0.7rem;
    }
}

@media only screen and (max-width: 800px) {
    .menu ul li {
        margin-right: 0px;
        padding: 0px 30px;
    }

    .footer_container {
        padding-left: 25px;
    }

    .footer_container section {
        width: 50%;
        padding-right: 25px;
    }

    .footer_container section:last-child {
        margin-left: auto;
    }

    .container_modal {
        width: 100vw !important;
        min-height: 100vh !important;
        border-radius: unset;
    }
}

@media only screen and (max-width: 1212px) {
    .intro {
        justify-content: center;
    }

    .intro div {
        align-items: center;
    }

    .about_us img,
    .join_us img,
    .the_news img {
        max-width: 100%;
    }

    .container_modal {
        width: 80vw;
    }
}