/* hero style */
.fiximage {
    display: flex;
}
.fix-img-wrap img{
    width: 100%;
    object-fit: cover;
}
.fix-img-wrap .side-img {
    height: 100%;
}
.fix-img-wrap .main-img {
    height: 100%;

}
.fix-img-wrap {
    width:100%;
    overflow: hidden;
}
.side-img {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    animation-fill-mode: forwards;
    animation-name: fan;
    animation-timing-function: linear;
}
.side-img1 {
    /*transform: translate(-200px , 50px) rotate(-30deg) scale(1.2);*/
    transform: translate(-90px , -10px) rotate(-30deg) scale(0.8);
    animation-duration: 3s;
    animation-delay:0.5s;
}
.side-img2 {
    /*transform: translate(200px , 50px) rotate(30deg) scale(1.2);*/
    transform: translate(90px , -10px) rotate(30deg) scale(0.8);
    animation-duration: 3s;
    animation-delay:0.5s;
}
.side-img3 {
    /*transform: translate(-350px , -250px) rotate(-30deg) scale(1.5);*/
    transform: translate(-250px , -250px) rotate(-50deg) scale(1.2);
    animation-duration: 3s;
    animation-delay:1.5s;
    z-index: -2;
}
.side-img4 {
    transform: translate(250px , -250px) rotate(50deg) scale(1.2);
    animation-duration: 3s;
    animation-delay:1.5s;
    z-index: -2;

}
.other-img {
    z-index: 2;
    position: absolute;
    bottom: -20px;
    max-width: 31%;
    right: 34%;
}
@keyframes fan {
    0% {
        opacity: 0;

    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translate(0,0) rotate(0) scale(1);
        opacity: 1;
    }
}
.hero-back {
    width: 100%;
    object-fit: cover;
}
.section-hero{
	position:relative;
    overflow: hidden;
    max-width: 100%;
    background-color: #fff;
    z-index: 0;
}
.link-hero {
    background-image: url("../img/zarrin-logo.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 75px;
    height: 45px;
    position: fixed;
    top: 80%;
    left: 0;
    z-index: 5;
    transition: 0.4s ease;
    background-color: #fff;
    background-position: center;
    border-radius: 0 10px 10px 0;
    padding-right: 8px;
    background-origin: content-box;
}
/* category */
.section-categories {
    padding: 40px 0 ;
}

.section-categories .title-site {
    margin-bottom: 15px;
}
.item-category {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    padding: 10px 5px;
    position: relative;
    background: #FBFBFB;
    border-radius: 12px;
    transition:  .5s ease-in-out;
    margin-bottom: 45px;
    margin-top: 20px;
}
.item-category::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    background: #006747;
    opacity: 0.4;
    filter: blur(16.5792px);
    border-radius: 11.703px;
    z-index: -1;
    left: 2px;
    bottom: -7px;
    right: -4px;
    transition: 0.4s ease-in-out;
}
.item-category:hover::before {
    width: 93%;
    height: 93%;
}
.item-category img{
    max-height: 56px;
    width: auto !important;
    transition: .4s;
}
.set{
    position:absolute ;
    width:100%;
    height:100%;
    top:0;
    right:0;
    pointer-events:none;
    opacity: 0;
    transition: 0.4s ease;
    user-select: none;
}
.set div{
    position:absolute ;
    display:block ;
    top: -15%;

}
.item-category:hover .set{
    opacity: 1;
}
.set div:nth-child(1){
    left:5%;
    animation:animate 20s linear infinite ;
    animation-delay:-5s;
}
.set div:nth-child(2){
    right:2%;
    animation:animate 15s ease-in-out infinite ;
    animation-delay:-2s;
}
.set div:nth-child(3){
    right:0%;
    animation:animate 20s linear infinite ;
    animation-delay:0s;
}
.set div:nth-child(4){
    left:0%;
    animation:animate 15s ease infinite ;
    animation-delay:-4s;
}
.set div:nth-child(5){
    right:10%;
    animation:animate 18s linear infinite ;
    animation-delay:-6s;
}
.set div:nth-child(6){
    left:20%;
    animation:animate 15s linear infinite ;
    animation-delay:-7s;
}
.cat-image {
    min-height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 10px;
    width: 100%;
}
.item-category .img-category {
    z-index: 0;
    position:relative ;
}
.item-category .img-hover{
    position: absolute;
     opacity: 0;
    bottom: 0;
    transition:  .6s ease;
    clip-path: polygon(7% 0px, 50% 50%, 50% 50%, 10% 89%, 50% 50%, 50% 50%, 87% 90%, 50% 50%, 50% 50%, 89% 7%, 88% 8%, 50% 50%);
}
.item-category:hover .img-hover{
    opacity: 1;
    clip-path: polygon(20% 0%, 0 0, 0 50%, 0% 80%, 0 100%, 48% 100%, 100% 100%, 100% 80%, 100% 51%, 100% 0, 80% 0%, 51% 0);
}
.item-category .title {
    color: #797979;
    font-size: 15px;
    transition: 0.4s ease;
    white-space: nowrap;
}
.item-category .en-title {
    color: #A8A8A8;
    font-size: 16px;
    line-height: 25px;
    font-family: var(--bold_font);
    transition: 0.4s ease;
}
.item-category:hover .title{
    color: #fff;
}
.item-category:hover .en-title{
    color: var(--color2);
}
.item-category:hover {
    background: var(--color1);
    box-shadow: 4px 5px 11px rgba(0, 103, 71, 0.4);
}
.swiper-container {
    position: relative;
}
.swiper-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    color: var(--color1);
    transition: 0.4s ease;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 2px;
}
.swiper-category .swiper-nav {
    transform: translateY(-100%);
}
.swiper-nav.swiper-nav-prev {
    right: -20px;
}
.swiper-nav.swiper-nav-next {
    left: -20px;
}
.swiper-nav:hover {
    color: var(--color2);
}
.swiper-nav.swiper-nav-prev.swiper-button-disabled {
    opacity: 0.5;
    cursor: auto;
}
/* content-slider */

