/* BKPSDM Public Stylesheet - Korpri Color Scheme */
:root {
  --primary: #003366;
  --primary-dark: #002244;
  --primary-light: #0055A4;
  --accent: #D4AF37;
  --accent-light: #F5C518;
  --dark: #001a33;
  --text: #2d3748;
  --text-light: #718096;
  --bg: #f7f9fc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 20px rgba(0, 51, 102, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 51, 102, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Top Bar ===== */
.topbar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  padding: 8px 0;
  position: relative;
  z-index: 1001;
}

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

.topbar-left {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-left span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-left i {
  color: var(--accent);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-right a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: var(--transition);
}

.topbar-right a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.topbar-login {
  background: var(--accent);
  color: var(--dark) !important;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.75rem !important;
}

.topbar-login:hover {
  background: var(--accent-light);
}

/* ===== Header ===== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  box-shadow: none;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  position: fixed;
  background: rgba(0, 26, 51, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  gap: 24px;
}

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

.brand-logo {
  height: 48px;
  width: 48px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.94);
  padding: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.brand:hover .brand-logo {
  transform: scale(1.05);
}

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

.brand-name {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.brand-full {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.76);
  max-width: 320px;
  line-height: 1.3;
}

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

.main-nav > a,
.nav-dropdown > .nav-link {
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--white);
  position: relative;
}

.main-nav > a:hover,
.main-nav > a.active,
.nav-dropdown > .nav-link:hover,
.nav-dropdown > .nav-link.active {
  color: var(--accent-light);
  background: rgba(255, 255, 255, 0.1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.nav-chevron {
  font-size: 0.7rem;
  transition: transform 0.25s ease;
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown.open .nav-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text);
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: rgba(26, 58, 107, 0.06);
  color: var(--primary);
}

.dropdown-menu a i {
  width: 14px;
  color: var(--accent-dark);
  font-size: 0.75rem;
  text-align: center;
}

.dropdown-menu-wide {
  min-width: 285px;
}

.dropdown-menu-document {
  min-width: 245px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: var(--transition);
}

@media (max-width: 1100px) {
  .header-inner {
    position: relative;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: rgba(0, 26, 51, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav > a,
  .nav-dropdown > .nav-link {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    max-height: 0;
    padding: 0 8px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-dropdown:hover .dropdown-menu {
    max-height: 0;
    padding: 0 8px;
    opacity: 0;
    visibility: hidden;
  }

  .nav-dropdown.open .dropdown-menu {
    max-height: 380px;
    margin-top: 4px;
    padding: 8px;
    opacity: 1;
    visibility: visible;
  }

  .dropdown-menu a {
    color: rgba(255, 255, 255, 0.86);
  }

  .dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-light);
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  background-size: cover;
  background-position: center;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13, 27, 51, 0.9), rgba(13, 27, 51, 0.6), rgba(13, 27, 51, 0.3));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--dark);
  padding: 6px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--primary);
}

.btn-light:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--primary);
  margin-bottom: 15px;
}

.section-desc {
  color: var(--text-light);
  max-width: 900px;
  margin: 0 auto;
}

.section-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section-link:hover {
  color: var(--accent);
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.section-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 22px;
  border: 2px solid var(--accent);
  border-radius: 12px;
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.22);
  font-size: 0.82rem;
  font-weight: 800;
}

.section-action-button:hover,
.section-action-button:focus-visible {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(0, 51, 102, 0.22);
  transform: translateY(-3px);
}

/* ===== Stats ===== */
.stats-section {
  background: var(--white);
  padding: 50px 0;
  margin-top: -40px;
  position: relative;
  z-index: 3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.stat-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 15px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 5px;
}

/* ===== Services ===== */
.services-section {
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.services-grid-large {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: rotate(-8deg) scale(1.05);
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.service-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card:hover .service-link {
  gap: 10px;
}

/* ===== Announcements ===== */
.announcements-section {
  background: var(--white);
}

.announcement-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.announcement-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}

.announcement-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.announcement-date {
  text-align: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 60px;
}

.announcement-date .day {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
}

.announcement-date .month {
  font-size: 0.7rem;
  text-transform: uppercase;
}

.announcement-content {
  flex: 1;
}

.announcement-content h3 {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 5px;
}

.announcement-content p {
  color: var(--text-light);
  font-size: 0.85rem;
}

.announcement-arrow {
  color: var(--accent);
  font-size: 1.2rem;
}

/* ===== News ===== */
.news-section {
  background: var(--bg);
}

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

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.news-thumb {
  position: relative;
  display: block;
  height: 200px;
  overflow: hidden;
}

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

.news-card:hover .news-thumb img {
  transform: scale(1.1);
}

.news-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 3rem;
}

.news-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: var(--dark);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
}

