/* ============================================== */
/* ============Bagian Global=================== */
/* ============================================== */
:root {
  --color-green: #16a34a;
  --color-blue: #3b82f6;
  --color-yellow: #eab308;
  --color-white: #ffffff;
  --color-bg: #f9fbfd;
  --color-card: #ffffff;
  --color-border: #e8edf2;
  --color-text: #1e293b;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}
.text-none {
  text-decoration: none;
  color: black;
}
.text-bolder-link {
  font-weight: 700 !important;
  color: black !important;
}
/* Navbar Styling */
.navbar-custom {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.navbar-brand img {
  height: 42px;
  width: auto;
}

.nav-link {
  color: var(--color-text);
  font-weight: 600;
  margin: 0 4px;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-green);
}

.btn-kemenag-primary {
  background-color: var(--color-green);
  color: var(--color-white);
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 24px;
  border: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
}

.btn-kemenag-primary:hover {
  background-color: #15803d;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.35);
}

/* Hero Section */
.hero-section {
  padding: 120px 0 80px 0;
  position: relative;
}

.badge-saas {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--color-blue);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: inline-block;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-text);
}

.hero-title span {
  color: var(--color-green);
}

.card-custom {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-custom:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(22, 163, 74, 0.3);
}

/* Icon Wrapper Palette */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.icon-green {
  background: rgba(22, 163, 74, 0.1);
  color: var(--color-green);
}

.icon-blue {
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-blue);
}

.icon-yellow {
  background: rgba(234, 179, 8, 0.1);
  color: var(--color-yellow);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .hero-section {
    padding: 90px 0 50px 0;
  }
}
/* ============================================== */
/* ============/Bagian Global=================== */
/* ============================================== */

/* ============================================== */
/* ============Bagian Navigasi=================== */
/* ============================================== */

:root {
  --kemenag-green: #16a34a;
  --kemenag-green-hover: #12803c;
  --kemenag-blue: #3b82f6;
  --kemenag-gold: #eab308;
  --kemenag-white: #ffffff;
  --kemenag-bg: #f9fbfd;
  --kemenag-border: #e8edf2;
  --kemenag-text: #1e293b;
}

.navbar-custom {
  background-color: var(--kemenag-white);
  border-bottom: 1px solid var(--kemenag-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
}

/* =========================================================
       PROFIL / BRAND (LOGO & TEKS PPID LEBIH MENONJOL)
       ========================================================= */
.brand-logo-img {
  height: 52px;
  /* Logo diperbesar */
  transition: transform 0.2s ease;
}

.brand-logo-img:hover {
  transform: scale(1.03);
}

.brand-title-ppid {
  font-size: 1.15rem !important;
  /* PPID diperbesar & tegas */
  font-weight: 800 !important;
  letter-spacing: 0.5px;
  color: #0f172a;
  line-height: 1;
}

.brand-subtitle-desc {
  font-size: 0.72rem !important;
  color: #64748b;
  font-weight: 600;
  line-height: 1.1;
  margin-top: 2px;
}

.brand-subtitle-instansi {
  font-size: 0.8rem !important;
  font-weight: 700;
  color: var(--kemenag-green);
  line-height: 1.1;
  margin-top: 3px;
}

/* =========================================================
       NAVIGASI MENU (9 MENU DIBUAT LEGA TANPA TOMBOL)
       ========================================================= */
.navbar-custom .nav-link {
  color: var(--kemenag-text);
  font-weight: 600;
  transition: all 0.2s ease;
  padding: 0.5rem 0.6rem !important;
  font-size: 0.83rem !important;
  /* Font dinaikkan kembali agar nyaman dibaca */
  white-space: nowrap;
  border-radius: 0.375rem;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--kemenag-green) !important;
  background-color: rgba(22, 163, 74, 0.06);
}

/* Submenu Dropdown */
.dropdown-menu {
  border: 1px solid var(--kemenag-border);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  padding: 0.4rem;
  min-width: 200px;
}

.dropdown-item {
  font-size: 0.82rem !important;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
  border-radius: 0.375rem;
  transition: all 0.15s ease-in-out;
}

.dropdown-item:hover {
  background-color: var(--kemenag-bg);
  color: var(--kemenag-green);
}

