/* Footer */
footer {
  background-color: white;
  padding: 40px 20px;
}

.footer-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  flex: 1 1 250px;
}

.footer-col h4 {
  font-family: "CMU Serif", serif;
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #8e7cc3;
}

.footer-col a {
  display: block;
  margin-bottom: 8px;
  color: #4a4a4a;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #8e7cc3;
}

.footer-bottom {
  text-align: center;
  margin-top: 24px;
  font-size: 0.875rem;
  color: #888;
  padding-top: 20px;
  border-top: 1px solid #eaeaea;
}

/* Social Icons in Footer */
.social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.social-icons img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: opacity 0.2s;
}

.social-icons a:hover img {
  opacity: 0.8;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
  }

  .footer-col {
    flex: 1 1 100%;
  }

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