* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f4f6f9;
  color: #222;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

header {
  background: #0f5132;
  color: white;
  padding: 15px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
}

.hero {
  padding: 80px 20px;
  text-align: center;
  background: white;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.hero p {
  max-width: 700px;
  margin: auto;
  margin-bottom: 30px;
  line-height: 1.7;
}

.btn {
  background: #198754;
  color: white;
  border: none;
  padding: 12px 25px;
  cursor: pointer;
  border-radius: 6px;
  text-decoration: none;
}

.layanan {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 50px 0;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.card h3 {
  margin-bottom: 15px;
}

.form-section,
.dashboard-section {
  background: white;
  margin-top: 40px;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin-top: 15px;
  margin-bottom: 8px;
  font-weight: bold;
}

input,
textarea,
select {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

button {
  margin-top: 25px;
}

.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 25px;
}

th,
td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}

th {
  background: #198754;
  color: white;
}

footer {
  margin-top: 50px;
  padding: 20px;
  text-align: center;
  background: #0f5132;
  color: white;
}

@media (max-width: 768px) {

  .navbar {
    flex-direction: column;
  }

  nav {
    margin-top: 15px;
  }

  nav a {
    display: inline-block;
    margin: 5px;
  }

  .hero h2 {
    font-size: 28px;
  }

}
