*{
    margin:0;
    padding:0;
    font-family: shabnam;
}
@font-face {
    font-family: shabnam;
    src: url(assets/fonts/shabnam-font-v5.0.1/Shabnam.woff) format(woff);
    src: url(assets/fonts/shabnam-font-v5.0.1/Farsi-Digits/Shabnam-FD.woff) format(woff);
}
.active {
    color: #60078a;
    font-weight: bold;
}
/*================header================*/

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: rtl;
    padding-right: 5%;
    padding-left: 5%;
    background: none;
}
header .logo img {
    width: 120px;
    height: auto;
}
header nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 18px;
    border-radius: 22px;
    position: relative;
    box-shadow: 0px 1px 3px 0px;
}
header nav ul::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #b3b3b3;
    opacity: 0.3;
    filter: blur(15px);
    z-index: -1;
}
header nav ul li {
    list-style: none;
    position: relative;
}
header nav ul li::after {
    content: "";
    position: absolute;
    bottom: -10px;
    width: 0;
    height: 2.5px;
    border-radius: 10px;
    transition: 0.2s ease-in-out all;
    background-image: linear-gradient(45deg,#771da1,rgb(255, 255, 255));
    animation: header-li-unhover 0.25s ease-in-out;
}
header nav ul li:hover::after {
    animation: header-li-hover 0.25s ease-in-out;
    animation-fill-mode: forwards;
}
@keyframes header-li-hover {
    0% {
        width: 0;
        right: 0;
    }
    100% {
        width: 100%;
        right: 0;
    }
}
@keyframes header-li-unhover {
    0% {
        width: 100%;
        left: 0;
    }
    100% {
        width: 0;
        left: 0;
    }
}
header nav ul li:hover a {
    color: #60078a;
}
header nav ul li a {
    font-size: 16px;
    text-decoration: none;
    color: rgb(121, 121, 121);
    transition: 0.25s ease-in-out all;
}


.link-sing-up button {
    padding: 10px;
    border: 2px solid rgb(0, 140, 255);
    border-radius: 12px;
    background: none;
    position: relative;
    overflow: hidden;
}
.link-sing-up button::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    width: 0;
    height: 100%;
    border-radius: 12px;
    background-color: rgb(0, 140, 255);
    animation: button-animation-link-unhover 0.2s ease-in-out;
}
.link-sing-up button:hover::after {
    animation: button-animation-link-hover 0.2s ease-in-out forwards;
}
.link-sing-up button:hover a{
    color: white;
}
@keyframes button-animation-link-hover {
    0% {width: 0; right: 0;}
    100% {width: 100%; right: 0;}
}
@keyframes button-animation-link-unhover {
    0% {width: 100%; left: 0;}
    100% {width: 0; left: 0;}
}
.link-sing-up button a {
    color: rgb(0, 140, 255);
    text-decoration: none;
    font-size: 17px;
    font-weight: bold;
    transition: 0.2s ease-in-out;
}
.navigation-responsiv800px {
    display: none;
    position: fixed;
    z-index: 100;
    background-color: white;
}
@media screen and (max-width:800px) {
    header nav {
        display: none;
    }
    header .navigation-responsiv800px {
        display: block;
        bottom: 0;
        width: 100%;
        left: 50%;
        transform: translate(-50%);
    }
    header .navigation-responsiv800px .nav-responsiv-menu {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding-top: 20px;
        padding-bottom: 20px;
        background-color: white;
        box-shadow: 10px 10px 10px 4px;
    }
    header .navigation-responsiv800px .nav-responsiv-menu li {
        list-style: none;
        position: relative;
    }
    header .navigation-responsiv800px .nav-responsiv-menu li a {
        font-size: 20px;
        color: rgb(145, 145, 145);
    }
    .active-responsiv::after{
        content: "";
        position: absolute;
        top: -11px;
        border-radius: 10px;
        width: 200%;
        height: 5px;
        background-color: rgb(0, 140, 255);
        left: 50%;
        transform: translate(-50%);
    } 
}
/*================header================*/


/*================main================*/

/*============hero section============*/

