/* ==========================================================================
   WEBSITE DESA LEMBU - DESIGN SYSTEM & STYLESHEET (FULL RESPONSIVE & MOBILE NAV EDITION)
   Kecamatan Bancak, Kabupaten Semarang, Jawa Tengah 50182
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-dark: #0b2218;
  --primary-darker: #06150e;
  --primary-green: #15803d;
  --primary-light: #22c55e;
  --accent-gold: #f59e0b;
  --accent-amber: #d97706;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --soft-green: #eef7f2;
  --soft-green-border: #bbf7d0;
  --glass-bg: rgba(11, 34, 24, 0.94);
  --glass-border: rgba(255, 255, 255, 0.15);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 25px rgba(34, 197, 94, 0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Settings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  font-size: 16px;
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Inline SVG Icon Utility */
.icon-svg {
  width: 1.1em;
  height: 1.1em;
  fill: currentColor;
  display: inline-block;
  vertical-align: -0.15em;
  flex-shrink: 0;
}

.icon-svg-lg {
  width: 1.75rem;
  height: 1.75rem;
  fill: currentColor;
}

/* Typography Helpers */
.badge-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: var(--soft-green);
  color: var(--primary-green);
  border: 1px solid var(--soft-green-border);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  vertical-align: middle;
  line-height: 1.2;
  box-sizing: border-box;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-green), #16a34a);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(21, 128, 61, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 128, 61, 0.45);
  background: linear-gradient(135deg, #166534, #15803d);
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary-dark);
  border: 1.5px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1eb956;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

/* ==========================================================================
   HEADER NAVIGATION BAR (Floating Glassmorphism & Mobile Menu)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.85rem 0;
  transition: var(--transition);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #16a34a, #15803d);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  flex-shrink: 0;
}

.brand-text h1 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.brand-text p {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 1.4rem;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   HERO BANNER SINEMATIK
   ========================================================================== */
.hero-banner {
  position: relative;
  min-height: 86vh;
  margin-top: 60px;
  background: linear-gradient(180deg, rgba(11, 34, 24, 0.75) 0%, rgba(6, 21, 14, 0.85) 100%), url('/images/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: #ffffff;
  padding: 5rem 0 4rem;
}

.hero-content {
  max-width: 820px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 720px;
}

.hero-badges-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.hero-badge-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  transition: var(--transition);
}

.hero-badge-pill:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   SEKILAS DESA & STAT COUNTER (Presisi 3-Kolom Samping-Sampingan)
   ========================================================================== */
.section-sekilas {
  padding: 5rem 0;
  background: #ffffff;
}

.grid-3-sekilas {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
}

.sekilas-col-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.sekilas-col-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.sekilas-col-image:hover img {
  transform: scale(1.04);
}

/* Responsive Feature Grid & Image Sizing (Tentang Desa & BUMDes) */
.section-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.feature-img-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.feature-img-container img,
.img-responsive-feature {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.feature-img-container:hover img,
.img-responsive-feature:hover {
  transform: scale(1.03);
}

.sekilas-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 34, 24, 0.9) 100%);
  color: #ffffff;
}

.sekilas-img-overlay h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

.sekilas-img-overlay p {
  font-size: 0.8rem;
  opacity: 0.85;
}

