/* =================================== */
/* ========== GLOBAL RESET =========== */
/* =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* =================================== */
/* ========== HEADER SEMUA =========== */
/* =================================== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px; 
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 1000;
  transition: background 0.3s ease;
}

header.scrolled {
  background: #16476A; 
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Logo */
.tulisan_desa {
  color: #ffffff;
}

/* Menu utama */
.menu {
  list-style: none;
  margin-left: auto;
  padding: 0;
  display: flex;
}

.menu li {
  position: relative;
}

.menu li a {
  display: block;
  padding: 12px 18px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
}

/* Hover dengan biru lebih gelap */
.menu li a:hover {
  background: #3B9797; /* sedikit lebih gelap dari #16476A */
  border-radius: 4px;
  color: #ffffff;
}

/* Dropdown */
.dropdown-konten {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff; /* ganti jadi putih biar kontras */
  min-width: 180px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  z-index: 999;
  list-style: none;
  border-radius: 4px;
  overflow: hidden;
}

.dropdown-konten li a {
  display: block;
  padding: 10px 15px;
  color: #16476A; /* teks dropdown biru */
  text-decoration: none;
  font-weight: 500;
}

.dropdown-konten li a:hover {
  background: #E0F2FE; /* biru muda lembut */
  color: #000000; /* teks jadi hitam saat hover */
}

.dropdown:hover .dropdown-konten {
  display: block;
}

/* dropdown-kanan */
.dropdown-kanan {
  position: relative; /* supaya submenu absolut relatif ke li ini */
}

.dropdown-konten-kanan {
  display: none;
  position: absolute;
  top: 0;      /* sejajar dengan li parent */
  left: 100%;  /* muncul ke kanan */
  background: #ffffff;
  min-width: 180px;
  border-radius: 4px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  list-style: none;
  z-index: 999;
}

.dropdown-kanan:hover > .dropdown-konten-kanan {
  display: block;
}

/* ================= RESPONSIVE ================= */

/* Tombol hamburger (untuk mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Saat aktif (hamburger berubah jadi X) */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Tampilan menu di mobile */
@media (max-width: 768px) {
  header {
    padding: 0 20px;
  }

  .menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #16476A;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
    display: none;
    
    /* 💡 Tambahan penting */
    max-height: calc(100dvh - 80px); /* tinggi layar penuh dikurangi header */
    overflow-y: auto; /* bisa scroll kalau kepanjangan */
    z-index: 9999;
    scrollbar-width: thin; /* Firefox */
  }
  

  .menu.show {
    display: flex;
  }

  .menu li a {
    padding: 10px 0;
    font-size: 16px;
  }

  .dropdown-konten,
  .dropdown-konten-kanan {
    position: static;
    background: transparent;
    box-shadow: none;
    min-width: unset;
    border-radius: 0;
  }

  .dropdown-konten li a {
    color: #fff;
    padding: 8px 0;
  }

  .dropdown:hover .dropdown-konten {
    display: block;
  }

  /* Tombol hamburger muncul */
  .hamburger {
    display: flex;
  }
}



/* =================================== */
/* ========== HERO SLIDER ============ */
/* =================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slides {
  position: relative;
  width: 100%;
  height: 100vh;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Tombol panah */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.6);
}

.prev { left: 20px; }
.next { right: 20px; }

/* =================================== */
/* ======== TENTANG SINGKAT ========= */
/* =================================== */
.tentang-singkat {
  background: #EBEBEB;
  text-align: center;
  padding: 60px 20px;
}

.tentang-singkat h2 {
  font-size: 2.2rem;
  color: #16476A;
  margin-bottom: 10px;
}