.hero-section {
    padding-top: 30px;
    padding-bottom: 40px;
    margin-right: 15%;
    margin-left: 15%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    position: relative;
    margin-bottom: 500px;
}
.hero-section::after {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    width: 200px;
    height: 100px;
    background-color: rgb(178, 90, 236);
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(50px);
    animation: hero-bg-1 3.5s linear infinite;
}
@keyframes hero-bg-1 {
    0%{
        width: 200px;
        height: 100px;
    }
    50% {
        width: 300px;
        right: 10px;
        height: 200px;
    }
    75% {
        width: 300px;
        height: 100px;
        top: 10px;
    }
    100% {
        width: 200px;
        height: 100px;
        top: 0px;
        right: 0px;
    }
}
.hero-section::before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 400px;
    height: 300px;
    background-color: rgb(178, 90, 236);
    border-radius: 50%;
    opacity: 0.4;
    filter: blur(50px);
    animation: hero-bg-2 3.5s linear infinite;
}
@keyframes hero-bg-2 {
    0%{
        width: 400px;
        height: 300px;
    }
    50% {
        width: 500px;
        left: 10px;
        height: 300px;
    }
    75% {
        width: 500px;
        height: 400px;
        bottom: 10px;
    }
    100% {
        width: 400px;
        height: 300px;
        bottom: 0px;
        left: 0px;
    }
}
.hero-img img {
    width: 340px;
    height: auto;
}
.hero-text {
    direction: rtl;
}
.hero-text h1 {
    margin-bottom: 20px;
    font-size: 27px;
}
.hero-p {
    direction: rtl;
    position: relative;
    width: 300px;
}
.hero-p::after {
    content: "";
    position: absolute;
    border-radius: 10px;
    top: 0;
    right: -10px;
    height: 100%;
    width: 4px;
    background-color: rgb(0, 140, 255);
}
.hero-p p{
    font-size: 18px;
    text-align: justify;
}
.hero-p a {
    text-decoration: none;
    color: #60078a;
}
.hero-text button {
    border: 2px solid rgb(0, 140, 255);
    border-radius: 12px;
    background: none;
    padding: 12px;
    padding-left: 30px;
    padding-right: 30px;
    font-size: 18px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}
.hero-text button::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    width: 0;
    height: 100%;
    border-radius: 12px;
    background-color: rgb(0, 140, 255);
    animation: button-animation-hero-unhover 0.2s ease-in-out;
}
.hero-text button:hover::after {
    animation: button-animation-hero-hover 0.2s ease-in-out forwards;
}
@keyframes button-animation-hero-hover {
    0% {width: 0; right: 0;}
    100% {width: 100%; right: 0;}
}
@keyframes button-animation-hero-unhover {
    0% {width: 100%; left: 0;}
    100% {width: 0; left: 0;}
}
.hero-text button:hover a {
    color: #ffffff;
}
.hero-text button a {
    text-decoration: none;
    color: rgb(0, 140, 255);
    transition: 0.2s ease-in-out;

}
@media screen and (max-width:800px) {
    .hero-section {
        display: grid;
        margin-right: 0;
        margin-left: 0;
        gap: 40px;
    }
    .hero-text {
        margin-right: 20px;
}
}

@media screen and (max-width:510px){
    .hero-section::before {
        width: 250px;
        height: 200px;
    }
    @keyframes hero-bg-2 {
    0%{
        width: 250px;
        height: 200px;
    }
    50% {
        width: 320px;
        left: 10px;
        height: 200px;
    }
    75% {
        width: 320px;
        height: 280px;
        bottom: 10px;
    }
    100% {
        width: 250px;
        height: 200px;
        bottom: 0px;
        left: 0px;
    }
}
    .hero-section::after {
        width: 150px;
        height: 100px;
    }
    @keyframes hero-bg-1 {
    0%{
        width: 150px;
        height: 100px;
    }
    50% {
        width: 250px;
        right: 10px;
        height: 200px;
    }
    75% {
        width: 250px;
        height: 200px;
        top: 10px;
    }
    100% {
        width: 150px;
        height: 100px;
        top: 0px;
        right: 0px;
    }
}
}
/*============hero section============*/

/*================main================*/