/* =========================================================
       RESPONSIVE & MOBILE (Scrollable & Rapi)
       ========================================================= */
/* Untuk layar laptop menengah (992px - 1300px) */
@media (min-width: 992px) and (max-width: 1300px) {
  .navbar-custom .nav-link {
    font-size: 0.76rem !important;
    padding: 0.4rem 0.45rem !important;
  }

  .brand-logo-img {
    height: 44px;
  }

  .brand-title-ppid {
    font-size: 1rem !important;
  }

  .brand-subtitle-desc {
    font-size: 0.65rem !important;
  }

  .brand-subtitle-instansi {
    font-size: 0.72rem !important;
  }
}

/* Tampilan Mobile & Tablet (< 992px) */
@media (max-width: 991.98px) {
  .brand-logo-img {
    height: 44px;
  }

  .navbar-collapse {
    background-color: var(--kemenag-white);
    padding: 1rem;
    border-radius: 0.75rem;
    margin-top: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--kemenag-border);
    max-height: 75vh;
    /* Area scroll mobile untuk ke-9 menu */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .navbar-nav .nav-item {
    width: 100%;
  }

  .navbar-nav .nav-link {
    font-size: 0.88rem !important;
    padding: 0.65rem 0.75rem !important;
    border-bottom: 1px solid #f1f5f9;
  }

  .navbar-nav .dropdown-menu {
    position: static !important;
    float: none;
    border: none;
    box-shadow: none;
    background-color: var(--kemenag-bg);
    margin-top: 0.25rem;
    margin-bottom: 0.4rem;
    padding-left: 0.5rem;
    border-left: 3px solid var(--kemenag-green);
  }

  .dropdown-item {
    font-size: 0.84rem !important;
    white-space: normal !important;
    padding: 0.5rem 0.75rem;
  }
  .brand-title-ppid {
    font-size: 0.9rem !important;
  }

  .brand-subtitle-desc {
    font-size: 0.55rem !important;
  }

  .brand-subtitle-instansi {
    font-size: 0.62rem !important;
  }
}
/* =========================================================
   PERBAIKAN DROPDOWN DI UJUNG KANAN (AGAR TIDAK TERPOTONG)
   ========================================================= */
@media (min-width: 992px) {
  /* Membuat menu dropdown terakhir sejajar ke sisi kanan kontainer induknya */
  .navbar-nav .nav-item:last-child .dropdown-menu {
    right: 0;
    left: auto;
  }
}

/* Mencegah teks atau item dropdown terlalu panjang melebihi layar */
.dropdown-menu {
  max-width: 350px;
  white-space: normal;
}
/* ============================================== */
/* ============/Bagian Navigasi=================== */
/* ============================================== */
/* ============================================== */
/* ============Bagian overlay=================== */
/* ============================================== */
/* Container Utama Fullscreen (Diisolasi dari Dark Mode & Dipaksa GPU Acceleration) */
.overlay-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
  padding: 20px;
  box-sizing: border-box;
  color-scheme: light !important;
  background-color: transparent;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* State Aktif Overlay */
.overlay-fullscreen.active,
.overlay-fullscreen.initial-locked {
  pointer-events: auto;
  visibility: visible;
  background-color: rgba(255, 255, 255, 0.95);
}

