/* Dpmptsp Balikpapan — Design System V4.0
   Pemerintahan — Soft Dark Blue Premium */

:root {
  /* ── Light Mode (default) ─────────────────── */

  /* Palet Utama: Soft Dark Blue */
  --primary: #1E3A6E;
  --primary-dark: #162D55;
  --primary-hover: #254A8A;
  --primary-light: #EDF2FA;
  --primary-xlight: #F5F8FC;

  /* Aksen Emas (kesan Resmi) */
  --gold: #C8962E;
  --gold-light: rgba(200, 150, 46, 0.12);

  /* Warna Sekunder: Biru Cerah (CTA/Aksen) */
  --secondary: #2563EB;
  --secondary-light: #DBEAFE;

  /* Warna Semantik */
  --accent-green: #10B981;
  --accent-teal: #06B6D4;

  /* Backgrounds */
  --bg-base: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-section: #F1F5F9;

  /* Text */
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  /* Borders */
  --border: #E2E8F0;
  --border-light: #F1F5F9;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  --gradient-hero: linear-gradient(160deg, #0F172A 0%, #1E3A6E 50%, #254A8A 100%);
  --gradient-dark: linear-gradient(160deg, #0F172A 0%, #1E3A6E 50%, #1C3F68 100%);
  --gradient-card: linear-gradient(135deg, #F5F8FC 0%, #EDF2FA 100%);
  --gradient-gold: linear-gradient(135deg, #C8962E 0%, #E8B84B 100%);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 40px -10px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 12px 40px -8px rgba(30, 58, 110, 0.12);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', sans-serif;

  /* Transition */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Dark mode toggle vars */
  --dm-bg: var(--bg-base);
  --dm-card: var(--bg-card);
  --dm-text: var(--text-primary);
  --dm-border: var(--border);
  --dm-muted: var(--text-muted);
  --dm-navbar-bg: rgba(255, 255, 255, 0.97);
  --dm-navbar-txt: var(--text-primary);
  --dm-section-bg: var(--bg-section);
  --dm-welcome-bg: white;
  --dm-input-bg: white;
  --dm-icon-bg: var(--primary-light);
}

/* ══════════════════════════════════════════════
   DARK MODE  — aktif dengan [data-theme="dark"]
   ══════════════════════════════════════════════ */
[data-theme="dark"] {
  --bg-base: #0F172A;
  --bg-card: #1E293B;
  --bg-section: #1A2332;

  --text-primary: #F1F5F9;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-light: #64748B;

  --border: #334155;
  --border-light: #1E293B;

  --primary-light: rgba(37, 99, 235, 0.15);
  --primary-xlight: rgba(37, 99, 235, 0.08);
  --secondary-light: rgba(37, 99, 235, 0.2);

  --gradient-card: linear-gradient(135deg, #1E293B 0%, #1A2332 100%);

  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.45), 0 8px 20px rgba(0, 0, 0, 0.3);

  --dm-bg: #0F172A;
  --dm-card: #1E293B;
  --dm-text: #F1F5F9;
  --dm-border: #334155;
  --dm-muted: #94A3B8;
  --dm-navbar-bg: rgba(15, 23, 41, 0.97);
  --dm-navbar-txt: #F1F5F9;
  --dm-section-bg: #1A2332;
  --dm-welcome-bg: #1E293B;
  --dm-input-bg: #1E293B;
  --dm-icon-bg: rgba(37, 99, 235, 0.15);
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #CBD5E0;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #A0AEC0;
}


/* Topbar */
.navbar-topbar {
  background: var(--gradient-primary);
  padding: 7px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-topbar a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-size: 13px;
}

.navbar-topbar a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.navbar-topbar span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
}


/* Navbar Utama */
.dpmptsp-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 12px rgba(26, 58, 92, 0.06);
  transition: var(--transition);
}

.dpmptsp-navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: #fff;
}

/* Brand */
.navbar-brand-area {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.navbar-brand-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.navbar-brand-text h1 {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}

.navbar-brand-text p {
  font-size: 10.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.3;
  font-weight: 500;
}

/* Separator brand-to-menu */
.navbar-brand-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
  display: none;
}

@media (min-width: 992px) {
  .navbar-brand-sep {
    display: block;
  }
}

/* Desktop Menu */
.navbar-main-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
  flex-wrap: wrap;
}

.navbar-main-menu>li>a,
.navbar-main-menu>li>span {
  display: block;
  padding: 6px 9px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.navbar-main-menu>li>a:hover,
.navbar-main-menu>li:hover>span {
  background: var(--primary-light);
  color: var(--primary);
}

.navbar-main-menu>li.active>a {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(26, 58, 92, 0.25);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: var(--transition);
}

.nav-dropdown-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 18px;
}

/* Search button */
.nav-search-btn {
  background: var(--primary-light);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
}

.nav-search-btn:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(26, 58, 92, 0.25);
}

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 31, 53, 0.72);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 90%;
  max-width: 580px;
  box-shadow: var(--shadow-lg);
}

.search-box h3 {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--primary);
}

.search-box form {
  display: flex;
  gap: 10px;
}

.search-box input {
  flex: 1;
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  color: var(--text-primary);
}

.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.08);
}

.search-box button[type="submit"] {
  background: var(--gradient-primary);
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition);
}

.search-box button[type="submit"]:hover {
  box-shadow: 0 4px 14px rgba(26, 58, 92, 0.35);
}

