/* ===========================================
   PTSP ONLINE PTUN AMBON
   Tema light putih + biru #0079fe
   =========================================== */

/* Design tokens */
:root {
  --bg-body: #f4f6fb;
  --bg-surface: #ffffff;
  --bg-soft: #f9fafb;
  --bg-soft-alt: #eef4ff;

  --border-subtle: #e2e8f0;

  --text-main: #0f172a;
  --text-muted: #6b7280;

  --accent: #0079fe;
  --accent-soft: rgba(0, 121, 254, 0.12);
  --accent-alt: #0ea66c;

  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #e5f1ff 0, #f4f6fb 60%, #f9fafb 100%);
  color: var(--text-main);
  line-height: 1.6;
}

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Container */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===========================================
   NAVBAR
   =========================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e5e7eb;
  backdrop-filter: blur(14px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 12px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #0079fe, #0046a8);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4);
}

.nav-text {
  display: flex;
  flex-direction: column;
}

.nav-title {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}
.nav-subtitle {
  font-size: 11px;
  color: #6b7280;
}

.nav-links {
  display: none;
  gap: 18px;
  font-size: 13px;
}
.nav-links a {
  color: #4b5563;
}
.nav-links a:hover {
  color: #111827;
}

.nav-cta {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--accent);
  background: #ffffff;
  color: var(--accent);
  text-decoration: none;
}
.nav-cta:hover {
  background: #eff6ff;
}

/* ===========================================
   HERO
   =========================================== */

.hero {
  padding: 60px 0 32px;
  background: radial-gradient(circle at 20% 30%, rgba(0, 121, 254, 0.23), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(0, 121, 254, 0.15), transparent 60%),
    linear-gradient(180deg, #f1f6ff 0%, #e7f0ff 50%, #f9fbff 100%);
}

.hero-grid {
  display: grid;
  gap: 28px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: linear-gradient(90deg, rgba(0, 121, 254, 0.16), #ffffff);
  color: #0f172a;
  margin-bottom: 12px;
}

.hero-text h1 {
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #0f172a;
}
.hero-text p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: #6b7280;
}
.meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(156, 163, 175, 0.9);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: #0079fe;
  border-color: #0079fe;
  color: #ffffff;
  box-shadow: 0 25px 50px rgba(0, 121, 254, 0.35);
}
.btn-primary:hover {
  background: #0066d6;
}
.btn-ghost {
  border-color: #cbd5f5;
  background: #ffffff;
  color: #111827;
}
.btn-ghost:hover {
  border-color: #0079fe;
}
.btn-full {
  width: 100%;
}

/* Hero panel (right) */
.hero-panel {
  background: linear-gradient(145deg, #ffffff, #e7f1ff);
  border-radius: var(--radius-xl);
  padding: 18px 18px 14px;
  border: 1px solid #d4e3ff;
  box-shadow: 0 25px 60px rgba(0, 121, 254, 0.18), 0 10px 25px rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.panel-title {
  font-size: 12px;
  color: #6b7280;
}
.status-pill {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.status-online {
  background: rgba(14, 181, 104, 0.1);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.4);
}
.status-online::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

/* Metrics row */
.panel-metrics {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 11px;
}
@media (min-width: 640px) {
  .panel-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.metric {
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 121, 254, 0.06), #ffffff);
  border: 1px solid rgba(0, 121, 254, 0.25);
}
.metric-label {
  color: #6b7280;
}
.metric-value {
  display: block;
  font-weight: 600;
  font-size: 13px;
}
.metric-caption {
  font-size: 10px;
  color: #9ca3af;
}

/* Panel list */
.panel-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #d1d5db, transparent);
  margin-bottom: 10px;
}

.panel-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 11px;
}
.panel-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.row-text {
  flex: 1;
}
.row-title {
  display: block;
}
.row-sub {
  color: #6b7280;
  font-size: 10px;
}
.row-badge {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
}
.row-badge-soft {
  border-color: rgba(0, 121, 254, 0.7);
  background: rgba(0, 121, 254, 0.08);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}
.dot-green {
  background: #22c55e;
}
.dot-blue {
  background: #3b82f6;
}

/* Chat bubble row */
.panel-row-chat {
  align-items: flex-start;
}
.chat-bubble {
  border-radius: 16px;
  padding: 10px 12px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #111827;
}
.chat-label {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 4px;
}
.chat-bubble p {
  margin: 0;
}

/* ===========================================
   TRUSTED STRIP
   =========================================== */

.trusted {
  padding: 16px 0 24px;
  background: #ffffff;
}
.trusted-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  color: #6b7280;
}
.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trusted-pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