/* 1. TIRAI MENUTUP & MEMBELAH (Dioptimalkan agar tidak berat) */
.overlay-curtain {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50.5%;
  background: #ffffff !important;
  z-index: 1;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.curtain-top {
  top: 0;
  transform: translateY(-100%);
}

.curtain-bottom {
  bottom: 0;
  transform: translateY(100%);
}

.overlay-fullscreen.active .curtain-top,
.overlay-fullscreen.initial-locked .curtain-top,
.overlay-fullscreen.active .curtain-bottom,
.overlay-fullscreen.initial-locked .curtain-bottom {
  transform: translateY(0%);
}

.overlay-fullscreen.curtain-split .curtain-top {
  transform: translateY(-100%);
}

.overlay-fullscreen.curtain-split .curtain-bottom {
  transform: translateY(100%);
}

/* Grid & Orbs (Blur dikurangi ukurannya agar ringan di HP) */
.overlay-grid-pattern {
  position: absolute;
  inset: -30%;
  background-image:
    linear-gradient(to right, rgba(5, 150, 105, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(5, 150, 105, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.overlay-fullscreen.active .overlay-grid-pattern,
.overlay-fullscreen.initial-locked .overlay-grid-pattern {
  opacity: 1;
}

.overlay-fullscreen.curtain-split .overlay-grid-pattern {
  opacity: 0;
}

.overlay-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(35px); /* Dikurangi dari 60px agar HP tidak patah-patah */
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: transform;
}

/* Orb 1: Hijau Terang */
.orb-1 {
  width: 220px;
  height: 220px;
  background: rgba(5, 150, 105, 0.25) !important;
  top: 15%;
  left: 10%;
}

/* Orb 2: Kuning Emas */
.orb-2 {
  width: 240px;
  height: 240px;
  background: rgba(245, 158, 11, 0.22) !important;
  bottom: 15%;
  right: 10%;
}

/* Orb 3: Hijau Emerald */
.orb-3 {
  width: 200px;
  height: 200px;
  background: rgba(52, 211, 153, 0.2) !important;
  top: 40%;
  left: 30%;
}

.overlay-fullscreen.active .overlay-orb,
.overlay-fullscreen.initial-locked .overlay-orb {
  opacity: 1;
  animation: orbPulse 5s ease-in-out infinite alternate;
}

.overlay-fullscreen.curtain-split .overlay-orb {
  opacity: 0;
}

/* 2. STAGE KONTEN 3D */
.overlay-content-wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 450px;
}

.overlay-3d-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  transform-style: preserve-3d;
  transform: scale(0) translateZ(-300px);
  opacity: 0;
  will-change: transform, opacity;
  transition:
    transform 0.4s cubic-bezier(0.6, -0.28, 0.735, 0.045),
    opacity 0.3s ease;
}

.overlay-fullscreen.stage-visible .overlay-3d-stage {
  transform: scale(1) translateZ(0);
  opacity: 1;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s ease;
}

.overlay-fullscreen.zoom-out-exit .overlay-3d-stage {
  transform: scale(0) translateZ(-400px);
  opacity: 0;
}

/* Ring 3D */
.overlay-ring-3d {
  position: absolute;
  top: -10px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px dashed #059669 !important;
  animation: rotateRing 7s linear infinite;
  z-index: 1;
  will-change: transform;
}

.ring-outer {
  top: -20px;
  width: 135px;
  height: 135px;
  border: 2px solid #f59e0b !important;
  border-top-color: #059669 !important;
  border-bottom-color: #34d399 !important;
  animation: rotateRingRev 10s linear infinite;
  will-change: transform;
}

/* Logo Container */
.overlay-logo-container {
  position: relative;
  z-index: 10;
  transform: translateZ(10px);
}

.overlay-logo-3d {
  height: 70px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(5, 150, 105, 0.25));
}

/* Typography / Brand Info */
.overlay-brand {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 20px;
  position: relative;
  z-index: 30;
  width: 100%;
}

.overlay-title-3d {
  color: #047857 !important;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

.overlay-subtitle-3d {
  color: #1e293b !important;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 6px 0;
  font-weight: 700;
}

.overlay-title-3d-h5 {
  color: #d97706 !important;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.4;
}

/* Loader Box & Fill */
.overlay-loader-box {
  width: 75%;
  max-width: 200px;
}

.overlay-loader-track {
  width: 100%;
  height: 5px;
  background: #cbd5e1 !important;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid #94a3b8 !important;
}

.overlay-loader-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #059669, #f59e0b, #34d399) !important;
  border-radius: 30px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Keyframes Ringan (Dihapus properti 3D yang terlalu rumit untuk mobile) */
@keyframes orbPulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

@keyframes rotateRing {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotateRingRev {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

/* ============================================== */
/* ============/Bagian overlay=================== */
/* ============================================== */

/* ============================================== */
/* ============Bagian beranda =================== */
/* ============================================== */
:root {
  --brand-green: #16a34a;
  --brand-green-hover: #15803d;
  --brand-blue: #3b82f6;
  --brand-yellow: #eab308;
  --bg-soft: #f9fbfd;
  --card-bg: #ffffff;
  --border-color: #e8edf2;
  --text-color: #1e293b;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 30px -10px rgba(22, 163, 74, 0.12);
}

body {
  font-family:
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--text-color);
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important;

  overflow-x: hidden;
}

/* Custom Typography & Badges */
.badge-pill-custom {
  background: rgba(22, 163, 74, 0.1);
  color: var(--brand-green);
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.825rem;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
}

.section-padding {
  padding: 90px 0;
}

.section-title {
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-color);
  position: relative;
  margin-bottom: 12px;
}

.section-title span {
  color: var(--brand-green);
}

.sub-title {
  color: #64748b;
  font-size: 1.05rem;
}

/* Section 1 - Profile Card Overlay */
.image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.image-wrapper img {
  transition: transform 0.5s ease;
}

.image-wrapper:hover img {
  transform: scale(1.03);
}

.badge-experience {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-md);
}
/* Penyesuaian Tipografi & Spasi untuk Layar Tablet & HP */
@media (max-width: 768px) {
  .badge-experience {
    bottom: 15px;
    right: 0;
    padding: 10px 14px;
    border-radius: 12px;
  }

  .badge-experience h6 {
    font-size: 0.65rem !important;
  }

  .badge-experience small {
    font-size: 0.4rem !important;
  }

  /* Mengecilkan ukuran icon wrapper jika menggunakan class Bootstrap */
  .badge-experience .icon-wrapper-lg {
    width: 38px !important;
    height: 38px !important;
    font-size: 0.9rem;
  }
}

/* Penyesuaian Ekstra untuk Layar HP Sangat Kecil (di bawah 480px) */
@media (max-width: 480px) {
  .badge-experience {
    bottom: 10px;
    right: 0;
    left: 10px; /* Opsional: Membuat badge melebar penuh secara elegan jika layar terlalu sempit */
    width: 50%;
  }
}

/* Section 2 - News Card Animation */
.news-card {
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  background: var(--card-bg);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(22, 163, 74, 0.3);
}

.news-img-box {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.news-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-img-box img {
  transform: scale(1.08);
}

.news-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-color);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 8px;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* Tambahkan properti standar di bawah ini */
  line-clamp: 2;
}

