/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Reset & Global */
body {
  font-family: 'Roboto', sans-serif;
  background: #f8fafc;
  color: #212529;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background: linear-gradient(135deg, #2e7d32, #43a047, #66bb6a);
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  padding: 0.8rem 1rem;
}

.navbar .nav-link {
  color: #fff ;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.navbar .nav-link:hover {
  color: #c8f7c5 ;
  transform: translateY(-2px);
}

/* Section Title */
.section-title {
  font-weight: 700;
  font-size: 1.6rem;
  color: #2e7d32;
  border-left: 6px solid #43a047;
  padding-left: 12px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

/* Card */
.card {
  border-radius: 1rem;
  border: none;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.card-title {
  font-weight: 600;
  color: #2e7d32;
  font-size: 1.25rem;
}

.card img {
  object-fit: cover;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #43a047, #2e7d32, #1b5e20);
  color: #fff;
  text-align: center;
  padding: 70px 20px;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1b5e20, #2e7d32, #43a047);
  color: #fff;
  text-align: justify;
  padding: 18px;
  margin-top: 40px;
  font-size: 14px;
  letter-spacing: 0.3px;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.12);
}

footer a {
  color: #c8f7c5;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #fff;
}

/* Card Dusun */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.hover-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Struktur Pemerintahan */
.box {
  border: 2px solid #510a0a;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  margin: 10px auto;
  background: #ffffff;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  transition: transform 0.2s ease-in-out;
}

.box:hover {
  transform: translateY(-5px);
}

.box img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 8px;
  object-fit: cover;
  border: 2px solid #ddd;
}

.jabatan {
  font-weight: bold;
  color: #2e7d32;
  margin-bottom: 5px;
}

.box-kepala {
  width: 100%;
  max-width: 350px;
}

.pemerintahan-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}


