@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Lexend:wght@400;600;700&display=swap');

:root {
  /* ── Color Palette: Navy Blue & Warm Gold — PPKPT UGK ── */
  --primary: #1a365d;
  --primary-dark: #132a4a;
  --primary-light: #e8eef6;
  --accent: #c8960c;
  --accent-dark: #a07a0a;
  --accent-light: #fdf6e3;
  --navy: #0f1a2e;

  --bg: #FFFFFF;
  --bg-subtle: #F7F8FA;
  --bg-card: #FFFFFF;
  --text-main: #1a202c;
  --text-muted: #5a6577;
  --border: #E2E6ED;

  /* ── Typography ── */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-scale: 1;
  --line-height: 1.65;

  /* ── Shadows ── */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.08);

  --glass-bg: rgba(255,255,255,0.85);
  --glass-border: rgba(255,255,255,0.4);

  /* ── Radii ── */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: calc(16px * var(--font-scale));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text-main);
  line-height: var(--line-height);
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

/* ═══════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════ */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section-padding { padding: 4.5rem 0; }

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--text-muted); }
.bg-subtle { background-color: var(--bg-subtle); }
.bg-primary-light { background-color: var(--primary-light); }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }

@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section-padding { padding: 2.5rem 0; }
  .container { padding: 0 1rem; }
}

/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.75rem 1.5rem;
  font-weight: 600; font-size: 0.9rem;
  border-radius: var(--radius-sm); border: none;
  cursor: pointer; transition: var(--transition);
}

.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 2px 8px rgba(30,64,175,0.25);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(30,64,175,0.35);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent); color: #fff;
  box-shadow: 0 2px 8px rgba(234,179,8,0.25);
}
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary-light); }

.btn-lapor {
  background: var(--primary); color: #fff;
  font-weight: 700; letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(30,64,175,0.3);
  border-radius: var(--radius-sm);
}
.btn-lapor:hover { background: var(--primary-dark); transform: translateY(-1px); }

.badge {
  display: inline-block; padding: 0.25rem 0.75rem;
  font-size: 0.75rem; font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
}
.badge-primary { background: var(--primary-light); color: var(--primary-dark); }
.badge-accent { background: var(--accent-light); color: #92400E; }

/* ═══════════════════════════════════════════════
   NAVBAR — Clean white with blue-gold accents
   ═══════════════════════════════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  padding: 0;
}

.nav-container {
  display: flex; align-items: center; justify-content: space-between;
}

.logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 700; font-size: 1.15rem;
  color: var(--primary); padding: 0.7rem 0;
  letter-spacing: -0.01em;
}

.logo-icon {
  width: 36px; height: 36px;
  background: var(--primary); color: #fff;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.text-main-logo { color: var(--primary); }
.text-accent { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 0; }

.nav-link {
  font-weight: 500; font-size: 0.82rem;
  color: var(--text-muted);
  padding: 1rem 0.85rem;
  text-transform: uppercase; letter-spacing: 0.04em;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary); background: var(--primary-light);
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width 0.2s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > .nav-link { display: flex; align-items: center; gap: 0.3rem; }
.nav-dropdown > .nav-link .dropdown-arrow { font-size: 0.6rem; transition: transform 0.2s; }
.nav-dropdown:hover > .nav-link .dropdown-arrow { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 220px; background: #fff;
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all 0.2s ease; z-index: 1001; overflow: hidden;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown-menu a {
  display: block; padding: 0.7rem 1.15rem;
  font-size: 0.85rem; font-weight: 500; color: var(--text-main);
  border-bottom: 1px solid #F1F5F9; transition: var(--transition);
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--primary-light); color: var(--primary); padding-left: 1.4rem; }

.nav-toggle {
  display: none; background: none; border: none;
  font-size: 1.5rem; color: var(--primary); cursor: pointer; padding: 0.5rem;
}

@media (max-width: 950px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; width: 100%;
    background: #fff; flex-direction: column;
    padding: 0.5rem 0; box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border);
    display: none; align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--border); color: var(--text-main); }
  .nav-link::after { display: none; }

  .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-radius: 0;
    background: var(--bg-subtle); display: none;
  }
  .nav-dropdown.mobile-open .dropdown-menu { display: block; }
  .dropdown-menu a { padding-left: 2.2rem; color: var(--text-muted); border-bottom-color: var(--border); font-size: 0.82rem; }
  .dropdown-menu a:hover { background: var(--primary-light); color: var(--primary); padding-left: 2.6rem; }
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  padding: 3rem 0 3.5rem;
  background: linear-gradient(160deg, #F8FAFC 0%, var(--primary-light) 50%, #fdf6e3 100%);
}
.hero-grid { display: grid; grid-template-columns: 440px 1fr; align-items: center; gap: 3.5rem; }

.hero-info-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.15rem;
  box-shadow: var(--shadow-sm);
  max-width: 440px;
}

/* ── Kolom Kanan Khusus Slider Foto (Geser Ke Kanan Murni & Ukuran Besar Full) ── */
.hero-visual-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  min-height: 460px;
  max-height: 560px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(15, 26, 46, 0.15);
  border: 4px solid #FFFFFF;
  align-self: center;
  justify-self: end;
}