.search-close {
  background: var(--primary-light);
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--primary);
  float: right;
  margin-top: -8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.search-close:hover {
  background: var(--primary);
  color: white;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: var(--primary-light);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  background: white;
  z-index: 9998;
  overflow-y: auto;
  padding: 70px 24px 40px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav ul a,
.mobile-nav ul span {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: color 0.2s;
}

.mobile-nav ul a:hover {
  color: var(--primary);
}

.mobile-nav .sub-menu {
  padding-left: 16px;
}

.mobile-nav .sub-menu a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.mobile-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary-light);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-close-btn:hover {
  background: var(--primary);
  color: white;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 31, 53, 0.55);
  z-index: 9997;
  display: none;
}

.mobile-overlay.active {
  display: block;
}



/* ================================================================
   HERO BANNER SECTION — Image Carousel (seperti web asli)
   ================================================================ */

.hero-banner-section {
  position: relative;
  background: linear-gradient(160deg, #0b1e36 0%, #1A3A5C 55%, #1e4a75 100%);
  padding: 40px 0 0;
  overflow: hidden;
}

/* Background decorative shapes */
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Floating circles */
.hbs-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hbs-circle--1 {
  width: 480px;
  height: 480px;
  top: -180px;
  left: -120px;
}

.hbs-circle--2 {
  width: 300px;
  height: 300px;
  top: 30px;
  right: -80px;
  background: rgba(200, 150, 46, 0.05);
  border-color: rgba(200, 150, 46, 0.08);
}

.hbs-circle--3 {
  width: 180px;
  height: 180px;
  bottom: 60px;
  left: 40%;
  background: rgba(56, 189, 248, 0.04);
  border-color: rgba(56, 189, 248, 0.07);
}

/* Dot grid pattern */
.hbs-dots {
  position: absolute;
  width: 180px;
  height: 180px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 18px 18px;
}

.hbs-dots--tl {
  top: 24px;
  left: 24px;
}

.hbs-dots--br {
  bottom: 24px;
  right: 24px;
}

.hbs-wave-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 90px;
}

/* Container */
.hero-banner-container {
  position: relative;
  z-index: 2;
}

/* Slider wrapper with decorative frame */
.hero-slider-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  background: #0b1e36;
}

/* Corner accent lines */
.slider-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  z-index: 10;
  pointer-events: none;
}

.slider-corner--tl {
  top: 0;
  left: 0;
  border-top: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
  border-radius: 16px 0 0 0;
}

.slider-corner--tr {
  top: 0;
  right: 0;
  border-top: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  border-radius: 0 16px 0 0;
}

.slider-corner--bl {
  bottom: 0;
  left: 0;
  border-bottom: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
  border-radius: 0 0 0 16px;
}

.slider-corner--br {
  bottom: 0;
  right: 0;
  border-bottom: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  border-radius: 0 0 16px 0;
}

/* Hero swiper */
.hero-swiper {
  width: 100%;
  height: auto;
  display: block;
}

.hero-swiper .swiper-slide {
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b1e36;
}

/* THE ACTUAL BANNER IMAGE */
.banner-slide-img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 7s ease;
}

.swiper-slide-active .banner-slide-img {
  transform: scale(1.03);
}

/* Pagination — pill style */
.hero-banner-pagination {
  bottom: 16px !important;
}

.hero-banner-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.3s ease;
}

.hero-banner-pagination .swiper-pagination-bullet-active {
  background: white;
  width: 28px;
  border-radius: 4px;
}

/* Navigation arrows */
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  color: white;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.hero-nav-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.08);
}

.hero-nav-prev {
  left: 14px;
}

.hero-nav-next {
  right: 14px;
}

/* Quick info bar */
.hero-quick-row {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  margin-top: 16px;
  padding: 14px 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.hqr-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 160px;
}

.hqr-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(200, 150, 46, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
}

.hqr-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hqr-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

.hqr-val {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-heading);
}

.hqr-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.hqr-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-gold);
  color: white !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(200, 150, 46, 0.35);
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.hqr-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 150, 46, 0.5);
  color: white !important;
}

/* Wave bottom divider */
.hero-wave-bottom {
  position: relative;
  margin-top: 16px;
  height: 56px;
  overflow: hidden;
}

