footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.95rem;
  color: #555;
  border-top: 1px solid #e0e0e0;
  background: #f9f9f9;
}
footer a {
  color: #0066cc;
  text-decoration: none;
  margin: 0 0.5rem;
}

footer p:first-of-type {
  font-size: clamp(0.85rem, 2.5vw, 1.1rem);
  text-align: center;
  font-weight: 500;
  margin: 1.5rem auto 0.5rem;
}

.tool-footer {
  background: #f9f9f9;
  padding: 2.5rem 1rem 1.5rem;
  border-top: 2px solid #e0e0e0;
  font-size: 0.95rem;
  color: #333;
}

.footer-sections {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-column {
  flex: 1;
  min-width: 220px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.footer-column:hover {
  transform: translateY(-2px);
}

.footer-column h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: #222;
}

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

.footer-column li {
  margin-bottom: 0.4rem;
}

.footer-column a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
}

.footer-column a:hover {
  text-decoration: underline;
  color: #000;
}

.footer-links {
  text-align: center;
  font-size: 0.85rem;
  color: #666;
  margin-top: 1rem;
}

.footer-links a {
  margin: 0 1rem;
  color: #666;
  text-decoration: none;
}

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

@media (max-width: 768px) {
  .footer-sections {
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    width: 100%;
    max-width: 400px;
  }

  .footer-links a {
    display: inline-block;
    margin: 0.5rem 0.75rem;
  }
}
