@font-face {
    font-family: farsi;
    src: url(Fonts/Vazirmatn-VariableFont_wght.ttf);
}
#body{
    background-color: #FBFFF4;
    font-family: farsi !important;
}
.nav-logo-parent{
    display: flex;
    justify-content: space-between;
    align-items: center !important;
    /* align-items: star; */
}
.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;
}


.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;
}

.section-1{
    background-image: url("/static/main/Images/Frame 1000004343@2x.png");
    background-size: cover;
    background-position: 50% 50%;
    height: 120vh;
    background-repeat: no-repeat;
    display: flex;
    justify-content: left;
    align-items: start;
}
.text-box{
    width: 40%;
    margin-left: 10%;
    margin-top: 12vh;
    font-family: farsi;
    text-align: center;
}
.text-box span{
    color: #22a75d;
}
.text-box p{
    margin-top: 10vh;
}
.section-2{
    display: flex;
    justify-content: space-evenly;
    align-items: center;

}
.section-2 img{
    width: 30%;
}
.section-2-text-box{
    width: 40%;
    font-family: farsi;
    direction: rtl;
    text-align: right;
}
.section-2-text-box h3{
    width: 50%;
    padding-bottom: 4vh;
    border-bottom: 3px solid #22a75d;
}
.section-2-text-box p{
    width: 75%;
    line-height: 2.2;
    margin-top: 4vh;
    color: #000000;
    font-weight: 200;
}

.section-3{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 4vh;


}
.section-3 img{
    width: 30%;
}
.section-3-text-box{
    width: 40%;
    font-family: farsi;
    direction: rtl;
    text-align: right;
}
.section-3-text-box h3{
    width: 50%;
    padding-bottom: 4vh;
    border-bottom: 3px solid #22a75d;
}
.section-3-text-box p{
    width: 75%;
    line-height: 2.2;
    margin-top: 4vh;
    color: #000000;
    font-weight: 200;
}

.section-4{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 4vh;

}
.section-4 img{
    width: 30%;
}
.section-4-text-box{
    width: 40%;
    font-family: farsi;
    direction: rtl;
    text-align: right;
}
.section-4-text-box h3{
    width: 50%;
    padding-bottom: 4vh;
    border-bottom: 3px solid #22a75d;
}
.section-4-text-box p{
    width: 75%;
    line-height: 2.2;
    margin-top: 4vh;
    color: #000000;
    font-weight: 200;
}
.section-5{
    margin-top: 8vh;
}
.section-5-title h1{
    font-family: farsi;
    text-align: center;
}
.section-5-title .bottom-img{
    width: 20%;
    margin: 2vh 40%;
    height: fit-content;
}
.section-5 .carousel-item .row{
    /* width: 100% !important; */
    display: flex !important;
    justify-content: space-evenly !important;
    align-items: center !important;
    padding: 10vh 2vh 10vh 2vh;
}
.section-5 .carousel-item .row img{
    width: 15% !important;
}  
.section-5 .carousel-item .row .mid-teammate{
    margin-top: 24vh;
    transform: scale(1.6);
}

.section-5 .carousel-control-prev,
.section-5 .carousel-control-next {
    width: 60px;
    height: 60px;
    background-color: #ADC178 !important;
    border-radius: 50% !important;
    position: absolute; /* Ensure buttons stay positioned */
    top: 50%; /* Center vertically */
} 
.section-5 .carousel-control-prev{
    margin-left: 5%;
}
.section-5 .carousel-control-next{
     margin-right: 5%;
}
.prev , .next{
    font-size: 24px;
}




.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-section-2{
    display: none;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 4vh;
}
.res-section-2 img{
    width: 30%;
}

#see-more-btn{
    width: 50%;
    padding: 0.5vh 1vh 0.5vh 1vh;
    display: none;
    align-items: center;
    justify-content: space-evenly;
    text-decoration: none;
    color: #22A75D;
    border: 1px solid #22A75D;
    border-radius: 15px;
    font-size: 14px;
}
#see-more-btn i{
    text-shadow: 2px 1px 3px #777980;
}

