/* Footer Container */
footer {
  background-color: var(--blue);
  color: #4A607A; /* Diubah ke warna teks pastel utama */
  padding: 50px 5% 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

/* Logo & Deskripsi */
.footer-logo img {
  height: 50px;
  margin-bottom: 15px;
}

.footer-logo p {
  opacity: 0.9; /* Sedikit ditingkatkan agar lebih jelas dibaca */
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Link Section */
.footer-links h3, 
.footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  color: #3D526B; /* Menggunakan warna yang sedikit lebih tegas untuk judul section */
}

.footer-links h3::after,
.footer-contact h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--magenta);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #4A607A; /* Diubah agar serasi dengan warna teks utama footer */
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s, color 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--magenta);
}

/* Kontak Section */
.footer-contact p {
  margin-bottom: 10px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Mengubah bullet menjadi icon amplop persegi panjang */
.footer-contact p::before {
  content: '\f0e0'; /* Kode FontAwesome untuk amplop */
  font-family: 'Font Awesome 5 Free'; /* Pastikan load FontAwesome */
  font-weight: 900; /* Untuk style solid */
  color: var(--magenta);
  font-size: 1.1rem; /* Sedikit sesuaikan ukurannya */
  
  /* Memastikan bentuk persegi panjang */
  display: inline-block;
  width: 1.5em; /* Set width agar lebih lebar dari height */
  height: 1em;  /* Set height standar */
  text-align: center;
}

/* Copyright */
.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(74, 96, 122, 0.15); /* Diubah menggunakan basic transparan #4A607A agar garis pembatasnya serasi */
  font-size: 0.8rem;
  opacity: 0.8;
  color: #4A607A;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}