body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

header {
  margin-bottom: 1rem;
}

/* Header banner */
.header-banner {
  width: 100%;
}

.header-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Navigation */
nav {
  background: #006400;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

nav ul li {
  margin: 0;
}

nav ul li a {
  display: block;
  padding: 0.8rem 1.5rem;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover,
nav ul li a.active {
  background: #228B22;
}

main {
  padding: 1rem 2rem;
}

h2 {
  color: #09cb29;
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
}

/* Gambar konten */
.tentang-img {
  display: block;
  max-width: 100%;   /* Supaya gambar tidak melebihi lebar layar */
  height: auto;
  margin: 20px auto; /* Tengah dan ada jarak dengan teks */
  border-radius: 8px; /* Opsional, biar sudut gambar agak melengkung */
}

/* Tombol */
.btn {
  display: block;
  width: fit-content;   /* ukurannya mengikuti isi */
  margin: 0 auto;       /* otomatis center */
  padding: 0.6rem 1.2rem;
  background: #006400;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;   /* pastikan teks tetap rata tengah */
}


.btn:hover {
  background: #228B22;
}

/* Container layanan */
.container {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
  background-color: #f9f9f9;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Paragraf konten */
main p {
  text-indent: 2em;      /* Paragraf menjorok */
  text-align: justify;   /* Rapi kiri kanan */
  margin-bottom: 1em;
}

/* List hak-hak */
main ol {
  margin-left: 2em;      /* Jarak dari kiri */
  padding-left: 1em;
}
main ol li {
  margin-bottom: 0.5em;  /* Spasi antar poin */
  text-align: justify;
}

/* Footer */
footer {
  background: #006400;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  font-size: 0.9rem;
}

footer p {
  margin: 5px 0;
  text-indent: 0;  /* Hilangkan indentasi di footer */
}

footer a {
  color: #FFD700;  /* emas */
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Perbaikan posisi footer */
footer, footer p {
  text-align: center !important;
  text-indent: 0 !important;
}

/* Perbaikan tombol di form ASN */
.btn {
  display: block;
  width: fit-content;   /* tombol menyesuaikan isi */
  margin: 0 auto;       /* otomatis berada di tengah */
  text-align: center;   /* teks di dalam tombol rata tengah */
}

p .btn {
  text-indent: 0;       /* hilangkan indentasi bawaan paragraf */
}