@charset "UTF-8";
/* Fonts */
:root {
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
  --default-font:  "Poppins",  sans-serif;
}

/* Palet Warna */
:root { 
  --background-color: #fdfcf9;   
  --default-color: #2c2c2c;      
  --heading-color: #8b1e23;      
  --accent-color: #d4af37;       
  --surface-color: #ffffff;         
}

/* Warna Navigasi */
:root {
  --nav-color: #ffffff;  
  --nav-hover-color: #d4af37;      /* emas */
  --nav-mobile-background-color: #ffffff; 
  --nav-dropdown-background-color: #ffffff; 
  --nav-dropdown-color: #8b1e23;      
  --nav-dropdown-hover-color: #d4af37; 
}

/* ================= ROOT Profil Desa/Kelurahan ================= */
:root {
  --card-bg: #ffffff;
  --text-dark: #1f2937;
  --text-soft: #6b7280;
  --radius: 18px;
}

/* Preset Warna */
.light-background {
  --background-color: #faf7f2;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #1a1a1a;
  --default-color: #f0f0f0;
  --heading-color: #ffffff;
  --surface-color: #2c2c2c;
  --surface-color: #d4af37;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# Style Umum & Class Bareng
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Header Global (bagian header utama yang digunakan di seluruh halaman website).
--------------------------------------------------------------*/
.header {
  --background-color: rgba(0, 0, 0, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: rgba(0, 0, 0, 0.26);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 90px;
  margin-right: 8px;
}

/* Tambahan untuk teks di samping logo */
.header .logo-text h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  transition: color 0.3s ease;
}

.header .logo-text span {
  font-size: 14px;
  color: var(--default-color);
  transition: color 0.3s ease;
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .navmenu {
    order: 3;
  }
}

/*HEADER – MOBILE KECIL*/
@media (max-width: 575px) {
  .header {
    padding: 6px 0;
  }

  .header .logo img {
    max-height: 36px;
    margin-right: 6px;
  }

  .header .logo-text h1 {
    font-size: 0.85rem; /* ~13.5px */
    line-height: 1.1;
  }

  .header .logo-text span {
    font-size: 0.6rem; /* ~9.5px */
    line-height: 1.2;
    display: block;
  }

  .scrolled.header {
    padding: 4px 0;
  }

  .scrolled.header .logo img {
    max-height: 28px;
  }
}

/*HEADER – EXTRA MINI (≤360px)*/
@media (max-width: 360px) {
  .header {
    padding: 4px 0;
  }

  .header .logo img {
    max-height: 28px;
    margin-right: 4px;
  }

  .header .logo-text h1 {
    font-size: 0.72rem; /* ~11.5px */
  }

  .header .logo-text span {
    font-size: 0.52rem; /* ~8px */
  }

  .scrolled.header .logo img {
    max-height: 24px;
  }
}

/* Header Global saat Digulir (perubahan tampilan header ketika halaman digulir ke bawah).
------------------------------*/
.scrolled.header {
  --background-color: #ffffff;   
  --default-color: #000000;      
  --heading-color: #000000;      
  --nav-color: #8b1e23;          
  --surface-color: rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.scrolled.header .logo img {
  max-height: 60px;
  transition: max-height 0.3s ease;
}

@media (max-width: 575px) {
  .scrolled.header {
    padding: 4px 0;
  }

  .scrolled.header .logo img {
    max-height: 28px;
  }
  
  .header .logo-text h1 {
      font-size: clamp(0.75rem, 2.8vw, 1.1rem);
    }
    
    .header .logo-text span {
      font-size: clamp(0.55rem, 2.5vw, 0.8rem);
    }

}


/*--------------------------------------------------------------
# Menu Navigasi
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .mobile-nav-toggle {
    display: none;
  }
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 14px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 10px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* =========================
   Navmenu - Mobile 
========================= */
@media (max-width: 1199px) {

  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    right: 15px;
    top: 20px;
    position: absolute;
    padding: 8px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .mobile-nav-toggle:hover {
    background: var(--accent-color);
    color: var(--surface-color);
    transform: scale(1.08);
  }

  /* NAV WRAPPER */
  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 70px 20px 20px 20px;
    padding: 12px 0;
    margin: 0;
    border-radius: 14px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: all 0.3s ease;
    z-index: 9998;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  }

  /* LINK */
  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 12px 22px;
    font-family: var(--nav-font);
    font-size: 16px;
    font-weight: 500;
    border-radius: 10px;
    margin: 4px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s ease;
  }

  .navmenu a:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 88%);
    color: var(--nav-dropdown-hover-color);
  }

  /* ICON */
  .navmenu a i {
    font-size: 12px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: color-mix(in srgb, var(--accent-color), transparent 85%);
    color: var(--accent-color);
  }

  .navmenu a:hover i {
    background: var(--accent-color);
    color: var(--surface-color);
  }

  /* ACTIVE */
  .navmenu .active,
  .navmenu .active:focus {
    background: color-mix(in srgb, var(--accent-color), transparent 82%);
    color: var(--nav-dropdown-hover-color);
    font-weight: 600;
  }

  .navmenu .active i {
    background: var(--accent-color);
    color: var(--surface-color);
    transform: rotate(180deg);
  }

  /* DROPDOWN */
  .navmenu .dropdown ul {
    position: static;
    display: none;
    margin: 8px 15px;
    padding: 8px 0;
    border-radius: 10px;
    background: color-mix(in srgb, var(--nav-mobile-background-color), var(--accent-color) 5%);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.4s ease;
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
  }

  /* OVERLAY */
  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    inset: 0;
    background: rgba(33, 37, 41, 0.75);
    transition: 0.3s;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: var(--surface-color);
    font-size: 32px;
    top: 15px;
    right: 15px;
    z-index: 9999;
    background: var(--accent-color);
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
  }
}

.header {
  transition: all 0.3s ease;
}

.scrolled.header {
  background: #fff;
  color: #000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 190px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.page-title .meta-info {
    display: flex;             
    flex-wrap: wrap;          
    gap: 15px;                 
    justify-content: center;   
    align-items: center;       
    color: var(--default-color);
    font-size: 15px;           
}

.page-title .meta-info i {
    margin-right: 5px;         
    color: var(--warning-color, #ffc107); 
}

/* ============================================ */
/* PAGE TITLE RESPONSIVE */
/* ============================================ */
@media (max-width: 991px) {
  .page-title {
    padding: 150px 0 60px 0;
  }

  .page-title h1 {
    font-size: 36px; 
  }

  .page-title .breadcrumbs ol {
    font-size: 14px;
  }
}

@media (max-width: 575px) {
    .page-title {
         padding: 30px 0 30px 0; 
    }
  .page-title h1 {
    font-size: 25px !important;
    line-height: 1.2;
  }
  
  .page-title p {
      font-size: 13px !important;
      line-height: 1.2;
  }

  .page-title .breadcrumbs ol {
    font-size: 12px;
    justify-content: center;
  }

  .page-title .breadcrumbs ol li+li {
    padding-left: 5px;
  }

  .page-title .breadcrumbs ol li+li::before {
    padding-right: 5px;
  }

  .page-title .meta-info {
    flex-wrap: nowrap;       
    overflow-x: auto;
    padding: 0 10px;
    font-size: 12px;
  }
}

/*--------------------------------------------------------------
# Scroll Top Button (Enhanced & Responsive)
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 18px;
  bottom: -20px;
  z-index: 99999;
  background-color: var(--heading-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.scroll-top i {
  font-size: 20px;
  color: var(--surface-color);
}

.scroll-top:hover {
  background: transparent;
  border: 2px solid var(--heading-color);
  color: var(--heading-color);
  transform: translateY(-4px);
}

.scroll-top:hover i {
  color: var(--heading-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 20px;
}

/* ===========================
   RESPONSIVE
=========================== */

/* Tablets (≤ 768px) */
@media (max-width: 768px) {
  .scroll-top {
    width: 36px;
    height: 36px;
    right: 14px;
  }

  .scroll-top i {
    font-size: 18px;
  }
}

/* Phones (≤ 575px) */
@media (max-width: 575px) {
  .scroll-top {
    width: 32px;
    height: 32px;
    right: 12px;
    bottom: 18px;
  }

  .scroll-top i {
    font-size: 16px;
  }
}

/* Search Bar */
.search-wrapper .form-control {
  border-radius: 50px 0 0 50px;
  border: none;
  padding-left: 20px;
}
.search-wrapper .btn {
  border-radius: 0 50px 50px 0;
  background: var(--accent-color);
  color: var(--surface-color);
  transition: 0.3s ease;
}
.search-wrapper .btn:hover {
  background: var(--heading-color);
}

/* Section title */
.section-title {
  color: var(--heading-color);
  font-weight: 900;
  text-align: center;
}
.divider {
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, var(--heading-color), var(--accent-color));
  border-radius: 5px;
  margin: 0 auto 2rem auto;
}

/* Footer Global */
.footer {
  color: var(--default-color);
  background: var(--background-color);
  font-size: 14px;
  padding: 80px 0 0;
  position: relative;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.footer .sitename {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: var(--heading-font);
}

.footer p {
  font-size: 15px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.footer h4 {
  color: var(--heading-color);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  font-family: var(--heading-font);
  position: relative;
}

.footer h4:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer .footer-contact .contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.footer .footer-contact .contact-item .contact-icon {
  width: 40px;
  height: 40px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.footer .footer-contact .contact-item .contact-icon i {
  color: var(--accent-color);
  font-size: 16px;
}

.footer .footer-contact .contact-item .contact-info p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 14px;
  line-height: 1.5;
}

.footer .footer-bottom {
  margin-top: 50px;
  padding: 25px 0;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.footer .footer-bottom .copyright p {
  margin: 0;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}


@media (max-width: 991px) {
  .footer .footer-bottom .copyright p {
    text-align: center;
    margin-bottom: 15px;
  }
}

.footer .footer-bottom .footer-bottom-links {
  text-align: right;
  margin-bottom: 8px;
}

@media (max-width: 991px) {
  .footer .footer-bottom .footer-bottom-links {
    text-align: center;
    margin-bottom: 10px;
  }
}

.footer .footer-bottom .footer-bottom-links a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 13px;
  margin-left: 20px;
  text-decoration: none;
}

.footer .footer-bottom .footer-bottom-links a:first-child {
  margin-left: 0;
}

.footer .footer-bottom .footer-bottom-links a:hover {
  color: var(--accent-color);
}

@media (max-width: 991px) {
  .footer .footer-bottom .footer-bottom-links a {
    margin: 0 10px;
  }
}

.footer .footer-bottom .credits {
  text-align: right;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

@media (max-width: 991px) {
  .footer .footer-bottom .credits {
    text-align: center;
  }
}

.footer .footer-bottom .credits a {
  color: var(--accent-color);
  text-decoration: none;
}

.footer .footer-bottom .credits a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 0 0;
  }

  .footer .footer-content {
    text-align: center;
    margin-bottom: 40px;
  }

  .footer .footer-links,
  .footer .footer-contact {
    margin-bottom: 40px;
  }
}

/* ================= PRELOADER ================= */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--background-color, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 10px; /* agar tidak mentok di tepi layar */
  box-sizing: border-box;
}

.preloader-content {
  text-align: center;
  animation: fadeScale 1s ease-in-out infinite alternate;
}

.preloader-logo {
  width: 90px;
  max-width: 20vw; 
  height: auto;
  margin-bottom: 15px;
}

.preloader-title {
  font-weight: 700;
  color: var(--heading-color, #1e293b);
  margin-bottom: 4px;
}

.preloader-subtitle {
  font-size: 14px;
  color: #64748b;
}

/* Animasi halus */
@keyframes fadeScale {
  from {
    opacity: 0.7;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ================= RESPONSIVE MOBILE ================= */
@media (max-width: 768px) {
  .preloader-logo {
    width: 60px; /* lebih kecil di mobile */
  }
  
  .preloader-title {
    font-size: 16px;
  }
  
  .preloader-subtitle {
    font-size: 12px;
  }
  
  #preloader {
    padding: 5px;
  }
}

/*BUTTONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN*/
.btn-detail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--heading-color);
    color: var(--surface-color);
    font-size: .78rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: .25s ease;
    border: 1px solid transparent;
}

