/* ================= ROOT ================= */
:root{
  --green-600: #16a34a;
  --emerald-500: #10b981;
  --bg-gray: #f3f4f6;
  --text-gray-800: #1f2937;
  --text-gray-500: #6b7280;
  --purple-main: #a099ff;
  --purple-dark: #8f87ff;
}

*{
  box-sizing:border-box
}

body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,'Noto Sans',sans-serif;
  margin:0;
  color:var(--text-gray-800);
  background:#fff
}

.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 1rem
}

/* ================= NAVBAR ================= */
.navbar{
  background:linear-gradient(90deg,var(--purple-main),var(--purple-dark));
  color:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
  position:sticky;
  top:0;
  z-index:50
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between; /* FIX UTAMA */
  height:80px;
  padding:0 1rem;
  position:relative;
}

.nav-brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:#fff;
  text-decoration:none
}

/* MENU DESKTOP */
.nav-links{
  display:flex;
  gap:18px;
  align-items:center;
}

.nav-links a{
  color:#fff;
  text-decoration:none;
  font-size:15px;
}

/* BUTTON ☰ */
#menuBtn{
  display:none;
  font-size:28px;
  background:none;
  border:none;
  color:#fff;
  cursor:pointer;
}

/* ================= MOBILE ================= */
@media(max-width:768px){

  /* tombol ☰ selalu di kanan */
  #menuBtn{
    display:block;
    margin-left:auto;
  }

  /* dropdown menu */
  .nav-links{
    display:none;
    flex-direction:column;
    align-items:flex-start;
    position:absolute;
    top:64px;
    left:0;
    width:100%;

    background:linear-gradient(90deg,var(--purple-main),var(--purple-dark));
    padding:20px;
    gap:20px;

    transform:translateY(-10px);
    opacity:0;
    transition:all .3s ease;
  }

  .nav-links.show{
    display:flex;
    transform:translateY(0);
    opacity:1;
  }

  .nav-links a{
    font-size:15px;
    padding:5px 0;
    text-align:left;
  }

  #mobileMenu{
    display:none !important;
  }
}

/* ================= HERO ================= */
.hero{
  background:#fff;
  padding:16px 0
}

.hero .title{
  font-size:20px;
  font-weight:700;
  color:var(--text-gray-800)
}

.hero .subtitle{
  font-size:14px;
  color:var(--text-gray-500);
  margin-top:6px
}

/* ================= SLIDER ================= */
.slider-section{padding:12px}

.slider-wrapper{
  position:relative;
  overflow:hidden;
  border-radius:16px;
  box-shadow:0 6px 18px rgba(0,0,0,.08)
}

.slide{
  min-width:100%;
  /* increased height */
  height:260px;
  background-size:cover;
  background-position:center;
}
.slide .overlay{
  background:rgba(0,0,0,.4);
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
}

/* Local carousel (Bootstrap-like look) */
.carousel-local{
  /* increased height for a taller slider */
  height:260px;
  width:100%;
  border-radius:10px;
  margin-top:10px;
  overflow:hidden;
  box-shadow:0 3px 8px rgba(0,0,0,.12);
  position:relative;
}

.carousel-inner{
  display:flex;
  transition:transform .6s ease-in-out;
  will-change:transform;
}

.carousel-item{
  min-width:100%;
  flex:0 0 100%;
}

.carousel-item img{
  width:100%;
  height:260px;
  object-fit:cover;
  display:block;
}

@media (max-width:768px){
  .carousel-local, .carousel-item img{height:200px}
}

@media (max-width:576px){
  .carousel-local, .carousel-item img{height:160px}
}

.dots{
  position:absolute;
  left:0;
  right:0;
  bottom:12px;
  display:flex;
  justify-content:center;
  gap:8px
}

.dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:#fff;
  opacity:.5
}

/* ================= GRID & CARD ================= */
.grid-2{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px
}

.card{
  background:#fff;
  border-radius:16px;
  padding:12px;
  box-shadow:0 6px 14px rgba(0,0,0,.04);
  text-decoration:none;
  color:inherit;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .12s ease,box-shadow .12s ease
}

