/**
 * Reclimate x Jejakin-Inspired Modern Climate Tech Design System
 * Dual Theme Support: Default Light Mode + Full Dark Mode
 * Persistent Theme Switcher
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* ==========================================================================
   THEME VARIABLES
   ========================================================================== */

/* 1. DEFAULT: LIGHT THEME */
:root, html[data-theme="light"] {
    --jk-bg-main: #f8faf9;
    --jk-bg-surface: #f0f4f2;
    --jk-bg-surface-elevated: #ffffff;
    --jk-bg-card: #ffffff;
    --jk-bg-card-hover: #ffffff;
    --jk-bg-glass: rgba(255, 255, 255, 0.92);
    
    --jk-border-subtle: #e2e8f0;
    --jk-border-glass: #cbd5e1;
    --jk-border-accent: rgba(16, 185, 129, 0.4);
    --jk-border-accent-hover: rgba(16, 185, 129, 0.8);

    --jk-primary: #10b981;
    --jk-primary-vibrant: #16a34a;
    --jk-primary-lime: #059669;
    --jk-primary-soft: #d1fae5;
    --jk-primary-dark: #064e3b;
    --jk-primary-glow: rgba(16, 185, 129, 0.25);
    /* Hero globe (stylized, data-driven) */
    --jk-globe-fill: #0b2a4a;
    --jk-globe-dot: #2f9e6b;
    --jk-globe-rim: #22c55e;
    --jk-pillar-tree: #a3e635;
    --jk-pillar-coral: #fb7185;
    --jk-pillar-seagrass: #2dd4bf;
    --jk-pillar-waste: #fbbf24;
    --jk-pillar-social: #38bdf8;

    --jk-text-main: #0f172a;
    --jk-text-secondary: #475569;
    --jk-text-muted: #64748b;
    --jk-text-heading: #0f172a;

    --jk-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    --jk-card-shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.08), 0 0 24px rgba(16, 185, 129, 0.12);

    --jk-grid-line: rgba(0, 0, 0, 0.04);
    --jk-input-bg: #f8fafc;
    --jk-input-border: #cbd5e1;
    --jk-input-text: #0f172a;

    --jk-hero-glow: radial-gradient(circle at 50% 15%, rgba(34, 197, 94, 0.12) 0%, transparent 60%);
    --jk-footer-bg: #09130d;
    --jk-footer-text: #94a3b8;
    --jk-footer-title: #ffffff;
}

/* 2. DARK THEME */
html[data-theme="dark"] {
    --jk-bg-main: #060d09;
    --jk-bg-surface: #0c1810;
    --jk-bg-surface-elevated: #132419;
    --jk-bg-card: #0e1b12;
    --jk-bg-card-hover: #15271a;
    --jk-bg-glass: rgba(10, 20, 13, 0.88);
    
    --jk-border-subtle: rgba(255, 255, 255, 0.08);
    --jk-border-glass: rgba(255, 255, 255, 0.12);
    --jk-border-accent: rgba(74, 222, 128, 0.25);
    --jk-border-accent-hover: rgba(74, 222, 128, 0.5);

    --jk-primary: #10b981;
    --jk-primary-vibrant: #22c55e;
    --jk-primary-lime: #4ade80;
    --jk-primary-soft: #a7f3d0;
    --jk-primary-dark: #064e3b;
    --jk-primary-glow: rgba(74, 222, 128, 0.35);
    /* Hero globe (stylized, data-driven) */
    --jk-globe-fill: #0b2a4a;
    --jk-globe-dot: #2f9e6b;
    --jk-globe-rim: #22c55e;
    --jk-pillar-tree: #a3e635;
    --jk-pillar-coral: #fb7185;
    --jk-pillar-seagrass: #2dd4bf;
    --jk-pillar-waste: #fbbf24;
    --jk-pillar-social: #38bdf8;

    --jk-text-main: #ffffff;
    --jk-text-secondary: #94a3b8;
    --jk-text-muted: #64748b;
    --jk-text-heading: #ffffff;

    --jk-card-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --jk-card-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 35px rgba(34, 197, 94, 0.12);

    --jk-grid-line: rgba(255, 255, 255, 0.03);
    --jk-input-bg: #060d09;
    --jk-input-border: rgba(255, 255, 255, 0.12);
    --jk-input-text: #ffffff;

    --jk-hero-glow: radial-gradient(circle at 50% 15%, rgba(34, 197, 94, 0.18) 0%, transparent 60%);
    --jk-footer-bg: #030805;
    --jk-footer-text: #94a3b8;
    --jk-footer-title: #ffffff;
}

