.footer {
  background-color: #040354;
  color: #e5e5e5;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 0;
}

.footer-container {
  max-width: 1110px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.footer-logo-container {
  display: flex;
  flex-direction: column;
  justify-content: top;
  align-items: center;
}

.footer-logo-text {
  font-family: "EB Garamond", serif;
  font-size: 1.375rem;
  font-weight: 500;
  padding-top: 10px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 25px;
  margin-bottom: 30px;
}

.footer-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #d9d9d900;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  margin: 0;
  /* flex: 1 1 200px; */
  background-image: url("../assets/logos/UniversitySealWhite.png");
}

.footer-links {
  display: flex;
  justify-content: right;
  /* align-items: center; */
  gap: 40px;
  flex: 3 1 600px;
  flex-wrap: wrap;
}

.footer-links div {
  display: flex;
  flex-direction: column;
  padding: 0 10px;
  gap: 10px;
  min-width: 180px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 2.5;
}

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

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #ffffff;
  padding-top: 20px;
  font-size: 0.875rem;
  color: #ffffff;
}

@media (max-width: 950px) {
  .footer-top {
    flex-direction: column; 
    align-items: center;
    gap: 40px;
  }

  .footer-links {
    justify-content: center; 
    width: 100%;
    margin-top: 0;
    flex: none;
  }
}

@media (max-width: 650px) {
  .footer { 
    padding: 40px 0; 
  }
  
  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .footer-bottom {
    text-align: center;
    line-height: 1.5;
    padding: 20px 15px 0;
  }
}

@media (max-width: 480px) {
  .footer-links div {
    min-width: 100%;
  }
}