@media only screen and (min-width: 720px){
    .footer-nav ul li a {
        color: #fff;
        font-size: 12px;
    }

    /* #sec-5 {
        background-image: url(./img/Mechanical\ Engineering\ Services\ \(1\).jpg);
        background-size: cover;
        background-repeat: no-repeat;
        height: 274px;
    } */

    .list-bg-2 {
        background-color: #ebebeb;
        padding: 40px 40px;
        width: 100%;
        height: 300px;
        border-radius: 20px;
        font-size: 18px;
    }
}

@media only screen and (max-width: 600px){
    .card.float-right{
        float: none !important;
        /* width: 24rem !important; */
    }

    #footer-1 > div > div.row.py-2 > div.col-xs-12.col-sm-12.col-md-8 > div > ul > li.nav-item.mx-5{
        margin: 0px !important;
    }

    #footer-1 > div > div.row.py-2 > div.col-xs-12.col-sm-12.col-md-8 > div > ul > li:nth-child(3){
        margin: 0 auto;
    }

    #footer-1 > div > div.row.py-2 > div.col-xs-12.col-sm-12.col-md-8 > div > ul{
        text-align: center;
    }

    .card.float-left{
        float: none !important;
        /* width: 24rem !important; */
    }

    .carousel-caption h1,h3,h3{
        font-size: 18px;
    }

    .main-cont {
        text-align: center;
        position: absolute;
        top: 42px;
        left: 38px;
        color: #fff;
        z-index: 99;
    }

    .carousel-caption {
        position: absolute !important;
        z-index: 9999 !important;
        top: 26px !important;
        left: 60px !important;
        text-align: center !important;
    }


    img.d-block.w-100.img-fluid {
        height: auto !important;
    }

    .main-cont-20 {
        position: absolute;
        top: 36px;
        left: -141px;
        color: #fff;
        z-index: 99;
    }

    .PARNERING {
        position: absolute;
        top: 47px;
        margin-left: 566px;
        width: 240px;
        z-index: 999;
        text-align: center;
        font-size: 25px;
    }

    #s3 {
        padding: 6px;
        background: #fff;
        position: absolute;
        left: 50%;
        bottom: 317px;
        margin-left: 12px;
        border-radius: 20px;
        opacity: 0.3;
        cursor: pointer;
        z-index: 999;
    }

    #s2 {
        padding: 6px;
        background: #fff;
        position: absolute;
        left: 50%;
        bottom: 316px;
        margin-left: -12px;
        border-radius: 20px;
        opacity: 0.3;
        cursor: pointer;
        z-index: 999;
    }

    #slider-wrapper {
        width: 100%;
        height: 240px;
        margin: 0px auto;
        position: relative;
        margin-bottom: 0px;
        background: rgba(0, 0, 0, 0.5);
        overflow: hidden;
    }

    .eng-logo {
        width: 255px;
        height: 56px;
    }

    /* .head>.h1, h1{
        font-size: 1.5rem;
    } */

    /* .head>.h3, h3 {
        font-size: 1.5rem;
    } */

    body > div > section:nth-child(3) > div > div.row.content.my-5 > div.col-xs-12.col-sm-12.col-md-3.col-lg-3.order-1.order-md-2 > img {
        width: 100%;
    }

    body > div > section:nth-child(3) > div > div:nth-child(3) > div.col-xs-12.col-sm-12.col-md-3.col-lg-3 > img {
        width: 100%;
    }

    .mission {
        background-color: #ebebeb;
        height: 313px;
        width: 100%;
        border-radius: 20px;
        padding: 0px 30px;
        margin-bottom: 7%;
    }
    .w3-service-grid-info {
        padding: 1em;
        border: solid 1px #e4e4e4;
        margin-bottom: 7%!important;
    }
    .row.mb-5 {
        margin-bottom: 0% !important;
    }
    
    .footer-cont {
        text-align: center;
        color: #fff;
    }
    
    a.text-light.float-right {
    float: none !important;
}

