@font-face {
    font-family: farsi;
    src: url(Fonts/Vazirmatn-VariableFont_wght.ttf);
}
#body{
    background-color: #FBFFF4;
    font-family: farsi;
}
.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;
    /* background-color: lightcoral; */
    font-family: farsi;
}
.navbar-nav{
    width: 100% !important;
    margin-top: 4vh;
    /* background-color: chocolate; */
}
.nav-item{
    width: 100%;
    color: black;
    text-align: center !important;
    transition: 0.5s;
}
.nav-item:hover{
    color: #22A75D;
}
.section-1{
    width: 70%;
    margin: 12vh auto;
    background-image: url("/static/main/Images/Frame\ 1000004346.png");
    background-size: cover;
    background-position:center;
    height: 80vh;
    background-repeat: no-repeat;
}
.section-1-text-box{
    width: 45%;
    font-family: farsi;
    float: right;
    direction: rtl;
    text-align: center;  
    padding: 2vh; 
}
.section-1-text-box h2{
    margin-top: 8vh;
}
.section-1-text-box p{
    text-align: right !important;
    width: 90%;
    margin: 4vh 10%;
    line-height: 2.5;
}
.section-1-text-box img{
    width: 60%;
    margin-left: 20%;
}
.section-1-text-box span{
    color: #6EB410;
}


.card-parent{
    width: 70%;
    margin: 4vh auto;
    padding: 2vh;
    /* background-color: #22A75D; */
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;

}
.card-parent h4{
    width: 45%;
    text-align: right;
    font-family: farsi;
    margin-top: 6vh;
    direction: rtl;
}
.btn-parent{
    font-family: farsi;
    margin-top: 6vh;
    margin-left: 10%;
}
.btn-parent i{
    transform: rotate(-30deg);
    padding: 1vh;
    border-radius: 50%;
    color: #B9FF66;
    background-color: #000000;
}
.card-1{
    width: 400px;
    background-image: url("/static/main/Images/Group1.png");
    background-size: cover;
    background-position:100% 100%;
    height: 210px;
    background-repeat: no-repeat;
    transition: 0.5s;
}
.card-2{
    width: 400px;
    background-image: url("/static/main/Images/Group188181.png");
    background-size: cover;
    background-position:100% 100%;
    height: 210px;
    background-repeat: no-repeat;
    transition: 0.5s;
}
.card-2 .btn-parent{
    margin-top: 10vh;
}
.card-2 .btn-parent i{
    transform: rotate(-30deg);
    padding: 1vh;
    border-radius: 50%;
    color: #D8EE9D;
    background-color: #000000;
}
.card-3{
    margin-top: 4vh;
    width: 420px;
    background-image: url("/static/main/Images/Frame1616161.png");
    background-size: cover;
    background-position:100% 100%;
    height: 215px;
    background-repeat: no-repeat;
    transition: 0.5s;
}
.card-3 h4{
    width: 40%;
    text-align: right;
    font-family: farsi;
    margin-top: 6vh;
    color: aliceblue;
}
.card-3 .btn-parent a{
    color: #ffffff;
}
.card-3 .btn-parent i{
    transform: rotate(-30deg);
    padding: 1vh;
    border-radius: 50%;
    color: black;
    background-color: #ffffff;
}

