/* footer.css */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

.footer {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #ffffff;
  color: #0052cc;
  padding: 56px 24px 32px;
  margin-top: auto;
  text-align: center;
  border-top: 1px solid #e5e7eb;
  padding: 14px 24px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  margin-bottom: 25px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
}

.footer-col {
  font-size: 14px;
}

.footer-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-subline {
  margin-top: 16px;
  color: #4b5563;
  line-height: 1.5;
}

.footer-contact-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #4b5563;
}

.footer-contact-text {
  text-align: center;
  line-height: 1.25;
}

.footer-contact-text a {
  color: #4b5563;
  text-decoration: underline;
}

.footer-contact-text a:hover {
  color: #2563eb;
}

.footer-heading {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 10px;
  justify-content: center;
}

.footer-social-icon {
  width: 20px;
  height: 20px;
}

.footer-divider {
  border-top: 1px solid #e5e7eb;
}

.footer-bottom {
  margin: 0 auto;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: #4b5563;
  text-align: center;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.footer-bottom-links a {
  color: #4b5563;
  text-decoration: underline;
}

.footer-bottom-links a:hover {
  color: #2563eb;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 40px 16px 28px;
  }

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

  .footer-bottom-links {
    justify-content: center;
  }
}