.term30{
    text-align: center !important;
}

    .float-left.policy {
        float: none !important;
        text-align: center;
    }

    .float-right.policy {
        float: none !important;
        text-align: center;
    }

    a.navbar-brand1 {
        float: none!important;
    }

    .footer-logo.pt-5 {
        text-align: center;
    }

    .nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        padding-left: 0;
        margin-bottom: 0;
        list-style: none;
        font-size: 13px;
    }

    .footer-points{
        text-align: center;
    }

    /* career modal */

    #modalContactForm > div > div > form > div:nth-child(5) > label {
        text-align: center!important;
        height: 26px;
    }

    input#myFile {
        text-align: center;
        position: relative;
        /* margin-left: 100px; */
    }

    input#myFile {
        text-align: center;
        position: relative;
    }

    /* testimonial */
    .card .carousel-item {
        height: 375px;
    }

    #carouselExampleControls > div.w-100.carousel-inner > div.carousel-item.active > div > div > div.col-sm-8{
        text-align: center;
    }

    #carouselExampleControls > div.w-100.carousel-inner > div.carousel-item.active > div > div > div.col-sm-8{
        text-align: center;
    }

    #carouselExampleControls > div.w-100.carousel-inner > div.carousel-item.active > div > div > div.col-sm-9{
        text-align: center;
    }

    #carouselExampleControls > div.w-100.carousel-inner > div.carousel-item.active > div > div > div.col-sm-3 > img{
        margin-left: 23%;
    }

    #carouselExampleControls > div.w-100.carousel-inner > div.carousel-item.active > div > div > div.col-sm-4.text-center > img{
        margin-left: 23%;
    }

    #carouselExampleControls > div.w-100.carousel-inner > div.carousel-item.active > div > div > div.col-sm-4 > img{
        margin-left: 23%;
    }
    /*Polygon*/
    div#box {
        width: 100%;
        height: 300px;
    }
    .clipboard {
        clip-path: polygon(100% 0, 100% 50%, 50% 85%, 0 50%, 0 0)!important;
    }

    .cont-3>.row>.col-md-12>.png>img {
        position: relative;
        width: 20%;
        padding: 3px;
    }

    .cont-4>.row>.col-xs-12.col-sm-12.col-md-4.col-lg-4>#box>.clipboard>p{
        margin-top: 50%;
        margin-top: 30%;
        margin-left: 25%;
      }
    .cont-3>.row>.col-md-12>.section-title>.h2, h2 {
        margin-left: 0%;
    }

    #sec-15 > div > div.cont-4 > div > div:nth-child(3){
        padding-top: 0px!important;
    }

    #sec-15 > div > div.row.my-5 > div:nth-child(2) > h4 {
        padding-bottom: 3rem;
    }
    #sect-16 > div > div.row > div.cont-2 > div > div:nth-child(2) > h4 {
        padding-bottom: 3rem;
    }
    #sect-16 > div > div.cont-4 > div > div:nth-child(2) > div {
        float: left!important;
    }
    #sect-16 > div > div.cont-4 > div > div:nth-child(3) > div {
        float: left!important;
    }
    /* simulation */

    .list-bg-3 {
        background-color: #ebebeb;
        width: 100%;
        padding: 40px 40px;
        height: 400px;
        border-radius: 20px;
        font-size: 18px;
    }

    /* slider */
    .carousel {
        position: relative;
        /* left: 16px; */
    }

    #sec-1 {
        position: relative;
        left: 0px;
        margin-top: 82px;
    }

    span.carousel-control-prev-icon {
        position: relative;
        bottom: 20px;
        right: 330px;
    }

    span.carousel-control-next-icon {
        position: relative;
        bottom: 20px;
        right: 30px;
    }

    /* our managment */

    .ceo-sec{
        text-align: center;
    }

    /* staffing */
    #sec-15 > div > div.row.my-5 > div:nth-child(2) {
        margin-top: 44px;
    }

    /* technical */
    .list-bg-4 {
        background-color: #ebebeb;
        width: 100%;
        padding: 5px 40px;
        height: 424px;
        border-radius: 20px;
        font-size: 18px;
        clip-path: polygon(100% 0, 100% 50%, 50% 85%, 0 50%, 0 0);
        text-align: center;
    }
    .list-bg-5 {
        background-color: #ebebeb;
        width: 100%;
        padding: 40px 40px;
        height: 320px;
        border-radius: 20px;
        font-size: 18px;
    }

    /* product */
    .list-bg {
        background-color: #ebebeb;
        width: 100%;
        padding: 40px 40px;
        height: 100%;
        border-radius: 20px;
        font-size: 18px;
    }
   /* mechanical */
   #sec-5 {
    background-image: url(./img/Mechanical\ Engineering\ Services\ \(1\).jpg);
    background-size: cover;
    background-repeat: no-repeat;
    height: 125px;
    }

    #terms {
        margin-top: 106px;
        padding: 0px 30px;
    }

    .cont-4 {
        margin: 78px 0px;
        padding: 0px !important;
    }

    /* manufacturing */
    .list-bg-2 {
        background-color: #ebebeb;
        width: 100%;
        padding: 40px 40px;
        height: 300px;
        border-radius: 20px;
        font-size: 18px;
    }

    .list-bg-75 {
        background-color: #ebebeb;
        width: 100%;
        padding: 0px 54px;
        height: 380px;
        border-radius: 20px;
        font-size: 18px;
        clip-path: polygon(100% 0, 100% 50%, 50% 85%, 0 50%, 0 0);
    }

    .list-bg-74 {
        background-color: #ebebeb;
        width: 100%;
        padding: 40px 40px;
        height: auto;
        border-radius: 20px;
        font-size: 18px;
        margin-top: 23px;
    }

    .what-do-76 {
        padding: 82px 0px;
        text-align: center;
    }

    .list-bg-70 {
        background-color: #ebebeb;
        width: 100%;
        padding: 40px 40px;
        height: auto;
        border-radius: 20px;
        font-size: 18px;
        clip-path: polygon(100% 0, 100% 50%, 50% 85%, 0 50%, 0 0);
    }

    .what-do-71 {
        padding: 57px 0px 188px 0px;
        text-align: center;
    }

    .list-bg-73 {
        background-color: #ebebeb;
        width: 100%;
        padding: 40px 40px;
        height: auto;
        border-radius: 20px;
        font-size: 18px;
    }

    .list-bg-8 {
        background-color: #ebebeb;
        width: 100%;
        padding: 0px 40px;
        height: auto;
        border-radius: 20px;
        font-size: 18px;
        clip-path: polygon(100% 0, 100% 50%, 50% 85%, 0 50%, 0 0);
    }

    .what-do-2 {
        padding: 57px 0px 188px 0px;
        text-align: center;
    }

    .list-bg-77 {
        background-color: #ebebeb;
        width: 100%;
        padding: 40px 40px;
        height: auto;
        border-radius: 20px;
        font-size: 18px;
        margin-bottom: 42px;
    }

    .list-bg-87 {
        background-color: #ebebeb;
        width: 100%;
        padding: 40px 40px;
        height: auto;
        border-radius: 20px;
        font-size: 18px;
        clip-path: polygon(100% 0, 100% 50%, 50% 85%, 0 50%, 0 0);
    }

    .what-do-20 {
        padding: 57px 0px 188px 0px;
        text-align: center;
    }

    .list-bg-88 {
        background-color: #ebebeb;
        width: 100%;
        padding: 40px 40px;
        height: auto;
        border-radius: 20px;
        font-size: 18px;
        margin-bottom: 66px;
    }

    .list-bg-16 {
        background-color: #ebebeb;
        width: 100%;
        padding: 40px 40px;
        height: 100%;
        border-radius: 20px;
        font-size: 18px;
        clip-path: polygon(100% 0, 100% 50%, 50% 85%, 0 50%, 0 0);
    }

    .list-bg-86 {
        background-color: #ebebeb;
        width: 100%;
        padding: 40px 40px;
        height: auto;
        border-radius: 20px;
        font-size: 18px;
        margin-bottom: 71px;
    }

    .list-bg-81 {
        background-color: #ebebeb;
        width: 100%;
        padding: 40px 40px;
        height: auto;
        border-radius: 20px;
        font-size: 18px;
        clip-path: polygon(100% 0, 100% 50%, 50% 85%, 0 50%, 0 0);
    }

    .list-bg-82 {
        background-color: #ebebeb;
        width: 100%;
        padding: 40px 40px;
        height: auto;
        border-radius: 20px;
        font-size: 18px;
        margin-bottom: 68px;
    }

    .what-do-22 {
        padding: 57px 0px 188px 0px;
        text-align: center;
    }


}

