/* COLORS */
/* TYPOGRAPHY */
/* ---- MEDIA QUERIES ----- */
.services {
  background-color: #F2EEE9;
}
.services .heading {
  text-align: center;
}
.services .subheading {
  max-width: 55rem;
  text-align: center;
  font-size: 1.8rem;
  margin: 3.5rem auto 0;
}
.services .services-list {
  margin: 7rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.services .service-image img {
  width: 100%;
  height: auto;
  display: block;
}
.services .service-content {
  background-color: #fff;
  padding: 1.6rem 2.5rem;
  color: #09202E;
  transition: background-color 0.3s ease-in-out;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  height: fit-content;
}
.services .service-content .service-title {
  font-size: 1.8rem;
  margin: 0 0 0.65rem;
  font-weight: 700;
}
.services .service-content svg {
  transition: transform 0.3s ease-in-out;
}
.services .service {
  background-color: #fff;
}
.services .service.hidden {
  display: none;
}
.services .service:hover svg {
  transform: translateX(10px);
}
.services .service a {
  display: block;
  height: 100%;
}
.services .button-container {
  display: flex;
  justify-content: center;
  margin: 5rem 0 0;
}

@media (max-width: 1200px) {
  .services .services-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .services .subheading {
    font-size: 1.6rem;
    margin: 2.5rem auto 0;
  }
  .services .services-list {
    margin: 2.5em 0 0;
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .services .service-content {
    padding: 1.4rem 2.1rem;
  }
  .services .service-content .service-title {
    margin: 0 0 0.36rem;
  }
}