.news-body {
  padding: 20px;
}

.news-date {
  color: var(--text-light);
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.news-body h3 {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

.news-body h3 a {
  color: var(--primary);
}

.news-body h3 a:hover {
  color: var(--accent);
}

.news-body p {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* ===== News & Announcement Detail ===== */
.post-detail {
  overflow: hidden;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.post-detail .post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.post-detail .news-category {
  position: static;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.post-detail .news-date,
.post-detail .news-views {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--text-light);
  font-size: 0.78rem;
  line-height: 1.4;
  white-space: nowrap;
}

.post-detail .news-date i,
.post-detail .news-views i {
  color: var(--primary-light);
}

.post-image {
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: 16px;
  background: var(--bg);
}

.post-image img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.post-content {
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.9;
}

.post-content p,
.post-content ul,
.post-content ol,
.post-content blockquote {
  margin-bottom: 18px;
}

.post-content ul,
.post-content ol {
  padding-left: 22px;
}

.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }

.related-posts {
  margin-top: 48px;
}

.related-posts > h3 {
  margin-bottom: 22px;
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
}

/* ===== Infographics ===== */
.infographic-section {
  background: var(--white);
}

.infographic-slider {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.infographic-viewport {
  overflow: hidden;
  padding: 8px;
  margin: -8px;
}

.infographic-track {
  display: flex;
  gap: 18px;
  align-items: stretch;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.infographic-card {
  flex: 0 0 calc((100% - 54px) / 4);
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--primary-dark);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.infographic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.infographic-card > span {
  display: none;
}

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

.infographic-card:hover img {
  transform: scale(1.012);
}

.infographic-dots {
  display: flex;
  min-height: 12px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 17px;
}

.infographic-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.infographic-dots button:hover,
.infographic-dots button:focus-visible {
  background: #6683a5;
  transform: scale(1.3);
}

.infographic-dots button.active {
  background: var(--primary);
  transform: scale(1.2);
}

.infographic-all-action {
  display: flex;
  justify-content: center;
  margin-top: 27px;
}

.infographic-all-action a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 9px;
  background: #ecc36e;
  color: var(--primary-dark);
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.18);
  font-size: 0.86rem;
  font-weight: 700;
}

.infographic-all-action a:hover,
.infographic-all-action a:focus-visible {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.infographic-gallery-section {
  background: var(--bg);
}

.infographic-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.infographic-gallery-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.infographic-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}

.infographic-gallery-card > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 34, 68, 0.88);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(7px);
}

.infographic-gallery-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.infographic-gallery-card:hover img {
  transform: scale(1.025);
}

/* ===== Q & A Video ===== */
.qa-section,
.qa-gallery-section {
  background: var(--white);
}

.qa-gallery-section {
  background: var(--bg);
}

.qa-feature-grid,
.qa-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.qa-gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.qa-search {
  position: relative;
  width: min(680px, 100%);
  margin: -4px auto 12px;
}

.qa-search > i {
  position: absolute;
  top: 50%;
  left: 20px;
  z-index: 1;
  color: var(--primary-light);
  transform: translateY(-50%);
  pointer-events: none;
}

.qa-search input {
  width: 100%;
  height: 54px;
  padding: 0 56px 0 50px;
  border: 1px solid #d8e2ed;
  border-radius: 14px;
  outline: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 9px 28px rgba(0, 51, 102, 0.08);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.qa-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.13), 0 12px 30px rgba(0, 51, 102, 0.1);
}

