@media (max-width: 1399.98px) {

  html,
  body {
    font-size: 15px;
  }

  header .mid .navbar-nav {
    gap: 1.25rem;
  }
}

@media (max-width: 1199.98px) {

  html,
  body {
    font-size: 14px;
  }

  header .mid .navbar-nav {
    gap: 1rem;
  }

  .section-2 .swiper-control-btns {
    margin-top: 3.125rem;
    gap: 1.25rem;
  }

  .section-5 .pagination {
    padding-top: 1.875rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .section-5 .pagination .swiper-pagination-bullet {
    background-color: var(--theme-color-04);
    width: 10px;
    height: 10px;
    opacity: 1;
  }

  .section-5 .pagination .swiper-pagination-bullet-active {
    background-color: var(--theme-color);
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 991.98px) {

  html,
  body {
    font-size: 13px;
  }


  section {
    padding: 3.125rem 0;
  }

  header .top::after {
    right: 0;
    -webkit-transform: skewX(0);
    transform: skewX(0);
    border-right: 0;
  }

  header .mid .navbar {
    position: relative;
  }

  header .mid .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--main-color);
    padding: 0.625rem 1.25rem;
    height: auto;
    z-index: 11;
  }

  header .mid .navbar-nav .nav-link,
  header .mid .navbar-nav .dropdown-item,
  header .mid .navbar-nav .nav-link.show {
    color: #fff !important;
  }

  header .mid .navbar-nav .dropdown-menu {
    background-color: transparent;
    border: 0;
    padding: 0;
  }

  header .mid .navbar-nav .dropdown-item {
    font-size: 1rem;
  }

  .section-1 .section-content {
    padding-bottom: 1.875rem;
  }

  .section-2 .section-content,
  .section-5 .section-content,
  .section-6 .section-content {
    padding-top: 1.875rem;
  }

  .news-item {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
  }

  .news-item .img {
    max-width: 68.2%;
    min-width: 68.2%;
  }

  .news-item .time {
    padding: 1.75rem;
  }

  .news-item .news-content {
    text-align: center;
  }

  #about .about-1 {
    padding-bottom: 0;
  }

  #about .about-3 .about-3-wrapper {
    display: grid;
    grid: auto/repeat(12, 1fr);
    gap: 1.875rem;
  }

  #about .about-3 .about-3-wrapper .section-title {
    grid-column: 1 / 13;
    grid-row: 1/2;
  }

  #about .about-3 .about-3-wrapper .about-gallery {
    grid-column: 1/13;
    grid-row: 2/3;
  }

  #about .about-3 .about-3-wrapper .about-thumbs {
    grid-column: 1/13;
    grid-row: 3/4;
  }

  #about .about-4 ul {
    padding: 0 !important;
    display: grid;
    grid: auto/repeat(2, 1fr);
    gap: 0;
  }

  #about .about-4 ul li {
    width: 100%;
    padding: 0;
    padding: 2.5rem 2rem;
  }

  #about .about-4 ul li .box {
    padding-bottom: 0 !important;
  }

  #about .about-4 ul li:not(:nth-child(3n+1))::after {
    display: none;
  }

  #about .about-4 ul li:nth-child(n+4) .box {
    border-top: 0;
    padding-top: 0;
  }

  #knowledge .knowledge-2 .container::after {
    display: none;
  }

  #knowledge .knowledge-2 .special-title {
    font-size: 1.875rem;
    line-height: 1.3;
    font-weight: 700;
    color: #000;
    text-transform: capitalize;
    text-shadow: 3px 4px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
    writing-mode: horizontal-tb;
    padding: 0;
    letter-spacing: 0;
    text-align: center;
  }

  #knowledge .knowledge-2 .list {
    margin-top: 1.875rem;
  }

  #knowledge .knowledge-4 {
    text-align: center;
  }

  #knowledge .knowledge-4 .section-title {
    padding-right: 0;
  }

  header .mid .navbar-nav .dropdown-item:hover {
    background-color: transparent;
  }

  .dropdown-submenu>.dropdown-menu {
    display: block !important;
    padding-left: 0.75rem !important;
  }

  .dropdown-submenu>.dropdown-item.dropdown-toggle::after {
    display: none;
  }
}

@media (max-width: 767.98px) {

  html,
  body {
    font-size: 13px;
  }

  .section-5 .section-title p,
  .section-6 .section-title p {
    border-left: 0;
  }

  footer {
    padding-top: 2.5rem;
  }

  footer .copyright {
    margin-top: 2.5rem;
  }

  #about .about-4 ul {
    grid: auto/repeat(1, 1fr);
  }

  #knowledge .knowledge-2 .list .item {
    grid: auto/1fr;
  }
}

@media (max-width: 575.98px) {

  html,
  body {
    font-size: 12px;
  }

  .news-item .img {
    max-width: 100%;
    min-width: 100%;
  }

  #inquery-form {
    padding: 2.5rem 1.25rem 1.25rem;
  }

  #contact .contact-3 .contact-info dl {
    width: 100%;
  }

  #contact .contact-3 .contact-info dl:nth-child(n+2) {
    margin-top: 1.75rem;
  }
}