.services {
  background-color: #f1f1f1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding-bottom: 36px;
}

.services-item {
  display: flex;
  overflow: hidden;
  border: 1px solid rgb(212, 212, 212);
  background-color: white;
  border-radius: 16px;
  flex-direction: column;

  img {
    object-fit: cover;
    height: 350px;
  }
}

.service-items__container {
  max-width: 1440px;
  padding: 0 20px;
  width: 100%;
  gap: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.services-item_description {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 10px;

  div {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  span {
    font-size: 18px;
    color: rgb(68, 68, 68);
    font-weight: 300;
    line-height: 25px;
  }

  button {
    background-color: rgb(154, 22, 22);
    color: white;
    cursor: pointer;
    margin-top: 24px;
    border: none;
    outline: none;
    border-radius: 12px;
    padding: 12px;
    transition: all 0.3s;
  }

  button:hover {
    background-color: rgb(131, 16, 16);
  }
}

@media screen and (max-width: 1110px) {
  .services {
    height: auto;
  }

  .service-items__container {
    gap: 30px !important;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 1110px) {
  .service-items__container {
    grid-template-columns: 1fr;
  }
}