.qa-search button {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: #edf3f8;
  color: var(--primary);
  cursor: pointer;
  transform: translateY(-50%);
}

.qa-search button:hover,
.qa-search button:focus-visible {
  background: var(--primary);
  color: var(--white);
}

.qa-search-status {
  min-height: 24px;
  margin-bottom: 18px;
  color: var(--text-light);
  font-size: 0.76rem;
  text-align: center;
}

.qa-search-empty {
  padding: 54px 20px;
  border: 1px dashed #cbd8e6;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-light);
  text-align: center;
}

.qa-search-empty i {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 2rem;
}

.qa-search-empty h3 {
  margin-bottom: 4px;
  color: var(--primary);
}

.qa-search-empty p {
  font-size: 0.84rem;
}

.qa-video-card {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--primary-dark);
  box-shadow: 0 12px 28px rgba(0, 34, 68, 0.16);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qa-video-card[hidden] {
  display: none;
}

.qa-video-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.qa-video-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 20, 42, 0.04) 28%, rgba(0, 20, 42, 0.92) 100%);
}

.qa-play {
  position: absolute;
  top: 45%;
  left: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: #e62b2f;
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.qa-play i {
  margin-left: 3px;
  font-size: 1.05rem;
}

.qa-video-copy {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.qa-video-copy small {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
}

.qa-video-copy small > i {
  width: 0;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.65);
  transition: width 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.qa-video-card:hover .qa-video-copy small > i,
.qa-video-card:focus-visible .qa-video-copy small > i {
  width: 14px;
  opacity: 1;
  transform: scale(1);
}

.qa-video-copy small span {
  margin-left: auto;
  text-transform: none;
}

.qa-video-copy strong {
  color: var(--white);
  font-size: clamp(0.96rem, 1.5vw, 1.14rem);
  line-height: 1.35;
}

.qa-video-copy > span {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.76rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.qa-video-card:hover,
.qa-video-card:focus-visible {
  box-shadow: 0 18px 40px rgba(0, 34, 68, 0.25);
  outline: 3px solid rgba(212, 175, 55, 0.65);
  outline-offset: 3px;
  transform: translateY(-5px);
}

.qa-video-card:hover > img,
.qa-video-card:focus-visible > img {
  transform: scale(1.035);
}

.qa-video-card:hover .qa-play,
.qa-video-card:focus-visible .qa-play {
  background: var(--accent);
  color: var(--primary-dark);
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.08);
}

.youtube-modal[hidden] {
  display: none;
}

.youtube-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  padding: 24px;
  place-items: center;
}

.youtube-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 18, 38, 0.84);
  backdrop-filter: blur(7px);
}

.youtube-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: #071a2d;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.youtube-modal-header {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px 12px 20px;
  color: var(--white);
}

.youtube-modal-header h2 {
  overflow: hidden;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.youtube-modal-close {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}

.youtube-modal-close:hover,
.youtube-modal-close:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--primary-dark);
}

.youtube-modal-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.youtube-modal-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.youtube-modal-link {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 700;
}

.youtube-modal-link:hover,
.youtube-modal-link:focus-visible {
  color: var(--accent-light);
}

body.video-modal-open {
  overflow: hidden;
}

/* ===== Public Service Shortcuts ===== */
.public-services-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef4fa 100%);
}

.public-services-page {
  min-height: 620px;
}

.public-services-hero p {
  max-width: 650px;
  margin: 12px 0 18px;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--accent-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.public-services-section::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(0, 85, 164, 0.06);
  pointer-events: none;
}

.public-services-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.public-service-card {
  position: relative;
  display: flex;
  min-height: 270px;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 24px;
  overflow: hidden;
  border: 1px solid #dce6f0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(0, 51, 102, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.public-service-card::after {
  content: '';
  position: absolute;
  right: -35px;
  bottom: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(0, 85, 164, 0.05);
  transition: transform 0.35s ease;
}

