/* ==========================================================================
   PORTAL RESMI BAN PDM PROVINSI JAWA BARAT
   100% STANDALONE PURE CSS - ELEGAN, SEDERHANA, MUDAH DICERNA
   ========================================================================== */

@charset "UTF-8";

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-navy: #0e2a47;
  --primary-blue: #1a56db;
  --primary-light: #eff6ff;
  --accent-gold: #d97706;
  --accent-green: #059669;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #f8fafc;
  color: var(--slate-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   TOPBAR & RUNNING TEXT TICKER
   ========================================================================== */
.topbar {
  background: var(--primary-navy);
  color: #ffffff;
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #34d399;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.6; transform: scale(0.9); }
}

.btn-admin-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(26, 86, 219, 0.5);
  color: #ffffff;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(147, 197, 253, 0.3);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-admin-pill:hover {
  background: var(--primary-blue);
}

/* TULISAN BERJALAN (RUNNING TEXT / MARQUEE) */
.running-text-bar {
  background: linear-gradient(90deg, #1e3a8a 0%, #1e40af 100%);
  color: #ffffff;
  font-size: 13px;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--accent-gold);
}

.ticker-label {
  background: var(--accent-gold);
  color: #ffffff;
  font-weight: 800;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-left: 20px;
  margin-right: 14px;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 2px 0 6px rgba(0,0,0,0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: tickerSlide 35s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #ffffff;
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 86px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s;
}

.brand-wrap:hover .brand-logo-img {
  transform: scale(1.03);
}

.brand-text h1 {
  font-size: 19px;
  font-weight: 900;
  color: var(--primary-navy);
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.brand-text p {
  font-size: 11.5px;
  color: var(--slate-500);
  font-weight: 500;
  margin-top: 2px;
  line-height: 1.35;
}

.brand-text p strong {
  color: var(--primary-blue);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}

.nav-link:hover {
  background: var(--primary-light);
  color: var(--primary-blue);
}

/* ==========================================================================
   HERO / BANNER DENGAN FULL BACKGROUND SLIDER FOTO ELEGAN & NYATA
   ========================================================================== */
.hero-clean {
  position: relative;
  overflow: hidden;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0 64px 0;
  color: #ffffff;
  background-color: #0b1a2e;
}

/* Full Bleed Background Slideshow (Foto Terlihat Jelas & Nyata) */
.hero-bg-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 48%;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1), transform 8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-bg-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Gradient Overlay - Lembut & Sangat Transparan agar foto terlihat 100% jernih */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 25, 47, 0.32) 0%,
    rgba(10, 25, 47, 0.12) 45%,
    rgba(10, 25, 47, 0.5) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Content Wrapper (Didepan Foto) */
.hero-content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

/* 100% Transparent Card - Tidak ada kotak biru yang menghalangi foto */
.hero-glass-card {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 10px 0;
  box-shadow: none;
  text-align: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 25, 47, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 5px 16px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-clean h2 {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 4px 25px rgba(0, 0, 0, 0.95);
}

.hero-clean h2 span {
  color: #fbbf24;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 4px 25px rgba(0, 0, 0, 0.95);
}

.hero-jargon-quote {
  font-size: clamp(9px, 1.35vw, 13px);
  font-weight: 800;
  color: #ffffff;
  background: rgba(10, 25, 47, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  max-width: 98%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.4;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.hero-clean p.desc {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.6;
  max-width: 740px;
  margin: 0 auto 20px auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 1);
}

.hero-motto {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #fbbf24 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  margin: 6px auto 20px auto !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 20px rgba(251, 191, 36, 0.4) !important;
}

/* Slider Controls & Indikator */
.hero-slider-nav {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 25, 47, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 6px 14px;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-nav-arrow {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 4px;
  transition: all 0.2s;
}

.hero-nav-arrow:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

.hero-bg-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.bg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-dot.active {
  width: 24px;
  border-radius: 9999px;
  background: #60a5fa;
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.8);
}

.hero-doc-badge {
  font-size: 11px;
  font-weight: 600;
  color: #bfdbfe;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  opacity: 0.95;
}

@media (max-width: 768px) {
  .hero-clean { padding: 42px 0 52px 0; min-height: 320px; }
  .hero-clean h2 { font-size: 24px; }
  .hero-jargon-quote { font-size: 12px; padding: 8px 14px; }
  .hero-clean p.desc { font-size: 12px; }
}

/* ==========================================================================
   PILIHAN APLIKASI DAPAT DIPILIH SEDERHANA
   ========================================================================== */
.section-apps {
  margin-top: -10px;
  position: relative;
  z-index: 20;
  margin-bottom: 50px;
}

.apps-role-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 14px;
  background: #ffffff;
  padding: 16px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.apps-heading-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--slate-900);
}

