:root {
  --footer-bg: #00131b;
  --footer-bg-light: #032530;
  --footer-white: #ffffff;
  --footer-muted: #98aeb6;
  --footer-red: #ff3621;
  --footer-border: rgba(87, 159, 184, 0.18);
}

.footer-section {
  position: relative;
  padding: 58px 20px 26px;
  overflow: hidden;
  isolation: isolate;

  border-top: 1px solid var(--footer-border);

  background:
    radial-gradient(
      circle at 18% 20%,
      rgba(7, 91, 118, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at 82% 80%,
      rgba(255, 54, 33, 0.08),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #00131b 0%,
      #03212b 52%,
      #001019 100%
    );
}

.footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;

  width: min(92%, 1100px);
  height: 1px;

  transform: translateX(-50%);

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 54, 33, 0.45),
    rgba(84, 158, 183, 0.3),
    transparent
  );
}

.footer-glow {
  position: absolute;
  z-index: -1;

  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.footer-glow-left {
  top: -100px;
  left: -80px;

  width: 300px;
  height: 300px;

  background: rgba(0, 105, 138, 0.16);
}

.footer-glow-right {
  right: -80px;
  bottom: -110px;

  width: 320px;
  height: 320px;

  background: rgba(255, 54, 33, 0.08);
}

.footer-content {
  position: relative;
  z-index: 2;

  width: min(100%, 1200px);
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo {
  width: 165px;
  height: auto;
  object-fit: contain;

  filter:
    brightness(0)
    invert(1);

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.footer-logo-link:hover .footer-logo {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* =====================================================
   SOCIAL ICONS
===================================================== */

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;

  margin-bottom: 25px;
}

.footer-social a {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(128, 183, 202, 0.25);
  border-radius: 50%;

  color: var(--footer-white);
  background: rgba(6, 47, 60, 0.82);

  font-size: 15px;
  text-decoration: none;

  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);

  transition:
    transform 0.3s ease,
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

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

  color: var(--footer-white);
  background: var(--footer-red);
  border-color: var(--footer-red);

  box-shadow:
    0 14px 30px rgba(255, 54, 33, 0.22);
}

.footer-social a:focus-visible {
  outline: 2px solid var(--footer-red);
  outline-offset: 4px;
}

/* =====================================================
   COPYRIGHT
===================================================== */

.footer-copyright {
  position: relative;
  width: 100%;
  margin: 0;
  padding-top: 21px;

  color: var(--footer-muted);
  font-size: 12px;
  line-height: 1.5;
}

.footer-copyright::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;

  width: min(100%, 620px);
  height: 1px;

  transform: translateX(-50%);

  background: linear-gradient(
    90deg,
    transparent,
    rgba(108, 169, 190, 0.2),
    transparent
  );
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 768px) {
  .footer-section {
    padding: 48px 18px 24px;
  }

  .footer-logo {
    width: 155px;
  }

  .footer-social {
    gap: 11px;
    margin-bottom: 22px;
  }

  .footer-social a {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 480px) {
  .footer-section {
    padding: 42px 15px 22px;
  }

  .footer-logo-link {
    margin-bottom: 19px;
  }

  .footer-logo {
    width: 140px;
  }

  .footer-social {
    gap: 9px;
    flex-wrap: wrap;
  }

  .footer-social a {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .footer-copyright {
    padding-top: 18px;
    font-size: 11px;
  }
}