.footer-container {
  background-color: var(--black-100);
}

.footer {
  width: 100%;
  max-width: 90rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.back-to-top {
  display: flex;
  padding: 1rem 5rem;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.back-to-top span {
  color: var(--primary-lighter);
}

.back-to-top img {
  width: 0.75rem;
  height: 0.75rem;
  aspect-ratio: 1/1;
  stroke-width: 2px;
  stroke: var(--primary-lighter);
}

.footer-content {
  display: flex;
  padding: 2.5rem 5rem;
  justify-content: space-between;
  align-items: flex-start;

  @media (max-width: 768px) {
    padding: 2.5rem 1.5rem;
    flex-direction: column;
    gap: 2.5rem;
  }
}

.footer-links-container {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 3.5rem;

  @media (max-width: 768px) {
    flex-direction: column;
    gap: 2rem;
  }
}

.footer-links-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links-box-heading {
  color: var(--white-100);
}

.footer-links-box-content {
  display: flex;
  flex-direction: column;
  gap: 11px;
  color: var(--white-100);
  list-style: none;
}

.footer-form-box {
  width: 100%;
  max-width: 25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  @media (max-width: 768px) {
    max-width: 100%;
  }
}

.footer-form-box-heading {
  color: var(--white-100);
}

.footer-form-box-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-form-box-content input {
  color: var(--white-100);
  padding: 1rem;
  border-radius: 0.375rem;
  border: none;
  background: var(--black-300);

  &::placeholder {
    color: var(--white-100);
  }
}

.footer-decoration {
  width: 100%;
  max-width: 75rem;
  height: 1px;
  margin-inline: auto;
  flex-shrink: 0;
  background: linear-gradient(90deg,
      transparent 0%,
      #d2eeff88 50%,
      transparent 100%);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 5rem;

  @media (max-width: 768px) {
    padding: 2rem 1.5rem;
  }
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0.625rem 0.5625rem;
}

.footer-bottom-left span {
  display: inline-block;

  @media (max-width: 768px) {
    display: none;
  }
}

.footer-bottom-left img {
  width: 1.125rem;
  height: 1.125rem;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 40px;

  @media (max-width: 768px) {
    gap: 1rem;
  }
}

.footer-bottom-right a {
  color: rgba(244, 251, 255, 0.72);
  font-size: 1.3125rem;
  font-weight: 300;
  text-decoration: none;

  @media (max-width: 768px) {
    font-size: 1rem;
  }
}

.footer-bottom-right-divider {
  width: 1px;
  height: 24px;
  background-color: var(--black-500);
}

.footer-bottom-right-social {
  display: flex;
  gap: 1.875rem;
}

.linkedin-icon {
  width: 1.5625rem;
  height: 1.5rem;

  @media (max-width: 768px) {
    width: 1.125rem;
    height: 1.125rem;
  }
}

.gmail-icon {
  width: 1.9375rem;
  height: 1.5rem;

  @media (max-width: 768px) {
    width: 1.4375rem;
    height: 1.125rem;
  }
}

.footer-links-box-content a {
  text-decoration: none;
  color: inherit;
}

.footer-bottom-center {
  color: var(--white-100);
  font-size: 0.875rem;
  text-align: center;

  @media (max-width: 768px) {
    order: 3;
    width: 100%;
    margin-top: 1rem;
    text-align: center;
  }
}