.slider-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 15px;
    background: #fff;
    justify-content: center;
    margin-top: -70px;
    border-radius: 15px;
}
.slider-wrap .row {
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-carousel.owl-carousel {
    max-width: 540px;
}



.section-slider-content {
    position: relative;
    display: flex;
    flex-direction: column;
}
.content-image-wrap{
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-width: 100%;
}
.content-image {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
#path-back {
    position: absolute;
    left: 20px;
    z-index: -1;
    bottom: -14px;
}
.content-image img {
    width: 100%;
}
.content-wrap .title {
    font-size: 28px;
    color: var(--color1);
    line-height: 1.5;
}
.content-wrap .subtitle {
    font-size: 18px;
    color: var(--color2);
}
.content-wrap .desc.editor-content p {
    color: #777777;
}
.swiper-navigation{
    width: 136px;
    display: flex;
    justify-content: space-between;
    font-size: 23px;
    margin-top: 30px;
    height: 23px;
}
.swiper-navigation .slider-nav{
    color: var(--color1);
    transition: 0.4s ease;
    line-height: 1 ;
    cursor: pointer;
}
.swiper-navigation .slider-nav:hover {
    color: var(--color3);
}
.slider-nav.swiper-button-disabled {
    cursor: auto;
    opacity: 0.5;
}
.swiper-pagination {
    position: absolute;
    display: flex;
    justify-content: center;
    margin: 0 22px;
    height: 23px;
    align-items: center;
    width: 93px !important;
    bottom: 0 !important;
    left: unset !important;
    right: 0 !important;
}
.swiper-pagination .swiper-pagination-bullet {
    border-radius: 100%;
    background: rgba(128, 176, 158, 0.29);
    margin: 0 8px;
    transition: 0.4s ease;
    opacity: 1;
}
.swiper-pagination-bullet:hover,.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--color1) !important;
}
/*content*/
.section-content {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    overflow: hidden;
}

.section-content .about-content-wrap {
    text-align: right;
    padding:  15px ;
    z-index: 1;
    position: relative;
    background: #fff;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-top: -60px;
    border-radius: 15px;
}