/* Section 3 - Chart Card Styles */
.chart-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.chart-card:hover {
  box-shadow: var(--shadow-md);
}

/* Section 4 - Interactive Feature Boxes */
.feature-box {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px 24px;
  height: 100%;
  transition: all 0.35s ease;
  position: relative;
  z-index: 1;
}

.feature-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(22, 163, 74, 0.05) 0%,
    rgba(59, 130, 246, 0.05) 100%
  );
  opacity: 0;
  z-index: -1;
  transition: opacity 0.35s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.feature-box:hover::before {
  opacity: 1;
}

.icon-wrapper-lg {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.feature-box:hover .icon-wrapper-lg {
  transform: scale(1.1) rotate(3deg);
}

/* Section 5 - Map & Info Contact */
.info-item-box {
  display: flex;
  align-items: flex-start;
  padding: 16px;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.info-item-box:hover {
  background: #ffffff;
  border-color: var(--brand-green);
  box-shadow: var(--shadow-sm);
}

/* Responsive Customization */
@media (max-width: 768px) {
  .section-padding {
    padding: 50px 0;
  }
  .chart-container {
    height: 240px;
  }
}

/* ============================================== */
/* ============/Bagian beranda =================== */
/* ============================================== */

/* ============================================== */
/* ============Bagian Profil =================== */
/* ============================================== */ /* Container Scroll Snap untuk Efek Halaman SaaS Smooth */
html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  font-family:
    "Plus Jakarta Sans",
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--text-color);
  background-color: var(--bg-soft);
  overflow-x: hidden;
}

/* Setiap Section Dibuat Exact 100vh Full Screen */
.section-fullpage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  position: relative;
  box-sizing: border-box;
}

/* Penyesuaian Komponen Agar Pas Dalam 1 Screen */
.story-img-compact {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 320px;
  box-shadow: var(--shadow-md);
}

.story-img-compact img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* =========================================================
   ENHANCED SECTION 2 - SAAS EXECUTIVE CARD
   ========================================================= */

