/* File: freight-agency/assets/css/footer.css */

footer .footer-content {
  padding: 35px 0 40px;
  background-color: var(--color-secondary);
  color: #fff;
}

footer .footer-content .top-line {
  display: flex;
  justify-content: space-between;
  position: relative;
}

footer .footer-content .top-line::after {
  content: '';
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
}

/* Subscribe Form */
footer .footer-content .top-line .subscribe-form form {
  display: flex;
  align-items: flex-start;
}

footer .footer-content .top-line .subscribe-form form label {
  font-weight: 700;
  font-size: 1.125rem; /* 18px */
  max-width: 335px;
  margin-right: 23px;
}

footer .footer-content .top-line .subscribe-form form input[type='email'] {
  padding: 15px 17px;
  width: 338px;
  height: 50px;
  background: #ffffff;
  border: 1px solid #a2a2a2;
  margin-right: 20px;
}

footer .footer-content .top-line .subscribe-form form input[type='email'].error {
  border: 2px solid #f00;
}

footer .footer-content .top-line .subscribe-form form input[type='submit'] {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: start-end;
  padding: 16px 30px;
  background: var(--color-primary);
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  color: #ffffff;
  cursor: pointer;
  border: 1px solid var(--color-primary);
  border-radius: 0;
  max-height: 50px;
  transition: 0.4s;
}

footer .footer-content .top-line .subscribe-form form input[type='submit']:hover {
  color: var(--color-primary);
  background: transparent;
}

footer .footer-content .top-line .subscribe-form .answer-handler {
  padding-top: 10px;
}

footer .footer-content .top-line .subscribe-form .answer-handler.success {
  color: #0f0;
}

footer .footer-content .top-line .subscribe-form .answer-handler.error {
  color: #f00;
}

/* Footer Bottom Line */
footer .footer-content .bottom-line {
  margin-top: 45px;
  display: flex;
  justify-content: space-between;
  gap: 70px;
}

footer .footer-content .bottom-line .left-grey-line {
  position: relative;
}

footer .footer-content .bottom-line .left-grey-line:after {
  content: '';
  height: 77%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  position: absolute;
  left: -30px;
  top: 30px;
}

footer .footer-content .bottom-line .bottom-grey-line {
  position: relative;
}

footer .footer-content .bottom-line .bottom-grey-line:after {
  content: '';
  height: 1px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  position: absolute;
  left: 0px;
  bottom: -15px;
}

footer .footer-content .bottom-line h3 {
  font-weight: 700;
  font-size: 1.125rem; /* 18px */
  line-height: 1.3;
  color: var(--color-primary);
}

footer .footer-content .bottom-line .about-us {
  font-weight: 700;
  font-size: 1.125rem; /* 18px */
  line-height: 1.3;
  flex: 0 0 43%;
  max-width: 420px;
  position: relative;
}

footer .footer-content .bottom-line .about-us p {
  font-weight: 400;
  font-size: 1rem; /* 16px */
  line-height: 1.4;
  margin-top: 25px;
  margin-bottom: 35px;
}

footer .footer-content .bottom-line ul.social-networks {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
  gap: 18px;
}

footer .footer-content .bottom-line ul.social-networks a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
  transition: 0.4s;
}

footer .footer-content .bottom-line ul.social-networks a:hover {
  opacity: 1;
}

footer .footer-content .bottom-line ul.social-networks i {
  font-size: 1.25rem; /* 20px */
  line-height: 1;
}

footer .footer-content .bottom-line .footer-menu {
  width: 270px;
  flex: 1;
}

footer .footer-content .bottom-line .footer-menu ul {
  list-style-type: none;
  padding-left: 0;
  margin-left: 0;
  margin-top: 32px;
}

footer .footer-content .bottom-line .footer-menu ul li {
  margin-bottom: 7.5px;
}

footer .footer-content .bottom-line .footer-menu ul li a {
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem; /* 14px */
  line-height: 1.4;
  transition: 0.4s;
}

footer .footer-content .bottom-line .footer-menu ul li a:hover {
  color: var(--color-primary);
}

footer .footer-content .bottom-line .contacts-wrapper {
  padding-top: 10px;
  flex: 2;
  margin-left: 25px;
}

footer .footer-content .bottom-line .contacts-wrapper .contact-block h3 {
  margin-top: 20px;
}

footer .footer-content .bottom-line .contacts-wrapper a {
  color: #fff;
  font-size: 0.875rem; /* 14px */
  transition: 0.4s;
}

footer .footer-content .bottom-line .contacts-wrapper a:hover {
  color: var(--color-primary);
}

footer .footer-content .bottom-line .contacts-wrapper p {
  margin: 0;
  font-size: 0.875rem; /* 14px */
}

footer .orange-line {
  height: 41px;
  background-color: var(--color-primary);
}