.btn-danger {
  color: #fff;
  background-color: #cf0909;
  border-color: #cf0909;
}

.custom-accordion .accordion-item .btn-link[aria-expanded="true"] {
  font-weight: 700;
  color: #136ad5 !important;
  background: rgba(255, 230, 0, 0.9);
}

/* Hero headline – typography for national/international scale */
.hero-headline {
  max-width: 42em;
  margin-left: auto;
  margin-right: auto;
}

.hero-title {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
  opacity: 0.95;
}

.hero-tagline {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 400;
  line-height: 1.6;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  opacity: 0.9;
}

@media (min-width: 992px) {
  .hero-title {
    margin-bottom: 0.625rem;
  }

  .hero-subtitle {
    margin-bottom: 1.5rem;
  }
}

/* Global typography – Plus Jakarta Sans */
body,
button,
input,
select,
textarea {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
}

h4 {
  font-size: 1.125rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.875rem;
}

.site-footer .widget h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Smooth scrolling for in-page anchors */
html {
  scroll-behavior: smooth;
}

/* Back to Top (Back To Home) button */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: none;
  background: rgba(19, 106, 213, 0.95);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 999;
}

.back-to-top span {
  font-size: 1.4rem;
  line-height: 1;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 767.98px) {
  .back-to-top {
    right: 1rem;
    bottom: 1rem;
    width: 2.75rem;
    height: 2.75rem;
  }
}

.howto-timeline {
  position: relative;
  padding-left: 0;
}

.howto-timeline::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #136ad5 0%, rgba(19, 106, 213, 0.3) 100%);
  border-radius: 2px;
}

.howto-timeline-item {
  position: relative;
  padding-left: 80px;
  padding-bottom: 40px;
}

.howto-timeline-item:last-child {
  padding-bottom: 0;
}

.howto-timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #136ad5;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(19, 106, 213, 0.2);
}

.howto-timeline-marker .howto-timeline-number {
  display: block;
}

.howto-timeline-marker .howto-timeline-icon {
  display: none;
}

.howto-timeline-content {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  padding: 25px 30px;
  transition: box-shadow 0.3s ease;
}

.howto-timeline-content:hover {
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

.howto-timeline-content h3 {
  font-size: 20px;
  color: #000;
  font-weight: 600;
}

.howto-timeline-content p {
  color: #6c757d;
}

.howto-timeline-content a {
  color: #136ad5;
  font-weight: 500;
}

.howto-timeline-content a:hover {
  color: #ec661f;
}

@media (max-width: 767.98px) {
  .howto-timeline::before {
    left: 19px;
  }

  .howto-timeline-item {
    padding-left: 60px;
    padding-bottom: 30px;
  }

  .howto-timeline-marker {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .howto-timeline-content {
    padding: 20px;
  }

  .howto-timeline-content h3 {
    font-size: 18px;
  }
}

/* ============================================
   Kategori Pelaporan Section
   ============================================ */
.kategori-section .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(19, 106, 213, 0.08) 0%, rgba(236, 102, 31, 0.08) 100%);
  color: #136ad5;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.kategori-section .section-badge i {
  font-size: 14px;
}

.kategori-section .section-subtitle {
  color: #6c757d;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.kategori-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s cubic-bezier(.22, 1, .36, 1), box-shadow 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.kategori-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.kategori-card-header {
  padding: 30px 30px 24px;
  position: relative;
  overflow: hidden;
}

.kategori-card-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.kategori-card-header.wbs-header {
  background: linear-gradient(135deg, #136ad5 0%, #1a7ff0 50%, #0d5ab8 100%);
}

.kategori-card-header.ppks-header {
  background: linear-gradient(135deg, #ec661f 0%, #f07d3e 50%, #d45a18 100%);
}

.kategori-card-header .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
  color: #ffffff;
}

.kategori-card-header h3 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.kategori-card-header .card-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.kategori-card-body {
  padding: 28px 30px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.kategori-card-body .body-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #adb5bd;
  margin-bottom: 18px;
}

.incident-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background 0.2s ease;
}

.incident-item:last-child {
  border-bottom: none;
}

.incident-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.incident-icon.wbs-icon {
  background: rgba(19, 106, 213, 0.08);
  color: #136ad5;
}

.incident-icon.ppks-icon {
  background: rgba(236, 102, 31, 0.08);
  color: #ec661f;
}

.incident-info h5 {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 3px;
}

.incident-info p {
  font-size: 13px;
  color: #868e96;
  margin-bottom: 0;
  line-height: 1.5;
}

.incident-desc {
  font-size: 13px;
  color: #868e96;
  line-height: 1.5;
}

.incident-desc p {
  margin-bottom: 4px;
}

.incident-desc p:last-child {
  margin-bottom: 0;
}

.incident-desc ul,
.incident-desc ol {
  margin: 4px 0 0;
  padding-left: 18px;
}

.incident-desc li {
  margin-bottom: 2px;
}

.incident-desc em {
  font-style: italic;
}

.kategori-card-footer {
  padding: 0 30px 28px;
  margin-top: auto;
}

.btn-kategori {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-kategori.btn-wbs {
  background: rgba(19, 106, 213, 0.08);
  color: #136ad5;
  border-color: rgba(19, 106, 213, 0.15);
}

.btn-kategori.btn-wbs:hover {
  background: #136ad5;
  color: #ffffff;
  border-color: #136ad5;
  box-shadow: 0 8px 25px rgba(19, 106, 213, 0.3);
}

.btn-kategori.btn-ppks {
  background: rgba(236, 102, 31, 0.08);
  color: #ec661f;
  border-color: rgba(236, 102, 31, 0.15);
}

.btn-kategori.btn-ppks:hover {
  background: #ec661f;
  color: #ffffff;
  border-color: #ec661f;
  box-shadow: 0 8px 25px rgba(236, 102, 31, 0.3);
}

.btn-kategori i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.btn-kategori:hover i {
  transform: translateX(3px);
}

.kategori-info-banner {
  background: linear-gradient(135deg, rgba(19, 106, 213, 0.04) 0%, rgba(236, 102, 31, 0.04) 100%);
  border: 1px dashed rgba(19, 106, 213, 0.2);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.kategori-info-banner .info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: rgba(19, 106, 213, 0.1);
  color: #136ad5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.kategori-info-banner p {
  margin: 0;
  font-size: 14px;
  color: #495057;
  line-height: 1.6;
}

@media (max-width: 991.98px) {
  .kategori-card-header {
    padding: 24px 22px 20px;
  }

  .kategori-card-body {
    padding: 22px 22px 24px;
  }

  .kategori-card-footer {
    padding: 0 22px 22px;
  }
}