.footer {
  background: #111; /* Consider adding --footer-bg: #111 */
  color: var(--text-muted, #ddd);
  padding: 70px var(--spacing-md) var(--spacing-sm);
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: var(--container-width);
  margin: auto;
}

.footer-col h3,
.footer-col h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.4rem;
  position: relative;
}

.footer-col h3::after,
.footer-col h4::after {
  content: '';
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #00bfff);
  display: block;
  margin-top: 6px;
  border-radius: var(--radius-sm);
}

.footer-col p,
.footer-col a {
  color: var(--text-muted, #bbb);
  font-size: 0.95rem;
  line-height: 1.6;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #00bfff;
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.footer-gallery img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.footer-gallery img:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.newsletter-form {
  display: flex;
  margin-top: 15px;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.newsletter-form input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
}

.newsletter-form button {
  padding: 10px 15px;
  border: none;
  background: var(--primary);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: #00bfff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #333; /* consider --border-color */
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: #888; /* consider --text-light */
}

.footer-socials a {
  margin: 0 8px;
  font-size: 1rem;
  color: var(--text-muted, #bbb);
  transition: color var(--transition), transform var(--transition);
}

.footer-socials a:hover {
  color: #00bfff;
  transform: translateY(-3px);
}

/* Scroll Animation for Footer Columns */
.footer-col {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.footer-col.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }

  .footer-gallery img {
    height: 60px;
  }
}
