/* ==========================================================================
   Benefits Reimagined Global Footer Component Styles
   ========================================================================== */
.site-footer {
  --blue: #166BA4;
  --navy: #003152;
  --green: #8EC641;
  --font-display: "Poppins", system-ui, -apple-system, sans-serif;
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: var(--blue, #166BA4);
  color: #ffffff;
  border-top: 6px solid var(--green, #8EC641);
  font-family: var(--font-body, Roboto, sans-serif);
}

.site-footer * {
  box-sizing: border-box;
}

.site-footer .wrap {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding-inline: 20px;
}

.site-footer .top {
  display: grid;
  grid-template-columns: 1.2fr repeat(5, 1fr);
  gap: 28px;
  padding-block: 56px 40px;
}

.site-footer h4 {
  font-family: var(--font-display, Poppins, sans-serif);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 14px;
  color: #ffffff;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  opacity: .92;
  transition: opacity .15s ease;
}

.site-footer a:hover {
  text-decoration: underline;
  opacity: 1;
}

.site-footer li.rm {
  font-size: 14px;
  opacity: .75;
}

.site-footer .contact {
  display: grid;
  gap: 8px;
  font-size: 14px;
  margin-top: 14px;
  color: #ffffff;
}

.site-footer .contact span,
.site-footer .contact a {
  color: #ffffff;
}

.site-footer .tag {
  margin-top: 16px;
  font-family: var(--font-display, Poppins, sans-serif);
  font-size: 12px;
  font-weight: 500;
  opacity: .9;
  line-height: 1.5;
  color: #ffffff;
}

.site-footer .rm {
  font-size: 14px;
  opacity: .7;
}

.site-footer li,
.site-footer a {
  overflow-wrap: anywhere;
}

.site-footer .social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.site-footer .social a {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #ffffff;
}

.site-footer .social svg {
  width: 22px;
  height: 22px;
}

.site-footer .bottom {
  background: var(--navy, #003152);
  padding-block: 18px;
  font-size: 14px;
  color: #ffffff;
}

.site-footer .bottom .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: center;
}

.site-footer .bottom a {
  font-size: 13px;
  color: #ffffff;
}

.site-footer svg {
  max-width: 100%;
}

@media (max-width: 1000px) {
  .site-footer .top {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-footer .top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .site-footer .top {
    grid-template-columns: 1fr;
  }
}

/* Back to Top button */
.totop {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue, #166BA4);
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 49, 82, .3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
  z-index: 999;
}

.totop.show {
  opacity: 1;
  pointer-events: auto;
}

.totop:hover {
  transform: translateY(-2px);
  background: var(--navy, #003152);
}

.totop svg {
  width: 18px;
  height: 18px;
}