/* Glow Effect Card */
.leader-card-enhanced {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 24px;
  padding: 28px;
  box-shadow:
    0 10px 30px -5px rgba(0, 0, 0, 0.05),
    0 0 0 1px rgba(22, 163, 74, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.leader-card-enhanced:hover {
  box-shadow: 0 20px 35px -10px rgba(22, 163, 74, 0.12);
  border-color: rgba(22, 163, 74, 0.3);
}

/* Accent Lines Top */
.leader-card-enhanced::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-green) 0%, #3b82f6 100%);
}

/* Image Container dengan Soft Ring Overlay */
.leader-img-wrapper-enhanced {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  max-width: 210px;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.leader-img-wrapper-enhanced img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.leader-card-enhanced:hover .leader-img-wrapper-enhanced img {
  transform: scale(1.03);
}

.verified-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--brand-green);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 2px solid #fff;
}

/* Modern Quote Box */
.quote-box-enhanced {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.03) 0%,
    rgba(22, 163, 74, 0.03) 100%
  );
  border: 1px dashed rgba(59, 130, 246, 0.2);
  border-radius: 14px;
  padding: 12px 16px;
  margin: 12px 0;
  position: relative;
}

/* Mini Info Cards */
.info-chip-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  height: 100%;
  transition: all 0.2s ease;
}

.info-chip-card:hover {
  background: #ffffff;
  border-color: var(--brand-green);
  transform: translateY(-2px);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .leader-card-enhanced {
    padding: 18px;
    border-radius: 20px;
  }
  .leader-img-wrapper-enhanced {
    max-width: 140px;
  }
  .leader-img-wrapper-enhanced img {
    height: 160px;
  }
  .quote-box-enhanced {
    padding: 10px 12px;
  }
}
/* ============================================== */
/* ============/Bagian Profil =================== */
/* ============================================== */
/* ============================================== */
/* ============Bagian Tugas Fungsi=============== */
/* ============================================== */
/* =========================================================
   STYLE TAMBAHAN: HALAMAN TUGAS & FUNGSI (SAAS STYLE)
   ========================================================= */

/* Feature Card (Tugas Utama) */
.task-primary-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.task-highlight-box {
  background: linear-gradient(
    135deg,
    rgba(22, 163, 74, 0.05) 0%,
    rgba(59, 130, 246, 0.05) 100%
  );
  border: 1px dashed rgba(22, 163, 74, 0.25);
  border-radius: 14px;
  padding: 16px;
  margin-top: 14px;
}

/* Compact Function Grid Cards (Fungsi) */
.func-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px;
  height: 100%;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.func-card:hover {
  border-color: var(--brand-green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.func-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 10px;
  flex-shrink: 0;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .task-primary-card {
    padding: 18px;
  }
  .func-card {
    padding: 12px;
  }
  .func-icon-box {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
    margin-bottom: 6px;
  }
}
/* ============================================== */
/* ============/Bagian Tugas Fungsi=============== */
/* ============================================== */
/* ============================================== */
/* ============Bagian struktur=============== */
/* ============================================== */
/* =========================================================
   STYLE STRUKTUR ORGANISASI (ULTRA-RESPONSIVE & DUAL MODE)
   ========================================================= */

/* ============================================== */
/* ============/Bagian struktur=============== */
/* ============================================== */
/* ============================================== */
/* ============Bagian Visi dan Misi=============== */
/* ============================================== */
/* =========================================================
   STYLE VISI & MISI (EXECUTIVE SAAS STYLE)
   ========================================================= */

/* --- SECTION VISI --- */
.visi-hero-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.visi-hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--brand-green) 0%,
    var(--brand-blue) 100%
  );
}

.visi-quote-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.6;
  letter-spacing: -0.2px;
}

.visi-glow-badge {
  background: linear-gradient(
    135deg,
    rgba(22, 163, 74, 0.1) 0%,
    rgba(59, 130, 246, 0.1) 100%
  );
  color: var(--brand-green);
  border: 1px solid rgba(22, 163, 74, 0.2);
  font-weight: 800;
  letter-spacing: 1px;
}

/* --- SECTION MISI --- */
.misi-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 18px 20px;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
}