.hero-wave-bottom svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Legacy btn-hero classes (masih dipakai di halaman lain) */
.btn-hero-primary {
  background: var(--gradient-primary);
  color: white !important;
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(26, 58, 92, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(26, 58, 92, 0.55);
  color: white !important;
  background: linear-gradient(135deg, #1e4a75 0%, #2a5a8f 100%);
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  color: white !important;
  border: 2px solid rgba(255, 255, 255, 0.45);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: white;
  color: white !important;
}

/* badge-hero legacy */
.badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 767px) {
  .hero-banner-section {
    padding: 28px 0 0;
  }

  .banner-slide-img {
    max-height: 240px;
  }

  .hero-quick-row {
    padding: 12px 14px;
    gap: 8px;
  }

  .hqr-divider {
    display: none;
  }

  .hqr-item {
    min-width: 130px;
  }

  .hero-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .slider-corner {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .banner-slide-img {
    max-height: 190px;
  }

  .hqr-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ================================================================
   SECTION DECORATIVE SHAPES
   ================================================================ */

/* Wave SVG divider antara sections */
.section-wave-divider {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.section-wave-divider svg {
  display: block;
  width: 100%;
}

/* Section Wave Divider */
.section-divider-wave {
  position: relative;
  overflow: hidden;
  line-height: 0;
  margin: 0;
  height: 60px;
  /* background harus = warna section yang ADA DI ATAS divider (stats bar = dark) */
  background: linear-gradient(135deg, #0b1e36 0%, #1A3A5C 40%, #1e4a75 100%);
}

.section-divider-wave svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Path fill harus = warna section di BAWAH divider (welcome section = bg-base) */
.section-divider-wave path {
  fill: var(--bg-base);
}

[data-theme="dark"] .section-divider-wave path {
  fill: var(--bg-base);
}

[data-theme="dark"] .section-divider-wave {
  background: linear-gradient(135deg, #0b1e36 0%, #1A3A5C 40%, #1e4a75 100%);
}

/* ================================================================
   STATS BAR — Premium Glassmorphism Government Style
   ================================================================ */
.stats-bar {
  background: linear-gradient(180deg, #0b1929 0%, #0e1f33 100%) !important;
  position: relative;
  overflow: hidden;
  padding: 28px 0 32px;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Dot pattern decoration */
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.6;
}

/* Gold accent glow top-right */
.stats-bar::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(200, 150, 46, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* CLEAN SOLID TRANSITION — hapus wave yang bermasalah */
/* Solid color block separator: dark -> light */
.stats-wave-bottom {
  position: relative;
  height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.stats-wave-bottom svg {
  display: none;
}

/* Stat cards glassmorphism dalam stats bar */
.stats-bar .row {
  position: relative;
  z-index: 1;
}

/* Override stat colors for dark background */
.stats-bar .stat-item {
  border-right-color: rgba(255, 255, 255, 0.08) !important;
  position: relative;
}

.stats-bar .stat-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(200, 150, 46, 0.4), transparent);
  border-radius: 2px;
}

.stats-bar .stat-number {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  font-size: 32px !important;
}

.stats-bar .stat-label {
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 11px !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600 !important;
}

.stats-bar .stat-icon-wrap {
  background: rgba(200, 150, 46, 0.12) !important;
  border: 1px solid rgba(200, 150, 46, 0.2) !important;
  color: var(--gold) !important;
  border-radius: 12px !important;
  width: 48px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 12px !important;
  font-size: 20px !important;
  transition: var(--transition) !important;
}

.stats-bar .stat-item:hover .stat-icon-wrap {
  background: linear-gradient(135deg, var(--gold), #E8B84B) !important;
  color: #0b1e36 !important;
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(200, 150, 46, 0.4) !important;
}

/* Underline accent after stats bar — solid clean divider */
.stats-bar-divider {
  height: 4px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(200, 150, 46, 0.3) 20%,
      rgba(200, 150, 46, 0.6) 50%,
      rgba(200, 150, 46, 0.3) 80%,
      transparent 100%);
  margin: 0;
}


.stat-item {
  text-align: center;
  padding: 22px 16px;
  border-right: 1px solid var(--border-light);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}


/* Section Titles */
.section-header {
  margin-bottom: 40px;
}

.section-header .tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  border: 1px solid rgba(26, 58, 92, 0.12);
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 500px;
}

.section-header.center {
  text-align: center;
}

.section-header.center p {
  margin: 0 auto;
}


/* Welcome Section */
.welcome-section {
  padding: 90px 0 100px;
  background: var(--dm-welcome-bg);
  position: relative;
  overflow: hidden;
}

/* Subtle geometric background accent */
.welcome-decoration-1 {
  position: absolute;
  top: -120px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 58, 92, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.welcome-decoration-2 {
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 150, 46, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Left accent line for welcome section */
.welcome-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, var(--gold) 30%, var(--primary) 70%, transparent 100%);
  opacity: 0.6;
}

.welcome-video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}

.welcome-video-wrap img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  box-shadow: 0 8px 30px rgba(26, 58, 92, 0.45);
  transition: var(--transition);
}

.video-play-btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(26, 58, 92, 0.3);
  animation: pulse-ring 2s infinite;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.welcome-text .tagline {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.welcome-text .tagline::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
}

.welcome-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.welcome-text p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.visi-box {
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-top: 24px;
}

.visi-box .label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.visi-box p {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.7;
  margin: 0;
}


/* Layanan Section */
.layanan-section {
  padding: 80px 0;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.layanan-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(200, 150, 46, 0.06);
  border-radius: 50%;
}

.layanan-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.layanan-section .section-header .tag {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.15);
}

.layanan-section .section-header h2 {
  color: white;
}

.layanan-section .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

.layanan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  position: relative;
  z-index: 1;
}

.layanan-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  color: white;
}

.layanan-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

.layanan-card i {
  font-size: 26px;
  margin-bottom: 10px;
  display: block;
  color: rgba(255, 255, 255, 0.88);
}

.layanan-card span {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  display: block;
}

.btn-see-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--primary);
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 32px;
  text-decoration: none;
}

.btn-see-all:hover {
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}


/* Berita / News Cards */
.berita-section {
  padding: 80px 0;
  background: var(--bg-base);
}

.news-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border);
}

.news-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.news-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-img-wrap img {
  transform: scale(1.06);
}

.news-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gradient-primary);
  color: white;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
}

.news-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.news-meta i {
  color: var(--primary);
  font-size: 11px;
}

.news-card h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
  flex: 1;
}

.news-card h3 a {
  color: var(--text-primary);
  transition: color 0.2s;
}

