/*
* Template-Name: HOME Page 
* Author: Ehsan Javani
* Version: 1.0
* Source Code Is Minified
*/

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir.woff2') format('woff2');
    font-weight: normal;
    font-style: normal
}

*, *::before, *::after {
    padding: 0;
    margin: 0;
    -webkit-box-sizing: inherit;
    box-sizing: inherit
}

:root {
    --font: 'Vazir';
    --base-color: #fff;
    --body-bg: #d3d3d3;
    --second-color: #424242;
    --box-title-color: #fccf02;
    --footer-bg-color: #f6c91c;
    --pagination-color: var(--second-color);
    --text-color: #000
}

html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

body {
    font-family: var(--font);
    width: 100%;
    min-height: 100vh;
    background-color: var(--body-bg);
    background: linear-gradient(150deg,#3b3838,#1a1919,#070607)
}

.container {
    max-width: 100%;
    width: 90%;
    margin: auto
}

.row {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.flex-d-column {
    flex-direction: column !important
}

.header {
    position: relative;
    width: 100%;
    padding: 1.5rem 0
}

.header__butter-figure {
    z-index: -1
}

.header__circle-img {
    max-width: 100%;
    position: absolute;
    height: 500px;
    top: 0;
    right: 50%;
    left: 50%;
    transform: translateX(50%)
}

.header__brand {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 90px;
    flex: 1 1 90px
}

.header__nav {
    -webkit-box-flex: 3;
    -ms-flex: 3 1 50%;
    flex: 3 1 50%
}

.header__bar.close-icon {
    height: 38px
}

.header__nav-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    list-style: none
}

.header__nav-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.header__nav-link {
    --text-color: var(--footer-bg-color);
    padding: 0 1rem;
    text-decoration: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: var(--text-color);
    text-shadow: 1px 1px transparent;
    -webkit-transition: color 250ms ease-in-out, text-shadow 250ms ease-in-out;
    -o-transition: color 250ms ease-in-out, text-shadow 250ms ease-in-out;
    transition: color 250ms ease-in-out, text-shadow 250ms ease-in-out
}

.header__nav-figure {
    width: 100%;
    height: 100%;
    padding: 1.2rem;
    margin-bottom: 0.5rem
}

.header__nav-link img {
    height: 50px;
    pointer-events: none
}

.header__contact-support {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 85px;
    flex: 1 1 85px;
    height: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-decoration: none;
    color: var(--text-color)
}

.header__bars {
    outline: 0;
    border: 0;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    background-color: transparent;
    cursor: pointer;
    display: none;
    z-index: 99;
    flex-direction: column;
    align-items: center
}

.header__bars-bar {
    width: 40px;
    height: 4px;
    background: #fff;
    margin-bottom: 0.5rem;
    border-radius: 100px;
    transition: all 300ms ease-in-out
}

.header__bars.open .header__bars-bar:first-child {
    transform: rotate(130deg)
}

.header__bars.open .header__bars-bar:nth-child(2) {
    display: none
}

.header__bars.open .header__bars-bar:last-child {
    transform: rotate(45deg);
    position: relative;
    bottom: 11px
}

.header__nav-svg-icon, .header__nav-image-icon {
    width: 50px;
    height: 50px
}

.btn {
    border-radius: 20px;
    background: linear-gradient(120deg, #211f20, #292728);
    -webkit-box-shadow: 0px 1px 0.3px -0.3px rgb(0 0 0 / 44%), inset 0.113px -1.178px 2px 0px rgb(0 0 0 / 67%), inset 0px 0px 4.6px 0.4px rgb(255 255 255 / 0%);
    box-shadow: 0px 1px 0.3px -0.3px rgb(0 0 0 / 44%), inset 0.113px -1.178px 2px 0px rgb(0 0 0 / 67%), inset 0px 0px 4.6px 0.4px rgb(255 255 255 / 0%);
    z-index: 8;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    border-top: 1px solid var(--footer-bg-color)
}

.header__nav-link .header__nav-image-icon {
    opacity: 1;
    -webkit-transition: opacity 300ms ease-in-out;
    -o-transition: opacity 300ms ease-in-out;
    transition: opacity 300ms ease-in-out
}

.main__eslipse-1 {
    background: url('../images/Ellipse1.png') no-repeat top center;
    background-size: contain;
    width: 500px;
    height: 500px;
    max-width: 90%;
    position: relative;
    z-index: 55;
    margin: auto
}

.main__eslipse-2 {
    background: url(../images/Ellipse2.png);
    width: 500px;
    height: 500px;
    max-width: 90%;
    background-repeat: no-repeat;
    z-index: 55;
    background-size: contain;
    margin: auto;
    width: 450px;
    height: 450px;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-57%,-42%)
}

.main__eslipse-image {
    max-width: 100%;
    margin: auto;
    max-height: 200px;
    display: block;
    text-align: center;
    position: relative;
    left: 30px;
    bottom: 20px;
    pointer-events: none;
    z-index: 100;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%)
}

