.footer {
  background: #1f1f1f;
}

.logo-list {
  display: flex;
  align-items: center;
}

/* .logo-list li:last-child {
  padding-left: 25px;
  margin-left: 25px;
  border-left: 1px solid #ffffff;
} */

.footer-content {
  margin-top: 25px;
  padding-top: 45px;
  border-top: 1px solid #3a3a3a;
  max-width: 775px;
}
.footer-content p {
  color: #ffffff;
  font-size: 20px;
  line-height: 1.5;
}
.footer-content p a {
  font-weight: 600;
  color: #f50036;
}

.footer-top {
  padding: 50px 0 150px 0;
  position: relative;
}

.footer-bottom {
  border-top: 1px solid #3a3a3a;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: #d5d5d5;
}
.footer-bottom p a {
  color: #ffffff;
}

.footer-bottom ul {
  display: flex;
  align-items: center;
  column-gap: 25px;
}

.footer-bottom li a {
  color: #fff;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 50px;
  margin-top: 70px;
  max-width: 800px;
}
.contact-options li {
  color: #ffffff;
  padding-left: 70px;
}
.contact-options h5 {
  font-size: 24px;
  font-weight: 600;
  font-family: sans-serif;
}

.footer-bottom li a:hover,
.contact-options h5:hover {
  color: var(--color-primary);
}
.contact-options p {
  font-size: 16px;
  opacity: 0.6;
}

.contact-options li:nth-child(1) {
  background: url(../images/call.png) no-repeat;
}
.contact-options li:nth-child(2) {
  background: url(../images/tele.png) no-repeat;
}
.contact-options li:nth-child(3) {
  background: url(../images/pin.png) no-repeat;
}

.footer-form {
  width: 525px;
  background: #ffffff;
  padding: 50px;
  box-shadow: -12px -4px 31px #00000029;
  border-radius: 26px;
  position: absolute;
  right: 0;
  top: -40px;
}
.footer-form h5 {
  font-size: 30px;
  color: #1f1f1f;
  margin-bottom: 15px;
}
.footer-form p {
  color: #646464;
}
.footer-form ul {
  margin-top: 40px;
}
.footer-form li + li {
  margin-top: 20px;
}

.footer-form input {
  padding-bottom: 20px;
  border: none;
  width: 100%;
  border-bottom: 1px solid #00000029;
}

.footer-form li span {
  display: block;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: width 0.5s ease-in-out;
}

.footer-form input:focus + span {
  width: 100%;
  transform-origin: center;
}

.footer-form .submit-btn {
  display: inline-block;
  height: 60px;
  line-height: 60px;
  padding: 0 20px;
  color: #ffffff;
  font-weight: 600;
  border: none;
  font-size: 18px;
  text-transform: uppercase;
  background: var(--color-primary);
  overflow: hidden;
  border-radius: 6px;
  position: relative;
  z-index: 0;
}

.footer-form .submit-btn::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, #370ba5);
  transition: width var(--time) ease-in-out;
  z-index: -1;
}

.footer-form .submit-btn:hover::after {
  width: 100%;
}

.footer-form li {
  position: relative;
}
.footer-form li img {
  position: absolute;
  right: 0;
  top: 15px;
}

@media (max-width: 1600px) {
  .footer-form {
    width: 460px;
    padding: 40px;
  }
  .footer-content {
    margin-top: 20px;
    padding-top: 30px;
    max-width: 675px;
  }
  .footer-content p {
    font-size: 17px;
  }
  .contact-options {
    margin-top: 45px;
    max-width: 675px;
  }
  .contact-options h5 {
    font-size: 20px;
  }
}

@media (max-width: 1200px) {
  .footer-top {
    padding: 50px 0 50px 0;
  }
  .footer-form {
    width: 360px;
    padding: 30px;
    border-radius: 20px;
  }
  .footer-form h5 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  .footer-form ul {
    margin-top: 25px;
  }
  .footer-form li + li {
    margin-top: 12px;
  }
  .footer-form .submit-btn {
    height: 50px;
    line-height: 50px;
    padding: 0 14px;
    font-size: 15px;
  }
  .footer-content p {
    font-size: 15px;
  }
  .contact-options h5 {
    font-size: 16px;
  }
  .contact-options p {
    font-size: 14px;
  }
  .contact-options li {
    padding-left: 64px;
    background-size: 40px !important;
  }
  .contact-options {
    margin-top: 35px;
    max-width: 525px;
  }
}

@media (max-width: 860px) {
  .footer-form {
    position: unset;
    width: 100%;
    margin-top: 40px;
  }
  .footer-top {
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 767px) {
  .footer-bottom {
    flex-direction: column-reverse;
    row-gap: 15px;
  }
  .logo-list li img {
    max-width: 120px;
  }
  .footer-content {
    padding-top: 20px;
  }
  .footer-form .submit-btn {
    height: 42px;
    line-height: 42px;
    font-size: 14px;
  }
}
