/*
 * Site footer (js/site-footer.js). Plain CSS, so it looks the same on every page
 * whichever Tailwind build the page uses. Everything is scoped under .sf.
 */

.sf {
  --sf-ink: #141a2a;
  --sf-text: #475569;
  --sf-muted: #64748b;
  --sf-line: rgba(15, 23, 42, 0.08);
  --sf-blue: #2346c9;
  --sf-blue-dark: #1a37b5;

  margin-top: 5rem;
  background: #f7f9fc url('../assets/new-homepage/background.png') center top / cover no-repeat;
  color: var(--sf-text);
  font-family: 'Google Sans Flex', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5;
}

.sf *,
.sf *::before,
.sf *::after {
  box-sizing: border-box;
}

.sf-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
}

.sf-main {
  display: grid;
  gap: 3.5rem;
}

/* Brand, contact details and the Contact button --------------------------- */
.sf-logo {
  display: inline-block;
}

.sf-logo img {
  display: block;
  width: auto;
  height: 40px;
}

.sf-tagline {
  margin: 1.25rem 0 0;
  max-width: 22rem;
  color: var(--sf-text);
  font-size: 15px;
}

.sf-contact {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
}

.sf-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.sf-contact i {
  flex-shrink: 0;
  width: 16px;
  margin-top: 1px;
  color: var(--sf-blue);
  font-size: 15px;
}

.sf-contact a,
.sf-contact address {
  color: var(--sf-text);
  font-style: normal;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sf-contact a:hover {
  color: var(--sf-blue);
}

.sf-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 46px;
  margin-top: 1.75rem;
  padding: 0 1.75rem;
  border-radius: 999px;
  background: var(--sf-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(26, 53, 199, 0.18);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.sf-btn:hover {
  background: var(--sf-blue-dark);
  transform: translateY(-1px);
}

/* Link columns ------------------------------------------------------------ */
.sf-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 1.5rem;
}

.sf-heading {
  margin: 0 0 1rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--sf-line);
  color: var(--sf-ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.sf-heading-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sf-heading-link i {
  color: var(--sf-muted);
  font-size: 11px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.sf-heading-link:hover {
  color: var(--sf-blue);
}

.sf-heading-link:hover i {
  color: var(--sf-blue);
  transform: translate(2px, -2px);
}

.sf-list {
  display: grid;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sf-link {
  color: var(--sf-muted);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sf-link:hover {
  color: var(--sf-blue);
}

/* Bottom row -------------------------------------------------------------- */
.sf-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sf-line);
  color: var(--sf-muted);
  font-size: 13px;
}

.sf-legal {
  margin: 0;
  line-height: 1.8;
}

.sf-sep {
  margin: 0 0.4em;
  color: #cbd5e1;
}

.sf-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.sf-small-link {
  color: var(--sf-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sf-small-link:hover {
  color: var(--sf-blue);
}

.sf a:focus-visible {
  outline: 2px solid var(--sf-blue);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .sf-btn,
  .sf-heading-link i {
    transition: none;
  }

  .sf-btn:hover,
  .sf-heading-link:hover i {
    transform: none;
  }
}

/* Tablet and up ----------------------------------------------------------- */
@media (min-width: 640px) {
  .sf-inner {
    padding: 5rem 2rem 2rem;
  }

  .sf-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .sf-inner {
    padding: 6rem 2.5rem 2.25rem;
  }

  .sf-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
    gap: 5rem;
  }

  .sf-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