/* Constants */
:root {
    --jk-radius-sm: 8px;
    --jk-radius-md: 16px;
    --jk-radius-lg: 24px;
    --jk-radius-xl: 32px;
    --jk-radius-pill: 9999px;
    --jk-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   GLOBAL STYLES & ATMOSPHERE
   ========================================================================== */

/* ==========================================================================
   BOOTSTRAP 5 UTILITIES ON BOOTSTRAP 4
   The landing layout loads Bootstrap 4.3.1 (bootstrap.min.css), but the views use Bootstrap 5
   utilities. Undefined classes were silently ignored: d-grid/gap-* stacks touched (portfolio
   detail buttons, mobile drawer), me-/ms- icon spacing and fw-/fs- weights were lost.
   Only the utilities the landing views use, with Bootstrap 5 values; colours from tokens.
   ========================================================================== */

.d-grid { display: grid !important; }
.gap-0 { gap: 0 !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.gap-5 { gap: 3rem !important; }

.me-0 { margin-right: 0 !important; }
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.me-4 { margin-right: 1.5rem !important; }
.me-5 { margin-right: 3rem !important; }
.me-auto { margin-right: auto !important; }
.ms-0 { margin-left: 0 !important; }
.ms-1 { margin-left: 0.25rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-3 { margin-left: 1rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.ms-5 { margin-left: 3rem !important; }
.ms-auto { margin-left: auto !important; }

.fw-light { font-weight: 300 !important; }
.fw-normal { font-weight: 400 !important; }
.fw-medium { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }
.fw-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important; }
.fs-5 { font-size: 1.25rem !important; }
.fs-6 { font-size: 1rem !important; }

.text-start { text-align: left !important; }
.text-end { text-align: right !important; }
.rounded-3 { border-radius: 0.5rem !important; }
.rounded-4 { border-radius: 1rem !important; }

.bg-success-subtle { background-color: var(--jk-primary-soft) !important; }
.bg-secondary-subtle { background-color: var(--jk-bg-surface) !important; }
.border-success-subtle { border-color: var(--jk-border-accent) !important; }

/* d-grid children fill the column; inline-flex buttons otherwise keep their content width. */
.d-grid > .jk-btn-primary,
.d-grid > .jk-btn-ghost {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* clip on both html and body: body-only hidden still lets mobile browsers widen the
   layout viewport (AOS fade-left/right offsets), which stretched the fixed header and
   pushed the menu toggle and drawer off-screen. */
html,
body {
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    background-color: var(--jk-bg-main) !important;
    color: var(--jk-text-main) !important;
    font-family: var(--jk-font) !important;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

::selection {
    background: var(--jk-primary-vibrant);
    color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--jk-font) !important;
    color: var(--jk-text-heading) !important;
    font-weight: 700;
    letter-spacing: -0.025em;
    transition: color 0.3s ease;
}

p {
    color: var(--jk-text-secondary);
    font-size: 1rem;
    transition: color 0.3s ease;
}

a {
    transition: all 0.25s ease-in-out;
    text-decoration: none !important;
}

/* Gradient Text Accents */
html[data-theme="light"] .jk-gradient-text {
    background: linear-gradient(135deg, #0f172a 30%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

html[data-theme="dark"] .jk-gradient-text {
    background: linear-gradient(135deg, #ffffff 30%, #4ade80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

html[data-theme="light"] .jk-gradient-text-green {
    background: linear-gradient(135deg, #16a34a 0%, #059669 60%, #047857 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

html[data-theme="dark"] .jk-gradient-text-green {
    background: linear-gradient(135deg, #4ade80 0%, #10b981 50%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ==========================================================================
   GRID & CARD BREATHING SPACE ARCHITECTURE
   Full Bootstrap 5 Gutter Polyfill (g-*, gx-*, gy-*) for Bootstrap 4
   ========================================================================== */

.row {
    --jk-gutter-x: 30px;
    --jk-gutter-y: 0px;
}

.row[class*="g-"],
.row[class*="gx-"],
.row[class*="gy-"] {
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--jk-gutter-y));
    margin-right: calc(-0.5 * var(--jk-gutter-x));
    margin-left: calc(-0.5 * var(--jk-gutter-x));
}

.row[class*="g-"] > *,
.row[class*="gx-"] > *,
.row[class*="gy-"] > * {
    box-sizing: border-box;
    padding-right: calc(var(--jk-gutter-x) * 0.5);
    padding-left: calc(var(--jk-gutter-x) * 0.5);
    margin-top: var(--jk-gutter-y);
}

/* Base Gutters */
.g-0, .gx-0 { --jk-gutter-x: 0px; }
.g-0, .gy-0 { --jk-gutter-y: 0px; }
.g-1, .gx-1 { --jk-gutter-x: 8px; }
.g-1, .gy-1 { --jk-gutter-y: 8px; }
.g-2, .gx-2 { --jk-gutter-x: 16px; }
.g-2, .gy-2 { --jk-gutter-y: 16px; }
.g-3, .gx-3 { --jk-gutter-x: 24px; }
.g-3, .gy-3 { --jk-gutter-y: 24px; }
.g-4, .gx-4 { --jk-gutter-x: 32px; }
.g-4, .gy-4 { --jk-gutter-y: 32px; }
.g-5, .gx-5 { --jk-gutter-x: 48px; }
.g-5, .gy-5 { --jk-gutter-y: 48px; }

/* Responsive Gutters: sm */
@media (min-width: 576px) {
    .g-sm-0, .gx-sm-0 { --jk-gutter-x: 0px; }
    .g-sm-0, .gy-sm-0 { --jk-gutter-y: 0px; }
    .g-sm-1, .gx-sm-1 { --jk-gutter-x: 8px; }
    .g-sm-1, .gy-sm-1 { --jk-gutter-y: 8px; }
    .g-sm-2, .gx-sm-2 { --jk-gutter-x: 16px; }
    .g-sm-2, .gy-sm-2 { --jk-gutter-y: 16px; }
    .g-sm-3, .gx-sm-3 { --jk-gutter-x: 24px; }
    .g-sm-3, .gy-sm-3 { --jk-gutter-y: 24px; }
    .g-sm-4, .gx-sm-4 { --jk-gutter-x: 32px; }
    .g-sm-4, .gy-sm-4 { --jk-gutter-y: 32px; }
    .g-sm-5, .gx-sm-5 { --jk-gutter-x: 48px; }
    .g-sm-5, .gy-sm-5 { --jk-gutter-y: 48px; }
}

/* Responsive Gutters: md */
@media (min-width: 768px) {
    .g-md-0, .gx-md-0 { --jk-gutter-x: 0px; }
    .g-md-0, .gy-md-0 { --jk-gutter-y: 0px; }
    .g-md-1, .gx-md-1 { --jk-gutter-x: 8px; }
    .g-md-1, .gy-md-1 { --jk-gutter-y: 8px; }
    .g-md-2, .gx-md-2 { --jk-gutter-x: 16px; }
    .g-md-2, .gy-md-2 { --jk-gutter-y: 16px; }
    .g-md-3, .gx-md-3 { --jk-gutter-x: 24px; }
    .g-md-3, .gy-md-3 { --jk-gutter-y: 24px; }
    .g-md-4, .gx-md-4 { --jk-gutter-x: 32px; }
    .g-md-4, .gy-md-4 { --jk-gutter-y: 32px; }
    .g-md-5, .gx-md-5 { --jk-gutter-x: 48px; }
    .g-md-5, .gy-md-5 { --jk-gutter-y: 48px; }
}

/* Responsive Gutters: lg */
@media (min-width: 992px) {
    .g-lg-0, .gx-lg-0 { --jk-gutter-x: 0px; }
    .g-lg-0, .gy-lg-0 { --jk-gutter-y: 0px; }
    .g-lg-1, .gx-lg-1 { --jk-gutter-x: 8px; }
    .g-lg-1, .gy-lg-1 { --jk-gutter-y: 8px; }
    .g-lg-2, .gx-lg-2 { --jk-gutter-x: 16px; }
    .g-lg-2, .gy-lg-2 { --jk-gutter-y: 16px; }
    .g-lg-3, .gx-lg-3 { --jk-gutter-x: 24px; }
    .g-lg-3, .gy-lg-3 { --jk-gutter-y: 24px; }
    .g-lg-4, .gx-lg-4 { --jk-gutter-x: 36px; }
    .g-lg-4, .gy-lg-4 { --jk-gutter-y: 36px; }
    .g-lg-5, .gx-lg-5 { --jk-gutter-x: 48px; }
    .g-lg-5, .gy-lg-5 { --jk-gutter-y: 48px; }
}

/* Responsive Gutters: xl */
@media (min-width: 1200px) {
    .g-xl-0, .gx-xl-0 { --jk-gutter-x: 0px; }
    .g-xl-0, .gy-xl-0 { --jk-gutter-y: 0px; }
    .g-xl-1, .gx-xl-1 { --jk-gutter-x: 8px; }
    .g-xl-1, .gy-xl-1 { --jk-gutter-y: 8px; }
    .g-xl-2, .gx-xl-2 { --jk-gutter-x: 16px; }
    .g-xl-2, .gy-xl-2 { --jk-gutter-y: 16px; }
    .g-xl-3, .gx-xl-3 { --jk-gutter-x: 24px; }
    .g-xl-3, .gy-xl-3 { --jk-gutter-y: 24px; }
    .g-xl-4, .gx-xl-4 { --jk-gutter-x: 36px; }
    .g-xl-4, .gy-xl-4 { --jk-gutter-y: 36px; }
    .g-xl-5, .gx-xl-5 { --jk-gutter-x: 48px; }
    .g-xl-5, .gy-xl-5 { --jk-gutter-y: 48px; }
}

/* Explicit Card Section Margin Enforcers (Guaranteed Spacing in All Contexts) */
.jk-metrics-section .row > div[class*="col"] {
    margin-bottom: 32px;
}
@media (min-width: 992px) {
    .jk-metrics-section .row > div[class*="col"] {
        margin-bottom: 38px;
    }
}

.jk-solutions-section .row > div[class*="col"] {
    margin-bottom: 32px;
}
/* Lima pilar: baris 1 berisi 3 kartu, baris 2 berisi 2 kartu yang lebih lebar. */
@media (min-width: 992px) {
    .jk-solutions-section .row > div[class*="col"]:nth-last-child(-n+2) {
        margin-bottom: 0;
    }
}

.jk-portfolio-section .row > div[class*="col"] {
    margin-bottom: 36px;
}

.jk-partners-section .row > div[class*="col"] {
    margin-bottom: 28px;
}

.jk-vision-mission-section .row > div[class*="col"] {
    margin-bottom: 32px;
}
@media (min-width: 992px) {
    .jk-vision-mission-section .row > div[class*="col"] {
        margin-bottom: 0;
    }
}

.jk-blog-section .row > div[class*="col"] {
    margin-bottom: 36px;
}
@media (min-width: 992px) {
    .jk-blog-section .row > div[class*="col"] {
        margin-bottom: 0;
    }
}

#carbonResultCards > div[class*="col"] {
    margin-bottom: 28px;
}

/* Badges & Pills */
.jk-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: var(--jk-primary-soft);
    border: 1px solid var(--jk-border-accent);
    border-radius: var(--jk-radius-pill);
    color: var(--jk-primary-lime);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 2px 12px var(--jk-primary-glow);
    transition: all 0.3s ease;
}

html[data-theme="dark"] .jk-badge-pill {
    background: rgba(34, 197, 94, 0.1);
}

.jk-badge-pill i {
    font-size: 0.95rem;
}

/* Buttons */
.jk-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #16a34a 0%, #059669 100%) !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--jk-radius-pill);
    border: none;
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

html[data-theme="dark"] .jk-btn-primary {
    background: linear-gradient(135deg, #22c55e 0%, #10b981 100%) !important;
    color: #04140a !important;
    box-shadow: 0 6px 24px rgba(34, 197, 94, 0.4);
}

.jk-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(22, 163, 74, 0.45);
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
}

html[data-theme="dark"] .jk-btn-primary:hover {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%) !important;
    color: #020b05 !important;
}

.jk-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--jk-bg-surface-elevated) !important;
    color: var(--jk-text-main) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 26px;
    border-radius: var(--jk-radius-pill);
    border: 1px solid var(--jk-border-glass);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.jk-btn-ghost:hover {
    border-color: var(--jk-primary-lime);
    color: var(--jk-primary-lime) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15);
}

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

.jk-btn-lg {
    padding: 14px 32px;
    font-size: 1.02rem;
    font-weight: 700;
}

.text-xs {
    font-size: 0.75rem !important;
}

/* ==========================================================================
   THEME SWITCHER BUTTON
   ========================================================================== */

.jk-theme-switcher {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--jk-radius-pill);
    border: 1px solid var(--jk-border-glass);
    background: var(--jk-bg-surface);
    color: var(--jk-text-main);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.25s ease;
    user-select: none;
}

.jk-theme-switcher:hover {
    border-color: var(--jk-primary-lime);
    color: var(--jk-primary-lime);
    transform: translateY(-1px);
    box-shadow: 0 3px 12px var(--jk-primary-glow);
}

/* Icon visibility based on active theme */
html[data-theme="light"] .jk-theme-switcher .jk-theme-icon-dark {
    display: none;
}

html[data-theme="light"] .jk-theme-switcher .jk-theme-icon-light {
    display: inline-block;
    color: #f59e0b; /* Golden Sun */
}

html[data-theme="dark"] .jk-theme-switcher .jk-theme-icon-light {
    display: none;
}

html[data-theme="dark"] .jk-theme-switcher .jk-theme-icon-dark {
    display: inline-block;
    color: #38bdf8; /* Soft Moon Glow */
}

/* ==========================================================================
   MODERN NAVBAR & HEADER
   ========================================================================== */

.jk-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--jk-bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--jk-border-subtle);
    transition: all 0.3s ease;
}

.jk-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

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

.jk-brand-logo img {
    height: 38px;
    width: auto;
    object-fit: contain;
    transition: filter 0.3s ease;
}

html[data-theme="dark"] .jk-brand-logo img,
html[data-theme="dark"] .jk-auth-logo img,
.jk-footer-brand img {
    filter: brightness(0) invert(1);
}

.jk-nav-menu {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.jk-nav-link {
    color: var(--jk-text-secondary);
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.jk-nav-link:hover, .jk-nav-link.active {
    color: var(--jk-primary-lime);
}

.jk-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--jk-primary-lime);
    border-radius: 2px;
}

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

.jk-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--jk-text-main);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 6px;
}

