@import url('style.css');
/* This Apply On Small Laptop (1200px) and below  */
@media only screen and (max-width: 1200px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(100px, 200px));
        grid-auto-rows: 170px;
        width: 876px;
    }

    .hero-banner .slider--el-heading {
        width: 100%;
    }

    .hero-banner .slider--el-content {
        left: 50px;
        margin: 0 20px;
    }

    .team-img {
        height: 270px;
    }
}

/* This Apply On Small Laptop (991px) and below  */
@media only screen and (max-width: 991px) {
    .section-title {
        font-size: 38px;
    }
    .sub-banner h1 {
        font-size: 43px;
    }
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(100px, 156px));
        grid-auto-rows: 139px;
        width: 700px;
    }

    .hero-banner .slider--el-heading {
        font-size: 45px;
    }

    .hero-banner.slider {
        height: 450px;
    }

    .flip-box {
        height: 360px;
    }

    .img-shape {
        width: 60%;
        margin: 0 auto;
    }

    .frame-box .flip-box {
        height: 350px;
    }

    header li a {
        font-size: 14px;
    }
    .top-header h3{
        font-size: 15px !important;
    }
    .box-img {
        width: 50px;
    }
    .section-title-third{
        font-size: 26px;
    }
}

/* This Apply On Tablet View (768px) and below  */
@media (max-width: 767px) {
    /* ------------------------------------------add css by dhruti-------------------------------------- */
    .dropdown-arrow i,
    header li a{
        color: #fff;
    }
    .hero-banner .slider--el-heading {
        font-size: 30px;
    }
    .text-white {
        font-size: 16px !important;
    }
    .hero-banner .slider--el-content {
        left: 0;
        right: 0;
        bottom: 50px;
        top: auto;
        margin: auto;
        width: 90%;
    }
    .sub-banner h1 {
        font-size: 33px;
    }
    .img-shape {
        width: 80%;
        margin: 0 auto;
    }
    /* -------------------------------------------------------------------------- */
    .top-header {
        display: none;
    }

    header {
        top: 0;
    }

    .drop-menu {
        margin-left: 20px;
        margin-top: 10px;
        padding: 10px 0 10px 20px;
        padding-top: 15px !important;
    }

    .drop-menu li {
        margin-bottom: 5px;
    }

    .menu-wrap i {
        right: auto;
    }

    .menu-wrap:hover i {
        color: var(--theme-secondary-color);
        right: auto;
    }

    .main-side-list {
        top: 53px;
        left: 0;
        position: fixed;
        flex-direction: column;
        width: 100%;
        height: 100vh;
        background: var(--theme-main-color);
        z-index: 999;
        transform: translatex(100%);
        transition: all .5s linear;
        padding-top: 20px;
    }

    .main-side-list ul {
        flex-direction: column;
        padding-top: 30px;
    }

    header .menu-bar {
        display: block !important;
    }

    header .menu-bar i {
        font-size: 25px;
        color: #32486f;
        display: block !important;
    }

    .menu-links {
        flex-direction: column !important;
        position: absolute;
        left: 0;
        top: 75px;
        background: var(--theme-main-color);
        width: 100%;
        height: 100vh;
        padding: 20px 0;
        align-items: flex-start !important;
        display: none;
    }

    header ul li {
        margin-bottom: 20px;
        margin-left: -20px;
    }

    header {
        top: 0;
    }

    header img {
        width: 180px;
    }

    .active .main-side-list {
        transform: translateX(0%);
        justify-content: left;
        align-items: normal;
        border-top: 1px solid #32486f;
        padding: 0 20px;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(51px, 124px));
        grid-auto-rows: 100px;
        width: 547px;
        grid-gap: 17px;
    }

    .section-title {
        font-size: 23px;
    }
    .section-title-third {
        font-size: 22px;
    }
    .team-img {
        height: 400px;
    }

    .team-img img {
        object-fit: contain;
        border-radius: 25px;
    }
    .same-card-icon {
        font-size: 40px;
    }
    .same-second-box:hover .icon-hover, .same-box:hover .icon-hover {
        font-size: 40px;
    }
    .dropdown-menu.show {
        padding: 15px 0px 15px 20px;
    }

    header li:hover a {
        color: var(--theme-secondary-color) !important;
    }

    .flip-box {
        width: 425px;
        margin: 0 auto;
    }
}

/* This Apply On Mobile View (600px) and below */
@media (max-width: 600px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(51px, 106px));
        grid-auto-rows: 71px;
        width: 460px;
        grid-gap: 12px;
    }

    .hero-banner .slider--el-heading {
        font-size: 32px;
    }

    footer {
        padding: 40px 0 5px;
    }

    .building-advantage .flip-box {
        margin: 0 auto;
        width: 445px;
        height: 340px;
    }

    footer h3 {
        font-size: 21px !important;
    }
}
@media (max-width: 575px) {
    .same-box {
        height: 200px !important;
    }
    .team-img {
        height: 260px;
    }
}
/* This Apply On Mobile View (500px) and below */
@media (max-width: 500px) {
    .hero-banner .slider--el-heading {
        font-size: 25px;
    }
    .hero-banner .slider--el-content {
        width: 95%;
    }

    .sub-banner h1 {
        display: flow-root;
        align-items: center;
        justify-content: center;
    }

    .sub-banner {
        height: 200px;
    }

    .section-title {
        font-size: 22px;
    }
    .section-title-third {
        font-size: 20px;
    }
    p{
        font-size: 14px;
    }
    .box-img {
        width: 40px;
    }
    .img-shape {
        width: 95%;
    }
    .img-shape:after {
        left: -20px;
        top: -20px;
    }
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(1px, 60px));
        grid-auto-rows: 59px;
        width: 267px;
        grid-gap: 9px;
    }

    .flip-box-front h2 {
        line-height: 1.2;
    }

    .building-advantage .flip-box {
        width: 300px;
    }

    .img-shape {
        margin-right: 0;
        height: 200px;
    }

    .building-advantage .flip-box {
        height: 260px;
    }

    .frame-box .flip-box {
        height: 230px;
    }

    .cranes-system-main .flip-box {
        height: 290px;
    }
}

/* This Apply On Mobile View (426px) and below */
@media (max-width: 400px) {
    .hero-banner.slider{
        height: 415px;
    }
    .sub-banner h1 {
        font-size: 30px;
    }

    .section-title {
        font-size: 22px;
    }
    .vision-mission .box {
        border-left: 2px solid var(--theme-secondary-color);
        padding: 0 0 0 20px;
    }
    .team-img {
        height: 220px;
    }
    .team-img img{
        border-radius: 0px;
    }
    .building-advantage .flip-box {
        width: 100%;
    }
    .frame-box .flip-box {
        height: 280px;
    }
}