/* services_hki.css - Styling khusus untuk content_services_hki
   Ketentuan: tidak mengubah struktur/kelas, fokus style baru, responsif, warna profesional */

/* Top Navigation (Wilayah Pendaftaran) */
.topnav_service {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  margin: 24px auto;
  max-width: 1200px;
  
  color: #2d2d2d;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
 
}
.topnav_service a {
  color: #a7f3d0;
  text-decoration: none;
  font-weight: 600;
}
.topnav_service a:hover {
  color: #34d399;
}
.topnav_service a.current {
  color: #ffffff;
  background: rgba(34,197,94,0.15);
  padding: 6px 10px;
  border-radius: 8px;
}

/* Services Grid Container */
#services {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  grid-auto-rows: 1fr;
  margin: 0 auto 40px auto;
  padding: 0 16px;
  justify-content: center;
  justify-items: center;
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
  #services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  #services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  #services { grid-template-columns: 1fr; }
  .topnav_service { border-radius: 10px; padding: 10px 12px; }
}

/* Service Card */
#services .service_thumbs {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(17,24,39,0.08);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}
#services .service_thumbs:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(17,24,39,0.12);
  border-color: #d1d5db;
}

/* Intro Area */
#services .intro {
  padding: 20px 20px 0 20px;
  text-align: center;
  flex: 1 1 auto;
}
#services .intro h2 {
  margin: 0;
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  color: #0f172a;
  font-weight: 800;
}
#services .intro span {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.95rem;
  color: #14532d;
  font-weight: 700;
}

/* Image placeholder area (keeps any existing background image) */
#services .intro .img {
  height: 120px;
  margin: 16px auto 12px auto;
  width: 100%;
  max-width: 240px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid #e5e7eb;
  box-shadow: inset 0 0 0 9999px rgba(2,6,23,0.02);
}
/* Optional subtle accents for different imglayanan classes (no image overrides) */
#services .intro .img.imglayanan1 { box-shadow: 0 6px 16px rgba(22,163,74,0.15); }
#services .intro .img.imglayanan2 { box-shadow: 0 6px 16px rgba(59,130,246,0.15); }
#services .intro .img.imglayanan3 { box-shadow: 0 6px 16px rgba(234,179,8,0.15); }
#services .intro .img.imglayanan4 { box-shadow: 0 6px 16px rgba(139,92,246,0.15); }

/* More link (Selengkapnya) */
#services .intro .more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 18px 0;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  color: #065f46;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.28);
  transition: background 200ms ease, transform 200ms ease, color 200ms ease;
}
#services .intro .more:hover {
  background: rgba(16,185,129,0.22);
  transform: translateY(-2px);
  color: #064e3b;
}

/* Price area */
#services .price {
  border-top: 1px solid #f1f5f9;
  padding: 14px 20px 20px 20px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
#services .price h3 {
  margin: 0;
  font-size: 0.95rem;
}
#services .price h3 a {
  text-decoration: none;
  color: #0f172a;
  font-weight: 800;
  letter-spacing: 0.02em;
}
#services .price h3 a:hover { color: #065f46 !important; background: transparent !important; }

#services .price a span {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 9999px;
  font-weight: 800;
  color: #064e3b;
  background: linear-gradient(180deg, rgba(16,185,129,0.20), rgba(16,185,129,0.10));
  border: 1px solid rgba(16,185,129,0.35);
}
#services .price a[href*="watch_merek.php"] span {
  color: #1f2937;
  background: linear-gradient(180deg, rgba(234,179,8,0.25), rgba(234,179,8,0.15));
  border: 1px solid rgba(234,179,8,0.35);
}

/* Accessibility & subtle animations */
#services .service_thumbs:focus-within {
  outline: 2px solid rgba(34,197,94,0.6);
  outline-offset: 2px;
}
#services .service_thumbs { will-change: transform; }

/* Small screens spacing fixes */
@media (max-width: 480px) {
  #services .intro { padding: 16px 16px 0 16px; }
  #services .intro .img { height: 110px; }
  #services .price { padding: 12px 16px 16px 16px; }
}