/*
Theme Name: Klinik Digital Theme
Theme URI: http://localhost/klinik-digital
Author: Klinik Digital • Part of Ruang Karya Berdampak (RKD) Ecosystem
Description: Official custom WordPress theme for Klinik Digital - Indonesia's Digital Society Innovation Lab. Built on a clean, modern, pure native WordPress architecture aligned with ARA, RKD, and Vokasi Bisa.
Version: 2.0.0
Text Domain: klinik-digital-theme
*/

:root {
  /* Brand Primary Colors (Klinik Digital Coral / Red Palette) */
  --brand-primary: #fb2056;          /* Signature Vibrant Coral Red */
  --brand-primary-hover: #e11d48;    /* Deep Crimson Hover */
  --brand-primary-dark: #0f172a;     /* Midnight Slate Base */
  --brand-primary-light: #fff1f2;    /* Soft Coral Rose Tint */
  --brand-primary-border: #ffe4e6;   /* Crisp Coral Border */

  /* Secondary & Accent Colors */
  --brand-accent: #f43f5e;           /* Accent Rose */
  --brand-accent-hover: #be123c;     /* Dark Accent */
  --brand-dark-soft: #1e293b;        /* Soft Slate */
  --brand-navy-card: #0b1120;        /* Deep Navy for Dark Cards */

  /* Neutral Palette */
  --bg-body: #ffffff;
  --bg-light: #f8fafc;
  --bg-surface: #ffffff;
  --bg-muted: #f1f5f9;
  --text-primary: #0f172a;           /* Crisp Slate-900 Headings */
  --text-body: #334155;              /* Balanced Slate-700 Body */
  --text-muted: #64748b;             /* Elegant Slate-500 */
  --text-light: #f8fafc;
  --border-color: #e2e8f0;
  --border-subtle: #f1f5f9;

  /* Typography */
  --font-heading: 'Montserrat', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Noto Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Dimensions & Spacing */
  --header-height: 80px;
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 20px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 35px rgba(15, 23, 42, 0.09);
  --shadow-coral: 0 6px 20px rgba(251, 32, 86, 0.22);
}

/* ==========================================================================
   RESET & BASE STYLING
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-body);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-height);
  min-height: 100%;
  overflow-x: hidden;
}

/* WordPress Admin Bar Compatibility */
body.admin-bar .site-header {
  top: 32px !important;
}
body.admin-bar {
  padding-top: calc(var(--header-height) + 32px);
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px !important;
  }
  body.admin-bar {
    padding-top: calc(var(--header-height) + 46px);
  }
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

h1 { font-size: 2.75rem; font-weight: 800; line-height: 1.15; }
h2 { font-size: 2.15rem; font-weight: 800; line-height: 1.22; }
h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.2rem; font-weight: 700; }
h5 { font-size: 1.05rem; font-weight: 600; }
h6 { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

p {
  margin-bottom: 1.25rem;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.2s ease;
}

a:hover {
  color: var(--brand-primary-hover);
}

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

ul, ol {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 880px;
}

.container-wide {
  max-width: 1320px;
}

/* Layout Utilities */
.grid { display: grid; gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }

.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* Section Utilities */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-lg {
  padding: 6.5rem 0;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-light {
  background-color: var(--bg-light);
}

.section-white {
  background-color: #ffffff;
}

.section-dark {
  background-color: var(--brand-primary-dark);
  color: #f8fafc;
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: #ffffff;
}

.section-dark p {
  color: #94a3b8;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-coral {
  background-color: var(--brand-primary-light);
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary-border);
}

.badge-dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-header .badge {
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1.4;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--brand-primary) !important;
  color: #ffffff !important;
  box-shadow: var(--shadow-coral);
}

.btn-primary:hover {
  background-color: var(--brand-primary-hover) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(251, 32, 86, 0.35);
}

.btn-dark {
  background-color: var(--brand-primary-dark) !important;
  color: #ffffff !important;
}

.btn-dark:hover {
  background-color: #1e293b !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent !important;
  color: var(--brand-primary) !important;
  border: 2px solid var(--brand-primary) !important;
}

.btn-outline:hover {
  background-color: var(--brand-primary) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.8) !important;
}

