.filter {
  list-style: none;
  display: flex;
  margin-left: 0;

  @media (max-width: 1200px) {
    flex-wrap: wrap;
  }

  @media (max-width: 767px) {
    flex-direction: column;
  }
}

.filter li {
  border: 1px solid #99c6c9;
  background-color: #fff;
  transition: background-color 0.3s ease;

  @media (max-width: 1200px) {
    flex: 0 0 25%;
  }

  @media (min-width: 1200px) {
    flex: 1 1 auto;
  }
}

.filter li:hover {
  background-color: #99c6c9;
}

.filter li.active {
  background-color: #99c6c9;
}

.filter li.active a {
  color: #3a4b6b;
}

.filter a {
  font-weight: 500;
  font-size: 16px;
  padding: 6px 30px;
  display: inline-block;
  height: 100%;
  width: 100%;

  @media (max-width: 1200px) {
    font-size: 14px;
    padding: 6px 15px;
  }
}

.filter a:hover {
  color: #3a4b6b;
}

.card-section6,
.card-section2,
.card-section8 {
  min-height: auto;
}

.card .card-section6,
.card .card-section2,
.card-section8 {
  display: flex;
  gap: 40px;
  padding: 0.75rem;

  @media (max-width: 767px) {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }
}

.card .card-section6 .img-block,
.card .card-section2 .img-block {
  flex: 0 0 auto;
}

.card .card-section6 .text-block,
.card .card-section2 .text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;

  @media (max-width: 767px) {
    align-items: center;
  }
}

.card .card-section6 p,
.card .card-section2 p {
  @media (max-width: 767px) {
    font-size: 16px;
  }
}

.service-block .scrollbox {
  @media (min-width: 768px) {
    height: 436px;
    overflow-y: scroll;
    scrollbar-width: none;
  }
}

.cards-list .card {
  box-shadow: 0 0 5px 5px rgba(10, 10, 10, 0.07);
}

.cards-list .cell {
  display: flex;
}

.cards-list .card-section3 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cards-list .card .button {
  margin-right: auto;
  border-bottom-right-radius: 35px;
}

.pagination {
  margin: 1.12286rem auto;

  @media print, screen and (min-width: 48em) {
    margin: 1.12286rem 1.07143rem;
  }
}

.pagination ul {
  margin: 0;
}

.pagination ul li {
  padding-left: 0;
  border-radius: 0;
  margin: 0;
  border-right: none;
}

.pagination ul li:last-child {
  border-right: 1px solid #99c6c9;
}

.pagination ul li:before {
  content: none;
}

.pagination li {
  border: 1px solid #99c6c9;
  background-color: #fff;
  transition: background-color 0.3s ease;
}

.pagination li.active a {
  background-color: #99c6c9;
}

.pagination a:hover {
  background-color: #99c6c9;
}

.pagination a {
  font-weight: 500;
  font-size: 16px;
  padding: 6px 15px;
  display: inline-block;
  height: 100%;
  border-radius: 0;
}

/* .scrollBoxHolder .grid-x {
    @media (min-width: 768px) {
    overflow: hidden; 
    max-height: 440px;
  }
} */