:root {
  --primary: #234974;
  --primary-dark: #11243a;
  --secondary: #73d99f;
  --text: #0f172a;
  --muted: #64748b;
  --border: rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 30px 70px rgba(15, 23, 42, 0.14);
  --shadow-md: 0 16px 40px rgba(15, 23, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 30%, #f8fafc 100%);
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.topbar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
}

.topbar a {
  color: rgba(255, 255, 255, 0.95);
}

.topbar-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-info,
.topbar-social {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar-social a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: 0.25s ease;
}

.topbar-social a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

.main-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--text);
}

.navbar-brand img {
  /* width: 50px; */
  height: 50px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy small {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-link {
  font-weight: 600;
  color: #1e293b !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
}

/* Highlight menu navbar yang sedang aktif */
.main-navbar .nav-link {
  position: relative;
}

.main-navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* Dropdown navbar */
.main-navbar .dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: middle;
}

/* Item dropdown: gaya samakan navbar, ukuran sedikit lebih kecil, tanpa ikon */
.main-navbar .dropdown-item {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1e293b;
  border-radius: 10px;
  padding: 10px 14px;
}

.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item:focus {
  background: rgba(35, 73, 116, 0.08);
  color: var(--primary);
}

@media (min-width: 992px) {
  /* Buka saat hover (tanpa klik) + transisi halus */
  .main-navbar .nav-item.dropdown > .dropdown-menu {
    display: block;
    margin-top: 0;
    min-width: 250px;
    padding: 8px;
    border: none;
    border-radius: 16px;
    /* Latar semi-transparan + blur */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    pointer-events: none;
  }

  .main-navbar .nav-item.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (max-width: 991.98px) {
  /* Di mobile: tampilkan sebagai sub-daftar (hover tidak berlaku) */
  .main-navbar .nav-item.dropdown .dropdown-menu {
    display: block;
    border: none;
    box-shadow: none;
    background: transparent;
    padding-left: 12px;
  }
}

/* Preloader */
.page-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 50%, #eefaf8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.page-preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-box {
  text-align: center;
  max-width: 360px;
}

.preloader-logo-wrap {
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.preloader-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.preloader-spinner {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 4px solid rgba(15, 118, 110, 0.15);
  border-top-color: #0f766e;
  animation: spinLoader 1s linear infinite;
}

.preloader-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
}

.preloader-text {
  margin: 0;
  color: #64748b;
  font-size: 15px;
}

body.loading {
  overflow: hidden;
}

@keyframes spinLoader {
  to {
    transform: rotate(360deg);
  }
}

.btn-main {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  transition: 0.25s ease;
  box-shadow: 0 12px 30px rgba(20, 184, 166, 0.28);
}

.btn-main:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(20, 184, 166, 0.34);
}

.btn-outline-soft {
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn-outline-soft:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.hero-wrap {
  padding: 24px 0 0;
}

.hero-slider .item {
  position: relative;
  min-height: 72vh;
  border-radius: 30px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(2, 6, 23, 0.72) 0%,
    rgba(2, 6, 23, 0.45) 45%,
    rgba(15, 118, 110, 0.18) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 42px;
}

.hero-panel {
  max-width: 720px;
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  font-size: 14px;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-description {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  margin-bottom: 26px;
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.owl-theme .owl-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
}

.owl-theme .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  margin: 5px 6px;
  background: rgba(255, 255, 255, 0.4);
}

.owl-theme .owl-dots .owl-dot.active span {
  background: #fff;
  width: 32px;
  border-radius: 999px;
}

.owl-nav button.owl-prev,
.owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.26) !important;
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  font-size: 20px !important;
  backdrop-filter: blur(10px);
}

.owl-nav button.owl-prev {
  left: 18px;
}
.owl-nav button.owl-next {
  right: 18px;
}

.floating-cards {
  margin-top: -64px;
  position: relative;
  z-index: 4;
}

.quick-card,
.about-card,
.video-shell,
.info-panel,
.cta-box,
.service-card,
.highlight-card,
.footer-box {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.quick-card {
  padding: 24px;
  height: 100%;
  transition: 0.25s ease;
}

.quick-card:hover,
.service-card:hover {
  transform: translateY(-6px);
}

.quick-icon,
.highlight-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(20, 184, 166, 0.12),
    rgba(15, 118, 110, 0.18)
  );
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 16px;
}

.quick-card h5,
.highlight-card h5 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.quick-card p,
.highlight-card p,
.about-card p,
.about-card li,
.service-text,
.section-subtitle,
.footer-text,
.info-row span,
.info-row a {
  color: var(--muted);
}

.quick-card p,
.highlight-card p,
.service-text,
.about-card p,
.about-card li {
  line-height: 1.75;
}

section {
  padding: 92px 0;
}

.section-heading {
  margin-bottom: 22px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(20, 184, 166, 0.1);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 16px;
  max-width: 720px;
}

.about-card,
.cta-box,
.highlight-card,
.info-panel,
.footer-box {
  padding: 34px;
}

.mission-list {
  padding-left: 0;
  list-style: none;
  margin-bottom: 0;
}

.mission-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.mission-number {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  margin-top: 2px;
}