.btn-detail:hover {
    background: var(--accent-color);
    transform: scale(1.1);
    border-color: var(--accent-color);
    color: var(--surface-color);
}

.btn-view-all {
  background: var(--heading-color);
  color: var(--surface-color);
  padding: 8px 18px;         /* lebih kecil */
  border-radius: 24px;       /* lebih imut */
  font-weight: 600;
  font-size: 13px;           /* lebih manis */
  border: 2px solid transparent;
  transition: 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-view-all:hover {
  background: transparent;
  color: var(--heading-color);
  border-color: var(--heading-color);
  transform: translateY(-2px);   /* lebih halus & kecil */
}

.btn-primary {
  background-color: var(--heading-color);
  border: none;
}

.btn-primary:hover {
  background-color: var(--background-color);
  color: var(--heading-color);
  border: 1px solid var(--heading-color);
}

.btn-outline {
  background-color: var(--accent-color);
  border: none;
  color: var(--surface-color);
}

.btn-outline:hover {
  background-color: var(--background-color);
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
}

.btn-download,
.btn-view {
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-download {
  background: var(--accent-color);
  color: var(--surface-color);
}

.btn-view {
  background: var(--surface-color);
  border: 1px solid #ddd;
  color: var(--default-color);
}

.btn-view:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

/*UNTUK ANIMASI MOBILE*/
@media (max-width: 768px) {
  [data-aos] {
    transform: none !important;
  }
}

/*--------------------------------------------------------------
# Beranda (Home Page)
--------------------------------------------------------------*/
/* ================================
   GLOBAL HERO STYLING
================================ */
.hero-section {
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* ===== HERO IMAGE FULL WIDTH RESPONSIVE ===== */
.hero-img {
  width: 100%;           
  height: auto;          
  max-height: 550px;     
  object-fit: cover;   
  object-position: center;
  filter: brightness(0.55);
  display: block;
  background-color: var(--heading-color); 
  
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 700px;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 5;
  padding: 0 20px;
}

.hero-text .title {
  font-size: 35px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #fff;
}

.hero-text .highlight {
  color: var(--surface-color);
}

.hero-text .subtitle {
  color: #e8e8e8;
  font-size: 1.2rem;
  margin-bottom: 25px;
}

/* ================================
   BUTTONS HERO CARAOSEL
================================ */
.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary-hero,
.btn-outline-hero {
  padding: 10px 24px;
  font-size: 0.95rem;
  border-radius: 25px;
  display: inline-block;
  font-weight: 600;
  transition: 0.3s ease;
  text-decoration: none;
}

/* Primary */
.btn-primary-hero {
  background: var(--surface-color);
  color: var(--heading-color);
}

.btn-primary-hero:hover {
  transform: translateY(-2px);
  color: var(--heading-color);
  border: 2px solid var(--heading-color);
}

/* Outline */
.btn-outline-hero {
  border: 2px solid var(--surface-color);
  color: var(--surface-color);
}

.btn-outline-hero:hover {
  background: var(--surface-color);
  color: var(--heading-color);
}

/* ================================
   CAROUSEL CONTROLS MODERN
================================ */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 45px;
  height: 45px;
  background-color: rgba(255,255,255,0.4);
  border-radius: 50%;
  background-size: 18px;
}

/* ========================= RESPONSIVE ========================= */
@media (max-width: 992px) {
  .hero-img { max-height: 500px; }
  .hero-text .title { font-size: 2.4rem; }
  .hero-text .subtitle { font-size: 1rem; }
}

@media (max-width: 768px) {
  .hero-img { max-height: 400px; }
  .hero-text { top: 50%; }
  .hero-text .title { font-size: 2rem;}
  .hero-text .subtitle { font-size: 0.95rem; }
}

/* ========================= SOSMED SECTION ========================= */
/* =========================================================
   SOSIAL MEDIA SECTION
========================================================= */
.social-media-wrapper {
  margin-top: 6rem;
}

/* =========================================================
   CONTENT WRAPPER (JARAK KIRI-KANAN SEMUA LAYAR)
========================================================= */
.social-media-content {
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Desktop besar */
@media (min-width: 1200px) {
  .social-media-content {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* =========================================================
   TIKTOK BANNER
========================================================= */
.tiktok-banner {
  width: 100%;
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
}

.tiktok-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================================
   TIKTOK CARD
========================================================= */
.tiktok-card {
  display: block;
  height: 100%;
  padding: 2.5rem 2rem;
  text-align: center;

  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tiktok-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.tiktok-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #000;
  color: #fff;
  border-radius: 50%;
  font-size: 2rem;
}

.tiktok-card h4 {
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.tiktok-card p {
  font-size: 0.95rem;
  color: #6c757d;
}

/* =========================================================
   RESPONSIVE - TABLET
========================================================= */
@media (max-width: 768px) {

  .social-media-wrapper {
    margin-top: 4rem;
  }

  .social-media-content {
    padding: 0 1rem;
  }

  .tiktok-banner {
    max-height: 260px;
  }

  .tiktok-card {
    margin-top: 1.5rem;
    padding: 2rem 1.5rem;
  }

  .tiktok-icon {
    width: 60px;
    height: 60px;
    font-size: 1.7rem;
  }
}

/* =========================================================
   RESPONSIVE - HP KECIL
========================================================= */
@media (max-width: 480px) {

  .social-media-content {
    padding: 0 0.75rem;
  }

  .tiktok-banner {
    max-height: 200px;
  }

  .tiktok-card {
    padding: 1.75rem 1.25rem;
  }

  .tiktok-icon {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
  }

  .tiktok-card h4 {
    font-size: 1rem;
  }

  .tiktok-card p {
    font-size: 0.9rem;
  }
}

/* ========================= PENGUMUMAN SECTION ========================= */
.pengumuman-banner {
  padding: 25px 0;
  margin-top: -20px;
  margin-bottom: 30px;
}

.pengumuman-box {
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--accent-color), transparent 20%),
    color-mix(in srgb, var(--surface-color), transparent 10%)
  );
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 18px 25px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  transition: 0.3s ease;
}

.pengumuman-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.10);
}

/* Icon */
.pengumuman-icon {
  width: 55px;
  height: 55px;
  background: var(--heading-color);
  color: var(--surface-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  flex-shrink: 0;
}

/* Text */
.pengumuman-text h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 4px;
}

.pengumuman-text p {
  font-size: 14px;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

/* Button */
.pengumuman-btn {
  margin-left: auto;
  background: var(--heading-color);
  color: var(--surface-color);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: 0.3s ease;
}

.pengumuman-btn:hover {
  background: transparent;
  color: var(--heading-color);
  border: 2px solid var(--heading-color);
  padding: 9px 17px;
}

/* Shine Effect */
.pengumuman-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80px;
  width: 60px;
  height: 100%;
  background: rgba(255,255,255,0.25);
  transform: skewX(-20deg);
  animation: slideShine 2.8s infinite linear;
}

@keyframes slideShine {
  0% { left: -80px; }
  100% { left: 110%; }
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 767px) {
  .pengumuman-box {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 20px;
  }

  .pengumuman-btn {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .pengumuman-icon {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .pengumuman-text h4 {
    font-size: 16px;
  }

  .pengumuman-text p {
    font-size: 13px;
  }
}



/* ============================================
  SEKILAS KECAMATAN (ABOUT SECTION)
============================================ */
.about-section {
  background: var(--background-color);
  padding: 0;
  margin-bottom: 50px;
}

.about-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-section p.lead {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 17px;
}

/* ============================================
  ABOUT BLOCK (PANEL INFORMASI)
============================================ */
.about-block {
  background: var(--surface-color);
  padding: 3rem;
  border-radius: 20px;
  height: 100%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.about-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Feature List (Visi & Misi bentuk paragraf list) */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--default-color);
}

.feature-item i {
  color: var(--heading-color);
  font-size: 20px;
  margin-top: 3px;
}

/* Badge */
.section-badge {
  background: var(--heading-color);
  color: var(--surface-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 600;
  width: 210px;
}

/* ============================================
   IMAGE SHOWCASE (KANAN)
============================================ */
.image-showcase {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;            /* BIKIN SEJAJAR DENGAN ABOUT-BLOCK */
  justify-content: center;
}

.image-showcase .main-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

/* Badge label di gambar */
.overlay-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: var(--surface-color);
  padding: 10px 16px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.overlay-badge .badge-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.overlay-badge i {
  font-size: 26px;
  color: var(--heading-color);
}

.badge-text span {
  font-size: 13px;
  opacity: 0.8;
}

/* Floating Card */
.floating-card {
  position: absolute;
  bottom: -25px;
  right: 20px;
  background: var(--surface-color);
  padding: 12px;
  border-radius: 12px;
  width: 180px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.floating-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 8px;
}

.floating-card .rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--heading-color);
}

/* ============================================
   RESPONSIVE BREAKPOINTS
============================================ */

/* Laptop Small (992–1199px) */
@media (max-width: 1199px) {
  .about-section h2 { font-size: 30px; }
  .about-block { padding: 2.5rem; }
  .floating-card { width: 160px; right: 15px; }
}

/* Tablets (768–991px) */
@media (max-width: 991px) {
  .about-section h2 { font-size: 28px; }
  .about-section p.lead { font-size: 16px; }

  .about-block {
    padding: 2rem;
  }

  .image-showcase {
    margin-top: 20px;
  }

  .floating-card {
    width: 150px;
    bottom: -20px;
  }
}

/* Small Tablets / Large Phones (576–767px) */
@media (max-width: 767px) {
  .about-section { padding: 60px 0; }
  .about-section h2 { font-size: 26px; }

  .about-block { padding: 1.8rem; }

  .floating-card {
    width: 140px;
    bottom: -18px;
    right: 10px;
  }
}

/* Phones (<575px) */
@media (max-width: 575px) {
  .about-section { padding: 50px 0; }
  .about-section h2 { font-size: 24px; }

  .btn-view-all {
    width: 100%;
    display: flex;
    justify-content: center; 
    align-items: center;     
    gap: 6px;                
    text-align: center;
  }

  .floating-card {
    width: 130px;
    right: 5px;
    bottom: -15px;
  }

  .image-showcase .main-image img {
    border-radius: 15px;
  }

  .overlay-badge {
    padding: 8px 12px;
    border-radius: 12px;
  }

  .about-block {
    padding: 1.5rem;
  }
}

/* ============================================
   KEGIATAN TERBARU — STYLE DESA NDONA
============================================ */

/* ========== CARD BESAR KIRI ========== */
.kegiatan-highlight .kegiatan-overlay {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface-color);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.kegiatan-highlight img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.4s ease;
}

.kegiatan-highlight .kegiatan-overlay:hover img {
  transform: scale(1.08);
}

.kegiatan-highlight .kegiatan-info {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 25px;
  width: 100%;
  background: color-mix(in srgb, var(--surface-color), transparent 40%);
  border-radius: 0 0 20px 20px;
}

/* Tag */
.kegiatan-tag {
  background: var(--heading-color);
  color: var(--surface-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* Judul card besar */
.kegiatan-highlight h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-color);
}

/* ============================================
   CARD KECIL KANAN
============================================ */

.kegiatan-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: var(--surface-color);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.kegiatan-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

/* Bagian gambar */
.kegiatan-image {
  flex-shrink: 0;
  width: 140px;
  height: 150px;
  border-radius: 16px;
  overflow: hidden;
}

.kegiatan-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Text */
.kegiatan-item h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 6px;
}

.kegiatan-item .location,
.kegiatan-item .brief {
  font-size: 14px;
  color: var(--default-color);
  margin-bottom: 6px;
}

.kegiatan-item i {
  color: var(--heading-color);
}

.kegiatan-item .stats-row {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: var(--default-color);
}
/* =========================
   KEGIATAN LAINNYA
========================= */