@media (max-width: 1199px) {
    .jk-nav-menu {
        display: none;
    }
    .jk-mobile-toggle {
        display: block;
    }
}

/* Mobile Drawer */
.jk-mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--jk-bg-card);
    border-left: 1px solid var(--jk-border-subtle);
    padding: 30px 24px;
    z-index: 2000;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.jk-mobile-drawer.active {
    right: 0;
}

.jk-drawer-link {
    color: var(--jk-text-main) !important;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.jk-drawer-link:hover,
.jk-drawer-link.active {
    color: var(--jk-primary-lime) !important;
    transform: translateX(4px);
}

.jk-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    z-index: 1999;
    display: none;
}

.jk-drawer-overlay.active {
    display: block;
}

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

.jk-hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    background: var(--jk-hero-glow), var(--jk-bg-main);
    overflow: hidden;
    transition: background 0.3s ease;
}

.jk-hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--jk-grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--jk-grid-line) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.jk-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    color: var(--jk-text-heading);
}

@media (max-width: 768px) {
    .jk-hero-title {
        font-size: 2.2rem;
    }
}

.jk-hero-desc {
    font-size: 1.12rem;
    color: var(--jk-text-secondary);
    max-width: 740px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.jk-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

@media (max-width: 576px) {
    .jk-hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .jk-hero-actions .jk-btn-primary,
    .jk-hero-actions .jk-btn-ghost {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .jk-hero-pill-item {
        padding: 8px 14px;
        font-size: 0.82rem;
    }
}

.jk-hero-pills {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.jk-hero-pill-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--jk-bg-card);
    border: 1px solid var(--jk-border-subtle);
    border-radius: var(--jk-radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--jk-text-secondary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.jk-hero-pill-item:hover {
    border-color: var(--jk-primary-lime);
    color: var(--jk-primary-lime);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--jk-primary-glow);
}

.jk-hero-pill-item i {
    color: var(--jk-primary-lime);
    font-size: 1rem;
}

/* ==========================================================================
   3D INTERACTIVE HERO — Split Layout with Globe
   ========================================================================== */

.jk-hero-section--3d {
    padding-top: 120px;
    padding-bottom: 40px;
    min-height: clamp(680px, 85vh, 950px);
    display: flex;
    align-items: center;
}

.jk-hero-copy-3d {
    position: relative;
    z-index: 3;
}

.jk-hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--jk-primary-lime);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.jk-hero-eyebrow i {
    font-size: 0.85rem;
}

.jk-hero-title--left {
    text-align: left;
    font-size: clamp(2rem, 3.6vw, 3.2rem);
}

.jk-hero-desc--left {
    text-align: left;
    margin-left: 0;
    max-width: 520px;
}

.jk-hero-actions--left {
    justify-content: flex-start;
}

.jk-hero-pills--left {
    justify-content: flex-start;
}

/* 3D Globe Stage */
.jk-hero-3d-stage {
    width: 100%;
    height: clamp(420px, 60vh, 700px);
    position: relative;
    border-radius: var(--jk-radius-lg);
    overflow: hidden;
    cursor: grab;
    touch-action: none;
    user-select: none;
    outline: none;
}

.jk-hero-3d-stage:active {
    cursor: grabbing;
}

.jk-hero-3d-stage:focus-visible {
    outline: 2px dashed var(--jk-primary-lime);
    outline-offset: -6px;
    border-radius: var(--jk-radius-lg);
}

/* Loading indicator inside the 3D stage */
.jk-hero-3d-stage .reclimate-3d-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    color: var(--jk-text-muted);
    font-size: 0.82rem;
    z-index: 5;
    pointer-events: none;
}

.jk-hero-3d-stage .reclimate-3d-loading span {
    width: 28px;
    height: 28px;
    border: 2px solid var(--jk-border-subtle);
    border-top-color: var(--jk-primary-lime);
    border-radius: 50%;
    animation: jk-3d-spin 1s linear infinite;
}

@keyframes jk-3d-spin {
    to { transform: rotate(360deg); }
}

/* Fallback image */
.jk-hero-3d-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jk-hero-3d-fallback img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Globe caption overlay */
.jk-hero-3d-caption {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 4;
    pointer-events: none;
    color: var(--jk-text-muted);
    font-size: 0.75rem;
    font-style: italic;
    text-align: right;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.jk-hero-3d-stage:active .jk-hero-3d-caption {
    opacity: 0.3;
}

/* Motion toggle button */
.jk-hero-3d-motion-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--jk-bg-glass);
    border: 1px solid var(--jk-border-subtle);
    border-radius: var(--jk-radius-pill);
    color: var(--jk-text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.jk-hero-3d-motion-btn:hover {
    border-color: var(--jk-primary-lime);
    color: var(--jk-primary-lime);
}

.jk-hero-3d-motion-btn svg {
    width: 14px;
    height: 14px;
}

/* Responsive — Mobile: stack vertically */
@media (max-width: 991px) {
    .jk-hero-section--3d {
        padding-top: 110px;
        padding-bottom: 30px;
        min-height: auto;
    }

    .jk-hero-title--left {
        text-align: center;
        font-size: clamp(1.8rem, 6vw, 2.6rem);
    }

    .jk-hero-desc--left {
        text-align: center;
        margin: 0 auto 28px;
    }

    .jk-hero-actions--left {
        justify-content: center;
    }

    .jk-hero-pills--left {
        justify-content: center;
    }

    .jk-hero-eyebrow {
        justify-content: center;
    }

    .jk-hero-3d-stage {
        height: clamp(350px, 80vw, 520px);
        margin-top: 24px;
    }
}

@media (max-width: 576px) {
    .jk-hero-3d-stage {
        height: clamp(300px, 85vw, 420px);
    }

    .jk-hero-3d-caption {
        display: none;
    }
}

/* ==========================================================================
   METRICS SECTION
   ========================================================================== */

.jk-metrics-section {
    padding: 80px 0;
    background: var(--jk-bg-surface);
    position: relative;
    border-top: 1px solid var(--jk-border-subtle);
    border-bottom: 1px solid var(--jk-border-subtle);
    transition: background 0.3s ease;
}

.jk-metric-card {
    border-radius: var(--jk-radius-xl);
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 250px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #0c1810;
}

.jk-metric-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
    z-index: 1;
}

.jk-metric-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(6, 16, 10, 0.48) 0%, rgba(4, 11, 7, 0.90) 100%);
    backdrop-filter: blur(1.5px);
    transition: background 0.4s ease;
    z-index: 2;
}

.jk-metric-content {
    position: relative;
    z-index: 3;
    padding: 38px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}

.jk-metric-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(16, 185, 129, 0.22);
    border: 1px solid rgba(74, 222, 128, 0.45);
    border-radius: var(--jk-radius-pill);
    color: #4ade80;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.jk-metric-number {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
    line-height: 1.05;
    margin-bottom: 10px;
    font-feature-settings: "tnum";
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, color 0.3s ease;
}

.jk-metric-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f1f5f9;
    letter-spacing: 0.02em;
    margin: 0;
    line-height: 1.45;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    max-width: 260px;
}

/* Hover Effects */
.jk-metric-card:hover {
    transform: translateY(-7px);
    border-color: rgba(74, 222, 128, 0.6);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.28), 0 0 30px rgba(16, 185, 129, 0.25);
}

.jk-metric-card:hover .jk-metric-card-bg {
    transform: scale(1.08);
}

.jk-metric-card:hover .jk-metric-card-overlay {
    background: linear-gradient(180deg, rgba(6, 16, 10, 0.32) 0%, rgba(4, 11, 7, 0.92) 100%);
}

.jk-metric-card:hover .jk-metric-tag {
    background: rgba(16, 185, 129, 0.35);
    border-color: #4ade80;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(74, 222, 128, 0.3);
}

/* Metric figures inside a light card (partner profile) use heading colors, not the white of the dark hero cards */
.jk-card .jk-metric-number {
    color: var(--jk-text-heading);
    text-shadow: none;
}
.jk-card .jk-metric-label {
    color: var(--jk-text-secondary);
    text-shadow: none;
}

/* Long figures such as "Rp1,26 M" stay on one line at a smaller size */
.jk-metric-number--compact {
    font-size: 2.4rem;
    white-space: nowrap;
}

.jk-metric-card:hover .jk-metric-number {
    transform: scale(1.04);
    color: #86efac;
}

/* ==========================================================================
   SOLUTIONS SECTION
   ========================================================================== */

.jk-solutions-section {
    padding: 115px 0;
    position: relative;
    background: var(--jk-bg-main);
}

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

.jk-section-title {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-top: 0;
    margin-bottom: 16px;
    color: var(--jk-text-heading);
}

.jk-section-desc {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: var(--jk-text-secondary);
}

