/* Sección de Contacto */
.contact {
  padding: 60px 20px;
  background-image: url(../img/fondo.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #f0f4f8;
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h2 {
  font-size: 2.5rem;
  color: #1e8a20;
  margin-bottom: 10px;
}

.contact-header p {
  font-size: 1.2rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.contact-image {
  width: 100%;
  max-width: 60%;
}

.contact-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-social {
  text-align: center;
}

.contact-social h3 {
  font-size: 2rem;
  color: #1e8a20;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Ajusta en pantallas pequeñas */
}

.social-icon {
  display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Estilos responsivos */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    text-align: center;
  }

  .contact-image {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .contact-social {
    max-width: 100%;
  }
}