.news-card h3 a:hover {
  color: var(--primary);
}

.news-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
}

.read-more-link:hover {
  gap: 10px;
  color: var(--primary-hover);
}


/* Sidebar Widgets */
.sidebar-widget {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.sidebar-widget h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-light);
  color: var(--primary);
}

.sidebar-post {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-post:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-post img {
  width: 70px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-post .post-info span {
  font-size: 11px;
  color: var(--text-muted);
}

.sidebar-post .post-info h5 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 4px;
}

.sidebar-post .post-info h5 a {
  color: var(--text-primary);
  transition: color 0.2s;
}

.sidebar-post .post-info h5 a:hover {
  color: var(--primary);
}

.sidebar-search {
  display: flex;
  gap: 8px;
}

.sidebar-search input {
  flex: 1;
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 10px 16px;
  font-size: 13px;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition);
  color: var(--text-primary);
}

.sidebar-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.08);
}

.sidebar-search button {
  background: var(--gradient-primary);
  border: none;
  border-radius: 50px;
  width: 40px;
  height: 40px;
  color: white;
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
}

.kadis-widget {
  text-align: center;
  padding: 24px;
}

.kadis-widget img {
  width: 110px;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 0 auto 14px;
  border: 3px solid var(--primary-light);
}

.kadis-widget h4 {
  font-size: 14px;
  font-weight: 700;
  border: none;
  padding: 0;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.kadis-widget p {
  font-size: 12px;
  color: var(--text-muted);
}

.fast-link-item {
  display: block;
  margin-bottom: 10px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.fast-link-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.fast-link-item img {
  width: 100%;
  height: auto;
}

.survey-widget {
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  color: white;
}

.survey-widget h4 {
  color: white;
  border: none;
  font-size: 16px;
  margin-bottom: 8px;
}

.survey-widget p {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 16px;
}

.survey-widget a {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
}

.survey-widget a:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}


/* Jadwal Pelayanan */
.jadwal-section {
  padding: 80px 0;
  background: white;
}

.jadwal-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.jadwal-img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.jadwal-info h5 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 8px;
}

.jadwal-info h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 12px;
}

.jadwal-info p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.jadwal-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jadwal-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--bg-base);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  border: 1px solid var(--border-light);
}

.day-badge {
  background: var(--gradient-primary);
  color: white;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  text-align: center;
  min-width: 80px;
}

.jadwal-list li .time {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}


/* Breadcrumb */
.modern-breadcrumb {
  background: white;
  padding: 50px 0 30px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.modern-breadcrumb::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.modern-breadcrumb::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 250px;
  height: 250px;
  background: var(--primary-light);
  border-radius: 50%;
  opacity: 0.4;
}

.breadcrumb-content {
  position: relative;
  z-index: 1;
}

.breadcrumb-content h1 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumb-nav a {
  color: var(--primary);
  font-weight: 600;
}

.breadcrumb-nav span.sep {
  color: var(--text-light);
}


/* Faq */
.faq-section {
  padding: 80px 0;
}

.faq-item {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: rgba(26, 58, 92, 0.2);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  gap: 16px;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--bg-base);
}

.faq-question h5 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  flex: 1;
  line-height: 1.5;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 14px;
  transition: var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--gradient-primary);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
  max-height: 1000px;
}

.faq-answer-content {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}


/* Kontak */
.kontak-section {
  padding: 80px 0;
  background: white;
}

.contact-card {
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
  height: 100%;
}

.contact-card:hover {
  border-color: rgba(26, 58, 92, 0.2);
  box-shadow: var(--shadow-sm);
  background: white;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-card h5 {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-card p {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.5;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}


/* Perizinan */
.perizinan-hero {
  background: var(--gradient-hero);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.perizinan-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -50px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(200, 150, 46, 0.08);
}

.perizinan-hero h1 {
  color: white;
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.perizinan-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.perizinan-section {
  padding: 80px 0;
}

.perizinan-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.perizinan-card:hover {
  background: var(--primary-light);
  border-color: rgba(26, 58, 92, 0.2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.perizinan-icon {
  font-size: 26px;
  color: var(--primary);
  background: var(--primary-light);
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.perizinan-card:hover .perizinan-icon {
  background: var(--gradient-primary);
  color: white;
}

.perizinan-card span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}


/* Modal */
.modal-content {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal-header {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 20px 28px;
}

.modal-header .modal-title {
  color: white;
  font-weight: 700;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
}

.modal-body {
  padding: 28px;
}

.modal-body .accordion-button:not(.collapsed) {
  background: var(--primary-light);
  color: var(--primary);
  box-shadow: none;
}

.modal-body .accordion-item {
  border: 1px solid var(--border-light);
  border-radius: 10px !important;
  margin-bottom: 8px;
  overflow: hidden;
}

.modal-footer {
  border: none;
  padding: 16px 28px;
}


/* Profil Karyawan */
.profil-section {
  padding: 80px 0;
}

.employee-card-v2 {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
}

.employee-card-v2:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(26, 58, 92, 0.15);
}

.employee-card-v2 .emp-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}

.employee-card-v2 .emp-info {
  padding: 16px;
}

.employee-card-v2 h5 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.employee-card-v2 p {
  font-size: 12px;
  color: var(--text-muted);
}

.position-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.position-btn {
  background: white;
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition);
  color: var(--text-muted);
}

.position-btn.active,
.position-btn:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
}


/* Footer */
.site-footer {
  background: var(--gradient-dark);
  padding: 70px 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200, 150, 46, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 16px;
  text-align: left;
}

.footer-logo img::before {
  content: "DPMPTSP Balikpapan";
  display: block;
  color: white;
}

/* Basic fallback trick */
.footer-logo h3 {
  color: white;
  font-size: 16px;
  margin-bottom: 8px;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  transition: var(--transition);
}

.footer-social-link:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(26, 58, 92, 0.4);
}

.footer-col h4 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: rgba(200, 150, 46, 0.7);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '';
  width: 4px;
  height: 4px;
  background: rgba(200, 150, 46, 0.6);
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-links a:hover {
  color: white;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.footer-contact-item i {
  color: rgba(200, 150, 46, 0.8);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item p {
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  margin-top: 50px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.32);
  font-size: 13px;
  margin: 0;
}

.footer-bottom i {
  color: rgba(200, 150, 46, 0.7);
}


/* Berita List Page */
.berita-list-page {
  padding: 60px 0 80px;
}

.news-list-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  display: flex;
  margin-bottom: 24px;
  transition: var(--transition);
}

.news-list-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border);
  transform: translateY(-3px);
}

