/* General reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#white {
  width: 200px;
}

/* Body and general styles */
body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
}

/* Hero Section */
.hero-section {
  background: #00bcd4;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.download-btn {
  display: inline-block;
  width: 250px;
  height: 90px; /* Ajusta la altura para que coincida con la de los botones */
  overflow: hidden; /* Asegura que no se salga el contenido */
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  text-align: center;
  cursor: pointer; /* Hace que la imagen sea clickeable */
  margin: 10px; /* Añade espacio entre los botones */
}

.download-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Asegura que la imagen se ajuste completamente sin recortarse */
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.download-btn:hover img {
  transform: scale(1.05); /* Efecto de ampliación al hacer hover */
}

/* Estilos para el botón de Play Store */
.playstore {
  background-color: #000;
}

.playstore:hover {
  background-color: #000;
}

/* Estilos para el botón de App Store */
.appstore {
  background-color: #000;
}

.appstore:hover {
  background-color: #000;
}

/* Estilos para el botón Web */
.web {
  background-color: #000;
}

.web:hover {
  background-color: #000;
}

/* Media queries para pantallas más pequeñas (móviles y tabletas) */
@media (max-width: 768px) {
  .download-btn {
    width: 50%; /* Los botones ocuparán el 80% del ancho de la pantalla */
    height: 135px; /* Reducimos un poco la altura para que se vean mejor en pantallas pequeñas */
  }

  .download-buttons {
    display: flex;
    flex-direction: column; /* Los botones se apilan en lugar de estar en una fila */
    align-items: center; /* Centra los botones en la pantalla */
  }
}

@media (max-width: 480px) {
  .download-btn {
    width: 90%; /* Los botones ocuparán casi todo el ancho en pantallas más pequeñas */
    height: 60px; /* Reducimos aún más la altura */
  }
}

/* Features Section */
.features {
  display: flex;
  justify-content: space-around;
  padding: 40px 20px;
  background: #f4f4f4;
  flex-wrap: wrap;
}

.features h2 {
  text-align: center;
  width: 100%;
  margin-bottom: 30px;
}

.feature-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 30%;
  text-align: center;
  margin-bottom: 30px;
}

.feature-card h3 {
  margin-bottom: 15px;
  color: #00bcd4;
}

/* Testimonials Section */
.testimonials {
  background: #fff;
  text-align: center;
  padding: 40px 20px;
}

.testimonials h2 {
  margin-bottom: 30px;
}

.testimonial {
  background: #f4f4f4;
  padding: 20px;
  margin: 15px 0;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 20px;
}

.footer p {
  margin: 10px 0;
}

.footer a {
  color: #ff4081;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Responsive styles */

/* Para pantallas pequeñas (móviles) */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .download-btn {
    width: 80%;
    padding: 12px 25px;
  }

  .features {
    flex-direction: column;
    align-items: center;
  }

  .feature-card {
    width: 80%;
  }

  .testimonials {
    padding: 20px;
  }

  .testimonial {
    margin-bottom: 20px;
  }
}

/* Para pantallas muy pequeñas (móviles más pequeños) */
@media (max-width: 480px) {
  .hero-section {
    padding: 40px 20px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .footer p {
    font-size: 0.8rem;
  }
}