.btn-outline-white:hover {
  background-color: #ffffff !important;
  color: var(--brand-primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.78rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 0.95rem;
}

/* ==========================================================================
   HEADER & NAVIGATION (ALIGNED 1:1 WITH RKD & VOKASI BISA)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: #ffffff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.25s ease;
  border-bottom: 1px solid var(--border-color);
}

.site-header .container {
  max-width: 100% !important;
  width: 100%;
  padding: 0 40px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  height: 50px;
  flex-shrink: 0;
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-logo {
  height: 46px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
  transition: transform 0.2s ease !important;
}

.header-logo:hover {
  transform: scale(1.03);
}

/* Desktop Navigation (>= 1024px) */
.desktop-nav {
  display: none;
}

@media screen and (min-width: 1024px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
}

.desktop-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
}

.desktop-menu > li {
  position: relative;
}

.desktop-menu > li > a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
  padding: 28px 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.25s ease;
}

.nav-dropdown-arrow {
  font-size: 0.65rem;
  margin-left: 4px;
  opacity: 0.6;
  transition: transform 0.25s ease;
}

.desktop-menu > li:hover > a .nav-dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.desktop-menu > li > a:hover,
.desktop-menu > li.current-menu-item > a,
.desktop-menu > li.current-menu-ancestor > a,
.desktop-menu > li.current-menu-parent > a,
.desktop-menu > li.current_page_ancestor > a,
.desktop-menu > li.current_page_parent > a {
  color: var(--brand-primary) !important;
  font-weight: 700;
}

.desktop-menu > li.current-menu-item > a::before,
.desktop-menu > li.current-menu-ancestor > a::before,
.desktop-menu > li.current-menu-parent > a::before,
.desktop-menu > li.current_page_ancestor > a::before,
.desktop-menu > li.current_page_parent > a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background-color: var(--brand-primary);
  border-radius: 3px 3px 0 0;
}

/* Dropdown Menus */
.desktop-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 290px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  border: 1px solid var(--border-color);
  pointer-events: none;
}

.desktop-menu > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.desktop-menu .sub-menu li {
  position: relative;
}

.desktop-menu .sub-menu li a {
  padding: 10px 22px;
  display: block;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.desktop-menu .sub-menu li a:hover,
.desktop-menu .sub-menu li.current-menu-item > a {
  background-color: var(--brand-primary-light);
  color: var(--brand-primary);
  padding-left: 26px;
  font-weight: 600;
}

/* Ecosystem Nav Item */
.ecosystem-nav-item .eco-nav-link,
.eco-nav-link {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  background: transparent !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.ecosystem-nav-item .eco-nav-link:hover,
.mobile-menu .ecosystem-nav-item .eco-nav-link:hover,
.mobile-menu .ecosystem-nav-item.current-menu-item .eco-nav-link {
  background-color: var(--brand-primary-light) !important;
  transform: translateX(3px) !important;
}

.eco-nav-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  font-size: 1.15rem !important;
  transition: transform 0.2s ease !important;
}

.eco-nav-content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 2px !important;
  text-align: left !important;
  flex-grow: 1 !important;
}

.eco-nav-title {
  font-family: var(--font-heading) !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  line-height: 1.25 !important;
  display: block !important;
}

.eco-nav-subtitle {
  font-size: 0.75rem !important;
  color: #64748b !important;
  line-height: 1.2 !important;
  display: block !important;
  font-weight: 400 !important;
}

/* Header Action CTA */
.header-action {
  display: none;
}

@media screen and (min-width: 1024px) {
  .header-action {
    display: inline-flex;
    margin-left: 1rem;
  }
}

/* Mobile Hamburger (< 1024px) */
.menu-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 8px;
  z-index: 10005 !important;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