.video-shell {
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.video-tag {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  background: rgba(2, 6, 23, 0.72);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  backdrop-filter: blur(10px);
}

.video-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.service-card {
  overflow: hidden;
  transition: 0.25s ease;
  height: 100%;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
}

.service-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card:hover .service-thumb img {
  transform: scale(1.06);
}

.service-icon-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-size: 22px;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.16);
}

.service-body {
  padding: 24px;
}

.service-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-section {
  padding-top: 24px;
}

.cta-box {
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-box::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.cta-box h3 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.btn-light-pill {
  background: #fff;
  color: var(--primary);
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  border: 0;
}

.btn-glass-pill {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.contact-grid .info-panel {
  height: 100%;
}

.info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.info-row + .info-row {
  margin-top: 18px;
}

.info-row i {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 184, 166, 0.1);
  color: var(--primary);
  font-size: 18px;
  flex: 0 0 46px;
}

.info-row strong {
  display: block;
  margin-bottom: 4px;
}

.site-footer {
  padding: 28px 0 40px;
}

.footer-text {
  margin: 0;
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 18px 30px rgba(20, 184, 166, 0.25);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .hero-slider .item,
  .hero-content {
    min-height: 64vh;
  }

  .hero-content {
    padding: 28px;
  }

  .floating-cards {
    margin-top: 20px;
  }

  section {
    padding: 72px 0;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 34px;
  }

  .hero-description {
    font-size: 15px;
  }

  .owl-nav {
    display: none;
  }

  .about-card,
  .cta-box,
  .highlight-card,
  .service-body,
  .info-panel,
  .footer-box {
    padding: 22px;
  }
}

/* ============================================================
   HALAMAN PROFIL & SEJARAH (profil.php)
   ============================================================ */

.profil-hero {
  position: relative;
  padding: 64px 0 48px;
  margin-bottom: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
}

.profil-hero-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin: 14px 0 10px;
}

.profil-hero-subtitle {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 18px;
}

/* Badge di atas hero gelap: pakai teks putih agar tidak nyaru */
.profil-hero .section-badge {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.profil-hero .section-badge i {
  color: #fff;
}

.profil-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.profil-breadcrumb a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.profil-breadcrumb a:hover {
  text-decoration: underline;
}

/* Statistik ringkas */
.profil-stat {
  text-align: center;
  padding: 18px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  height: 100%;
}

.profil-stat-number {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.profil-stat-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.profil-image-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.profil-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Kartu Visi */
.visi-card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visi-card .section-badge.light {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  align-self: flex-start;
}

.visi-text {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.3;
  margin: 16px 0 0;
}

/* Kartu Tata Nilai */
.value-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.value-card h5 {
  font-weight: 700;
  margin-bottom: 8px;
}

.value-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Timeline Sejarah */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 36px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -34px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(35, 73, 116, 0.12);
}

.timeline-content {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-md);
}

.timeline-year {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.timeline-content h5 {
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-content p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* ====== Halaman Profil Pejabat (profil-pejabat.php) ====== */

/* --- Bagan Struktur Kepemimpinan --- */
.org-chart {
  text-align: center;
}

.org-director {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: var(--shadow-md);
}

/* garis vertikal turun dari direktur */
.org-director::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 28px;
  background: #cbd5e1;
  transform: translateX(-50%);
}

.org-children {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 56px;
}

/* garis horizontal penghubung antar anak */
.org-children::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: #cbd5e1;
}

.org-box {
  position: relative;
  flex: 1 1 0;
  max-width: 260px;
  min-width: 200px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-weight: 600;
  color: var(--text);
}

/* garis vertikal naik dari tiap kotak */
.org-box::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -28px;
  width: 2px;
  height: 28px;
  background: #cbd5e1;
  transform: translateX(-50%);
}

/* --- Grid Jajaran Pejabat --- */
.pejabat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.pejabat-card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover: kartu membesar */
.pejabat-card:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.pejabat-side {
  flex: 0 0 34%;
  display: grid;
  place-items: center;
  padding: 28px 12px;
}

.pejabat-avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.pejabat-body {
  flex: 1 1 auto;
  padding: 26px 24px;
}

.pejabat-position {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pejabat-name {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 10px;
}

.pejabat-desc {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
  margin: 0;
}

/* Variasi warna blok kiri kartu (siklus) */
.pejabat-card.color-1 .pejabat-side { background: linear-gradient(135deg, #2c4a6e, #3b5d85); }
.pejabat-card.color-1 .pejabat-position { color: #3b5d85; }
.pejabat-card.color-2 .pejabat-side { background: linear-gradient(135deg, #2f7d7d, #3d9b94); }
.pejabat-card.color-2 .pejabat-position { color: #2f7d7d; }
.pejabat-card.color-3 .pejabat-side { background: linear-gradient(135deg, #3aa17a, #57c08a); }
.pejabat-card.color-3 .pejabat-position { color: #2f9268; }
.pejabat-card.color-4 .pejabat-side { background: linear-gradient(135deg, #2f5f9e, #4178b8); }
.pejabat-card.color-4 .pejabat-position { color: #2f5f9e; }

@media (max-width: 767.98px) {
  .pejabat-grid {
    grid-template-columns: 1fr;
  }
  .org-children::before {
    display: none;
  }
  .org-box::before {
    display: none;
  }
}