.jk-solution-card {
    background: var(--jk-bg-card);
    border: 1px solid var(--jk-border-subtle);
    border-radius: var(--jk-radius-xl);
    overflow: hidden;
    box-shadow: var(--jk-card-shadow);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.jk-solution-card:hover {
    transform: translateY(-8px);
    border-color: var(--jk-border-accent);
    box-shadow: var(--jk-card-shadow-hover);
}

.jk-solution-card-header {
    width: 100%;
    height: 190px;
    overflow: hidden;
    position: relative;
    background: var(--jk-bg-surface);
}

.jk-solution-card-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.jk-solution-card:hover .jk-solution-card-header img {
    transform: scale(1.08);
}

.jk-solution-card-body {
    padding: 28px 24px 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.jk-solution-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--jk-text-heading);
    letter-spacing: -0.01em;
}

.jk-solution-desc {
    font-size: 0.92rem;
    color: var(--jk-text-secondary);
    line-height: 1.6;
    margin-bottom: 22px;
}

.jk-solution-points {
    list-style: none;
    padding: 0;
    margin: auto 0 0 0;
}

.jk-solution-points li {
    font-size: 0.88rem;
    color: var(--jk-text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.jk-solution-points li i {
    color: var(--jk-primary-lime);
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* ==========================================================================
   CARBON CALCULATOR
   ========================================================================== */

.jk-calc-section {
    padding: 115px 0;
    background: var(--jk-bg-surface);
    position: relative;
    transition: background 0.3s ease;
}

.jk-calc-box {
    background: var(--jk-bg-card);
    border: 1px solid var(--jk-border-accent);
    border-radius: var(--jk-radius-xl);
    padding: 48px 40px;
    box-shadow: var(--jk-card-shadow-hover);
    backdrop-filter: blur(16px);
}

@media (max-width: 768px) {
    .jk-calc-box {
        padding: 26px 20px;
    }
}

.jk-form-label {
    color: var(--jk-text-heading);
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.jk-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.jk-input {
    width: 100%;
    background: var(--jk-input-bg) !important;
    border: 1px solid var(--jk-input-border) !important;
    color: var(--jk-input-text) !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    padding: 14px 20px !important;
    border-radius: var(--jk-radius-md) !important;
    transition: all 0.25s ease !important;
}

.jk-input:focus {
    border-color: var(--jk-primary-lime) !important;
    box-shadow: 0 0 0 3px var(--jk-primary-glow) !important;
    outline: none !important;
}

.jk-input-group .jk-input {
    padding-right: 95px !important;
}

.jk-input-suffix {
    position: absolute;
    right: 18px;
    color: var(--jk-text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    pointer-events: none;
}

.jk-calc-result-card {
    background: var(--jk-bg-card);
    border: 1px solid var(--jk-border-subtle);
    border-radius: var(--jk-radius-xl);
    padding: 34px 22px;
    text-align: center;
    box-shadow: var(--jk-card-shadow);
    transition: all 0.3s ease;
    height: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.jk-calc-result-card:hover {
    transform: translateY(-5px);
    border-color: var(--jk-border-accent);
    box-shadow: var(--jk-card-shadow-hover);
}

.jk-calc-locked {
    position: relative;
    overflow: hidden;
}

.jk-calc-locked-blur {
    filter: blur(4px);
    opacity: 0.5;
    pointer-events: none;
}

.jk-calc-locked-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    background: var(--jk-bg-glass);
    border: 1px solid var(--jk-border-accent);
    padding: 8px 18px;
    border-radius: var(--jk-radius-pill);
    color: var(--jk-primary-lime);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   PORTFOLIO & MAP (DESIGN SYSTEM STANDARD)
   ========================================================================== */

/* Subpage Hero / Header */
.jk-page-header {
    padding: 140px 0 50px 0;
    background: linear-gradient(180deg, var(--jk-bg-surface) 0%, var(--jk-bg-main) 100%);
    border-bottom: 1px solid var(--jk-border-subtle);
    position: relative;
    overflow: hidden;
}

.jk-page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -15%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.jk-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--jk-bg-card);
    border: 1px solid var(--jk-border-subtle);
    border-radius: var(--jk-radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: var(--jk-card-shadow);
    list-style: none;
}

.jk-breadcrumb a {
    color: var(--jk-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.jk-breadcrumb a:hover {
    color: var(--jk-primary-lime);
}

.jk-breadcrumb .separator {
    color: var(--jk-text-muted);
    font-size: 0.75rem;
    opacity: 0.5;
}

.jk-breadcrumb .current {
    color: var(--jk-primary-lime);
    font-weight: 700;
}

.jk-page-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--jk-text-heading);
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .jk-page-title {
        font-size: 1.85rem;
    }
}

.jk-page-subtitle {
    font-size: 1.05rem;
    color: var(--jk-text-muted);
    max-width: 650px;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Map Containers & Leaflet Standard Styles */
.jk-portfolio-section {
    padding: 70px 0 100px 0;
    position: relative;
    background: var(--jk-bg-main);
}

.jk-map-card {
    background: var(--jk-bg-card);
    border: 1px solid var(--jk-border-subtle);
    border-radius: var(--jk-radius-xl);
    overflow: hidden;
    box-shadow: var(--jk-card-shadow);
    margin-bottom: 48px;
    transition: border-color 0.3s ease;
}

.jk-map-card:hover {
    border-color: var(--jk-border-accent);
}

.jk-map-card-header {
    padding: 16px 24px;
    background: var(--jk-bg-surface);
    border-bottom: 1px solid var(--jk-border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.jk-map-container {
    height: 460px;
    width: 100%;
    position: relative;
    background: var(--jk-bg-surface);
}

/* Leaflet Theming (Zero API Key Tile Support) */
.leaflet-container {
    background-color: var(--jk-bg-surface) !important;
    font-family: var(--jk-font-family) !important;
}

/* OpenStreetMap Inversion in Dark Mode */
html[data-theme="dark"] .leaflet-tile {
    filter: brightness(0.65) invert(1) contrast(3) hue-rotate(200deg) saturate(0.35) !important;
}

/* Leaflet Popups */
.leaflet-popup-content-wrapper {
    background: var(--jk-bg-card) !important;
    color: var(--jk-text-main) !important;
    border-radius: var(--jk-radius-md) !important;
    border: 1px solid var(--jk-border-subtle) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2) !important;
    padding: 2px !important;
}

.leaflet-popup-tip {
    background: var(--jk-bg-card) !important;
    border: 1px solid var(--jk-border-subtle) !important;
}

.jk-map-popup-inner {
    padding: 8px 10px;
}

.jk-map-popup-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--jk-radius-pill);
    margin-bottom: 6px;
}

html[data-theme="dark"] .jk-map-popup-badge {
    background: rgba(16, 185, 129, 0.25);
    color: #34d399;
}

.jk-map-popup-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--jk-text-heading);
    line-height: 1.4;
    margin-bottom: 4px;
}

.jk-map-popup-link {
    font-size: 0.8rem;
    color: var(--jk-primary-lime);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.jk-map-popup-link:hover {
    text-decoration: underline;
}

/* Leaflet Zoom Control */
.leaflet-bar {
    border: 1px solid var(--jk-border-subtle) !important;
    border-radius: var(--jk-radius-sm) !important;
    overflow: hidden;
    box-shadow: var(--jk-card-shadow) !important;
}

.leaflet-bar a {
    background-color: var(--jk-bg-card) !important;
    color: var(--jk-text-heading) !important;
    border-bottom: 1px solid var(--jk-border-subtle) !important;
    transition: all 0.2s ease;
}

.leaflet-bar a:hover {
    background-color: var(--jk-bg-surface) !important;
    color: var(--jk-primary-lime) !important;
}

.leaflet-control-attribution {
    background: var(--jk-bg-glass) !important;
    backdrop-filter: blur(8px) !important;
    color: var(--jk-text-muted) !important;
    font-size: 10px !important;
}

.leaflet-control-attribution a {
    color: var(--jk-primary-lime) !important;
}

/* Modern Portfolio Cards */
.jk-portfolio-card {
    background: var(--jk-bg-card);
    border: 1px solid var(--jk-border-subtle);
    border-radius: var(--jk-radius-lg);
    overflow: hidden;
    box-shadow: var(--jk-card-shadow);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.jk-portfolio-card:hover {
    transform: translateY(-6px);
    border-color: var(--jk-border-accent);
    box-shadow: var(--jk-card-shadow-hover);
}

.jk-portfolio-img-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: var(--jk-bg-surface);
}

.jk-portfolio-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.jk-portfolio-card:hover .jk-portfolio-img-wrap img {
    transform: scale(1.06);
}

.jk-portfolio-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: var(--jk-radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    color: #4ade80;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.jk-portfolio-verified-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(16, 185, 129, 0.9);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: var(--jk-radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
}

.jk-portfolio-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.jk-portfolio-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--jk-text-muted);
    font-size: 0.85rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.jk-portfolio-location i {
    color: var(--jk-primary-lime);
}

.jk-portfolio-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.45;
    color: var(--jk-text-heading);
    flex-grow: 1;
}

.jk-portfolio-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.jk-portfolio-title a:hover {
    color: var(--jk-primary-lime);
}

.jk-portfolio-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--jk-border-subtle);
    margin-top: auto;
}

.jk-portfolio-metric {
    display: flex;
    flex-direction: column;
}

