

@media(min-width:1644px){

}
@media(max-width:1644px){
    /* projects styling */
    .project-box{
        width: 100%;
    }
    .outterrrr {
        margin-top: -69px;
    }
    .d-flex-box-shape .box ,.d-flex-box-shape .box:hover .content-box{
        width: 230px;
        height: 230px;
    }
    .outterrrr .d-flex-box-shape{
        gap: 0 96px;
        align-items: center;
    }
  
    /* projects styling */
}

@media(max-width:1456px){
   
    .flex-area .img-service{
        width: 100%;
    }
    .flex-area .img-service img{
        height: 50vh;
    }
    .flex-area .text-service{
        width: 100%;    padding:0;
    }
    .service-gallery .img{
        width: 33.3%;
    }
}
@media(max-width:1400px){
   
    .about1st .left-image{width:100%;}
    .about1st .right-about-text{width: 100%;}
    .next_positon{
        display: none;
    }
    .about1st{
        position:relative !important;
        height:auto !important;
    }
}
@media(max-width:1394px){
    .team_member > div{
        width: 50%;
    }
    .team_members_flex .team_member{
        width: 60%;
    }
    .main_person{
        width: 40%;
    }
    .outer_media h5{
        margin:0;
    }
    .social-media a img {
    width: 25px;
}

.News_slider.right-about-text li .internal p{
    -webkit-line-clamp: 2;
}
.News_slider.right-about-text li{
    width: 50%;
}
}
@media(max-width:1235px){
    /* projects styling */
    .d-flex-box-shape .box ,.d-flex-box-shape .box:hover .content-box{
        width: 200px;
        height: 200px;
    }
    .outterrrr .d-flex-box-shape {
        gap: 0 82px;
    }
    .outterrrr {
        margin-top: -60px;
    }
    /* .d-flex-box-shape .box .content-box {
        top: 22px;
    } */
    /* projects styling */
    .service-box-outer{
        width: 33%;
    }
}

@media(max-width:1141px){
    .News_slider.right-about-text li{
        width: 50%;
    }
    .d-flex-box-shape .box .content-box h3{
        font-size: 16px;
    }
    .d-flex-box-shape .box .content-box p {
        color: #fff;
        font-size: 14px;
    }
    /* projects styling */
    .d-flex-box-shape .box ,.d-flex-box-shape .box:hover .content-box{
        width: 170px;
        height: 170px;
    }
    .outterrrr {
        margin-top: -51px;
    }
    .outterrrr .d-flex-box-shape {
        gap: 0 70px;
    }
    /* projects styling */
    .team_member > div{
        width: 50%;
    }
  
}

@media(max-width:982px){
    
    .about1st{
        flex-wrap:wrap;
    }
    .about1st:nth-child(2n){
        flex-direction: column-reverse;
    }
    .left-image img{
        border:none !important;
    }
    .about1st .left-image img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
}
    .teams .about-team .right-about-text{width: 100%;}
