* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f8fafc;

  /* WATERMARK */
  background-image: url("../images/logo-Photoroom.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 420px;
  background-attachment: fixed;
}



.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 30px 0;
}

/* ===== HEADER / NAVBAR ===== */
.navbar {
  background: #ffffff;
  border-bottom: 3px solid #0b5ed7;
}


/* Logo + teks */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-brand img {
  height: auto;   /* ⬅ ukuran logo seperti awal */
  width: 40px;
}

/* Tulisan Pemerintah Desa */
.brand-text span {
  font-size: 12px;
  color: #374151;
  letter-spacing: 1px;
}

.brand-text strong {
  font-size: 20px;
  color: #e7e9ee;
  display: block;
  margin-top: 2px;
}


/* === SLIDER AREA === */
.slider {
  position: relative;
  width: 100%;
  height: 360px; /* ← kamu bisa kecilkan/besarkan */
  overflow: hidden;
}

/* SEARCH */
.search-box {
    background: #fff;
    padding: 20px;
    text-align: center;
}

.search-form {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.search-form input {
    padding: 10px;
    width: 60%;
}

.search-form button {
    padding: 10px 20px;
    background: #0b5ed7;
    color: #fff;
    border: none;
}

/* GRID */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

/* LAYANAN */
.layanan div {
    background: #fff;
    padding: 20px;
    text-align: center;
}

.layanan i {
    font-size: 40px;
    color: #0b5ed7;
    margin-bottom: 10px;
}

/* LINKS */
.links a {
    margin-right: 15px;
    text-decoration: none;
    color: #0b5ed7;
    font-weight: bold;
}

/* MAP */
.map {
    background: #ddd;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FOOTER */
footer {
    background: #0b1c3d;
    color: #fff;
    padding: 30px 0;
}

.footer .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: start;
}

footer p {
    margin-top: 10px;
}

.copyright {
    text-align: center;
    margin-top: 20px;
}

/* ===== SLIDER ===== */
.slider {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.caption {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
}

.caption {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-align: center;
  z-index: 2;
  max-width: 80%;
}

.caption h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.caption p {
  font-size: 15px;
}

@media (max-width: 768px) {
  .slider {
    height: 220px;
  }

  .caption h2 {
    font-size: 18px;
  }
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 28px;
  padding: 10px 14px;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
}

.slider-btn:hover {
  background: rgba(0,0,0,0.7);
}

.slider-btn.prev {
  left: 16px;
}

.slider-btn.next {
  right: 16px;
}

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: #ffffff;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===============================
   Grafik Pengaduan Masyarakat
   =============================== */

.pengaduan-section {
  max-width: 1100px;
  margin: 50px auto;
  padding: 20px;
}

.chart-wrapper {
  position: relative;
  width: 100%;
  max-width: 700px;   /* <<< ukuran profesional */
  height: 380px;      /* <<< tinggi grafik */
  margin: 0 auto;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}


/* === GRAFIK PENGADUAN === */
.pengaduan-wrapper {
  max-width: 600px;      /* ⬅️ batasi lebar */
  margin: 0 auto;        /* ⬅️ center horizontal */
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.pengaduan-wrapper canvas {
  width: 100% !important;
  height: auto !important;
}

@media (max-width: 768px) {
  .pengaduan-wrapper {
    max-width: 100%;
    margin: 0 12px;
  }
}

.perangkat-desa {
  max-width: 1160px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.perangkat-desa h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.perangkat-desa .subtitle {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 30px;
}

/* GRID */
.perangkat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}

/* CARD */
.perangkat-card {
  background: #ffffff;
  border: 1px solid #e6e9ee;
  border-radius: 12px;
  padding: 16px 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.perangkat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* FOTO */
.perangkat-card img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
  border: 3px solid #e5e7eb;
}

/* NAMA */
.perangkat-card h4 {
  font-size: 14px;
  margin: 4px 0;
  font-weight: 600;
}

/* JABATAN */
.perangkat-card span {
  font-size: 12px;
  color: #6b7280;
}

.struktur-desa {
  max-width: 1200px;
  margin: 80px auto;
  text-align: center;
}

.subtitle {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 40px;
}

/* CHART */
.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.org-level {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.org-level.horizontal {
  gap: 30px;
}

.org-level.dusun {
  flex-wrap: wrap;
}

/* GARIS */
.org-line {
  width: 2px;
  height: 40px;
  background: #cbd5e1;
  margin: 10px 0;
}

.org-line.small {
  height: 20px;
}

/* KOLOM */
.org-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* CARD */
.org-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 10px;
  width: 160px;
}

.org-card.small {
  width: 150px;
}

.org-card img {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 6px;
}

.org-card h4 {
  font-size: 13px;
  margin: 4px 0;
}

.org-card span {
  font-size: 12px;
  color: #6b7280;
}

.horizontal-line {
  width: 80%;
  height: 2px;
  background: #cbd5e1;
  margin: 20px auto;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 999;
}

.modal-content {
  background: #fff;
  width: 300px;
  margin: 10% auto;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.modal-content img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.close {
  float: right;
  cursor: pointer;
  font-size: 20px;
}

@media (max-width: 768px) {
  .org-level.horizontal {
    flex-wrap: wrap;
  }

  .horizontal-line {
    width: 100%;
  }

  .org-card {
    width: 140px;
  }
}

.struktur-desa h2 {
  font-size: 22px;
  letter-spacing: 1px;
  color: #0b5ed7;
}

.org-card {
  box-shadow: 0 4px 10px rgba(0,0,0,.05);
  transition: transform .2s ease;
}

.org-card:hover {
  transform: translateY(-4px);
}

/* MINI SCROLL */
.mini-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 15px 0;
  scrollbar-width: thin;
}

.mini-card {
  min-width: 120px;
  text-align: center;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
  cursor: pointer;
}

.mini-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #0b5ed7;
}

.mini-card p {
  font-size: 13px;
  margin-top: 8px;
  font-weight: 600;
}

/* BAGAN AWALNYA DISIMPAN */
.bagan-wrapper {
  display: none;
  margin-top: 40px;
  animation: fadeDown .4s ease;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* JUDUL */
.judul-toggle {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.judul-toggle .arrow {
  font-size: 18px;
  color: #0b5ed7;
}

/* WRAPPER */
.mini-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* SCROLL AREA */
.mini-scroll {
  display: flex;
  flex-direction: row;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
  width: 100%;
}

/* HILANGKAN SCROLLBAR */
.mini-scroll::-webkit-scrollbar {
  display: none;
}

/* CARD KECIL */
.mini-card {
  min-width: 100px;
  max-width: 100px;
  text-align: center;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,.12);
}

/* FOTO KECIL & BULAT */
.mini-card img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #0b5ed7;
}

.mini-card p {
  font-size: 12px;
  margin-top: 6px;
  font-weight: 600;
}

/* PANAH */
.nav-btn {
  border: none;
  background: #0b5ed7;
  color: #fff;
  font-size: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

.nav-btn:hover {
  background: #084298;
}

/* BAGAN */
.bagan-wrapper {
  display: none;
  margin-top: 30px;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  z-index: 999;
}


.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: #0b5ed7;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* MENU */
.nav-menu {
  display: flex;
  gap: 25px;
}

.nav-menu a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #0b5ed7;
  transition: 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a:hover {
  color: #0b5ed7;
}

/* TOGGLE MOBILE */
.nav-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 65px;
    right: 0;
    background: white;
    flex-direction: column;
    width: 220px;
    padding: 15px;
    border-radius: 0 0 0 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

.navbar {
  height: 65px;
  display: flex;
  align-items: center;
}

.nav-container {
  height: 100%;
}

.navbar {
  background: #ffffff;
}

.hero {
  background: #0b5ed7;
}

.nav-menu {
  position: absolute;
}

.navbar {
  position: relative;
}

/* =====================
   LOKASI DESA
===================== */
.lokasi-desa {
  padding: 40px 20px;
  background: #f5f7fa;
  text-align: center;
}

.lokasi-desa h2 {
  margin-bottom: 8px;
  color: #0b5ed7;
}

.lokasi-desa p {
  margin-bottom: 20px;
  color: #555;
  font-size: 14px;
}

.map-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.footer {
  background: #0b1f3a;
  color: #fff;
  padding: 24px 0 12px 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-col h4 {
  margin-bottom: 10px;
  color: #00c2ff;
}

.footer-logo {
  width: 70px;
  margin-bottom: 10px;
}

.footer-maps iframe {
  border-radius: 8px;
}

.footer-bottom {
  text-align: center;
  margin-top: 25px;
  font-size: 13px;
  color: #ccc;
}

/* ===== DENAH LOKASI KANTOR ===== */
.denah-lokasi iframe {
  width: 100%;
  height: 200px;       /* ⬅️ INI KUNCINYA */
  border: 0;
  border-radius: 8px;
}

/* ===============================
   DENAH LOKASI KANTOR (FOOTER)
================================ */
.footer-maps iframe {
  width: 100%;
  height: 220px;          /* ⬅️ SESUAI TINGGI KONTAK DESA */
  border: 0;
  border-radius: 8px;
}

/* ===============================
   FOOTER PROFIL DESA
================================ */
.footer-profile-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* Logo desa */
.footer-profile-inner img {
  width: auto;
  height: 220px;       /* ⬅️ SAMA DENGAN TINGGI MAP */
  object-fit: contain;
}

/* Alamat */
.footer-address h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
}

.footer-address p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.6;
}

/* Sosial media */
.footer-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-social a {
  background: #ffffff20;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  color: #fff;
}

.laporan-section {
  margin-top: 40px;
}

.laporan-card {
  height: 320px;
}

.laporan-card canvas {
  width: 100% !important;
  height: 240px !important;
}

.stats-card p {
  margin: 8px 0;
  font-size: 15px;
}

.footer {
  background: #0b2c4d; /* biru tua resmi */
  color: #ffffff;
  margin-top: 50px;
  font-size: 14px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-col h3 {
  margin-top: 10px;
  font-size: 18px;
}

.footer-col h4 {
  margin-bottom: 8px;
  font-size: 16px;
  border-bottom: 2px solid #ffffff33;
  padding-bottom: 6px;
}

.footer-logo {
  width: 80px;
  margin-bottom: 10px;
}

.footer-col p {
  line-height: 1.6;
  color: #e5e7eb;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #e5e7eb;
  text-decoration: none;
}

.footer-col ul li a:hover {
  text-decoration: underline;
}

.footer-maps iframe {
  width: 100%;
  height: 180px;
  border-radius: 6px;
  border: none;
}

.footer-bottom {
  background: #091f36;
  text-align: center;
  padding: 10px;
  font-size: 13px;
  color: #cbd5e1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-maps iframe {
    height: 180px;
  }
}

.footer-brand {
  display: flex;
  align-items: center;     /* sejajar tengah secara vertikal */
  gap: 18px;               /* jarak logo & teks */
}

.footer-logo {
  width: 90px;
  height: auto;
}

.footer-text {
  font-size: 14px;
  line-height: 1.6;
  color: #e5e7eb;
}

.footer-text strong {
  font-size: 15px;
  color: #ffffff;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* ⬅️ PENTING */
  gap: 28px;
}


.footer-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* ⬅️ sejajar vertikal */
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }

  .footer-col {
    align-items: flex-start;
  }
}