.tentang-singkat .deskripsi {
  max-width: 700px;
  margin: 0 auto 50px;
  color: #555;
  font-size: 1rem;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 30px 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.card h3 {
  color: #16476A;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
}

.btn-card {
  display: inline-block;
  background: #16476A;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-card:hover {
  background: #3B9797;
}

.umkm-btn-container {
  text-align: center;
  margin-top: 30px;
}


/* =================================== */
/* ========= CALL TO ACTION ========== */
/* =================================== */
.call-to-action {
  padding: 80px 0;
  position: relative;
  clip-path: inset(0);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.call-to-action:before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5); /* tingkat gelap 50% */
  z-index: 2;
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.call-to-action h3 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.call-to-action p {
  color: #fff;
}

.call-to-action .cta-btn {
  background: #16476A;     
  color: #fff;                 
  border: 2px solid #16476A;  
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  text-decoration: none;
}

.call-to-action .cta-btn:hover {
  background: #3B9797;        
  border-color: #3B9797;
  color: #fff;
}

/* =================================== */
/* ========== BERITA Singkat========== */
/* =================================== */
.berita-singkat {
  padding: 60px 20px;
  background: #EBEBEB;
  text-align: center;
}

.berita-singkat h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #16476A;
}

.berita-singkat .deskripsi {
  font-size: 1rem;
  color: #111827;
  margin-bottom: 40px;
}

.berita-singkat-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

.berita-singkat-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  width: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.berita-singkat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.berita-singkat-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.berita-singkat-content {
  padding: 15px;
  text-align: left;
}

.berita-singkat-content h3 {
  color: #16476A;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.berita-singkat-content p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.btn-berita-singkat {
  display: inline-block;
  color: #fff;
  background: #16476A;
  padding: 8px 14px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.btn-berita-singkat:hover {
  background: #3B9797;
}

.berita-singkat-btn-container {
  text-align: center;
  margin-top: 30px;
}

.btn-berita-singkat-all {
  display: inline-block;
  padding: 12px 40px;
  background: #16476A;        
  color: #fff;
  border-radius: 50px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid #16476A;
  transition: all 0.3s ease;
}

.btn-berita-singkat-all:hover {
  background: #3B9797;
  border-color: #3B9797;
  transform: translateY(-2px);
}

/* ========= Bagian Page ============= */

/* =================================== */
/* ========== PAGE TITLE ============= */
/* =================================== */
.page-title {
  position: relative;
  min-height: 220px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4); 
}

.page-title .container {
  position: relative;
  z-index: 2;
}

.page-title h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;            
  justify-content: center;   
  align-items: center;       
  color: #fff;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs li {
  display: inline;           
}

.breadcrumbs li + li::before {
  content: " / ";            
  color: #fff;
}

.breadcrumbs a {
  color: #fff;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: #ffd700;           
}

.breadcrumbs .current {
  font-weight: 600;
}


/* =================================== */
/* ========= Halaman BERITA ========== */
/* =================================== */
.berita-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 50px 40px; 
  max-width: 1400px; 
  margin: 0 auto;
  flex-wrap: wrap;
  background-color: #EBEBEB;
}


/* Bagian kiri (daftar berita) */
.berita-kiri {
  flex: 3;
  background: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}


.berita-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

/* Kotak berita */
.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 15px 18px;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #16476A;
}

.card small {
  color: #777;
  display: block;
  margin-bottom: 6px;
}

.card-text {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 12px;
}

.btn-berita {
  display: inline-block;
  padding: 8px 15px;
  background: #16476A;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-berita:hover {
  background: #3B9797;
}

/* Pagination */
.pagination-container {
  margin-top: 40px;
  text-align: center;
}

.pagination {
  display: inline-block;
  background: #fff;
  padding: 10px 15px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.pagination a {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 3px;
  background: #eaeaea;
  color: #333;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
}

.pagination a:hover {
  background: #16476A;
  color: #fff;
}

.pagination a.active {
  background: #16476A;
  color: #fff;
}

/* Sidebar kanan */
.berita-kanan {
  flex: 1;
  min-width: 280px;
  align-self: flex-start;
}

.sidebar-item {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  margin-bottom: 25px;
}

.widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #16476A;
  margin-bottom: 15px;
  border-left: 5px solid #16476A;
  padding-left: 10px;
}