.hero-slider-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0f1a2e;
}

.hero-right-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.2s ease-in-out, transform 6s ease-out;
}

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

/* ── Tombol Aksi Melayang di Dalam Foto Slider (Tanpa Kotak Pembungkus) ── */
.hero-slider-actions {
  position: absolute;
  bottom: 1.35rem;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0 1.25rem;
  background: transparent;
  border: none;
  box-shadow: none;
  pointer-events: none;
}

.hero-slider-actions .btn {
  pointer-events: auto;
}

.btn-hero-glass-primary {
  background: rgba(15, 26, 46, 0.55);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-hero-glass-primary:hover {
  background: rgba(30, 64, 175, 0.85);
  border-color: rgba(255, 255, 255, 0.75);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.btn-hero-glass-outline {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-hero-glass-outline:hover {
  background: rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
  font-size: 2.1rem; font-weight: 800; line-height: 1.2;
  margin: 0.5rem 0 0.75rem; letter-spacing: -0.02em;
  color: var(--navy);
}
.hero-content p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 1.2rem; max-width: 440px; line-height: 1.6; }
.hero-mobile-actions { display: none; }

@media (max-width: 900px) {
  .hero { padding: 2.5rem 0 3rem; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 1.75rem; }
  .hero-content h1 { font-size: 1.85rem; }
  .hero-content p { margin-left: auto; margin-right: auto; font-size: 0.9rem; max-width: 100%; }
  .hero-info-card { margin: 0 auto; text-align: left; max-width: 100%; }

  .hero-desktop-actions { display: none !important; }
  .hero-mobile-actions { display: flex; justify-content: center; gap: 0.75rem; margin-top: 1.25rem; }

  .hero-visual-slider {
    order: -1;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: auto;
    max-height: 240px;
    border-radius: 14px;
    justify-self: center;
    box-shadow: 0 10px 24px rgba(15, 26, 46, 0.12);
  }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.65rem; }
  .hero-mobile-actions { flex-direction: column; align-items: stretch; }
  .hero-mobile-actions .btn { justify-content: center; }
}

/* ═══════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════ */
.section-title { max-width: 640px; margin: 0 auto 2.5rem; text-align: center; }
.section-title h2 { font-size: 1.85rem; font-weight: 700; margin-top: 0.4rem; letter-spacing: -0.02em; color: var(--navy); }

.service-card {
  background: var(--bg-card); padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }

.service-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1rem;
  transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--primary); color: #fff; transform: scale(1.05); }

.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--navy); }
.service-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ── News Slider Track ── */
.news-slider-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

