/* Footer Section styling */
.page-footer {
  background-color: #0c0702;
  padding: 100px 5% 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  color: #ffffff;
  position: relative;
}

.footer-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 70px;
}

.footer-brand-col {
  flex: 0 0 320px;
  max-width: 380px;
}

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

.footer-tagline {
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 24px;
  max-width: 360px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.75);
}

.footer-brand-name {
  color: #26b8cd;
  font-weight: 700;
  font-family: var(--font-headings);
  font-size: 15px;
}

.footer-links-container {
  display: flex;
  justify-content: flex-end;
  gap: 64px;
  flex: 1;
  flex-wrap: wrap;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  min-width: 130px;
}

.footer-links-col.newsletter-col {
  min-width: 260px;
  max-width: 320px;
}

.footer-newsletter-desc {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 14px;
  line-height: 1.625;
}

.footer-newsletter-form,
.newsletter-col .mailerlite-form-inputs {
  display: flex !important;
  align-items: center !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background-color: rgba(255, 255, 255, 0.03) !important;
  border-radius: 9999px !important;
  padding: 4px 4px 4px 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  position: relative !important;
}

.footer-newsletter-form:hover,
.newsletter-col .mailerlite-form-inputs:hover {
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.footer-newsletter-form:focus-within,
.newsletter-col .mailerlite-form-inputs:focus-within {
  border-color: #26b8cd !important;
  background-color: rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 0 0 3px rgba(38, 184, 205, 0.2) !important;
}

.newsletter-col .mailerlite-form,
.newsletter-col .mailerlite-form form {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}

.newsletter-col .mailerlite-form-description {
  display: none !important;
}

.newsletter-col .mailerlite-form-field {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  background: transparent !important;
  border: none !important;
}

.newsletter-col .mailerlite-form-field label {
  display: none !important;
}

.footer-newsletter-input,
.newsletter-col .mailerlite-form-field input,
.newsletter-col .mailerlite-form input[type="email"] {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  flex: 1 1 0% !important;
  min-width: 0 !important;
  padding: 6px 0 !important;
  margin: 0 !important;
  font-family: inherit !important;
  width: 100% !important;
  -webkit-appearance: none !important;
}

.footer-newsletter-input::placeholder,
.newsletter-col .mailerlite-form-field input::placeholder,
.newsletter-col .mailerlite-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
  opacity: 1 !important;
}

.newsletter-col .mailerlite-subscribe-button-container {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.footer-newsletter-btn,
.newsletter-col button.mailerlite-subscribe-submit,
.newsletter-col .mailerlite-subscribe-button-container button {
  height: 32px !important;
  min-width: 32px !important;
  border-radius: 9999px !important;
  background-color: #26b8cd !important;
  color: #0c0702 !important;
  border: none !important;
  outline: none !important;
  padding: 0 14px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.2s ease !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  line-height: 1 !important;
  font-family: inherit !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.footer-newsletter-btn,
.newsletter-col button.mailerlite-subscribe-submit.is-icon-btn,
.newsletter-col .mailerlite-subscribe-button-container button.is-icon-btn {
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  border-radius: 50% !important;
  padding: 0 !important;
}

.footer-newsletter-btn:hover,
.newsletter-col button.mailerlite-subscribe-submit:hover,
.newsletter-col .mailerlite-subscribe-button-container button:hover {
  background-color: #ffee00 !important;
  color: #0c0702 !important;
  transform: scale(1.04) !important;
  box-shadow: 0 4px 12px rgba(255, 238, 0, 0.35) !important;
}

.footer-newsletter-btn:active,
.newsletter-col button.mailerlite-subscribe-submit:active,
.newsletter-col .mailerlite-subscribe-button-container button:active {
  transform: scale(0.96) !important;
}

.footer-newsletter-btn svg,
.newsletter-col button.mailerlite-subscribe-submit svg,
.newsletter-col .mailerlite-subscribe-button-container button svg {
  width: 14px !important;
  height: 14px !important;
  stroke: currentColor !important;
  stroke-width: 2.5 !important;
  fill: none !important;
  display: block !important;
  margin: auto !important;
}

.newsletter-col .mailerlite-form-loader {
  font-size: 11px !important;
  color: #26b8cd !important;
  padding: 0 8px !important;
  display: none;
}

.newsletter-col .mailerlite-form-error {
  font-size: 11.5px !important;
  color: #ef4444 !important;
  display: block !important;
  margin-top: 6px !important;
  padding-left: 14px !important;
}

.newsletter-col .mailerlite-form-response {
  display: none;
  margin-top: 8px !important;
  padding: 8px 14px !important;
  border-radius: 12px !important;
  background: rgba(38, 184, 205, 0.08) !important;
  border: 1px solid rgba(38, 184, 205, 0.25) !important;
}

.newsletter-col .mailerlite-form-response h4,
.newsletter-col .mailerlite-form-response p,
.newsletter-col .mailerlite-form-response span {
  color: #26b8cd !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  margin: 0 !important;
}

.footer-links-col h4 {
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 13px;
  text-transform: uppercase;
  color: #26b8cd;
  letter-spacing: 0.05em;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-item {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14.5px;
  transition: color 0.2s;
}

.footer-link-item:hover {
  color: #26b8cd;
}

.footer-bottom-row {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  color: rgba(255,255,255,0.5);
  font-size: 13.5px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-copyright-divider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 11px;
  user-select: none;
}

.footer-privacy-link {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.footer-privacy-link:hover {
  color: #26b8cd;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-credits {
  color: rgba(255,255,255,0.5);
  font-size: 13.5px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.footer-credits a {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.footer-credits a:hover {
  opacity: 0.85;
}

.footer-credits img {
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
  filter: brightness(0) invert(1);
}

/* Responsive Footer Media Queries */
@media (max-width: 1024px) {
  .footer-top-row {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 50px;
  }
  .footer-brand-col {
    flex: none;
    width: 100%;
    max-width: 500px;
  }
  .footer-links-container {
    width: 100%;
    justify-content: space-between;
    gap: 32px 24px;
  }
}

@media (max-width: 640px) {
  .page-footer {
    padding: 50px 20px 24px;
  }

  .footer-top-row {
    gap: 32px;
    margin-bottom: 40px;
  }

  .footer-tagline {
    font-size: 1.1rem;
    max-width: 100%;
  }

  .footer-links-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
    width: 100%;
  }

  .footer-links-col.newsletter-col {
    grid-column: 1 / -1;
    min-width: 100%;
    max-width: 100%;
    margin-top: 8px;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding-top: 24px;
  }

  .footer-credits {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    gap: 5px !important;
    font-size: 11.5px !important;
  }

  .footer-copyright {
    font-size: 12.5px;
    justify-content: center;
  }
}

.footer-credits {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.footer-credits img {
  height: 15px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  filter: brightness(0) invert(1);
  display: inline-block;
}