/* ===========================================
   SECTION JADWAL SIDANG SIPP
   =========================================== */

.section-schedule {
  padding-top: 32px;
  padding-bottom: 32px;
  background: #f4f7ff;
}

.schedule-header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 20px;
}

.schedule-header h2 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #0f172a;
}

.schedule-header p {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
}

/* Frame “window” untuk SIPP */
.schedule-frame {
  margin-top: 18px;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.schedule-frame-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 1px solid #e2e8f0;
  background: #f3f4f6;
  font-size: 11px;
  color: #6b7280;
}

.dot-red {
  background: #f87171;
}
.dot-yellow {
  background: #facc15;
}
.dot-green {
  background: #4ade80;
}

.schedule-title {
  margin-left: 8px;
}

/* iframe */
.schedule-frame iframe {
  display: block;
  width: 100%;
  height: 180px;
  border: none;
  background: #ffffff;
}

/* Tinggi lebih besar untuk layar lebar */
@media (min-width: 960px) {
  .schedule-frame iframe {
    height: 600px;
  }
}

/* ===========================================
   SECTION GENERIC
   =========================================== */

.section {
  padding: 32px 0;
  background: #ffffff;
}
.section-alt {
  padding: 32px 0;
  background: #f4f7ff;
}

.section-header {
  margin-bottom: 18px;
}
.section-header h2 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #0f172a;
}
.section-header p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* Card grid */
.card-grid {
  display: grid;
  gap: 16px;
}

/* Generic card (dipakai di bagian lain, bukan services) */
.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 16px 16px 14px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  color: #0f172a;
}
.card h3 {
  margin: 8px 0 6px;
  font-size: 15px;
}
.card p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.card-link {
  font-size: 12px;
}

/* Tag */
.card-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid rgba(0, 121, 254, 0.4);
  color: #0079fe;
  background: rgba(0, 121, 254, 0.08);
}
.card-tag-accent {
  border-color: rgba(0, 121, 254, 0.7);
  background: rgba(0, 121, 254, 0.15);
}
.card-highlight {
  border-color: rgba(0, 121, 254, 0.7);
  background: linear-gradient(135deg, #eef4ff, #ffffff);
}
.card-note {
  margin: 6px 0 0;
  font-size: 11px;
  color: #6b7280;
}

/* ===========================================
   ALUR (STEPS)
   =========================================== */

.steps-grid {
  display: grid;
  gap: 16px;
}
.step {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 14px 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
.step-number {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.step h3 {
  margin: 4px 0 6px;
  font-size: 14px;
}
.step p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===========================================
   LIVE CHAT SECTION
   =========================================== */

.livechat-grid {
  display: grid;
  gap: 22px;
}
.livechat-list {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-muted);
}
.livechat-list li + li {
  margin-top: 4px;
}
.livechat-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 14px 14px 12px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-soft);
  font-size: 12px;
  color: #0f172a;
}
.chat-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}
.chat-row-user {
  flex-direction: row-reverse;
}
.chat-avatar {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  background: #e5f0ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}
.chat-avatar-user {
  background: #0079fe;
  color: #ffffff;
  border-color: #0079fe;
}
.chat-bubble-user {
  background: #0079fe;
  border-color: #0079fe;
  color: #ffffff;
}
.chat-cta {
  margin-top: 4px;
  font-size: 12px;
}

.btn-ptsp {
  display: block;
  padding: 12px 20px;
  background: #1242a7;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  pointer-events: auto;
}

/* ===========================================
   LAYANAN PTSP – GRID DARK MODERN
   =========================================== */

#services {
  padding: 70px 0;
  background: radial-gradient(circle at top, #0b2750 0, #061426 55%);
}

/* Title + text putih */
#services .section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 28px;
}
#services .section-header h2,
#services .section-header p {
  color: #ffffff;
}

/* Grid 3 kolom */
#services .card-grid {
  display: grid;
  gap: 22px;
}
@media (min-width: 720px) {
  #services .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* CARD STYLE mirip contoh manufacturing */
#services .card {
  background: #0f2c47;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  min-height: 150px;

  display: flex;
  flex-direction: column;
  position: relative;

  transition: all 0.22s ease;
}

/* HOVER */
#services .card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 121, 254, 0.35);
  box-shadow: 0 6px 18px rgba(0, 121, 254, 0.25);
}

/* ICON: pakai card-tag sebagai ikon kanan atas */
#services .card-tag {
  position: absolute;
  top: 18px;
  right: 20px;

  border: none;
  background: transparent;
  color: #cbd5e1;
  font-size: 18px;
  padding: 0;
}