.public-service-card:hover {
  border-color: rgba(0, 85, 164, 0.25);
  box-shadow: 0 18px 42px rgba(0, 51, 102, 0.14);
  transform: translateY(-7px);
}

.public-service-card:hover::after {
  transform: scale(1.35);
}

.public-service-logo {
  display: flex;
  width: calc(100% - 42px);
  height: 72px;
  margin-bottom: 22px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 9px 12px;
  border: 1px solid #e3eaf2;
  border-radius: 14px;
  background: #fff;
}

.public-service-logo img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 54px;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
}

.public-service-card:nth-child(2) .public-service-logo img,
.public-service-card:nth-child(3) .public-service-logo img {
  width: 100%;
  height: 54px;
}

.public-service-card:first-child .public-service-logo img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-position: center;
}

.public-service-card:nth-child(4) .public-service-logo img {
  width: 150px;
  height: 150px;
  max-height: none;
  flex: 0 0 150px;
  object-fit: contain;
  object-position: center;
}

.public-service-logo--favicon img {
  width: 58px;
  height: 58px;
  max-height: 58px;
  object-fit: contain;
  object-position: center;
}

.public-service-logo--ppid img,
.public-service-logo--portal-rb img {
  width: 46px;
  height: 46px;
  max-height: 46px;
}

.public-service-logo--wbs {
  padding-block: 4px;
}

.public-service-logo--wbs img {
  width: auto;
  height: 62px;
  max-height: 62px;
}

.public-service-card:hover .public-service-logo img {
  transform: scale(1.04);
}

.public-service-content {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.public-service-label {
  margin-bottom: 7px;
  color: var(--primary-light);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-service-card h3 {
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-size: 1.02rem;
}

.public-service-card p {
  margin-bottom: 18px;
  color: var(--text-light);
  font-size: 0.78rem;
  line-height: 1.65;
}

.public-service-card small {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: #56708e;
  font-size: 0.67rem;
  word-break: break-word;
}

.public-service-arrow {
  position: absolute;
  top: 25px;
  right: 23px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--primary-light);
  font-size: 0.72rem;
  transition: var(--transition);
}

.public-service-card:hover .public-service-arrow {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--dark);
}

/* ===== Public Satisfaction Survey ===== */
.survey-section {
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
}

.survey-container {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  gap: 56px;
  align-items: center;
}

.survey-copy h2 {
  margin-bottom: 16px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
}

.survey-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.survey-assurance {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--accent-light);
  font-size: 0.84rem;
}

.survey-form {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.survey-form fieldset {
  margin-bottom: 22px;
  border: 0;
}

.survey-form legend,
.survey-form > label {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
  font-weight: 700;
}

.survey-form > label small {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.survey-rating {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.rating-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rating-option span {
  display: flex;
  min-height: 88px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  transition: var(--transition);
}

.rating-option i {
  font-size: 1.55rem;
}

.rating-option small {
  text-align: center;
  font-size: 0.68rem;
  line-height: 1.25;
}

.rating-option input:checked + span,
.rating-option input:focus-visible + span {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-3px);
}

.survey-form textarea {
  width: 100%;
  margin-bottom: 18px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.survey-alert {
  margin-bottom: 18px;
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 0.84rem;
}

.survey-alert.success { background: rgba(34, 197, 94, 0.22); }
.survey-alert.error { background: rgba(239, 68, 68, 0.24); }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 60px 0;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-text h2 {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.8);
}

/* ===== Page Hero ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 150px 0 60px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.85rem;
  position: relative;
  z-index: 2;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  color: var(--accent);
}

.breadcrumb i {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== Page Content ===== */
.page-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  line-height: 1.8;
}

.page-content h3 {
  color: var(--primary);
  margin: 20px 0 10px;
}

.page-content p {
  margin-bottom: 15px;
}

.page-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 15px;
}

.page-content li {
  margin-bottom: 8px;
}

.organization-chart {
  margin: 0;
}

.organization-chart a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f4f8fc;
  box-shadow: 0 12px 35px rgba(0, 51, 102, 0.1);
}