.jk-portfolio-metric-num {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--jk-primary-lime);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.jk-portfolio-metric-label {
    font-size: 0.72rem;
    color: var(--jk-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.jk-portfolio-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--jk-primary-lime);
    padding: 8px 16px;
    border-radius: var(--jk-radius-pill);
    background: rgba(16, 185, 129, 0.08);
    transition: all 0.25s ease;
    text-decoration: none;
}

.jk-portfolio-card:hover .jk-portfolio-cta {
    background: var(--jk-primary-lime);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--jk-primary-glow);
}

/* Pagination Styling */
.pagination, .jk-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 48px 0 0 0;
    flex-wrap: wrap;
}

.pagination li a, .pagination li span,
.jk-pagination li a, .jk-pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: var(--jk-radius-md);
    background: var(--jk-bg-card);
    border: 1px solid var(--jk-border-subtle);
    color: var(--jk-text-heading);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    box-shadow: var(--jk-card-shadow);
    text-decoration: none;
}

.pagination li a:hover:not(.disabled),
.jk-pagination li a:hover:not(.disabled) {
    border-color: var(--jk-border-accent);
    color: var(--jk-primary-lime);
    transform: translateY(-2px);
    box-shadow: var(--jk-card-shadow-hover);
}

.pagination li a.active, .pagination li.active span,
.jk-pagination li a.active, .jk-pagination li.active span {
    background: var(--jk-primary-lime) !important;
    color: #ffffff !important;
    border-color: var(--jk-primary-lime) !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35) !important;
}

.pagination li a.disabled,
.jk-pagination li a.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ==========================================================================
   PORTFOLIO DETAIL PAGE
   ========================================================================== */

.jk-detail-section {
    padding: 60px 0 100px 0;
    background: var(--jk-bg-main);
}

.jk-detail-main-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: var(--jk-radius-xl);
    border: 1px solid var(--jk-border-subtle);
    box-shadow: var(--jk-card-shadow);
    margin-bottom: 30px;
    background: var(--jk-bg-surface);
}

@media (max-width: 768px) {
    .jk-detail-main-img {
        height: 280px;
    }
}

.jk-detail-map-card {
    border-radius: var(--jk-radius-xl);
    overflow: hidden;
    border: 1px solid var(--jk-border-subtle);
    box-shadow: var(--jk-card-shadow);
    background: var(--jk-bg-card);
    margin-bottom: 30px;
}

.jk-detail-map-header {
    padding: 16px 24px;
    background: var(--jk-bg-surface);
    border-bottom: 1px solid var(--jk-border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.jk-detail-map-container {
    height: 380px;
    width: 100%;
    position: relative;
}

.jk-detail-bento-card {
    background: var(--jk-bg-card);
    border: 1px solid var(--jk-border-subtle);
    border-radius: var(--jk-radius-xl);
    padding: 32px;
    box-shadow: var(--jk-card-shadow);
    position: sticky;
    top: 100px;
}

.jk-company-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--jk-border-subtle);
    margin-bottom: 24px;
}

.jk-company-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--jk-radius-md);
    background: var(--jk-bg-surface);
    border: 1px solid var(--jk-border-subtle);
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.jk-company-avatar img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.jk-metadata-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 28px;
}

.jk-metadata-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--jk-radius-md);
    background: var(--jk-bg-surface);
    border: 1px solid var(--jk-border-subtle);
    transition: all 0.2s ease;
}

.jk-metadata-item:hover {
    border-color: var(--jk-border-accent);
}

.jk-metadata-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--jk-primary-lime);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.jk-metadata-content {
    flex-grow: 1;
}

.jk-metadata-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--jk-text-muted);
    margin-bottom: 3px;
}

.jk-metadata-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--jk-text-heading);
    margin-bottom: 0;
    line-height: 1.4;
}

.jk-partner-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.jk-partner-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--jk-radius-pill);
    background: var(--jk-bg-card);
    border: 1px solid var(--jk-border-subtle);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--jk-text-heading);
}

.jk-detail-description {
    background: var(--jk-bg-card);
    border: 1px solid var(--jk-border-subtle);
    border-radius: var(--jk-radius-xl);
    padding: 32px;
    box-shadow: var(--jk-card-shadow);
    margin-bottom: 30px;
}

.jk-detail-description h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--jk-text-heading);
    margin-bottom: 16px;
}

.jk-detail-description p {
    color: var(--jk-text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ==========================================================================
   PARTNERS SECTION
   ========================================================================== */

.jk-partners-section {
    padding: 80px 0;
    background: var(--jk-bg-surface);
    border-top: 1px solid var(--jk-border-subtle);
    border-bottom: 1px solid var(--jk-border-subtle);
}

.jk-partner-item {
    background: var(--jk-bg-card);
    border: 1px solid var(--jk-border-subtle);
    border-radius: var(--jk-radius-md);
    padding: 20px 24px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--jk-card-shadow);
    transition: all 0.3s ease;
}

.jk-partner-item img {
    max-height: 50px;
    max-width: 140px;
    object-fit: contain;
    transition: all 0.3s ease;
}

html[data-theme="dark"] .jk-partner-item img {
    filter: brightness(0.9) grayscale(0.2);
}

.jk-partner-item:hover {
    border-color: var(--jk-border-accent);
    transform: translateY(-3px);
}

.jk-partner-item:hover img {
    filter: brightness(1) grayscale(0);
}

/* ==========================================================================
   BLOG SECTION
   ========================================================================== */

.jk-blog-section {
    padding: 100px 0;
    background: var(--jk-bg-main);
}

.jk-blog-card {
    background: var(--jk-bg-card);
    border: 1px solid var(--jk-border-subtle);
    border-radius: var(--jk-radius-lg);
    overflow: hidden;
    box-shadow: var(--jk-card-shadow);
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.jk-blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--jk-border-accent);
    box-shadow: var(--jk-card-shadow-hover);
}

.jk-blog-thumb {
    height: 200px;
    overflow: hidden;
}

.jk-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.jk-blog-card:hover .jk-blog-thumb img {
    transform: scale(1.06);
}

.jk-blog-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.jk-blog-date {
    font-size: 0.8rem;
    color: var(--jk-primary-lime);
    font-weight: 600;
    margin-bottom: 8px;
}

.jk-blog-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--jk-text-heading);
    margin-bottom: 12px;
    line-height: 1.4;
}

.jk-blog-excerpt {
    font-size: 0.9rem;
    color: var(--jk-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* ==========================================================================
   VISION & MISSION SECTION
   ========================================================================== */

.jk-vision-mission-section {
    padding: 90px 0;
    background: var(--jk-bg-surface);
}

.jk-vm-card {
    background: var(--jk-bg-card);
    border: 1px solid var(--jk-border-subtle);
    border-radius: var(--jk-radius-xl);
    padding: 40px;
    box-shadow: var(--jk-card-shadow);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.jk-vm-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

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

.jk-contact-section {
    padding: 100px 0;
    background: var(--jk-bg-main);
    position: relative;
}

.jk-contact-box {
    background: var(--jk-bg-card);
    border: 1px solid var(--jk-border-subtle);
    border-radius: var(--jk-radius-xl);
    padding: 48px;
    box-shadow: var(--jk-card-shadow);
}

@media (max-width: 768px) {
    .jk-contact-box {
        padding: 24px 18px;
    }
}

.jk-contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.jk-contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--jk-primary-soft);
    border: 1px solid var(--jk-border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jk-primary-lime);
    font-size: 1.15rem;
    flex-shrink: 0;
}

html[data-theme="dark"] .jk-contact-item-icon {
    background: rgba(34, 197, 94, 0.12);
}

.jk-social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--jk-bg-surface);
    border: 1px solid var(--jk-border-glass);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--jk-text-secondary);
    transition: all 0.25s ease;
}

.jk-social-link:hover {
    background: var(--jk-primary-vibrant);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px var(--jk-primary-glow);
}

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

/* ==========================================================================
   FOOTER (HIGH CONTRAST & BORDERLESS CLEAN LAYOUT)
   ========================================================================== */

.jk-footer {
    background: #040906 !important; /* Deep dark forest night */
    border-top: 1px solid rgba(74, 222, 128, 0.2) !important;
    padding-top: 85px;
    padding-bottom: 35px;
    color: #e2e8f0 !important;
    position: relative;
    z-index: 10;
}

.jk-footer p,
.jk-footer-desc {
    color: #cbd5e1 !important; /* Ultra-crisp bright silver/white */
    font-size: 0.95rem !important;
    line-height: 1.75 !important;
    margin-top: 16px;
    margin-bottom: 0;
}

.jk-footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--jk-radius-pill);
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #4ade80;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.jk-footer-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 22px !important;
    letter-spacing: -0.01em;
}

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

.jk-footer-links li {
    margin-bottom: 12px;
}

.jk-footer-links a {
    color: #cbd5e1 !important;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.jk-footer-links a i {
    font-size: 0.65rem;
    color: #4ade80;
    opacity: 0.7;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.jk-footer-links a:hover {
    color: #4ade80 !important;
    transform: translateX(4px);
}

.jk-footer-links a:hover i {
    opacity: 1;
}

/* Footer Blog List (Zero Ugly Box Outlines) */
.jk-footer-blog-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.jk-footer-blog-item {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    transition: all 0.2s ease;
}

.jk-footer-blog-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0;
}

