* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

section {
  margin-bottom: 50px; /* Supaya tiap section punya jarak bawah */
}

.services {
  margin: 100px auto; /* Tengah dan jarak atas bawah */
  padding: 20px;
  background-color: #f5f5f5; /* Abu terang, hampir putih */
  border-radius: 12px; /* Sudut melengkung */
  max-width: 90%; /* Biar tidak full lebar */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Bayangan sangat soft biar ada dimensi */
}


.services h2 {
  text-align: center;
  margin-bottom: 80px; /* Jarak judul dengan konten bawahnya */
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
}

.category-card {
  flex: 0 0 calc(33.333% - 100px);
  box-sizing: border-box;
  border: 1px solid #ddd;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.category-card.active {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.service-icon img {
  max-width: 40px;
  max-height: 40px;
}

.placeholder-logo {
  width: 40px;
  height: 40px;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #666;
}

.category-detail {
  display: none;
  margin-top: 10px;
}

.skill-item {
  margin-top: 8px;
}

.skill-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.detail-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.progress-bar {
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
  height: 6px;
  width: 100%;
  margin: 4px 0;
}

.progress {
  background: #f9a825;
  height: 100%;
}

.level-text {
  font-size: 12px;
  color: #333;
  margin-bottom: 2px;
}

.description {
  font-size: 12px;
  color: #555;
  text-align: left;
}

.arrow-icon {
  font-size: 16px;
  color: #333;
  margin-left: auto; /* supaya dorong ke kanan */
  transition: transform 0.3s;
}

.category-card.active .arrow-icon {
  transform: rotate(180deg);
}

.highlight {
    color: #f9a825; /* kuning cerah */
    font-weight: bold; /* biar lebih menonjol */
}

/* Responsive */
@media (max-width: 768px) {
  .category-card {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .category-card {
    flex: 0 0 100%;
  }
}