.organization-chart img {
  width: 100%;
  height: auto;
  transition: transform 0.45s ease;
}

.organization-chart a:hover img {
  transform: scale(1.012);
}

.organization-chart figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-top: 1px solid var(--border);
  background: var(--white);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
}

/* ===== Service Detail ===== */
.service-detail {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.service-detail-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
}

.service-icon-large {
  width: 80px;
  height: 80px;
  font-size: 2rem;
  border-radius: 20px;
}

.service-detail-header h2 {
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  margin-bottom: 8px;
}

.service-detail-header p {
  color: var(--text-light);
}

.service-block {
  margin-bottom: 30px;
}

.service-block h3 {
  color: var(--primary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-block h3 i {
  color: var(--accent);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
}

.service-list li::before {
  content: '•';
  color: var(--accent);
  font-weight: 700;
}

.service-list-numbered li {
  align-items: center;
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.service-cta {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.service-cta p {
  color: var(--text-light);
}

/* ---BAGIAN 5: Animations & Reveal --- */

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }
[data-delay="500"] { transition-delay: 500ms; }

/* ===== Scroll to Top ===== */
/* ===== Accessibility Menu ===== */
.accessibility-toggle {
  position: fixed;
  z-index: 10003;
  bottom: 30px;
  left: 30px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: none;
  overflow: hidden;
  border-radius: 50%;
  background: #0b427a;
  color: var(--white);
  box-shadow: 0 12px 32px rgba(0, 34, 68, 0.24);
  cursor: pointer;
  font-size: 1.45rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.accessibility-toggle i {
  color: #fff;
}

.accessibility-toggle:hover,
.accessibility-toggle:focus-visible {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 16px 38px rgba(0, 34, 68, 0.3);
  transform: translateY(-4px);
}

.accessibility-toggle.active {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.accessibility-backdrop {
  position: fixed;
  z-index: 10000;
  inset: 0;
  background: rgba(0, 20, 40, 0.42);
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(3px);
  transition: opacity 0.3s ease, visibility 0.3s;
}

.accessibility-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.accessibility-panel {
  position: fixed;
  z-index: 10002;
  top: 16px;
  bottom: 16px;
  left: 16px;
  width: min(360px, calc(100vw - 32px));
  padding: 22px;
  overflow-y: auto;
  border: 1px solid rgba(0, 51, 102, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(0, 30, 60, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateX(calc(-100% - 30px));
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s;
}

.accessibility-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.accessibility-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.accessibility-eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  color: var(--primary-light);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.accessibility-panel h2 {
  color: var(--primary-dark);
  font-size: 1.2rem;
  line-height: 1.3;
}

.accessibility-header-actions {
  display: flex;
  gap: 7px;
}

.accessibility-header-actions button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--primary);
  cursor: pointer;
}

.accessibility-header-actions button:hover,
.accessibility-header-actions button:focus-visible {
  border-color: var(--accent);
  background: #fff8df;
}

.accessibility-font-control {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f8fafc;
}

.accessibility-font-control > span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
}

.accessibility-font-control > div {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 12px;
}

.accessibility-font-control button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 13px;
  background: #42bddf;
  color: var(--white);
  cursor: pointer;
  font-size: 1rem;
}

.accessibility-font-control strong {
  color: var(--primary-dark);
  text-align: center;
  font-size: 0.95rem;
}

.accessibility-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.accessibility-option {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 8px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 5px 16px rgba(0, 34, 68, 0.07);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  line-height: 1.35;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.accessibility-option > i {
  color: var(--primary);
  font-size: 1.55rem;
}

.accessibility-option:hover,
.accessibility-option:focus-visible {
  border-color: #42bddf;
  transform: translateY(-2px);
}

.accessibility-option.active,
.accessibility-option[aria-pressed="true"] {
  border-color: #2fb9df;
  background: #eafaff;
  box-shadow: 0 0 0 2px rgba(47, 185, 223, 0.16);
}

.accessibility-status {
  min-height: 20px;
  margin-top: 14px;
  color: var(--primary);
  font-size: 0.7rem;
  text-align: center;
}

.reading-guide {
  position: fixed;
  z-index: 9999;
  top: 50%;
  right: 0;
  left: 0;
  display: none;
  height: 38px;
  border-top: 2px solid #25b9df;
  border-bottom: 2px solid #25b9df;
  background: rgba(255, 229, 77, 0.17);
  box-shadow: 0 0 0 9999px rgba(0, 21, 41, 0.08);
  pointer-events: none;
}

body.a11y-reading-guide .reading-guide { display: block; }
body.a11y-hide-images main img,
body.a11y-hide-images main video,
body.a11y-hide-images main canvas,
body.a11y-hide-images footer img { opacity: 0 !important; }

body.a11y-highlight-links a:not(.accessibility-toggle) {
  outline: 3px solid #ffbf00 !important;
  outline-offset: 3px !important;
  background-color: #fff3a6 !important;
  color: #001a33 !important;
  text-decoration: underline !important;
}

body.a11y-dyslexia,
body.a11y-dyslexia button,
body.a11y-dyslexia input,
body.a11y-dyslexia textarea,
body.a11y-dyslexia select {
  font-family: Verdana, Tahoma, Arial, sans-serif !important;
}

body.a11y-letter-spacing { letter-spacing: 0.11em !important; }
body.a11y-line-height { line-height: 2 !important; }
body.a11y-line-height p,
body.a11y-line-height li,
body.a11y-line-height a { line-height: 2 !important; }

body.a11y-bold p,
body.a11y-bold li,
body.a11y-bold a,
body.a11y-bold span,
body.a11y-bold label,
body.a11y-bold input,
body.a11y-bold textarea { font-weight: 700 !important; }

body.a11y-negative > *:not(.accessibility-panel):not(.accessibility-toggle):not(.accessibility-backdrop):not(.reading-guide):not(script) {
  filter: invert(1) hue-rotate(180deg);
}

body.a11y-grayscale > *:not(.accessibility-panel):not(.accessibility-toggle):not(.accessibility-backdrop):not(.reading-guide):not(script) {
  filter: grayscale(1);
}

body.a11y-big-cursor,
body.a11y-big-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M5 3v35l9-9 7 15 7-4-7-14h13z' fill='white' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3, auto !important;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 480px) {
  .accessibility-panel {
    top: 8px;
    bottom: 8px;
    left: 8px;
    width: calc(100vw - 16px);
    padding: 17px;
    border-radius: 18px;
  }

  .accessibility-toggle {
    bottom: 16px;
    left: 16px;
    width: 48px;
    height: 48px;
  }

  .accessibility-option {
    min-height: 102px;
  }
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.scroll-top:hover {
  background: var(--accent);
  transform: translateY(-4px);
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 76px 0 0;
  background: linear-gradient(145deg, #00182f 0%, #002b55 60%, #003c65 100%);
  color: rgba(255, 255, 255, 0.76);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #f4d875, #4f9e39, var(--accent));
}

.footer-glow {
  position: absolute;
  top: -180px;
  right: -130px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(0, 101, 164, 0.24);
  filter: blur(8px);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 1.55fr) 0.72fr 1fr minmax(300px, 1.25fr);
  gap: 48px;
  padding-bottom: 58px;
}

.footer-brand-panel {
  padding-right: 18px;
}

.footer-identity {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
}

.footer-identity img {
  width: 56px;
  height: 56px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.96);
  object-fit: contain;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.footer-identity span {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.footer-identity strong {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-identity small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
}

.footer-brand-panel > p {
  max-width: 390px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.84rem;
  line-height: 1.8;
}

.footer-motto {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  color: #f2d77b;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.footer-social a {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: transparent;
  color: var(--white);
  transform: translateY(-4px);
}

.footer-social .facebook:hover { background: #1877f2; }
.footer-social .instagram:hover { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.footer-social .twitter:hover { background: #111; }
.footer-social .youtube:hover { background: #ff0000; }
.footer-social .maps:hover { background: #238636; }

.footer-col h4 {
  position: relative;
  margin-bottom: 23px;
  padding-bottom: 12px;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 38px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), #f5d96f);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.82rem;
  line-height: 1.5;
  transition: var(--transition);
}

.footer-col li > a > i {
  color: var(--accent);
  font-size: 0.58rem;
}

.footer-col a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list a {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 10px;
}

.footer-contact-list a > i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 9px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-light);
  font-size: 0.8rem;
}

.footer-contact-list a:hover {
  transform: none;
}

.footer-contact-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 9px;
  margin-top: 22px;
}

.footer-map-button {
  display: inline-flex !important;
  width: fit-content;
  align-items: center;
  gap: 6px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white) !important;
  font-size: 0.68rem !important;
  font-weight: 700;
  white-space: nowrap;
}

.footer-map-button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--dark) !important;
  transform: translateY(-2px) !important;
}

.footer-map-button i:last-child {
  font-size: 0.65rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 19px 0;
  background: rgba(0, 10, 22, 0.25);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* ===== Hero Enhanced - Slideshow, Video, Particle ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Slideshow */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slideshow .hero-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  background: #071d37;
  opacity: 0;
  animation: none;
  transition: opacity 1.5s ease-in-out;
  transform: none;
}

.hero-slideshow .hero-slide.active {
  opacity: 1;
  transform: none;
}

.hero-slide-backdrop {
  position: absolute;
  inset: -28px;
  z-index: 0;
  background-image: var(--hero-slide-image);
  background-position: center;
  background-size: cover;
  filter: blur(22px) brightness(0.52);
  opacity: 0.68;
  transform: scale(1.06);
}

.hero-slide-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-slide-text {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  z-index: 5;
}

.hero-slide-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-slide-text p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Video Background */
.hero-video-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.hero-video-container video {
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

/* Particle Background */
.hero-particle-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 50%, var(--primary-light) 100%);
}

/* Gradient Background (default) */
.hero-gradient-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 50%, var(--primary-light) 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Particle Canvas */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Hero Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 26, 51, 0.4) 0%, rgba(0, 26, 51, 0.7) 100%);
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.hero-scroll-indicator span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  margin: 0 auto;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollAnim 1.5s ease-in-out infinite;
}

