footer {
  background: #426f90;
  color: #fff;
  padding: 3rem 0 1.5rem 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-newsletter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.footer-heading {
  color: #fff;
  font-size: 32px;
  font-weight: 600;
  line-height: 48px;
}

.footer-form {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  max-width: 500px;
}

.footer-input {
  flex: 1 1 0;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  color: #181818;
  background: #fff;
  outline: none;
}

.footer-input::placeholder {
  color: var(--color-text);
  opacity: 0.6;
  letter-spacing: 0.01em;
}

.footer-btn {
  padding-inline: 1.5rem;
  padding-block: 0.75rem;
  font-size: 1rem;
  border-radius: 8px;
  white-space: nowrap;
  background-color: var(--color-white);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.footer-btn:hover,
.footer-btn:focus {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 2px 8px 0 var(--color-btn-shadow);
  border: 1px solid var(--color-primary);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand-logo {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-brand-logo > h1 {
  color: #FFF;
  font-variant-numeric: ordinal slashed-zero;
  font-feature-settings: 'case' on;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px; /* 133.333% */
  text-transform: capitalize;
}

.footer-logo {
  height: 44px;
  max-height: 44px;
  width: auto;
  margin-bottom: 0.5rem;
}

.footer-brand-text {
  font-weight: 600;
  font-size: 1.1rem;
  opacity: 0.6;
}

.footer-copyright {
  font-size: 0.95rem;
  opacity: 0.6;
}

.footer-support {
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  line-height: 20px;
}

.footer-links {
  display: flex;
  gap: 8rem;
  margin-right: 15%;
  flex-wrap: wrap;
  text-align: left;
}

.footer-links-group {
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-subheading {
  color: #fff;
  opacity: 0.6;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-links-group a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  margin-bottom: 0.2rem;
  transition: opacity 0.2s, text-decoration 0.2s;
  line-height: 20px;
}

.footer-links-group a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Footer Responsive Styles */
@media (max-width: 800px) {
  .footer-main {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-links {
    gap: 4%;
  }
}

@media (max-width: 600px) {
  .footer-container {
    padding: 0 0.5rem;
  }

  .footer-newsletter {
    padding-bottom: 1.2rem;
    margin-bottom: 1.2rem;
    display: none;
  }

  .footer-main {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 1.5rem;
    margin-right: 0;
  }

  .footer-links-group {
    min-width: 0;
  }
}