.res-carousel{
    display: none;
}
@media screen and (min-width:1200px) and (max-width:1514px){
    .logo{
        width: 8%;
    }
    .navbar{
        width: 60%;
    }
    .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: 18px; */
        display: flex !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        /* background-color: rgb(120, 190, 177); */
    }
    .section-1{
        height: 110vh;
    }
    .section-2-text-box{
        width: 50%;
    }
    .section-2-text-box h3{
        width: 100%;
        padding-bottom: 1vh;
        border-bottom: unset;
        font-size: 22px;
    }
    .section-3-text-box{
        width: 50%;
    }
    .section-3-text-box h3{
        width: 100%;
        padding-bottom: 1vh;
        border-bottom: unset;
        font-size: 22px;
    }
    .section-4-text-box{
        width: 50%;
    }
    .section-4-text-box h3{
        width: 100%;
        padding-bottom: 1vh;
        border-bottom: unset;
        font-size: 22px;
    }
    .section-5 .carousel-control-prev,
    .section-5 .carousel-control-next {
        width: 50px;
        height: 50px;
    } 

}
@media screen and (min-width:992px) and (max-width:1200px) and (max-height:1400px){
    .logo{
        width: 8%;
    }
    .navbar{
        width: 70%;
    }
    .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); */
    }
    .section-1{
        background-size: contain;
        height: 110vh;
        align-items: center;
        
        margin:-12vh auto 0 0;
         /* background-color: blue; */
    }
    .text-box{
        width: 50%;
        margin-left: 5%;
        margin-top: -16vh;
    }
    .text-box h2{
        font-size: 28px;
    }
    .section-2{
        margin-top: -16vh;
    }
    .section-2-text-box{
        width: 50%;
    }
    .section-2-text-box h3{
        width: 100%;
        padding-bottom: 1vh;
        border-bottom: unset;
        font-size: 20px;
    }
    .section-3-text-box{
        width: 50%;
    }
    .section-3-text-box h3{
        width: 100%;
        padding-bottom: 1vh;
        border-bottom: unset;
        font-size: 20px;
    }
    .section-4-text-box{
        width: 50%;
    }
    .section-4-text-box h3{
        width: 100%;
        padding-bottom: 1vh;
        border-bottom: unset;
        font-size: 20px;
    }
    .section-5 .carousel-item .row img{
        width: 20% !important;
    } 
    .section-5 .carousel-control-prev,
    .section-5 .carousel-control-next {
        width: 40px;
        height: 40px;
    } 

}
@media screen and (min-width:768px) and (max-width:992px) and (max-height:1400px){
    .logo{
        width: 12%;
    }
    .navbar{
        width: 80%;
    }
    .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); */
    }
    .section-1{
        background-size: contain;
        height: 110vh;
        align-items: center;
        margin:-16vh auto 0 0;

        /* background-color: blue; */
    }
    .text-box{
        width: 50%;
        margin-left: 5%;
        margin-top: -16vh;
    }
    .text-box h2{
        font-size: 28px;
    }
    .text-box p{
        font-size: 14px;
        margin-top: 4vh;
    }
    .section-2{
        margin:-24vh auto 0 0;

    }
    .section-2-text-box{
        width: 50%;
    }
    .section-2-text-box h3{
        width: 100%;
        padding-bottom: 1vh;
        border-bottom: unset;
        font-size: 18px;
    }
    .section-3-text-box{
        width: 50%;
    }
    .section-3-text-box h3{
        width: 100%;
        padding-bottom: 1vh;
        border-bottom: unset;
        font-size: 18px;
    }
    .section-4-text-box{
        width: 50%;
    }
    .section-4-text-box h3{
        width: 100%;
        padding-bottom: 1vh;
        border-bottom: unset;
        font-size: 18px;
    }
    .section-5-title h1{
        margin-top: 4vh;
    }
    .section-5 .carousel-item .row{
        margin-top: 0;
        padding: 2vh 2vh 8vh 2vh;
    }
    .section-5 .carousel-item .row img{
        width: 20% !important;
    } 
    .section-5 .carousel-control-prev,
    .section-5 .carousel-control-next {
        width: 40px;
        height: 40px;
    } 

}

@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{
        background-image: url("/static/main/Images/Frame 1000004343@2x.png");
        background-size: contain;
        height: 85vh;
        align-items: center;
        background-repeat: no-repeat;
        background-position: center;
        display: flex;
        justify-content: left;
        align-items: center;
        box-sizing: border-box;
        margin:-12vh auto 0 0;
        /* background-color: brown; */
    }
    .text-box{
        width: 50%;
        margin-left: 5%;
        margin-top: -8vh;
    }
    .text-box h2{
        font-size: 22px;
    }
    .text-box p{
        margin-top: 4vh;
        font-size: 12px;
    }
    .section-2{
        margin:-16vh auto 0 0;

    }
    .section-2-text-box{
        width: 50%;
    }
    .section-2-text-box h3{
        width: 100%;
        padding-bottom: 1vh;
        border-bottom: unset;
        font-size: 15px;
    }
    .section-2-text-box p{
        display: none;
    }
    .section-3, .section-4{
        display: none;
    }
    
    .res-section-2{
        display: flex;
    }


    #see-more-btn{
        display: flex;
    }



    .main-carousel{
        display: none;
    }
    .res-carousel{
        display: block;
    }

    .section-5 .carousel-item .row{
        /* width: 100% !important; */
        display: flex !important;
        justify-content: center!important;
        align-items: center !important;
        padding: 5vh;
    }
    .section-5 .carousel-item .row img{
        width: 40% !important;
    }  
    .section-5 .carousel-control-prev,
.section-5 .carousel-control-next {
    width: 40px;
    height: 40px;
} 

    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{
        background-image: url("/static/main/Images/Frame 1000004343@2x.png");
        background-size: cover;
        height: 40vh;
        background-position: center;
        background-repeat: no-repeat;
        display: flex;
        justify-content: left;
        align-items: start;
        box-sizing: border-box;
    }
    .text-box{
        width: 50%;
        margin-left: 5%;
        margin-top: 5vh;
    }

    .text-box h2{
        font-size: 15px;
    }
    .text-box p{
        margin-top: 2vh;
        font-size: 10px;
    }

    .section-2{
        margin-top: 5vh;
    }
    

    .section-2-text-box{
        width: 50%;
    }
    .section-2-text-box h3{
        width: 100%;
        padding-bottom: 1vh;
        border-bottom: unset;
        font-size: 15px;
    }
    .section-2-text-box p{
        display: none;
    }
    .section-3, .section-4{
        display: none;
    }
    
    .res-section-2{
        display: flex;
    }


    #see-more-btn{
        display: flex;
    }



    .main-carousel{
        display: none;
    }
    .res-carousel{
        display: block;
    }

    .section-5 .carousel-item .row{
        /* width: 100% !important; */
        display: flex !important;
        justify-content: center!important;
        align-items: center !important;
        padding: 5vh;
    }
    .section-5 .carousel-item .row img{
        width: 40% !important;
    }  
    .section-5 .carousel-control-prev,
.section-5 .carousel-control-next {
    width: 40px;
    height: 40px;
} 

    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;
    }

}