.card-4{
    margin-top: 4vh;
    width: 400px;
    background-image: url("/static/main/Images/Frame131311.png");
    background-size: cover;
    background-position:100% 100%;
    height: 210px;
    background-repeat: no-repeat;
    transition: 0.5s;
}
.card-5{
    margin-top: 4vh;
    width: 400px;
    background-image: url("/static/main/Images/Group188181.png");
    background-size: cover;
    background-position:100% 100%;
    height: 210px;
    background-repeat: no-repeat;
    transition: 0.5s;
}
.card-5 .btn-parent i{
    transform: rotate(-30deg);
    padding: 1vh;
    border-radius: 50%;
    color: #D8EE9D;
    background-color: #000000;
}
.card-6{
    margin-top: 4vh;
    width: 400px;
    background-image: url("/static/main/Images/Frame121212.png");
    background-size: cover;
    background-position:100% 100%;
    height: 210px;
    background-repeat: no-repeat;
    transition: 0.5s;
}
.card-6 h4{
    width: 40%;
    text-align: right;
    font-family: farsi;
    margin-top: 6vh;
    color: aliceblue;
}
.card-6 .btn-parent a{
    color: #ffffff;
}
.card-6 .btn-parent i{
    transform: rotate(-30deg);
    padding: 1vh;
    border-radius: 50%;
    color: black;
    background-color: #ffffff;
}
.card-7{
    margin-top: 4vh;
    width: 400px;
    background-image: url("/static/main/Images/Group1.png");
    background-size: cover;
    background-position:100% 100%;
    height: 210px;
    background-repeat: no-repeat;
    transition: 0.5s;
}
.card-8{
    margin-top: 4vh;
    width: 400px;
    background-image: url("/static/main/Images/Group188181.png");
    background-size: cover;
    background-position:100% 100%;
    height: 210px;
    background-repeat: no-repeat;
    transition: 0.5s;
}
.card-8 .btn-parent i{
    transform: rotate(-30deg);
    padding: 1vh;
    border-radius: 50%;
    color: #D8EE9D;
    background-color: #000000;
}
.card-1:hover , .card-2:hover , .card-3:hover , .card-4:hover , .card-5:hover , .card-6:hover , .card-7:hover , .card-8:hover{
    cursor: pointer;
    transform: scale(1.07);
}

.section-3{
    width: 100%;
    margin: 12vh auto;
    background-image: url("/static/main/Images/Frame31313131.png");
    background-size: cover;
    background-position:50% 50%;
    height: 60vh;
    background-repeat: no-repeat;
}
.section-3-text-box{
    width: 40%;
    margin: 0vh 15%;
    font-family: farsi;
    direction: rtl;
    text-align: center;  
    padding: 2vh; 
}
.section-3-text-box h2{
    margin-top: 8vh;
    line-height: 2;
}
.section-3-text-box span{
    color: #6EB410;
}
.section-3-btn-parent{
    display: flex;
    justify-content: space-around;
}
.section-3-btn-parent img{
    width: 20%;
}
.section-3-btn-parent a{
    width: 30%;
    margin-top: 8vh;
    color: #ffffff;
    background-color: #312F2F;
    border-radius: 32px;
    transition: 0.4s;
}
.section-3-btn-parent a:hover{
    transform: scale(1.07);
    background-color: #000000;
    color: #ffffff;

}
.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;
    margin-bottom: 4vh;

}
.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;
    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-second-row{
    display: none;
}

.res-section-1{
    display: none;
    width: 100%;
    padding: 2vh;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}


#Our-proj-res-sec3-img{
    display: none;
}

