footer {
  background-color: #f4f4f4;
  color: #00072D;
  padding: 20px 10%;
  font-size: 14px;
}

/* Footer Container */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
  margin-bottom: 10px;
}

/* Left Section */
.footer-left {
  flex: 1;
  text-align: left;
}

.footer-logo {
  width: 120px;
  margin-bottom: 10px;
}

.footer-left p {
  line-height: 1.5;
  font-size: 14px;
}

.footer-left a {
  color: #00072D;
  text-decoration: none;
}

.footer-left a:hover {
  text-decoration: underline;
}

/* Center Section (Partner Logos) */
.footer-center {
  flex: 1;
  display: flex;
  justify-content: space-evenly; /* Distributes logos evenly */
  align-items: center;
  gap: 15px; /* Reduced space between logos */
  flex-wrap: nowrap; /* Prevents wrapping to a new line */
}

.partner-logo {
  max-height: 70px; /* Slightly smaller to fit all in one row */
  width: auto;
  max-width: 180px; /* Prevents overly wide logos */
}

.large-logo {
  max-height: 90px; 
  max-width: 220px;
}

/* Right Section */
.footer-right {
  flex: 1;
  text-align: right;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: #666;
  margin-top: 10px;
}

.footer-bottom a {
  color: #00072D;
  text-decoration: none;
  margin: 0 5px;
}

.footer-bottom a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) { 
  .footer-container {
    flex-direction: column; /* Stack elements vertically */
    align-items: center;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    text-align: center; /* Center text */
    flex: unset; /* Remove flex constraints */
  }

  .footer-center {
    flex-wrap: wrap; /* Allow logos to wrap */
    justify-content: center; /* Center logos */
    gap: 10px; /* Reduce gap */
  }

  .partner-logo {
    max-height: 50px; /* Reduce logo size */
    max-width: 150px;
  }

  .large-logo {
    max-height: 70px;
    max-width: 180px;
  }
}