.kegiatan-lainnya .kegiatan-item {
  height: 100%;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.kegiatan-lainnya .kegiatan-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

/* IMAGE */
.kegiatan-lainnya .kegiatan-image {
  height: 200px;
  width: 100%;
  overflow: hidden;
}

.kegiatan-lainnya .kegiatan-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BODY */
.kegiatan-lainnya .kegiatan-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* JUDUL */
.kegiatan-lainnya h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

/* TANGGAL */
.kegiatan-lainnya .location {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 10px;
}

/* DESKRIPSI */
.kegiatan-lainnya .brief {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;

  /* bikin tinggi sama */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* LINK */
.kegiatan-lainnya .quick-link {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 600;
  color: #b52d2d;
  text-decoration: none;
}

.kegiatan-lainnya .quick-link:hover {
  text-decoration: underline;
}

/* FILTER ANIMATION */
.kegiatan-col {
  transition: all 0.4s ease;
}

.kegiatan-col.hide {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.kegiatan-col.show {
  opacity: 1;
  transform: scale(1);
}

/* Link */
.quick-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--heading-color);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

/* ===============================
   FILTER KATEGORI KEGIATAN
================================ */

.kegiatan-filter {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.kegiatan-filter-item {
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: var(--surface-color);
  color: var(--heading-color);
  border: 1px solid color-mix(in srgb, var(--heading-color), transparent 70%);
  transition: all 0.3s ease;
}

.kegiatan-filter-item:hover {
  background: var(--heading-color);
  color: var(--surface-color);
}

.kegiatan-filter-item.active {
  background: var(--heading-color);
  color: var(--surface-color);
  border-color: var(--heading-color);
}

/* ANIMASI FILTER (PAKAI YANG SUDAH ADA) */
.kegiatan-col.show {
  opacity: 1;
  transform: scale(1);
}

.kegiatan-col.hide {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  position: absolute;
}

/* ===============================
   FILTER KATEGORI KEGIATAN
================================ */

.kegiatan-filter {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.kegiatan-filter-item {
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: var(--surface-color);
  color: var(--heading-color);
  border: 1px solid color-mix(in srgb, var(--heading-color), transparent 70%);
  transition: all 0.3s ease;
}

.kegiatan-filter-item:hover {
  background: var(--heading-color);
  color: var(--surface-color);
}

.kegiatan-filter-item.active {
  background: var(--heading-color);
  color: var(--surface-color);
  border-color: var(--heading-color);
}

/* ============================================ */
/* DETAIL ISI KEGIATAN */
/* ============================================ */

.detail-content {
  font-size: 1.05rem;
  color: var(--default-color);
  line-height: 1.7;
  margin-top: 1.5rem;
  padding: 0 15px; /* padding kiri-kanan dasar */
}

/* Untuk layar medium (tablet) */
@media (max-width: 991px) {
  .detail-content {
    font-size: 1rem;
    padding: 0 20px; /* lebih lega di tablet */
  }
}

/* Untuk layar kecil (HP) */
@media (max-width: 575px) {
  .detail-content {
    font-size: 0.95rem;
    padding: 0 25px; /* tidak mepet ke tepi */
    line-height: 1.6;
  }
}

/*Pagination*/
.pagination .page-link {
  color: var(--heading-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  padding: 8px 14px;
  font-weight: 600;
  border-radius: 10px;
  margin: 0 4px;
  background: var(--surface-color);
  transition: 0.25s ease;
}

.pagination .page-link:hover {
  background: var(--heading-color);
  color: var(--surface-color);
  border-color: var(--heading-color);
}

.pagination .page-item.active .page-link {
  background: var(--heading-color);
  color: var(--surface-color);
  border-color: var(--heading-color);
}

.pagination .page-item.disabled .page-link {
  opacity: 0.4;
  cursor: not-allowed;
}

.ratio iframe,
.ratio video {
  border-radius: 12px;
}

/* ============================================
   RESPONSIVE FIX
============================================ */

/* Medium Devices */
@media (max-width: 991px) {
  .kegiatan-highlight img {
    height: 400px;
  }
}

/* Tablets & Small Devices */
@media (max-width: 767px) {
  /* Card kecil dibuat vertical */
  .kegiatan-item {
    flex-direction: column;
  }

  /* Gambr kecil jadi FULL WIDTH */
  .kegiatan-image {
    width: 100%;
    height: auto;
  }

  .kegiatan-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
  }
}

/* Phones */
@media (max-width: 575px) {
  .kegiatan-highlight img {
    height: 400px;
  }

  .kegiatan-image img {
    height: 280px;
  }
}

/*Berita Terkait*/
/*Berita Terkait*/
.berita-terkait-item:hover {
  transform: translateY(-3px);
  transition: 0.3s ease;
}
.meta-berita {
  display: flex;          
  justify-content: center; 
  gap: 15px;               
  flex-wrap: wrap;        
  color: var(--default-color);
  font-size: 0.95rem;
}

.meta-berita i {
  margin-right: 4px; 
  display: inline-block;
}

.galeri-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}
.galeri-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 6px 10px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 0.9rem;
  border-radius: 0 0 8px 8px;
}

/*Share Berita*/
.share-section h5 {
  font-size: 1.15rem;
}

.share-icons .share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 20px;
  background: var(--light-background, #f5f5f5);
  color: var(--heading-color);
  transition: .3s;
}

/* Facebook */
.share-btn.fb {
  color: #1877F2;
}

/* WhatsApp */
.share-btn.wa {
  color: #25D366;
}

/* Instagram */
.share-btn.ig {
  color: #E1306C;
}

/* Hover efek */
.share-btn:hover {
  transform: translateY(-3px);
  background: color-mix(in srgb, var(--heading-color), transparent 80%);
}

/* ===============================
            META INFO
=============================== */

.meta {
    font-size: .75rem;
    color: #666;
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 15px;
}

/* ============================= */
/* SEARCH BERITA (KANAN & KECIL) */
/* ============================= */

#semua-berita form {
  margin-top: -10px;
}

#semua-berita .input-group {
  max-width: 320px;       
  margin-left: 500px;    
}

#semua-berita .form-control {
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 8px 0 0 8px;
}

#semua-berita .btn {
  padding: 8px 14px;
  font-size: 0.9rem;
  border-radius: 0 8px 8px 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
  #semua-berita .input-group {
    max-width: 100%;
    margin-left: 0;
  }
}

/* ===============================
            RESPONSIVE
=============================== */

@media (max-width: 768px) {
    .image-wrapper {
        height: 300px;
    }
    .card-body-custom {
        padding: 13px 16px 18px;
    }
    .card-body-custom .judul {
        font-size: 1.05rem;
    }
    .btn-detail {
        font-size: .75rem;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .image-wrapper {
        height: 150px;
    }
    .card-body-custom .judul {
        font-size: 1rem;
    }
    .btn-detail {
        font-size: .72rem;
        padding: 4px 9px;
    }
}
/* ===============================
   GALERI 
================================ */
/* FOTO */
.row .col-6:nth-child(1) .galeri-item { transition-delay: 0.05s; }
.row .col-6:nth-child(2) .galeri-item { transition-delay: 0.10s; }
.row .col-6:nth-child(3) .galeri-item { transition-delay: 0.15s; }
.row .col-6:nth-child(4) .galeri-item { transition-delay: 0.20s; }
.row .col-6:nth-child(5) .galeri-item { transition-delay: 0.25s; }
.row .col-6:nth-child(6) .galeri-item { transition-delay: 0.30s; }

/* VIDEO */
.row .col-md-6:nth-child(1) { transition-delay: 0.10s; }
.row .col-md-6:nth-child(2) { transition-delay: 0.20s; }
.row .col-md-6:nth-child(3) { transition-delay: 0.30s; }

.galeri-item {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background-color: #f5f5f5;
  overflow: hidden;
}
.galeri-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}
.galeri-item:hover img { transform: scale(1.05); }
.galeri-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
  font-weight: bold;
  text-align: center;
}
.galeri-item:hover .galeri-overlay { opacity: 1; }

/*--------------------------------------------------------------
# Pengaduan Masyarakat (BERANDA)
--------------------------------------------------------------*/

#pengaduan-masyarakat.pengaduan .pengaduan-carousel,
#pengaduan-masyarakat.pengaduan .pengaduan-slider {
  overflow: hidden;
}

#pengaduan-masyarakat.pengaduan .pengaduan-item {
  box-sizing: content-box;
  text-align: center;
  min-height: 320px;
}

#pengaduan-masyarakat.pengaduan .pengaduan-item .pengaduan-img {
  width: 250px;
  height: 150px;
  object-fit: cover;
  border-radius: 10%;
  margin: 0 auto;
}

#pengaduan-masyarakat.pengaduan .pengaduan-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

#pengaduan-masyarakat.pengaduan .pengaduan-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

#pengaduan-masyarakat.pengaduan .quote-icon-left,
#pengaduan-masyarakat.pengaduan .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}

#pengaduan-masyarakat.pengaduan .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

#pengaduan-masyarakat.pengaduan .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

#pengaduan-masyarakat.pengaduan .pengaduan-item p {
  font-style: italic;
  margin: 0 15px 35px 15px;
  padding: 20px;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  position: relative;
  border-radius: 6px;
}

#pengaduan-masyarakat.pengaduan .pengaduan-item p::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid color-mix(in srgb, var(--default-color), transparent 97%);
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  position: absolute;
  bottom: -20px;
  left: calc(50% - 20px);
}

#pengaduan-masyarakat.pengaduan .swiper-wrapper {
  height: auto;
}

#pengaduan-masyarakat.pengaduan .swiper-pagination {
  margin-top: 40px;
  position: relative;
}

#pengaduan-masyarakat.pengaduan .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

#pengaduan-masyarakat.pengaduan .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

#pengaduan-masyarakat .section-title h1 {
  color: var(--accent-color);
  font-weight: 700;
}

#pengaduan-masyarakat .description-title {
  color: var(--default-color);
  font-weight: 600;
}

/*PETA DI BERANDA*/
.map-public iframe {
  width: 100% !important;
  height: 500px;
  border: 0;
}

/*--------------------------------------------------------------
# Sejarah Kecamatan Section
--------------------------------------------------------------*/

.sejarah .intro-content h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

@media (max-width: 768px) {
  .sejarah .intro-content h2 {
    font-size: 2.2rem;
  }
}

.sejarah .intro-content .lead {
  font-size: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
  font-weight: 400;
}

/* Hero Image */
.sejarah .hero-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.sejarah .hero-image img {
  transition: transform 0.5s ease;
}

.sejarah .hero-image img:hover {
  transform: scale(1.05);
}

.sejarah .hero-image .floating-stats {
  position: absolute;
  bottom: -30px;
  right: -4px;
  display: flex;
  gap: 1rem;
}

@media (max-width: 768px) {
  .sejarah .hero-image .floating-stats {
    bottom: -20px;
    right: -20px;
    gap: 0.5rem;
  }
}

.sejarah .hero-image .floating-stats .stat-item {
  background: var(--surface-color);
  padding: 1.5rem 1rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 85%);
  min-width: 80px;
}

.sejarah .hero-image .floating-stats .stat-item .number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color);
}

.sejarah .hero-image .floating-stats .stat-item .label {
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

/* Story Content */
.sejarah .story-content .story-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.sejarah .story-content h3 {
  font-size: 2.5rem;
  color: var(--heading-color);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.sejarah .story-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 1.5rem;
}

/* Mission Box */
.sejarah .story-content .mission-box {
  display: flex;
  gap: 1rem;
  background: var(--surface-color);
  padding: 2rem;
  border-radius: 15px;
  border-left: 5px solid var(--accent-color);
  box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 92%);
  margin-top: 2rem;
}

.sejarah .story-content .mission-icon {
  width: 200px;
  height: 50px; /* samakan width & height */
  background: var(--accent-color);
  color: var(--surface-color);
  border-radius: 50%; /* membuat bulat sempurna */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}


/* Features Grid */
.sejarah .features-grid .section-header h3 {
  font-size: 2.5rem;
  font-weight: 700;
}

.sejarah .features-grid .feature-card {
  height: 280px;
  position: relative;
  perspective: 1000px;
  cursor: pointer;
}

.sejarah .feature-card .feature-front,
.sejarah .feature-card .feature-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transition: transform 0.6s ease;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sejarah .feature-front {
  background: var(--surface-color);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 88%);
}

.sejarah .feature-front .feature-icon {
  width: 80px;
  height: 80px;
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2rem;
  margin: 0 auto 1.2rem;
}

.sejarah .feature-back {
  background: var(--accent-color);
  transform: rotateY(180deg);
  color: var(--surface-color);
}

