/* 1. Container: Tambahkan flex-wrap agar kartu bisa turun ke bawah jika layar sempit */
.card-container {
  display: flex;
  gap: 20px;
  padding: 40px;
  justify-content: center;
  flex-wrap: wrap; /* KUNCI RESPONSIVITAS */
}

/* 2. Card: Ubah width menjadi persentase agar adaptif */
.card-spec-widget {
  position: relative;
  width: 100%;       /* Full width di mobile */
  max-width: 350px;  /* Tapi jangan lebih lebar dari 350px */
  height: 450px;
  /* border-radius: 55px !important; Tapi jangan lebih lebar dari 350px */
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  color: white;
}


/* Background Image Layer */
.card-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease; /* Durasi animasi smooth */
}

/* Hover Effect: Scale 1.5x */
.card:hover .card-bg {
  transform: scale(1.5) !important;
}

.card-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(0, 50, 100, 0.95), rgba(0, 50, 100, 0.2));
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
  padding: 30px;
}

.card-spec-widget .content  h3 { margin-bottom: 15px; font-size: 1.5rem; color:white !important;}
.content p { line-height: 1.5; font-size: 0.95rem; opacity: 0.9; }