@keyframes scrollAnim {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

/* ===== Cinematic Video Hero ===== */
.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.7) contrast(1.1) saturate(1.1);
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 20, 50, 0.4) 0%,
    rgba(0, 20, 50, 0.2) 40%,
    rgba(0, 20, 50, 0.3) 70%,
    rgba(0, 20, 50, 0.7) 100%
  );
  z-index: 2;
}

.hero-video-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 3;
}

/* Cinematic Fallback Animation */
.hero-video-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cinematic-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #001a33 0%, #003366 25%, #001a33 50%, #002244 75%, #001a33 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.cinematic-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.03) 2px,
    rgba(255, 255, 255, 0.03) 4px
  );
  pointer-events: none;
}

.cinematic-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cinematic-particles::before,
.cinematic-particles::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background-image: radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(2px 2px at 160px 30px, rgba(255, 255, 255, 0.3), transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: particleFloat 20s linear infinite;
}

.cinematic-particles::after {
  background-size: 150px 80px;
  animation-duration: 30s;
  animation-direction: reverse;
  opacity: 0.5;
}

@keyframes particleFloat {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-100px) translateX(50px); }
}

/* Video Loading State */
.hero-video-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s;
}

.hero-video-container.loading::before {
  opacity: 1;
}

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

/* Responsive Video Hero */
@media (max-width: 768px) {
  .post-detail .post-meta {
    align-items: flex-start;
    gap: 10px 14px;
  }

  .page-content:has(.organization-chart) {
    padding: 14px;
  }

  .hero-video {
    min-width: 150%;
    min-height: 150%;
  }

}

