.footer {
  background-color: #082f47;
  font-family: sans-serif;
  letter-spacing: 0.05em;
}

.footer-content {
  padding: 4rem 1.5rem 3rem; /* slightly more breathing room */
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 3rem; /* more separation between columns */
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.footer-section h4 {
  font-size: 1.4rem; /* slightly smaller, more refined */
  font-weight: 600;
  margin-bottom: 1.25rem; /* less bottom gap */
  color: #ffffff;
  font-family: "EB Garamond", serif;
  position: relative;
}

/* subtle visual anchor under headers */
.footer-section h4::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.35);
  margin-top: 0.5rem;
}

.footer-section p {
  color: #d6e4ec; /* softer than pure white */
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: #d6e4ec;
  font-size: 0.875rem;
  text-decoration: none;
}

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

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

.footer-section ul li {
  margin-bottom: 0.6rem; /* tighter, cleaner lists */
}

.footer-bottom {
  padding: 2rem 0 1.25rem;
  text-align: center;
}

/* centered divider line */
.footer-bottom::before {
  content: "";
  display: block;
  height: 1px;
  width: min(640px, 70%);
  margin: 0 auto 1.25rem;
  background-color: rgba(255, 255, 255, 0.15);
}

.footer-bottom p {
  margin: 0 auto;
  max-width: none;
  color: #c5d8e3;
  font-size: 0.8rem;
  line-height: 1.6;
}

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

.footer-contact .contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.875rem;
  color: #d6e4ec;
}

.contact-icon {
  line-height: 1.4;
}

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

.footer-contact .contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.875rem;
  color: #d6e4ec;
}

.contact-icon {
  line-height: 1.4;
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
  }
}
