/* ==========================================================================
   FOOTER.CSS - Footer section
   (Dipisah dari layout.css agar mudah dirawat)
   ========================================================================== */

.footer {
  background-color: var(--green-dark);
  color: var(--white);
  padding-top: 2.75rem;
  padding-bottom: 2rem;
  border-top: 5px solid var(--lime);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  height: 3.2rem;
  width: auto;
}

.footer-logo-text {
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.2;
}

.footer-desc {
  color: #FFFFFF !important;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2rem;
  height: 3px;
  background-color: var(--lime);
  border-radius: 10px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link-item {
  color: #FFFFFF !important;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link-item i {
  font-size: 0.75rem;
  color: var(--lime);
  transition: var(--transition-fast);
}

.footer-link-item:hover {
  color: var(--lime) !important;
  padding-left: 5px;
}

.footer-link-item:hover i {
  transform: translateX(3px);
}

.footer-bottom,
.footer-bottom p {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: #FFFFFF !important;
  opacity: 1 !important;
  font-weight: 450;
}

/* ── RESPONSIVE FOOTER ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1.2fr 1fr;
  }
  .footer-top > div:last-child {
    grid-column: span 2;
    margin-top: 1rem;
  }
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-top > div:last-child {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