.jk-footer-blog-thumb {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #0d1a12;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.jk-footer-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.jk-footer-blog-item:hover .jk-footer-blog-thumb img {
    transform: scale(1.08);
}

.jk-footer-blog-info {
    flex-grow: 1;
    overflow: hidden;
}

.jk-footer-blog-title {
    color: #f8fafc !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin-bottom: 4px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.jk-footer-blog-item:hover .jk-footer-blog-title {
    color: #4ade80 !important;
}

.jk-footer-blog-date {
    font-size: 0.78rem !important;
    color: #94a3b8 !important;
    display: inline-flex;
    align-items: center;
}

.jk-footer-more-link {
    color: #4ade80 !important;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.jk-footer-more-link:hover {
    color: #86efac !important;
    transform: translateX(4px);
}

.jk-footer-muted-text {
    color: #94a3b8 !important;
    font-size: 0.88rem;
}

/* Footer Bottom */
.jk-footer-bottom {
    margin-top: 60px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.jk-footer-copy {
    color: #cbd5e1 !important;
    font-size: 0.88rem;
}

.jk-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.jk-footer-bottom-links a {
    color: #cbd5e1 !important;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.jk-footer-bottom-links a:hover {
    color: #4ade80 !important;
}

.jk-footer-sep {
    color: rgba(74, 222, 128, 0.4);
    font-size: 0.85rem;
}

/* Scroll to top button */
.jk-scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--jk-primary-vibrant);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    box-shadow: 0 8px 24px var(--jk-primary-glow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.jk-scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.jk-scroll-top:hover {
    transform: translateY(-4px);
    background: var(--jk-primary-lime);
    color: #ffffff;
}

/* ==========================================================================
   PARTNER PAGES (STANDARDIZED DESIGN SYSTEM)
   ========================================================================== */

.jk-partner-page {
    padding: 70px 0 100px 0;
    background: var(--jk-bg-main);
}

.jk-partner-grid-card {
    background: var(--jk-bg-card);
    border: 1px solid var(--jk-border-subtle);
    border-radius: var(--jk-radius-xl);
    padding: 28px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--jk-card-shadow);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.jk-partner-grid-card:hover {
    transform: translateY(-6px);
    border-color: var(--jk-border-accent);
    box-shadow: var(--jk-card-shadow-hover);
}

.jk-partner-grid-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--jk-primary-lime), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.jk-partner-grid-card:hover::before {
    opacity: 1;
}

.jk-partner-logo-box {
    width: 76px;
    height: 76px;
    border-radius: var(--jk-radius-lg);
    background: var(--jk-bg-surface);
    border: 1px solid var(--jk-border-subtle);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.jk-partner-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.jk-partner-grid-card:hover .jk-partner-logo-box img {
    transform: scale(1.08);
}

.jk-partner-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--jk-text-heading);
    margin-bottom: 10px;
    line-height: 1.4;
}

.jk-partner-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.jk-partner-name a:hover {
    color: var(--jk-primary-lime);
}

.jk-partner-desc {
    font-size: 0.85rem;
    color: var(--jk-text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jk-partner-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--jk-text-muted);
    margin-bottom: 8px;
}

.jk-partner-meta-row i {
    color: var(--jk-primary-lime);
    width: 16px;
    text-align: center;
}

.jk-partner-card-footer {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--jk-border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Partner Detail Profile */
.jk-partner-profile-header {
    background: var(--jk-bg-card);
    border: 1px solid var(--jk-border-subtle);
    border-radius: var(--jk-radius-xl);
    padding: 36px;
    box-shadow: var(--jk-card-shadow);
    margin-bottom: 36px;
}

.jk-partner-detail-logo {
    width: 100px;
    height: 100px;
    border-radius: var(--jk-radius-lg);
    background: var(--jk-bg-surface);
    border: 1px solid var(--jk-border-subtle);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.jk-partner-detail-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ==========================================================================
   BLOG PAGES (STANDARDIZED DESIGN SYSTEM)
   ========================================================================== */

.jk-blog-page {
    padding: 70px 0 100px 0;
    background: var(--jk-bg-main);
}

.jk-blog-single-card {
    background: var(--jk-bg-card);
    border: 1px solid var(--jk-border-subtle);
    border-radius: var(--jk-radius-xl);
    overflow: hidden;
    box-shadow: var(--jk-card-shadow);
    margin-bottom: 32px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.jk-blog-single-card:hover {
    border-color: var(--jk-border-accent);
    box-shadow: var(--jk-card-shadow-hover);
}

.jk-blog-single-thumb {
    width: 100%;
    height: 320px;
    position: relative;
    overflow: hidden;
    background: var(--jk-bg-surface);
}

@media (max-width: 768px) {
    .jk-blog-single-thumb {
        height: 220px;
    }
}

.jk-blog-single-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.jk-blog-single-card:hover .jk-blog-single-thumb img {
    transform: scale(1.04);
}

.jk-blog-content-wrap {
    padding: 32px;
}

@media (max-width: 768px) {
    .jk-blog-content-wrap {
        padding: 22px;
    }
}

.jk-blog-author-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    font-size: 0.84rem;
    color: var(--jk-text-muted);
}

.jk-blog-author-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--jk-text-heading);
}

.jk-blog-author-badge i {
    color: var(--jk-primary-lime);
}

.jk-blog-headline {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.4;
    color: var(--jk-text-heading);
    margin-bottom: 14px;
}

.jk-blog-headline a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.jk-blog-headline a:hover {
    color: var(--jk-primary-lime);
}

/* Sidebar Styles */
.jk-sidebar-box {
    background: var(--jk-bg-card);
    border: 1px solid var(--jk-border-subtle);
    border-radius: var(--jk-radius-xl);
    padding: 28px;
    box-shadow: var(--jk-card-shadow);
    margin-bottom: 28px;
}

.jk-sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--jk-text-heading);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.jk-sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--jk-primary-lime);
    border-radius: 2px;
}

/* Search input */
.jk-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.jk-search-box input {
    width: 100%;
    padding: 14px 48px 14px 20px;
    border-radius: var(--jk-radius-pill);
    background: var(--jk-bg-surface);
    border: 1px solid var(--jk-border-subtle);
    color: var(--jk-text-heading);
    font-size: 0.9rem;
    transition: all 0.2s ease;
    outline: none;
}

.jk-search-box input:focus {
    border-color: var(--jk-primary-lime);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.jk-search-box button {
    position: absolute;
    right: 8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--jk-primary-lime);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.jk-search-box button:hover {
    transform: scale(1.08);
}

/* Sidebar Recent Posts List */
.jk-recent-post-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--jk-border-subtle);
    text-decoration: none;
}

.jk-recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.jk-recent-post-thumb {
    width: 68px;
    height: 68px;
    border-radius: var(--jk-radius-md);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--jk-bg-surface);
}

.jk-recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.jk-recent-post-item:hover .jk-recent-post-thumb img {
    transform: scale(1.08);
}

.jk-recent-post-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--jk-text-heading);
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.jk-recent-post-item:hover .jk-recent-post-title {
    color: var(--jk-primary-lime);
}

.jk-recent-post-date {
    font-size: 0.75rem;
    color: var(--jk-text-muted);
}

/* Climate Topic Pills */
.jk-topic-pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--jk-radius-pill);
    background: var(--jk-bg-surface);
    border: 1px solid var(--jk-border-subtle);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--jk-text-muted);
    text-decoration: none;
    margin: 3px;
    transition: all 0.2s ease;
}

.jk-topic-pill:hover {
    background: rgba(16, 185, 129, 0.12);
    color: var(--jk-primary-lime);
    border-color: var(--jk-border-accent);
    transform: translateY(-2px);
}

/* Single Article Body & Prose */
.jk-article-card {
    background: var(--jk-bg-card);
    border: 1px solid var(--jk-border-subtle);
    border-radius: var(--jk-radius-xl);
    padding: 40px;
    box-shadow: var(--jk-card-shadow);
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .jk-article-card {
        padding: 24px 18px;
    }
}

.jk-article-featured-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: var(--jk-radius-lg);
    border: 1px solid var(--jk-border-subtle);
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .jk-article-featured-img {
        height: 250px;
    }
}

.jk-article-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--jk-text-main);
}

.jk-article-content p {
    margin-bottom: 24px;
}

.jk-article-content h2, .jk-article-content h3, .jk-article-content h4 {
    color: var(--jk-text-heading);
    font-weight: 800;
    margin-top: 36px;
    margin-bottom: 16px;
    line-height: 1.35;
}

.jk-article-content blockquote {
    border-left: 4px solid var(--jk-primary-lime);
    padding: 16px 24px;
    margin: 28px 0;
    background: var(--jk-bg-surface);
    border-radius: 0 var(--jk-radius-md) var(--jk-radius-md) 0;
    font-style: italic;
    color: var(--jk-text-heading);
}

.jk-article-content img {
    max-width: 100%;
    border-radius: var(--jk-radius-md);
    margin: 20px 0;
}

