footer {
  color: #000;
  padding: 12px 4px;
  margin-top: 40px;
  border-top: 1px solid #ccc;
}

footer .footer-nav {
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding: 0 16px;
}

footer .footer-home {
  margin-bottom: 8px;
}
footer .footer-home a {
  color: #000;
  text-decoration: none;
}

footer .footer-home a:hover {
  text-decoration: underline;
}

footer .footer-section h4 {
  color: #000;
  font-size: 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid #555;
  padding-bottom: 4px;
}

footer .footer-section h4 a {
  color: #000;
  text-decoration: none;
}

footer .footer-section h4 a:hover {
  text-decoration: underline;
}

footer .footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

footer .footer-section ul li {
  background: none;
  padding: 0;
  border-radius: 0;
}

footer .footer-section ul li a {
  color: #000;
  text-decoration: none;
  font-size: 16px;
}

footer .footer-section ul li a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {

footer .footer-nav {
    gap: 16px;
}

footer .footer-home {
    width: 100%;
}

footer .footer-section {
    width: calc(50% - 8px);
}

footer .footer-home h4 {
    margin: 0;
    padding: 0;
    border-bottom: none;
}
}