/* ── Section Heading Large ── */
.section-heading-large {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .section-heading-large { font-size: 1.45rem !important; }
  .video-section-subtext { font-size: 0.82rem !important; }
}

/* News */
.news-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: var(--transition);
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.news-img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .news-img { transform: scale(1.03); }
.news-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.news-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; line-height: 1.4; color: var(--navy); }
.news-title a:hover { color: var(--primary); }
.news-desc { color: var(--text-muted); margin-bottom: 1rem; flex: 1; font-size: 0.88rem; line-height: 1.55; }

/* Stats Banner */
.stats-banner {
  background: var(--navy); color: #fff; padding: 3rem 0;
  border-radius: var(--radius-lg); margin: 3rem auto;
  box-shadow: var(--shadow-md);
}
.stat-item h3 { font-size: 2.25rem; font-weight: 800; color: var(--accent); margin-bottom: 0.3rem; }
.stat-item p { font-size: 0.9rem; font-weight: 500; color: #94A3B8; }

/* FAQ */
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 0.75rem; overflow: hidden; }
.faq-question { padding: 1.15rem 1.25rem; font-weight: 600; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; background: transparent; width: 100%; border: none; text-align: left; color: var(--text-main); }
.faq-answer { padding: 0 1.25rem 1.15rem; color: var(--text-muted); display: none; border-top: 1px dashed var(--border); padding-top: 0.85rem; font-size: 0.92rem; }
.faq-item.open { border-color: var(--primary); }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question { color: var(--primary); }

/* Form */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 0.4rem; color: var(--text-main); }
.form-input {
  width: 100%; padding: 0.7rem 0.9rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--text-main);
  font-size: 0.9rem; transition: var(--transition);
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,64,175,0.1); }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  background: var(--navy); color: #E2E8F0;
  padding: 3.5rem 0 1.5rem; margin-top: 4rem;
  border-top: 3px solid var(--accent);
}
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(3,1fr); gap: 2.5rem; margin-bottom: 2.5rem; }

.footer-col h4 {
  font-size: 0.9rem; font-weight: 700; color: #fff;
  margin-bottom: 1rem; position: relative; padding-bottom: 0.5rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 28px; height: 2px; background: var(--accent); }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: #94A3B8; font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: #fff; padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid #1E293B; padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  color: #64748B; font-size: 0.82rem;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1.8fr repeat(3, 1fr); gap: 1.5rem; }
}
@media (max-width: 640px) {
  .footer { padding: 1.25rem 0 0.75rem !important; }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.85rem 0.65rem !important;
    margin-bottom: 0.85rem !important;
  }
  .footer-col { padding-right: 0 !important; }
  /* Logo area */
  .footer-col .logo { margin-bottom: 0.4rem !important; gap: 0.35rem !important; }
  .footer-col .logo .logo-icon { width: 26px !important; height: 26px !important; }
  .footer-col .logo .logo-icon svg { width: 14px !important; height: 14px !important; }
  .footer-col .logo span { font-size: 0.78rem !important; font-weight: 800 !important; }
  .footer-col .logo > div > div { font-size: 0.58rem !important; }
  /* Deskripsi kolom 1 */
  .footer-col > p { font-size: 0.65rem !important; line-height: 1.45 !important; margin-bottom: 0.4rem !important; }
  .footer-col .badge { padding: 0.15rem 0.4rem !important; font-size: 0.6rem !important; white-space: nowrap !important; }
  /* Judul kolom 2-4 */
  .footer-col h4 { font-size: 0.68rem !important; margin-bottom: 0.35rem !important; padding-bottom: 0.2rem !important; letter-spacing: 0 !important; }
  .footer-col h4::after { width: 16px !important; }
  .footer-links li { margin-bottom: 0.2rem !important; }
  .footer-links a { font-size: 0.65rem !important; line-height: 1.3 !important; }
  /* Kolom Hubungi Kami */
  .footer-col:last-child div { font-size: 0.62rem !important; line-height: 1.4 !important; }
  .footer-col:last-child p { margin-bottom: 0.35rem !important; }
  /* Bottom bar */
  .footer-bottom { font-size: 0.6rem !important; padding-top: 0.65rem !important; flex-direction: column !important; gap: 0.25rem !important; text-align: center !important; }
}

