@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500;600;700&display=swap');

.footer-wrapper {
  position: relative;
  width: 100%;
  background-color: #6969F0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Geist Mono', system-ui, sans-serif;
  box-sizing: border-box;
}

.footer-container {
  padding-top: 68px;
  padding-bottom: 68px;
  padding-left: 48px;
  padding-right: 48px;
  max-width: 1516px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  z-index: 10;
  position: relative;
}

.footer-world-bg {
  position: absolute;
  left: 50%;
  top: 0;
  width: 984px;
  height: 984px;
  transform: translateX(-50%);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.footer-newsletter, .footer-links-section, .footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-newsletter {
  background-color: #000000;
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  width: 100%;
  box-sizing: border-box;
}

.footer-newsletter-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-newsletter-heading {
  color: #E3E7A7;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
}

.footer-newsletter-sub {
  color: #FBFFEE;
  font-size: 18px;
  line-height: 22px;
  opacity: 0.8;
  margin: 0;
}

.footer-newsletter-form {
  display: flex;
  flex: 1;
  max-width: 500px;
  gap: 0;
}

.footer-input-wrapper {
  flex: 1;
  background-color: #FBFFEE;
  padding: 20px;
}

.footer-input {
  width: 100%;
  background: transparent;
  border: none;
  font-size: 16px;
  line-height: 20px;
  color: #1E1E1E;
  outline: none;
  font-family: inherit;
}

.footer-subscribe-btn {
  background-color: #2124C6;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  padding: 20px 40px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.footer-links-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  padding-top: 60px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 400px;
}

.footer-logo {
  height: 23px;
}

.footer-brand-desc {
  color: #DDDDDD;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.footer-links-wrapper {
  display: flex;
  gap: 100px;
}

.footer-link-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-link-heading {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  text-transform: uppercase;
  margin: 0;
}

.footer-link-col > a {
  opacity: 0.7;
  color: #FFFFFF;
  font-size: 14px;
  line-height: 18px;
  text-decoration: none;
  display: block;
}

.footer-link-col > a:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 16px;
}

.footer-socials {
  display: flex;
  gap: 32px;
}

.footer-social-link {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 16px;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-social-link:hover {
  color: #FFFFFF;
}

@media screen and (max-width: 991px) {
  .footer-newsletter {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links-section {
    flex-direction: column;
    gap: 40px;
  }
  .footer-links-wrapper {
    flex-wrap: wrap;
    gap: 40px;
  }
}

@media screen and (max-width: 767px) {
  .footer-newsletter {
    padding: 40px 24px;
  }
  .footer-newsletter-form {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }
  .footer-input-wrapper {
    width: 100%;
  }
  .footer-subscribe-btn {
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .footer-socials {
    flex-wrap: wrap;
  }
}