.sidebar-berita {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sidebar-berita-item {
  display: flex;
  align-items: center;
  background: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s;
}

.sidebar-berita-item:hover {
  transform: translateY(-3px);
}

.sidebar-berita-item img {
  width: 80px;
  height: 70px;
  object-fit: cover;
}

.sidebar-isi {
  padding: 10px;
}

.sidebar-isi h4 {
  font-size: 0.9rem;
  margin: 0;
  color: #16476A;
}

.sidebar-isi a {
  text-decoration: none;
  color: inherit;
}

.sidebar-isi small {
  color: #777;
  font-size: 0.8rem;
}

/* Responsif */
@media (max-width: 900px) {
  .berita-section {
    flex-direction: column;
    padding: 40px 20px;
  }

  .berita-kanan {
    width: 100%;
  }
}

/* ==================================== */
/* ========== Detail Berita =========== */
/* ==================================== */
.detail-berita-section {
  display: flex;
  justify-content: center;
  padding: 50px 40px;
  background-color: #EBEBEB;
}

.detail-container {
  display: flex;
  gap: 40px;
  max-width: 1400px;
  width: 100%;
  flex-wrap: wrap;
}

/* KIRI: artikel utama */
.detail-berita-card {
  flex: 3;
  background: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.detail-berita-card h2 {
  font-size: 28px;
  color: #1d3557;
  margin-bottom: 12px;
  border-bottom: 2px solid #f4a261;
  padding-bottom: 8px;
}

.detail-berita-card .tanggal {
  color: #777;
  display: block;
  margin-bottom: 15px;
}

.detail-gambar-wrapper {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  border-radius: 12px;
  margin: 15px 0;
}

.detail-gambar-wrapper img.detail-gambar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-berita-card .isi-berita {
  line-height: 1.7;
  color: #333;
  margin-top: 15px;
  text-align: justify;
}

/* Tombol kembali */
.kembali-btn {
  margin-top: 20px;
}

.kembali-btn .btn-berita {
  display: inline-block;
  padding: 8px 15px;
  background: #16476A;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}

.kembali-btn .btn-berita:hover {
  background: #3B9797;
}


/* ==================================== */
/* === UMUM UNTUK HALAMAN DUA KOLOM === */
/* ==================================== */
.umum-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 50px 40px; 
  max-width: 1400px; 
  margin: 0 auto;
  flex-wrap: wrap;
  background-color: #EBEBEB;
}

/* Konten kiri */
.umum-kiri {
  flex: 3;
  background: #fff;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* =================== UNTUK HALAMAN TEKS / ARTIKEL =================== */
.umum-konten-teks h2 {
  font-size: 28px;
  color: #1d3557;
  margin-bottom: 15px;
  border-bottom: 2px solid #f4a261;
  padding-bottom: 8px;
  text-align: center;
}

.umum-konten-teks p {
  line-height: 1.7;
  color: #333;
  margin-bottom: 15px;
  text-align: justify;
}

.umum-konten-teks ul {
  margin: 15px 0 20px 30px;
  color: #333;
}

.umum-konten-teks li {
  margin-bottom: 6px;
}

/* Jika ada gambar di dalam artikel */
.umum-konten-teks img {
  border-radius: 10px;
  display: block;
  margin: 20px auto;
  max-width: 100%;
}

/* ========== ANIMASI TOGGLE VISI MISI ========== */
.toggle-judul {
  cursor: pointer;
  background: #f1faee;
  padding: 10px 15px;
  border-radius: 8px;
  position: relative;
  transition: background 0.3s;
  margin-top: 15px;
}

.toggle-judul:hover {
  background: #e9ecef;
}

.toggle-judul::after {
  content: '▼';
  position: absolute;
  right: 15px;
  font-size: 14px;
  transition: transform 0.3s;
}

.toggle-judul.active::after {
  transform: rotate(180deg);
}

/* konten di bawahnya */
.toggle-isi {
  display: none;
  padding: 10px 5px;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-5px);}
  to {opacity: 1; transform: translateY(0);}
}


/* =================================== */
/* ============ APARATUR ============= */
/* =================================== */
.aparatur-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 50px 40px;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap;
  background-color: #f7f7f7;
}

/* Bagian kiri (daftar aparatur) */
.aparatur-kiri {
  flex: 3;
}