@media only screen and (max-width: 420px){
    .nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        padding-left: 0;
        margin-bottom: 0;
        list-style: none;
        font-size: 14px;
        width: 350px;
        margin: 0 auto;
    }

    .list-bg-5 {
        background-color: #ebebeb;
        width: 100%;
        padding: 40px 40px;
        height: 100%;
        border-radius: 20px;
        font-size: 18px;
    }

    .main-cont {
        text-align: center;
        position: absolute;
        top: 42px;
        left: 57px;
        color: #fff;
        z-index: 99;
    }

    .main-cont-20 {
        position: absolute;
        top: 36px;
        left: -68px;
        color: #fff;
        z-index: 99;
    }
}

@media only screen and (max-width: 380px){
    .main-cont {
        text-align: center;
        position: absolute;
        top: 42px;
        left: 43px;
        color: #fff;
        z-index: 99;
    }

    .main-cont-20 {
        position: absolute;
        top: 36px;
        left: -118px;
        color: #fff;
        z-index: 99;
    }
}

@media only screen and (max-width: 360px){
    .main-cont {
        text-align: center;
        position: absolute;
        top: 42px;
        left: 26px;
        color: #fff;
        z-index: 99;
    }

    .main-cont-20 {
        position: absolute;
        top: 36px;
        left: -146px;
        color: #fff;
        z-index: 99;
    }
}