.footer-col {
  flex: 1;
}

.footer-col h4 {
  margin: 0 0 12px 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #00c6ff;
  text-transform: uppercase;
}

.desa-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.footer-logo {
  height: 48px; /* sama dengan tinggi visual judul */
  width: auto;
}

.footer-col p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #dbeafe;
}

.footer-maps iframe {
  width: 100%;
  height: 180px;
  border: none;
  border-radius: 6px;
}

footer {
  padding: 24px 0 12px 0; /* atas | kanan-kiri | bawah */
}

.footer-bottom {
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 13px;
}

.footer-logo {
  width: 64px;      /* ⬅️ diperbesar */
  height: 64px;
  object-fit: contain;
}

.footer-desa {
  max-width: 260px;
}

/* Logo Desa */
.footer-logo {
  width: 72px;       /* ⬅️ Lebih besar & tegas */
  height: auto;
  margin-bottom: 10px;
}

/* Samakan posisi judul semua kolom footer */
.footer-col h4 {
  margin-top: 0;        /* ⬅️ KUNCI UTAMA */
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #00c2ff;
  text-transform: uppercase;
}

/* =========================
   VISI & MISI DESA
========================= */
.visi-misi {
  background-color: #f8fafc;
  padding: 25px 0 45px;
  margin-top: -10px;
}

