@media (max-width: 767px) {
    section.hero-video {
        height: initial;
    }
  .sr-block {
    min-width: 50%;
    margin-bottom: 30px;
  }
  .gallery-section .col-md-4 + .col-md-4,
  .highlight-section .col-md-3 + .col-md-3 {
    margin-top: 30px;
  }
  .tst-slider button.owl-prev {
    left: 0;
  }
  .tst-slider button.owl-next {
    right: 0;
  }
  .hg-text {
    width: 90%;
    padding: 30px 15px;
    gap: 10px;
  }
  .hg-text h1 {
    font-size: 22px;
  }
  .hg-text .btn-primary {
    padding: 8px 14px;
    font-size: 12px;
  }
  .tst-slider .owl-nav i.bi {
    font-size: 26px;
  }
  .tst-content h5 {
    font-size: 16px;
  }
  .ct-right {
    margin-top: 30px;
  }
  footer .col-md-5 {
    margin-top: 0 !important;
  }
  footer [class^="col-md-"] {
    margin-top: 30px;
  }
  .copy-footer p {
    font-size: 14px;
  }
  .ct-number h5 {
    margin: 0;
  }
  .hg-block h1 {
    opacity: 1;
  }
  .top-header ul.call-email li {
    font-size: 12px;
  }
  .top-header ul.call-email li + li {
    border: 0;
    padding: 0;
    margin: 0;
  }
  h1.main-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  ul.social-header {
    display: none;
  }
  .tp-container {
    justify-content: center;
  }
  .divider {
    margin-top: 20px;
  }

  footer .nav-item.mb-2:last-child {
    margin-bottom: 0 !important;
  }
  .icon-details {
    margin-bottom: 10px;
  }
  .highlight-section .col-md-6 + .col-md-6 {
    margin-top: 20px;
  }
  .hg-block h1 {
    font-size: 40px;
  }
  .sr-title {
    font-size: 16px;
  }
  .service-block {
    padding: 20px 10px;
    height: 170px;
  }
  .call-ct-text ul li {
    text-align: left;
  }
  .list-no {
    margin-bottom: 0;
  }
  ul.list-no li:last-child {
    margin-bottom: 0;
  }
  .grid-wrapper {
      grid-template-columns: repeat(auto-fit, minmax(48%, 1fr));
      grid-auto-rows: auto;
  }
}
@media (max-width: 768px) {
  .contact-info {
    margin-top: 35px;
  }
  .contact-banner {
    background-image: url("https://dummyimage.com/768x850/595959/c29a4a");
  }

  .gallery-banner {
    background-image: url("https://dummyimage.com/768x850/595959/c29a4a");
  }
  .internal-page-banner {
    height: 60vh;
  }
  .in-section {
    padding: 50px 0;
  }
  ul.list-no li {
    margin-bottom: 10px;
  }
  .ct-right {
    padding-left: 10px;
  }
  #service-carousel .item:not(:nth-child(-n + 2)) {
    margin-top: 20px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .highlight-section .col-md-6.col-lg-3:not(:nth-child(-n + 2)) {
    margin-top: 20px;
  }
  #service-carousel .item:not(:nth-child(-n + 3)) {
    margin-top: 20px;
  }
  .grid-wrapper {
      grid-auto-rows: auto;
  }
}

@media (min-width: 1200px) {
  .highlight-section .col-md-6.col-lg-3:not(:nth-child(-n + 4)) {
    margin-top: 20px;
  }
  /* #service-carousel .item {
    width: 20%;
  } */
  #service-carousel .item:not(:nth-child(-n + 4)) {
    margin-top: 20px;
  }
  /* #service-carousel .item:not(:nth-child(-n + 8)) {
    width: 20%;
  } */

  .sr-title {
    font-size: 16px;
  }
}

@media (min-width: 1200px) {
    .grid-wrapper {
        grid-auto-rows: 330px;
    }
}