.sev__container {
  min-height: 95vh;
  background-image: url("../assets/images/wel.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  justify-content: center;
}

.sev__container > h1 {
  font-size: 5rem;
  text-shadow: 2px 2px 8px #000000;
}

.service-cards {
  position: absolute;
  top: 80%;
  margin-top: 1rem;
  padding: 1rem 0;
}

.card__holder {
  gap: 20px;
  width: 80%;
  margin: 0 auto;
  padding-top: 1rem;
}

.card {
  flex-direction: column;
  background-color: #547473;
  color: white;
  padding: 20px;
  padding-top: 2rem;
  border-radius: 10px;
  text-align: center;
  width: calc(100% / 3);
  height: 250px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  z-index: 1;
}

.card h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.card button {
  background-color: #fff;
  color: #000;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 20px;
  transition: background-color 0.3s, color 0.3s;
}

.card button a {
  color: #000;
}

.card button:hover {
  background-color: #397fc8;
  color: white;
  border-color: #397fc8;
}

.card:hover {
  transform: translateY(-10px);
}

.filler {
  background-color: transparent;
  height: 230px;
}

.more-text {
  margin-top: 1rem;
  background-color: #93b8ab;
  padding: 2rem;
}

.more-text > p {
  color: #000;
  line-height: 1.6rem;
}

.ser > h2 {
  color: #000;
  text-align: center;
}

.ser__buttons {
  margin: 1rem;
  justify-content: center;
  gap: 2rem;
}

.ser__buttons > button {
  padding: 0.5rem 1rem;
  width: fit-content;
}

.ser__buttons > button:not(:last-child) > a {
  color: #000;
}

.ser__buttons > button:last-child > a {
    color: #ffffff;
  }

.but {
  background-color: #397fc8;
}

@media (max-width: 48em) {
  .flex {
    flex-wrap: wrap;
  }

  .dis,
  .more-text > p > span {
    display: none;
  }

  .dis,
  .more-text > p {
    text-align: center;
  }

  .card {
    width: 100%;
  }

  .ser__buttons > button {
    width: calc(100% / 3);
  }

  .service-cards {
    top: 86%;
  }

  .sev__container > h1 {
    font-size: 3rem;
  }

  .card__holder {
    justify-content: center;
  }
}

@media (min-width: 48em) and (max-width: 64em) {
  .card {
    height: 350px;
  }

  .ser > h2 {
    margin-top: 2rem;
  }
}