.sejarah .feature-card:hover .feature-front {
  transform: rotateY(180deg);
}

.sejarah .feature-card:hover .feature-back {
  transform: rotateY(0deg);
}

/* CTA Banner */
.sejarah .cta-banner {
  border: 1px solid var(--accent-color);
  border-radius: 25px;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  margin-bottom: 70px;
}

.sejarah .cta-banner .cta-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
}

.sejarah .cta-buttons .btn {
  padding: 1rem 2rem;
  font-size: 15px;
  border-radius: 50px;
  font-weight: 600;
}

/* ================================
   PROFIL CAMAT PAGE
================================ */

.profil-camat-section {
  background: var(--background-color);
}

/* CARD UTAMA */
.profile-card {
  background: var(--surface-color);
  padding: 2.5rem;
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  max-width: 950px;
  margin: auto;
}

/* HEADER */
.profile-header {
  display: flex;
  align-items: center;
  gap: 25px;
}

.photo-frame {
  width: 170px;
  height: 170px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  border: 2px solid color-mix(in srgb, var(--heading-color), transparent 70%);
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-weight: 800;
  font-size: 30px;
  color: var(--heading-color);
}

.profile-position {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-color);
}

.profile-period {
  font-size: 14px;
  margin-top: 6px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

/* LIST MISI */
.misi-listtt {
  list-style: none;
  padding: 0;
  margin: 0;
}

.misi-listtt li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: -10px;
  border-radius: 10px;
  transition: all 0.2s ease-in-out;
}

/* ICON MISI */
.misi-icon {
  min-width: 32px;
  height: 32px;
  background: var(--heading-color);
  color: var(--surface-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  margin-top: 2px;
}

/* TEXT MISI */
.misi-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #333;
}


/* BOX SECTION */
.section-box {
  background: var(--surface-color);
  padding: 1.8rem 1.8rem 1.4rem;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

/* GRID IDENTITAS */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.detail-item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-color);
}

.detail-item p {
  margin: 3px 0 0;
  font-size: 16px;
  color: var(--default-color);
}

/* TIMELINE RIWAYAT PENDIDIKAN */
.timeline-edu {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 20px;
  position: relative;
  padding-left: 25px;
}

.timeline-edu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  width: 3px;
  height: 100%;
  background: color-mix(in srgb, var(--accent-color), transparent 40%);
  border-radius: 10px;
}

.edu-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  position: relative;
}

.edu-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--surface-color);
  font-size: 14px;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.edu-item h4 {
  margin: 0;
  font-size: 1.07rem;
  font-weight: 600;
  color: var(--heading-color);
}

.edu-item p {
  margin: 2px 0 0;
  color: var(--default-color);
  font-size: 0.95rem;
}

/* CARD SAMBUTAN MEWAH */
.sambutan-card {
  background: linear-gradient(180deg,
              color-mix(in srgb, var(--surface-color), transparent 5%) 0%,
              color-mix(in srgb, var(--surface-color), transparent 10%) 100%);
  border: 1.5px solid color-mix(in srgb, var(--accent-color), transparent 25%);
  border-radius: 18px;
  padding: 40px 35px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  position: relative;
}

.sambutan-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 25px;
}

.sambutan-header .decor-line {
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 10px;
}

.sambutan-body .sambutan-text {
  font-size: 1.07rem;
  line-height: 1.85;
  text-align: justify;
  margin-bottom: 18px;
  color: var(--default-color);
  font-weight: 400;
}

.sambutan-footer {
  margin-top: 25px;
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 55%);
  padding-top: 12px;
}

/* TIMELINE RIWAYAT JABATAN — KIRI */
.timeline-jabatan-left {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 20px;
  padding-left: 25px;
  position: relative;
}

.timeline-jabatan-left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  width: 3px;
  height: 100%;
  background: color-mix(in srgb, var(--accent-color), transparent 40%);
  border-radius: 10px;
}

.jabatan-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  position: relative;
}

.jabatan-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--surface-color);
  font-size: 14px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.jabatan-info h4 {
  margin: 0;
  font-size: 1.07rem;
  font-weight: 600;
  color: var(--heading-color);
}

.jabatan-info p {
  margin: 3px 0 0;
  font-size: 0.95rem;
  color: var(--default-color);
}

/* VISI CARD */
.visi-card {
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-left: 4px solid var(--accent-color);
  padding: 20px 25px;
  border-radius: 12px;
  margin-top: 15px;
  position: relative;
}

.visi-card .quote-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--accent-color);
  opacity: 0.6;
  font-size: 26px;
}

.visi-text {
  margin: 0;
  font-size: 1.05rem;
  color: var(--heading-color);
  line-height: 1.6;
  font-weight: 500;
}

/* ================= Misi List ================= */

.misi ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Item misi */
.misi li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--default-color);
}

/* Icon bulat */
.misi li::before {
  content: "\F26E"; /* bi-check-circle-fill */
  font-family: "Bootstrap-icons";
  min-width: 32px;
  height: 32px;
  background: var(--heading-color);
  color: var(--surface-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  margin-top: 2px;
}

.misi li p {
  margin: 0;
}

.misi li:hover::before {
  transform: scale(1.08);
  transition: 0.2s ease;
}

/* Penjelasan Visi & Misi */
.penjelasan-visi-misi {
  background: #ffffff;
  padding: 25px 28px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-left: 6px solid #b52d2d;
}

.penjelasan-visi-misi .judul-penjelasan {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
}

.penjelasan-visi-misi .isi-penjelasan {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}


/* GRID TUGAS POKOK CAMAT */
.tugas-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

/* CARD */
.tugas-card {
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  padding: 18px 20px;
  border-radius: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: 0.3s ease;
}

.tugas-card:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* ICON */
.tugas-icon {
  min-width: 36px;
  min-height: 36px;
  border-radius: 50%;
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--surface-color);
  font-size: 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* TEXT */
.tugas-card p {
  margin: 0;
  color: var(--heading-color);
  font-size: 1rem;
  line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .profile-name {
    font-size: 24px;
  }
}

/* ---------------------------------------------------------
   VISI MISI PAGE – STYLE ELEGAN DAN MODERN
--------------------------------------------------------- */
/* ===== VISI CARD ===== */
.visi-card {
  background: var(--surface-color);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  text-align: center;
}

.visi-card:hover {
  transform: translateY(-4px);
  transition: 0.3s ease;
}

.visi-icon {
  font-size: 45px;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.visi-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.6;
}

/* ===== MISI LIST ===== */
.misi-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--surface-color);
  padding: 2rem 2.5rem;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.misi-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  color: var(--default-color);
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.misi-item:last-child {
  border-bottom: none;
}

.misi-item i {
  font-size: 20px;
  color: var(--heading-color);
  margin-top: 2px;
}

.misi-item p {
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 575px) {
  .visi-card {
    padding: 1.8rem;
  }

  .visi-title {
    font-size: 1.2rem;
  }

  .misi-list {
    padding: 1.5rem;
  }

  .misi-item p {
    font-size: 14px;
  }
}

/*STRUKTUR ORGANISASI*/
.struktur-image-wrapper {
  background: #ffffff;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

  display: flex;           /* supaya konten di dalam bisa di-center */
  justify-content: center; /* horizontal center */
  align-items: center;     /* vertical center */
  max-height: 500px;       /* tinggi maksimal wrapper */
  overflow: hidden;        /* mencegah gambar keluar */
}

.struktur-image {
  border-radius: 12px;
  max-width: 100%;        /* supaya tidak melebihi wrapper */
  max-height: 500px;      /* tinggi maksimum 500px */
  width: auto;            /* menjaga rasio */
  height: auto;           /* menjaga rasio */
  object-fit: contain;    /* agar seluruh gambar terlihat */
  transition: transform 0.3s ease;
}

.struktur-image:hover {
  transform: scale(1.02);
}

/* PENJELASAN STRUKTUR ORGANISASI */
.struktur-penjelasan { 
  margin-top: 60px;
}

.judul-penjelasan {
  font-weight: 700;
  font-size: 28px;
  text-align: center;
  margin-bottom: 30px;
}

.penjelasan-card {
  background: #ffffff;
  padding: 25px 28px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin-bottom: 28px;
  border-left: 6px solid #b52d2d;
  transition: all .3s ease;
}

.penjelasan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.15);
}

.penjelasan-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 700;
}

.penjelasan-card p, 
.penjelasan-card ul li {
  font-size: 15px;
  line-height: 1.6;
}

.penjelasan-card ul {
  margin-left: 20px;
}

@media(max-width:768px){
  .penjelasan-card {
    padding: 20px;
  }
}

/*Pegawai*/
/* ================= PEGAWAI ================= */
.pegawai-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:30px;
}

.pegawai-card{
  background:var(--surface-color);
  border-radius:22px;
  padding:26px 22px;
  box-shadow:0 15px 40px rgba(0,0,0,.08);
  transition:.35s;
  border-top:6px solid var(--accent-color);
}

.pegawai-card:hover{
  transform:translateY(-10px);
  box-shadow:0 25px 55px rgba(0,0,0,.15);
}

.photo{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:12px;
}

.photo img{
  width:130px;
  height:130px;
  border-radius:50%;
  border:4px solid var(--heading-color);
  object-fit:cover;
  margin-bottom:14px;
}

.nama{
  color:var(--heading-color);
  font-size:20px;
  font-weight:700;
}

.nip{
  font-size:14px;
  color:#555;
}

.pegawai-detail{
  list-style:none;
  padding:0;
  margin-top:14px;
  font-size:13.5px;
}

.pegawai-detail li{
  padding:6px 0;
  border-bottom:1px dashed #ddd;
}

/* PAGINATION */
.pagination .page-link{
  border-radius:14px;
  color:var(--heading-color);
}

.pagination .active .page-link{
  background:var(--heading-color);
  border-color:var(--heading-color);
}

.filter-search-wrapper {
  margin-bottom: 1.5rem;
}

.filter-wrapper label,
.search-wrapper label {
  font-weight: 500;
  margin-bottom: 0.25rem;
  display: block;
}

.form-select {
  border-radius: 8px;
  padding: 0.375rem 0.75rem;
  border: 1px solid #ced4da;
  transition: all 0.3s;
}

.form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
}

.search-input {
  width: 100%;
  padding: 0.375rem 2.5rem 0.375rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #ced4da;
  transition: all 0.3s;
}

.search-input:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
}

.search-icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  pointer-events: none;
  font-size: 1.1rem;
}



/* ===========================================
   TUGAS FUNGSI SECTION
=========================================== */

.tf-section {
  background: var(--background-color);
}

/* Intro Text */
.tf-section .intro p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 16px;
  line-height: 1.6;
}

/* Section Badge */
.section-badge {
  display: inline-block;
  background: var(--heading-color);
  color: var(--surface-color);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.section-badge.accent {
  background: var(--accent-color);
}

.lead-text {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  line-height: 1.6;
}

/* ===========================================
   FUNGSI CARD
=========================================== */

.fungsi-card {
  background: var(--surface-color);
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: .3s ease;
  position: relative;
}

.fungsi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

/* ICON */
.fungsi-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s ease;
}

.fungsi-card .icon i {
  color: var(--accent-color);
  font-size: 22px;
}

/* ALT COLOR */
.fungsi-card.alt .icon {
  background: color-mix(in srgb, var(--heading-color), transparent 85%);
}

.fungsi-card.alt .icon i {
  color: var(--heading-color);
}

/* TEXT */
.fungsi-card p {
  margin: 0;
  font-size: 15px;
  color: var(--default-color);
  line-height: 1.5;
}

/* NOTE */
.note {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

/* ===========================================
   ICON ANIMATION
=========================================== */

.animated-icon {
  animation: pulseIcon 2.2s infinite ease-in-out;
}

@keyframes pulseIcon {
  0% { transform: scale(1); }
  50% { transform: scale(1.13); }
  100% { transform: scale(1); }
}

.fungsi-card:hover .animated-icon {
  animation: none;
  transform: scale(1.15);
}

/* ===========================================
   RESPONSIVE
=========================================== */

@media (max-width: 768px) {

  .fungsi-card {
    padding: 16px;
  }

  .fungsi-card .icon {
    width: 38px;
    height: 38px;
  }
}

/* === Topografi Section === */

/* === Topografi Section (Equal Height) === */

.topografi-section .topo-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: 0.4s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);

  /* MENYAMAKAN TINGGI CARD */
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.topografi-section .topo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.topografi-section .icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  animation: iconPulse 2.5s infinite ease-in-out;
}