@media screen and (min-width:1200px) and (max-width:1514px) and (max-height:1400px){
    .navbar{
        width: 65%;
        padding: 0 !important;
        margin: 0;
    }
    .navbar-nav{
        display: flex !important;
        justify-content: space-evenly !important;
        align-items: center !important;
    }
    .navbar-nav a{
        width: 100% !important;
        padding: 0 !important;
        /* margin: 0.5vh; */
        font-size: 16px;
        display: flex !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        /* background-color: rgb(120, 190, 177); */
    }
    .logo{
        width: 12%;
    }
    .section-1{
        width: 95%;
        margin: 6vh 5%  0 0!important;
        height: 650px;
        /* background-color: #312F2F; */
    }
    .section-1-text-box{
        width: 50%;
        font-family: farsi;
        float: right;
        direction: rtl;
        text-align: center;  
        padding: 2vh; 
        height: fit-content;
    }
    .section-1-text-box h2{
        margin-top: 12vh;
        margin-right: 8%;
        text-align: right;
        font-size: 24px;
    }
    .section-1-text-box p{
        text-align: right !important;
        width: 90%;
        margin: 2vh 5%;
        line-height: 2.5;
        font-size: 14px;
    }
    .section-2 .card-parent{
        width: 80%;
        /* background-color: #22A75D; */
        flex-wrap: wrap;
        /* display: block; */
    }
    .card-1 .btn-parent{
        margin-top:3vh;
       }
       .card-1 h4{
        margin-top: 3vh;
       }
      
       .card-2 h4{
        width: 55%;
        padding: 1vh;
        margin-top: 3vh;
       }
       .card-2 .btn-parent{
        margin-top:3vh;
       }

       .card-3 .btn-parent{
        margin-top:3vh;
       }
       .card-3 h4{
        /* width: 55%; */
        /* padding: 1vh; */
        margin-top: 3vh;
       }
    
       .card-4 .btn-parent{
        margin-top:3vh;
       }
       .card-4 h4{
        /* width: 55%; */
        /* padding: 1vh; */
        margin-top: 3vh;
       }
       .card-5 .btn-parent{
        margin-top:3vh;
       }
       .card-5 h4{
        /* width: 55%; */
        /* padding: 1vh; */
        margin-top: 3vh;
       }
       .card-6 h4{
        width: 50%;
        padding: 1vh;
        margin-top: 3vh;

       }
       .card-6 .btn-parent{
        margin-top:2vh;
       }
       .card-7 .btn-parent{
        margin-top:4vh;
       }
       .card-7 h4{
        /* width: 55%; */
        /* padding: 1vh; */
        margin-top: 4vh;
       }
       .card-8 .btn-parent{
        margin-top:4vh;
       }
       .card-8 h4{
        /* width: 55%; */
        /* padding: 1vh; */
        margin-top: 4vh;
       }
       .section-3{
        height:auto;
       }
       .section-3-text-box{
        width: 40%;
        margin: 0 10%;
        padding: 2vh; 
    }
    .section-3-text-box h2{
        margin-top: 0vh;
        line-height: 2;
    }
    .section-3-btn-parent a{
        width: 50%;
        margin-top: 4vh;
        padding: 1vh;
        color: #ffffff;
        background-color: #312F2F;
        border-radius: 16px;
        transition: 0.4s;
    }
    .section-3-btn-parent a:hover{
        transform: scale(1.07);
        background-color: #000000;
        color: #ffffff;
    }
}

