/* Reset dan font dasar */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
}

/* Navbar utama */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1e3a8a;
  color: white;
  padding: 10px 20px;
  height: 60px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Logo di kiri */
.navbar-left .logo {
  height: 180px;
}

/* Menu kanan */
.navbar-right a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
}

.navbar-right a:hover {
  text-decoration: underline;
}

.card-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}

.card-header {
  font-size: 24px;
  font-weight: bold;
  color: #1e3a8a;
  margin-bottom: 10px;
}

.divider {
  height: 2px;
  background-color: #d1d5db;
  margin: 20px auto;
  width: 100%;
  max-width: 800px;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  width: 220px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.card img {
  width: 100%;
  height: 60px;
  object-fit: cover;
}

.card-footer {
  background: #1e3a8a;
  color: white;
  padding: 12px 0;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.2s;
}

.card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-footer:hover {
  background: #2563eb;
}

/* Responsive layout */
@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    gap: 20px;
  }

  .card {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}