@media only screen and (max-width: 320px){
    .eng-logo {
        width: 202px;
        height: 50px;
    }

    .Our-open {
        background-color: red;
        color: #fff;
        padding: 10px 10px;
        border-radius: 20px;
    }

    .footer-nav ul li a {
        color: #fff;
        font-size: 10px;
    }

    #footer-1 > div > div.row.py-2 > div:nth-child(1) > div > div > p{
        font-size: 10px;
    }

    .nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        padding-left: 0;
        margin-bottom: 0;
        list-style: none;
        font-size: 14px;
        width: 282px;
        margin: 0 auto;
    }

    .box-auto-3 {
        background-color: #ebebeb;
        width: 100%;
        padding: 27px 40px;
        height: 160px;
        border-radius: 20px;
        font-size: 18px;
    }

    .main-cont {
        text-align: center;
        position: absolute;
        top: 42px;
        left: 12px;
        color: #fff;
        z-index: 99;
    }

    .main-cont-20 {
        position: absolute;
        top: 36px;
        left: -202px;
        color: #fff;
        z-index: 99;
    }

    #s2 {
        padding: 6px;
        background: #fff;
        position: absolute;
        left: 50%;
        bottom: 342px;
        margin-left: -12px;
        border-radius: 20px;
        opacity: 0.3;
        cursor: pointer;
        z-index: 999;
    }

    #s3 {
        padding: 6px;
        background: #fff;
        position: absolute;
        left: 58%;
        bottom: 342px;
        margin-left: -12px;
        border-radius: 20px;
        opacity: 0.3;
        cursor: pointer;
        z-index: 999;
    }

    #slider-wrapper {
        width: 100%;
        height: 215px;
        margin: 0px auto;
        position: relative;
        margin-bottom: 0px;
        background: rgba(0, 0, 0, 0.5);
        overflow: hidden;
    }
}
   
@media only screen and (min-width: 1000px){
    .w3-service-grid-info h4 {
      color: #212121;
      font-size: 13px;
      font-weight: 600;
      text-transform: uppercase;
      margin: 1em 0;
      font-weight: 700;
  }
  }