.about-content-wrap .title {
    font-size: 28px;
    color: var(--color1);
}
.about-content-wrap .subtitle {
    font-size: 18px;
    color: var(--color2);
}
.about-content-wrap .editor-content p {
    color: #777;
}
.image-about {
    margin-bottom: -22px;
    z-index: -1;
    width: 111%;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    background-position: top;
    min-height: 380px;
}



@media screen and (min-width: 576px) {
    .hero-text .first {
        font-size: 50px;
        line-height: 1.5;
    }
    .hero-text .middle {
        font-size: 35px;
    }
    .hero-text .last {
        font-size: 50px;
    }
    .scroll-down {
        right: 60%;
        top: 60%;
        box-shadow: none;
    }
    .pattern-wrap {
        min-height: unset;
        height: 100%;
        width: 103vw;
        right: 54%;
    }
    .image-about {
        min-height: 450px;
    }
}
@media screen and (min-width: 768px) {

    .pattern-wrap {
        right: 54%;
        top: -13%;
        width: 83%;
    }
    .hero-text {
        left: 10vw;
        top: 30%;
    }
    .scroll-down {
        top: 45%;
    }
    .hero-text .first {
        font-size: 56px;
        line-height: 1.5;
    }
    .hero-text .middle {
        font-size: 40px;
    }
    .hero-text .last{
        font-size: 56px;
    }
    .content-wrap .title {
        font-size: 28px;
        margin-bottom: 10px;
    }
    .content-wrap .subtitle {
        font-size: 20px;
    }


    .slider-carousel.owl-carousel {
        max-width: 720px;
        padding: 0 15px ;
    }
    .image-about {
        min-height: 600px;
    }

}