.news-list-card .nl-img {
  width: 220px;
  flex-shrink: 0;
  overflow: hidden;
}

.news-list-card .nl-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-list-card:hover .nl-img img {
  transform: scale(1.05);
}

.news-list-card .nl-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-list-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
}

.news-list-card h3 a {
  color: var(--text-primary);
  transition: color 0.2s;
}

.news-list-card h3 a:hover {
  color: var(--primary);
}

.nl-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* Detail Article */
.detail-article {
  padding: 60px 0 80px;
}

.article-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.article-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 16px;
  line-height: 1.3;
}

.article-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 32px;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.article-meta i {
  color: var(--primary);
}

.article-body {
  font-size: 15px;
  line-height: 1.9;
  color: #374151;
}

.article-body p {
  margin-bottom: 16px;
}

.article-nav-wrap {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.article-nav-item {
  flex: 1;
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: var(--transition);
  display: block;
}

.article-nav-item:hover {
  border-color: rgba(26, 58, 92, 0.2);
  box-shadow: var(--shadow-sm);
}

.nav-item-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
}

.article-nav-item.next {
  text-align: right;
}

.article-nav-item.next .nav-item-label {
  justify-content: flex-end;
}


/* Penghargaan Marquee */
.penghargaan-section {
  padding: 40px 0;
  background: var(--bg-base);
  overflow: hidden;
}

.marquee-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.marquee-track {
  overflow: hidden;
}

.marquee-content {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: marquee-slide 30s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.marquee-item img {
  height: 80px;
  width: auto;
  object-fit: contain;
}


/* Utilities & Helpers */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary-custom:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(26, 58, 92, 0.35);
}


/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

@keyframes marquee-slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}


