.footer-icons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  height: fit-content;
}

.footer-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem;
  max-width: 320px;
}

.footer-icon img {
  height: 3rem;
}

.footer-icon-bold {
  font-weight: 500;
  font-size: 17px;
  text-align: center;
}

.footer-icon-light {
  font-weight: 400;
  font-size: 15px;
  text-align: center;
  color: #888888;
}

.footer-manufacturers {
  padding-top: 3.5rem;
  padding-bottom: 2rem;
  padding-left: calc((100% - 95%) / 2);
  padding-right: calc((100% - 95%) / 2);
  background: #ffffff;
}

.footer-manufacturers-inner {
  width: 100%;
  margin: 0 auto;
}

.footer-manufacturers-title {
  margin: 0 0 2rem;
  color: #111111;
  font-size: 1.9rem;
  font-weight: 400;
  text-align: center;
  line-height: 1.2;
}

.footer-manufacturers-title strong {
  font-weight: 700;
}

.footer-manufacturers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.footer-manufacturer-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  padding: 1rem;
  border: 1px solid #d6e1ef;
  border-radius: 8px;
  background: #ffffff;
}

.footer-manufacturer-card a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-manufacturer-card img {
  display: block;
  max-width: 100%;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.footer-wrapper {
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  background: #F0F4F6;
}

.footer-logo {
  max-width: 100%;
  width: 70%;
  margin-bottom: 1.5rem;
}

.footer-column-title {
  color: black;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 18px;
}

.footer-column-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-under {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid #dadada;
}

.footer-under-col p {
  font-weight: 500;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.footer-under-col img {
  max-width: 100%;
}

.footer-under-social {
  display: flex;
  gap: 1rem;
}

.footer-under-social img {
  width: 2rem;
}

.footer-signature {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.footer-newsletter-wrapper {
  background-size: cover;
  padding: 2rem;
  color: white;
}

.footer-newsletter-title {
  font-weight: 700;
  font-size: 30px;
  margin-top: 1rem;
}
.footer-newsletter-wrapper form {
  margin-top: 1rem;
}

.footer-newsletter-wrapper input {
  padding: 1rem 1rem;
  border-radius: 1rem;
  font-family: inherit;
}

.footer-newsletter-wrapper button {
  padding: 0.9rem 2rem;
  border-radius: 1rem;
  font-family: inherit;
}

.footer-newsletter-wrapper input[type="email"] {
  border: none;
  outline: none;
  margin-bottom: 0.5rem;
}

.footer-newsletter-wrapper input[type="checkbox"] {
  margin-right: 0.5rem;
}

.footer-newsletter-wrapper input::placeholder {
  color: black;
}
#contactForm input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 8px;
  display: inline-block;
  box-sizing: border-box;
  background-color: transparent;
  border-radius: 5px;
  box-shadow: 0 0 0 1.5px white;
  cursor: pointer;
  position: relative;
}

#contactForm input[type="checkbox"]:checked {
  background-color: white;
}
#contactForm input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid black;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.footer-newsletter-wrapper label {
  font-size: 15px;
  top: -3px;
  position: relative;
}

.footer-newsletter-wrapper.mobile {
    display: none;
}

.footer-column-images {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-column-images img {
  max-width: 30%;
  max-height: 100px;
}

@media screen and (min-width: 1024px) {
  .footer-manufacturers {
    padding-top: 5rem;
    padding-bottom: 3rem;
    padding-left: calc((100% - 80%) / 2);
    padding-right: calc((100% - 80%) / 2);
  }

  .footer-manufacturers-title {
    margin-bottom: 2.5rem;
    font-size: 2.1rem;
  }

  .footer-manufacturers-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .footer-manufacturer-card {
    min-height: 96px;
    padding: 1.15rem 1rem;
  }

  .footer-manufacturer-card img {
    max-height: 42px;
  }

  .footer-icons {
    flex-direction: row;
    padding: 2rem calc((100% - 85%) / 2);
    margin-top: 3rem;
    margin-bottom: 3rem;
  }

  .footer-icon-seperator {
    align-self: stretch;
    width: 1px;
    background-color: #dadada;
  }

  .footer-wrapper {
    padding: 6rem calc((100% - 85%) / 2);
  }

  .footer-logo {
    width: 30%;
  }

  .footer-under {
    padding: 2rem calc((100% - 85%) / 2);
    flex-direction: row;
  }

  .footer-under-col.col-1 {
    width: 60%;
  }

  .footer-under-col.col-2 {
    width: 40%;
  }

  .footer-signature {
    padding: 2rem calc((100% - 85%) / 2);
  }

  .footer-newsletter-wrapper {
    padding: 6rem calc((100% - 80%) / 2) 6rem calc((100% - 40%) / 2);
  }

  .footer-newsletter-title {
    font-size: 36px;
  }

  .footer-newsletter-subtitle {
    font-size: 20px;
  }

  .footer-newsletter-wrapper input {
    font-size: 20px;
    border-radius: 0.5rem;
  }

  .footer-newsletter-wrapper button {
    font-size: 20px;
    border-radius: 0.5rem;
    margin-left: 30px;
  }

  .footer-newsletter-wrapper input[type="email"] {
    width: 60%;
  }

  .footer-newsletter-wrapper input[type="checkbox"] {
    margin-top: 1rem;
  }
}
@media screen and (max-width: 500px) {
  .footer-manufacturers {
    padding-top: 2.75rem;
  }

  .footer-manufacturers-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .footer-manufacturer-card {
    min-height: 78px;
    padding: 0.85rem;
  }

  .footer-manufacturer-card img {
    max-height: 34px;
  }

  .footer-newsletter-title {
    font-size: 25px;
  }
  .footer-newsletter-wrapper {
    padding: 1.5rem;
    min-height: 130vw;
    text-align: center;
  }

  .footer-newsletter-wrapper.mobile {
    display: block;
  }

  .footer-newsletter-wrapper.desktop {
    display: none;
  }
  .footer-newsletter-wrapper button {
    margin-bottom: 20px;
  }
  .footer-icons {
    padding: 3rem 0;
  }
  .footer-wrapper {
    padding: 3rem 1rem;
  }
  .footer-under {
    padding: 2rem 1rem;
  }
}
