/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  margin-top: 70px;
  background: #0f1724;
  color: #cbd5e1;
  font-size: 15px;
}

.footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #ffffff;
}

.footer .holder {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top contact bar */

.footer-top {
  background: linear-gradient(135deg, #0b63b6, #084f94);
  color: #ffffff;
}

.footer-top .holder > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
  padding: 22px 0;
}

.footer-top .icon-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.footer-top .icon-wrap h2 {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.footer-top .icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-top .icon i {
  font-size: 17px;
}

.footer-top strong {
  display: block;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  word-break: break-word;
}

/* Main footer */

.footer-m {
  background:
    radial-gradient(circle at top left, rgba(11, 99, 182, 0.22), transparent 36%),
    #0f1724;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-m .holder > div {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 1fr;
  gap: 42px;
  padding: 56px 0 46px;
}

.footer-m .box h4 {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 12px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.footer-m .box h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  background: #0b63b6;
  border-radius: 999px;
}

.footer-m .box p {
  margin: 0;
  color: #aebbd0;
  line-height: 1.75;
}

.footer-m ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-m li {
  margin-bottom: 10px;
}

.footer-m li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #aebbd0;
  font-weight: 600;
}

.footer-m li a::before {
  content: "›";
  color: #0b63b6;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.footer-m li a:hover {
  color: #ffffff;
}

/* Social */

.footer .share ul {
  display: flex;
  gap: 12px;
}

.footer .share li {
  margin: 0;
}

.footer .share a {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.footer .share a::before {
  display: none;
}

.footer .share a:hover {
  transform: translateY(-4px);
}

.footer .share .youtube:hover {
  background: #d62828;
}

.footer .share .facebook:hover {
  background: #1877f2;
}

.footer .share .twitter:hover {
  background: #1da1f2;
}

/* Bottom */

.footer-b {
  background: #0a111c;
}

.footer-b .holder > div {
  padding: 18px 0;
  color: #8796ad;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* Responsive */

@media (max-width: 1100px) {
  .footer-top .holder > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-m .holder > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .footer .holder {
    padding: 0 18px;
  }

  .footer-top .holder > div,
  .footer-m .holder > div {
    grid-template-columns: 1fr;
  }

  .footer-top .holder > div {
    padding: 20px 0;
  }

  .footer-m .holder > div {
    padding: 42px 0 34px;
    gap: 32px;
  }
}