@media screen and (min-width:992px) and (max-width:1200px) and (max-height:1400px){
    .navbar{
        width: 65%;
        padding: 0 !important;
        margin: 0;
    }
    .navbar-nav{
        display: flex !important;
        justify-content: space-evenly !important;
        align-items: center !important;
    }
    .navbar-nav a{
        width: 100% !important;
        padding: 0 !important;
        /* margin: 0.5vh; */
        font-size: 16px;
        display: flex !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        /* background-color: rgb(120, 190, 177); */
    }
    .logo{
        width: 12%;
    }
    .section-1{
        width: 90%;
        margin: 6vh 5%  0 0!important;
        height: 500px;
        /* background-color: #312F2F; */
    }
    .section-1-text-box{
        width: 50%;
        font-family: farsi;
        float: right;
        direction: rtl;
        text-align: center;  
        padding: 2vh; 
        height: fit-content;
    }
    .section-1-text-box h2{
        margin-top: 5vh;
        margin-right: 8%;
        text-align: right;
        font-size: 24px;
    }
    .section-1-text-box p{
        text-align: right !important;
        width: 90%;
        margin: 0vh 5%;
        line-height: 2.5;
        font-size: 14px;
    }
    .section-2 .card-parent{
        width: 90%;
        /* background-color: #22A75D; */
        flex-wrap: wrap;
        /* display: block; */
    }
    .card-1 .btn-parent{
        margin-top:3vh;
       }
       .card-1 h4{
        margin-top: 3vh;
       }
      
       .card-2 h4{
        width: 55%;
        padding: 1vh;
        margin-top: 3vh;
       }
       .card-2 .btn-parent{
        margin-top:3vh;
       }

       .card-3 .btn-parent{
        margin-top:3vh;
       }
       .card-3 h4{
        /* width: 55%; */
        /* padding: 1vh; */
        margin-top: 3vh;
       }
    
       .card-4 .btn-parent{
        margin-top:3vh;
       }
       .card-4 h4{
        /* width: 55%; */
        /* padding: 1vh; */
        margin-top: 3vh;
       }
       .card-5 .btn-parent{
        margin-top:3vh;
       }
       .card-5 h4{
        /* width: 55%; */
        /* padding: 1vh; */
        margin-top: 3vh;
       }
       .card-6 h4{
        width: 50%;
        padding: 1vh;
        margin-top: 3vh;

       }
       .card-6 .btn-parent{
        margin-top:2vh;
       }
       .card-7 .btn-parent{
        margin-top:4vh;
       }
       .card-7 h4{
        /* width: 55%; */
        /* padding: 1vh; */
        margin-top: 4vh;
       }
       .card-8 .btn-parent{
        margin-top:4vh;
       }
       .card-8 h4{
        /* width: 55%; */
        /* padding: 1vh; */
        margin-top: 4vh;
       }
       .section-3{
        width: 100%;
        margin: 5vh auto;
        background-image: url("/static/main/Images/Frame31313131.png");
        background-size: cover;
        background-position:50% 50%;
        height: auto;
        background-repeat: no-repeat;
    
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    #Our-proj-res-sec3-img{
        display: block;
        width: 100%;
    }
    .section-3-text-box{
        width: 90%;
        margin: 0vh auto;
        padding: 2vh; 
    }
    .section-3-text-box h2{
        margin-top: 2vh;
        line-height: 2;
    }
    .section-3-text-box span{
        color: #6EB410;
    }
    .section-3-btn-parent{
        display: flex;
        justify-content: center;
    }
    .section-3-btn-parent img{
        width: 20%;
    }
    .section-3-btn-parent a{
        width: 30%;
        margin-top: 4vh;
        padding: 2vh;
        color: #ffffff;
        background-color: #312F2F;
        border-radius: 16px;
        transition: 0.4s;
    }
    .section-3-btn-parent a:hover{
        transform: scale(1.07);
        background-color: #000000;
        color: #ffffff;
    }
    
    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) and (max-height:1400px){
    .navbar{
        width: 75%;
        padding: 0 !important;
        margin: 0;
    }
    .navbar-nav{
        display: flex !important;
        justify-content: space-evenly !important;
        align-items: center !important;
    }
    .navbar-nav a{
        width: 100% !important;
        padding: 0 !important;
        /* margin: 0.5vh; */
        font-size: 14px;
        display: flex !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        /* background-color: rgb(120, 190, 177); */
    }
    .logo{
        width: 12%;
    }
    .section-1{
        display: none;
    }
    .res-section-1{
        display: flex;
        margin-top: 4vh;
    }
    .section-1-text-box{
        width: 90%;
        font-family: farsi;
        background-color: #F3F3F3;
        border-radius: 30px;
        float: right;
        direction: rtl;
        text-align: center;  
        padding: 2vh; 
    }
    .section-1-text-box h2{
        margin-top: 5vh;
        font-size: 24px;
    }
    .section-1-text-box p{
        text-align: right !important;
        width: 90%;
        margin: 4vh 5%;
        line-height: 2.5;
    }
    .section-1-text-box img{
        width: 60%;
        margin-left: 0%;
    }

    .section-1-text-box #res-secton-img{
        width: 100%;
    }
    .card-1 .btn-parent{
        margin-top:4vh;
       }
       .card-1 h4{
        margin-top: 4vh;
       }
       .card-2{
        margin-top: 4vh;
       }
       .card-2 h4{
        width: 55%;
        padding: 1vh;
        margin-top: 4vh;
       }
       .card-2 .btn-parent{
        margin-top:4vh;
       }

       .card-3 .btn-parent{
        margin-top:4vh;
       }
       .card-3 h4{
        /* width: 55%; */
        /* padding: 1vh; */
        margin-top: 4vh;
       }
    
       .card-4 .btn-parent{
        margin-top:4vh;
       }
       .card-4 h4{
        /* width: 55%; */
        /* padding: 1vh; */
        margin-top: 4vh;
       }
       .card-5 .btn-parent{
        margin-top:4vh;
       }
       .card-5 h4{
        /* width: 55%; */
        /* padding: 1vh; */
        margin-top: 4vh;
       }
       .card-6 h4{
        width: 50%;
        padding: 1vh;
        margin-top: 4vh;

       }
       .card-6 .btn-parent{
        margin-top:2vh;
       }
       .card-7 .btn-parent{
        margin-top:4vh;
       }
       .card-7 h4{
        /* width: 55%; */
        /* padding: 1vh; */
        margin-top: 4vh;
       }
       .card-8 .btn-parent{
        margin-top:4vh;
       }
       .card-8 h4{
        /* width: 55%; */
        /* padding: 1vh; */
        margin-top: 4vh;
       }
       .section-3{
        width: 100%;
        margin: 5vh auto;
        background-image: url("/static/main/Images/Frame31313131.png");
        background-size: cover;
        background-position:50% 50%;
        height: auto;
        background-repeat: no-repeat;
    
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    #Our-proj-res-sec3-img{
        display: block;
        width: 100%;
    }
    .section-3-text-box{
        width: 90%;
        margin: 0vh auto;
        padding: 2vh; 
    }
    .section-3-text-box h2{
        margin-top: 2vh;
        line-height: 2;
    }
    .section-3-text-box span{
        color: #6EB410;
    }
    .section-3-btn-parent{
        display: flex;
        justify-content: center;
    }
    .section-3-btn-parent img{
        width: 20%;
    }
    .section-3-btn-parent a{
        width: 50%;
        margin-top: 4vh;
        padding: 2vh;
        color: #ffffff;
        background-color: #312F2F;
        border-radius: 28px;
        transition: 0.4s;
    }
    .section-3-btn-parent a:hover{
        transform: scale(1.07);
        background-color: #000000;
        color: #ffffff;
    }
    
    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) and (max-height:1200px){
    .nav-logo-parent{
        display: none;
    }
    .res-navbar{
        display: flex;
    }
    .res-logo{
        width: 30%;
    }
    .section-1{
        display: none;
    }

    .res-section-1{
        display: flex;
    }

    .section-1-text-box{
        width: 90%;
        font-family: farsi;
        background-color: #F3F3F3;
        border-radius: 30px;
        float: right;
        direction: rtl;
        text-align: center;  
        padding: 2vh; 
    }
    .section-1-text-box h2{
        margin-top: 5vh;
        font-size: 24px;
    }
    .section-1-text-box p{
        text-align: right !important;
        width: 90%;
        margin: 4vh 5%;
        line-height: 2.5;
    }
    .section-1-text-box img{
        width: 60%;
        margin-left: 0%;
    }

    .section-1-text-box #res-secton-img{
        width: 100%;
    }
    
    .card-parent{
        width: 90%;
        margin: 4vh auto;
        padding: 2vh;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .card-parent h4{
        width: 45%;
        text-align: right;
        font-family: farsi;
        margin-top: 6vh;
    }

    .btn-parent{
        font-family: farsi;
        margin-top: 6vh;
        margin-left: 10%;
    }
    .btn-parent i{
        transform: rotate(-30deg);
        padding: 1vh;
        border-radius: 50%;
        color: #B9FF66;
        background-color: #000000;
    }

   .card-1 .btn-parent{
    margin-top:4vh;
   }
   .card-1 h4{
    margin-top: 4vh;
   }
   .card-2{
    margin-top: 4vh;
   }
   .card-2 h4{
    width: 50%;
    padding: 1vh;
   }
   .card-2 .btn-parent{
    margin-top:4vh;
   }
   .card-3 .btn-parent{
    margin-top:4vh;
   }

   .card-4 .btn-parent{
    margin-top:4vh;
   }
   .card-5 .btn-parent{
    margin-top:4vh;
   }
   .card-6 h4{
    width: 50%;
    padding: 1vh;
   }
   .card-6 .btn-parent{
    margin-top:4vh;
   }
   .section-3{
    width: 100%;
    margin: 5vh auto;
    background-image: url("/static/main/Images/Frame31313131.png");
    background-size: cover;
    background-position:50% 50%;
    height: auto;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#Our-proj-res-sec3-img{
    display: block;
    width: 100%;
}
.section-3-text-box{
    width: 90%;
    margin: 0vh auto;
    padding: 2vh; 
}
.section-3-text-box h2{
    margin-top: 2vh;
    line-height: 2;
}
.section-3-text-box span{
    color: #6EB410;
}
.section-3-btn-parent{
    display: flex;
    justify-content: center;
}
.section-3-btn-parent img{
    width: 20%;
}
.section-3-btn-parent a{
    width: 50%;
    margin-top: 4vh;
    padding: 2vh;
    color: #ffffff;
    background-color: #312F2F;
    border-radius: 28px;
    transition: 0.4s;
}
.section-3-btn-parent a:hover{
    transform: scale(1.07);
    background-color: #000000;
    color: #ffffff;
}

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;
    }
    .res-navbar{
        display: flex;
    }

    .section-1{
        display: none;
    }

    .res-section-1{
        display: flex;
    }

    .section-1-text-box{
        width: 90%;
        font-family: farsi;
        background-color: #F3F3F3;
        border-radius: 30px;
        float: right;
        direction: rtl;
        text-align: center;  
        padding: 2vh; 
    }
    .section-1-text-box h2{
        margin-top: 5vh;
        font-size: 24px;
    }
    .section-1-text-box p{
        text-align: right !important;
        width: 90%;
        margin: 4vh 10%;
        line-height: 2.5;
    }
    .section-1-text-box img{
        width: 60%;
        margin-left: 20%;
    }

    .section-1-text-box #res-secton-img{
        width: 100%;
    }




    .card-parent{
        width: 90%;
        margin: 4vh auto;
        padding: 2vh;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .card-parent h4{
        width: 45%;
        text-align: right;
        font-family: farsi;
        margin-top: 6vh;
    }

    .btn-parent{
        font-family: farsi;
        margin-top: 6vh;
        margin-left: 10%;
    }
    .btn-parent i{
        transform: rotate(-30deg);
        padding: 1vh;
        border-radius: 50%;
        color: #B9FF66;
        background-color: #000000;
    }

    .card-1{
        width: 100%;
        background-image: url("/static/main/Images/Our-proj-res1.png");
        background-size: cover;
        background-position: right;
        height: 400px;
        background-repeat: no-repeat;
        transition: 0.5s;
        border-radius: 45px 0 0 45px;
        padding: 2vh;
        direction: rtl;
        display: flex;
        align-items: end;
    }
    .card-1 h4{
        width: 50%;
        text-align: right;
        font-family: farsi;
    }
    .card-1 .btn-parent{
        width: 50%;
        margin: 0;
        direction: ltr;
    }

    .card-2{
        width: 100%;
        background-image: url("/static/main/Images/Our-proj-res2.png");
        background-size: cover;
        background-position: right;
        height: 400px;
        background-repeat: no-repeat;
        transition: 0.5s;
        border-radius: 45px 0 0 45px;
        padding: 2vh;
        direction: rtl;
        display: flex;
        align-items: end;
        margin-top: 4vh;
    }
    .card-2 h4{
        width: 50%;
        text-align: right;
        font-family: farsi;
    }
    .card-2 .btn-parent{
        width: 50%;
        margin: 0;
        direction: ltr;
    }

    .card-3{
        width: 100%;
        background-image: url("/static/main/Images/Our-proj-res3.png");
        background-size: cover;
        background-position: right;
        height: 400px;
        background-repeat: no-repeat;
        transition: 0.5s;
        border-radius: 45px 0 0 45px;
        padding: 2vh;
        direction: rtl;
        display: flex;
        align-items: end;
        margin-top: 4vh;
    }
    .card-3 h4{
        width: 50%;
        text-align: right;
        font-family: farsi;
    }
    .card-3 .btn-parent{
        width: 50%;
        margin: 0;
        direction: ltr;
    }

    .card-4{
        width: 100%;
        background-image: url("/static/main/Images/Our-proj-res4.png");
        background-size: cover;
        background-position: right;
        height: 400px;
        background-repeat: no-repeat;
        transition: 0.5s;
        border-radius: 45px 0 0 45px;
        padding: 2vh;
        direction: rtl;
        display: flex;
        align-items: end;
        margin-top: 4vh;
    }
    .card-4 h4{
        width: 50%;
        text-align: right;
        font-family: farsi;
    }
    .card-4 .btn-parent{
        width: 50%;
        margin: 0;
        direction: ltr;
    }

    .card-5{
        width: 100%;
        background-image: url("/static/main/Images/Our-proj-res5.png");
        background-size: cover;
        background-position: right;
        height: 400px;
        background-repeat: no-repeat;
        transition: 0.5s;
        border-radius: 45px 0 0 45px;
        padding: 2vh;
        direction: rtl;
        display: flex;
        align-items: end;
        margin-top: 4vh;
    }
    .card-5 h4{
        width: 50%;
        text-align: right;
        font-family: farsi;
    }
    .card-5 .btn-parent{
        width: 50%;
        margin: 0;
        direction: ltr;
    }

    .card-6{
        width: 100%;
        background-image: url("/static/main/Images/Our-proj-res6.png");
        background-size: cover;
        background-position: right;
        height: 400px;
        background-repeat: no-repeat;
        transition: 0.5s;
        border-radius: 45px 0 0 45px;
        padding: 2vh;
        direction: rtl;
        display: flex;
        align-items: end;
        margin-top: 4vh;
    }
    .card-6 h4{
        width: 50%;
        text-align: right;
        font-family: farsi;
    }
    .card-6 .btn-parent{
        width: 50%;
        margin: 0;
        direction: ltr;
    }

    .card-7 , .card-8{
        display: none;
    }


    .section-3{
        width: 100%;
        margin: 5vh auto;
        background-image: url("/static/main/Images/Frame31313131.png");
        background-size: cover;
        background-position:50% 50%;
        height: auto;
        background-repeat: no-repeat;

        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    #Our-proj-res-sec3-img{
        display: block;
        width: 100%;
    }
    .section-3-text-box{
        width: 90%;
        margin: 0vh auto;
        padding: 2vh; 
    }
    .section-3-text-box h2{
        margin-top: 2vh;
        line-height: 2;
    }
    .section-3-text-box span{
        color: #6EB410;
    }
    .section-3-btn-parent{
        display: flex;
        justify-content: center;
    }
    .section-3-btn-parent img{
        width: 20%;
    }
    .section-3-btn-parent a{
        width: 50%;
        margin-top: 4vh;
        padding: 2vh;
        color: #ffffff;
        background-color: #312F2F;
        border-radius: 28px;
        transition: 0.4s;
    }
    .section-3-btn-parent a:hover{
        transform: scale(1.07);
        background-color: #000000;
        color: #ffffff;
    }



    .res-last-section{
        display: block;
    }



    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;
    }

}
