/* ================= ROOT ================= */
:root {
  --primary-green: #114b05;
  --secondary-dark-green: #12381d;
  --accent-green: #22c55e;
  --white: #fff;
}

/* ================= FOOTER ================= */
.gi-footer {
  background: var(--primary-green);
  color: var(--white);
  padding-top: 60px;
}

/* ================= GRID ================= */
.gi-footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px 30px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

/* ================= COLUMN ================= */
.gi-footer-col h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.gi-footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #dbeafe;
}

/* ================= LINKS ================= */
.gi-footer-col ul {
  list-style: none;
  padding: 0;
}

.gi-footer-col ul li {
  margin-bottom: 10px;
}

.gi-footer-col ul li a {
  color: #dbeafe;
  text-decoration: none;
  position: relative;
  padding-left: 18px;
  display: inline-block;
}

/* bullet */
.gi-footer-col ul li a::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-green);
}

.gi-footer-col ul li a:hover {
  color: var(--accent-green);
}

/* ================= SOCIAL ================= */
.gi-footer-social {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.gi-footer-social a {
  color: var(--accent-green);
  font-size: 1.2rem;
  transition: 0.3s;
}

.gi-footer-social a:hover {
  transform: translateY(-3px);
}

/* ================= CONTACT ================= */
.gi-footer-contact p {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
}

.gi-footer-contact i {
  color: var(--accent-green);
  /* min-width: 18px;
  height: 20px; */
  font-size: 1.2rem;
}

.gi-footer-contact a {
  color: inherit;
  text-decoration: none;
}

/* ================= BOTTOM ================= */
.gi-footer-bottom {
  background: var(--secondary-dark-green);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.gi-footer-dev {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gi-footer-dev img {
  width: 20px;
}

.gi-footer-dev a {
  color: white;
  text-decoration: none;
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 992px) {
  .gi-footer-container {
    grid-template-columns: repeat(2, 1fr);
  }

   .gi-footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 768px) {

  .gi-footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .gi-footer-social {
    justify-content: center;
  }

  .gi-footer-social a {
  font-size: 1.2rem; 
}

  .gi-footer-contact p {
    flex-direction: column;
    /* width: 270px; */
    text-align: center;
    /* margin: auto; */
    /* border: 2px solid white; */
    margin-bottom: 30px;
    background-color: rgb(175, 233, 175,0.05);
    padding: 10px;
    border-radius: 10px;
  }



  .gi-footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }




  @media (max-width: 768px) {

  .gi-footer-col ul {
    display: flex;
    flex-direction: column;
    align-items: center; /* center whole block */
  }

  .gi-footer-col ul li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .gi-footer-col ul li a {
    position: relative;
    display: inline-block;
    min-width: 220px; /* ✅ FIX: equal width */
    text-align: left; /* ✅ keeps bullets aligned */
    padding-left: 22px;
  }

  .gi-footer-col ul li a::before {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-green);
  }

}

}

/* Small Mobile */
@media (max-width: 480px) {

  .gi-footer-col h3 {
    font-size: 1.1rem;
  }

  .gi-footer-col p,
  .gi-footer-col a {
    font-size: 0.85rem;
  }

    .gi-footer-social a {
  font-size: 1.2rem; 
}

}

/* EXTRA SMALL (EXTREME CASE FIX) */
@media (max-width: 340px) {

  .gi-footer-col,
  .gi-footer-contact a {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .gi-footer-contact p {
    flex-direction: column;
    text-align: center;
  }

}