/* Footer Brand */
.footer-brand {
  max-width: 350px;
}

.footer-tagline {
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
}

.footer-content-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-logo {
  height: 40px;
  width: 130px;
  background: url("/images/the-elizabeth-home-brand-logo-white.svg") no-repeat
    center;
  background-size: contain;
  display: inline-block;
}

.footer-logo-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-divider {
  border: none;
  border-top: 1px solid #fff;
  width: 350px;
}

.copyright {
  font-size: 14px;
  color: #fff;
}

/* Navigation Columns */
.footer-column h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-nav {
  list-style: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
}

.footer-nav li {
  margin-bottom: 0.4rem;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
  transition: opacity 0.3s ease;
  opacity: 0.9;
}

.footer-nav a:hover {
  opacity: 1;
}

.form-success {
  font-size: 14px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: 0.25s;
}

.newsletter-card.success .form-success {
  opacity: 1;
  height: auto;
}

/* Footer Section */
.footer-section {
  background: #16a534;
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  padding-bottom: 10px;
  display: grid;
  grid-template-columns: 2.5fr 1fr 1.2fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

/* Footer Brand */
.footer-brand {
  max-width: 450px;
}

.footer-tagline {
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo-icon {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.footer-logo-icon::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: #4caf50;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.footer-logo-icon::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  top: 15px;
}

.footer-logo-text {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
}

/* Navigation Columns */
.footer-nav {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.7rem;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
  transition: opacity 0.3s ease;
  opacity: 0.9;
}

.footer-nav a:hover {
  opacity: 1;
}

/* container */
.newsletter-footer-form {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
}

.newsletter-input {
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #ffffff;
  color: #e1e1e1;
  font-size: 15px;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-footer-section {
  padding: 24px 16px;
}

.newsletter-footer-form {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.newsletter-footer-input {
  width: 100%;
  min-width: 250px;
  height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 9999px;
  background: #fff;
  color: #0a0c12;
  font-size: 15px;
}

.subscribe-btn {
  height: 44px;
  padding: 0 28px;
  border: 0;
  border-radius: 9999px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(180deg, #0f7c31, #0a6b27);
  cursor: pointer;
}

.footer-bottom {
  width: 100%;
}

.social-links {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 12px;
}

.social-link {
  display: block;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s ease;
  opacity: 0.8;
}

.social-link:hover {
  transform: scale(1.1);
  opacity: 1;
}

.instagram {
  background: url(/images/the-elizabeth-home-instagram-icon.svg) center /
    contain no-repeat;
}

.facebook {
  background: url(/images/the-elizabeth-home-facebook-icon.svg) center / contain
    no-repeat;
}

.linkedin {
  background: url(/images/the-elizabeth-home-linkedin-icon.svg) center / contain
    no-repeat;
}

.email {
  background: url(/images/the-elizabeth-home-email-iconl.svg) center / contain
    no-repeat;
}

.whatsapp {
  background: url(/images/the-elizabeth-home-whatsapp-icon.ico) center / contain
    no-repeat;
  scale: unset;
}

.newsletter-input::placeholder {
  color: #999;
  font-style: italic;
  opacity: 1;
}

@media (max-width: 1024px) {
  .footer-content {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .footer-content-details {
    height: 60%;
  }
}

@media (max-width: 900px) {
  .footer-section {
    padding: 2rem;
  }

  .newsletter-footer-section {
    padding: 0;
  }

  .founder-container {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 750px;
    margin: 0 auto;
  }

  .footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .footer-content-details {
    grid-column: 1 / span 2;
    order: 3;
  }

  .newsletter-footer-section {
    grid-column: span 1;
    order: 2;
  }

  .footer-tagline {
    font-size: 28px;
  }

  .footer-logo {
    height: 40px;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .footer-content-details {
    grid-column: span 1;
    order: 3;
  }

  .footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #subscribe-btn {
    width: auto;
    flex-basis: auto;
    min-width: 100px;
    font-size: 14px;
  }
}