.teams .about-team .left-image{
    padding-top: 25px;
    width: 100%;}
    .display-flex{
        gap: 50px;
    }
    .display-flex > div{
        flex: auto;
    }
    .service-box-outer{
        width: 50%;
    }
    /* projects styling */
    .d-flex-box-shape .box ,.d-flex-box-shape .box:hover .content-box{
        width: 150px;
        height: 150px;
    }
    .outterrrr {
        margin-top: -46px;
    }
    .outterrrr .d-flex-box-shape {
        gap: 0 64px;
    }
    .d-flex-box-shape .box .content-box a{
        padding: 5px 15px;
    }
    .d-flex-box-shape .box .content-box h3 {
        font-size: 14px;
    }
    .d-flex-box-shape .box .content-box p{
        color: #fff;
        font-size: 13px;
    }
    /* .d-flex-box-shape .box .content-box {
        top: 11px;
    } */
    /* projects styling */
}
@media(max-width:864px){
    .about1st {
       position: relative !important;
       height: auto !important;
     
    }
    .about1st .right-about-text{
        padding: 10px;
    }
    .service-gallery .img{
        width: 50%;
    }
    .displayflexarea .for-img-contact{
        flex: none;
        width: 10%;
    }
    .displayflexarea .contactform{
        flex: 1 2 90%;
    }
    /* projects styling */
    .d-flex-box-shape .box ,.d-flex-box-shape .box:hover .content-box{
        width: 400px;
        height: 400px;
    }
    .outterrrr {
        margin: 165px 0;
    }
    .outterrrr .d-flex-box-shape {
        flex-direction: column;
       gap: 165px 0;
    }
    .d-flex-box-shape .box .content-box h3 {
        font-size: 25px;
    }
    .d-flex-box-shape .box .content-box p {
        color: #fff;
        font-size: 18px;
    }
    /* .d-flex-box-shape .box .content-box{
        top: unset;
        left: unset;
        transform: translate(200px, 150px);
       
    } */
    /* .d-flex-box-shape .box:hover .content-box{
        transform: translate(191px, -220px);
    } */
    .project-box{
        padding: 10px 0;
    }
    .team_member > div{
        width: 50%;
    }
    /* projects styling */
}
@media(max-width:800px){
    /*  */
    .team_member > div{
        width: 100%;
    }
    .team_members_flex .team_member{
        width: 50%;
    }
    .main_person{
        width: 50%;
    }


    /*  */
    .News_slider.right-about-text li{
        width: 100%;
    }
    .News_slider.right-about-text{
        width: 60%;
    }
    .flex_news > div{
        width: 50%;
    }
.nav-box-inner{
    position: fixed;
    transform: translateX(159%);
}

.nav-box-inner ul.nav-menu{
    flex-direction: column;
}
.main-page-header.header-open .nav-box-inner {
    transform: translateX(-50%);
    background: white;
    width: 100%;
    /* border: 1px solid; */
    padding: 50px 89px 20px 20px;
    height: 100%;
}
.logo-box img{
    position: relative;
    z-index: 9999999;
}
.has-sub-menu:hover .submenu{
    position: relative;
    left: 0;
    top: 0;
}
.has-sub-menu:hover .submenu{
    display: none;
}
}
@media(max-width:595px){
    .service-box-outer{
        width: 100%;
    }
    /* projects styling */
    .d-flex-box-shape .box , .d-flex-box-shape .box:hover .content-box{
        width: 300px;
        height: 300px;
    }
    .outterrrr {
        margin: 124px 0;
    }
    .outterrrr .d-flex-box-shape {
        flex-direction: column;
        gap: 124px 0;
    }
    /* .d-flex-box-shape .box:hover .content-box {
        transform: translate(166px, -193px);
    } */
    /* projects styling */
    .team_member > div{
        width: 100%;
    }

    /*  */
    .team_member > div{
        width: 100%;
    }
    .team_members_flex .team_member{
        width: 100%;
    }
    .main_person{
        width: 100%;
    }
    .team_members_flex{
        flex-wrap: wrap;
    flex-direction: column-reverse;
    gap: 20px;
    }
    /*  */
    .flex_news{
        flex-wrap: wrap;
    }
    .News_slider.right-about-text{
        width: 100%;
    }
    .flex_news > div{
        width: 100%;
    }
}

@media(max-width:429px){
    .service-gallery .img{
        width: 100%;
    }
    .service-box-outer{
        width: 100%;
    }
    /* projects styling */
    .d-flex-box-shape .box ,.d-flex-box-shape .box:hover .content-box {
        width: 250px;
        height: 250px;
    }
    .outterrrr {
        margin: 103px 0;
    }
    .outterrrr .d-flex-box-shape {
        gap: 103px 0;
    }
    /* .d-flex-box-shape .box:hover .content-box {
        transform: translate(145px, -163px);
    }  */
    /* projects styling */
    
}