/* ═══════════════════════════════════════════════
   ACCESSIBILITY WIDGET
   ═══════════════════════════════════════════════ */
.a11y-fab {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 52px; height: 52px; border-radius: var(--radius-full);
  background: var(--primary); color: #fff; border: none;
  box-shadow: 0 4px 16px rgba(30,64,175,0.35);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 9999; transition: var(--transition);
}
.a11y-fab:hover { transform: scale(1.08); background: var(--primary-dark); }

.a11y-panel {
  position: fixed; bottom: 5.5rem; right: 1.5rem;
  width: 340px; max-width: calc(100vw - 2rem);
  background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 1.5rem; z-index: 9998;
  display: none; animation: panelSlide 0.25s ease;
}
@keyframes panelSlide { 0% { opacity: 0; transform: scale(0.95) translateY(12px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }
.a11y-panel.open { display: block; }

.a11y-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; border-bottom: 1px solid var(--border); padding-bottom: 0.75rem; }
.a11y-header h4 { font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 0.4rem; color: var(--primary-dark); }

.a11y-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.6rem; }
.a11y-btn {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.65rem 0.5rem;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 0.3rem; cursor: pointer; transition: var(--transition);
  font-size: 0.75rem; font-weight: 600; color: var(--text-main);
}
.a11y-btn svg { width: 20px; height: 20px; fill: currentColor; color: var(--primary); }
.a11y-btn:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.a11y-btn.active { background: var(--primary); color: #fff; border-color: var(--primary-dark); }
.a11y-btn.active svg { color: #fff; }

.a11y-reset {
  width: 100%; margin-top: 0.85rem; background: #EF4444; color: #fff;
  border: none; padding: 0.6rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.82rem; cursor: pointer; transition: var(--transition);
}
.a11y-reset:hover { background: #DC2626; }

/* ═══════════════════════════════════════════════
   ACCESSIBILITY MODES
   ═══════════════════════════════════════════════ */
body.accessibility-high-contrast {
  --bg: #000 !important; --bg-subtle: #111 !important; --bg-card: #000 !important;
  --text-main: #FFFF00 !important; --text-muted: #fff !important;
  --border: #FFFF00 !important; --primary: #00FF00 !important; --accent: #FF00FF !important;
}
body.accessibility-high-contrast .navbar, body.accessibility-high-contrast .service-card,
body.accessibility-high-contrast .news-card, body.accessibility-high-contrast .a11y-panel {
  background: #000 !important; border: 2px solid #FFFF00 !important; color: #FFFF00 !important;
}
body.accessibility-grayscale .navbar, body.accessibility-grayscale #main-content,
body.accessibility-grayscale .footer, body.accessibility-grayscale #a11y-fab,
body.accessibility-grayscale #a11y-panel { filter: grayscale(100%) !important; }
body.accessibility-dyslexia { --font-main: 'Lexend', sans-serif !important; letter-spacing: 0.03em !important; word-spacing: 0.08em !important; }
body.accessibility-highlight-links a, body.accessibility-highlight-links button {
  text-decoration: underline !important; text-decoration-thickness: 2px !important;
  background: #FEF08A !important; color: #000 !important; outline: 2px solid #000 !important;
}
body.accessibility-pause-motion * { animation: none !important; transition: none !important; }

/* ═══════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════ */
.pagination { display: flex; padding-left: 0; list-style: none; gap: 0.35rem; flex-wrap: wrap; }
.page-item .page-link {
  display: block; padding: 0.4rem 0.85rem; color: var(--primary);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.85rem; transition: var(--transition);
}
.page-item.active .page-link { color: #fff; background: var(--primary); border-color: var(--primary); }
.page-item:not(.active) .page-link:hover { background: var(--primary-light); }
.page-item.disabled .page-link { color: var(--text-muted); pointer-events: none; background: var(--bg-subtle); }

/* ═══════════════════════════════════════════════
   DOCUMENT, STEP, ORG CARDS
   ═══════════════════════════════════════════════ */
.doc-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.15rem 1.25rem;
  display: flex; align-items: center; gap: 1rem; transition: var(--transition);
}
.doc-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.doc-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0;
}
.doc-info h4 { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.15rem; color: var(--navy); }
.doc-info p { font-size: 0.82rem; color: var(--text-muted); }

.step-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem; transition: var(--transition);
}
.step-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.step-number {
  width: 40px; height: 40px; border-radius: var(--radius-full);
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; margin-bottom: 0.85rem;
}

.org-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem; text-align: center;
  transition: var(--transition);
}
.org-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.org-avatar {
  width: 64px; height: 64px; border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  color: var(--primary); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 0.75rem; font-weight: 700;
}

