@font-face {
    font-family: farsi;
    src: url(Fonts/Vazirmatn-VariableFont_wght.ttf);
}
#body{
    background-color: #FBFFF4;
}
.nav-logo-parent{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo{
    width: 8%;
}
.logo img{
    width: 100%;
}
.navbar{
    width: 50%;
    display: flex !important;
    justify-content: space-between !important;
    align-items: start !important;
    flex-wrap: wrap !important;
    direction: rtl !important;
    font-family: farsi;
}
.navbar-nav{
    width: 100% !important;
    margin-top: 4vh;
}
.nav-item{
    width: 100%;
    color: black;
    text-align: center !important;
    transition: 0.5s;
}
.nav-item:hover{
    color: #22A75D;
}

.section-1{
    width: 80%;
    background-image: url("/static/main/Images/Union.png");
    background-size: contain;
    background-position: center;
    height: 70vh;
    background-repeat: no-repeat;
    margin: 5vh auto;
    font-family: farsi;   
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
}
.text-box-section-1 h1{
    margin-top: 0vh;
    color: #1C281A;
}
.text-box-section-1 p{
    width: 80%;
    margin: 8vh auto;
}
.text-box-section-1 a{
    width: 20%;
    margin: 2vh auto;
    height: 50px;
    background-color: #31572C;
    color: aliceblue;
    padding: 1vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: farsi;
    border-radius: 16px;
    transition: 0.4s;
}
.text-box-section-1 a:hover{
    color: aliceblue;
    transform: scale(1.07);
    background-color: #567743;
}
.text-box-section-1 i{
    margin-left: 15%;
}

.card-section{
    width: 80%;
    margin: 2vh auto;
}

.card-parent{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: -16vh;
}

.card-basic{
    width: 20%;
    font-family: farsi;
    text-align: center;
    padding: 2vh;
}
.card-basic h5{
    margin-top:5vh;
}
.card-basic p{
    font-size: 14px;
    color: #6236F5;
}
.card-section .card-parent .card img{
    width: 100%;
    border-radius: 50px !important;
}
.social-box{
    width: 60%;
    margin-left: 20%;
    display: flex;
    justify-content: space-around;
}
.social-box i{
    color: #ACAEB4;
    transition: 0.5s;
}
.social-box i:hover{
    cursor: pointer;
    color: black;
}

.first-row{
    font-family: farsi;
    width: 70%;
    margin: 24vh auto 4vh;
    display: flex;
    justify-content: space-evenly;
}
.first-row a{
    color: #000000;
    text-decoration: none !important;
    transition: 0.3s;
}
.first-row a:hover{
    color: #22A75D;
}
.second-row{
    display: flex;
    justify-content: space-between;
    align-items: center;

}
.footer-logo{
    width: 20%;
    margin-left: 2%;
}
.footer-logo img{
    width:40%;
}
.social-box-footer{
    width: 30%;
    display: flex;
    justify-content: space-evenly;
    font-size: 36px;
}
.social-box-footer a{
    color: #000000;
    transition: 0.3s;
}
.social-box-footer a:hover{
    cursor: pointer;
    color: #000000;
    transform: scale(1.3)
}
.copy-right{
    font-family: farsi;
    text-align: right;
    width: 20%;
    margin-right: 2%;
}







.res-navbar{
    width: 100%;
    display: none;
    align-items: center !important;
    justify-content: space-between;
}
.res-logo{
    width: 40%;
    /* margin-left: -5%; */
}
.res-logo img{
    width: 80%;
}
.res-nav-icon{
    width: 15%;
    margin-right: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.res-nav-icon i{
    width: 40px;
    height: 40px;
    padding: 1vh;
    font-size: 20px;
    border: 2px solid #709759;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.res-nav-items{
    width: 60%;
    height: 100%;
    margin-left: 40%;
    text-align: right;
    position: absolute;
    padding: 2vh;
    top: 0;
    z-index: 10;
    background-image: url("/static/main/Images/20250127_004624.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: none;
}

.res-nav-items a{
    margin-top: 2vh;
    display: block;
    color: #000000;
    text-decoration: none !important;
    font-size: 20px;
    font-family: farsi;
}
.res-nav-items a:hover{
    color: #22A75D;
}

.res-nav-close{
    width: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.res-nav-close i{
    width: 35px;
    height: 35px;
    padding: 2vh;
    font-size: 16px;
    border: 2px solid #709759;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.res-bg-close{
    width: 100%;
    height: 100vh !important;
    z-index: 1;
    background-color: #312f2fbe;
    position: absolute;
    display: none;
}


.res-section-1{
    width: 100%;
    display: none;
}

.res-section-bg{
    width: 100%;
    height: 200px;
    background-image: url("/static/main/Images/Union.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
}

.res-section-text{
    width: 100%;
    padding: 2vh;
    box-sizing: border-box;
    text-align: center;
}

.res-section-text h1{
    font-family: farsi;
    font-size: 22px;
    font-weight: bolder;
}

.res-section-text a{
    width: 25%;
    margin: 3vh auto;
    padding: 1vh;
    border-radius: 12px;
    text-decoration: none !important;
    color: aliceblue;
    background-color: #31572C;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.res-section-text a:hover{
    color: aliceblue;
}
.res-section-text a p{
    font-size: 12px;
    margin: 0;
    font-family: farsi;
}

.res-section-text a i{
    font-size: 16px;
}


.res-second-row{
    display: none;
}
@media screen and (min-width:1200px) and (max-width:1514px){
    .navbar{
        width: 60%;
    }
    .navbar-nav a{
        width: 100% !important;
        padding: 0 !important;
        display: flex !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        /* background-color: rgb(120, 190, 177); */
    }
    .section-1{
        width: 100%;
        padding: 0;
        background-size: contain;
        height:70vh ;
        background-repeat: no-repeat;
        background-position: center;
        display: flex;
        align-items: center;
        /* background-color: #6236F5; */
    }
}
@media screen and (min-width:992px) and (max-width:1200px) and (max-height:1400px){
    .navbar{
        width: 80%;
    }
    .logo{
        width: 10%;
    }
    .navbar-nav a{
        width: 100% !important;
        padding: 0 !important;
        font-size: 16px;
        display: flex !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        /* background-color: rgb(120, 190, 177); */
    }
    .section-1{
        width: 100%;
        padding: 0;
        background-size: contain;
        height:60vh ;
        background-repeat: no-repeat;
        background-position: center;
        display: flex;
        align-items: center;
        /* background-color: #6236F5; */
    }
    .text-box-section-1 p{
        width: 70%;
        margin: 4vh auto;
        direction: rtl;
    }
    .text-box-section-1 a{
        margin: 0 auto 0vh;
    }
    .card-parent{
        width: 100%;
        margin: 4vh auto;
    }
    
    .card-basic{
        width: 25%;
        font-family: farsi;
        text-align: center;
        padding: 2vh;
    }
    .card-basic h5{
        margin-top: 1vh;
    }
    .card-basic p{
        font-size: 12px;
        color: #6236F5;
    }
    .card-basic img{
        width: 90%;
    }
    
    footer{
        padding: 2vh;
    }
    .first-row{
        width: 100%;
        margin: 10vh 0 5vh 0;
    }
    .second-row{
        display: none;
    }
    .res-second-row{
        display: flex;
        flex-wrap: wrap;
    }
    .social-box-footer{
        width: 50%;
        margin-left: 25%;
        font-size: 30px;
    }
    .social-box-footer i:hover{
        transform: unset;
    }
    .footer-logo{
        width: 30%;
        margin: 4vh 0 0 0;
    }
    .footer-logo img{
        width: 50%;
    }
    .copy-right{
        width: 70%;
        margin: 4vh 0 0 0;
        align-content: end;
    }
    .copy-right p{
        font-size: 14px;
        margin: 0;
    }
    .copy-right span{
        color: #8f9197;
    }

}
@media screen and (min-width:768px) and (max-width:992px){
    .navbar{
        width: 80%;
    }
    .logo{
        width: 10%;
    }
    .navbar-nav a{
        width: 100% !important;
        padding: 0 !important;
        font-size: 14px;
        display: flex !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        /* background-color: rgb(120, 190, 177); */
    }
    .section-1{
        width: 100%;
        padding: 0;
        background-size: contain;
        height:60vh ;
        background-repeat: no-repeat;
        background-position: center;
        display: flex;
        align-items: center;
        /* background-color: #6236F5; */
    }
    .text-box-section-1 h1{
        /* margin: 12vh auto 0; */
        font-size: 28px;
    }
    .text-box-section-1 p{
        width: 70%;
        margin: 4vh auto;
        direction: rtl;
    }
    .text-box-section-1 a{
        margin: 0 auto 0vh;
    }
    .card-parent{
        width: 100%;
        margin: 4vh auto;
    }
    
    .card-basic{
        width: 26%;
        font-family: farsi;
        text-align: center;
        padding: 2vh;
    }
    .card-basic h5{
        margin-top: 1vh;
    }
    .card-basic p{
        font-size: 12px;
        color: #6236F5;
    }
    .card-basic img{
        width: 90%;
    }
    
    footer{
        padding: 2vh;
    }
    .first-row{
        width: 100%;
        margin: 10vh 0 5vh 0;
    }
    .second-row{
        display: none;
    }
    .res-second-row{
        display: flex;
        flex-wrap: wrap;
    }
    .social-box-footer{
        width: 50%;
        margin-left: 25%;
        font-size: 30px;
    }
    .social-box-footer i:hover{
        transform: unset;
    }
    .footer-logo{
        width: 30%;
        margin: 4vh 0 0 0;
    }
    .footer-logo img{
        width: 50%;
    }
    .copy-right{
        width: 70%;
        margin: 4vh 0 0 0;
        align-content: end;
    }
    .copy-right p{
        font-size: 14px;
        margin: 0;
    }
    .copy-right span{
        color: #8f9197;
    }



}
@media screen and (min-width:576px) and (max-width:768px){
    .nav-logo-parent{
        display: none;
    }
    .section-1{
        display: none;
    }

    .res-navbar{
        display: flex;
    }
    
    .res-section-1{
        display: block;
    }
    .res-logo{
        width: 20%;
    }

    .card-section{
        width: 100%;
        margin: 0;
    }
    .card-parent{
        width: 100%;
        margin-top: -6vh;
    }
    
    .card-basic{
        width: 26%;
        font-family: farsi;
        text-align: center;
        padding: 2vh;
    }
    .card-basic h5{
        margin-top: 1vh;
    }
    .card-basic p{
        font-size: 12px;
        color: #6236F5;
    }
    .card-basic img{
        width: 90%;
    }
    
    footer{
        padding: 2vh;
    }
    .first-row{
        width: 100%;
        margin: 10vh 0 5vh 0;
    }
    .second-row{
        display: none;
    }
    .res-second-row{
        display: flex;
        flex-wrap: wrap;
    }
    .social-box-footer{
        width: 50%;
        margin-left: 25%;
        font-size: 30px;
    }
    .social-box-footer i:hover{
        transform: unset;
    }
    .footer-logo{
        width: 30%;
        margin: 4vh 0 0 0;
    }
    .footer-logo img{
        width: 50%;
    }
    .copy-right{
        width: 70%;
        margin: 4vh 0 0 0;
        align-content: end;
    }
    .copy-right p{
        font-size: 14px;
        margin: 0;
    }
    .copy-right span{
        color: #8f9197;
    }


}

@media screen and (max-width:576px) {
    .nav-logo-parent{
        display: none;
    }
    .section-1{
        display: none;
    }

    .res-navbar{
        display: flex;
    }
    
    .res-section-1{
        display: block;
    }

    .card-section{
        width: 100%;
        margin: 0;
    }
    
    .card-parent{
        width: 100%;
        margin-top: -6vh;
    }
    
    .card-basic{
        width: 45%;
        font-family: farsi;
        text-align: center;
        padding: 2vh;
    }
    .card-basic h5{
        margin-top: 1vh;
    }
    .card-basic p{
        font-size: 12px;
        color: #6236F5;
    }
    .card-basic img{
        width: 90%;
    }
















    footer{
        padding: 2vh;
    }
    .first-row{
        width: 100%;
        margin: 10vh 0 5vh 0;
    }
    .second-row{
        display: none;
    }
    .res-second-row{
        display: flex;
        flex-wrap: wrap;
    }
    .social-box-footer{
        width: 50%;
        margin-left: 25%;
        font-size: 30px;
    }
    .social-box-footer i:hover{
        transform: unset;
    }
    .footer-logo{
        width: 30%;
        margin: 4vh 0 0 0;
    }
    .footer-logo img{
        width: 50%;
    }
    .copy-right{
        width: 70%;
        margin: 4vh 0 0 0;
        align-content: end;
    }
    .copy-right p{
        font-size: 14px;
        margin: 0;
    }
    .copy-right span{
        color: #8f9197;
    }

}