/* ===== Stats Section Enhanced ===== */
.stats-section {
  position: relative;
  margin-top: -60px;
  z-index: 10;
  padding: 0 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-lg);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px;
}

.stat-icon-box {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 51, 102, 0.2);
}

.stat-info {
  flex: 1;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Counter Animation */
.stat-number.counting {
  animation: countPulse 0.3s ease-out;
}

@keyframes countPulse {
  0% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .services-grid,
  .services-grid-large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qa-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .infographic-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .infographic-card {
    flex-basis: calc((100% - 18px) / 2);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 30px 20px;
  }

  .survey-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .services-grid,
  .services-grid-large {
    grid-template-columns: 1fr;
  }

  .qa-feature-grid,
  .qa-gallery-grid {
    grid-template-columns: 1fr;
  }

  .qa-video-copy > span {
    display: none;
  }

  .youtube-modal {
    padding: 12px;
  }

  .infographic-gallery-grid {
    grid-template-columns: 1fr;
  }

  .public-services-grid {
    grid-template-columns: 1fr;
  }

  .public-service-card {
    min-height: 0;
  }

  .site-footer {
    padding-top: 58px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-brand-panel {
    padding-right: 0;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }

  .infographic-track {
    gap: 16px;
  }

  .infographic-card {
    flex-basis: 100%;
  }

  .survey-form {
    padding: 22px 16px;
  }

  .survey-rating {
    grid-template-columns: repeat(5, minmax(54px, 1fr));
    gap: 6px;
    overflow-x: auto;
  }

  .header-inner {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-full {
    display: none;
  }

  .page-hero {
    padding: 125px 0 48px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    padding: 24px 16px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== Documents Section ===== */
.documents-section {
  padding: 60px 0;
}

.doc-header {
  margin-bottom: 40px;
}

.doc-search {
  position: relative;
  max-width: 400px;
  margin-bottom: 20px;
}

.doc-search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
}

.doc-search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.1);
}

.doc-search i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.doc-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.doc-filter-btn {
  padding: 10px 22px;
  border-radius: 50px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
}

.doc-filter-btn:hover,
.doc-filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.doc-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  display: flex;
  gap: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.doc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transition: var(--transition);
}

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

.doc-card:hover::before {
  transform: scaleY(1);
}

.doc-card-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
}