/* ═══════════════════════════════════════════════
   MOBILE COMFORT IMPROVEMENTS
   ═══════════════════════════════════════════════ */
@media (max-width: 640px) {
  body { font-size: 0.95rem; }

  .hero-card-floating { padding: 1.15rem; }

  /* Empat Pilar: Grid 2x2 di Mobile */
  .grid-4 { grid-template-columns: repeat(2, 1fr) !important; gap: 0.75rem !important; }
  .service-card { padding: 1rem 0.75rem !important; border-radius: var(--radius-md) !important; }
  .service-icon { width: 38px !important; height: 38px !important; font-size: 1.1rem !important; margin-bottom: 0.5rem !important; border-radius: 8px !important; }
  .service-card h3 { font-size: 0.92rem !important; margin-bottom: 0.25rem !important; }
  .service-card p { font-size: 0.78rem !important; line-height: 1.4 !important; }

  /* Berita Mobile: Tampil 1 kartu sekaligus, auto slide */
  .news-slider-track {
    display: block !important;
    position: relative;
    overflow: hidden;
    width: 100% !important;
  }
  .news-slider-track .news-card {
    display: none !important;
    border-radius: 14px !important;
  }
  .news-slider-track .news-card.news-active {
    display: flex !important;
    flex-direction: column;
    width: 100% !important;
  }
  .news-img { height: 180px !important; }
  .news-body { padding: 1rem !important; }
  .news-title { font-size: 1rem !important; line-height: 1.35 !important; }

  /* Video Marquee: Ukuran Card Dikecilkan untuk Mobile View */
  .vc-card-item { width: 230px !important; border-radius: 12px !important; }
  .vc-info-wrap { padding: 10px 12px 12px !important; }
  .vc-item-title { font-size: 0.85rem !important; line-height: 1.3 !important; }
  .vc-item-desc { font-size: 0.75rem !important; }
  .vc-play-btn > svg { width: 42px !important; height: 42px !important; padding: 12px !important; }

  .section-title h2 { font-size: 1.5rem; }

  .btn { padding: 0.7rem 1.25rem; font-size: 0.85rem; }

  .footer-col h4 { font-size: 0.85rem; }
  .footer-links a { font-size: 0.82rem; }

  .step-card { padding: 1.15rem; }
  .step-number { width: 36px; height: 36px; font-size: 0.9rem; }

  .org-avatar { width: 52px; height: 52px; font-size: 1.25rem; }

  .a11y-fab { width: 44px; height: 44px; bottom: 1rem; right: 1rem; }
  .a11y-panel { bottom: 4.5rem; right: 1rem; width: calc(100vw - 2rem); padding: 1.15rem; }
}

@media (max-width: 400px) {
  .hero-content h1 { font-size: 1.45rem; }
  .container { padding: 0 0.85rem; }
}
