/* ================= FOOTER BASE ================= */

.site-footer {
  background: linear-gradient(
    180deg,
    #f7fbf8 0%,
    #eef6f0 100%
  );
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: 120px;
  width: 100%;
}

/* ================= FOOTER LAYOUT ================= */

.footer-inner {
  max-width: 1400px;
  margin: auto;
  padding: 40px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

/* ================= BRAND ================= */

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: #1f7a3a;
}

.footer-brand img {
  height: 40px;
  width: auto;
}

/* ================= CENTER LINKS ================= */

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.footer-links a {
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #4CAF50;
}

/* ================= SOCIAL ICONS ================= */
/* THIS IS THE IMPORTANT PART */

.footer-social {
  display: flex;              /* FORCE ROW */
  flex-direction: row;        /* NOT COLUMN */
  align-items: center;
  gap: 14px;                  /* space between icons */
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e6f3ea;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}

.footer-social a:hover {
  background: #4CAF50;
  transform: translateY(-2px);
}

.footer-social img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

/* ================= BOTTOM BAR ================= */

.footer-bottom {
  text-align: center;
  padding: 18px 20px;
  font-size: 0.85rem;
  color: #555;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.footer-bottom a {
  color: #4CAF50;
  text-decoration: none;
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 18px;
  }

  .footer-social {
    justify-content: center;   /* center icons on mobile */
  }
}