/* Heading & text */
#services .card h3 {
  margin-top: 32px;
  font-size: 16px;
  font-weight: 600;
  color: #f8fafc;
}
#services .card p {
  margin-top: 6px;
  font-size: 13px;
  color: #94a3b8;
}

/* Link */
#services .card-link {
  margin-top: auto;
  color: #ffffff;
  font-size: 13px;
  opacity: 0.85;
  text-decoration: none;
}
#services .card-link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Highlight card (Live Chat) */
#services .card.card-highlight {
  background: #0f2f55;
  border-color: #0079fe;
}
#services .card.card-highlight .btn-primary {
  width: 100%;
  margin-top: 12px;
  background: #0079fe;
  border-color: #0079fe;
}
#services .card .card-note {
  margin-top: 6px;
  font-size: 11px;
  color: #cbd5e1;
}

/* Hilangkan bentuk pill default pada services */
#services .card-tag,
#services .card-tag-accent {
  background: none;
  border: none;
}

/* ===========================================
   FAQ – STYLE 2 KOLOM + PILL
   =========================================== */

#faq {
  background: #ffffff;
}

#faq .container {
  display: grid;
  gap: 24px;
}

/* kiri judul, kanan list faq */
@media (min-width: 768px) {
  #faq .container {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    align-items: flex-start;
  }
}

/* judul kiri */
#faq .section-header {
  margin-bottom: 0;
}
#faq .section-header h2 {
  font-size: 24px;
  margin-bottom: 6px;
}
#faq .section-header p {
  font-size: 13px;
  color: #6b7280;
}

/* list kanan */
#faq .faq-list {
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
}

/* kotak FAQ */
#faq details {
  background: #ffffff;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

/* saat open */
#faq details[open] {
  border-color: #0079fe;
  box-shadow: 0 6px 18px rgba(0, 121, 254, 0.18);
}

/* header pertanyaan */
#faq details summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
}

/* hilangkan marker default */
#faq details summary::-webkit-details-marker {
  display: none;
}
#faq details summary::marker {
  content: "";
}

/* ikon bulat di kanan */
#faq details summary::after {
  content: "+";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #4b5563;
  background: #f9fafb;
}

/* kalau terbuka, jadi minus & biru */
#faq details[open] summary::after {
  content: "−";
  border-color: #0079fe;
  color: #ffffff;
  background: #0079fe;
}

/* isi jawaban */
#faq details p {
  margin: 0;
  padding: 0 18px 14px 18px;
  border-top: 1px solid #e5e7eb;
  font-size: 13px;
  color: #6b7280;
}

/* pill lebih normal di mobile */
@media (max-width: 480px) {
  #faq details {
    border-radius: 16px;
  }
}

/* ===========================================
   CONTACT
   =========================================== */

.contact-grid {
  display: grid;
  gap: 16px;
}
.contact-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  font-size: 13px;
  color: #4b5563;
}
.contact-list li + li {
  margin-top: 4px;
}
.contact-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 14px 14px;
  border: 1px solid #e5e7eb;
  font-size: 13px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

/* ===========================================
   FOOTER
   =========================================== */

