/* Nuevo diseño del footer */
footer {
  background-color: #2c2c2c;
  background-image: url('../images/footer.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 50px 0 20px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 44, 44, 0.85);
  z-index: 1;
}

footer .container {
  position: relative;
  z-index: 2;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-brand h3 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 10px;
  color: #e0e0e0;
}

.footer-links h3 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-cert h3,
.footer-certifications h3 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #ffffff;
}

.qr-container {
  text-align: center;
}

.footer-cert .qr-code {
  width: 100px;
  height: 100px;
  background-color: white;
  padding: 5px;
  border-radius: 5px;
  margin-bottom: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.footer-cert p {
  font-size: 14px;
  line-height: 1.4;
  color: #e0e0e0;
  text-align: center;
}

/* Estilos para la sección de certificaciones */
.cert-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.cert-img {
  width: 60px;
  height: 60px;
  background-color: white;
  border-radius: 5px;
  padding: 5px;
  object-fit: contain;
  margin-bottom: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.cert-item:hover .cert-img {
  transform: scale(1.05);
}

.cert-item span {
  font-size: 12px;
  color: #e0e0e0;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #444;
  border-radius: 50%;
  color: white;
  transition: background-color 0.3s;
}

.social-links a:hover {
  background-color: #555;
}

/* Footer Bottom Bar - Nuevo diseño */
.footer-bottom-bar {
  background-color: #2c2c2c;
  background-image: url('../images/footer.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: 15px 0;
  text-align: center;
  position: relative;
}

.footer-bottom-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 44, 44, 0.9);
  z-index: 1;
}

.footer-bottom-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cert-logos {
  display: flex;
  gap: 15px;
}

.cert-logo {
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 5px;
  padding: 5px;
  object-fit: contain;
}

.copyright {
  font-size: 14px;
  color: #aaa;
  margin: 0;
}

/* Media query para dispositivos móviles */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-brand,
  .footer-links,
  .footer-cert,
  .footer-certifications {
    grid-column: span 1;
    text-align: center;
  }

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

  .footer-links ul {
    text-align: center;
  }

  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 300px;
    margin: 0 auto;
  }

  .footer-bottom-bar .container {
    flex-direction: column;
    gap: 15px;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}