/* Footer Base */
.footer {
  background: #000;
  color: #fff;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: #fff;
}

/* Top Section */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-logo img {
  max-width: 150px;
}

.footer-socials a {
  margin: 0 8px;
  font-size: 20px;
  color: #ccc;
}

.footer-socials a:hover {
  color: #fff;
}

/* Middle Section */
.footer-middle {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-links {
  margin: 20px;
  min-width: 150px;
}

.footer-links h4 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin: 5px 0;
}

/* Newsletter */
.footer-newsletter {
  margin: 20px;
  max-width: 250px;
}

.footer-newsletter h4 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
}

.footer-newsletter form {
  display: flex;
}

.footer-newsletter input {
  padding: 8px;
  border: none;
  border-radius: 4px 0 0 4px;
  outline: none;
  flex: 1;
}

.footer-newsletter button {
  padding: 8px 12px;
  border: none;
  background: #222;
  color: #fff;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.footer-newsletter button:hover {
  background: #444;
}

/* Bottom Section */
.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 20px;
  padding-top: 10px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  margin-left: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-top,
  .footer-middle,
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-newsletter form {
    justify-content: center;
  }

  .footer-bottom-links {
    margin-top: 10px;
  }
}