@keyframes iconPulse {
  0% { transform: scale(1); opacity: .8; }
  50% { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); opacity: .8; }
}

/* Title & text */
.topografi-section .topo-card h4 {
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--heading-color);
}

.topografi-section .topo-card p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

/* ==================================
   Batas Wilayah (2x2)
   ================================== */

.topo-batas-card.redesigned {
  background: var(--surface-color);
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
  transition: .3s ease;
}

.topo-batas-card.redesigned:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.batas-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}

.batas-header i {
  font-size: 30px;
  color: var(--heading-color);
}

.batas-header h4 {
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

/* Grid 2x2 */
.batas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 768px) {
  .batas-grid {
    grid-template-columns: 1fr;
  }
}

/* Card Item */
.batas-item {
  background: var(--background-color);
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--accent-color);
  transition: .3s ease;
}

.batas-item:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

.batas-direction {
  font-weight: 700;
  color: var(--heading-color);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
}

.batas-item p {
  margin-top: 6px;
  font-size: .95rem;
  color: var(--default-color);
}

/* ==================================
   IKLIM — DESAIN CANTIK
   ================================== */

.climate-card {
  background: var(--surface-color);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 6px 28px rgba(212,175,55,0.25);
  border-left: 6px solid var(--accent-color);
  text-align: center;
  transition: .3s ease;
}

.climate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 38px rgba(212,175,55,0.35);
}

.climate-icon {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1rem;
}

.climate-icon i {
  font-size: 2rem;
  color: var(--accent-color);
}

.climate-card h4 {
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.climate-card p {
  color: var(--default-color);
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .topografi-section .topo-card {
    padding: 1.5rem;
  }
  .climate-card {
    padding: 1.8rem;
  }
}


/* === PANDUAN SURAT === */

.panduan-section .intro-box {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 88%);
}

/* Category Cards */
.category-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: 35px;
  height: 100%;
  transition: 0.3s ease;
  border: 1px solid var(--accent-color);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.category-card .icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 1rem;
  animation: iconPulse 2.5s infinite ease-in-out;
}

@keyframes iconPulse {
  0% { transform: scale(1); opacity: .8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: .8; }
}

.category-card ul {
  padding-left: 1rem;
}


/* ONLINE STEPS */
.online-steps .step-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: 25px;
  margin-bottom: 1.5rem;
  position: relative;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 88%);
  transition: .3s;
}

.online-steps .step-card:hover {
  transform: translateY(-6px);
}

.step-card .step-number {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--surface-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 5px 15px color-mix(in srgb, var(--accent-color), transparent 40%);
}

.step-img img {
  width: 100%;
  border-radius: 15px;
  margin-top: 1rem;
}

/* OFFLINE BOX */
.offline-box {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 88%);
}

.offline-box ul {
  padding-left: 1.2rem;
}

/* WAKTU PELAYANAN */
.time-box {
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  padding: 2rem;
  border-radius: 20px;
  border-left: 6px solid var(--accent-color);
}

/* DRAG & DROP ZONE */
.drop-zone {
  border: 2px dashed var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  padding: 35px;
  text-align: center;
  border-radius: 16px;
  cursor: pointer;
  transition: .3s;
}

.drop-zone.dragover {
  background: color-mix(in srgb, var(--accent-color), transparent 70%);
  box-shadow: 0 0 18px var(--accent-color);
  transform: scale(1.02);
}

/* Icon bounce */
.upload-icon {
  font-size: 40px;
  color: var(--accent-color);
  margin-bottom: 10px;
  animation: bounce 1.6s infinite;
}

/* Bounce animation */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* PREVIEW ITEM */
.preview-item {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,.07);
  animation: fadeIn .4s ease;
}

.file-icon {
  font-size: 34px;
  margin-right: 14px;
  color: var(--accent-color);
  cursor: pointer;
  animation: bounce 1.8s infinite;
}

.preview-text { flex: 1; }
.preview-text span { font-weight: 600; }

/* Hapus tombol */
.remove-btn {
  background: #dc3545;
  color: #fff;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 13px;
  cursor: pointer;
}

/* Animasi fade */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Preview image modal */
.img-modal-content {
  background: transparent;
  border: none;
  box-shadow: none;
}

.preview-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  animation: zoomIn .35s ease;
}

@keyframes zoomIn {
  from { transform: scale(.6); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.modal-backdrop.show {
  backdrop-filter: blur(4px);
}

.pdf-frame {
  width: 100%;
  height: 85vh;
  border: none;
}

/* Responsive */
@media (max-width: 768px) {
  .category-card { padding: 1.5rem; }
  .step-card { padding: 1.4rem; }
}

/* FORM PERMOHONAN SURAT */
.form-card {
  background: var(--surface-color);
  padding: 2.5rem;
  border-radius: 25px;
  box-shadow: 0 15px 45px color-mix(in srgb, var(--default-color), transparent 88%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

.form-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.form-header i {
  font-size: 48px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
  padding: 12px;
  border-radius: 15px;
}

.form-card .form-label {
  font-weight: 600;
  color: var(--heading-color);
}

.form-card .form-control,
.form-card .form-select {
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
}

.form-card .form-control:focus,
.form-card .form-select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 75%);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .form-card {
    padding: 1.5rem;
  }
  .form-header i {
    font-size: 40px;
  }
}

/*CARD BERITA FIXED*/
.berita-card-fixed {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: .3s ease;
}

.berita-card-fixed:hover {
  transform: translateY(-5px);
}

/* IMAGE */
.berita-img-fixed {
  height: 250px;
  overflow: hidden;
  background: #f3f3f3;
}

.berita-img-fixed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BODY */
.berita-body-fixed {
  padding: 15px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* JUDUL KUNCI 2 BARIS */
.berita-body-fixed .judul {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading-color);
  min-height: 40px;
  line-height: 1.2;
}

/* DESKRIPSI KUNCI */
.berita-body-fixed .deskripsi {
  font-size: 0.85rem;
  color: var(--default-color);
  min-height: 48px;
  margin-bottom: 5px;
}

/* SPACER BIAR TOMBOL KE BAWAH */
.flex-spacer {
  flex-grow: 1;
}

/* META FIXED */
.meta {
  margin-top: 12px;
  font-size: 0.75rem;
  color: #666;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ------------------------------
   BERITA MINGGU INI (SLIDER)
------------------------------ */

.section-heading {
  font-size: 30px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 5px;
}

.section-underline {
  width: 120px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 30px;
  margin-bottom: 25px;
}

.berita-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 15px;
  scroll-snap-type: x mandatory;
}

.berita-slider::-webkit-scrollbar {
  height: 8px;
}

.berita-slider::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--accent-color), transparent 40%);
  border-radius: 10px;
}

.berita-item {
  min-width: 320px;
  scroll-snap-align: start;
}

/* ------------------------------
   CARD STYLE
------------------------------ */
.berita-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  height: 100%;
}

.berita-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 5px 18px rgba(0,0,0,0.12);
}

.berita-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.berita-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.berita-body {
  padding: 18px;
}

.berita-body .judul {
  font-size: 17px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.berita-body .deskripsi {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  min-height: 45px;
}

/* ------------------------------
   GRID SEMUA BERITA
------------------------------ */
#semua-berita .berita-card {
  height: 100%;
}

/* Konten berita dari Summernote */
.content-berita {
    font-family: 'Poppins', sans-serif !important;
    color: #444;
    line-height: 1.8;
    font-size: 1rem;
    overflow : hidden;
}

/* ================= TABEL RESPONSIVE UNTUK SUMMERNOTE ================= */
.content-berita table {
    width: 100%;           /* Pastikan tabel penuh container */
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.content-berita table th,
.content-berita table td {
    border: 1px solid #ddd;
    padding: 0.5rem 0.75rem;
    text-align: left;
    font-size: 0.95rem;
}

/* Heading */
.content-berita h1,
.content-berita h2,
.content-berita h3,
.content-berita h4,
.content-berita h5,
.content-berita h6 {
    font-family: 'Poppins', sans-serif !important;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

/* List */
.content-berita ul,
.content-berita ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Link */
.content-berita a {
    color: #0d6efd;
    text-decoration: underline;
}

/* Blockquote */
.content-berita blockquote {
    border-left: 4px solid #ddd;
    padding-left: 1rem;
    color: #666;
    font-style: italic;
}

/* Share buttons */
.share-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f3f5;
    color: #333;
    transition: all .3s ease;
}
.share-icons a:hover {
    transform: scale(1.1);
    background: var(--heading-color);
    color: #fff;
}


/* ================= RESPONSIVE UNTUK HP ================= */
@media (max-width: 991px) {
    .content-berita {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .content-berita h1,
    .content-berita h2,
    .content-berita h3,
    .content-berita h4,
    .content-berita h5,
    .content-berita h6 {
        font-size: 1.2rem;
    }
}

/* =================== HP / Layar Kecil =================== */
@media (max-width: 576px) {
    .content-berita {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .content-berita h1,
    .content-berita h2,
    .content-berita h3,
    .content-berita h4,
    .content-berita h5,
    .content-berita h6 {
        font-size: 1.1rem;
    }
    
    .content-berita table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;   /* agar baris tidak wrap */
    }

    .content-berita table th,
    .content-berita table td {
        font-size: 0.8rem;
        padding: 0.4rem 0.5rem;
    }
}

/* =================== HP Kecil / Very Small Devices <576px =================== */
@media (max-width: 400px) {
    .meta-berita {
        font-size: 0.7rem; 
        gap: 0.3rem;
    }

    .detail-main-image img {
        max-height: 200px;
    }

    .content-berita {
        font-size: 0.85rem; 
        line-height: 1.5;
    }

    .content-berita h1,
    .content-berita h2,
    .content-berita h3,
    .content-berita h4,
    .content-berita h5,
    .content-berita h6 {
        font-size: 1rem; /* semua heading ikut menyesuaikan */
    }

    .share-icons a {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }

    .berita-terkait-item h5 {
        font-size: 0.95rem;
    }
    .berita-terkait-item p {
        font-size: 0.7rem;
    }
    .berita-terkait-item img {
        height: 100px; 
    }

    .btn-view-all {
        font-size: 0.85rem;
        padding: 0.35rem 0.7rem;
    }
}


/* ------------------------------
   PAGINATION
------------------------------ */

.pagination-wrapper {
  text-align: center;
}

.pagination-custom {
  display: inline-flex;
  list-style: none;
  gap: 8px;
  padding: 0;
}

.pagination-custom li a {
  display: block;
  padding: 8px 14px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid var(--heading-color);
  color: var(--heading-color);
  font-weight: 600;
  transition: 0.3s;
}

.pagination-custom li.active a,
.pagination-custom li a:hover {
  background: var(--heading-color);
  color: #fff;
}

/*--------------------------------------------------------------
# Pengumuman List Page
--------------------------------------------------------------*/

.pengumuman .announcement-filters .search-input,
.pengumuman .announcement-filters .filter-select {
  padding: 12px 15px;
  border-radius: 8px;
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.announcement-card {
  background-color: var(--surface-color);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.03);
  transition: 0.3s ease;
}

.announcement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

.announcement-card .title {
  font-size: 20px;
  font-weight: 700;
  color: var(--default-color);
  margin-bottom: 10px;
}

.announcement-card .meta {
  font-size: 14px;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.announcement-card .summary {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 15px;
  line-height: 1.6;
}

.btn-detail-pengumuman {
  border: 1px solid var(--accent-color);
  padding: 10px 18px;
  font-size: 13px;
  border-radius: 15px;
  font-weight: 600;
  color: var(--accent-color);
}

.btn-detail-pengumuman:hover {
  background: var(--accent-color);
  color: var(--surface-color);
}

/* Sidebar */
.sidebar-box {
  background-color: var(--surface-color);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.06);
}

.sidebar-box h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.sidebar-box ul li {
  margin-bottom: 12px;
}

.sidebar-box ul li a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.2s;
}

.sidebar-box ul li a:hover {
  color: var(--accent-color);
}

/* Pagination */
.pagination-wrapper .pagination {
  display: flex;
  gap: 8px;
}

.pagination li a {
  display: block;
  padding: 8px 14px;
  background-color: var(--surface-color);
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.pagination li.active a {
  background-color: var(--accent-color);
  color: var(--surface-color);
  border-color: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
  .announcement-card {
    padding: 20px;
  }
  
  .announcement-card .title {
    font-size: 18px;
  }
}
/*--------------------------------------------------------------
# Detail Pengumuman
--------------------------------------------------------------*/
/* Sidebar Pengumuman Terbaru - Card Style */
.sidebar-box.latest-announcements {
    background-color: var(--surface-color);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 20px var(--shadow-color);
    margin-bottom: 30px;
}

.sidebar-box.latest-announcements h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--default-color);
    margin-bottom: 20px;
    position: relative;
}

