* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  background: #f0f4f8;
  color: #2d3436;
  line-height: 1.6;
}

/* headr */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: linear-gradient(90deg, #2c7be5, #1a5fd0);
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.judul {
  font-size: 24px;
  font-weight: 700;
}

.nav-a {
  margin-left: 25px;
  text-decoration: none;
  color: white;
  font-size: 16px;
  opacity: 0.9;
  transition: 0.3s;
  font-weight: 500;
  position: relative;
}

.nav-a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.nav-a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: white;
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.nav-a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

main {
  padding: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: white;
  margin-bottom: 30px;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.jdl-card {
  margin-bottom: 20px;
  border-left: 5px solid #2c7be5;
  padding-left: 15px;
  font-size: 22px;
  font-weight: 600;
}

.section img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.section img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* pg1 */
.home-div-1 {
  margin-bottom: 20px;
}

.stat-card {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.stat-text {
  flex: 1;
  background: linear-gradient(135deg, #2c7be5, #1a5fd0);
  color: white;
  padding: 20px;
  border-radius: 10px;
  font-size: 16px;
  box-shadow: 0 5px 15px rgba(44, 123, 229, 0.3);
  text-align: center;
  font-weight: 500;
}

/* btn */
.btn {
  margin-top: 20px;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #2c7be5, #1a5fd0);
  color: white;
  cursor: pointer;
  transition: 0.3s;
  font-size: 16px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(44, 123, 229, 0.3);
}

.btn::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #1a5fd0, #2c7be5);
  opacity: 0;
  transition: 0.3s;
  top: 0;
  left: 0;
}

.btn:hover::after {
  opacity: 0.4;
}

/* btn buat filter infra-lingk */
.btn-filter {
  margin-right: 15px;
  margin-bottom: 15px;
  background: #e9eef5;
  color: #333;
}

.btn-filter:hover {
  background: #2c7be5;
  color: white;
}

/* tbl-data */
.laporan > div {
  background: #f8fafc;
  padding: 20px;
  margin-top: 15px;
  border-radius: 10px;
  border-left: 5px solid #2c7be5;
  transition: 0.3s;
}

.laporan > div:hover {
  background: #eef4ff;
  transform: translateY(-5px);
  border-left: 5px solid #1a5fd0;
  box-shadow: 0 5px 15px rgba(44, 123, 229, 0.2);
}

/* form */
.form-input,
.form-select {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #ddd;
  margin-bottom: 15px;
  font-size: 16px;
}

.form-input:hover,
.form-select:hover {
  border-color: #2c7be5;
  box-shadow: 0 0 8px rgba(44, 123, 229, 0.1);
}

.form-input:focus,
.form-select:focus {
  border-color: #2c7be5;
  box-shadow: 0 0 12px rgba(44, 123, 229, 0.3);
}

/* tambahan */
.gmap {
  width: 100%;
  height: 400px;
  border-radius: 6px;
  border: none;
}

.pemilihan-kategori {
  display: flex;
  gap: 15px;
}

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

th {
  background: #f1f3f5;
  padding: 12px;
  text-align: left;
  border-bottom: 2px solid #dee2e6;
}

td {
  padding: 12px;
  border-bottom: 1px solid #eee;
  font-size: 0.85rem;
}

.btn-tbl {
  display: flex;
  gap: 10px;
  align-items: center;
}
