body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f1f3f6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

h1 {
  text-align: center;
  font-size: 1.6rem;
  color: #003366;
  margin-bottom: 32px;
}

.kumpulan {
  margin-bottom: 40px;
}

.kumpulan h2 {
  font-size: 1.2rem;
  color: #001f3f;
  margin-bottom: 16px;
}

.kad-senarai {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  background-color: #ffffff;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #222;
}

.card p {
  margin: 4px 0;
  font-size: 0.95rem;
  color: #444;
}

.card a {
  color: #0056d6;
  text-decoration: none;
  font-weight: 500;
}

.card a:hover {
  text-decoration: underline;
}

.warning {
  color: #d90429;
  font-size: 0.95rem;
  margin-top: 8px;
}

@media (min-width: 600px) {
  .kad-senarai {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .kad-senarai {
    grid-template-columns: repeat(3, 1fr);
  }
}

.btn-container {
  text-align: center;
  margin-bottom: 24px;
}

.btn-portal {
  background-color: #003366;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-portal:hover {
  background-color: #00509e;
}

/* Floating Button */
.floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #003366;
  color: white;
  padding: 12px 16px;
  font-size: 1.2rem;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  text-decoration: none;
  z-index: 1000;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.floating-btn:hover {
  background-color: #00509e;
  transform: scale(1.1);
}

.floating-btn-wide {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #003366;
  color: white;
  padding: 10px 16px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  font-size: 14px;
  z-index: 1000;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.floating-btn-wide:hover {
  background-color: #00509e;
  transform: scale(1.05);
}