.footer {
  padding: 14px 0 16px;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 11px;
  color: #6b7280;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ===========================================
   RESPONSIVE
   =========================================== */

@media (min-width: 720px) {
  .nav-links {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
  }
  .hero-text h1 {
    font-size: 32px;
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .livechat-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
  }
  .contact-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Hero pill — soft blue, tidak terlihat bisa diklik */
.hero-pill {
  background: rgba(0, 121, 254, 0.12) !important; /* biru soft transparan */
  border: 1px solid rgba(0, 121, 254, 0.2) !important; /* outline lembut */
  color: #0f2647 !important; /* teks biru gelap yang elegan */

  box-shadow: none !important; /* tidak seperti tombol */
  cursor: default !important; /* tidak seperti clickable */
  user-select: none;
}

/* hero gradasi */

/* HERO – gradient ala Biccas, biru-mint soft */
.hero {
  padding: 60px 0 32px;
  background:
    /* glow biru lembut di kiri atas */ radial-gradient(
      circle at 0% 0%,
      rgba(0, 121, 254, 0.2),
      transparent 55%
    ),
    /* glow hijau-biru di kanan bawah */
      radial-gradient(circle at 100% 100%, rgba(45, 212, 191, 0.2), transparent 55%),
    /* dasar very-light seperti canvas Biccas */
      linear-gradient(135deg, #eef6ff 0%, #e9fff6 45%, #fdfefe 100%);
}

/* floating image hero */

/* ===========================================
   FLOATING ICONS IN HERO
   =========================================== */

.hero-grid {
  position: relative;
}

/* Base floating icon style */
.hero-floating .float-icon {
  position: absolute;
  width: 90px;
  height: auto;
  opacity: 0.92;
  animation: float 5s ease-in-out infinite;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.15));
  pointer-events: none; /* tidak bisa diklik */
}

/* Floating keyframes */
@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* ICON POSITIONS — adjust freely */

.icon-a {
  top: 40px;
  right: 40px;
  animation-delay: 0.2s;
}

.icon-b {
  top: 180px;
  right: -20px;
  animation-delay: 0.6s;
}

.icon-c {
  bottom: 100px;
  right: 70px;
  animation-delay: 1s;
}

.icon-d {
  bottom: 40px;
  right: -10px;
  animation-delay: 1.4s;
}

/* Responsive fix */
@media (max-width: 720px) {
  .hero-floating .float-icon {
    display: none;
  }
}

/* img floating hero */

/* ==========================================================
   FLOATING ICONS – RANDOM SPREAD & SOFT MOTION
   ========================================================== */

.hero-grid {
  position: relative;
}

/* Wrapper for floating icons */
.hero-floating {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}

/* Base style */
.hero-floating .float-icon {
  position: absolute;
  width: 90px;
  opacity: 0.95;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.18));
  animation-timing-function: ease-in-out;
}

/* =============================
   POSISI MENYEBAR (PENTING!)
   ============================= */

/* kiri atas */
.icon-a {
  top: -10%;
  left: -5%;
  animation: floatA 10s infinite alternate;
}

/* kanan atas */
.icon-b {
  top: -6%;
  right: 5%;
  animation: floatB 12s infinite alternate-reverse;
}

/* kanan tengah */
.icon-c {
  top: 32%;
  right: -8%;
  animation: floatC 9s infinite alternate;
}

/* kiri bawah */
.icon-d {
  bottom: -14%;
  left: 10%;
  animation: floatD 11s infinite alternate-reverse;
}

/* =============================
   ANIMASI RANDOM LOOK
   ============================= */

/* subtle horizontal + vertical + rotate */
@keyframes floatA {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(18px, -20px) rotate(3deg);
  }
  100% {
    transform: translate(-12px, 12px) rotate(-2deg);
  }
}

@keyframes floatB {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-22px, -14px) rotate(-4deg);
  }
  100% {
    transform: translate(18px, 18px) rotate(2deg);
  }
}

@keyframes floatC {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(14px, 26px) rotate(4deg);
  }
  100% {
    transform: translate(-16px, -12px) rotate(-3deg);
  }
}

@keyframes floatD {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-18px, 14px) rotate(5deg);
  }
  100% {
    transform: translate(20px, -18px) rotate(-3deg);
  }
}

/* Hide floating icons on mobile */
@media (max-width: 720px) {
  .hero-floating .float-icon {
    display: none;
  }
}

/* PINDAH ICON KIRI KE KANAN */

/* Icon kertas + pena (sebelumnya kiri atas → sekarang kanan tengah) */
.icon-a {
  top: 10%;
  left: auto;
  right: 12%;
  animation: floatA 10s infinite alternate;
}

/* Icon MANISE (sebelumnya kiri bawah → sekarang kanan bawah) */
.icon-d {
  bottom: 5%;
  left: auto;
  right: 8%;
  animation: floatD 11s infinite alternate-reverse;
}

/* YAAMPUN INI FIX IMG FLOATING HERO */

/* ===========================
   POSISI FINAL ICON SESUAI PERMINTAAN
   =========================== */

/* ICON KERTAS – di atas kanan panel */
.icon-a {
  top: -20px; /* sedikit di atas panel */
  right: 450px; /* agak dekat ke pojok kanan panel */
  left: auto;
  animation: floatA 9s ease-in-out infinite alternate;
}

/* ICON MANISE – di bawah kanan panel */
.icon-d {
  bottom: -40px; /* turun ke area bawah hero */
  right: 80px; /* lebih dekat panel kanan */
  left: auto;
  animation: floatD 11s ease-in-out infinite alternate;
}

/* ICON PALU – tetap kanan atas tapi agak turun sedikit */
.icon-b {
  top: 10px;
  right: -20px;
  animation: floatB 12s ease-in-out infinite alternate-reverse;
}

/* ICON TIMBANGAN – tetap di bagian kanan bawah hero */
.icon-c {
  top: 140px;
  bottom: -20px;
  right: -70px;
  animation: floatC 10s ease-in-out infinite alternate;
}

