.footer-section {
  margin-top: 100px;
  background-image: url("../img/bg1.png");
  background-color: #111827;
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
  text-align: center;
}

.footer-left, .footer-middle, .footer-right {
  flex: 1 1 250px;
  max-width: 300px;
}

.footer-left img {
  width: 100px;
  margin: 5px;
}

.footer-left p {
  font-size: 14px;
  line-height: 1.6;
  color: #d1d5db;
  text-align: left;
  margin: 10px 0;
}

.footer-left > p:last-of-type {
  color: white;
  font-weight: bold;
  margin-top: 15px;
}

.social-icons {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 10px;
}

.social-icons a img {
  width: 20px;
  height: 20px;
}

.footer-middle h3, .footer-right h3 {
  margin-bottom: 10px;
  color: white;
}

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

.footer-middle ul li {
  margin-bottom: 8px;
}

.footer-middle ul li a {
  text-decoration: none;
  color: #d1d5db;
  font-size: 14px;
  transition: color 0.3s ease;
  cursor: pointer;
}

.footer-middle ul li a:hover {
  color: #a3c644;
}

.subscribe-form {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-top: 10px;
}

.footer-right input {
  flex: 1;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #374151;
  background: #1f2937;
  color: white;
}

.footer-right button {
  padding: 8px 12px;
  background-color: #a3e635;
  border: none;
  color: black;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
}

.footer-right button:hover {
  background-color: #84cc16;
}

.footer-contact {
  text-align: left;
  margin-top: 15px;
  font-size: 13px;
}

.footer-contact a {
  color: #d1d5db;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #a3c644;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid #374151;
  font-size: 13px;
  color: #9ca3af;
}

/* Tablet (<= 768px) */
@media (max-width: 768px) {
  .footer-section {
    gap: 30px;
    padding: 30px 15px;
  }

  .subscribe-form {
    flex-direction: column;
    align-items: center;
  }

  .footer-right input {
    width: 100%;
  }

  .footer-right button {
    width: 100%;
  }

  .footer-contact {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

/* Mobile (<= 480px) */
@media (max-width: 480px) {
  .footer-left img {
    width: 80px;
  }

  .footer-middle ul li a {
    font-size: 13px;
  }

  .footer-contact {
    font-size: 12px;
  }
}
