.pricing {
  background-image: url(../img/fondo.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 50px 20px;
  text-align: center;
}

.pricing h2 {
  font-size: 2.5rem;
  color: #1e8a20;
  margin-bottom: 40px;
}

.pricing-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pricing-card {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #1e8a20, #1e90ff);
}

.pricing-card img.pricing-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

.popular-badge {
  background-color: #f70808;
  color: #fff;
  padding: 5px 10px;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 5px;
  position: absolute;
  top: 10px;
  left: 10px;
}

.pricing-card h3 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 10px;
}

.price {
  font-size: 2.5rem;
  color: #1e8a20;
  margin-bottom: 20px;
}

.pricing-card ul {
  list-style-type: disc;
  padding-left: 20px;
  text-align: left;
  font-size: 1rem;
  color: #555;
  margin-bottom: 30px;
}

.pricing-card ul li {
  margin-bottom: 10px;
}

.rating {
  font-size: 1.5rem;
  color: #ffcc00;
  margin-bottom: 20px;
}

.select-btn {
  background-color: #1e90ff;
  text-decoration: none;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.select-btn:hover {
  background-color: #1e70c2;
}

@media (max-width: 768px) {
  .pricing-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .pricing-card {
    width: 90%;
    max-width: 500px;
  }
}