.aparatur-judul {
  text-align: center;
  font-size: 1.8rem;
  color: #16476A;
  margin-bottom: 40px;
}

/* Daftar aparatur sebagai grid */
.aparatur-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
  justify-items: center;
}

/* Card tiap aparatur (vertikal) */
.aparatur-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  width: 100%;
  max-width: 250px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.aparatur-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* Foto aparatur di atas */
.aparatur-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-bottom: 4px solid #16476A;
}

/* Info di bawah foto */
.aparatur-info {
  padding: 15px;
}

.aparatur-info h3 {
  margin: 10px 0 6px;
  font-size: 1.1rem;
  color: #16476A;
}

.aparatur-info p {
  margin: 4px 0;
  color: #444;
  font-size: 0.9rem;
}

/* Sidebar kanan (tetap pakai style berita) */
.berita-kanan {
  flex: 1;
  min-width: 280px;
  align-self: flex-start;
  position: sticky;
  top: 100px; /* jarak dari atas layar biar ga nempel header */
}

.sidebar-item {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  margin-bottom: 25px;
}

.widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #16476A;
  margin-bottom: 15px;
  border-left: 5px solid #16476A;
  padding-left: 10px;
}

.sidebar-berita {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Seluruh kotak bisa diklik tanpa garis biru */
.sidebar-berita-item-link {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
  outline: none !important;
  box-shadow: none !important;
}

/* Efek hover halus */
.sidebar-berita-item-link:hover {
  transform: translateY(-3px);
  background-color: #eef6fb; /* warna hover lembut */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Hilangkan garis biru saat fokus */
.sidebar-berita-item-link:focus,
.sidebar-berita-item-link:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Isi di dalam kotak */
.sidebar-berita-item {
  display: flex;
  align-items: center;
  background: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
}

.sidebar-berita-item img {
  width: 80px;
  height: 70px;
  object-fit: cover;
}

.sidebar-isi {
  padding: 10px;
}

.sidebar-isi h4 {
  font-size: 0.9rem;
  margin: 0;
  color: #16476A;
}

.sidebar-isi small {
  color: #777;
  font-size: 0.8rem;
}

/* Responsif */
@media (max-width: 900px) {
  .aparatur-section {
    flex-direction: column;
    padding: 40px 20px;
  }

  .berita-kanan {
    width: 100%;
  }

  .aparatur-list {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .aparatur-item img {
    height: 200px;
  }
}



/* ==================================== */
/* ============= PENGADUAN ============ */
/* ==================================== */
.pengaduan-konten {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.pengaduan-judul {
  color: #16476A;
  border-left: 5px solid #16476A;
  padding-left: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.pengaduan-deskripsi {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.pengaduan-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pengaduan-group {
  display: flex;
  flex-direction: column;
}

.pengaduan-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #16476A;
  margin-bottom: 5px;
}

.pengaduan-input,
.pengaduan-select,
.pengaduan-textarea,
.pengaduan-file {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border 0.3s;
}

.pengaduan-input:focus,
.pengaduan-select:focus,
.pengaduan-textarea:focus {
  border-color: #16476A;
  outline: none;
}

.pengaduan-textarea {
  min-height: 120px;
  resize: vertical;
}

.pengaduan-keterangan {
  font-size: 0.8rem;
  color: #777;
  margin-top: 5px;
}

.pengaduan-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.pengaduan-btn {
  background: #16476A;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.pengaduan-btn:hover {
  background: #3B9797;
}

.pengaduan-btn-reset {
  background: #eaeaea;
  color: #333;
}

.pengaduan-error {
  color: #dc2626;
  font-size: 0.9rem;
  margin-top: 4px;
}

.pengaduan-success {
  color: #16a34a;
  font-size: 0.9rem;
  margin-top: 4px;
}

/* Responsif */
@media (max-width: 900px) {
  .berita-section {
    flex-direction: column;
    padding: 40px 20px;
  }

  .berita-kanan {
    width: 100%;
  }

  .pengaduan-konten {
    margin-bottom: 40px;
  }
}

/* ================================================= */
/* ====== STYLING UNTUK TABEL RIWAYAT LAPORAN ====== */
/* ================================================= */

.pengaduan-tabel {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-top: 20px;
}

.pengaduan-tabel th,
.pengaduan-tabel td {
  padding: 12px 15px;
  border-bottom: 1px solid #e0e0e0;
  text-align: left;
  font-size: 15px;
}

.pengaduan-tabel th {
  background: #1d3557;
  color: #fff;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.pengaduan-tabel tr:hover {
  background: #f8f9fa;
  transition: 0.2s;
}

.pengaduan-tabel td {
  color: #333;
}

/* ====== Tombol Aksi ====== */
.pengaduan-btn {
  display: inline-block;
  background: #457b9d;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.pengaduan-btn:hover {
  background: #1d3557;
}

/* ====== Warna Status ====== */
.status {
  padding: 5px 10px;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: capitalize;
}

.status.menunggu-verifikasi {
  background: #f39c12;
}

.status.diterima{
  background: #7CFC00 !important;
}

.status.proses,
.status.diproses {
  background: #2196f3;
}

.status.selesai {
  background: #4caf50;
}

.status.ditolak {
  background: #e74c3c;
}

/* ====== Responsif untuk layar kecil ====== */
@media (max-width: 768px) {
  .pengaduan-tabel th, .pengaduan-tabel td {
    font-size: 13px;
    padding: 8px;
  }

  .pengaduan-btn {
    padding: 5px 8px;
    font-size: 12px;
  }

  .status {
    padding: 4px 6px;
    font-size: 12px;
  }
}


/* =================================== */
/* ========= FLOATING BUTTON ========= */
/* =================================== */
.back-to-top-btn {
  position: fixed;
  bottom: 70px;           
  right: 30px;
  background: #FF9800;      /* ðŸ”¸ Oranye cerah */
  color: #fff;
  font-size: 20px;       
  padding: 6px 10px;      
  border-radius: 4px;    
  cursor: pointer;
  opacity: 0;             
  transform: translateX(100px); 
  transition: all 0.4s ease;
  z-index: 9999;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top-btn.show {
  opacity: 1;
  transform: translateX(0);
}

.back-to-top-btn:hover {
  background: #e68900;      /* ðŸ”¸ Hover sedikit lebih gelap */
}

/* Tombol Hubungi Kami Floating */
.floating-cta-btn {
  position: fixed;
  bottom: 20px;          
  right: 30px;           
  background: #FF9800;      /* ðŸ”¸ Warna oranye cerah */
  color: #fff;
  font-size: 20px;       
  padding: 10px 16px;       
  border-radius: 6px;       
  cursor: pointer;
  text-decoration: none;
  display: flex;              
  align-items: center;        
  justify-content: center;    
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.floating-cta-btn:hover {
  background: #e68900;        /* ðŸ”¸ Hover oranye lebih gelap */
  transform: translateY(-3px);
}


/* =================================== */
/* ============= FOOTER ============== */
/* =================================== */
.footer {
  background: #16476A;
  color: #EBEBEB;
  padding: 40px 20px 20px;
  font-size: 14px;
}

.footer-kotak {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
}

.footer-kolom {
  flex: 1;
  min-width: 220px;
  margin: 10px;
}

.footer-kolom h4 {
  margin-bottom: 15px;
  font-size: 16px;
  color: #EBEBEB;
  border-bottom: 2px solid #EBEBEB;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-kolom p,
.footer-kolom a,
.footer-kolom li {
  color: #EBEBEB;
  text-decoration: none;
  line-height: 1.8;
}

.footer-kolom a:hover {
  color: #93DA97;
}

.footer-logo {
  width: 150px; 
  height: auto;
  display: block; 
  margin: 0 auto 15px auto;
}

.footer-bawah {
  text-align: center;
  border-top: 1px solid #EBEBEB;
  margin-top: 20px;
  padding-top: 10px;
  font-size: 13px;
}

.footer-maps iframe {
  width: 100%;
  height: 200px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .footer-maps iframe {
    height: 180px;
  }
}

