/* Perbaikan untuk section "Kendala IT Perusahaan" (Home) — class-class ini
   dipakai di index.php tapi belum pernah punya styling di style.css,
   sehingga ikon SVG tampil raksasa (ukuran default browser) dan card
   tidak ter-grid rapi. File ini melengkapi CSS yang hilang tersebut. */

.problem-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.problem-card-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius, 16px);
  padding: 28px 24px;
  transition: transform .25s ease, border-color .25s ease;
  /* Wadah untuk ilustrasi latar — ukuran kotak TIDAK berubah, hanya
     menyiapkan lapisan dekoratif di belakang konten yang sudah ada. */
  position: relative;
  overflow: hidden;
}

/* Konten (ikon, judul, teks) tetap di lapisan atas, di atas ilustrasi */
.problem-card-item > * {
  position: relative;
  z-index: 1;
}

/* Ilustrasi latar bertema — elegan, transparan, tidak mengganggu
   keterbacaan teks. Satu ilustrasi unik per jenis masalah. */
.problem-card-item::before {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 150px;
  height: 150px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .12;
  pointer-events: none;
  z-index: 0;
}

.problem-card-item:hover::before {
  opacity: .2;
}

/* 1. Internet lambat/putus — ilustrasi sinyal & jalur koneksi terputus */
.problem-card-internet::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%233b82f6' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='50' cy='55' r='30'/%3E%3Cpath d='M50 25a41 41 0 0 0 0 60M50 25a41 41 0 0 1 0 60M20 55h60'/%3E%3Cpath d='M74 22 L86 34 M86 22 L74 34' stroke='%23ef4444' stroke-width='4'/%3E%3C/g%3E%3C/svg%3E");
}

/* 2. Server bermasalah — ilustrasi rack server dengan indikator error */
.problem-card-server::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%233b82f6' stroke-width='2.5'%3E%3Crect x='15' y='15' width='70' height='26' rx='4'/%3E%3Crect x='15' y='49' width='70' height='26' rx='4'/%3E%3Ccircle cx='26' cy='28' r='2.2' fill='%233b82f6' stroke='none'/%3E%3Ccircle cx='26' cy='62' r='2.2' fill='%23ef4444' stroke='none'/%3E%3Cline x1='38' y1='28' x2='68' y2='28'/%3E%3Cline x1='38' y1='62' x2='68' y2='62'/%3E%3C/g%3E%3C/svg%3E");
}

/* 3. WiFi tidak stabil — ilustrasi gelombang sinyal terputus-putus */
.problem-card-wifi::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%233b82f6' stroke-width='3' stroke-linecap='round' stroke-dasharray='6 6'%3E%3Cpath d='M20 55a42 42 0 0 1 60 0'/%3E%3Cpath d='M32 68a25 25 0 0 1 36 0'/%3E%3C/g%3E%3Ccircle cx='50' cy='80' r='4' fill='%233b82f6'/%3E%3C/svg%3E");
}

/* 4. Keamanan IT — ilustrasi gembok terbuka/rentan */
.problem-card-security::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%233b82f6' stroke-width='2.5'%3E%3Crect x='22' y='46' width='56' height='42' rx='6'/%3E%3Cpath d='M32 46V34a18 18 0 0 1 34-8'/%3E%3C/g%3E%3Ccircle cx='50' cy='65' r='6' fill='%233b82f6'/%3E%3Cline x1='50' y1='71' x2='50' y2='80' stroke='%233b82f6' stroke-width='3'/%3E%3C/svg%3E");
}

/* 5. Backup data — ilustrasi database/silinder penyimpanan */
.problem-card-backup::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%233b82f6' stroke-width='2.5'%3E%3Cellipse cx='50' cy='24' rx='32' ry='11'/%3E%3Cpath d='M18 24v52c0 6 14 11 32 11s32-5 32-11V24'/%3E%3Cpath d='M18 50c0 6 14 11 32 11s32-5 32-11'/%3E%3C/g%3E%3C/svg%3E");
}

/* 6. Tidak punya tim IT — ilustrasi orang/tim */
.problem-card-team::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%233b82f6' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='38' cy='30' r='13'/%3E%3Cpath d='M14 82v-8c0-11 11-19 24-19s24 8 24 19v8'/%3E%3Cpath d='M68 15a13 13 0 0 1 0 26M78 55c9 2 14 9 14 18v9' /%3E%3C/g%3E%3C/svg%3E");
}

@media (max-width: 560px) {
  .problem-card-item::before {
    width: 110px;
    height: 110px;
  }
}

.problem-card-item:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, .35);
}

.problem-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: rgba(59, 130, 246, .1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

/* Kunci utama perbaikan: SVG tanpa atribut width/height wajib dibatasi
   ukurannya lewat CSS, kalau tidak browser merender ~300x150px. */
.problem-card-icon svg {
  width: 24px;
  height: 24px;
}

.problem-card-item h3 {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.3;
}

.problem-card-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.problem-cta-box {
  margin-top: 40px;
  background: linear-gradient(135deg, rgba(59, 130, 246, .12), rgba(59, 130, 246, .04));
  border: 1px solid rgba(59, 130, 246, .25);
  border-radius: 18px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.problem-cta-text strong {
  color: #fff;
  font-size: 17px;
  display: block;
  margin-bottom: 6px;
}

.problem-cta-text p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  max-width: 520px;
}

.problem-cta-btn-wrap {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .problem-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .problem-cards-grid {
    grid-template-columns: 1fr;
  }

  .problem-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}