.misi-card:hover {
  border-color: var(--brand-green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.misi-number {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(22, 163, 74, 0.1);
  color: var(--brand-green);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.misi-content h6 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 4px;
}

.misi-content p {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 0;
}

/* Responsif Tablet & Mobile */
@media (max-width: 768px) {
  .visi-hero-card {
    padding: 24px 18px;
  }
  .visi-quote-text {
    font-size: 1rem;
  }
  .misi-card {
    padding: 14px;
    gap: 12px;
  }
  .misi-number {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }
}
/* ============================================== */
/* ============/Bagian Visi dan Misi=============== */
/* ============================================== */
/* ============================================== */
/* ============/Bagian Sejarah Satuan Kerja========= */
/* ============================================== */
/* =========================================================
   STYLE SEJARAH & KEPALA DARI MASA KE MASA
   ========================================================= */

/* --- SECTION 1: SEJARAH CARD --- */
.history-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.history-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--brand-green) 0%,
    var(--brand-blue) 100%
  );
}

.history-highlight-box {
  background: rgba(22, 163, 74, 0.04);
  border-left: 3px solid var(--brand-green);
  border-radius: 0 12px 12px 0;
  padding: 12px 16px;
  margin-top: 14px;
}

/* --- SECTION 2: GRID KEPALA DARI MASA KE MASA (9 PEJABAT) --- */
.leader-history-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.leader-history-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.leader-history-card:hover {
  border-color: var(--brand-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.leader-history-card.active-leader {
  border: 1px solid var(--brand-green);
  background: linear-gradient(
    135deg,
    rgba(22, 163, 74, 0.03) 0%,
    rgba(255, 255, 255, 1) 100%
  );
}

.leader-history-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border-color);
}

.leader-history-card.active-leader .leader-history-avatar {
  border-color: var(--brand-green);
}

.leader-history-info h6 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 2px;
  line-height: 1.25;
}

.leader-history-info p {
  font-size: 0.65rem;
  color: #64748b;
  margin-bottom: 2px;
  font-weight: 600;
}

.badge-tenure {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
}

.leader-history-card.active-leader .badge-tenure {
  background: rgba(22, 163, 74, 0.1);
  color: var(--brand-green);
}

/* Responsif Mobile & Tablet */
@media (max-width: 992px) {
  .leader-history-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .leader-history-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .history-card {
    padding: 18px;
  }
}
/* ============================================== */
/* ============/Bagian Sejarah Satuan Kerja========= */
/* ============================================== */
/* ============================================== */
/* ============Bagian Layanan========= */
/* ============================================== */
/* Section Full Width */
.ppid-container {
  font-family: Arial, sans-serif;
  width: 100%;
  max-width: 100%; /* Mengatur agar section mengambil 100% lebar layar/parent */
  box-sizing: border-box;
  padding: 20px;
  color: #333;
}

.ppid-container h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.alert-box {
  background-color: #e2f0d9;
  color: #385d25;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

.table-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 14px;
  width: 100%;
}

.table-controls select,
.table-controls input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
}

/* Tabel Full Width */
.table-responsive {
  width: 100%;
  overflow-x: auto; /* Mencegah overflow pada layar seluler */
}

.custom-table {
  width: 100%; /* Membuat tabel membentang penuh */
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e0e0e0;
}

.custom-table th {
  background-color: #f7f7f7;
  border: 1px solid #e0e0e0;
  padding: 12px;
  font-weight: 600;
  text-align: left;
}

.custom-table td {
  border: 1px solid #e0e0e0;
  padding: 12px;
  vertical-align: middle;
}

.text-center {
  text-align: center;
}

.btn-download {
  display: inline-block;
  background-color: #0d6efd;
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  transition: background 0.2s;
}

.btn-download:hover {
  background-color: #0b5ed7;
}

/* Pagination Full Width Alignment */
.pagination-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  font-size: 14px;
  width: 100%;
}

.pagination {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 4px;
}

.pagination li a {
  display: block;
  padding: 6px 12px;
  border: 1px solid #ccc;
  color: #0d6efd;
  text-decoration: none;
  border-radius: 4px;
}

.pagination li.active a {
  background-color: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}

.pagination li.disabled a {
  color: #aaa;
  pointer-events: none;
  background: #f5f5f5;
}

/* Responsif Layar Kecil */
@media (max-width: 600px) {
  .table-controls,
  .pagination-wrapper {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}
/* ============================================== */
/* ============/Bagian Layanan========= */
/* ============================================== */
