/*--------------------------------
            Footer
--------------------------------*/

.footer {
  background: #0f172a;

  color: #fff;

  padding: 80px 0 25px;
}

.footer-container {
  width: calc(100% - 40px);

  max-width: 1400px;

  margin: auto;
}

/*=========================
        Top
=========================*/

.footer-top {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr 1.3fr;

  gap: 60px;

  padding-bottom: 60px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Brand */

.footer-logo {
  height: 114px;
  margin-bottom: 25px;
  background-color: #fff;
  padding: 8px 12px;
  border-radius: 16px;
}

.footer-description {
  color: #b8c1cc;

  line-height: 1.9;

  margin-bottom: 30px;

  max-width: 380px;
}

/* Social */

.footer-social {
  display: flex;

  gap: 15px;
}

.footer-social a {
  width: 42px;

  height: 42px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.06);

  color: #fff;

  text-decoration: none;

  transition: 0.3s;
}

.footer-social a:hover {
  background: var(--primary);

  transform: translateY(-4px);
}

/* Links */

.footer-links h3,
.footer-contact h3 {
  font-size: 1.2rem;

  margin-bottom: 25px;
}

.footer-links {
  display: flex;

  flex-direction: column;

  gap: 15px;
}

.footer-links a {
  color: #b8c1cc;

  text-decoration: none;

  transition: 0.3s;
}

.footer-links a:hover {
  color: #fff;

  padding-left: 8px;
}

/* Contact */

.footer-contact {
  display: flex;

  flex-direction: column;

  gap: 18px;
}

.footer-contact p {
  display: flex;

  align-items: flex-start;

  gap: 12px;

  color: #b8c1cc;

  line-height: 1.7;
}

.footer-contact i {
  color: var(--primary);

  margin-top: 4px;
}

/*=========================
        Bottom
=========================*/

.footer-bottom {
  display: flex;

  justify-content: center;

  align-items: center;

  padding-top: 25px;

  flex-wrap: wrap;

  gap: 20px;
}

.footer-bottom p {
  color: #94a3b8;
}

.footer-bottom-links {
  display: flex;

  gap: 30px;
}

.footer-bottom-links a {
  color: #94a3b8;

  text-decoration: none;

  transition: 0.3s;
}

.footer-bottom-links a:hover {
  color: #fff;
}

/*=========================
        Responsive
=========================*/

@media (max-width: 1000px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .footer {
    padding-top: 60px;
  }

  .footer-top {
    grid-template-columns: 1fr;

    gap: 45px;
    text-align: center;
  }

  .footer-description {
    margin: 30px auto;
  }

  .footer-bottom {
    flex-direction: column;

    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;

    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-contact p {
    justify-content: center;
  }
}