.jk-article-share-bar {
    padding-top: 24px;
    border-top: 1px solid var(--jk-border-subtle);
    margin-top: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.jk-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--jk-radius-pill);
    background: var(--jk-bg-surface);
    border: 1px solid var(--jk-border-subtle);
    color: var(--jk-text-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.jk-share-btn:hover {
    background: var(--jk-primary-lime);
    color: #ffffff;
    border-color: var(--jk-primary-lime);
    transform: translateY(-2px);
}

/* ==========================================================================
   14. ReClimate Auth Pages (Sign In, Sign Up, & Roles)
   ========================================================================== */
.jk-auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--jk-bg-main);
    color: var(--jk-text-body);
    font-family: var(--jk-font-main);
    position: relative;
    overflow-x: hidden;
}

.jk-auth-page::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--jk-primary-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.jk-auth-topbar {
    position: relative;
    z-index: 10;
    padding: 20px 0;
}

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

.jk-auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px 50px;
    position: relative;
    z-index: 5;
}

.jk-auth-card {
    background: var(--jk-bg-card);
    border: 1px solid var(--jk-border-subtle);
    border-radius: var(--jk-radius-xl);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 100%;
    transition: all 0.3s ease;
}

html[data-theme="dark"] .jk-auth-card {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.08);
}

/* Auth Visual Side (Left) - Always deep green with pristine white text in both light and dark mode */
.jk-auth-visual {
    background: linear-gradient(135deg, #064e3b 0%, #0f281e 60%, #022c22 100%) !important;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    color: #ffffff !important;
    height: 100%;
    min-height: 520px;
}

.jk-auth-visual-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.jk-auth-visual-inner {
    position: relative;
    z-index: 2;
}

.jk-auth-visual-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
    text-decoration: none;
}

.jk-auth-visual-logo img {
    max-height: 42px;
    filter: brightness(0) invert(1);
}

.jk-auth-visual-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(16, 185, 129, 0.22);
    border: 1px solid rgba(74, 222, 128, 0.45);
    border-radius: var(--jk-radius-pill);
    color: #4ade80 !important;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
    width: fit-content;
}

.jk-auth-visual h1,
.jk-auth-visual h2,
.jk-auth-visual h3,
.jk-auth-visual .jk-auth-visual-title {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #ffffff !important;
    margin-bottom: 16px;
}

.jk-auth-visual p,
.jk-auth-visual .jk-auth-visual-desc {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.jk-auth-visual-points {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}

.jk-auth-visual-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.92) !important;
    margin-bottom: 16px;
    line-height: 1.5;
}

.jk-auth-visual-points li span {
    color: rgba(255, 255, 255, 0.92) !important;
}

.jk-auth-visual-points li i {
    color: var(--jk-primary-lime) !important;
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Auth Form Side (Right) */
.jk-auth-form-wrap {
    padding: 48px 44px;
    background: var(--jk-bg-card);
}

@media (max-width: 768px) {
    .jk-auth-form-wrap {
        padding: 32px 24px;
    }
}

.jk-auth-header {
    margin-bottom: 28px;
}

.jk-auth-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--jk-text-heading);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.jk-auth-subtitle {
    font-size: 0.95rem;
    color: var(--jk-text-secondary);
    margin-bottom: 0;
}

/* Form Inputs */
.jk-auth-field {
    margin-bottom: 20px;
    position: relative;
}

.jk-auth-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--jk-text-heading);
    margin-bottom: 8px;
}

.jk-auth-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.jk-auth-input-group .jk-auth-icon {
    position: absolute;
    left: 16px;
    color: var(--jk-text-muted);
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.25s ease;
    z-index: 3;
}

.jk-auth-input-group .form-control,
.jk-auth-input-group .form-select,
.jk-auth-textarea {
    width: 100%;
    padding: 12px 16px 12px 46px;
    background: var(--jk-bg-surface);
    border: 1.5px solid var(--jk-border-subtle);
    border-radius: var(--jk-radius-md);
    color: var(--jk-text-heading);
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.jk-auth-input-group:has(.jk-auth-pw-toggle) .form-control,
.jk-auth-input-group input[type="password"] {
    padding-right: 48px !important;
}

.jk-auth-input-group .form-control.is-invalid {
    background-image: none !important;
}

.jk-auth-textarea {
    padding: 12px 16px;
}

.jk-auth-input-group .form-control:focus,
.jk-auth-input-group .form-select:focus,
.jk-auth-textarea:focus {
    background: var(--jk-bg-surface);
    border-color: var(--jk-primary-lime);
    box-shadow: 0 0 0 4px var(--jk-primary-soft);
    color: var(--jk-text-heading);
    outline: none;
}

.jk-auth-input-group:focus-within .jk-auth-icon {
    color: var(--jk-primary-lime);
}

.jk-auth-pw-toggle {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: var(--jk-text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    z-index: 3;
}

.jk-auth-pw-toggle:hover {
    color: var(--jk-primary-lime);
}

/* Remember-me checkbox */
.jk-auth-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 0;
    font-size: 0.9rem;
    color: var(--jk-text-secondary);
    cursor: pointer;
    user-select: none;
}

.jk-auth-remember input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 auto;
    accent-color: var(--jk-primary-lime);
    cursor: pointer;
}

.jk-auth-remember:hover {
    color: var(--jk-text-heading);
}

/* reCAPTCHA Container */
.jk-recaptcha-box {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    overflow-x: auto;
}

@media (max-width: 360px) {
    .jk-recaptcha-box > div {
        transform: scale(0.85);
        transform-origin: center center;
    }
}

/* Form Helper Links & Switchers */
.jk-auth-footer-text {
    font-size: 0.9rem;
    color: var(--jk-text-secondary);
    text-align: center;
    margin-top: 24px;
    margin-bottom: 0;
}

.jk-auth-footer-text a {
    color: var(--jk-primary-lime);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.jk-auth-footer-text a:hover {
    text-decoration: underline;
    color: var(--jk-primary-dark);
}

html[data-theme="dark"] .jk-auth-footer-text a:hover {
    color: #4ade80;
}

/* Role Selection Grid (/sign-up) */
.jk-role-grid-card {
    background: var(--jk-bg-card);
    border: 1.5px solid var(--jk-border-subtle);
    border-radius: var(--jk-radius-lg);
    padding: 28px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.jk-role-grid-card:hover {
    border-color: var(--jk-primary-lime);
    transform: translateY(-6px);
    box-shadow: 0 16px 36px var(--jk-primary-glow);
}

.jk-role-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: var(--jk-primary-soft);
    color: var(--jk-primary-lime);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.jk-role-grid-card:hover .jk-role-icon-box {
    background: var(--jk-primary-lime);
    color: #ffffff;
    transform: scale(1.06);
}

.jk-role-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--jk-primary-lime);
    margin-bottom: 6px;
    display: inline-block;
}

.jk-role-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--jk-text-heading);
    margin-bottom: 8px;
}

.jk-role-desc {
    font-size: 0.88rem;
    color: var(--jk-text-secondary);
    line-height: 1.55;
    margin-bottom: 20px;
    flex: 1;
}

.jk-role-cta {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--jk-primary-lime);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: gap 0.2s ease;
}

.jk-role-grid-card:hover .jk-role-cta {
    gap: 10px;
}

/* ==========================================================================
   FontAwesome Icon Compatibility Aliases
   ========================================================================== */
.fa-phone-alt:before {
    content: "\f095"; /* Fallback to standard fa-phone */
}

/* ==========================================================================
   Hero globe: stylized dotted earth driven by verified project coordinates.
   The React island (resources/js/hero3d) renders into .jk-hero-3d-stage and
   reads the tokens above at runtime, so both themes share one scene.
   ========================================================================== */
.jk-globe {
    position: absolute;
    inset: 0;
}
.jk-globe__canvas {
    position: absolute;
    inset: 0;
    touch-action: none;
}
.jk-globe__loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jk-text-muted);
    font-size: 0.8rem;
}
.jk-globe__legend {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    pointer-events: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--jk-text-muted);
}
.jk-globe__legend span { display: inline-flex; align-items: center; gap: 6px; }
.jk-globe__legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--jk-globe-dot); }
.jk-globe__legend .is-tree i { background: var(--jk-pillar-tree); }
.jk-globe__legend .is-coral i { background: var(--jk-pillar-coral); }
.jk-globe__legend .is-seagrass i { background: var(--jk-pillar-seagrass); }
.jk-globe__legend .is-waste i { background: var(--jk-pillar-waste); }
.jk-globe__legend .is-social i { background: var(--jk-pillar-social); }
.jk-globe__pause {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 4;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--jk-border-subtle);
    background: var(--jk-bg-glass);
    color: var(--jk-text-secondary);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.jk-globe__pause:hover { color: var(--jk-primary-lime); border-color: var(--jk-border-accent-hover); }
.jk-globe__tip {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 5;
    min-width: 180px;
    max-width: 260px;
    padding: 10px 12px;
    border: 1px solid var(--jk-border-subtle);
    border-left: 3px solid var(--jk-primary-lime);
    border-radius: 8px;
    background: var(--jk-bg-glass);
    backdrop-filter: blur(8px);
    box-shadow: var(--jk-card-shadow);
    pointer-events: none;
    will-change: transform;
}
.jk-globe__tip[hidden] { display: none; }
.jk-globe__tip.is-tree { border-left-color: var(--jk-pillar-tree); }
.jk-globe__tip.is-coral { border-left-color: var(--jk-pillar-coral); }
.jk-globe__tip.is-seagrass { border-left-color: var(--jk-pillar-seagrass); }
.jk-globe__tip.is-waste { border-left-color: var(--jk-pillar-waste); }
.jk-globe__tip.is-social { border-left-color: var(--jk-pillar-social); }
.jk-globe__tip-pillar { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--jk-text-muted); }
.jk-globe__tip-title { margin-top: 2px; font-size: 0.84rem; font-weight: 700; line-height: 1.3; color: var(--jk-text-heading); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jk-globe__tip-meta { margin-top: 4px; font-size: 0.74rem; color: var(--jk-text-secondary); }
.jk-globe__tip-metric { margin-top: 6px; font-size: 0.8rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--jk-text-heading); }

