 body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(to bottom right, #f0f8ff, #d1e7ff);
  color: #1f2937;
}

header {
  text-align: center;
  padding: 3rem;
  background-color: #1e3a8a;
  color: white;
  border-bottom: 4px solid #2563eb;
}

header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 2rem; /* Separa el título del texto secundario */
}

header p {
  font-size: 1.2rem;
  margin: 1rem auto;
  text-align: center; /* Centra el texto secundario */
}

header button {
  background-color: #2563eb;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 9999px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

header button:hover {
  background-color: #1e40af;
}

/* Imagen del encabezado */
.header-image {
  display: block;
  margin: 2rem auto;
  max-width: 100%;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
  margin: 0 auto;
  max-width: 1200px;
}

.feature-card {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.feature-card h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  margin: 0.5rem 0 0;
  color: #4b5563;
  line-height: 1.6;
}
/* Imagen de las características */
.feature-image {
  width: 100%;
  border-radius: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.contact {
  background-color: #1e40af;
  color: white;
  padding: 3rem;
  border-radius: 1rem;
  margin: 2rem auto;
  max-width: 1200px;
  text-align: center;
}

.contact h2 {
  font-size: 2.5rem;
}

.contact p {
  margin-top: 1rem;
  font-size: 1.2rem;
  line-height: 1.5;
}

.contact form {
  max-width: 600px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact input, .contact textarea {
  padding: 1rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.contact textarea {
  min-height: 150px;
}

.contact button {
  background-color: #2563eb;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact button:hover {
  background-color: #1d4ed8;
}
.whatsapp-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
  text-align: center;
}

.whatsapp-button {
  background-color: #25d366;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}

.whatsapp-icon {
  width: 35px;
  height: 35px;
}

.whatsapp-text {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
  background-color: #fff;
  padding: 5px 10px;
  border-radius: 10px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.whatsapp-text p {
  margin: 0;
}

.whatsapp-text p:first-child {
  font-weight: bold;
  color: #25d366;
}

.whatsapp-text:hover {
  background-color: #eafaf1;
  color: #25d366;
  cursor: pointer;
}
.message {
  margin-top: 10px;
  padding: 10px;
  border-radius: 5px;
  font-size: 14px;
  text-align: center;
  display: none; /* Ocultamos el mensaje inicialmente */
}

.message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

footer {
  text-align: center;
  padding: 2rem;
  background-color: #1e3a8a;
  color: white;
  margin-top: 2rem;
}

footer .footer-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

footer .footer-item svg {
  width: 1.5rem;
  height: 1.5rem;
}

footer p {
  font-size: 0.9rem;
}
html {
  scroll-behavior: smooth;
}
