/* ===============================
   GLOBAL RESET (SAFE)
================================ */
/*.km-footer,
.km-footer * {
  box-sizing: border-box;
}*/
/*@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

body{
    font-family: 'Poppins', sans-serif;
}*/

/* ===============================
   FOOTER BASE
================================ */
.km-footer {
  width: 100%;
  /*font-family: Verdana, Arial, sans-serif;*/
  font-size: 14px;
  line-height: 1.6;
  color: #1f3b08;
  background: #f4faec;

  /* IMPORTANT */
  position: relative;
  clear: both;
  /*margin-top:15px;*/
}

/* ===============================
   BRAND STRIP
================================ */
.footer-top {
 /*background: linear-gradient(135deg, #c9f584, #aeda6f);*/
   background: linear-gradient(135deg, #cfeca6, #9ccf54);
    COLOR: #235902;
  text-align: center;
  padding: 2px;
}

.footer-top h2 {
  font-size: 20px;
  
  margin-bottom: -10px;
    margin-top: 5;
}

.footer-top p {
  font-size: 14px;
  opacity: 0.9;
}

/* ===============================
   TRUST STRIP
================================ */
.footer-info {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: 100px;
  padding: 12px 20px;

  background: #ffffff;
}

.info-box {
  text-align: center;
  max-width:220px;
}

.info-box i {
  font-size: 28px;
  color: #225902;
  margin-bottom: 4px;
}

.info-box h4 {
  font-size: 15px;
  margin: 2px 0;
}

.info-box span {
  font-size: 13px;
}

/* ===============================
   MAIN FOOTER (CONTENT DRIVEN)
   UPDATED: added max-width + margin auto so the grid is centered
   on the page instead of stretching full-width with huge gaps;
   padding widened slightly and justify-items switched to "start"
   so each column's own content stays left-aligned.
================================ */
.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 20px 40px;

  background: #eaf4dc;

  align-items: start;
  justify-items: start;
  text-align: left;
}

/* HEADINGS */
.footer-main h4 {
  font-size: 16px;
      margin-bottom: 10px;
    margin-top: -5px;
}

/* LINKS */
.footer-links a {
  display: block;
  font-size: 13px;
  margin-bottom: 0px;
  color: #2f5d14;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* CONTACT */
.footer-contact p {
  font-size: 13px;
  margin-bottom: -10px;
}

.footer-contact i {
  color: #43761b;
  margin-right: 8px;
}

/* ===============================
   SOCIAL ICONS
   UPDATED: this whole block previously used ".social-row" as the
   selector, but the actual footer markup uses ".footer-social" —
   renamed here so these rules actually take effect. LinkedIn's
   brand hover color was also added (.li).
================================ */
.footer-social {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #ffffff;
  color: #2f5d14;

  font-size: 16px;
  text-decoration: none;

  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

/* FORCE PERFECT CENTERING */
.footer-social a i {
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
 
}

/* HOVER EFFECT */
.footer-social a:hover {
  transform: translateY(-3px);
}
/* FORCE ICON COLOR TO WHITE ON HOVER */
.footer-social a:hover i {
  color: #ffffff !important;
}

/* SOCIAL BRAND COLORS */
.footer-social .li:hover { background: #0A66C2; }
.footer-social .fb:hover { background: #1877F2; }
.footer-social .ig:hover {
  background: radial-gradient(circle at 30% 30%,
    #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}
.footer-social .wa:hover { background: #25D366; }
.footer-social .yt:hover { background: #FF0000; }

/* ===============================
   COPYRIGHT
   UPDATED: added max-width + margin auto to match footer-main,
   keeps the whole footer's content width consistent.
================================ */
.footer-copy {
  max-width: 1200px;
  margin: 0 auto;
  background: #57892b;
  color: #ffffff;

  padding: 7px;
  font-size: 13px;

  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-copy a {
  color: #d8ff9e;
  text-decoration: none;
}

/* ===============================
   MOBILE FIX
================================ */
@media (max-width: 768px) {
  .footer-info {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-copy {
    justify-content: center;
    text-align: center;
    gap: 6px;
  }
}

@media (max-width: 768px) {
  .footer-info {
    flex-direction: column;
    gap: 16px;
    padding: 16px 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;

    justify-items: start;
    text-align: left;

    padding-left: 10px;
    padding-right: 10px;
  }

  .footer-links,
  .footer-contact {
    width: 100%;
  }

  .footer-links h4,
  .footer-links a,
  .footer-contact h4,
  .footer-contact p {
    text-align: left;
  }

  .footer-social {
    justify-content: center;
    margin-top: 15px;
  }

  .footer-copy {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
}

@media (max-width: 768px) {
  .footer-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;

    gap: 8px;
    padding: 12px 8px;
  }

  .info-box {
    flex: 1;
    max-width: 33%;
    text-align: center;
  }

  .info-box i {
    font-size: 22px;
    margin-bottom: 4px;
  }

  .info-box h4 {
    font-size: 13px;
    margin: 2px 0;
  }

  .info-box span {
    font-size: 11px;
    line-height: 1.3;
  }
}