.footer5 {
  padding: 3rem 5%;
  background-color: #f9f9f9;
  font-family: Arial, sans-serif;
  color: #333;
}

.footer5 h2, .footer5 h3 {
  font-weight: 600;
}

.footer5-newsletter {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.footer5-form {
  display: flex;
  gap: 0.5rem;
}

.footer5-form input {
  flex: 1;
  padding: 0.5rem;
}

.footer5-form button {
  padding: 0.5rem 1rem;
  background-color: #333;
  color: #fff;
  border: none;
  cursor: pointer;
}

.footer5-grid {
  display: grid;
  gap: 2rem;
}

.footer5-col ul {
  list-style: none;
  padding: 0;
}

.footer5-col ul li a {
  text-decoration: none;
  color: #333;
  display: block;
  padding: 0.25rem 0;
}

.footer5-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
}

.footer5-bottom-links, .footer5-social {
  display: flex;
  gap: 1rem;
}

.footer5-social a {
  font-size: 1.5rem;
}

/* Responsive */
@media(min-width:768px){
  .footer5-newsletter {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .footer5-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .footer5-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