.visi-misi h2 {
  text-align: center;
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 20px;
  color: #0b3c5d;
}

.visi-misi-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.visi,
.misi {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  border-left: 5px solid #0b5ed7;
}

.visi h3,
.misi h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #0b5ed7;
}

.misi ul {
  padding-left: 18px;
  margin: 0;
}

.misi ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .visi-misi-wrapper {
    grid-template-columns: 1fr;
  }
}

.welcome {
  padding: 40px 0 20px;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background-image: url("../images/logo-Photoroom.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 420px;

  opacity: 0.01; /* tingkat transparansi */
  z-index: -1;
  pointer-events: none;
}

/* ===== NAVBAR ===== */
.navbar {
  background: linear-gradient(90deg, #0b4fb3, #0e63d6);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}


/* BRAND */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.navbar-brand img {
  height: 56px;
}

.brand-text span {
  font-size: 13px;
  letter-spacing: 1px;
  display: block;
}

.brand-text strong {
  font-size: 20px;
  font-weight: 700;
}

/* MENU */
.navbar-menu {
  display: flex;
  gap: 22px;
}

.navbar-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding-bottom: 6px;
}

/* HOVER EFEK RESMI */
.navbar-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #ffd200;
  transition: width 0.3s ease;
}

.navbar-menu a:hover::after {
  width: 100%;
}

/* ===== TOP BAR ===== */
.topbar {
  background-color: #083b80;
  color: #eaeaea;
  font-size: 13px;
}

.topbar-container {
  max-width: 1300px;
  margin: auto;
  padding: 6px 24px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-menu a:hover {
  color: #ffd200;
}

/* ===== DROPDOWN ===== */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;

  background-color: #ffffff;
  min-width: 220px;
  border-radius: 6px;

  box-shadow: 0 4px 12px rgba(0,0,0,0.15);

  display: none;
  flex-direction: column;
  padding: 8px 0;
  z-index: 999;
}

.dropdown-menu li a {
  color: #083b80;
  padding: 10px 16px;
  display: block;
  font-size: 14px;
}

.dropdown-menu li a:hover {
  background-color: #f1f4f9;
}

/* TAMPIL SAAT HOVER */
.dropdown:hover .dropdown-menu {
  display: block;
}

.navbar-menu > li {
  position: relative;
}

.dropdown > a {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Reset default ul/li */
.navbar-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;           /* horizontal menu */
    align-items: center;
    gap: 16px;               /* jarak antar menu */
}

.navbar-menu li {
    position: relative;      /* untuk dropdown */
}

.navbar-menu a {
    text-decoration: none;
    color: #fff;
    padding: 8px 12px;
    display: block;
}

/* Dropdown menu, awalnya disembunyikan */
.dropdown-menu {
    display: none;           /* tersembunyi */
    position: absolute;
    top: 100%;               /* muncul tepat di bawah menu induk */
    left: 0;
    background-color: #0b5ed7;
    min-width: 180px;
    z-index: 999;
    border-radius: 4px;
    padding: 4px 0;
}

/* Item dalam dropdown */
.dropdown-menu li a {
    padding: 8px 12px;
    color: #fff;
    white-space: nowrap;
}

/* Hover dropdown */
.dropdown:hover .dropdown-menu {
    display: block;          /* muncul saat disentuh/hover */
}

/* Optional: efek hover pada link dropdown */
.dropdown-menu li a:hover {
    background-color: #0d6efd;
}


/* HEADER */
.navbar {
  background-color: #0a58ca; /* sesuaikan warna */
}

/* CONTAINER */


/* BRAND (LOGO + TEKS) */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px; /* jarak logo ke teks */
}

/* LOGO */
.navbar-brand img {
  width: 42px;      /* ukuran presisi */
  height: auto;
}

/* TEKS */
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: #fff;
}

.brand-text strong:first-child {
  font-size: 14px;
  font-weight: 600;
}

.brand-text strong:last-child {
  font-size: 16px;
  font-weight: 700;
}



@media (max-width: 768px) {
  .navbar-brand img {
    width: 34px;
  }

  .brand-text strong:first-child {
    font-size: 12px;
  }

  .brand-text strong:last-child {
    font-size: 14px;
  }
}

.navbar {
  width: 100vw;              /* paksa selebar layar */
  position: relative;
  left: 0;
  background: linear-gradient(to bottom, #0d6efd, #0b5ed7);
}


.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-brand img {
  width: 38px;
  height: auto;
}

.brand-text {
  line-height: 1.1;
  color: #fff;
}

.navbar .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 16px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand img {
    width: 38px;
}


.navbar {
    width: 100%;
    background: linear-gradient(to bottom, #0d6efd, #0b5ed7);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand img {
    width: 40px;
    height: auto;
}

.navbar-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 80px; /* jarak antara logo dan menu */
    justify-content: flex-start; /* mulai dari kiri, tidak memaksa jarak besar */
}


