.nav-trigger {
  display: none;
}
.mobile-navigation {
  display: none;
}

@media (max-width: 991px) {
  .image-grid-list ul {
    margin-top: 30px;
  }

  .nav-trigger {
    display: block;
    float: right;
    margin: 14px -10px 14px 5px;
    background: url("../images/menu.svg") no-repeat center;
    background-size: 20px;
    width: 32px;
    height: 32px;
  }

  .nav-open .nav-trigger {
    background: url("../images/menu-close.svg") no-repeat center;
  }

  .nav-open body.mainPage header {
    height: auto;
  }
  .nav-open .mobile-navigation {
    display: block;
  }
  body.mainPage header .mobile-navigation nav {
    float: none;
    margin: 0;
    padding: 20px 0;
  }
  body.mainPage header .mobile-navigation nav ul li {
    display: block;
    float: none;
    margin: 0;
  }
  body.mainPage header .mobile-navigation nav ul li a {
    display: block;
    padding: 0;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
  }
  body.mainPage header nav {
    margin: 14px 0;
  }
  body.mainPage header nav ul li {
    display: none;
  }
  body.mainPage header nav ul li.button-link {
    display: block;
  }
}
@media (max-width: 767px) {
  h1 {
    line-height: 120%;
    font-size: 22px;
    font-weight: bold;
  }
  h2 {
    line-height: 120%;
    font-size: 22px;
    font-weight: bold;
  }
  h3 {
    line-height: 120%;
    font-size: 16px;
    font-weight: bold;
  }

  body.mainPage header {
    height: 60px;
  }
  body.mainPage header .logo {
    margin: 8px 0;
  }
  body.mainPage header .logo {
    margin: 8px 0;
  }
  body.mainPage header .logo h1 a {
    width: 50px;
    height: 55px;
  }
  body.mainPage header .logo.smallLogo {
    margin: 8px 0;
  }
  body.mainPage header .logo.smallLogo h1 a {
    width: 49px;
    height: 44px;
  }
  body.mainPage .wrapper {
    padding-top: 60px;
  }

  .btn-group-sm > .btn,
  .btn-sm {
    padding: 0 35px !important;
    line-height: 30px !important;
    font-size: 12px !important;
  }

  .promo {
    height: auto;
    color: #25354c;
  }
  .promo {
    padding: 0;
  }
  .promo .promo-bg {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 3rem;
    height: 340px !important;
  }
  .promo .promo-bg:after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    height: 100%;
    content: "";
  }
  .promo .promo-bg .owl-carousel .owl-stage-outer {
    height: 100%;
  }
  .promo .promo-bg .owl-carousel .owl-stage {
    height: 100%;
  }
  .promo .promo-bg .owl-carousel .owl-item {
    height: 100%;
  }
  .promo .promo-bg .owl-carousel .owl-item div {
    background: no-repeat center;
    background-size: cover;
  }

  body.mainPage section {
    padding: 3rem 0;
  }
  body.mainPage section h1 {
    margin: 0 0 15px 0;
  }
  body.mainPage section .subhead {
    margin: -6px 0 15px 0;
  }

  .icon-grid-list ul li {
    margin: 30px 0 0 0;
  }
  .icon-grid-list ul li:first-child {
    margin: 0 0 0 0;
  }

  .image-grid-list ul li {
    line-height: 16px;
  }

  section form label.col-form-label {
    margin-bottom: 10px;
  }
  section form .form-check {
    margin-right: 20px;
    margin-left: 0;
  }
  section form .form-group.without-hr {
    padding: 10px 0;
  }
  section form .form-group.with-hr {
    padding: 10px 0;
  }

  body.mainPage footer .logo h1 a {
    margin: 0 auto 15px auto;
    width: 61px;
    height: 54px;
  }
  footer {
    text-align: center;
  }

  footer nav {
    float: none;
    width: 100%;
  }
  footer nav ul li {
    float: none;
    margin: 0;
  }
  footer nav ul li a {
    text-align: center;
  }
  footer .socials {
    float: none;
    text-align: center;
  }
  footer .socials a {
    display: inline-block;
    float: none;
    margin: 0 4px;
  }
}

@media (max-width: 991px) {
  .section-title {
    font-size: 26px;
  }

  .promo-title {
    font-size: 30px;
  }

  .promo-text {
    font-size: 18px;
  }

  .promo-image {
    height: 350px;
  }

  .about-big-title {
    font-size: 20px;
  }

  .about-items {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .about-item {
    margin-bottom: 25px;
  }

  .about-item-long {
    margin-left: 0;
    border-radius: 40px;
    text-align: center;
  }

  .map-buttons {
    flex-wrap: wrap-reverse;
    margin-bottom: 10px;
    gap: 10px;
  }

  .where-us-map {
    margin-bottom: 15px;
    height: 400px;
  }

  .how-works-header .how-works-title {
    margin-right: auto;
    font-size: 21px;
  }

  .how-works-header .how-works-order {
    width: 35px;
    height: 35px;
    font-size: 13px;
  }

  .how-works-content-alt .how-works-header {
    flex-direction: row-reverse;
  }

  .how-works-content-alt .how-works-header .how-works-title {
    margin: 0 auto 0 0;
  }

  .how-works-content-alt .how-works-header .how-works-order {
    margin-right: 15px;
    margin-left: 0;
  }

  .how-works-list li {
    font-size: 16px;
  }

  .work-with-us-title h2 {
    font-size: 23px;
  }

  .work-with-us-text {
    height: 170px;
  }

  .work-with-us-text p {
    font-size: 18px;
  }

  .testimonials .row {
    gap: 25px;
  }

  .testimonial-big-title {
    font-size: 26px;
  }

  .testimonial-brand {
    margin-bottom: 10px;
    font-size: 20px;
  }

  .testimonial-image {
    margin-bottom: 10px;
  }

  footer nav {
    margin: 25px 0;
  }

  .how-works-title {
    font-size: 24px;
  }
}

@media screen and (min-width: 992px) {
  .how-works-items {
    display: flex;
    flex-wrap: wrap;
  }

  .how-works-item {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    margin-bottom: 10px;
    width: 50%;
  }

  .how-work-count {
    width: 80px;
    height: 80px;
    font-size: 16px;
  }

  .how-works-item:nth-child(2n + 1) {
    flex-direction: row-reverse;
    margin-right: 50%;
  }

  .how-works-item:nth-child(2n) {
    flex-direction: row;
    margin-left: 50%;
  }

  .how-works-item:not(:last-child) .how-work-count::after {
    position: absolute;
    top: 100%;
    z-index: -1;
    background-color: #ffd602;
    width: 100px;
    height: 5px;
    content: "";
  }

  .how-works-item:nth-child(2n + 1) .how-work-count::after {
    left: 35%;
    transform: rotate(45deg);
  }

  .how-works-item:nth-child(2n) .how-work-count::after {
    right: 35%;
    transform: rotate(-45deg);
  }

  .how-works-item:nth-child(2n + 1) .how-work-description {
    margin-right: 25px;
    margin-left: 30%;
    text-align: end;
  }

  .how-works-item:nth-child(2n) .how-work-description {
    margin-right: 30%;
    margin-left: 25px;
    text-align: start;
  }
}