.sidebar-box.latest-announcements h4::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin-top: 6px;
    border-radius: 3px;
}

.latest-announcements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latest-announcements li {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.latest-announcements li:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.latest-announcements li a {
    text-decoration: none;
    color: var(--default-color);
    font-weight: 500;
    flex-grow: 1;
}

.latest-announcements li:hover a {
    color: #fff;
}

.latest-announcements li .date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 10px;
}

.latest-announcements li:hover .date {
    color: #eee;
}

.important-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.important-list li {
    margin-bottom: 12px;
}

.important-list li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s;
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
}

.important-list li a:hover {
    background-color: var(--heading-color);
    color: #fff;
    padding-left: 18px;
}

.sidebar-box .btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 0;
    background-color: var(--heading-color);
    color: #fff;
    transition: 0.3s;
}

.sidebar-box .btn:hover {
    background-color: var(--accent-color);
}

/* ==============================
   Announcement Detail Box
============================== */
.pengumuman-detail .announcement-detail-box {
    background-color: var(--surface-color);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    margin-bottom: 30px;
    transition: transform 0.3s;
}

.pengumuman-detail .announcement-detail-box:hover {
    transform: translateY(-3px);
}

.announcement-title, .announcement-detail-box h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.announcement-detail-box .announcement-meta {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 35%);
    margin-bottom: 25px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.announcement-detail-box .announcement-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.announcement-detail-box h4 {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--default-color);
}

.announcement-detail-box p,
.announcement-detail-box ul li {
    color: color-mix(in srgb, var(--default-color), transparent 15%);
    line-height: 1.7;
    font-size: 15px;
}

.announcement-detail-box ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.attachment-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.attachment-list i {
    color: var(--accent-color);
    margin-right: 8px;
}

.attachment-list a {
    color: var(--heading-color);
    text-decoration: none;
    transition: 0.3s;
}

.attachment-list a:hover {
    text-decoration: underline;
}

/* Announcement Cover */
.announcement-cover img {
    border-radius: 12px;
    object-fit: cover;
    width: 100%;
    max-height: 500px;
    display: block;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* ==============================
   Responsive
============================== */
@media (max-width: 992px) {
    .sidebar-box {
        padding: 18px;
    }

    .important-list li a {
        padding: 7px 10px;
    }

    .sidebar-box .btn {
        padding: 9px 0;
    }
}

@media (max-width: 768px) {
    .announcement-title, .announcement-detail-box h2 {
        font-size: 22px;
    }

    .announcement-detail-box h4 {
        font-size: 16px;
    }

    .announcement-detail-box p,
    .announcement-detail-box ul li {
        font-size: 14px;
    }

    .announcement-detail-box .announcement-meta {
        font-size: 0.8rem;
    }

    .announcement-cover img {
        max-height: 350px;
    }

    .latest-announcements li {
        flex-direction: column;
        align-items: flex-start;
    }

    .latest-announcements li .date {
        margin-left: 0;
        margin-top: 5px;
    }
}

@media (max-width: 576px) {
    .announcement-detail-box {
        padding: 20px;
    }

    .announcement-cover img {
        max-height: 250px;
    }

    .important-list li a {
        font-size: 0.9rem;
    }

    .sidebar-box h4 {
        font-size: 1.1rem;
    }
}

/*--------------------------------------------------------------
# Gallery Slider Section
--------------------------------------------------------------*/
.gallery-slider {
  overflow: hidden;
}

.gallery-slider .gallery-container {
  padding: 20px 0 40px;
  position: relative;
}

.gallery-slider .swiper-wrapper {
  height: auto !important;
  align-items: center;
  padding: 30px 0;
}

.gallery-slider .gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

.gallery-slider .gallery-img {
  position: relative;
  overflow: hidden;
}

.gallery-slider .gallery-img img {
  transition: transform 0.6s ease;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.gallery-slider .gallery-img .gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: color-mix(in srgb, var(--accent-color), transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.gallery-slider .gallery-img .gallery-overlay i {
  color: var(--surface-color);
  font-size: 3rem;
  transform: scale(0.5);
  transition: all 0.3s ease;
}

.gallery-slider .gallery-img:hover img {
  transform: scale(1.1);
}

.gallery-slider .gallery-img:hover .gallery-overlay {
  opacity: 1;
}

.gallery-slider .gallery-img:hover .gallery-overlay i {
  transform: scale(1);
}

.gallery-slider .swiper-pagination {
  position: relative;
  margin-top: 20px;
}

.gallery-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: transparent;
  border: 2px solid var(--accent-color);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.gallery-slider .swiper-pagination .swiper-pagination-bullet-active {
  background: var(--accent-color);
  opacity: 1;
  transform: scale(1.2);
}

.gallery-slider .swiper-button-next,
.gallery-slider .swiper-button-prev {
  color: var(--accent-color);
  background: var(--surface-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-slider .swiper-button-next:after,
.gallery-slider .swiper-button-prev:after {
  font-size: 16px;
  font-weight: bold;
}

.gallery-slider:hover .swiper-button-next,
.gallery-slider:hover .swiper-button-prev {
  opacity: 0.9;
}

.gallery-slider:hover .swiper-button-next:hover,
.gallery-slider:hover .swiper-button-prev:hover {
  background: var(--accent-color);
  color: var(--surface-color);
}

@media (max-width: 991px) {
  .gallery-slider .gallery-item {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  }

  .gallery-slider .swiper-button-next,
  .gallery-slider .swiper-button-prev {
    display: none;
  }
}

@media (max-width: 767px) {
  .gallery-slider .swiper-wrapper {
    padding: 15px 0;
  }

  .gallery-slider .gallery-img .gallery-overlay i {
    font-size: 2rem;
  }
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .isotope-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
  padding: 0;
  list-style: none;
}

.gallery .isotope-filters li {
  display: inline-block;
  padding: 10px 20px;
  background: var(--surface-color);
  color: var(--default-color);
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.gallery .isotope-filters li:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.gallery .isotope-filters li.filter-active {
  background: var(--accent-color);
  color: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {
  .gallery .isotope-filters {
    gap: 8px;
  }

  .gallery .isotope-filters li {
    padding: 8px 14px;
    font-size: 14px;
  }
}

.gallery .gallery-item {
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .gallery .gallery-item {
    margin-bottom: 20px;
  }
}

.gallery .gallery-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  height: 100%;
}

.gallery .gallery-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery .gallery-card:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery .gallery-card:hover .gallery-image img {
  transform: scale(1.1);
}

.gallery .gallery-image {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 75%;
  overflow: hidden;
}

.gallery .gallery-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery .gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
  color: var(--surface-color);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.gallery .gallery-overlay h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--surface-color);
}

.gallery .gallery-overlay p {
  font-size: 14px;
  margin-bottom: 15px;
  opacity: 0.9;
}

.gallery .gallery-overlay .gallery-actions {
  display: flex;
  gap: 15px;
}

.gallery .gallery-overlay .gallery-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--surface-color);
  font-size: 18px;
  transition: 0.3s;
}

.gallery .gallery-overlay .gallery-actions a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: scale(1.1);
}

.gallery .glightbox-clean .gslide-description {
  background: #272727;
}

.gallery .glightbox-clean .gslide-title {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/*Detail Album*/
/* --------------------------------------------------------------
   DETAIL ALBUM - FOTO INSIDE ONE ALBUM
-------------------------------------------------------------- */

.album-detail-section {
  background: var(--surface-color);
  padding: 70px 0;
}

/* Foto item */
.album-photo-card {
  border-radius: 16px;
  overflow: hidden;
  border: none;
  background: var(--surface-color);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  animation: fadeInUp 0.7s ease both;
}

.album-photo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 36px rgba(0, 0, 0, 0.12);
}

.album-photo-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.album-photo-card:hover img {
  transform: scale(1.06);
}

/* Animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive tweak */
@media (max-width: 992px) {
  .album-photo-card img {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .album-photo-card img {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .album-photo-card img {
    height: 180px;
  }
}

/* --------------------------------------------------------------
   GALLERY VIDEO SECTION
-------------------------------------------------------------- */

.video-gallery-section {
  padding: 70px 0;
  background: var(--surface-color);
}

.video-gallery-title {
  text-align: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 50px;
  animation: fadeInUp 0.6s ease both;
}

.video-card {
  background: var(--surface-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.6s ease both;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

.video-thumb {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover .video-thumb {
  transform: scale(1.05);
}

.video-info {
  padding: 18px;
  text-align: center;
}

.video-info h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--default-color);
}

/* Responsive sizes */
@media (max-width: 992px) {
  .video-thumb { height: 210px; }
}

@media (max-width: 768px) {
  .video-thumb { height: 200px; }
  .video-info h4 { font-size: 16px; }
}

@media (max-width: 576px) {
  .video-thumb { height: 180px; }
  .video-gallery-title { font-size: 1.6rem; }
}

/* Fade animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------
   DAFTAR PENGADUAN 
-------------------------------------------------------------- */

/* --------------------------------------------------------------
   FILTER BAR 
-------------------------------------------------------------- */
.filter-bar {
  display: flex;
  gap: 15px;
  padding: 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
  align-items: center;
  flex-wrap: wrap;
}

/* LEFT */
.filter-left {
  flex: 1;
}

.search-wrapper {
  position: relative;
}

.search-wrapper i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.search-box {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.search-box:focus {
  outline: none;
  border-color: var(--heading-color);
}

/* RIGHT */
.filter-right {
  display: flex;
  gap: 10px;
}

.filter-right select {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  cursor: pointer;
}

.filter-right select:focus {
  outline: none;
  border-color: var(--accent-color);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .filter-bar {
    flex-direction: column;
  }

  .filter-right {
    width: 100%;
  }

  .filter-right select {
    width: 100%;
  }
}

/* --------------------------------------------------------------
   RESPONSIVE
-------------------------------------------------------------- */

@media (max-width: 992px) {
  .filter-bar {
      flex-wrap: wrap; /* berubah jadi 2 baris */
  }

  .filter-item {
      flex: 1 1 calc(33.33% - 10px);
      min-width: 140px;
  }

  .search-wrapper {
      flex: 1 1 100%;
      order: 1;
  }
}

@media (max-width: 576px) {
  .filter-item {
      flex: 1 1 100%; /* jadi full width */
  }

  .filter-bar {
      padding: 15px;
  }
}

/* ---------------- CARD ---------------- */
.pengaduan-card {
  background: var(--surface-color);
  padding: 22px;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
  transition: 0.3s;
  margin-bottom: 22px;
}

.pengaduan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}

/* ---------------- HEADER ---------------- */
.pengaduan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.pengaduan-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--default-color);
  margin: 0;
}

/* ---------------- STATUS ---------------- */
.status {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  color: #fff;
}

.status-baru {
  background: #007bff;
}

.status-proses {
  background: #f7b500;
}

.status-selesai {
  background: #28a745;
}

/* ---------------- META INFO ---------------- */
.pengaduan-meta {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  margin-bottom: 14px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.pengaduan-meta i {
  margin-right: 5px;
}

/* ---------------- DESCRIPTION ---------------- */
.pengaduan-desc {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 18px;
}

/* ---------------- BUTTON ---------------- */
.btn-read {
  padding: 8px 16px;
  border: 1px solid var(--heading-color);
  color: var(--heading-color);
  border-radius: 120px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
}

.btn-read:hover {
  background: color-mix(in srgb, var(--heading-color), transparent 15%);
  color: white;
}

/* ---------------- NO RESULT ---------------- */
.no-result {
  text-align: center;
  padding: 40px 0;
  opacity: 0.7;
}

/* ---------------- PAGINATION ---------------- */
.pagination-wrapper {
  text-align: center;
}

.pagination {
  display: inline-flex;
  gap: 8px;
  padding: 0;
}

.pagination li {
  list-style: none;
}

.pagination li a {
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--surface-color);
  border: 1px solid #ddd;
  font-weight: 500;
  transition: 0.3s;
  display: inline-block;
}

.pagination li a:hover,
.pagination li a.active {
  background: var(--accent-color);
  color: var(--surface-color);
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 768px) {

  .pengaduan-title {
    font-size: 18px;
  }

  .pengaduan-card {
    padding: 18px;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .pengaduan-meta {
    gap: 10px;
    font-size: 13px;
  }

  .pagination li a {
    padding: 8px 12px;
  }
}

/*BAGIAN PENGADUAN DETAIL MASYARAKAT*/
/* ===================================================== */
.pengaduan-detail-card {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1), 0 20px 50px rgba(0,0,0,.08);
  margin-top: -50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pengaduan-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15), 0 25px 60px rgba(0,0,0,.1);
}

/* ================= HEADER ================= */
.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
  gap: 12px;
}