.main__boxes {
    width: 100%;
    transform: translateY(-5rem);
    z-index: 55
}

    .main__boxes .container {
        max-width: 770px
    }

    .main__boxes .row {
        flex-wrap: wrap;
        justify-content: center
    }

.main__boxes-box {
    --base-w: 50%;
    --mg-l: 1rem;
    --mg-r: 1rem;
    --sum-mg: calc(var(--mg-l) + var(--mg-r));
    flex: 0 0 calc(var(--base-w) - var(--sum-mg));
    margin: 0 1rem;
    min-height: 130px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, #0c0b0b, #282527, #282627);
    box-shadow: 0 1px 5px #000;
    border-radius: 100px;
    border-top: 1px solid #4b3c08;
    padding: 0.5rem 0
}

.main__boxes-box-title {
    flex: 1 1 25%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--box-title-color);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    font-size: 2rem;
    padding: 0.5rem
}

.main__boxes-box-description {
    color: var(--base-color);
    flex: 1 1 75%;
    height: 100%;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    border-left: 4px solid var(--base-color);
    text-align: center
}

.main__boxes-box {
    margin-bottom: 1.5rem
}



    
@media screen and (max-width: 992px) {
    .articles__article-title {
        font-size: 1.4rem;
    }

    .articles__article-img {
        max-height: 85px;
    }

    .footer__item-social-icon {
        max-height: 23px;
    }

    .footer {
        padding-bottom: 0;
    }

    .header__nav-item {
        padding: 0;
        margin-bottom: 1rem;
    }

    .footer__main {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .footer__col {
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
        margin-bottom: 1rem;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .footer__paragraph-1, .footer__paragraph-2 {
        font-size: 1rem;
    }
}

@media screen and (max-width: 900px) {
    .header {
        margin-bottom: 0;
    }

    .row {
        flex-wrap: wrap;
    }

    .header__nav {
        display: none;
    }

    .header__brand {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-box-flex: 1;
        -ms-flex: 1 1 35px;
        flex: 1 1 35px;
    }

    .header__bars {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-flex: 1;
        -ms-flex: 1 1;
        flex: 1 1;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        position: relative;
        top: 0.5rem;
    }

    .header .row {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .header__nav {
        position: absolute;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        min-height: 100vh;
        height: auto;
        top: -100%;
        right: 0;
        left: 0;
        margin-top: 1rem;
        visibility: hidden;
        opacity: 0;
        padding: 2rem 0;
        z-index: 99;
        background-color: rgba(0, 0, 0, 0.5);
    }

        .header__nav.active {
            top: 100%;
            visibility: visible;
            opacity: 1;
            -webkit-transition: opacity 300ms ease-in-out, visibility 150ms ease-in-out, top 300ms ease-in-out;
            -o-transition: opacity 300ms ease-in-out, visibility 150ms ease-in-out, top 300ms ease-in-out;
            transition: opacity 300ms ease-in-out, visibility 150ms ease-in-out, top 300ms ease-in-out;
        }

    .header__nav-list {
        width: 100%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

        .header__nav-list .header__nav-item:last-child {
            margin: 0;
        }

    .header__nav-link {
        color: var(--base-color);
    }

    .articles__article {
        --base-w: 100%;
        margin-right: 0;
    }
}

@media screen and (max-width: 768px) {
    .footer__paragraph-1, .footer__paragraph-2 {
        font-size: 0.9rem;
    }

    .articles__article-title {
        font-size: 1.2rem;
    }

    .articles__article-img {
        max-height: 70px;
    }
}

@media screen and (max-width: 576px) {
    .articles__article-title {
        font-size: 1.1rem;
    }

    .articles__article-img {
        max-height: 60px;
    }
}

@media screen and (max-width: 490px) {
    .footer__img {
        max-width: 140px;
    }

    .footer__item-social-icon {
        max-height: 20px;
    }

    .footer__col {
        margin-bottom: 0.5rem;
    }

    .footer__about-address, .footer__about-address-2, .footer__about-website, .footer__about-phone-number, .footer__about-span, .footer__paragraph-1, .footer__paragraph-2, .main__paragraph {
        font-size: 0.9rem;
    }
}





@media screen and (max-width: 1000px) {
    .main__right-image {
        --max-w: 300px;
    }
}

@media screen and (max-width: 992px) {
    .footer__item-social-icon {
        max-height: 23px;
    }

    .footer {
        padding-bottom: 0;
    }


    .footer__col:last-child {
        margin-left: 0;
    }

    .footer__contact-us {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }


    .footer__contact-us-title {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
        color: var(--text-color);
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .footer__contact-us-address,
    .footer__contact-us-address-2,
    .footer__contact-us-website,
    .footer__contact-us-phone-number,
    .footer__contact-us-span {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
        color: var(--text-color);
        font-size: 1rem;
        text-align: center;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    .footer__contact-us-phone-number {
        margin: 0;
    }

    .footer__enmad-col {
        flex: auto;
    }

    .footer__enmad img {
        max-height: 200px;
    }



    @media screen and (max-width: 768px) {
        .footer__contact-us-address,
        .footer__contact-us-address-2,
        .footer__contact-us-website,
        .footer__contact-us-phone-number,
        .footer__contact-us-span {
            font-size: 0.9rem;
        }
    }

    .footer__brand {
        margin-bottom: 1rem
    }

    .footer__img {
        max-width: 100%;
        max-height: 160px
    }

    .footer__col {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        -ms-flex-negative: 1;
        flex-shrink: 1;
        -ms-flex-preferred-size: calc(25% - 2rem);
        flex-basis: calc(25% - 2rem);
        margin: 0 1rem
    }

    .footer__paragraph-1, .footer__paragraph-2 {
        font-size: 1.1rem;
        color: var(--text-color);
        line-height: 2.5rem;
        font-weight: 600
    }

    .footer__list {
        width: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column wrap;
        flex-flow: column wrap;
        list-style: none
    }

    .footer__item-socials {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between
    }

    .footer__item-social {
        background: var(--text-color);
        padding: 0.5rem;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        border-radius: 1rem;
        margin: 0 0.4rem
    }

    .footer__item-social-icon {
        width: auto;
        max-height: 25px;
        pointer-events: none;
        fill: var(--footer-bg-color)
    }

    .footer__about {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap
    }

    .footer__about-title {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
        color: var(--text-color);
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 1rem
    }

    .footer__about-address, .footer__about-address-2, .footer__about-website, .footer__about-phone-number, .footer__about-span {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
        color: var(--text-color);
        font-size: 1rem;
        text-align: center;
        margin-bottom: 0.5rem;
        font-weight: 600
    }

    .footer__about-phone-number {
        margin: 0
    }

    .footer__main-author {
        flex: 1 1 100%;
        text-align: center;
        width: 90%;
        max-width: 300px;
        margin: auto;
        background: rgba(255, 255, 255, 0.5);
        padding: 25px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 60px;
        text-decoration: none;
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        color: #212121;
        border-radius: 0.5rem;
        box-shadow: 0 1px 2px rgb(0 0 0 / 15%)
    }

    @media screen and (max-width: 1100px) {
        .main__contents {
            -ms-flex-wrap: wrap;
            flex-wrap: wrap
        }

        .main__contents-col {
            -ms-flex-preferred-size: 33.33%;
            flex-basis: 33.33%;
            -webkit-box-flex: 0;
            -ms-flex-positive: 0;
            flex-grow: 0;
            margin-bottom: 2rem
        }
    }

    @media screen and (min-width:900px) and (max-width:1200px) {
        .footer__main .footer__col:last-child {
            margin: 0
        }

        .footer__main-author {
            max-width: 90%;
            margin-top: 1rem
        }
    }

    @media screen and (max-width: 900px) {
        .header__nav {
            display: none
        }

        .header__brand {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: start;
            -ms-flex-pack: start;
            justify-content: flex-start;
            -webkit-box-flex: 1;
            -ms-flex: 1 1 35px;
            flex: 1 1 35px
        }

        .header__bars {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-flex: 1;
            -ms-flex: 1 1;
            flex: 1 1;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center
        }

        .header .row {
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center
        }

        .header__nav {
            position: absolute;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            min-height: 100vh;
            height: auto;
            top: -100%;
            right: 0;
            left: 0;
            margin-top: 1rem;
            visibility: hidden;
            opacity: 0;
            padding: 2rem 0;
            z-index: 99;
            background-color: rgba(0,0,0,0.5)
        }

            .header__nav.active {
                top: 100%;
                visibility: visible;
                opacity: 1;
                -webkit-transition: opacity 300ms ease-in-out, visibility 150ms ease-in-out, top 300ms ease-in-out;
                -o-transition: opacity 300ms ease-in-out, visibility 150ms ease-in-out, top 300ms ease-in-out;
                transition: opacity 300ms ease-in-out, visibility 150ms ease-in-out, top 300ms ease-in-out
            }

        .header__nav-list {
            width: 100%;
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
            -ms-flex-direction: column;
            flex-direction: column
        }

            .header__nav-list .header__nav-item:last-child {
                margin: 0
            }

        .header__nav-link {
            color: var(--base-color)
        }

        .footer {
            padding: 0
        }

        .header__nav-item {
            padding: 0;
            margin-bottom: 1rem
        }

        .footer__main {
            -ms-flex-wrap: wrap;
            flex-wrap: wrap
        }

        .footer__col {
            -ms-flex-preferred-size: 50%;
            flex-basis: calc(50% - 2rem);
            margin-bottom: 1rem;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center
        }

        .footer__paragraph-1, .footer__paragraph-2 {
            text-align: center
        }
    }

    @media screen and (max-width: 855px) {
    }

    @media screen and (min-width: 768px) {
        .main__boxes .row:nth-child(2) {
            padding: 0 2rem
        }
    }

    @media screen and (max-width: 768px) {
        .main__boxes-box {
            --base-w: 100%;
            --mg-r: 0px;
            --mg-l: 0px
        }

        .header__circle-img {
            height: auto
        }

        .main__boxes .row:nth-child(2) {
            padding: 0px
        }

        .footer__paragraph-1, .footer__paragraph-2 {
            text-align: center;
            font-size: 1rem
        }

        .footer__col {
            flex-basis: calc(100% - 2rem)
        }
    }

    @media screen and (max-width: 586px) {
        .main__contents-column {
            -webkit-box-flex: 1;
            -ms-flex: 1 1 100%;
            flex: 1 1 100%
        }

        .main__contents .main__contents-column:last-of-type {
            -ms-flex-preferred-size: 100%;
            flex-basis: 100%;
            -webkit-box-orient: horizontal;
            -webkit-box-direction: normal;
            -ms-flex-flow: row wrap;
            flex-flow: row wrap
        }

        .main__contents-col {
            -webkit-box-flex: 1;
            -ms-flex: 1 1 50%;
            flex: 1 1 50%
        }

        .main__contents .main__contents-column:nth-child(2), .main__contents .main__contents-column:nth-child(1) {
            display: none
        }
    }

    @media screen and (max-width: 570px) {
        .main__eslipse-image {
            top: 40%
        }
    }

    @media screen and (max-width: 490px) {
        .footer__img {
            max-width: 140px
        }

        .main__eslipse-image {
            top: 25%
        }

        .main__eslipse-2 {
            top: 230px
        }

        .main__boxes-box {
            flex-wrap: wrap;
            height: fit-content
        }

        .main__boxes-box-description {
            border-left: 0;
            padding-top: 2rem;
            font-size: 0.95rem
        }

        .main__boxes-box-title {
            font-size: 1.6rem
        }

        .main__boxes-box-description, .main__boxes-box-title {
            flex-basis: 100%
        }

        .main__eslipse-1 {
            height: 460px
        }

        .footer__item-social-icon {
            max-height: 23px
        }
    }

    @media screen and (max-width: 380px) {
        .main__eslipse-1 {
            height: 515px
        }

        .main__eslipse-image {
            top: 0;
            max-height: 140px
        }

        .main__eslipse-2 {
            top: 43%
        }

        .main__eslipse-image {
            top: -70px;
            max-height: 140px
        }
    }

    @media screen and (max-width: 325px) {
        .main__eslipse-image {
            top: -85px;
            max-height: 140px
        }
    }

    @media screen and (max-width: 300px) {
        .main__eslipse-image {
            top: -115px;
            max-height: 120px
        }
    }
