.main-footer {
  background: linear-gradient(90deg, #058450 0%, #0a4d32 100%);
  border-radius: 50px 50px 0 0; /* Bordes redondeados superiores */
  padding: 40px 7% 20px;
  color: #ffffff;
  margin-top: -30px;
  z-index: 9999;
  position: relative;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.footer-logo {
  width: clamp(180px, 30vw, 400px);
  height: auto;
  margin-left: 0;
  display: block;
}

/* Contenedor de Iconos */
.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

/* Colores específicos para mejorar el diseño original */
.github-footer {
  background-color: #000000;
}
.linkedin-footer {
  background-color: #0077b5;
}
.email-footer {
  background-color: #ea4335;
}

.social-icon:hover {
  transform: translateY(-5px);
  filter: brightness(1.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Línea divisoria */
.footer-line {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
}

.footer-bottom p {
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: 300;
}

@media (max-width: 768px) {
  .main-footer {
    border-radius: 30px 30px 0 0;
    padding: 30px 20px 20px;
  }

  .footer-top {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 25px;
  }

  .footer-logo {
    width: 220px;
    max-width: 100%;
    margin: 0 auto;
  }

  .social-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .social-icon {
    width: 42px;
    height: 42px;
  }

  .social-icon svg {
    width: 24px;
    height: 24px;
  }

  .footer-bottom p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}
/* Ajuste para móviles */
@media (max-width: 480px) {
  .footer-logo {
    width: 180px;
  }

  .social-links {
    gap: 12px;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }

  .footer-bottom p {
    font-size: 0.8rem;
  }
}