.apps-heading-sub {
  font-size: 12px;
  color: var(--slate-500);
  margin-top: 2px;
}

.role-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.role-tab {
  background: var(--slate-100);
  border: 1.5px solid var(--slate-200);
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-700);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.role-tab:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

.role-tab.active {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.role-tab.role-tab-asesor.active {
  background: #059669;
  border-color: #059669;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35);
}

.apps-simple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.app-simple-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.app-simple-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.app-simple-card.card-sahabat::before { background: #2563eb; }
.app-simple-card.card-sikap::before { background: #059669; }
.app-simple-card.card-simsup::before { background: #7c3aed; }
.app-simple-card.card-monev::before { background: #d97706; }
.app-simple-card.card-keuangan::before { background: #0d9488; }
.app-simple-card.card-someah::before { background: #4f46e5; }

.app-simple-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: #93c5fd;
}

.app-simple-card.is-locked-for-asesor {
  opacity: 0.65;
  filter: grayscale(40%);
  border-color: #cbd5e1;
}

.app-simple-card.highlight-asesor {
  border: 2px solid #10b981;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
}

.card-locked-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  color: #ffffff;
  z-index: 10;
  padding: 24px;
  text-align: center;
  border-radius: var(--radius-lg);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(4px);
}

.app-simple-card.is-locked-for-asesor .card-locked-overlay {
  display: flex;
}

.app-role-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 6px;
}
.badge-internal { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }
.badge-locked { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.badge-asesor { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; font-weight: 800; }

.app-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.app-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.icon-bg-blue { background: #eff6ff; color: #1d4ed8; }
.icon-bg-green { background: #ecfdf5; color: #059669; }
.icon-bg-purple { background: #f5f3ff; color: #7c3aed; }
.icon-bg-amber { background: #fffbeb; color: #d97706; }
.icon-bg-teal { background: #f0fdfa; color: #0d9488; }
.icon-bg-indigo { background: #eef2ff; color: #4f46e5; }

.app-code-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--slate-100);
  color: var(--slate-600);
}

.app-simple-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.app-simple-fullname {
  font-size: 11px;
  font-weight: 600;
  color: var(--slate-500);
  line-height: 1.35;
  margin-bottom: 10px;
  min-height: 30px;
}

.app-simple-desc {
  font-size: 12px;
  color: var(--slate-600);
  line-height: 1.5;
  background: var(--slate-50);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  margin-bottom: 16px;
  min-height: 68px;
}

.app-actions-wrap {
  display: flex;
  gap: 8px;
}

.btn-access-app {
  flex: 1;
  background: var(--primary-blue);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  text-align: center;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background 0.15s;
}

.btn-access-app:hover { background: #1e40af; }
.btn-access-app.green { background: #059669; }
.btn-access-app.green:hover { background: #047857; }
.btn-access-app.purple { background: #7c3aed; }
.btn-access-app.purple:hover { background: #6b21a8; }
.btn-access-app.amber { background: #d97706; }
.btn-access-app.amber:hover { background: #b45309; }
.btn-access-app.teal { background: #0d9488; }
.btn-access-app.teal:hover { background: #0f766e; }
.btn-access-app.indigo { background: #4f46e5; }
.btn-access-app.indigo:hover { background: #4338ca; }

.btn-guide-app {
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 12px;
  font-weight: 600;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  cursor: pointer;
  transition: all 0.15s;
}

.btn-guide-app:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

/* ==========================================================================
   SECTION: GALERI FOTO & SIDEBAR TIMELINE / KALENDER
   ========================================================================== */
.section-main-interactive {
  padding: 30px 0 60px 0;
}

.interactive-split-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 28px;
  align-items: start;
}

/* KIRI: GALERI FOTO */
.gallery-box-wrapper {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.section-headline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.section-headline h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--slate-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.filter-btn-pill {
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--slate-600);
  cursor: pointer;
  transition: all 0.15s;
}

.filter-btn-pill.active {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
}

.gallery-subgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.photo-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

.photo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
}

.photo-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--slate-200);
}

.photo-card-meta {
  padding: 12px 14px;
}

.photo-date-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary-blue);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.photo-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.4;
  margin-bottom: 4px;
}

.photo-card-desc {
  font-size: 11px;
  color: var(--slate-500);
  line-height: 1.4;
}

/* KANAN: TIMELINE GRAFIK & KALENDER AGENDA */
.sidebar-interactive {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 1. TIMELINE BERUPA GRAFIK */
.card-timeline-grafik {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.card-timeline-grafik h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timeline-progress-item {
  margin-bottom: 14px;
}

.timeline-progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-bar-bg {
  width: 100%;
  height: 9px;
  background: var(--slate-100);
  border-radius: 9999px;
  overflow: hidden;
  border: 1px solid var(--slate-200);
}

.timeline-bar-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.6s ease;
}

.fill-blue { background: linear-gradient(90deg, #3b82f6, #1d4ed8); }
.fill-green { background: linear-gradient(90deg, #10b981, #059669); }
.fill-purple { background: linear-gradient(90deg, #a855f7, #7c3aed); }
.fill-amber { background: linear-gradient(90deg, #fbbf24, #d97706); }

/* 2. KALENDER AGENDA */
.card-calendar-agenda {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.card-calendar-agenda h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.agenda-events-list {
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.agenda-item-card {
  background: var(--slate-50);
  border-left: 3px solid var(--primary-blue);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.agenda-item-card.green { border-left-color: var(--accent-green); }
.agenda-item-card.amber { border-left-color: var(--accent-gold); }
.agenda-item-card.purple { border-left-color: #7c3aed; }

.agenda-item-title {
  font-weight: 700;
  color: var(--slate-900);
}

.agenda-item-time {
  font-size: 11px;
  color: var(--slate-500);
}

/* ==========================================================================
   SECTION: KOLOM PENGADUAN & LAYANAN ASPIRASI
   ========================================================================== */
.section-pengaduan {
  padding: 60px 0;
  background: #ffffff;
  border-top: 1px solid var(--slate-200);
}

.pengaduan-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.card-pengaduan-form {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.category-select-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.category-radio-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s;
  background: var(--slate-50);
}

.category-radio-label:hover {
  background: var(--primary-light);
  border-color: #93c5fd;
}

.category-radio-label.selected {
  background: #eff6ff;
  border-color: var(--primary-blue);
  font-weight: 700;
  color: #1e40af;
}

.card-tracking-box {
  background: linear-gradient(135deg, #0e2a47 0%, #1e3a8a 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-md);
}

.tracking-input-wrap {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.tracking-input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
  outline: none;
}

.tracking-input::placeholder {
  color: #cbd5e1;
}

.tracking-result-box {
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: none;
}

.status-ticket-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.status-ticket-badge.baru { background: #dbeafe; color: #1e40af; }
.status-ticket-badge.proses { background: #fef3c7; color: #92400e; }
.status-ticket-badge.selesai { background: #d1fae5; color: #065f46; }

/* ==========================================================================
   GELEMBUNG CHAT (FLOATING CHAT BUBBLE WIDGET)
   ========================================================================== */
.chat-bubble-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8 0%, #059669 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(29, 78, 216, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-bubble-trigger:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 30px rgba(29, 78, 216, 0.5);
}

.chat-badge-alert {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  animation: pulse 1.5s infinite;
}

.chat-window-box {
  display: none;
  position: fixed;
  bottom: 92px;
  right: 24px;
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 480px;
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
  border: 1px solid var(--slate-200);
  z-index: 991;
  overflow: hidden;
  flex-direction: column;
  animation: modalPop 0.2s ease-out;
}

.chat-window-box.active {
  display: flex !important;
}

.chat-window-header {
  background: linear-gradient(135deg, #0e2a47 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.chat-header-text h5 {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.chat-header-text span {
  font-size: 10px;
  color: #a7f3d0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-body-messages {
  flex: 1;
  padding: 14px;
  background: #f8fafc;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
}

.chat-bubble-msg {
  max-width: 82%;
  padding: 8px 12px;
  border-radius: 12px;
  line-height: 1.45;
}

.chat-msg-bot {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  box-shadow: var(--shadow-sm);
}

.chat-msg-user {
  background: var(--primary-blue);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-quick-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.chat-quick-btn {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
}

.chat-quick-btn:hover {
  background: #dbeafe;
}

.chat-input-bar {
  padding: 10px 12px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 8px;
  align-items: center;
}

.chat-input-field {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  font-size: 12px;
  outline: none;
}

.chat-input-field:focus {
  border-color: var(--primary-blue);
}

.chat-btn-send {
  background: var(--primary-blue);
  color: #ffffff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* ==========================================================================
   SECTION: KOLOM BERITA & INFORMASI
   ========================================================================== */
.section-berita {
  background: var(--slate-100);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  padding: 60px 0;
}

.berita-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.berita-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s;
  cursor: pointer;
}

.berita-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
}

.berita-img-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  background: #0f172a;
}

.berita-card-body {
  padding: 16px 18px;
}

.berita-cat-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary-blue);
  background: var(--primary-light);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.berita-card-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.4;
  margin-bottom: 6px;
}

.berita-card-snippet {
  font-size: 12px;
  color: var(--slate-600);
  line-height: 1.5;
  margin-bottom: 12px;
}

.berita-card-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--slate-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--slate-400);
}

.btn-read-more {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 11.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.btn-read-more:hover {
  color: #1e40af;
  text-decoration: underline;
  transform: translateX(3px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background: var(--primary-navy);
  color: #94a3b8;
  padding: 50px 0 30px 0;
  font-size: 13px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #64748b;
}

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999 !important;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  padding: 20px;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex !important;
}

.modal-window {
  background: #ffffff;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  animation: modalPop 0.2s ease-out;
}

@keyframes modalPop {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 20px 24px;
  background: var(--primary-navy);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 800;
}

.modal-close-x {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 16px 24px;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Toast */
.toast-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  display: none;
  align-items: center;
  gap: 8px;
  border-left: 4px solid var(--accent-green);
}

.toast-bar.show { display: flex !important; }

/* ==========================================================================
   MENU ASESOR & PENGAJUAN KARTU ASESOR (KTA)
   ========================================================================== */
.section-menu-asesor {
  padding: 50px 0 65px 0;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  border-top: 1px solid #dcfce7;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
}

.nav-link-asesor {
  background: #ecfdf5 !important;
  color: #059669 !important;
  border: 1px solid #a7f3d0 !important;
  font-weight: 700 !important;
}
.nav-link-asesor:hover {
  background: #059669 !important;
  color: #ffffff !important;
  border-color: #059669 !important;
}

.asesor-header-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px dashed #bbf7d0;
}

.badge-portal-asesor {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.asesor-title {
  font-size: 26px;
  font-weight: 900;
  color: #064e3b;
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.asesor-subtitle {
  font-size: 13.5px;
  color: #374151;
  max-width: 720px;
  margin-top: 6px;
  line-height: 1.55;
}

.asesor-header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-cta-kta-hero {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  border: none;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
  transition: all 0.2s ease;
}
.btn-cta-kta-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.45);
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
}

.btn-check-kta-hero {
  background: #ffffff;
  color: #065f46;
  border: 1.5px solid #a7f3d0;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-check-kta-hero:hover {
  background: #ecfdf5;
  border-color: #059669;
}

.asesor-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card-asesor-item {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
}
.card-asesor-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: #6ee7b7;
}

.card-asesor-highlight {
  border: 2px solid #059669;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.12);
}
.card-asesor-highlight:hover {
  border-color: #047857;
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.2);
}

.card-asesor-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.card-asesor-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.kta-icon { background: #d1fae5; color: #059669; }
.teal-icon { background: #ccfbf1; color: #0d9488; }
.indigo-icon { background: #e0e7ff; color: #4338ca; }
.blue-icon { background: #dbeafe; color: #1e40af; }

.card-asesor-tag {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tag-priority { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.tag-app { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }
.tag-doc { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

.card-asesor-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.card-asesor-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.card-asesor-features {
  background: rgba(248, 250, 252, 0.8);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 11px;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 18px;
}
.feature-item { font-weight: 600; display: flex; align-items: center; gap: 4px; }

.card-asesor-btns {
  display: flex;
  gap: 8px;
}

.btn-asesor-primary {
  flex: 1.4;
  background: #059669;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
}
.btn-asesor-primary:hover { background: #047857; }
.btn-asesor-primary.teal { background: #0d9488; }
.btn-asesor-primary.teal:hover { background: #0f766e; }
.btn-asesor-primary.indigo { background: #4f46e5; }
.btn-asesor-primary.indigo:hover { background: #4338ca; }
.btn-asesor-primary.blue { background: #2563eb; }
.btn-asesor-primary.blue:hover { background: #1d4ed8; }

.btn-asesor-secondary {
  flex: 1;
  background: #f1f5f9;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}
.btn-asesor-secondary:hover { background: #e2e8f0; color: #0f172a; }

/* KTA Digital Card Preview */
.kta-card-preview-wrap {
  width: 100%;
  max-width: 440px;
  margin: 0 auto 20px auto;
  background: linear-gradient(135deg, #0e2a47 0%, #1e3a8a 100%);
  border-radius: 16px;
  padding: 20px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(14, 42, 71, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}
.kta-card-preview-wrap::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}
.kta-header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.kta-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  border-radius: 6px;
  padding: 3px;
}
.kta-header-text h5 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0;
  color: #ffffff;
}
.kta-header-text p {
  font-size: 9px;
  opacity: 0.85;
  margin: 0;
  color: #e2e8f0;
}
.kta-body {
  display: flex;
  gap: 14px;
  align-items: center;
}
.kta-photo {
  width: 85px;
  height: 110px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid #ffffff;
  background: #cbd5e1;
}
.kta-info {
  flex: 1;
}
.kta-info-row {
  margin-bottom: 4px;
}
.kta-label {
  font-size: 9px;
  color: #93c5fd;
  text-transform: uppercase;
  font-weight: 700;
}
.kta-val {
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
}
.kta-footer {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
}
.kta-status-badge {
  background: #059669;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 800;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .apps-simple-grid { grid-template-columns: repeat(2, 1fr); }
  .asesor-grid-cards { grid-template-columns: repeat(2, 1fr); }
  .interactive-split-grid { grid-template-columns: 1fr; }
  .pengaduan-grid { grid-template-columns: 1fr; }
  .berita-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .main-nav { display: none; }
}

@media (max-width: 640px) {
  .apps-simple-grid { grid-template-columns: 1fr; }
  .asesor-grid-cards { grid-template-columns: 1fr; }
  .asesor-header-box { flex-direction: column; align-items: flex-start; }
  .gallery-subgrid { grid-template-columns: 1fr; }
  .category-select-cards { grid-template-columns: 1fr; }
  .berita-grid { grid-template-columns: 1fr; }
  .hero-clean h2 { font-size: 24px; }
  .hero-jargon-quote { font-size: clamp(8px, 2.3vw, 11px); padding: 6px 12px; white-space: nowrap; }
}