/* Popup pinned to the selected marker (click), with the globe zoomed in */
.jk-globe__popup {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 6;
    width: 280px;
    max-width: calc(100% - 24px);
    padding: 12px 14px;
    border: 1px solid var(--jk-border-subtle);
    border-left: 3px solid var(--jk-primary-lime);
    border-radius: 10px;
    background: var(--jk-bg-glass);
    backdrop-filter: blur(10px);
    box-shadow: var(--jk-card-shadow-hover);
    will-change: transform;
}
.jk-globe__popup[hidden] { display: none; }
.jk-globe__popup::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 12px;
    height: 12px;
    transform: translateX(-50%) rotate(45deg);
    background: var(--jk-bg-glass);
    border-right: 1px solid var(--jk-border-subtle);
    border-bottom: 1px solid var(--jk-border-subtle);
}
.jk-globe__popup.is-tree { border-left-color: var(--jk-pillar-tree); }
.jk-globe__popup.is-coral { border-left-color: var(--jk-pillar-coral); }
.jk-globe__popup.is-seagrass { border-left-color: var(--jk-pillar-seagrass); }
.jk-globe__popup.is-waste { border-left-color: var(--jk-pillar-waste); }
.jk-globe__popup.is-social { border-left-color: var(--jk-pillar-social); }
.jk-globe__popup-close {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--jk-text-muted);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}
.jk-globe__popup-close:hover { color: var(--jk-text-heading); background: var(--jk-bg-surface); }
.jk-globe__popup .jk-globe__tip-title { padding-right: 20px; }
.jk-globe__tip-coords { margin-top: 2px; font-size: 0.68rem; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; color: var(--jk-text-muted); }
.jk-globe__popup-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--jk-primary-lime);
    text-decoration: none;
}
.jk-globe__popup-link:hover { text-decoration: underline; }

/* Verified figures under the globe */
.jk-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 16px;
    border-top: 1px solid var(--jk-border-subtle);
    border-bottom: 1px solid var(--jk-border-subtle);
}
.jk-hero-stat {
    padding: 12px 16px;
    border-left: 1px solid var(--jk-border-subtle);
    min-width: 0;
}
.jk-hero-stat:first-child { border-left: 0; padding-left: 0; }
.jk-hero-stat__value {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    color: var(--jk-text-heading);
}
.jk-hero-stat__label {
    display: block;
    margin-top: 4px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--jk-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 575.98px) {
    .jk-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .jk-hero-stat:nth-child(3) { border-left: 0; padding-left: 0; }
    .jk-hero-stat:nth-child(n+3) { border-top: 1px solid var(--jk-border-subtle); }
    .jk-globe__legend { display: none; }
}


/* ==========================================================================
   IKM PUBLIC SURVEY (landingpage/ikm-survey/*): form reached through a shared link,
   one card per question like a shared Google Form. Tokens only.
   ========================================================================== */
.jk-survey-container { max-width: 760px; }
.jk-auth-topbar .jk-survey-container { display: flex; align-items: center; justify-content: space-between; }
.jk-survey-brand img { height: 32px; width: auto; }
.jk-survey-main { position: relative; z-index: 5; flex: 1; padding: 8px 0 48px; }
.jk-survey-card {
    background: var(--jk-bg-card);
    border: 1px solid var(--jk-border-subtle);
    border-radius: var(--jk-radius-lg);
    box-shadow: var(--jk-card-shadow);
    padding: 24px;
    margin-bottom: 16px;
    scroll-margin-top: 16px;
    transition: border-color 0.2s ease;
}
.jk-survey-card--head { border-top: 6px solid var(--jk-primary); }
.jk-survey-card--muted { background: var(--jk-bg-surface); box-shadow: none; }
.jk-survey-card.is-invalid { border-color: var(--bs-danger); }
.jk-survey-eyebrow { margin: 0 0 4px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--jk-primary); }
.jk-survey-title { margin: 0 0 8px; font-size: 1.6rem; font-weight: 800; color: var(--jk-text-heading); }
.jk-survey-meta { margin: 0 0 16px; color: var(--jk-text-secondary); font-size: 0.92rem; }
.jk-survey-intro { margin: 0 0 16px; color: var(--jk-text-main); white-space: pre-line; }
.jk-survey-required-note { margin: 0; font-size: 0.85rem; color: var(--jk-text-muted); }
.jk-survey-req { color: var(--bs-danger); }
.jk-survey-optional { font-size: 0.8rem; font-weight: 500; color: var(--jk-text-muted); }
.jk-survey-alert {
    margin-bottom: 16px;
    padding: 16px 20px;
    border: 1px solid var(--bs-danger);
    border-left-width: 6px;
    border-radius: var(--jk-radius-md);
    background: var(--jk-bg-card);
    color: var(--jk-text-main);
}
.jk-survey-alert:focus { outline: none; }
.jk-survey-question { margin: 0 0 8px; font-size: 1.05rem; font-weight: 700; color: var(--jk-text-heading); }
.jk-survey-step { margin: 0 0 4px; font-size: 0.78rem; color: var(--jk-text-muted); }
.jk-survey-statement { margin: 0 0 16px; color: var(--jk-text-secondary); }
.jk-survey-legend { margin: 0; padding-left: 20px; color: var(--jk-text-main); }
.jk-survey-legend li + li { margin-top: 4px; }
.jk-survey-error { margin: 8px 0 0; font-size: 0.85rem; font-weight: 600; color: var(--bs-danger); }
.jk-survey-input { background: var(--jk-input-bg); border-color: var(--jk-input-border); color: var(--jk-input-text); border-radius: var(--jk-radius-md); }
.jk-survey-input:focus { background: var(--jk-input-bg); color: var(--jk-input-text); border-color: var(--jk-primary); box-shadow: 0 0 0 3px var(--jk-primary-glow); }
.jk-survey-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Respondent group: wrapping chips, each a radio. */
.jk-survey-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.jk-survey-choice { position: relative; cursor: pointer; }
.jk-survey-choice input, .jk-survey-scale__option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jk-survey-choice span {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--jk-border-glass);
    border-radius: var(--jk-radius-pill);
    color: var(--jk-text-main);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.jk-survey-choice:hover span { border-color: var(--jk-primary); }
.jk-survey-choice input:checked + span { background: var(--jk-primary-soft); border-color: var(--jk-primary); color: var(--jk-primary-dark); }
.jk-survey-choice input:focus-visible + span { box-shadow: 0 0 0 3px var(--jk-primary-glow); }

/* 1–4 scale: four equal buttons with the number and its meaning. */
.jk-survey-scale-group { margin: 0; padding: 0; border: 0; }
.jk-survey-scale-group + .jk-survey-scale-group { margin-top: 16px; }
.jk-survey-scale-label { float: none; width: auto; margin: 0 0 8px; padding: 0; font-size: 0.85rem; font-weight: 700; color: var(--jk-text-secondary); }
.jk-survey-scale { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.jk-survey-scale__option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-height: 72px;
    padding: 8px 4px;
    border: 1px solid var(--jk-border-glass);
    border-radius: var(--jk-radius-md);
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.jk-survey-scale__option:hover { border-color: var(--jk-primary); }
.jk-survey-scale__num { font-size: 1.15rem; font-weight: 800; color: var(--jk-text-heading); }
.jk-survey-scale__text { font-size: 0.72rem; line-height: 1.2; color: var(--jk-text-secondary); }
.jk-survey-scale__option:has(input:checked) { background: var(--jk-primary-soft); border-color: var(--jk-primary); }
.jk-survey-scale__option:has(input:checked) .jk-survey-scale__num { color: var(--jk-primary-dark); }
.jk-survey-scale__option:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--jk-primary-glow); }

.jk-survey-submit { padding: 8px 0 0; }
.jk-survey-privacy { margin: 0 0 16px; font-size: 0.85rem; color: var(--jk-text-muted); }
.jk-survey-submit__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.jk-survey-progress { font-size: 0.85rem; color: var(--jk-text-secondary); }
.jk-survey-submit .jk-btn-primary:disabled { opacity: 0.65; cursor: wait; }
.jk-survey-footnote { margin: 24px 0 0; text-align: center; font-size: 0.78rem; color: var(--jk-text-muted); }

.jk-survey-done { text-align: center; }
.jk-survey-done__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--jk-primary-soft);
    color: var(--jk-primary-dark);
    font-size: 1.4rem;
}
.jk-survey-done__icon--muted { background: var(--jk-bg-surface); color: var(--jk-text-muted); }

@media (max-width: 575.98px) {
    .jk-survey-card { padding: 20px 16px; }
    .jk-survey-title { font-size: 1.35rem; }
    .jk-survey-scale { gap: 4px; }
    .jk-survey-scale__text { font-size: 0.66rem; }
    .jk-survey-submit__row .jk-btn-primary { width: 100%; }
}
