#footer {
  background: var(--color-main);
  color: var(--color-white);
  font-size: 14px;
}

#footer .footer-top {
  padding: 120px 0 90px;
}

#footer .footer-logo {
  width: 168px;
  margin-bottom: 36px;
}

#footer .footer-brand h3 {
  margin: 0 0 28px;
  max-width: 353px;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-white);
}

#footer .footer-subscribe {
  width: 100%;
  max-width: 379px;
  min-height: 47px;
  padding: 5px 5px 5px 20px;
  border-radius: 100px;
  border: 0.5px solid #646464;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#footer .footer-subscribe input {
  border: 0;
  background: transparent;
  width: 100%;
  font-size: 15px;
  color: var(--color-main);
  outline: none;
}

#footer .footer-subscribe input::placeholder {
  color: var(--color-main);
}

#footer .footer-subscribe button {
  border: 0;
  width: 114px;
  height: 37px;
  border-radius: 100px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 16px;
  line-height: 1;
  letter-spacing: -1px;
  transition: all 0.3s ease;
}

#footer .footer-subscribe button:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

#footer .social-links {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

#footer .social-links a {
  width: 40px;
  height: 40px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  background: rgba(var(--color-white-rgb), 0.1);
  border: 1px solid rgba(var(--color-white-rgb), 0.24);
  font-size: 20px;
  transition: all 0.3s ease;
}

#footer .social-links a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

#footer .footer-location h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 15px;
  font-size: 17px;
  font-weight: 400;
  color: var(--color-white);
}

#footer .footer-location h4 i {
  width: 28px;
  height: 28px;
  border-radius: 100px;
  border: 1px solid rgba(var(--color-white-rgb), 0.24);
  background: rgba(var(--color-white-rgb), 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

#footer .footer-location h5,
#footer .footer-links h5 {
  margin: 0 0 15px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(var(--color-white-rgb), 0.5);
}

#footer .footer-location p {
  margin: 0 0 15px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-white);
}

#footer .footer-location p a {
  color: var(--color-white);
}

#footer .footer-location p a:hover {
  color: var(--color-primary-light);
}

#footer .footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#footer .footer-links ul a {
  color: var(--color-white);
  font-size: 14px;
  line-height: 1.5;
}

#footer .footer-links ul a:hover {
  color: var(--color-primary-light);
}

#footer .footer-bottom {
  margin-top: 36px;
  padding-top: 4px;
}

#footer .copyright {
  font-size: 14px;
  color: var(--color-white);
}

#footer .footer-legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 24px 40px;
}

#footer .footer-legal a {
  color: var(--color-white);
  font-size: 14px;
  line-height: 1.5;
}

#footer .footer-legal a:hover {
  color: var(--color-primary-light);
}

@media (max-width: 991px) {
  #footer .footer-top {
    padding: 72px 0 54px;
  }

  #footer .footer-brand h3 {
    max-width: 100%;
    font-size: 42px;
  }

  #footer .footer-links {
    margin-top: 10px;
  }
}

@media (max-width: 767px) {
  #footer .footer-brand h3 {
    font-size: 34px;
  }

  #footer .footer-subscribe {
    max-width: 100%;
  }

  #footer .footer-bottom {
    margin-top: 20px;
  }

  #footer .footer-legal {
    justify-content: flex-start;
    gap: 10px 24px;
  }
}