/* logo header */

/* Logo PTUN Ambon di navbar */
.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff; /* biar rapi kalau logonya transparan */
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4);
}

.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===========================================
   SUB PAGES (PERKARA, POSBAKUM) – MODERN UI
   =========================================== */

.page-hero {
  padding: 44px 0 18px;
  background: radial-gradient(circle at 15% 20%, rgba(0, 121, 254, 0.2), transparent 55%),
    radial-gradient(circle at 85% 10%, rgba(45, 212, 191, 0.16), transparent 60%),
    linear-gradient(135deg, #eef6ff 0%, #e9fff6 45%, #ffffff 100%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
  margin: 0 0 12px;
}
.breadcrumb a {
  color: #475569;
}
.breadcrumb .sep {
  opacity: 0.6;
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.15;
  color: #0f172a;
}
.page-hero p {
  margin: 0;
  max-width: 760px;
  font-size: 14px;
  color: #475569;
}

.quick-actions {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}
@media (min-width: 720px) {
  .quick-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.action-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  backdrop-filter: blur(10px);
}
.action-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 121, 254, 0.12);
  border: 1px solid rgba(0, 121, 254, 0.22);
  color: #0b3f86;
  font-size: 16px;
  flex: 0 0 auto;
}
.action-card h3 {
  margin: 0 0 4px;
  font-size: 14px;
}
.action-card p {
  margin: 0 0 8px;
  font-size: 12px;
  color: #64748b;
}
.action-card a {
  font-size: 12px;
  font-weight: 600;
}

.info-layout {
  padding: 26px 0 44px;
  background: #ffffff;
}
.info-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 960px) {
  .info-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 0.38fr);
    align-items: start;
  }
}

.content-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.content-card + .content-card {
  margin-top: 14px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1d4ed8;
  background: rgba(29, 78, 216, 0.08);
  border: 1px solid rgba(29, 78, 216, 0.16);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.content-card h2 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #0f172a;
}

.content-card p {
  margin: 0 0 10px;
  color: #475569;
  font-size: 13px;
}

.callout {
  border-radius: 18px;
  padding: 12px 12px;
  border: 1px solid rgba(2, 132, 199, 0.18);
  background: linear-gradient(135deg, rgba(0, 121, 254, 0.08), rgba(45, 212, 191, 0.06));
  color: #0f172a;
  font-size: 13px;
}
.callout strong {
  color: #0b3f86;
}

.checklist {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #fbfdff;
}
.check-badge {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #15803d;
  font-size: 12px;
  flex: 0 0 auto;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.badge {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #ffffff;
  color: #334155;
}
.badge-accent {
  border-color: rgba(0, 121, 254, 0.28);
  background: rgba(0, 121, 254, 0.1);
  color: #0b3f86;
}

.accordion {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}
.accordion details {
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}
.accordion details[open] {
  border-color: rgba(0, 121, 254, 0.35);
  box-shadow: 0 14px 36px rgba(0, 121, 254, 0.12);
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  color: #0f172a;
  font-size: 13px;
}
.accordion summary::-webkit-details-marker {
  display: none;
}
.accordion summary::after {
  content: "+";
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #f8fafc;
  color: #475569;
  flex: 0 0 auto;
}
.accordion details[open] summary::after {
  content: "−";
  background: #0079fe;
  border-color: #0079fe;
  color: #ffffff;
}
.accordion .acc-body {
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  padding: 12px 14px 14px;
  color: #475569;
  font-size: 13px;
}
.acc-body ul {
  margin: 10px 0 0;
  padding-left: 18px;
}
.acc-body li + li {
  margin-top: 6px;
}

.sidebar {
  position: sticky;
  top: 86px;
}
.sidebar-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}
.sidebar-title {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #0f172a;
}
.toc {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.toc a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #fbfdff;
  color: #0f172a;
  font-size: 12px;
  text-decoration: none;
}
.toc a:hover {
  border-color: rgba(0, 121, 254, 0.35);
  background: rgba(0, 121, 254, 0.06);
  text-decoration: none;
}
.toc .toc-chip {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0, 121, 254, 0.22);
  background: rgba(0, 121, 254, 0.1);
  color: #0b3f86;
}

.link-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.link-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #ffffff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 600;
}
.link-row a:hover {
  border-color: rgba(0, 121, 254, 0.35);
  background: rgba(0, 121, 254, 0.06);
  text-decoration: none;
}

/* Make anchors not hidden under sticky navbar */
:target {
  scroll-margin-top: 90px;
}
