.home-service-category {
  background-color: var(--color-secondary-1);
}

.home-service-category > .container {
  padding-top: 60px;
  padding-bottom: 60px;
}

.home-service-category-item {
  background-color: #fff;
  border-radius: 40px;
  gap: 24px;
  padding: 24px 60px;
  display: flex;
  box-shadow: 0 20px 40px #0000001a;
}

.home-service-category-item > a {
  flex-direction: column;
  flex: 1 0 0;
  align-items: center;
  gap: 16px;
  display: flex;
}

.home-service-category-item > a > img {
  width: 60px;
  transition: filter .3s;
}

.home-service-category-item > a > h4 {
  text-align: center;
  transition: color .3s;
}

.home-service-category-item > a:hover > h4 {
  color: var(--color-primary-2);
}

.home-service-category-item > a:hover > img {
  filter: brightness(1.5);
}

@media screen and (max-width: 1023px) {
  .home-service-category-item {
    padding: 24px;
  }
}

@media screen and (max-width: 767px) {
  .home-service-category-item {
    flex-wrap: wrap;
  }

  .home-service-category-item > a {
    flex: 1 0 calc(33.3333% - 16px);
  }
}

@media screen and (max-width: 575px) {
  .home-service-category > .container {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .home-service-category-item {
    border-radius: 20px;
    padding: 12px;
  }

  .home-service-category-item > a {
    gap: 8px;
  }

  .home-service-category-item > a > img {
    width: 40px;
  }
}