.card:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 20px rgba(0,0,0,.08)
}

.card .card-inner{
  display:flex;
  flex-direction:column;
  align-items:center
}

.icon-circle{
  width:56px;
  height:56px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight:700;
  margin-bottom:12px;
  box-shadow:0 4px 8px rgba(0,0,0,.08)
}

#menuBtn {
    color: #000;
    border: 1px solid #000;
    background: transparent;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

#menuBtn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}


/* colors */
.bg-blue{background:#3b82f6}
.bg-purple{background:#8b5cf6}
.bg-green{background:#10b981}
.bg-yellow{background:#f59e0b}
.bg-red{background:#ef4444}
.bg-indigo{background:#6366f1}
.bg-blue-light{background:#60a5fa}

/* utility */
.section-pad{padding:24px 0}
.muted{color:var(--text-gray-500)}
.title-lg{font-size:18px;font-weight:600;margin-bottom:12px}

/* DESKTOP GRID */

/* Styles for informasi page */
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;400&family=Poppins:wght@300&display=swap");

body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  font-family: "Poppins", sans-serif;
}

/* Navbar */
nav {
  display: flex;
  background-color: #a9a9a9;
  justify-content: space-around;
  /* padding: 20px 0; */
  color: #fff;
  height: 80px;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  width: 40%;
  justify-content: space-between;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
}

nav ul li a:hover {
  color: #fff;
}

/* Responsive Breakpoint */

/* ukuran tablet */
@media screen and (max-width: 768px) {
  nav ul {
      width: 50%;
  }
}

/* ukuran mobile */
@media screen and (max-width: 576px) {
  nav ul {
      display: none;
  }
}

.main {
  width: 100%;
  height: 100%;
}

.text-abu {
  color: #645e5e;
}

.bg-biru {
  background-color: #a9a9a9;
  position: fixed;
  z-index: 2;
  width: 100%;
  height: 60px;
  top: 0;
}

.wrap-bullet {
  width: 50px;
  height: 50px;
  border-radius: 50px;
}

.form-control {
  border: none;
}

.iconify {
  color: #fff;
  width: 50px;
  height: 50px;
}

.carousel {
  height: 150px;
  width: 100%;
  border-radius: 10px;
  margin-top: 10px;
}

.carousel img {
  height: 150px;
  width: 100%;
  border-radius: 10px;
}

.icon-menu {
  width: 50px;
  height: 50px;
  border-radius: 50px;
}

.sh-box {
  background-color: #fff;
  margin-left: 10px;
  margin-right: 10px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 3px 5px #000000a1;
}

/* aneka menu css */
.icon-logo {
  width: 30px;
  height: 30px;
  border-radius: 50px;
}

.rounded-50img {
  width: 100px;
  height: 80px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.2);
}

.icon-anekamenu {
  width: 50px;
  height: 50px;
  border-radius: 50px;
  margin-top: 10px;
}

.sh-box {
  background-color: #fff;
  margin-left: 10px;
  margin-right: 10px;
  height: auto;
  width: 360px;
  border-radius: 10px;
  box-shadow: 0 3px 5px #000000a1;
}

/* Larger font for count numbers */
.count-number {
  font-size: 24px;
  font-weight: bold;
}
@media(min-width:768px){
  .grid-2{grid-template-columns:repeat(3,1fr)}
}

.table tbody tr:hover {
    transform: scale(1.01);
    transition: 0.2s;
}

.btn {
    transition: 0.2s;
}

.btn:hover {
    transform: translateY(-1px);
}

/* ================= KEPENDUDUKAN PAGE ================= */
.kependudukan-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

.kependudukan-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

.menu-item {
    transition: transform 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.menu-item:hover {
    transform: translateY(-5px);
    color: inherit;
    text-decoration: none;
}

.icon-menu {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: 20px;
    object-fit: cover;
}

.text-gray {
    color: #645e5e;
}