footer {
  background: linear-gradient(60deg, #2A3F54, #2A3F54);
  color: #43ab99;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  font-weight: bold;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h3 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
}

.footer-section img{
  margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
  color: #ffffff;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-section a:hover {
  color: #2c6297;
  text-decoration: underline;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #ffffff;
  margin-top: 20px;
  font-size: 0.85rem;
  color: #ffffff;
}

/* Estilos de los iconos de redes sociales */
.cardfooter {
  display: flex;
  flex-direction: row; /* Asegura que los íconos se alineen horizontalmente */
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 10px;
  background-color: transparent; /* Eliminamos el fondo para integrarlo mejor */
  box-shadow: none; /* Eliminamos la sombra para un diseño más limpio */
}

.socialContainer {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background-color: rgb(42, 61, 70);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition-duration: 0.3s;
}

/* Instagram */
.containerOne:hover {
  background-color: #d62976;
  transition-duration: 0.3s;
}

/* TikTok */
.containerTwo:hover {
  background-color: #25f4ee;
  transition-duration: 0.3s;
}

/* Facebook */
.containerThree:hover {
  background-color: #1877f2;
  transition-duration: 0.3s;
}

/* WhatsApp */
.containerFour:hover {
  background-color: green;
  transition-duration: 0.3s;
}

.socialContainer:active {
  transform: scale(0.9);
  transition-duration: 0.3s;
}

.socialSvg {
  width: 19px;
}

.largeIcon {
  width: 27px; /* Ancho específico para TikTok y Facebook */
}

.socialSvg path {
  fill: rgb(255, 255, 255);
}

.socialContainer:hover .socialSvg {
  animation: slide-in-top 0.3s both;
}

@keyframes slide-in-top {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Diseño responsivo */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-section {
    margin-bottom: 20px;
  }

  .cardfooter {
    flex-direction: row; /* Mantiene los íconos horizontales en pantallas pequeñas */
    justify-content: center;
    gap: 10px; /* Reduce el espacio en pantallas pequeñas */
  }

  .socialContainer {
    width: 40px; /* Reduce el tamaño en pantallas pequeñas */
    height: 40px;
  }

  .socialSvg {
    width: 16px; /* Ajusta el tamaño de los íconos */
  }

  .largeIcon {
    width: 20px; /* Ajusta el tamaño de los íconos grandes */
  }
}