.sekilas-col-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.sekilas-text {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.highlight-box {
  background: var(--soft-green);
  border-left: 4px solid var(--primary-green);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin: 0.5rem 0 1rem;
}

.highlight-box h5 {
  color: var(--primary-dark);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.highlight-box p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Vertical Soft Green Stat Counter Card */
.stat-counter-card {
  background: linear-gradient(165deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1.5px solid var(--soft-green-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-card-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px dashed rgba(21, 128, 61, 0.2);
}

.stat-card-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-icon {
  width: 52px;
  height: 52px;
  background: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  color: var(--primary-green);
  flex-shrink: 0;
}

.stat-info-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.1;
}

.stat-info-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   LAPAK DIGITAL UMKM
   ========================================================================== */
.section-umkm {
  padding: 5rem 0;
  background: var(--bg-light);
}

.filter-bar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0 2.5rem;
}

.search-box {
  position: relative;
  max-width: 540px;
  width: 100%;
}

.search-box input {
  width: 100%;
  padding: 0.9rem 1.2rem 0.9rem 3rem;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  background: #ffffff;
  outline: none;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cat-pill {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cat-pill:hover, .cat-pill.active {
  background: var(--primary-green);
  color: #ffffff;
  border-color: var(--primary-green);
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.25);
}

.grid-umkm {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.card-umkm {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card-umkm:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--soft-green-border);
}

.card-umkm-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-umkm-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.card-umkm:hover .card-umkm-img img {
  transform: scale(1.05);
}

.card-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(11, 34, 24, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

.card-umkm-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-umkm-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.3rem;
}

.card-umkm-owner {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.card-umkm-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.card-umkm-address {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.card-umkm-actions {
  margin-top: auto;
  display: flex;
  gap: 0.6rem;
}

/* ==========================================================================
   BUMDES & LAYANAN PUBLIK & BERITA
   ========================================================================== */
.section-bumdes {
  padding: 5rem 0;
  background: #ffffff;
}

.grid-bumdes-units {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card-bumdes {
  background: var(--soft-green);
  border: 1px solid var(--soft-green-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
}

.card-bumdes:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-bumdes-icon {
  width: 52px;
  height: 52px;
  background: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.card-service {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card-service:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-service-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 1.2rem;
  background: var(--soft-green);
  color: var(--primary-green);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 900px;
  max-height: 85vh;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: #ffffff;
  font-size: 2.5rem;
  cursor: pointer;
}

/* ==========================================================================
   TOMBOL ADMIN PILL MENGAMBANG HALUS (.floating-admin-pill)
   ========================================================================== */
.floating-admin-pill {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  background: rgba(11, 34, 24, 0.92);
  backdrop-filter: blur(14px);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), var(--shadow-glow);
  transition: var(--transition);
}

.floating-admin-pill:hover {
  background: rgba(11, 34, 24, 0.98);
  transform: translateY(-3px) scale(1.03);
  border-color: var(--accent-gold);
}

/* ==========================================================================
   STANDALONE DEDICATED PORTAL ADMIN UI (/admin)
   ========================================================================== */
.admin-body {
  background: #f1f5f9;
  min-height: 100vh;
}

.admin-header {
  background: var(--primary-dark);
  color: #ffffff;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--primary-green);
  box-shadow: var(--shadow-md);
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.admin-title h2 {
  font-size: 1.25rem;
  font-weight: 800;
}

.status-badge {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 65px);
}

.admin-sidebar {
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  padding: 1.5rem 1rem;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.admin-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: var(--transition);
}

.admin-tab-btn:hover, .admin-tab-btn.active {
  background: var(--soft-green);
  color: var(--primary-green);
}

.admin-main {
  padding: 2rem;
  overflow-x: auto;
}

.admin-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  min-width: 500px;
}

.admin-table th, .admin-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.9rem;
}

.admin-table th {
  background: #f8fafc;
  font-weight: 700;
  color: var(--primary-dark);
}

/* ==========================================================================
   FOOTER LAYOUT DARK FOREST ELEGAN
   ========================================================================== */
.site-footer {
  background: var(--primary-dark);
  color: #ffffff;
  padding: 4.5rem 0 2rem;
  margin-top: auto;
  border-top: 4px solid var(--primary-green);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin: 1rem 0;
  line-height: 1.6;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--primary-green);
  border-radius: var(--radius-full);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.85rem;
  align-items: flex-start;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   RESPONSIVENESS & MOBILE NAVIGATION DRAWER OVERLAY
   ========================================================================== */

/* Tablets & Laptops (Max 1024px) */
@media (max-width: 1024px) {
  .grid-3-sekilas {
    grid-template-columns: 1fr 1fr;
  }
  .stat-counter-card {
    grid-column: span 2;
  }
  .admin-layout {
    grid-template-columns: 200px 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Devices & Small Tablets (Max 992px) */
@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  /* Mobile Slide-down Navigation Drawer */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    padding: 1.25rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    border-bottom: 3px solid var(--primary-green);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
  }

  .nav-menu.active {
    display: flex;
    animation: mobileNavSlideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-link {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
  }

  .nav-link:hover, .nav-link.active {
    background: var(--primary-green);
    border-color: var(--primary-light);
  }

  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .grid-3-sekilas {
    grid-template-columns: 1fr;
  }
  .section-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }
  .feature-img-container img,
  .img-responsive-feature {
    height: 320px;
    width: 100%;
  }
  .stat-counter-card {
    grid-column: span 1;
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }
  .admin-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
  .admin-tab-btn {
    white-space: nowrap;
  }
  .admin-main {
    padding: 1.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .floating-admin-pill {
    bottom: 1rem;
    right: 1rem;
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
  }
}

@keyframes mobileNavSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Extra Small Phones (Max 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .brand-text h1 {
    font-size: 1rem;
  }
  .brand-text p {
    font-size: 0.65rem;
  }
  .feature-img-container img,
  .img-responsive-feature {
    height: 260px;
    width: 100%;
  }
}

/* ==========================================================================
   INTERACTIVE SERVICE CARDS & LAYANAN ADMINISTRASI MODAL
   ========================================================================== */
.clickable-service-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 2px solid #e2e8f0;
  transition: var(--transition);
  user-select: none;
  background: #ffffff;
}

.clickable-service-card:hover {
  border-color: var(--primary-green);
  box-shadow: 0 12px 28px rgba(21, 128, 61, 0.16);
  transform: translateY(-6px);
}

.clickable-service-card:active {
  transform: translateY(-2px) scale(0.99);
}

.clickable-service-card.active-category {
  border-color: var(--primary-green) !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3), 0 12px 28px rgba(21, 128, 61, 0.18) !important;
  background: #f0fdf4 !important;
}

.clickable-service-card:hover .service-action-btn {
  background: var(--primary-green);
  color: #ffffff;
}

.clickable-service-card.active-category .service-action-btn {
  background: var(--primary-green) !important;
  color: #ffffff !important;
}

.service-action-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-green);
  background: var(--soft-green);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

/* Service Request Modal */
.service-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 34, 24, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.service-modal-overlay.active {
  display: flex;
  animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.service-modal-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid #cbd5e1;
}

.service-modal-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-green));
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--accent-gold);
}

.service-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  font-size: 1.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.service-modal-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  background: #ffffff;
}

.form-input:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