@media screen and (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.hamburger-box {
  width: 24px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--brand-primary-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active .hamburger-line:nth-child(1) { transform: translateY(7.75px) rotate(45deg); }
.menu-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
.menu-toggle.active .hamburger-line:nth-child(3) { transform: translateY(-7.75px) rotate(-45deg); }

/* Mobile Drawer Backdrop */
.mobile-nav-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

/* Mobile Slide-in Drawer */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: 320px; max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  box-shadow: -5px 0 30px rgba(15, 23, 42, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-scroll {
  padding: 70px 20px 30px;
  overflow-y: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.mobile-menu > li {
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu > li > a {
  display: block;
  padding: 14px 40px 14px 0;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-menu > li.current-menu-item > a,
.mobile-menu > li.current-menu-ancestor > a {
  color: var(--brand-primary);
}

.mobile-menu .sub-menu {
  list-style: none;
  padding: 0 0 10px 15px;
  margin: 0;
}

.mobile-menu .sub-menu li a {
  display: block;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.mobile-menu .sub-menu li.current-menu-item > a {
  color: var(--brand-primary);
  font-weight: 600;
}

.mobile-nav-action {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.mobile-nav-action .btn {
  width: 100%;
}


.hero-home {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(251, 32, 86, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 6rem 0 5rem;
  border-bottom: 1px solid var(--border-color);
}

.hero-home-content {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.hero-home .badge {
  margin-bottom: 1.5rem;
}

.hero-home h1 {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--brand-primary-dark);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-home h1 span.coral-text {
  color: var(--brand-primary);
}

.hero-home p.hero-lead {
  font-size: 1.25rem;
  color: var(--text-body);
  margin-bottom: 2.25rem;
  line-height: 1.65;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Inner Page Hero */
.hero-inner {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}

.hero-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 32, 86, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-inner .badge {
  margin-bottom: 1.25rem;
}

.hero-inner h1 {
  color: #ffffff;
  font-size: 2.85rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.hero-inner p.lead {
  font-size: 1.2rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 1.5rem;
}

.breadcrumbs a {
  color: #cbd5e1;
}

.breadcrumbs a:hover {
  color: var(--brand-primary);
}

.breadcrumbs span.current {
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   MANIFESTO CALLOUT & STATS
   ========================================================================== */
.manifesto-box {
  background: #ffffff;
  border-left: 5px solid var(--brand-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-md);
  margin: 3rem 0;
}

.manifesto-quote {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--brand-primary-dark);
  line-height: 1.45;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.manifesto-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Impact Numbers / Stats Strip */
.stats-strip {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  margin: -3rem auto 4rem auto;
  position: relative;
  z-index: 10;
  max-width: var(--container-max);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */
.card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  background-color: var(--brand-primary-light);
  color: var(--brand-primary);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Strategic Pillars Cards */
.pillar-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.pillar-number {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #e2e8f0;
}

.pillar-card:hover .pillar-number {
  color: var(--brand-primary-border);
}

.pillar-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.pillar-card ul li {
  font-size: 0.88rem;
  color: #475569;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pillar-card ul li:last-child {
  border-bottom: none;
}

.pillar-card ul li i {
  color: var(--brand-primary);
  font-size: 0.75rem;
}

/* Identity Item */
.identity-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
}

.identity-item:hover {
  border-color: var(--brand-primary);
  background-color: var(--brand-primary-light);
  transform: translateX(4px);
}

.identity-item i {
  color: var(--brand-primary);
  font-size: 1.25rem;
}

.identity-item span {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Core Values Grid */
.value-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  border-top: 4px solid var(--brand-primary);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease;
}

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

.value-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--brand-primary-dark);
}

.value-quote {
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Flow Diagrams */
.flow-diagram {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 3rem 0;
}

.flow-step {
  flex: 1 1 120px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flow-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  font-weight: 800;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem auto;
}

.flow-step-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 1.1rem;
}

/* ==========================================================================
   KNOWLEDGE LAB & PDF PUBLICATIONS SECTION (CRITICAL REQUIREMENT)
   ========================================================================== */
.knowledge-lab-section {
  background-color: var(--bg-light);
  padding: 5rem 0;
}

.publication-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.publication-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.publication-cover {
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  height: 230px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.publication-cover img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.publication-card:hover .publication-cover img {
  transform: scale(1.04);
}

.publication-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.publication-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.publication-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 12px;
  background: var(--brand-primary-light);
  color: var(--brand-primary);
}

.publication-year {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.publication-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.publication-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.btn-download-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 16px;
  background-color: var(--brand-primary-dark);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}

.btn-download-pdf:hover {
  background-color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-coral);
}

/* ==========================================================================
   NEWS & MEDIA GRID (43 ARTICLES)
   ========================================================================== */
.stories-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.story-card {
  display: flex;
  flex-direction: row;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  gap: 2rem;
  align-items: stretch;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.story-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.story-image-col {
  flex: 0 0 280px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.story-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.story-card:hover .story-image-col img {
  transform: scale(1.04);
}

.story-content-col {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-meta {
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.story-badge {
  display: inline-block;
  background-color: var(--brand-primary-light);
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary-border);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 20px;
}

.story-date {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.story-title {
  font-size: 1.35rem;
  margin: 0 0 0.85rem 0;
  line-height: 1.35;
  font-weight: 800;
}

.story-title a {
  color: var(--text-primary);
}

.story-title a:hover {
  color: var(--brand-primary);
}

.story-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 1.25rem 0;
  line-height: 1.6;
}

.story-action {
  margin-top: auto;
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.kd-contact-form {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 16px !important; /* iOS Safari zoom prevention */
  color: var(--text-primary);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(251, 32, 86, 0.15);
}

/* ==========================================================================
   FOOTER (ALIGNED 1:1 WITH RKD & VOKASI BISA)
   ========================================================================== */
.site-footer {
  background-color: var(--brand-primary-dark);
  color: #94a3b8;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 320px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--brand-primary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links li a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links li a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: #94a3b8;
}

.footer-bottom a:hover {
  color: var(--brand-primary);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (ZERO OVERFLOW)
   ========================================================================== */
@media screen and (max-width: 1023px) {
  .site-header .container {
    padding: 0 20px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -2rem;
    padding: 2rem 1.5rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media screen and (max-width: 767px) {
  body {
    padding-top: var(--header-height);
  }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.3rem; }

  .hero-home {
    padding: 4rem 0 3.5rem;
  }
  .hero-home h1 {
    font-size: 2.25rem;
  }
  .hero-home p.hero-lead {
    font-size: 1.05rem;
  }
  .hero-inner {
    padding: 3.5rem 0 3rem;
  }
  .hero-inner h1 {
    font-size: 2.1rem;
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .stats-strip {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .story-card {
    flex-direction: column;
    padding: 1.25rem;
    gap: 1.25rem;
  }
  .story-image-col {
    flex: 0 0 200px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .flow-diagram {
    flex-direction: column;
  }
  .flow-arrow {
    transform: rotate(90deg);
    margin: 8px 0;
  }
}

/* ==========================================================================
   HERO SECTIONS (MATCHING ASIA REGENERATIVE ACADEMY, RKD & VOKASI BISA)
   ========================================================================== */
/* ==========================================================================
   HERO SECTIONS (MATCHING ASIA REGENERATIVE ACADEMY, RKD & VOKASI BISA)
   ========================================================================== */
.hero-section,
.page-hero,
.hero-home,
.hero-inner {
  position: relative;
  min-height: 480px;
  background-color: #0b1120 !important;
  background: 
    radial-gradient(circle at 50% 18%, rgba(251, 32, 86, 0.22) 0%, transparent 65%),
    radial-gradient(circle at 85% 75%, rgba(37, 99, 235, 0.15) 0%, transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(251, 32, 86, 0.12) 0%, transparent 50%),
    linear-gradient(135deg, #070c18 0%, #0b1120 50%, #111b2e 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 115px 0 95px 0 !important;
  overflow: hidden !important;
  color: #ffffff !important;
  text-align: center !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home .hero-section,
.home .page-hero,
.home .hero-home {
  min-height: calc(100vh - var(--header-height, 80px)) !important;
  padding: 80px 0 !important;
}

/* Atmospheric subtle grid texture */
.hero-section::before,
.page-hero::before,
.hero-home::before,
.hero-inner::before {
  content: '' !important;
  position: absolute !important;
  top: 0; left: 0; right: 0; bottom: 0 !important;
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px) !important;
  background-size: 36px 36px !important;
  opacity: 0.55 !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

/* Subtle glowing accent line at the bottom */
.hero-section::after,
.page-hero::after,
.hero-home::after,
.hero-inner::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0; left: 0; right: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, transparent 0%, rgba(251, 32, 86, 0.7) 50%, transparent 100%) !important;
  z-index: 2 !important;
}

.hero-overlay {
  position: absolute !important;
  top: 0; left: 0; right: 0; bottom: 0 !important;
  background: radial-gradient(circle at 50% 25%, rgba(251, 32, 86, 0.12) 0%, transparent 70%),
              linear-gradient(180deg, rgba(11, 17, 32, 0.2) 0%, rgba(11, 17, 32, 0.75) 100%) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.page-hero-inner,
.hero-inner,
.hero-home-content {
  position: relative !important;
  z-index: 3 !important;
  max-width: 960px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}

.hero-title,
.page-title,
.hero-section h1,
.page-hero h1,
.hero-home h1,
.hero-inner h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.4rem) !important;
  font-weight: 800 !important;
  line-height: 1.16 !important;
  letter-spacing: -0.025em !important;
  color: #ffffff !important;
  margin: 1.4rem 0 1.25rem 0 !important;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.5) !important;
}

.hero-title .text-coral,
.page-title .text-coral,
.hero-section .coral-text,
.hero-title .coral-text {
  color: #fb2056 !important;
  background: linear-gradient(135deg, #fb2056 0%, #ff6b8b 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.hero-subtitle,
.page-subtitle,
.hero-lead,
.hero-inner p.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem) !important;
  line-height: 1.75 !important;
  color: rgba(226, 232, 240, 0.92) !important;
  max-width: 860px !important;
  margin: 0 auto 2.25rem auto !important;
  font-weight: 400 !important;
}

.hero-badge,
.page-hero .badge,
.hero-inner .badge,
.hero-home .badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  padding: 0.55rem 1.35rem !important;
  border-radius: 9999px !important;
  background: rgba(251, 32, 86, 0.12) !important;
  border: 1px solid rgba(251, 32, 86, 0.45) !important;
  color: #ff6b8b !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 0 24px rgba(251, 32, 86, 0.25) !important;
}

.hero-badge i,
.page-hero .badge i,
.hero-inner .badge i,
.hero-home .badge i {
  color: #fb2056 !important;
}

/* Translucent hero secondary button */
.page-hero .btn-secondary,
.page-hero .btn-outline,
.hero-section .btn-secondary,
.hero-section .btn-outline {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  backdrop-filter: blur(8px) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
}

.page-hero .btn-secondary:hover,
.page-hero .btn-outline:hover,
.hero-section .btn-secondary:hover,
.hero-section .btn-outline:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.page-hero .btn-primary,
.hero-section .btn-primary {
  background: #fb2056 !important;
  border-color: #fb2056 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(251, 32, 86, 0.35) !important;
}

.page-hero .btn-primary:hover,
.hero-section .btn-primary:hover {
  background: #e11d48 !important;
  border-color: #e11d48 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(251, 32, 86, 0.45) !important;
}

.page-hero .breadcrumbs,
.page-hero .article-breadcrumb {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.5rem !important;
  font-size: 0.85rem !important;
  color: #94a3b8 !important;
  margin-top: 1.25rem !important;
}
.page-hero .breadcrumbs a,
.page-hero .article-breadcrumb a {
  color: #94a3b8 !important;
  text-decoration: none !important;
  transition: color 0.2s;
}
.page-hero .breadcrumbs a:hover,
.page-hero .article-breadcrumb a:hover {
  color: #ffffff !important;
}
.page-hero .breadcrumbs .current,
.page-hero .breadcrumbs span:last-child {
  color: #fb2056 !important;
  font-weight: 600 !important;
}

@media screen and (max-width: 768px) {
  .hero-section,
  .page-hero,
  .hero-home,
  .hero-inner {
    min-height: 420px !important;
    padding: 85px 0 65px 0 !important;
  }
  .hero-title,
  .page-title,
  .hero-section h1,
  .page-hero h1,
  .hero-home h1,
  .hero-inner h1 {
    font-size: 2.15rem !important;
    line-height: 1.2 !important;
  }
  .hero-subtitle,
  .page-subtitle,
  .hero-lead,
  .hero-inner p.lead {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
  }
}
