/* ======================================================
   LAYANAN DUKCAPIL - TANA TORAJA
   File: assets/css/layanan_dukcapil.css
   ====================================================== */

body {
  background-color: #7db8ff33;
  font-family: "Poppins", sans-serif;
}

/* ======================================================
   HEADER
   ====================================================== */
.layanan-header {
  background: linear-gradient(90deg, #00aaff, #0077ff);
  color: #fff;
  text-align: center;
  padding: 30px 10px;
  font-weight: bold;
}

.layanan-header h2 {
  margin: 0;
  font-size: 28px;
}

.layanan-header p {
  margin: 5px 0 0;
  font-size: 16px;
}

.wa-banner {
  background-color: #25d366;
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 12px 18px;
  border-radius: 10px;
  margin-top: 20px;
  display: inline-block;
}

.wa-banner i {
  margin-right: 8px;
}

/* ======================================================
   GRID CARD
   ====================================================== */
.layanan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.layanan-card {
  background: #fff;
  border-radius: 15px;
  text-align: center;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.layanan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.layanan-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.layanan-card h5 {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
}

.layanan-card p {
  font-size: 14px;
  color: #666;
}

/* ======================================================
   HALAMAN AKTA KELAHIRAN & DETAIL LAYANAN
   ====================================================== */
.card {
  border-radius: 15px;
  background-color: #fff;
}

.card h4,
.card h5 {
  font-weight: 600;
}

.contact-box {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  margin-top: 10px;
}

.contact-box i {
  font-size: 28px;
  color: #25d366;
  margin-bottom: 8px;
}

.contact-box b {
  font-size: 18px;
}

/* Tombol WhatsApp */
.btn-success {
  background-color: #25d366 !important;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
}

.btn-success:hover {
  background-color: #1eb75d !important;
  transform: scale(1.02);
  transition: all 0.2s ease-in-out;
}

/* ======================================================
   FOOTER
   ====================================================== */
footer {
  margin-top: 60px;
}
