/* Footer Styling */
.footer {
  background-color: #4b7f9f; /* Blue background */
  color: #ffffff; /* White text */
  padding: 40px 20px;
}

.footer-top {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  flex-wrap: wrap; /* Allow wrapping for smaller screens */
  gap: 20px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 200px; /* Adjust logo size */
}

.footer-partners h3,
.footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.footer-partners ul,
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-partners ul li,
.footer-links ul li {
  margin-bottom: 5px;
}

.footer-contact p {
  margin: 5px 0;
}

.footer-links ul li {
  display: block; /* Stack links vertically */
  margin-bottom: 10px; /* Add spacing between links */
  margin-right: 0; /* Remove right margin */
}

.footer-links ul li a {
  text-decoration: none;
  color: #ffffff;
}

.footer-links ul li a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  background-color: #205472; /* Darker blue strip */
  padding: 10px 0;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
  font-family: "CustomFont-Italic-Light";
  color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-top {
    gap: 10px; /* Reduce spacing for medium screens */
  }
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column; /* Stack elements vertically */
    text-align: center;
    align-items: center;
  }

  .footer-partners ul,
  .footer-links ul {
    text-align: center;
  }

  .footer-links ul li {
    display: block;
    margin-bottom: 10px;
  }

  .footer-logo img {
    width: 150px; /* Scale down logo for smaller screens */
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 20px 10px; /* Reduce padding for very small screens */
  }

  .footer-top {
    gap: 10px;
  }

  .footer-logo img {
    width: 120px; /* Further reduce logo size */
  }

  .footer-bottom {
    font-size: 0.8rem; /* Adjust font size */
  }
}
/* === Footer link colors and hover states (final) === */
.footer a {
  color: rgba(255, 255, 255, 0.9);   /* blanco matizado */
  text-decoration: none;             /* sin subrayado */
  transition: color 0.25s ease;
}

.footer a:hover {
  text-decoration: underline;
}
.footer a:focus {
  color: #e0f2ff;                    /* blanco azulado claro al pasar */
}