/* ========================
   Footer – Styling Keseluruhan
   ======================== */
.footer {
  background-color: #1d1d1d; /* Latar gelap */
  color: #eee;               /* Teks terang */
  padding: 40px 20px 20px;   /* Ruang atas, samping, bawah */
  font-size: 14px;
  line-height: 1.6;
}

/* Wrapper kolom footer */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Setiap kolom footer */
.footer-about,
.footer-links,
.footer-contact,
.footer-social {
  flex: 1 1 220px; /* basis 220px */
}

/* Judul pada setiap blok footer */
.footer-about h3,
.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

/* ---------- About ---------- */
.footer-about {
  text-align: left;
}

/* Logo Utama */
.footer-about__logo {
  width: 250px;    /* atur besar logo utama */
  height: auto;
  margin-bottom: 1rem;
}
/* Logo Legalitas */
.footer-about__legal-logo {
  width: 130px;    /* lebar logo legalitas */
  height: auto;
  display: block;
  margin-top: 1rem;
  margin-left: 20px;   /* geser ke kanan sebanyak 20px */
}

.footer-about p {
  color: #ccc;
  margin-bottom: 10px;
  margin-left: 20px;
}

.footer-about__company-info {
  margin-top: 1rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #aaa;
}

/* Wrapper logo legalitas */
.footer-about .footer-legal {
  display: flex;
  justify-content: center; /* membuat isi wrapper rata tengah */
  align-items: center;
  gap: 10px;
  margin-top: 1rem;
}
.footer-about .footer-legal a {
  display: inline-block;
  background: #fff;
  padding: 0.5rem;
  border-radius: 6px;
  transition: transform 0.2s;
}
.footer-about .footer-legal a:hover {
  transform: translateY(-3px);
}
/* Logo legalitas dengan ukuran mandiri */
.footer-about .footer-legal img {
  /* Hapus batasan sebelumnya */
  max-width: none !important;
  /* Atur lebar spesifik */
  width: 80px;  /* ubah sesuai kebutuhan */
  height: auto;
  object-fit: contain;
}

/* ---------- Links / Office ---------- */
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  display: flex;
  align-items: start;
  gap: 0.5rem;
  margin-bottom: 12px;
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.4;
}
.footer-links li i {
  font-size: 1.2rem;
  color: #fff; /* icon putih */
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Contact ---------- */
.footer-contact {
  position: relative;
  flex: 0 0 auto;
  margin-left: auto;     /* dorong ke kanan */
  padding-bottom: 3.5rem;/* ruang untuk sosmed */
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 5px 0;
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.4;
}
.footer-contact p i {
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}

/* Wrapper sosial di bawah kontak */
.footer-contact .social-wrapper {
  position: absolute;
  right: 0;
  bottom: 0;
  text-align: right;
}
.footer-contact .social-title {
  display: block;
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 0.5rem;
}

/* ---------- Social Icons ---------- */
.social-wrapper .social-icons,
.footer-social .social-icons {
  display: flex;
  gap: 0.75rem;
}
.social-wrapper .social-icons a,
.footer-social .social-icons a {
  display: inline-block;
  width: 28px;
  height: 28px;
  transition: transform 0.2s;
}
.social-wrapper .social-icons img,
.footer-social .social-icons img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* tanpa filter agar warna asli muncul */
  filter: none;
}
.social-wrapper .social-icons a:hover img,
.footer-social .social-icons a:hover img {
  transform: scale(1.1);
}

/* ---------- Footer Bottom (Copyright) ---------- */
.footer-bottom {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
}
.footer-bottom p {
  color: #999;
  margin: 0;
  font-size: 13px;
}

/* ========================
   Responsive Breakpoints
   ======================== */
@media (max-width: 1024px) {
  .footer-container {
    gap: 20px;
  }
  .footer-about,
  .footer-links,
  .footer-contact,
  .footer-social {
    flex: 1 1 45%; /* dua kolom per baris */
  }
  .footer-contact {
    margin-left: 0; /* reset dorongan */
  }
  .social-wrapper,
  .footer-social .social-icons {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 25px;
  }
  .footer-about,
  .footer-links,
  .footer-contact,
  .footer-social {
    flex: 1 1 100%; /* satu kolom penuh */
  }
  .social-wrapper,
  .footer-social .social-icons {
    justify-content: center;
  }
}
