/* =====================================================================
   Global Site Footer — CodevvaLabs
   Dark theme  ·  4-column responsive  ·  Sage green accents (#8BC1A5)
   =====================================================================
   BRAND COLOR HISTORY
   -------------------------------------------
   Previous accent (Mint Green): #55e6a5 | rgb(85, 230, 165)
   Current accent (Sage Green):  #8BC1A5 | rgb(139, 193, 165)
   ===================================================================== */

/* ─── Container ─── */
.site-footer {
  background: #1d1d1d;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  padding: 72px 0 0;
  width: 100%;
  max-width: 100vw;
  margin-left: 0;
  margin-right: 0;
  margin-top: 30px;
}

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

/* ─── Inner wrapper ─── */
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}

/* ─── Headings ─── */
.site-footer h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin: 0 0 20px;
}

.site-footer h5 {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin: 18px 0 10px;
  text-transform: uppercase;
}

.site-footer h5:first-of-type {
  margin-top: 0;
}

/* ─── Brand column ─── */
.footer-brand .brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
  line-height: 1;
}

.footer-brand .brand-name span {
  color: #8BC1A5;
}

.footer-brand .brand-mission {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand .brand-location {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ─── Link lists ─── */
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 8px;
}

.site-footer ul li a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.site-footer ul li a:hover {
  color: #8BC1A5;
}

/* LinkedIn icon link */
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  transition: background 0.25s ease, color 0.25s ease;
}

.footer-social a:hover {
  background: #8BC1A5;
  color: #1d1d1d;
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ─── Contact column ─── */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-item a:hover {
  color: #8BC1A5;
}

.footer-contact-item .fc-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: #8BC1A5;
  fill: #8BC1A5;
}

.footer-contact-item .fc-icon svg {
  width: 18px;
  height: 18px;
  fill: #8BC1A5;
}

/* Messaging icons row */
.footer-messaging {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.footer-messaging a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.25s ease;
}

.footer-messaging a:hover {
  background: rgba(85, 230, 165, 0.15);
}

.footer-messaging a svg {
  width: 20px;
  height: 20px;
}

/* ─── Bottom bar ─── */
.footer-bottom {
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 32px;
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
}

.footer-copyright a {
  color: #8BC1A5;
  text-decoration: none;
}

.footer-copyright a:hover {
  text-decoration: underline;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-legal li a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal li a:hover {
  color: #8BC1A5;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px 48px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 48px 0 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0 24px;
  }

  .footer-bottom {
    margin-top: 40px;
    padding: 20px 24px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
}
