@media only screen and (min-device-width : 768px) and (max-device-width : 1024px)
{
    .home_banner {
        height: 279px;
        margin-top: 7%;
    }
}

@media only screen and (min-device-width : 1025px) and (max-device-width : 1440px){
    .home_banner {
        height: 405px;
        margin-top: 5%;
    }
}

@media (min-width: 1920px) and (max-width: 2560px)  {
    .home_banner {
        margin-top: 3.5%;
    }
}

@media (min-width: 320px) and (max-width: 840px) {
    
    .main_home_page{
        height: calc(100vh - 100px);
        margin-top: 100px;
    }

    .main_home_page h1{
        font-size: 24px !important;
        line-height: 30px !important;
    }
    .home_brand > div, .new_team > div {
        width: 100% !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    /*.main-header .collapse {*/
    /*    position: absolute;*/
    /*    top: 101px;*/
    /*    width: 100%;*/
    /*    background: #fff;*/
    /*    left: 0;*/
    /*}*/
    .main-header .navbar {
        position: static;
    }
    .main-header .nav-item {
        padding: 12px 15px !important;
    }
    .main-header .header-nav {
        padding: 0px 20px!important;
    }
    .home_banner {
        margin-top: 70px;
    }
    .inspiration .w-full.block {
        width: 200px;
    }
    .service_our_expertise .slider {
        padding: 0px 0px;
    }
    .home_banner img {
        object-fit: contain;
    }
    .bg-inspiration {
        margin-top: 40px ;
        padding-top: 5rem !important;
    }
    .main-header{
        height:100px;
        overflow:hidden;
    }
    .main-header .collapse{
        transition: 0.3s ease-out;
        position:absolute;
    }
    .main-header .collapse.show {
        position: fixed;
        top: 0;
        width: 100%;
        background: #000;
        left: 0;
        bottom: 0;
        right: 0;
        display: flex !important;
        align-items: center;
        justify-content: center;
        height:auto;
    }
    .main-header a {
        font-family: 'Montserrat', sans-serif !important;
        color: #fff !important;
        font-size: 24px;
        padding: 8px 16px !important;
        text-align: center;
        font-weight: 600;
    }
    .header-nav .close-button{
      position: absolute;
      right: 32px;
      top: 32px;
      border:none !important;
    }
    .header-nav .close-button .close-icon {
      width: 32px;
      height: 32px;
      opacity: 1;
    }
    .header-nav .close-icon:hover {
      opacity: 1;
    }
    .header-nav .close-icon:before, .close-icon:after {
      position: absolute;
      left: 15px;
      content: ' ';
      height: 33px;
      width: 3px;
      background-color: #fff;
    }
    .header-nav .close-icon:before {
      transform: rotate(45deg);
    }
    .header-nav .close-icon:after {
      transform: rotate(-45deg);
    }
}
@media screen and (min-width: 280px) and (max-width: 767px)
{
    .title{
        font-size: 30px;
    }

    .banner_main_text{
        width: 50%;
        height: 100%;
    }

    h1{
        font-size: 16px !important;
    }

    .btn-theme
    {
        padding: 5px 15px !important;
    }

    .home_banner{
        height: 126px;
        margin-top: 18%;
    }

    .home_banner .banner-text h1{
        font-weight: 500;
        font-size: 32px !important;
    }

    .about_inspiration{
        display: none;
    }

    .about_inspiration_mobile
    {
        display: block;
    }

    header .menu .header_logo{
        width: 50%;
    }

    header .menu .header_logo img{
        width: 100%;
    }

    .blog_latest_blog .main_inner .sub_inner,
    .blog_category .main_inner .sub_inner{
        height: 240px;
    }

    .footer .secound
    {
        display: none;
    }

    .footer .third
    {
        display: none;
    }

    .about_value p{
        width: 100%;
    }

    .about_story p, .about_value p{
        text-align: left;
    }

    .view_blog{
        margin: 26% 0 50px 0;
    }

    .view_blog .blog_card img{
        border-radius: 18px;
    }

    .service_view{
        margin-top: 25%;
    }
    .home_banner {
        margin-top: 96px;
    }

}