.doc-card-body {
  flex: 1;
  min-width: 0;
}

.doc-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.doc-card-body p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.doc-card-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.doc-cat {
  background: rgba(0, 51, 102, 0.08);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 500;
}

.doc-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.doc-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

.doc-date i {
  margin-right: 4px;
}

/* ===== Hero layar penuh tanpa pemotongan media ===== */
.hero {
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
}

.hero-video-container {
  background: radial-gradient(circle at center, #123a61 0%, #06192d 62%, #020c17 100%);
}

.hero-video-container .hero-video {
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  transform: none;
  object-fit: contain;
  object-position: center;
}

.hero-slideshow .hero-slide-media {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-content {
  padding-top: clamp(92px, 15vh, 124px);
  padding-bottom: clamp(68px, 11vh, 88px);
}

.hero + .stats-section {
  margin-top: 0;
}

@media (max-width: 768px) {
  .hero-content {
    width: calc(100% - 30px);
    padding-top: clamp(82px, 13vh, 105px);
    padding-bottom: 64px;
  }

  .hero-badge {
    margin-bottom: 16px;
    padding: 6px 15px;
    font-size: 0.7rem;
  }

  .hero-title {
    margin-bottom: 14px;
    font-size: clamp(1.75rem, 9vw, 2.45rem);
  }

  .hero-subtitle {
    margin-bottom: 20px;
    font-size: clamp(0.86rem, 3.8vw, 1rem);
    line-height: 1.55;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    min-width: min(230px, 100%);
  }

  .hero-scroll-indicator {
    bottom: 13px;
  }
}

@media (max-height: 650px) {
  .hero-badge,
  .hero-scroll-indicator {
    display: none;
  }

  .hero-content {
    padding-top: 80px;
    padding-bottom: 24px;
  }

  .hero-title { margin-bottom: 10px; font-size: clamp(1.65rem, 7vh, 2.6rem); }
  .hero-subtitle { margin-bottom: 14px; line-height: 1.45; }
}
