@font-face {
    font-family: "Vazir";
    src: url("../fonts/Vazir.eot");
    /* IE9 Compat Modes */
    src: url("../fonts/Vazir.eot?#iefix") format("embedded-opentype"), url("../fonts/Vazir.woff2") format("woff2"), url("../fonts/Vazir.woff") format("woff"), url("../fonts/Vazir.ttf") format("truetype");
    /* Safari, Android, iOS */
}

body {
    direction: rtl;
    text-align: right !important;
    font-family: "Vazir" !important;
}


/* ------------------------------------------------
                      navbar
---------------------------------------------------*/


/* mobile first حالت*/

#mainNav {
    background-color: #007fff;
}


/* humburger menu */

#mainNav .navbar-toggler {
    font-size: 80%;
    padding: 0.75rem;
    color: #161616;
    border: 1px solid #161616;
    background-color: #fff;
}


/* brand */

#mainNav .navbar-brand {
    color: #fff;
    font-weight: 700;
    padding: 0.9rem 0;
}

#mainNav .nav-link {
    padding: 10px;
    color: #fff;
}

#mainNav .nav-link:hover {
    color: #161616;
}


/* حالت لارج به بالا */

@media (min-width: 992px) {
    /* navbar */
    #mainNav {
        padding-top: 0;
        padding-bottom: 0;
        border-bottom: none;
        background-color: transparent;
        transition: background-color 0.3s ease-in-out;
    }
    /* brand */
    #mainNav .navbar-brand {
        padding: 0.5rem 0;
        color: #fff;
    }
    /* items */
    #mainNav .nav-link {
        padding: 2rem 1.5rem;
        color: #fff;
    }
    #mainNav .nav-link:hover {
        color: #161616;
    }
    /* بعد از اسکرول کردن و ظاهر شدن نووبار */
    /* navbar */
    #mainNav.navbar-shrink {
        background-color: #007fff;
    }
    /* brand */
    #mainNav.navbar-shrink .navbar-brand {
        color: #fff;
        font-weight: bold;
    }
    /* items */
    #mainNav.navbar-shrink .nav-link {
        color: #fff;
        padding: 1.5rem 1.5rem 1.25rem;
        border-bottom: 0.25rem solid transparent;
    }
    #mainNav.navbar-shrink .nav-link:hover {
        color: #161616;
    }
    /* active */
    #mainNav.navbar-shrink .nav-link.active {
        color: #161616;
        border-bottom: 0.25rem solid #161616;
    }
}


/* --------------------------------------------------------------
                     login button
----------------------------------------------------------------*/

.login {
    position: absolute;
    background: rgba(0, 0, 0, 1.2);
    width: 100%;
    height: 100%;
    z-index: 10;
    display: none;
    justify-content: center;
    align-items: center;
}

.login-box {
    background: #007fff;
    border-radius: 5px;
    width: 450px;
    border: 1px solid rgba(0, 0, 0, .1);
    padding: 20px;
}

.modal-title {
    color: white;
}

#close-login-box {
    font-size: 1.8em;
    color: whitesmoke;
    transition: all 0.3s ease;
}

#close-login-box:hover {
    transform: scale(1.3);
}

.login-box__footer .btn {
    border: solid 1px white;
    outline: none;
    padding: 12px 38px;
    color: whitesmoke;
    cursor: pointer;
    margin-right: 0;
    margin-left: 10px;
    background-color: green;
    border-radius: 50px;
    box-shadow: 0 12px 16px 0 rgba(0, 0, 0, .4);
    transition: all 0.5s ease;
}

.login-box__footer .btn:hover {
    background: #ff6600;
    color: black;
    transform: scale(1.2);
}

.login-box__footer a {
    font-size: .9em;
    color: rgba(0, 0, 0, .9);
    border-bottom: 1px solid black;
}

.login-box__footer a:hover {
    border: none;
    text-decoration: none;
}


/* ----------------------------------------------------------
                          header
------------------------------------------------------------*/

header {
    height: 100vh;
    background: linear-gradient( to bottom, rgba(22, 22, 22, 0.3) 0%, rgba(22, 22, 22, 0.7) 75%, #161616 100%), url("../img/istockphoto-1164612248-1024x1024.jpg") center center/cover;
}

#banner {
    overflow: hidden;
}

#banner-heading {
    letter-spacing: 0.8rem;
    animation-name: animBaner;
    animation-duration: 2s;
    color: white;
}

#banner-par {
    animation-name: animBaner;
    animation-duration: 2s;
    animation-delay: 0.5s;
    animation-fill-mode: backwards;
    line-height: 1.6;
    color: #fff;
}

.text-header {
    color: #ff6600;
}

@keyframes animBaner {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

#arrowDown {
    animation: animDown 3s infinite;
    color: #ff6600;
}

@keyframes animDown {
    0%,
    20%,
    50%,
    80%,
    100% {
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -moz-transform: translateY(-30px);
        -ms-transform: translateY(-30px);
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }
    60% {
        -moz-transform: translateY(-15px);
        -ms-transform: translateY(-15px);
        -webkit-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}


/* ------------------------------------------------------
                  About Section
--------------------------------------------------------*/

#about {
    padding-top: 10rem;
    padding-bottom: 1rem;
    background: #bebebe;
}

