.service-grid {
  /* Eliminamos la propiedad display: grid */
  /* display: grid;
   *    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
   *    gap: 40px;
   *    margin-top: 40px; */
  margin-top: 40px;
  padding: 0 20px;
}

.service-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* display: flex;
   *     flex-direction: column;
   *     justify-content: space-between;
   *     height: 100%; */
  margin-bottom: 40px; /* Añadimos margen inferior para separar las tarjetas */
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
  color: #3498db;
  margin-bottom: 20px;
  font-size: 1.4em;
  font-weight: 500;
  line-height: 1.3;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
  text-align: center;
  min-height: 2.8em;
}

.service-card .price {
  color: #2c3e50;
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 25px;
}

.service-card p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 30px;
}

.service-card .fiverr-link {
  display: inline-block;
  background-color: #1abc9c;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  margin-top: 20px; /* Añadimos margen superior para separar del texto */
}

.service-card .fiverr-link:hover {
  background-color: #16a085;
}

.service-card .image-container {
  width: 100%;
  height: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card .image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.service-card h3 {
  display: none;
}

.service-card h3.translated {
  display: block;
}

@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  #fiverr-services h2{
  font-size: 2em;
  }
}
