/* ===============================
   GLOBAL RESET (SAFE)
================================ */
/*.km-footer,
.km-footer * {
  box-sizing: border-box;
}*/

/* ===============================
   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: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 10px;
  background: #ffffff;

  
}*/

.footer-info {
  display: flex;                 /* grid → flex */
  justify-content: center;       /* center group */
  align-items: center;

  gap: 100px;                     /* 👈 control closeness (try 60px / 70px) */
  padding: 12px 20px;            /* reduced padding */

  background: #ffffff;
}


.info-box {
  text-align: center;
  max-width:220px;
}

/*.info-box i {
  font-size: 30px;
 
  color:#225902;
  margin-bottom: 6px;
}

.info-box h4 {
     font-size: 16px;
    margin-bottom: 1px;
    margin-top: -5px;
}

.info-box span {
  font-size: 13px;
}*/

.info-box i {
  font-size: 28px;
  color: #225902;
  margin-bottom: 4px;            /* reduced */
}

.info-box h4 {
  font-size: 15px;
  margin: 2px 0;                 /* tighter */
}

.info-box span {
  font-size: 13px;
}


/* ===============================
   MAIN FOOTER (CONTENT DRIVEN)
================================ */
.footer-main {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 10px;

  background: #eaf4dc;

  align-items: start;
  justify-items: center;   /* ✅ THIS CENTERS COLUMNS */
  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 (FIXED CENTERING)
================================ */
/* ===============================
   SOCIAL ICONS (REDUCED SIZE)
================================ */
.social-row {
  margin-top: 15px;            /* slightly tighter spacing */
  display: flex;
  gap: 10px;                   /* reduced gap */
}

.social-row a {
  width: 36px;                 /* ⬇ reduced from 42px */
  height: 36px;                /* ⬇ reduced from 42px */

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #ffffff;
  color: #2f5d14;

  font-size: 16px;             /* ⬇ reduced from 18px */
  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 */
.social-row a i {
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left:5px;
}


/* HOVER EFFECT */
.social-row a:hover {
  /* FORCE ICON COLOR TO WHITE ON HOVER */
 
  transform: translateY(-3px); /* slightly softer hover */
}
/* FORCE ICON COLOR TO WHITE ON HOVER */
.social-row a:hover i {
  color: #ffffff !important;
}


/* SOCIAL BRAND COLORS */
.social-row .fb:hover { background: #1877F2; }
.social-row .ig:hover {
  background: radial-gradient(circle at 30% 30%,
    #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}
.social-row .x:hover { background: #000000; }
.social-row .wa:hover { background: #25D366; }
.social-row .yt:hover { background: #FF0000; }

/* ===============================
   COPYRIGHT
================================ */
.footer-copy {
  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;
  }

  .social-row {
    justify-content: center;
  }

  .footer-copy {
    justify-content: center;
    text-align: center;
    gap: 6px;
  }
}

@media (max-width: 768px) {

  /* TRUST STRIP */
  .footer-info {
    flex-direction: column;
    gap: 16px;
    padding: 16px 20px;
  }

  /* MAIN FOOTER */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;

    justify-items: start;
    text-align: left;

    padding-left: 10px;   /* ✅ 10px from left */
    padding-right: 10px;
  }

  /* EACH COLUMN */
  .footer-links,
  .footer-contact {
    width: 100%;
  }

  .footer-links h4,
  .footer-links a,
  .footer-contact h4,
  .footer-contact p {
    text-align: left;
  }

  /* ✅ SOCIAL ICONS CENTERED */
  .social-row {
    justify-content: center;
    margin-top: 15px;
  }

  /* COPYRIGHT */
  .footer-copy {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
}

@media (max-width: 768px) {

  /* TRUST STRIP → 3 ITEMS IN ONE ROW */
  .footer-info {
    display: flex;
    flex-direction: row;      /* 🔥 force single row */
    justify-content: space-between;
    align-items: flex-start;

    gap: 8px;                 /* closer */
    padding: 12px 8px;
  }

  .info-box {
    flex: 1;
    max-width: 33%;
    text-align: center;
  }

  .info-box i {
    font-size: 22px;          /* smaller icon */
    margin-bottom: 4px;
  }

  .info-box h4 {
    font-size: 13px;
    margin: 2px 0;
  }

  .info-box span {
    font-size: 11px;
    line-height: 1.3;
  }
}

