@media only screen and (max-width: 1400px) {
  h1 {
    font-size: 40px !important;
  }
  h2 {
    font-size: 32px !important;
  }

  h3 {
    font-size: 24px !important;
  }

  .nav-link,
  .dropdown a,
  .btn,
  a,
  li,
  p,
  .btn_white_order,
  .copyright {
    font-size: 12px !important;
  }

  .navbar {
    justify-content: end;
    margin-right: 0px !important;
    padding: 0px;
  }

  #header .logo img {
    max-height: 50px;
  }

  #header .container {
    padding: 0px !important;
  }

  #hero {
    margin-top: 80px;
  }

  .navbar > ul {
    margin: 0px auto;
  }

  .carousel-inner {
    h2 {
      font-size: 24px !important;
    }
  }

  .best_box {
    h2 {
      font-size: 18px !important;
    }
  }

  .feature-list {
    li {
      gap: 10px;
    }

    img {
      width: 14px;
      height: 14px;
      margin-top: 5px;
    }
  }

  .counts .count-box img {
    width: 112px;
    height: 112px;
  }
}

@media only screen and (max-width: 1200px) {
  header {
    .container {
      min-width: 95%;
    }
  }

  .generic-modal {
    width: 50%;
  }

  .sec_6 {
    padding: 30px 0px !important;
  }
}

@media only screen and (max-width: 992px) {
  #header {
    padding: 10px 0px;
  }

  .saSwiper {
    .salist {
      flex-wrap: nowrap !important;
    }
    .swiper-slide {
      padding: 20px 0px;
    }
    .icons {
      width: 100% !important;
      box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px !important;
    }
  }

  .why-us {
    padding: 40px 0px;
    #subjectarea {
      margin: 0px;
    }
  }

  .sec_5 {
    padding: 30px 0px;
    h2 {
      font-size: 16px !important;
      margin-bottom: 20px !important;
    }
  }

  .sec_8 {
    .main-img {
      width: 120px;
    }
  }

  .step {
    flex-direction: row !important;
    flex-wrap: wrap !important;
  }

  .step-card {
    margin: 0px auto;
    max-width: 300px;
    height: 300px !important;
    padding: 20px !important;
  }

  .test-section {
    padding: 50px 0px !important;
  }

}

@media only screen and (max-width: 768px) {
  #header {
    padding: 10px 20px !important;
  }

  .generic-modal {
    width: 60%;
  }

  #topbar {
    display: none !important;
  }
  #header {
    top: 0px;
  }
  .home-slider {
    margin-top: 40px !important;
  }

  .counts .count-box img {
    width: 80px;
    height: 80px;
  }

  .serviceSwiper {
    .swiper-button-next,
    .swiper-button-prev {
      display: none;
    }
  }
}

@media only screen and (max-width: 576px) {
  h1 {
    font-size: 30px !important;
  }

  h2 {
    font-size: 24px !important;
  }

  h3 {
    font-size: 20px !important;
  }

  .counts .count-box {
    font-size: 20px;
    img {
      width: 50px;
      height: 50px;
    }
    span {
      font-size: 20px !important;
    }
  }

  #hero {
    h1 {
      margin-bottom: 5px;
    }
    h2 {
      font-size: 14px !important;
    }

    .carousel-control-next,
    .carousel-control-prev {
      display: none !important;
    }
  }

  .serviceSwiper {
  }
  .swiper-slide {
    padding: 0px 10px;
  }

  .generic-modal {
    width: 90%;
  }
}