@media screen and (min-width: 992px){
    .content-image-wrap{
        max-width: 79%;
        position: absolute;
    }
    .image-about-wrap {
        position: absolute;
        height: 100%;
        width: 60%;
    }
    .slider-wrap {
        margin-top: 40px;
        min-height: 330px;
        margin-bottom: 75px;
        border-radius: 0;
    }
    .content-image {
        clip-path: url(#mask_1);
        margin-left: 32px;
    }
    .swiper-blog{
        padding-right: 12px;
    }

    .slider-carousel.owl-carousel {
        max-width: 435px;
    }

    .pattern-wrap {
        right: 48%;
        top: -41%;
    }
    .hero-text {
        left: 10vw;
        top: 30%;
    }
    .section-slider-content {
        flex-direction: row;
    }
    .section-content {
        flex-direction: row;
        justify-content: flex-end;
    }
    .image-about {
        z-index: -1;
        width: 111%;
        min-height: unset;
    }
    .item-category .title {
        font-size: 16px;
    }

    .hero-text {
        left: 10vw;
    }
    .hero-text .first{
        font-size: 75px;
    }
    .hero-text .middle {
        font-size: 50px;
        margin-left: 104px;
        letter-spacing: 2px;
        margin-right: 10px;
    }
    .hero-text .last {
        font-size: 75px;
        margin-left: 150px;
    }
    .link-hero {
        width: 92px;
        height: 50px;
        top: 90%;
    }
    .scroll-down {
        top: 45%;
        width: 66px;
        height: 66px;
        font-size: 22px;
        right: 53%;
    }
    .scroll-down:before  {
        top: -18%;
        left: 96%;
        width: 450px;
        height: 120px;
    }
    .scroll-down:hover i {
        animation: shakeY 1s infinite;
    }
    .item-category {
        padding: 24px 24px 16px;
    }
    .cat-image  {
        min-height: 92px;
    }
    .item-category img{
        max-height: 84px;
    }
    .section-categories .title-site {
        margin-bottom: 20px;
    }
    .section-categories .title-heading {
        margin-bottom: 20px;
    }
    .section-categories {
        padding: 50px 0 70px;
    }
    .pattern-wrap {
        animation: move 15s both linear infinite , fadeInTopLeft 2s ease-in-out 0.3s;
    }
    .section-content .about-content-wrap {
        clip-path: url(#mask_2);
        padding: 20px 0 20px 70px;
        margin-top: 0;
        min-height: 480px;
        border-radius: 0;
    }

}@media screen and (min-width: 1200px) {
    .content-image-wrap{
        max-width: 50%;
        height: 100%;
        overflow: unset;
    }
    .content-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .content-image {
        width: 100%;
        height: 104%;
    }
    .slider-wrap {
        margin: 0;
        min-height: 450px;
        padding: 0;
    }
    .scroll-down {
        top: 46%;
    }
    .pattern-wrap {
         width: 72%;
         right: 53%;
         top: -41%;
     }
    .content-wrap.title {
        font-size: 32px;
        line-height: 50px;
        margin-bottom: 15px;
    }
    .content-wrap .subtitle {
        font-size: 22px;
        line-height: 33px;
        margin-bottom: 15px;
    }
    .content-wrap .desc.editor-content p {
        font-size: 17px;
        line-height: 42px;
    }
    .about-content-wrap .title {
        font-size: 28px;
        line-height: 50px;
        margin-bottom: 16px;
    }
    .about-content-wrap .subtitle {
        font-size: 22px;
        line-height: 33px;
        color: var(--color2);
        margin-bottom: 16px;
    }

    .slider-carousel .owl-nav {
        margin-top: 35px;
    }
    .section-categories {
        padding: 92px 0 120px;
    }

    .section-categories .title-site {
        margin-bottom: 40px;
    }
    .swiper-nav.swiper-nav-prev {
        right: -45px;
    }
    .swiper-nav.swiper-nav-next {
        left: -40px;
    }
    .section-hero{
        height: calc((var(--vh, 1vh) * 100) - 40px);
    }
}
@media screen and (min-width: 1300px){

    .scroll-down {
        top: 48%;
        right: 58%;
    }
    .slider-carousel.owl-carousel {
        max-width: 525px;
    }

    .pattern-wrap {
        width: 1000px;
        right: 50vw;
        top: -16%;
    }
    .hero-text {
        right: 41%;
        top: 33%;
        left: unset;
    }
    .hero-text .first{
        font-size: 120px;
        color: var(--color2);
        display: block;
        line-height: 110px;
    }
    .hero-text .middle {
        font-family: var(--light_font);
        margin-left: 104px;
        font-size: 89px;
    }
    .hero-text .last{
        font-size: 120px;
        font-weight: bold;
        letter-spacing: -4px;
    }
    .about-content-wrap .button {
        margin-top: 35px;
    }

}
@media screen and (min-width: 1600px) and (max-width: 1625px){
.fix-img-wrap .main-img {
    object-position: 0 -19px;
}
}
@media screen and (min-width: 1625px) and (max-width: 1650px){
.fix-img-wrap .main-img {
    object-position: 0 -27px;
}
}
@media screen and (min-width: 1650px) and (max-width: 1700px){
.fix-img-wrap .main-img {
    object-position: 0 -36px;
}
}
@media screen and (min-width: 1700px){
.fix-img-wrap .main-img {
    object-position: 0 0;
}
.fix-img-wrap .side-img4 {
    object-position: 0 0;
}
.fix-img-wrap .side-img3 {
    object-position: 0 0;
}
.fix-img-wrap .side-img2 {
    object-position: 0 0;
}
.fix-img-wrap .side-img1 {
    object-position: 0 0;
}
.fix-img-wrap .other-img {
    bottom: -100px;
}
.section-hero {
    padding-bottom: 70px;
}
.section-hero {
    overflow: visible;
}
}
@media screen and (min-width: 1600px){

    .other-img {
        bottom: -40px;
    }
    .section-hero{
        padding-bottom: 40px;
    }
}
@media screen and (max-width: 992px){
    #path-back {
        display: none;
    }
    .leaf {
        max-width: 150px;
    }
}
@media screen and (max-width: 768px){
    .leaf {
        max-width: 100px;
    }

}
@media screen and (max-width: 576px){
    .leaf {
        max-width: 60px;
    }

    .swiper-container {
        padding: 0 15px;
    }
    .swiper-nav.swiper-nav-next {
        left: -10px;
    }
    .swiper-nav.swiper-nav-prev {
        right: -10px;
    }
	.content-wrap .title{
		font-size: 24px;
	}
}