.footer {
  background-color: #0c1e3c;
  color: white;
  font-family: 'Roboto', sans-serif;
  padding-top: 4rem;
}

/* Newsletter */
.newsletter {
  background-color: #fbfafa09;
  padding: 2rem;
  max-width: 90%;
  margin: -3rem auto 3rem auto;
  border-radius: 10px;
  text-align: center;
}

.newsletter h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.newsletter-form input {
  padding: 0.8rem 1rem;
  border-radius: 30px;
  border: none;
  font-size: 1rem;
  flex: 1;
  min-width: 250px;
}

.newsletter-form button {
  background-color: white;
  color: #3c5eff;
  border: 2px solid white;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.newsletter-form button:hover {
  background-color: #fff;
}

/* Footer grid */
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 2rem 1rem;
  gap: 2rem;
}

.footer-column {
  flex: 1 1 220px;
  max-width: 250px;
}

.footer-column > p {
  text-align: justify;
}

.footer-column > h3{
  margin-bottom: 20px;
}

.footer-logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.footer-logo span {
  color: #60D669;
}

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

.footer-column ul li {
  margin: 0.5rem 0;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form {
  display: flex;
  margin-top: 1rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.contact-form input {
  flex: 1;
  padding: 0.6rem;
  border-radius: 5px;
  border: none;
}

.contact-form button {
  background-color: #14e014;
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid #273a5c;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer-right a {
  color: white;
  margin-left: 1rem;
  text-decoration: none;
}

.footer-right a:hover {
  text-decoration: underline;
}

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .footer-right a {
    margin-left: 0.5rem;
  }
}