.detail-title {
  font-size: 26px;
  font-weight: 700;
}

/* ================= STATUS BADGE ================= */
.status-badge {
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  animation: softPulse 2.5s infinite;
}

.status-diproses { background: #fef3c7; color: #92400e; }
.status-selesai  { background: #dcfce7; color: #166534; }
.status-ditolak  { background: #fee2e2; color: #991b1b; }

/* ================= NOTIFIKASI ================= */
.status-notification {
  display: flex;
  gap: 14px;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  border-left: 4px solid var(--accent-color);
  padding: 18px;
  border-radius: 14px;
  margin-bottom: 36px;
}

/* ================= SECTION ================= */
.detail-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.detail-box {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.detail-box h5 {
  font-weight: 700;
  margin-bottom: 16px;
}

.detail-item {
  margin-bottom: 14px;
}

.detail-item span {
  display: block;
  font-size: 13px;
  color: var(--text-soft);
}

.detail-item p {
  margin: 4px 0 0;
  font-weight: 600;
}

.detail-item.full p {
  white-space: pre-line;
}

/* STATUS BADGE DI HEADER (beda dengan notification) */
.status-badge-header {
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    transition: 0.3s;
}

/* Warna berbeda tiap status sesuai palet warna */
.status-badge-header.status-diajukan {
    background-color: var(--nav-hover-color); /* biru/emas sesuai palet accent */
}
.status-badge-header.status-diproses {
    background-color: #f59e0b; /* oranye */
}
.status-badge-header.status-selesai {
    background-color: #10b981; /* hijau */
}
.status-badge-header.status-ditolak {
    background-color: #ef4444; /* merah */
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .detail-grid-2col {
    grid-template-columns: 1fr;
  }
  .detail-box {
    padding: 20px;
  }
}

/* ================= GRID DATA ================= */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.detail-item span {
  font-size: 13px;
  color: var(--text-soft);
}

.detail-item p {
  font-weight: 600;
  margin: 6px 0 0;
}

.detail-item.full {
  grid-column: span 2;
}

/* ================= BUKTI ================= */
.bukti-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px,1fr));
  gap: 16px;
}

.bukti-grid a {
  border: 1px dashed #ddd;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  background: #fafafa;
  transition: 0.3s;
}

.bukti-grid a:hover {
  border-color: var(--accent-color);
  transform: translateY(-4px);
}

.bukti-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}

.bukti-grid a img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bukti-grid a:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ================= TIMELINE ================= */
.timeline {
  position: relative;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.timeline-item {
  position: relative;
  padding-left: 24px;
}

.timeline-item strong {
  display: block;
  font-weight: 700;
}

.timeline-item small {
  font-size: 13px;
  color: var(--text-soft);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--accent-color);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.timeline-item:hover::before {
  transform: scale(1.2);
}

/* ================= PESAN ADMIN ================= */
.admin-message {
  background: linear-gradient(90deg, #f9fafb, #f3f4f6);
  border-left: 4px solid var(--accent-color);
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.admin-message:hover {
  transform: translateY(-2px);
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {
  .pengaduan-detail-card {
    padding: 24px;
    margin-top: -60px;
  }

  .detail-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .detail-title {
    font-size: 20px;
  }

  .status-badge {
    font-size: 12px;
    padding: 5px 14px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-item.full {
    grid-column: span 1;
  }

  .bukti-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-message {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .bukti-grid {
    grid-template-columns: 1fr;
  }
  .detail-title {
    font-size: 18px;
  }
  .detail-section h5 {
    font-size: 16px;
  }
}

/* ================= STATUS ANIMATION ================= */
@keyframes softPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212,175,55,.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(212,175,55,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212,175,55,0);
  }
}

/* --------------------------------------------------------------
   DOKUMEN PUBLIK
-------------------------------------------------------------- */

.dokumen-card {
  background: var(--surface-color);
  padding: 22px;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  transition: 0.3s ease;
}

.dokumen-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.08);
}

.dokumen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dokumen-title {
  font-size: 20px;
  font-weight: 700;
}

.tag {
  background-color: var(--heading-color);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.kategori-kegiatan { background: #007bff; }
.kategori-peraturan { background: #4caf50; }

.dokumen-meta {
  margin-top: 10px;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.dokumen-desc {
  margin-top: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 14px;
}

.dokumen-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
}

/* No Result */
.no-result {
  text-align: center;
  margin-top: 20px;
  opacity: 0.7;
  font-size: 15px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .dokumen-card {
    padding: 18px;
  }

  .dokumen-title {
    font-size: 18px;
  }
}

/* ==========================================================
   TRANSPARANSI ANGGARAN — PREMIUM RED–GOLD THEME
========================================================== */

/* Soft panel background mengikuti tema */
.ta-content {
  margin-top: 35px;
  background: color-mix(in srgb, var(--surface-color), #faf7f2 40%);
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
}

/* ==========================================================
   MENU GRID (8 Kategori Anggaran)
========================================================== */
.ta-menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.ta-menu a {
  background: var(--surface-color);
  padding: 26px 18px;
  text-align: center;
  border-radius: 16px;
  text-decoration: none;
  color: var(--default-color);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: .35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ta-menu a i {
  font-size: 30px;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.ta-menu a:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.ta-menu a.active {
  background: var(--heading-color);
  color: var(--surface-color);
  border-color: transparent;
}

.ta-menu a.active i {
  color: var(--surface-color);
}

/* ==========================================================
   SECTION TITLE & DIVIDER
========================================================== */
.ta-content .section-title {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  color: var(--heading-color);
}

.ta-content .divider {
  width: 110px;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--heading-color),
    var(--accent-color)
  );
  border-radius: 8px;
  margin: 14px auto 24px;
}

/* ==========================================================
   STATISTIK — Dashboard Premium
========================================================== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 20px;
}

.stat-card {
  background: var(--surface-color);
  padding: 28px 22px;
  border-radius: 18px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: .35s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.10);
}

.stat-card .icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: linear-gradient(
    145deg,
    var(--heading-color),
    color-mix(in srgb, var(--heading-color), black 12%)
  );
  color: var(--surface-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
}

.stat-card h3 {
  margin: 6px 0;
  font-size: 24px;
  font-weight: 800;
  color: var(--default-color);
}

.stat-card p {
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

/* ==========================================================
   APBK DOCUMENT GRID
========================================================== */
.docs-grid {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 22px;
}

.doc-card {
  background: var(--surface-color);
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: .3s ease;
}

.doc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
}

.doc-thumb {
  width: 82px;
  height: 90px;
  background: var(--heading-color);
  border-radius: 12px;
  color: var(--surface-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.doc-body h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.doc-meta {
  margin-top: 8px;
  font-size: 13px;
  color: #666;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Buttons */
.doc-actions {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-view,
.btn-download {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: .25s ease;
}

/* Light button */
.btn-view {
  border: 1px solid var(--heading-color);
  color: var(--heading-color);
  background: transparent;
}

.btn-view:hover {
  background: var(--heading-color);
  color: var(--surface-color);
}

/* Filled button */
.btn-download {
  background: var(--heading-color);
  color: var(--surface-color);
}

.btn-download:hover {
  background: color-mix(in srgb, var(--heading-color), black 15%);
}

/* ==========================================================
   PUBLIC DOC LIST
========================================================== */
.doc-public {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.doc-box {
  background: var(--surface-color);
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.doc-box strong {
  font-size: 17px;
  color: var(--heading-color);
}

/* ==========================================================
   TWO COLUMN LAYOUT (Realisasi + Grafik)
========================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 22px;
}

.chart-card {
  background: var(--surface-color);
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

/* ==========================================================
   PAGINATION — Premium
========================================================== */
.pagination {
  margin-top: 30px;
  display: flex;
  gap: 10px;
  justify-content: center;
  list-style: none;
}

.pagination li a {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.06);
  background: var(--surface-color);
  color: var(--default-color);
  text-decoration: none;
  transition: .25s ease;
}

.pagination a.active,
.pagination a:hover {
  background: var(--heading-color);
  color: var(--surface-color);
}

/* ==========================================================
   MODAL PREVIEW PDF
========================================================== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  width: 90%;
  max-width: 900px;
  background: var(--surface-color);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}

.modal-content iframe {
  width: 100%;
  height: 75vh;
  border: 0;
}

/* ==========================================================
   RESPONSIVE
========================================================== */
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .doc-card {
    flex-direction: column;
    text-align: center;
  }
  .doc-actions {
    flex-direction: row;
    justify-content: center;
  }
}

/*Statistik Sektoral*/
.data-menu {
  display: flex;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.data-menu a {
  flex: 1 1 150px;
  text-align: center;
  background: var(--background-alt);
  padding: 25px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--heading-color);
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: .3s;
}

.data-menu a:hover {
  transform: translateY(-5px);
  background: var(--background-alt2);
}

.data-menu a.active {
  background: var(--heading-color);
  color: #fff;
  transform: translateY(-5px);
}

.data-menu i {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* WRAPPER KONTEN */
#data-content {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-top: 15px;
}

/* TABEL */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid #eee;
  border-radius: 12px;
  margin-bottom: 25px;
}

.table-sektoral {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.table-sektoral th {
  background: var(--primary);
  color: var(--heading-color);
  padding: 12px;
  text-align: left;
}

.table-sektoral td {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.total-row td {
  background: var(--background-alt);
  font-weight: bold;
}

/* DOWNLOAD BUTTON */
.download-btn {
  background: var(--heading-color);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin-right: 10px;
  transition: .3s;
}
.download-btn:hover { opacity: .8; }

/* RESPONSIVE */
@media(max-width: 768px) {
  .data-menu a { flex: 1 1 45%; }
}

/*Daftar Desa/Kelurahan*/
.page-section {
  background: #fff;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin-bottom: 40px;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid #eaeaea;
}

.table-desa {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.table-desa th {
  background: var(--primary);
  color: var(--heading-color);
  padding: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.table-desa td {
  padding: 12px;
  border-bottom: 1px solid #eee;
}
.table-desa tr:hover {
  background: var(--background-alt);
}

.btn-group a {
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 6px;
  text-decoration: none;
  margin-right: 6px;
  color: #fff;
  background: var(--heading-color);
  transition: .3s;
  white-space: nowrap;
}
.btn-group a:hover {
  opacity: .8;
}

/* ================= CONTAINER ================= */
.profil-container {
  max-width: 1150px;
  margin: -50px auto 80px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* ================= CARD ================= */
.profil-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease;
}

.profil-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(139,30,35,.15);
}

/* ================= GRID ================= */
.grid-2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 25px;
}

@media(max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ================= IDENTITY ================= */
.identity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.identity-item {
  display: flex;
  gap: 14px;
  padding: 15px;
  background: var(--soft-bg);
  border-radius: 14px;
  transition: all .3s ease;
  border: 1px solid rgba(139,30,35,.08);
}

.identity-item:hover {
  background: #fbf6ea;
  transform: translateY(-4px);
  border-color: var(--accent-color);
}

.identity-icon {
  width: 42px;
  height: 42px;
  background-color: var(--heading-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.2rem;
}

.identity-text strong {
  display: block;
  font-size: .85rem;
  color: var(--text-soft);
}

.identity-text span {
  font-weight: 600;
  color: var(--text-dark);
}

/* ================= KADES ================= */
.kades-card {
  text-align: center;
  padding: 24px;
  background: linear-gradient(
    180deg,
    #fffdfa 0%,
    #f9f4e8 100%
  );
  border-radius: var(--radius);
  border: 1px solid rgba(212,175,55,.35);
  box-shadow: 0 10px 25px rgba(139,30,35,.08);
}

.kades-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-color);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}

.kades-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--heading-color);
}

/* ================= KANTOR ================= */
.kantor-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .4s ease;
}

.kantor-image:hover {
  transform: scale(1.025);
}

/* ================= MAPS ================= */
.maps-wrapper iframe {
  width: 100%;
  height: 340px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: none;
}

/*BAGIAN PROGRAM DESA/KELURAHAN*/
/* ================= CONTAINER ================= */
.program-container {
  max-width: 1150px;
  margin: auto;
  padding: 40px 18px;
  font-family: var(--default-font);
  background: var(--background-color);
}

/* ================= HEADER ================= */
.program-header {
  position: relative;
  background: var(--surface-color);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(212,175,55,.35);
  margin-bottom: 45px;
}

.program-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--heading-color);
}

.program-sub {
  font-size: 14px;
  margin-top: 8px;
  color: var(--text-soft);
}

.program-sub a {
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
}

.program-sub a:hover {
  text-decoration: underline;
}

.badge-ta {
  margin-top: 18px;
  display: inline-block;
  padding: 7px 18px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  background: var(--heading-color);
  color: #fff;
}

/* ================= SECTION CARD ================= */
.section-card {
  background: var(--surface-color);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 40px;
  border: 1px solid #eee;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

/* ================= PROGRAM UTAMA ================= */
.program-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 22px;
}

.program-item {
  background: var(--surface-color);
  padding: 22px;
  border-radius: var(--radius);
  display: flex;
  gap: 16px;
  border: 1px solid rgba(212,175,55,.35);
  transition: .3s ease;
}

.program-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(139,30,35,.15);
}

.program-item i {
  font-size: 26px;
  color: var(--heading-color);
  background: rgba(212,175,55,.15);
  padding: 14px;
  border-radius: 14px;
}

.program-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--heading-color);
}

.program-item p {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 6px;
  line-height: 1.6;
}

/* ================= KEGIATAN ================= */
.activity-card {
  background: var(--surface-color);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 20px;
  border: 1px solid #eee;
  transition: .3s ease;
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(139,30,35,.15);
}

/* HEADER FLEX: JUDUL KIRI - STATUS KANAN */
.activity-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.activity-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
}

/* ================= STATUS BADGE ================= */
.status-badge-program {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* WARNA STATUS (NO GRADIENT) */
.status-plan {
  background: #e5e7eb;
  color: #374151;
}

.status-progress {
  background: var(--accent-color);
  color: #4b3b00;
}

.status-done {
  background: var(--heading-color);
  color: #fff;
}

/* ================= TABLE ================= */
.table-custom {
  width: 100%;
  border-collapse: collapse;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid #eee;
}

.table-custom th {
  background: var(--heading-color);
  color: #fff;
  padding: 14px;
  font-size: 14px;
  text-align: left;
}

.table-custom td {
  padding: 14px;
  font-size: 14px;
  color: var(--default-color);
  border-bottom: 1px solid #eee;
}

.table-custom tr:nth-child(even) {
  background: #faf7f2;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .activity-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .program-item {
    flex-direction: column;
  }
}

/*Musrenbangdes*/
/* ================= MUSRENBANG CONTAINER ================= */
.musren-container {
  max-width: 1150px;
  margin: 28px auto;
  padding: 20px;
}

/* ================= HEADER ================= */
.musren-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
  background: var(--background-alt);
  padding: 18px;
  border-radius: 12px;
  border-left: 6px solid var(--primary);
  box-shadow: 0 6px 22px rgba(0,0,0,0.04);
  margin-bottom: 20px;
}

