@media (max-width: 1199px) {
  header {
    height: 50px;
  }
  header .logo {
    height: 100%;
    padding: 10px 0;
  }
  header .logo img {
    width: auto;
    height: 100%;
  }
  header .nav {
    display: none;
  }
  header .nav-mobile {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 500ms cubic-bezier(0.2, 0, 0, 1);
    transition: all 500ms cubic-bezier(0.2, 0, 0, 1);
  }
  header .nav-mobile.active {
    opacity: 1;
    visibility: visible;
  }
  header .nav-mobile.active .menu {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  header .nav-mobile .menu {
    width: 70%;
    height: 100%;
    padding: 20px 0;
    background-color: #fff;
    overflow: auto;
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
    -webkit-transition: all 500ms cubic-bezier(0.2, 0, 0, 1);
    transition: all 500ms cubic-bezier(0.2, 0, 0, 1);
  }
  header .nav-mobile .menu li {
    line-height: 50px;
    padding: 0 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  header .nav-mobile .menu li.active > .sub-menu {
    display: block;
  }
  header .nav-mobile .menu li.active > .arrow {
    -webkit-transform: rotate(-90deg);
            transform: rotate(-90deg);
  }
  header .nav-mobile .menu li a {
    max-width: calc(100% - 26px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  header .nav-mobile .menu li .arrow {
    padding: 5px;
    -webkit-transition: all 500ms cubic-bezier(0.2, 0, 0, 1);
    transition: all 500ms cubic-bezier(0.2, 0, 0, 1);
  }
  header .nav-mobile .menu li .sub-menu {
    width: 100%;
    display: none;
  }
  header .header__right .search {
    margin: 0;
  }
  header .header__right .language {
    display: none;
  }
  header .header__right .email {
    display: none;
  }
  header .header__right .nav-btn {
    width: 20px;
    height: 20px;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  header .header__right .nav-btn.active span:nth-child(1) {
    -webkit-transform: translateY(8.5px) rotate(-45deg);
            transform: translateY(8.5px) rotate(-45deg);
  }
  header .header__right .nav-btn.active span:nth-child(2) {
    opacity: 0;
  }
  header .header__right .nav-btn.active span:nth-child(3) {
    -webkit-transform: translateY(-8.5px) rotate(45deg);
            transform: translateY(-8.5px) rotate(45deg);
  }
  header .header__right .nav-btn span {
    display: inline-block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background-color: #303030;
    -webkit-transition: all 500ms cubic-bezier(0.2, 0, 0, 1);
    transition: all 500ms cubic-bezier(0.2, 0, 0, 1);
  }
  main {
    margin-top: 50px;
  }
  main.index .review .waterfall-container {
    -webkit-column-count: 2;
            column-count: 2;
  }
}

@media (max-width: 991px) {
  main.index .services-item__img-wrap {
    margin-top: 4rem;
  }
  main.index .about__video {
    margin-top: 4rem;
  }
  main.index .review .waterfall-container {
    display: none;
  }
  main.case .case-details__header .case-info {
    padding: 0;
    margin-top: 2rem;
  }
}

@media (max-width: 767px) {
  .c-search {
    width: 95vw;
    padding: 30px;
  }
  .c-search .search-form__input {
    width: auto;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
  }
  main.index .services-item__sm-img {
    display: none;
  }
  footer .socials {
    margin-top: 4rem;
  }
  footer .menu {
    margin-top: 4rem;
  }
  footer .contact-info {
    margin-top: 4rem;
  }
  main.service .service-details__container .contact__btn {
    margin-top: 20px;
  }
  main.service .tabs-nav li {
    width: 50%;
  }
  main.faq .item .ask {
    min-height: 50px;
    padding: 20px;
    padding-left: 0;
  }
  main.faq .item .ask img {
    margin: 0 10px;
  }
  main.faq .item .answer {
    min-height: 50px;
    padding-left: 32px;
  }
  main.faq .bottom {
    height: 50px;
    font-size: 14px;
  }
  main.about-us .advantages {
    padding: 60px 0;
    background-color: #f4f7f9;
  }
  main.about-us .advantages-item {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  main.about-us .advantages-item__text {
    margin: 0;
    margin-top: 20px;
    text-align: center;
  }
}
