.wrapper {
  height: 100%;
  padding-top: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  gap: 2rem;
}

.wrapper h1 {
  font-size: 4rem;
}

.container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
  width: 80%;
}

.card {
  display: block;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  width: calc(33% - 1rem);
  overflow: hidden;
  border-radius: 1rem;
  background: #e6e6e6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.card img {
  width: 100%;
  padding: 1rem;
}

.card h3 {
  font-size: 1.3rem;
}

.card-text {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  line-height: 1.5;
}

.mobile-link {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  background: rgb(114, 8, 158);
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  text-align: center;
  display: none;
}

.card:hover {
  filter: brightness(85%);
  transform: scale(1.02);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  margin: 2rem 0;
}

.contact-block a {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  background: rgb(114, 8, 158);
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  text-align: center;
}

@media (max-width: 768px) {
  .wrapper {
    margin-top: 100px;
    height: 100%;
    padding-top: 60px;
  }

  .wrapper h1 {
    font-size: 2.5rem;
  }

  .container {
    flex-direction: column;
    padding: 1rem;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
  }

  .card {
    width: 100%;
    overflow: visible;
  }

  .card:hover {
    filter: none;
    transform: scale(1);
  }

  .mobile-link {
    display: block;
  }
}