.text-about {
    color: black;
}

.underline {
    width: 350px;
    border: 2px solid #007fff;
    margin: auto
}

.fas {
    color: #ff6600;
}

.text-dark1 {
    color: black;
}


/* -----------------------------------------------------
                  Projects Section
------------------------------------------------------*/


/*------------  Featured Project Row -----------------*/

#projects {
    padding: 6rem 0;
    overflow: hidden;
}

@media (min-width: 992px) {
    #projects .featured-text {
        padding-right: 2rem;
        border-right: 0.5rem solid black;
    }
}

.Featured-image img {
    border-radius: 10px;
}

.text-featured {
    color: #ff6600;
}


/* ----------------------------------------------------register-btn */

#register-btn a {
    color: whitesmoke;
    text-decoration: none;
}

#register-btn a:hover {
    color: black;
    text-decoration: none;
}

#register-btn {
    border: 2px solid whitesmoke;
    transition: color 0.3s;
    background-color: #007fff;
    color: whitesmoke;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

#register-btn:hover {
    color: black;
    transform: scale(1.1);
}

#register-btn:before {
    content: "";
    position: absolute;
    top: -10px;
    left: -20px;
    width: 20%;
    height: 0%;
    border-radius: 100%;
    background-color: #ff6600;
    transition-property: width, height, border-radius;
    transition-duration: 0.6s;
    z-index: -1;
}

#register-btn:hover:before {
    border-radius: 0;
    width: 200%;
    height: 200%;
}


/* انیمیشن عکس و نوشته */

.fromRight {
    animation-name: fromRight;
    animation-duration: 2s;
}

@keyframes fromRight {
    0% {
        transform: translateX(40px);
        opacity: 0;
    }
    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

.fromLeft {
    animation-name: fromLeft;
    animation-duration: 2s;
}

@keyframes fromLeft {
    0% {
        transform: translateX(-120px);
        opacity: 0;
    }
    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}


/* ------------------------------------------------------
                 product boxs and title
--------------------------------------------------------*/

.light-bg {
    background-color: #bebebe;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}


/* cards */

.inner {
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.inner img {
    transition: all 1.5s ease;
}

.inner:hover img {
    transform: scale(1.5);
}

.card-product {
    box-shadow: 0px 9px 32px 0px rgba(0, 0, 0, 0.8);
    background: #007fff;
    border-radius: 10px;
}

.card-product a:hover {
    text-decoration: none;
}

.card-title1 {
    color: #100303;
}

.btn-product {
    background-color: #ff6600;
    border-radius: 5px;
    color: #fff;
    box-shadow: 0px 9px 32px 0px rgba(0, 0, 0, 0.8);
}


/* -----------------------------------------
           newsletters
-------------------------------------------*/

.my-newsletters {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-newsletters {
    margin-top: 15px;
    border-radius: 10px;
    box-shadow: 0px 9px 32px 0px rgba(0, 0, 0, 0.2);
}

.newsletters {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 15px;
    margin: 10px;
}

.section-title-newsletters {
    text-align: right;
}

.form-inline .btn {
    text-align: center;
    box-shadow: 0 12px 16px 0 rgba(0, 0, 0, .4);
}

.form-inline .btn a {
    color: #100303;
    text-decoration: none;
}

.btn__newsletters {
    background-color: #ff6600;
    border-radius: 5px;
    box-shadow: 0 12px 16px 0 rgba(0, 0, 0, .4);
    position: relative;
    transition: all 0.5s;
}

.btn__newsletters:hover {
    transform: scale(1.1);
}

.btn__newsletters::before {
    content: "";
    height: 10px;
    width: 10px;
    position: absolute;
    top: 0;
    right: 0;
    border: 3px solid white;
    border-color: white white transparent transparent;
    transition: all 0.3s;
}

.btn__newsletters::after {
    content: "";
    height: 10px;
    width: 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    border: 3px solid white;
    border-color: transparent transparent white white;
    transition: all 0.3s;
}

.btn__newsletters:hover::before,
.btn__newsletters:hover::after {
    width: 100%;
    height: 100%;
}


/*------------------------------------------
                  footer
-------------------------------------------*/

.footer {
    display: flex;
    background-color: #3c3d41;
    color: #e8e3e3;
    padding: 50px;
    text-align: right;
    box-shadow: 0px 9px 32px 0px rgba(0, 0, 0, 0.9);
}

.footer li {
    margin-bottom: 10px;
    transition: all .2s ease;
}

.social-icons a {
    background-color: #fff;
    box-shadow: 0px 0px 21px 0px rgba(0, 0, 0, 0.04);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    color: black;
    margin: 0 0.3rem;
    font-size: 25px;
    transition: all 0.2s ease;
}

.social-icons a:hover {
    text-decoration: none;
    color: #ff6600;
}

.fas1 {
    color: black;
}

.footer-img img {
    border-radius: 10px;
}