.musren-ident {
  flex: 1 1 520px;
}

.musren-ident h2 {
  margin: 0;
  color: var(--heading-color);
  font-size: 22px;
  font-weight: 700;
}

.musren-ident p {
  margin: 6px 0;
  color: var(--text-soft);
}

.musren-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ================= CTA ================= */
.musren-cta {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.musren-cta a {
  background: var(--heading-color);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.musren-cta a.secondary {
  background: transparent;
  color: var(--heading-color);
  border: 1px solid var(--heading-color);
}

/* ================= DESKRIPSI ================= */
.musren-desc {
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.03);
  margin-bottom: 20px;
}

.musren-desc h3 {
  color: var(--heading-color);
  margin-top: 0;
}

.musren-desc p {
  color: var(--text-soft);
  line-height: 1.6;
}

/* ================= SECTION CARD ================= */
.section-card {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

/* ================= TABLE ================= */
.table-wrapper {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid #eee;
}

table.tbl-usulan {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

table.tbl-usulan th {
  background: var(--heading-color);
  color: #fff;
  padding: 10px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

table.tbl-usulan td {
  padding: 10px;
  border-bottom: 1px solid #f1f1f1;
  vertical-align: top;
}

table.tbl-usulan tr:hover {
  background: var(--background-alt);
}

/* ================= STATUS BADGE ================= */
.status {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 18px;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
}

.status-new   { background: #6c757d; } /* Direncanakan */
.status-ongo  { background: #f0ad4e; } /* Usulan Baru */
.status-done  { background: #28a745; } /* Diakomodasi */
.status-rej   { background: #dc3545; } /* Ditolak */

/* ================= REKAP ================= */
.rekap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.rekap-card {
  background: var(--background-alt);
  padding: 14px;
  border-radius: 10px;
  border-left: 6px solid var(--primary);
}

.rekap-card h4 {
  margin: 0;
  color: var(--heading-color);
}

.rekap-card p {
  margin: 6px 0 0;
  color: var(--text-soft);
}

/* ================= UTIL ================= */
.small-muted {
  color: var(--text-soft);
  font-size: 13px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 980px) {
  .musren-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .musren-cta {
    justify-content: flex-start;
  }
}







/*--------------------------------------------------------------
# Contact Section (Custom for Kecamatan Ndona)
--------------------------------------------------------------*/

.contact .contact-info-box {
  background-color: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  padding: 25px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact .contact-info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
}

.contact .contact-info-box .icon-box {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact .contact-info-box .icon-box i {
  font-size: 24px;
}

.contact .contact-info-box .info-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--default-color);
}

.contact .contact-info-box .info-content p {
  margin-bottom: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 15px;
  line-height: 1.5;
}

/*--------------------------------------------------------------
# Map Section
--------------------------------------------------------------*/
.contact .map-section {
  position: relative;
  width: 100%;
  height: 500px;          /* tinggi FIX */
  max-height: 500px;
  overflow: hidden;      /* biar iframe ga keluar */
}

.contact .map-section iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/*--------------------------------------------------------------
# Get In Touch Form – (Pesan Masyarakat)
--------------------------------------------------------------*/

.contact .contact-form-wrapper textarea.form-control {
  height: 180px;
  resize: none;
  padding-top: 15px;
}

.contact .contact-form-wrapper .input-with-icon {
  position: relative;
}

.contact .contact-form-wrapper .input-with-icon i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 18px;
}

.contact .contact-form-wrapper .input-with-icon .form-control {
  border-radius: 8px;
  padding: 12px 15px 12px 45px;
  height: 3.5rem;
  color: var(--default-color);
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .contact-form-wrapper .input-with-icon textarea.form-control {
  height: 180px;
  padding-left: 45px;
}

.contact .contact-form-wrapper .btn-submit {
  background-color: var(--accent-color);
  border: none;
  color: var(--surface-color);
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: 0.3s ease;
  box-shadow: 0 5px 15px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.contact .contact-form-wrapper .btn-submit:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-3px);
}

.contact .form-container-overlap {
  position: relative;
  margin-top: -150px;
  margin-bottom: 60px;
  z-index: 10;
}

.contact .contact-form-wrapper {
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
  padding: 40px;
}

/*--------------------------------------------------------------
# Responsiveness
--------------------------------------------------------------*/

@media (max-width: 992px) {
  .contact .form-container-overlap {
    margin-top: -120px;
  }

  .contact .contact-form-wrapper {
    padding: 30px;
  }

  .contact .contact-form-wrapper h2 {
    font-size: 26px;
  }

  .contact .map-section {
    height: 450px;
  }
}

@media (max-width: 768px) {
  .contact .contact-info-box {
    margin-bottom: 20px;
  }

  .contact .form-container-overlap {
    margin-top: -100px;
  }

  .contact .contact-form-wrapper {
    padding: 25px;
  }

  .contact .contact-form-wrapper h2 {
    font-size: 24px;
  }

  .contact .map-section {
    height: 400px;
  }
}

@media (max-width: 576px) {
  .contact .form-container-overlap {
    margin-top: -80px;
  }

  .contact .contact-form-wrapper {
    padding: 20px;
  }

  .contact .contact-form-wrapper h2 {
    font-size: 22px;
  }

  .contact .map-section {
    height: 350px;
  }

  .contact .contact-form-wrapper .btn-submit {
    width: 100%;
  }
}








/* Ikon tengah */
.img-icon-center {
  display: block;
  margin: 0 auto 15px auto;
  width: 60px;
  height: auto;
  object-fit: contain;
}

/* Card umum */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 16px rgba(0,0,0,0.1);
}

/* Layanan */
.layanan-container {
  margin-top: -100px;
  padding: 40px 30px;
  background-color: white;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 5;
  max-height: 800px;
}
.layanan-box {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  padding: 12px 16px;
  transition: transform 0.3s ease;
}
.layanan-box:hover { transform: translateY(-5px); }
.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: var(--accent-color);
  color: var(--surface-color);
}
.layanan-box p {
  margin: 0;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
}
.btn-layanan {
  background-color: #3E3E3E;
  color: var(--surface-color);
  border: none;
  padding: 10px 25px;
  border-radius: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-layanan:hover {
  background-color: var(--background-color);
  color: var(--heading-color);
}

.card-pengaduan-custom:hover {
  background: linear-gradient(135deg, #fdfcf9cc, #eaeaeaee);
  background-image: url('https://www.toptal.com/designers/subtlepatterns/uploads/greyzz.png');
  background-repeat: repeat;
  background-size: 180px auto;
  background-attachment: fixed;
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}

/* Layanan Baru */
.layanan-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  padding: 25px 10px;
  border-radius: 20px;
  text-decoration: none;
  border: 1.5px solid rgba(0,0,0,0.08);
  transition: 0.35s ease;
}

.layanan-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.layanan-item h6 {
  margin-top: 12px;
  color: var(--heading-color);
  font-weight: 600;
  font-size: 16px;
  font-family: var(--default-font);
}

.layanan-item:hover {
  transform: translateY(-6px);
  border-color: var(--heading-color);
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}

.layanan-item:hover img {
  transform: scale(1.08);
}

.berita-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding-bottom: 10px;
}

.berita-slider::-webkit-scrollbar {
  height: 6px;
}

.berita-slider::-webkit-scrollbar-thumb {
  background: var(--heading-color);
  border-radius: 4px;
}

.berita-item {
  scroll-snap-align: start;
  min-width: 25%; /* BIAR 4 CARD MUAT DI LAYAR */
}

/* Responsif */
@media (max-width: 992px) {
  .berita-item {
    min-width: 45%;
  }
}

@media (max-width: 576px) {
  .berita-item {
    min-width: 80%;.card {
  border-radius: 0;
}
.social {
  display: inline-block;
  border: 1px solid #0d6efd;
  color: #0d6efd;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 28px;
  border-radius: 3px;
  transition: 0.3s;
}
.social:hover {
  background-color: #0d6efd;
  color: white;
}
.jabatan {
  font-weight: 600;
  font-size: 0.9rem;
}
  }
}