/* Responsive */
@media (max-width: 991px) {
  .navbar-main-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .layanan-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-list-card {
    flex-direction: column;
  }

  .news-list-card .nl-img {
    width: 100%;
    height: 200px;
  }

  .article-nav-wrap {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .hero-swiper {
    height: 70vh;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .welcome-section,
  .berita-section,
  .jadwal-section,
  .perizinan-section,
  .faq-section {
    padding: 50px 0;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
}

@media (max-width: 576px) {
  .layanan-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* Redesign Additions */

/* Stats Bar Polish */
.stat-icon-wrap {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 24px;
  transition: var(--transition);
}

.stat-item:hover .stat-icon-wrap {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(26, 58, 92, 0.3);
}

/* Welcome Section Polish */
.welcome-section {
  position: relative;
  overflow: hidden;
  background: #fdfdfd;
}

.welcome-decoration-1 {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
  z-index: 0;
}

.welcome-decoration-2 {
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 150, 46, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.welcome-section .container {
  position: relative;
  z-index: 1;
}

/* Layanan Cards Redesign */
.layanan-card {
  position: relative;
  overflow: hidden;
}

.layanan-number {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 40px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  line-height: 1;
}

.layanan-card:hover .layanan-number {
  color: rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
}

.layanan-card:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15), inset 0 0 15px rgba(255, 255, 255, 0.05);
}

/* Berita Featured Card */
.featured-news-card {
  flex-direction: row;
}

.featured-news-card .news-img-wrap {
  flex: 1.2;
  height: 100%;
}

.featured-news-card .news-body {
  flex: 1;
  padding: 30px;
  justify-content: center;
}

@media (max-width: 991px) {
  .featured-news-card {
    flex-direction: column;
  }

  .featured-news-card .news-img-wrap {
    aspect-ratio: 16/9;
    height: auto;
  }
}

/* Sidebar Polish */
.sidebar-widget {
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Jadwal Polish */
.jadwal-list li {
  transition: var(--transition);
}

.jadwal-list li:hover {
  transform: translateX(5px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   TEXTURE & AESTHETIC ENHANCEMENTS
   ============================================================ */

/* Stats Bar — upgraded dengan subtle grain texture */
.stats-bar {
  background: white;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(26, 58, 92, 0.04) 0%, transparent 60%),
    radial-gradient(circle at 80% 50%, rgba(26, 58, 92, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

/* Stat icon wrap */
.stat-icon-wrap {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
  margin: 0 auto 10px;
  transition: var(--transition);
}

.stat-item:hover .stat-icon-wrap {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

/* Welcome Section — dot grid background texture */
.welcome-section {
  position: relative;
  overflow: hidden;
}

.welcome-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(26, 58, 92, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.welcome-section>.container {
  position: relative;
  z-index: 1;
}

/* Welcome decoration blobs */
.welcome-decoration-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26, 58, 92, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  top: -150px;
  right: -100px;
  pointer-events: none;
}

.welcome-decoration-2 {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(200, 150, 46, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -100px;
  left: -80px;
  pointer-events: none;
}

/* Layanan / Services Section — diagonal lines texture */
.layanan-section {
  position: relative;
}

.layanan-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg,
      rgba(26, 58, 92, 0.02) 0px,
      rgba(26, 58, 92, 0.02) 1px,
      transparent 1px,
      transparent 12px);
  pointer-events: none;
  z-index: 0;
}

.layanan-section>.container {
  position: relative;
  z-index: 1;
}

/* Section dengan background dark (newsletter, CTA) — noise texture */
.cta-section,
.newsletter-section {
  position: relative;
  overflow: hidden;
}

.cta-section::after,
.newsletter-section::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  pointer-events: none;
  z-index: 1;
}

/* Berita Section — subtle mesh gradient */
.berita-section {
  position: relative;
  overflow: hidden;
}

.berita-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(26, 58, 92, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(200, 150, 46, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.berita-section>.container {
  position: relative;
  z-index: 1;
}

/* Modern breadcrumb — grain texture */
.modern-breadcrumb {
  position: relative;
  overflow: hidden;
}

.modern-breadcrumb::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  pointer-events: none;
  z-index: 1;
}

/* Card hover enhancement */
.layanan-card,
.news-card,
.service-card {
  position: relative;
  overflow: hidden;
}

.layanan-card::before,
.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 2;
}

.layanan-card:hover::before,
.news-card:hover::before {
  transform: scaleX(1);
}

/* Footer — noise texture enhancements */
.site-footer {
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  pointer-events: none;
  z-index: 0;
}

/* Section header gold accent underline */
.section-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 2px;
  margin-top: 10px;
}

.section-header.center h2::after {
  margin: 10px auto 0;
}

/* Animated gradient border for featured cards */
@keyframes gradientBorderAnim {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Glass card polish */
.glass-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 32px rgba(26, 58, 92, 0.10);
}

/* Hero responsive adjustments */
@media (max-width: 991px) {
  .hero-content {
    padding: 0 24px;
    max-width: 100%;
  }

  .hero-wbk-seal {
    display: none;
  }

  .hero-wave-right {
    display: none;
  }

  .hero-badges-row {
    gap: 10px;
  }

  .hero-logo-badge span {
    display: none;
  }
}

@media (max-width: 575px) {
  .hero-wbk-title {
    font-size: 1.8rem;
  }

  .hero-korupsi {
    font-size: 2rem;
  }

  .hero-badges-row {
    gap: 8px;
  }

  .hero-stop-badge {
    padding: 4px 8px;
  }

  .hero-stop-text {
    font-size: 12px;
  }

  .hero-stop-sub {
    font-size: 7px;
  }
}


/* ================================================================
   DARK / LIGHT MODE — Complete Component Overrides
   ================================================================ */

/* Smooth color transition untuk semua elemen */
*,
*::before,
*::after {
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* Pengecualian: jangan transition animasi non-warna */
img,
svg,
.swiper-slide,
.banner-slide-img,
.hero-nav-btn,
.hqr-cta,
.btn-primary-custom,
.btn-hero-primary,
.btn-hero-outline {
  transition: var(--transition);
}

/* ── NAVBAR dark mode ─────────────────────── */
[data-theme="dark"] .dpmptsp-navbar {
  background: rgba(15, 23, 41, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .dpmptsp-navbar.scrolled {
  background: rgba(15, 23, 41, 1);
}

[data-theme="dark"] .navbar-brand-text h1 {
  color: #c5d8f0;
}

[data-theme="dark"] .navbar-brand-text p {
  color: var(--text-muted);
}

[data-theme="dark"] .navbar-brand-sep {
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .navbar-main-menu>li>a,
[data-theme="dark"] .navbar-main-menu>li>span {
  color: var(--text-secondary);
}

[data-theme="dark"] .navbar-main-menu>li>a:hover,
[data-theme="dark"] .navbar-main-menu>li.active>a {
  color: #7bb8f0;
}

[data-theme="dark"] .navbar-main-menu>li.active::after {
  background: #7bb8f0;
}

[data-theme="dark"] .nav-dropdown-menu {
  background: #1a2540;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .nav-dropdown-menu a {
  color: var(--text-secondary);
}

[data-theme="dark"] .nav-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #7bb8f0;
}

[data-theme="dark"] .nav-search-btn {
  color: var(--text-muted);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .nav-search-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #e2eaf5;
}

[data-theme="dark"] .mobile-nav {
  background: #1a2540;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .mobile-nav ul a,
[data-theme="dark"] .mobile-nav ul span {
  color: var(--text-secondary);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .mobile-nav ul a:hover {
  color: #7bb8f0;
}

[data-theme="dark"] .mobile-close-btn {
  background: rgba(255, 255, 255, 0.07);
  color: #c5d8f0;
}

[data-theme="dark"] .mobile-close-btn:hover {
  background: var(--primary);
  color: white;
}

[data-theme="dark"] .search-overlay {
  background: rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .search-box {
  background: #1a2540;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .search-box h3 {
  color: #e2eaf5;
}

[data-theme="dark"] .search-box input {
  background: #0f1729;
  border-color: rgba(255, 255, 255, 0.1);
  color: #e2eaf5;
}

[data-theme="dark"] .search-box input::placeholder {
  color: var(--text-muted);
}

/* ── TOPBAR ────────────────────────────────── */
[data-theme="dark"] .navbar-topbar {
  background: linear-gradient(135deg, #060e1d 0%, #0b1729 100%);
  border-bottom-color: rgba(255, 255, 255, 0.04);
}

/* ── BODY & BASE ───────────────────────────── */
[data-theme="dark"] body {
  background-color: var(--bg-base);
  color: var(--text-primary);
}

/* ── WELCOME SECTION ───────────────────────── */
[data-theme="dark"] .welcome-section {
  background: var(--bg-card);
}

[data-theme="dark"] .welcome-section::before {
  opacity: 0.03;
}

[data-theme="dark"] .welcome-text p {
  color: var(--text-muted);
}

[data-theme="dark"] .visi-box {
  background: linear-gradient(135deg, #1a2540, #141e35);
  border-color: rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] .visi-box p {
  color: var(--text-muted);
}

/* ── CARDS ──────────────────────────────────── */
[data-theme="dark"] .layanan-card,
[data-theme="dark"] .news-card,
[data-theme="dark"] .sidebar-widget,
[data-theme="dark"] .sidebar-post {
  background: var(--bg-card);
  border-color: var(--border-light);
}

[data-theme="dark"] .layanan-card h3,
[data-theme="dark"] .news-card h3 {
  color: var(--text-primary);
}

[data-theme="dark"] .layanan-card:hover,
[data-theme="dark"] .news-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* ── SECTION BACKGROUNDS ────────────────────── */
[data-theme="dark"] .layanan-section {
  background: var(--bg-section);
}

[data-theme="dark"] .berita-section {
  background: var(--bg-base);
}

[data-theme="dark"] .penghargaan-section {
  background: var(--bg-section);
  border-top-color: rgba(255, 255, 255, 0.05);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

/* ── SECTION HEADER ────────────────────────── */
[data-theme="dark"] .section-header h2 {
  color: var(--text-primary);
}

[data-theme="dark"] .section-header p {
  color: var(--text-muted);
}

[data-theme="dark"] .section-header .tag {
  background: rgba(26, 58, 92, 0.4);
  color: #7bb8f0;
  border-color: rgba(26, 58, 92, 0.5);
}

/* ── BREADCRUMB ─────────────────────────────── */
[data-theme="dark"] .modern-breadcrumb {
  background: linear-gradient(135deg, #060e1d 0%, #0b1729 100%);
}

/* ── SIDEBAR ─────────────────────────────────── */
[data-theme="dark"] .sidebar-widget {
  background: var(--bg-card);
  border-top-color: var(--primary);
}

[data-theme="dark"] .sidebar-widget h4 {
  color: var(--text-primary);
}

[data-theme="dark"] .sidebar-post {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .sidebar-post h5 a {
  color: var(--text-secondary);
}

[data-theme="dark"] .sidebar-post h5 a:hover {
  color: #7bb8f0;
}

[data-theme="dark"] .sidebar-post span {
  color: var(--text-muted);
}

/* ── SURVEY WIDGET ───────────────────────────── */
[data-theme="dark"] .survey-widget {
  background: linear-gradient(135deg, #1a2540, #141e35);
  border-color: rgba(255, 255, 255, 0.06);
}

/* ── FAQ ─────────────────────────────────────── */
[data-theme="dark"] .faq-item {
  background: var(--bg-card);
  border-color: var(--border-light);
}

[data-theme="dark"] .faq-question {
  color: var(--text-primary);
}

[data-theme="dark"] .faq-answer {
  color: var(--text-muted);
}

/* ── JADWAL ──────────────────────────────────── */
[data-theme="dark"] .jadwal-list li {
  background: var(--bg-card);
  border-color: var(--border-light);
}

/* ── FOOTER ──────────────────────────────────── */
[data-theme="dark"] .site-footer {
  background: linear-gradient(160deg, #040a14 0%, #080f20 100%);
}

/* ── ARTICLE ─────────────────────────────────── */
[data-theme="dark"] .article-body {
  color: var(--text-secondary);
}

[data-theme="dark"] .article-body p {
  color: var(--text-muted);
}

[data-theme="dark"] .article-meta span {
  color: var(--text-muted);
}

/* ── MODALS ──────────────────────────────────── */
[data-theme="dark"] .modal-content {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .modal-header {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .modal-footer {
  border-top-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .modal-title {
  color: var(--text-primary);
}

[data-theme="dark"] .accordion-item {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .accordion-button {
  background: var(--bg-card);
  color: var(--text-primary);
}

[data-theme="dark"] .accordion-button:not(.collapsed) {
  background: rgba(26, 58, 92, 0.3);
  color: #7bb8f0;
}

[data-theme="dark"] .accordion-body {
  background: var(--bg-section);
  color: var(--text-muted);
}

/* ── WELCOME VIDEO ───────────────────────────── */
[data-theme="dark"] .welcome-video-wrap {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ─────────────────────────────────────────────────────────────
   DARK MODE TOGGLE BUTTON
   ─────────────────────────────────────────────────────────────*/
.theme-toggle-btn {
  position: relative;
  width: 52px;
  height: 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #1A3A5C, #2B6CB0);
  box-shadow: 0 2px 8px rgba(26, 58, 92, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.4s ease;
  flex-shrink: 0;
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: center;
}

[data-theme="dark"] .theme-toggle-btn {
  background: linear-gradient(135deg, #1e3a6e, #0a1a35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.theme-toggle-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 4px;
}

.theme-toggle-thumb {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  left: 4px;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #f59e0b;
}

[data-theme="dark"] .theme-toggle-thumb {
  left: 28px;
  background: #1a2540;
  color: #93c5fd;
}

.theme-toggle-icons {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 0 5px;
  pointer-events: none;
}

.theme-toggle-icons .icon-sun,
.theme-toggle-icons .icon-moon {
  font-size: 10px;
  line-height: 1;
}

.theme-toggle-icons .icon-sun {
  color: rgba(255, 255, 255, 0.7);
}

.theme-toggle-icons .icon-moon {
  color: rgba(255, 255, 255, 0.45);
}

[data-theme="dark"] .theme-toggle-icons .icon-sun {
  color: rgba(255, 255, 255, 0.35);
}

[data-theme="dark"] .theme-toggle-icons .icon-moon {
  color: rgba(147, 197, 253, 0.9);
}

/* Label tooltip */
.theme-toggle-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.3s ease;
  display: none;
}

@media (min-width: 1200px) {
  .theme-toggle-label {
    display: block;
  }
}

/* Dark mode indicator di topbar */
[data-theme="dark"] .navbar-topbar {
  border-bottom-color: rgba(255, 255, 255, 0.03);
}

/* ══════════════════════════════════════════════════════════
   MODERATE REDESIGN ADDITIONS — Section Transitions & Polish
   ══════════════════════════════════════════════════════════ */

/* Dark mode welcome bg variable */
:root {
  --dm-welcome-bg: #ffffff;
}

[data-theme="dark"] {
  --dm-welcome-bg: var(--bg-card);
}

/* Stats bar gold accent underline — dark mode consistent */
[data-theme="dark"] .stats-bar-divider {
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(200, 150, 46, 0.4) 20%,
      rgba(200, 150, 46, 0.8) 50%,
      rgba(200, 150, 46, 0.4) 80%,
      transparent 100%);
}

/* Clean solid section transitions */
.section-block-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 30%, var(--border) 70%, transparent 100%);
  margin: 0;
}

/* Premium section label badge */
.section-label-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: linear-gradient(135deg, var(--primary-light), rgba(200, 150, 46, 0.08));
  border: 1px solid rgba(26, 58, 92, 0.1);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.section-label-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

[data-theme="dark"] .section-label-badge {
  background: rgba(26, 58, 92, 0.35);
  border-color: rgba(255, 255, 255, 0.06);
  color: #7bb8f0;
}

/* Enhanced section title underline */
.section-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 3px;
  margin-top: 10px;
}

.section-header.center h2::after {
  margin-left: auto;
  margin-right: auto;
}

/* Hero section — minimal tagline overlay above banner */
.hero-tagline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  position: relative;
  z-index: 2;
}

.hero-tagline-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-tagline-text .tagline-main {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-family: var(--font-heading);
}

.hero-tagline-text .tagline-sub {
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.hero-tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), #E8B84B);
  color: #0b1e36;
  font-size: 12px;
  font-weight: 800;
  padding: 9px 18px;
  border-radius: 50px;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(200, 150, 46, 0.4);
  transition: var(--transition);
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.hero-tagline-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 150, 46, 0.55);
  color: #0b1e36;
}

/* Geometric accent lines in hero */
.hero-accent-line {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero-accent-line--h {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 150, 46, 0.3), transparent);
}

.hero-accent-line--v {
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(200, 150, 46, 0.2), transparent);
}

/* Welcome section decorations (actual markup) */
.welcome-content {
  position: relative;
  z-index: 1;
}

/* Berita Section — upgrade */
.berita-section {
  position: relative;
}

.berita-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(200, 150, 46, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Card news upgrade — premium hover */
.news-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.news-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 50px rgba(26, 58, 92, 0.12) !important;
  border-color: rgba(26, 58, 92, 0.15) !important;
}

/* Read more link hover */
.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  transition: gap 0.2s ease, color 0.2s ease;
}

.news-card:hover .news-read-more {
  gap: 10px;
  color: var(--gold);
}

/* Footer — premium upgrade */
.site-footer {
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(200, 150, 46, 0.5) 25%,
      rgba(200, 150, 46, 0.8) 50%,
      rgba(200, 150, 46, 0.5) 75%,
      transparent 100%);
}

/* Stat item extra polish */
.stat-item {
  text-align: center;
  padding: 22px 16px;
  border-right: 1px solid var(--border-light);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-2px);
}

/* Icon wrapper base (dipakai di luar stats bar juga) */
.stat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 20px;
  color: var(--primary);
  transition: var(--transition);
}

/* ── Responsive tweaks ───────────────────── */
@media (max-width: 767px) {
  .hero-tagline-text .tagline-main {
    font-size: 0.95rem;
  }

  .hero-tagline-badge {
    font-size: 11px;
    padding: 7px 14px;
  }

  .stats-bar {
    padding: 20px 0 24px;
  }

  .stats-bar .stat-number {
    font-size: 26px !important;
  }
}