.services__container {
  margin-top: 80px;
  margin-bottom: 80px;
}

.services__heading-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.services__cards-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 30%);
  justify-content: space-between;
  row-gap: 35px;
}

.services__card {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 3px 35px 0px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease-in-out;
}

.services__card:hover {
  box-shadow: 0px 3px 35px 0px rgba(0, 0, 0, 0.2);
}

.services__card-img-wrapper {
  width: 100%;
  aspect-ratio: 10 / 6;
  position: relative;
}

.services__card-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: normal;
  position: relative;
  width: 100%;
  height: auto;
  padding: 6%;
}

.services__card-icon-wrapper {
  position: absolute;
  bottom: -10%;
  right: 10%;
  width: 25%;
  aspect-ratio: 1/1;

  border-radius: 10px;

  background-color: var(--color-secondary);
  -webkit-mask-size: contain;
  mask-size: contain;
}

.services__card-icon-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;

  background-color: var(--white);

  -webkit-mask: var(--icon-url) no-repeat center;
  -webkit-mask-size: 60%;

  mask: var(--icon-url) no-repeat center;
  mask-size: 60%;
}

.services__card-title {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-heading-dark);
  margin-bottom: 1rem;
}

.services__card-description {
  font-family: var(--font-default);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-paragraph);
}

.services__card-link {
  width: fit-content;
  font-size: 1rem;
  color: var(--color-secondary);
  margin-top: 20px;
  display: flex;
  align-items: center;
  column-gap: 10px;
  transition: all 0.3s ease-in-out;
}

.services__card-link::after {
  content: "\27F6";
  color: var(--color-secondary);
  transform: translateY(-2px);
}

.services__card-link:hover {
  text-decoration: none;
  transform: scale(1.05);
}

@media screen and (max-width: 1399px) {
}

@media screen and (max-width: 991px) {
  .services__cards-wrapper {
    grid-template-columns: repeat(2, 47%);
    row-gap: 35px;
  }
}

@media screen and (max-width: 767px) {
  .services__cards-wrapper {
    grid-template-columns: 90%;
    justify-content: center;
  }
}
