* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f4f7fb;
  color: #333;
}

/* Tambahan */
/* TOP BAR */
#topbar .top-contact {
  display: flex;
  align-items: center;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#topbar .top-contact li {
  display: flex;
  align-items: center;
}

#topbar .top-contact li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

#topbar .top-contact li i {
  margin-right: 6px;
  color: #ffd000;
}

/* PMB agar lebih menonjol */
#topbar .top-contact li:last-child a {
  /* font-weight: 600; */
  color: #fff;
}
/* Penutup Tambahan */

header {
  /* background: linear-gradient(135deg, #1e3c72, #2a5298); */
  color: black;
  /* text-align: center; */
  padding: 20px 20px;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-align: center;
}

header p {
  opacity: 0.9;
  text-align: center;
}

.containerf {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.filter {
  text-align: center;
  margin-bottom: 30px;
}

.filter button {
  padding: 8px 18px;
  margin: 5px;
  border: none;
  border-radius: 20px;
  background: #ddd;
  cursor: pointer;
  transition: 0.3s;
}

.filter button.active,
.filter button:hover {
  background: #2a5298;
  color: white;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #2a5298;
}

.card-content p {
  font-size: 0.9rem;
  color: #666;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-content {
  background: white;
  max-width: 500px;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  animation: fadeIn 0.3s ease;
}

.modal-content img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.modal-body {
  padding: 20px;
}

.close {
  text-align: right;
  font-size: 20px;
  cursor: pointer;
  padding: 10px 15px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 600px) {
  header h1 {
    font-size: 1.8rem;
  }
}
