/* 
    ========================================================
    LPK AOKI NUSANTARA CIREBON - MAIN THEME CSS
    This file provides a clean Bootstrap 5 utility approach.
    ======================================================== 
*/

:root {
    /* Primary Colors (LPK Aoki Nusantara Official Logo) */
    --primary-blue: #01A978; /* Aoki Emerald Green */
    --primary-blue-hover: #00875A;
    --primary-green: #01A978;
    --primary-green-hover: #00875A;
    --accent-red: #E60012; /* Hinomaru Crimson */

    /* Corporate Navy & Neutrals */
    --premium-navy: #0B497A; /* Aoki Corporate Navy */
    --premium-navy-dark: #073052;
    --soft-gray: #F8FAFC;
    --border-light: rgba(226, 232, 240, 0.8);

    /* Glassmorphism Tokens */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: blur(12px);

    /* Neutral Colors */
    --text-dark: #1E293B;
    /* Slightly softer than 212529 */
    --text-muted: #64748B;
    --bg-light: #F1F5F9;
    /* Slate-50: Lebih kontras terhadap putih untuk pola zebra */
    --bg-white: #FFFFFF;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    /* Fonts: Elegant Corporate Japanese & Latin Typography (Google Fonts OFL) */
    --font-primary: 'Plus Jakarta Sans', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;

    /* Layout */
    --hero-offset: 80px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    /* PENTING untuk Sticky: overflow-x di body harus visible secara default */
    overflow-x: visible !important;
    /* Soften the layout shift when JS adjustLayout assigns paddingTop */
    transition: padding-top 0.3s ease-in-out;
}

/* Khusus Beranda Mobile: Kunci overflow agar animasi entrance tidak merusak lebar */
@media (max-width: 767.98px) {
    body.is-home {
        overflow-x: hidden !important;
    }
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
    font-family: var(--font-heading);
}

/* 
    ========================================================
    UTILITY OVERRIDES & CUSTOM CLASSES
    ======================================================== 
*/
/* --- Components Override --- */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.dropdown-item {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    border-radius: 0.35rem;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
    color: var(--text-dark);
}

.border-primary-custom {
    border-color: var(--primary-blue) !important;
}

/* Override Bootstrap Dropdown Active & Hover */
.dropdown-item.active,
.dropdown-item:active,
.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(1, 169, 120, 0.1) !important;
    /* Soft Primary Blue background */
    color: var(--primary-blue) !important;
}

/* --- Buttons & UI Elements --- */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--premium-navy) 100%);
    border: none;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(1, 169, 120, 0.35);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(1, 169, 120, 0.45);
    filter: brightness(1.08);
}

.btn-danger-custom {
    background: linear-gradient(135deg, var(--accent-red) 0%, #D00000 100%);
    border: none;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(230, 32, 42, 0.3);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-danger-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 32, 42, 0.4);
    filter: brightness(1.1);
}

.slider-cta-btn {
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.slider-cta-btn:hover {
    background: #fff !important;
    color: var(--accent-red) !important;
    transform: scale(1.05);
}

.text-primary-blue,
.text-primary-custom {
    color: var(--primary-blue) !important;
}

.text-danger-custom {
    color: var(--accent-red) !important;
}

.bg-primary-soft {
    background-color: rgba(1, 169, 120, 0.1) !important;
}

.bg-primary-custom {
    background-color: var(--primary-blue) !important;
}

.bg-danger-custom {
    background-color: var(--accent-red) !important;
}

.bg-danger-soft {
    background-color: rgba(230, 32, 42, 0.1) !important;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

/* Custom Responsive Width Utilities (Missing in Core BS5) */
@media (min-width: 768px) {
    .w-md-auto {
        width: auto !important;
    }
}

@media (min-width: 992px) {
    .w-lg-auto {
        width: auto !important;
    }
}

/* Letter Spacing */
.letter-spacing-1 {
    letter-spacing: 1px;
}

/* Memastikan Navbar Header selalu di posisi teratas daripada sticky konten */
.navbar-wrapper {
    z-index: 1039 !important;
}

/* Container navbar: margin awal untuk beranda (position-absolute) */
.navbar-wrapper.position-absolute .container {
    margin-top: 24px;
}

/* Navbar non-beranda: position sticky agar menempel saat scroll layaknya elemen lain.
   - Notifikasi tidak aktif → top: 0px (menempel di atas layar)
   - Notifikasi aktif     → top: var(--banner-offset) (tepat di bawah notifikasi) */
.navbar-wrapper.sticky-top {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: var(--banner-offset, 0px);
    z-index: 1039;
}

/* ==========================================
   STICKY SIDEBAR / STICKY NAV OFFSET
   Elemen dengan class ini akan nempel tepat
   di bawah navbar (+banner) saat discroll.
   --hero-offset = navbarHeight + bannerHeight
   (dihitung dinamis oleh adjustLayout() di JS)
   ========================================== */
.sticky-nav-offset {
    position: -webkit-sticky !important;
    position: sticky !important;
    /* Top mengikuti tinggi header (banner+navbar) + sedikit gap */
    top: calc(var(--hero-offset, 80px) + 0px) !important;
    /* Z-index tinggi agar di atas konten namun di bawah navbar (1039) */
    z-index: 1020;
    /* Pastikan sidebar bisa di-scroll jika lebih panjang dari layar */
    max-height: calc(100vh - var(--hero-offset, 120px) - 30px);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

@media (min-width: 992px) {
    .sticky-nav-offset {
        top: calc(var(--hero-offset, 80px) + 24px) !important;
    }
}

.sticky-nav-offset::-webkit-scrollbar {
    display: none;
}

/* Mobile: nonaktifkan sticky nav agar tidak mengganggu layout */
@media (max-width: 767.98px) {
    .sticky-nav-offset {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
}

/* Z-Index helpers */
.z-index-0 {
    z-index: 0;
}

.z-index-1 {
    z-index: 1;
}

.z-index-2 {
    z-index: 2;
}

.z-index-tooltip {
    z-index: 1070;
}

/* Standard BS5 Tooltip z-index helpers */

/* Standard BS5 Tooltip z-index */

/* Animations & Interactive Utilities */
@keyframes bounceSlow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce-slow {
    animation: bounceSlow 3s infinite ease-in-out;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

/* Scroll Animations (triggered by JS observer) */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-left.animate-in {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* --- Preloader Custom --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    /* Clear White to distinctly differentiate from Shibuya */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2147483647 !important;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.4s ease-out;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.aoki-loader {
    width: 55px;
    height: 55px;
    border: 3px solid rgba(1, 169, 120, 0.15);
    /* Light Blue Ring */
    border-top-color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: loader-spin 1.5s linear infinite;
    position: relative;
    /* Red Dot / Rising Sun inside */
}

.aoki-loader::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--accent-red);
    animation: loader-pulse 1.5s ease-in-out infinite alternate;
}

@keyframes loader-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes loader-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

.spinner-logo {
    color: var(--text-dark);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    margin-top: 25px;
    text-transform: uppercase;
    position: relative;
    animation: text-pulse 2s ease-in-out infinite;
}

@keyframes text-pulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

/* --- Shimmer Effect (Loading Skeleton) --- */
:root {
    --skeleton-bg: #e2e5e7;
    --skeleton-shimmer: rgba(255, 255, 255, 0.6);
}

.shimmer {
    background: var(--skeleton-bg);
    background-image: linear-gradient(90deg,
            transparent 0%,
            var(--skeleton-shimmer) 50%,
            transparent 100%);
    background-size: 200% 100%;
    background-repeat: no-repeat;
    animation: shimmer 1.5s infinite linear;
    display: inline-block;
    border-radius: 4px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}


/* Typography Highlights */
.section-title {
    font-size: 2.5rem;
    /* Slightly larger for impact */
    font-weight: 650;
    /* Solid & Premium Bold */
    line-height: 1.2;
    color: var(--premium-navy);
    font-family: var(--font-heading);
    letter-spacing: -0.03em;
    /* Tight premium tracking */
}

/* Section eyebrow label (small label above title) */
.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(1, 169, 120, 0.08);
    border-radius: 50px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    line-height: 1.8;
}

/* 
    ========================================================
    SPECIFIC COMPONENT STYLING
    ======================================================== 
*/

/* --- Notification Badge (Premium Floating Pill) --- */
.notification-banner {
    position: fixed;
    bottom: 105px;
    right: 25px;
    z-index: 1045;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px) scale(0.5);
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), 
                opacity 0.5s ease-out;
    pointer-events: none;
    display: block !important;
}

.notification-banner.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.notification-banner.hide, .notification-banner.auto-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px) scale(0.5);
}

/* Wrapper utama: pill/drawer premium */
.notification-badge-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(215, 20, 35, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 8px 14px 8px 8px;
    border-radius: 50px;
    box-shadow: 0 8px 28px rgba(215, 20, 35, 0.28), 0 2px 8px rgba(0,0,0,0.12);
    text-decoration: none !important;
    color: white;
    position: relative;
    max-width: 260px;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.notification-badge-wrapper:hover {
    transform: translateY(-6px) scale(1.04);
    background: rgba(215, 20, 35, 1);
    box-shadow: 0 16px 36px rgba(215, 20, 35, 0.38);
    color: white;
}

/* Ikon bulat di sisi kiri */
.badge-icon-container {
    flex-shrink: 0;
    background: white;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--accent-red);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.badge-icon-container i {
    font-size: 1rem;
    animation: badgeShake 4s ease infinite;
    z-index: 2;
    position: relative;
}

/* Glass shine effect on icon */
.badge-icon-container::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: rotate(45deg) translateX(-150%);
    animation: iconShine 3.5s ease infinite;
}

/* Titik notif berdenyut */
.badge-pulse {
    position: absolute;
    top: 0;
    right: 0;
    width: 11px;
    height: 11px;
    background: #FFD700;
    border-radius: 50%;
    border: 2px solid rgba(215, 20, 35, 1);
    z-index: 5;
    animation: badgePulse 2s infinite;
}

/* Teks di sisi kanan ikon */
.badge-text-content {
    display: flex;
    flex-direction: column;
    min-width: 0; /* Agar teks bisa truncate */
}

.badge-label {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.2;
    margin-bottom: 2px;
    /* Truncate teks panjang */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.badge-info {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

/* Tombol tutup di pojok kanan atas */
.notification-banner #closeBadge {
    position: absolute;
    top: -9px;
    right: -9px;
    background: #333;
    color: white !important;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    border: 2px solid white;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10;
}

.notification-banner:hover #closeBadge {
    opacity: 1;
    transform: scale(1.1);
}

/* ============================
   Keyframe Animations
   ============================ */
@keyframes badgePulse {
    0%   { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.65); }
    70%  { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

@keyframes badgeShake {
    0%, 75%, 100% { transform: rotate(0); }
    80%  { transform: rotate(-14deg); }
    87%  { transform: rotate(14deg); }
    93%  { transform: rotate(-8deg); }
}

@keyframes iconShine {
    0%         { transform: rotate(45deg) translateX(-150%); }
    25%, 100%  { transform: rotate(45deg) translateX(150%); }
}

/* ============================
   Responsive: Mobile
   ============================ */
@media (max-width: 575.98px) {
    .notification-banner {
        /* Lebih dekat ke tombol WA (bottom: 24px + tinggi WA ~58px + gap 6px = 88px) */
        bottom: 88px;
        right: 12px;
    }

    .notification-badge-wrapper {
        max-width: 210px;   /* Cukup sempit agar tidak tutup >55% layar */
        padding: 6px 12px 6px 6px;
        gap: 8px;
        border-radius: 40px;
    }

    .badge-icon-container {
        width: 32px;
        height: 32px;
    }

    .badge-icon-container i {
        font-size: 0.9rem;
    }

    .badge-label {
        font-size: 0.58rem;
        max-width: 145px;
    }

    .badge-info {
        font-size: 0.8rem;
        max-width: 145px;
    }

    /* Tombol tutup selalu sedikit visible di mobile */
    .notification-banner #closeBadge {
        opacity: 0.75;
        top: -7px;
        right: -7px;
        width: 20px;
        height: 20px;
        font-size: 0.55rem;
    }
}

/* --- Navbar --- */
.navbar {
    padding-top: 8px;
    padding-bottom: 8px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Navbar Transparent (homepage hero) */
.navbar-transparent .navbar {
    background: transparent !important;
    box-shadow: none !important;
}

.navbar-transparent .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-transparent .nav-link.show {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Overide warna underline menjadi putih khusus di navbar transparan */
.navbar-transparent .nav-link::before {
    background-color: #fff;
}

.navbar-transparent .nav-link:hover,
.navbar-transparent .nav-link.active {
    color: #fff !important;
}

.navbar-transparent .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.navbar-transparent .lang-switcher {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.navbar-transparent .lang-divider {
    color: rgba(255, 255, 255, 0.5);
}

/* Navbar Scrolled (white bg after scroll) */
.navbar-scrolled .navbar {
    background: #fff !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
}

.navbar-scrolled .nav-link {
    color: var(--text-dark) !important;
}

.navbar-scrolled .nav-link:hover,
.navbar-scrolled .nav-link.active {
    color: var(--primary-blue) !important;
}

/* Reset underline menjadi merah saat scrolled (mengungguli rule .navbar-transparent) */
.navbar-scrolled .nav-link::before {
    background-color: var(--primary-blue);
}

.navbar-scrolled .navbar-toggler-icon {
    filter: none;
}

/* Transisi smoother untuk navbar-toggler icon */
.navbar-toggler-icon {
    transition: background-image 0.3s ease, transform 0.3s ease;
}

/* Ubah Hamburger Menjadi X Saat Expand */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath fill-rule='evenodd' d='M1.293 1.293a1 1 0 0 1 1.414 0L8 6.586l5.293-5.293a1 1 0 1 1 1.414 1.414L9.414 8l5.293 5.293a1 1 0 0 1-1.414 1.414L8 9.414l-5.293 5.293a1 1 0 0 1-1.414-1.414L6.586 8 1.293 2.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
    transform: rotate(90deg);
}

.navbar-scrolled .lang-switcher {
    background: #c8cdd2;
    border-color: #d0d8df !important;
}

/* Non-home pages: always white bg */
.sticky-top.navbar-wrapper .navbar {
    background: #fff !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
}

.navbar-brand img {
    max-height: 48px;
    background-color: #ffffff;
    border-radius: 50%;
    padding: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1/1;
    object-fit: contain;
}

.nav-link {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.2px;
    color: var(--text-dark) !important;
    padding: 0.4rem 0.9rem !important;
    transition: color 0.2s;
    position: relative;
}

/* Garis bawah modern (glowing blue) */
.nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -2px;
    left: 50%;
    background: var(--primary-blue);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(1, 169, 120, 0.5);
    transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Active & Show state (Desktop & Mobile) */
.nav-link.active::before,
.nav-link.show::before {
    width: 24px;
    left: calc(50% - 12px);
}

/* Hover state hanya untuk desktop murni (mencegah sticky hover di mobile) */
@media (min-width: 992px) {
    .nav-link:hover::before {
        width: 24px;
        left: calc(50% - 12px);
    }
}

.nav-link.active,
.nav-link.show {
    color: var(--primary-blue) !important;
}

@media (min-width: 992px) {
    .nav-link:hover {
        color: var(--primary-blue) !important;
    }
}

@media (max-width: 991.98px) {
    .navbar-brand img {
        max-height: 45px;
    }

    /* Offcanvas Mobile Menu Styling */
    .offcanvas-end {
        width: 320px !important;
        border-left: none;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    }

    .offcanvas-body {
        padding: 1rem 0;
        /* Remove horizontal padding, put it on items */
    }

    .offcanvas .navbar-nav {
        align-items: stretch !important;
        width: 100%;
        margin: 0 !important;
    }

    .offcanvas .nav-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        width: 100%;
    }

    .offcanvas .nav-item:last-child {
        border-bottom: none;
    }

    /* Reset nav-link weirdness and make it a flex container to push chevron */
    .navbar-expand-lg .offcanvas .nav-link {
        text-align: left !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem !important;
        font-weight: 600;
        font-size: 1.05rem;
        width: 100%;
    }

    /* Override transparent text color overrides everywhere in offcanvas */
    .navbar-transparent .offcanvas .nav-link,
    .navbar-transparent .offcanvas .dropdown-item {
        color: var(--text-dark) !important;
    }

    .navbar-transparent .offcanvas .nav-link.active,
    .navbar-transparent .offcanvas .nav-link.show,
    .offcanvas .dropdown-item.active {
        color: var(--primary-blue) !important;
    }

    @media (hover: hover) {

        .navbar-transparent .offcanvas .nav-link:hover,
        .offcanvas .dropdown-item:hover {
            color: var(--primary-blue) !important;
        }
    }

    .navbar-transparent .offcanvas .nav-link::before {
        background-color: var(--primary-blue);
    }

    /* Glowing Bottom Blue Line on Active/Hover - Restyle for Mobile */
    .offcanvas .nav-link::before {
        bottom: 0px;
        left: 1.5rem;
        /* Match the 1.5rem padding! */
        height: 2px;
    }

    .offcanvas .nav-link.active::before,
    .offcanvas .nav-link.show::before {
        width: 30px !important;
        left: 1.5rem !important;
        /* Force override left: 50% from desktop Rules */
    }

    @media (hover: hover) {
        .offcanvas .nav-link:hover::before {
            width: 30px !important;
            left: 1.5rem !important;
        }
    }

    .offcanvas .dropdown-menu {
        box-shadow: none !important;
        background: #fdfdfd !important;
        border: none;
        padding: 0;
        margin: 0;
    }

    .offcanvas .dropdown-item {
        padding: 0.8rem 1.5rem 0.8rem 2.5rem !important;
        /* Indent sub items cleanly */
        color: var(--text-muted);
        text-align: left !important;
        font-size: 0.95rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
        white-space: normal;
    }

    .offcanvas .dropdown-item:last-child {
        border-bottom: none;
    }

    .offcanvas .dropdown-item.active {
        background: rgba(1, 169, 120, 0.05) !important;
        color: var(--primary-blue) !important;
        font-weight: 600;
    }

    @media (hover: hover) {
        .offcanvas .dropdown-item:hover {
            background: rgba(1, 169, 120, 0.05) !important;
            color: var(--primary-blue) !important;
            font-weight: 600;
        }
    }
}

/* --- Hero Section: fullscreen dengan overlay gelap (LP3I-style) --- */

.hero {
    position: relative;
    height: 100svh;
    max-height: 1024px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0;
    margin: 0;
}

@media (max-width: 991.98px) {
    .hero {
        max-height: 900px;
        height: 100svh;
    }
}

@media (max-width: 767.98px) {
    .hero {
        height: 100svh;
        max-height: unset;
    }
}

/* Area foto: mengisi semua sisa tinggi di atas stats bar */
.hero-image-area {
    position: relative;
    flex: 1 1 auto;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Stats Bar: Modern Glassmorphism floating version */
.hero-stats-bar {
    flex-shrink: 0;
    position: relative;
    z-index: 5;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem 0;
    margin-top: -80px;
    /* Pull it slightly over the hero image */
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
}

.hero-stats-bar .hero-stat-item {
    padding: 0.4rem 1.5rem;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-stats-bar .col-md-3:last-child .hero-stat-item {
    border-right: none;
}

.hero-stats-bar .hero-stat-number {
    font-size: clamp(1.8rem, 2.8vw, 2.5rem);
    font-weight: 800;
    color: var(--primary-blue);
    /* Blue numbers on white glass */
    line-height: 1;
    font-family: var(--font-heading);
    letter-spacing: -1px;
}

.hero-stats-bar .hero-stat-label {
    font-size: clamp(0.7rem, 0.9vw, 0.75rem);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

@media (max-width: 767.98px) {
    .hero-stats-bar {
        margin-top: -60px;
        padding: 1.25rem 0.5rem;
        border-radius: 20px 20px 0 0;
        /* Slightly stronger glass on mobile */
        background: rgba(255, 255, 255, 0.85);
    }

    .hero-stats-bar .hero-stat-item {
        border-right: none;
        padding: 0.75rem 0.5rem;
        /* Menghindari teks menyatu saat wrap ke baris 2 */
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .hero-stats-bar .row>div:last-child .hero-stat-item,
    .hero-stats-bar .row>div:nth-last-child(2) .hero-stat-item {
        border-bottom: none;
    }
}

.parallax-hero-bg {
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    /* Efek Navy Wash Premium: Mengubah foto menjadi grayscale dengan kontras tinggi agar detail tetap tajam */
    filter: grayscale(30%) brightness(0.8) contrast(1.25);
}

/* Overlay: Modern soft navy overlay (Premium Navy Wash Effect like LP3I) */
.hero-overlay-gradient {
    /* Gradient + Vignette untuk memfokuskan visual ke tengah dan teks */
    background: rgba(53, 105, 225, 0.5);
    mix-blend-mode: multiply; /* Menyatukan warna secara mendalam dengan tekstur foto */
    z-index: 0;
}

/* --- Hero Navigation --- */
.hero-nav-btn {
    width: 52px;
    height: 52px;
    background-color: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 50%;
    color: #ffffff !important;
    z-index: 10;
    opacity: 0.8;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    top: calc(var(--hero-offset, 80px) + (100% - var(--hero-offset, 80px)) / 2);
    transform: translateY(-50%);
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-nav-btn.carousel-control-prev {
    left: 1rem;
}

.hero-nav-btn.carousel-control-next {
    right: 1rem;
}

.hero-nav-btn:hover {
    opacity: 1;
    background-color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 12px 40px rgba(1, 169, 120, 0.3);
}

.hero-nav-btn:hover i {
    transform: scale(1.1);
}

.hero-nav-btn.carousel-control-prev:hover i {
    transform: translateX(-3px) scale(1.1);
}

.hero-nav-btn.carousel-control-next:hover i {
    transform: translateX(3px) scale(1.1);
}

.hero-nav-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

/* Diisi oleh FontAwesome di PHP */

@media (max-width: 767.98px) {
    .hero-nav-btn {
        width: 36px;
        height: 36px;
    }

    .hero-nav-btn .carousel-control-prev-icon,
    .hero-nav-btn .carousel-control-next-icon {
        width: 16px;
        height: 16px;
    }

    .hero-nav-btn.carousel-control-prev {
        left: 0.5rem;
    }

    .hero-nav-btn.carousel-control-next {
        right: 0.5rem;
    }
}

/* --- Removed Legacy Statistics Sections to prevent overrides --- */


/* Font Hero: teks rata kiri (LP3I/Sekai style) */
.hero-title {
    font-size: clamp(1.8rem, 3.5vw + 0.8rem, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }
}

/* Subtitle mengikuti Bangkit: warna aksen, size text-l */
.hero-subtitle {
    font-size: clamp(1rem, 1.2vw + 0.7rem, 1.5rem);
    font-weight: 500;
    color: white !important;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.hero-caption-area {
    position: absolute;
    /* Batas atas: tepat di bawah navbar & banner (dihitung dinamis di JS) */
    top: var(--hero-offset);
    /* Batas bawah: dasar foto carousel */
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    /* Gunakan flex untuk memposisikan teks di tengah area tersisa */
    display: flex;
    align-items: center;
}

.slider-cta-btn {
    letter-spacing: 0.5px;
    border: 2px solid rgba(255, 255, 255, 0.85) !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(2px);
}

/* --- Custom Buttons --- */
/* Tombol CTA: Mengikuti Bangkit - rounded kecil, bukan full-pill */
.btn-cta-primary {
    background-color: rgba(230, 57, 70, 0.85);
    color: #fff !important;
    border: none;
    border-radius: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.55rem 1.25rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-cta-primary:hover,
.btn-cta-primary:focus {
    background-color: rgba(230, 57, 70, 1);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.35);
}

.btn-cta-primary:active,
.btn-cta-primary.active {
    background-color: rgba(200, 45, 55, 1) !important;
    color: #fff !important;
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(230, 57, 70, 0.25) !important;
}

/* Tombol outline secondary (di Navbar: soft muted bg) */
.btn-cta-secondary {
    background-color: #f0f4f7;
    color: var(--text-dark) !important;
    border: 1px solid #d0d8df;
    border-radius: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 400;
    padding: 0.5rem 1.1rem;
    transition: background-color 0.2s ease;
}

.btn-cta-secondary:hover,
.btn-cta-secondary:focus {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff !important;
}

.btn-cta-secondary:active,
.btn-cta-secondary.active {
    background-color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
    color: #fff !important;
}

.btn-cta-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue) !important;
    transition: all 0.3s ease;
}

.btn-cta-outline:hover,
.btn-cta-outline:focus {
    background: var(--primary-blue);
    color: #fff !important;
}

.btn-cta-outline:active,
.btn-cta-outline.active {
    background: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
    color: #fff !important;
}

/* --- Legacy Stats Cleanup ---
   Removing redundant rules to prevent conflicts with Modern Clarity styles
*/


/* --- Lang Switcher (Flag Only) --- */
.lang-switcher {
    background: #c8cdd2;
    /* Padding vertikal sama dengan btn-cta-primary (0.55rem) agar tinggi seragam */
    padding-top: 0.55rem !important;
    padding-bottom: 0.55rem !important;
    align-self: center;
}

.lang-flag {
    display: flex;
    align-items: center;
    opacity: 0.45;
    transition: opacity 0.2s ease;
    border-radius: 0.1rem;
    overflow: hidden;
}

.lang-flag:hover,
.lang-flag.lang-active {
    opacity: 1;
}

.lang-divider {
    font-size: 0.7rem;
    color: #c0c8d0;
    user-select: none;
}


/* =========================================
   2. TYPOGRAPHY & BASE RESET
   ========================================= */
/* Typography & Base Reset moved to top of file */

/* ========================================================
   TESTIMONIAL MARQUEE SECTION
   ======================================================== */
.testimonial-section {
    background-color: var(--bg-light);
    overflow: hidden;
    position: relative;
}

.marquee-container {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    /* Jangan memotong vertikal avatar */
    overflow-y: visible !important;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scrollMarquee 40s linear infinite;
    padding-top: 10px;
    /* Jarak ekstra buat amannya bayangan */
}

/* Jeda animasi ketika kursor menyentuh kartu */
.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Geser tepat sebesar 50% dari lebar keseluruhan (karena logo diduplikasi 2x) */
        transform: translateX(-50%);
    }
}

.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    padding-top: 3.5rem !important;
    /* Ruang untuk avatar melayang */
    margin-top: 2.5rem;
    /* Jarak agar avatar tidak kepotong diatas container */
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.testimonial-avatar {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(1, 169, 120, 0.2);
    display: block;
    flex-shrink: 0;
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-style: italic;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* Quote icon sudah di .testimonial-card::before */

@media (max-width: 767.98px) {
    .marquee-track {
        animation: scrollMarquee 25s linear infinite;
        /* Sedikit lebih cepat di mobile */
    }

    .testimonial-card {
        width: 340px !important;
    }
}

/* ========================================================
   ABOUT SECTION
   ======================================================== */

.about-section {
    position: relative;
    overflow: hidden;
}

/* Label kecil di atas judul (eyebrow) */
.about-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

.about-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    flex-shrink: 0;
}

/* ========================================================
   SECTION INTRO (ABOUT) V2 - THE OVERLAPPING CARD
   ======================================================== */
.about-section {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.about-image-overlap {
    position: relative;
    z-index: 1;
}

.about-image-overlap img {
    object-position: center;
    transition: transform 0.6s ease;
}

.about-image-overlap:hover img {
    transform: scale(1.03);
}

.about-image-overlay {
    background-color: rgba(15, 23, 42, 0.05);
    /* Very subtle dark tint for premium depth */
    pointer-events: none;
    z-index: 2;
}

.about-card-overlap {
    border: 1px solid rgba(0, 0, 0, 0.03);
    z-index: 3;
    position: relative;
}

.about-feature-block {
    transition: transform 0.3s ease;
}

.about-feature-block:hover {
    transform: translateY(-3px);
}

.about-feature-icon-v2 {
    width: 38px;
    height: 38px;
    color: var(--accent-red);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Floating Badge Animation */
@keyframes floatBadgeBox {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.about-floating-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: #fff;
    padding: 12px 20px;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatBadgeBox 4s ease-in-out infinite;
    z-index: 4;
}

.about-floating-badge-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

@media (min-width: 992px) {

    /* Menarik card ke kiri untuk tumpang tindih dengan gambar */
    .about-card-col {
        margin-left: -8.333333%;
        /* overlap 1 kolom ke kiri */
    }

    /* Fix Firefox: Mencegah wrap pada baris yang memiliki overlap (total 13 kolom) */
    .about-row-overlap {
        flex-wrap: nowrap !important;
    }
}

@media (max-width: 991.98px) {
    .about-floating-badge {
        bottom: 15px;
        left: 15px;
        padding: 8px 12px;
    }

    .about-floating-badge-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .about-floating-badge h6 {
        font-size: 0.85rem !important;
    }

    .about-floating-badge span {
        font-size: 0.7rem !important;
    }

    .about-card-col {
        margin-top: -60px !important;
        /* Tarik card agar sedikit numpang di bawah gambar mobile */
        z-index: 5;
    }
}

/* --- D3 Japan Map (Required for existing component) --- */
#map-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

#japan-map {
    width: 100%;
    height: auto;
    display: block;
}

.prefecture {
    fill: #e0e0e0;
    stroke: #ffffff;
    stroke-width: 0.5;
    transition: fill 0.3s;
}

.prefecture.active {
    fill: var(--accent-red) !important;
    cursor: pointer;
}

.prefecture.active:hover {
    fill: var(--primary-blue) !important;
}

div.tooltip {
    position: absolute;
    text-align: center;
    padding: 8px;
    font-size: 14px;
    font-family: sans-serif;
    font-weight: bold;
    background: white;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    pointer-events: none;
    opacity: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.prefecture-chip {
    break-inside: avoid;
    margin-bottom: 6px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    padding: 8px 15px;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.prefecture-chip i {
    color: var(--accent-red);
}

/* --- Footer Dark Navy (LP3I-style) --- */
.footer {
    background: var(--dark-navy) !important;
    background-color: var(--dark-navy) !important;
    padding: 60px 0 20px;
    color: rgba(255, 255, 255, 0.75);
}

.footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.footer h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.social-link i {
    font-size: 1.1rem;
    background-color: transparent !important;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-blue);
}

.copyright {
    text-align: center;
    padding: 1.5rem 0 0;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    background: transparent !important;
    background-color: transparent !important;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '\201C';
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--accent-red);
    opacity: 0.15;
    position: absolute;
    top: 23px;
    left: 18px;
    line-height: 1;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(1, 169, 120, 0.2);
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.testimonial-quote {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-style: italic;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-author-info {
    flex: 1;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.3;
}

.testimonial-company {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
}

/* --- Testimonial Navigation Overrides --- */
.testi-nav-btn {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    background: transparent;
    border-radius: 50%;
}

.carousel-control-prev.testi-nav-btn {
    left: -24px;
}

.carousel-control-next.testi-nav-btn {
    right: -24px;
}

.testi-nav-btn:hover {
    opacity: 1;
}

.testi-nav-btn .carousel-control-prev-icon,
.testi-nav-btn .carousel-control-next-icon {
    width: 100%;
    height: 100%;
    background-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(1, 169, 120, 0.4);
    transition: all 0.3s ease;
}

.testi-nav-btn:hover .carousel-control-prev-icon,
.testi-nav-btn:hover .carousel-control-next-icon {
    box-shadow: 0 6px 15px rgba(1, 169, 120, 0.6);
    background-color: var(--primary-blue-hover) !important;
}

.testi-indicators {
    bottom: -40px;
}

@media (max-width: 767.98px) {
    .carousel-control-prev.testi-nav-btn {
        left: 0;
    }

    .carousel-control-next.testi-nav-btn {
        right: 0;
    }
}

/* --- Section Artikel Override --- */
.articles-section {
    background-color: var(--bg-light);
    padding: 5rem 0 6rem !important;
}

.article-card {
    border: none !important;
    border-radius: 0.5rem !important;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.article-img-wrapper {
    overflow: hidden;
    /* Hilangkan border bawah keras yang ada di bootstrap dasar */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.article-img {
    transition: transform 0.6s ease;
}

.article-card:hover .article-img {
    transform: scale(1.06);
}

.article-content {
    background: #fff;
    padding: 1.75rem 1.75rem !important;
}

.article-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.article-title {
    font-size: 1.25rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.article-card:hover .article-title {
    color: var(--primary-blue) !important;
}

.article-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0px;
}

.article-read-more {
    color: var(--accent-red);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-items: center;
    transition: all 0.2s ease;
}

.article-read-more:hover {
    color: var(--primary-blue);
    letter-spacing: 1px;
}

/* --- FAQ Accordion Override --- */
.faq-section {
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.custom-accordion .accordion-item {
    border: none;
    background: #fff;
    border-radius: 0.5rem !important;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.custom-accordion .accordion-button {
    background: #fff;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-blue);
    background-color: rgba(1, 169, 120, 0.04);
    box-shadow: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(1, 169, 120, 0.1);
}

/* Ganti warna icon panah bawaan bootstrap saat aktif */
.custom-accordion .accordion-button:not(.collapsed)::after {
    filter: invert(48%) sepia(91%) saturate(2206%) hue-rotate(170deg) brightness(98%) contrast(106%);
}

.custom-accordion .accordion-body {
    padding: 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* --- Sticky CTA Footer Override --- */
.sticky-cta {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    /* Sembunyi ke dasar layar */
    opacity: 0;
    visibility: hidden;
    z-index: 1040;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Efek pantulan luncur atas */
}

.sticky-cta.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.sticky-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
    animation: floatBadge 4s ease-in-out infinite;
    /* Animasi melayang sesuai badge lpk terbaik */
}

.sticky-cta-btn i {
    margin-right: 10px;
    font-size: 1.1rem;
}

/* .floating-wa diatur terpusat di utility section bawah */

/* --- About Badge Animation --- */
@keyframes floatBadge {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.about-badge {
    animation: floatBadge 4s ease-in-out infinite;
    /* Pastikan posisinya relatif jika transform dasar dibutuhkan */
    /* Untuk .about-badge yang existing ada di style.css */
}

/* --- Footer Re-Design: Premium Light --- */
.footer {
    background-color: #FFFFFF !important;
    padding: 4rem 2rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-dark);
    margin: 0;
    box-shadow: none;
    position: relative;
}

@media (min-width: 992px) {
    .footer {
        padding: 5rem 4rem 0rem;
    }
}

.footer-heading {
    font-size: 1rem;
    font-weight: 800;
    color: var(--premium-navy);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
}

.footer p,
.footer-link {
    color: var(--text-muted);
}

.footer-link:hover {
    color: var(--primary-blue);
    text-decoration: none;
}

.footer .me-3 i {
    color: var(--primary-blue);
}

/* Social link buttons re-design */
/* Social link buttons re-design - Fixed to User Request */
.footer .social-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    /* Squircle modern */
    background-color: var(--bg-light) !important;
    color: var(--text-dark) !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
    margin-right: 0.75rem;
}

/* Copyright Re-Design */
.footer .copyright {
    background-color: #FFFFFF !important;
    color: var(--text-muted) !important;
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.footer .copyright p {
    color: var(--text-muted) !important;
    margin: 0;
}

/* Memperbaiki Overflow Horizontal Mobile dari Bootrstrap Gutter (-margin) */
@media (max-width: 767.98px) {
    .row {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .row>* {
        padding-right: 0.5rem !important;
        padding-left: 0.5rem !important;
    }

    .footer .mt-4.d-flex.flex-wrap.gap-2 {
        justify-content: center;
        /* menengahkan agar social icon tak luber ke sisi pada mobile */
    }
}



/* =========================================
   STANDARD BUTTON SYSTEM
   Color: Primary (Blue) & Danger (Red)
   Interactions: Normal -> Hover (Lighter) -> Active (Darker)
========================================= */

/* 1. BUTTON PRIMARY (BIRU) */
.btn-primary-custom {
    background-color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
    color: #ffffff !important;
    transition: all 0.3s ease !important;
}

/* Hover State (Sedikit lebih terang & naik) */
.btn-primary-custom:hover {
    background-color: #2b4ba8 !important;
    /* Biru terang */
    border-color: #2b4ba8 !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(30, 61, 143, 0.3) !important;
}

/* Active/Click State (Ditekan, lebih gelap) */
.btn-primary-custom:active,
.btn-primary-custom.active {
    background-color: #142a66 !important;
    /* Biru gelap */
    border-color: #142a66 !important;
    transform: translateY(1px);
    /* Efek ditekan ke dalam */
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2) !important;
}

/* 2. BUTTON DANGER (MERAH) */
.btn-danger-custom {
    background-color: var(--accent-red) !important;
    border-color: var(--accent-red) !important;
    color: #ffffff !important;
    transition: all 0.3s ease !important;
}

/* Hover State (Sedikit lebih terang & naik) */
.btn-danger-custom:hover {
    background-color: #f74545 !important;
    /* Merah terang */
    border-color: #f74545 !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3) !important;
}

/* Active/Click State (Ditekan, lebih gelap) */
.btn-danger-custom:active,
.btn-danger-custom.active {
    background-color: #b01e2c !important;
    /* Merah gelap */
    border-color: #b01e2c !important;
    transform: translateY(1px);
    /* Efek ditekan ke dalam */
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2) !important;
}

/* =========================================
   NOTIFICATION BANNER CUSTOM BUTTON
========================================= */
.btn-banner-custom {
    background-color: #ffffff;
    color: var(--accent-red);
    border: none;
    transition: all 0.3s ease;
}

.btn-banner-custom:hover {
    background-color: #f8f9fa;
    /* Off-white */
    color: var(--primary-blue);
    /* Transisi teks ke Biru Premium */
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15) !important;
}

.btn-banner-custom:active,
.btn-banner-custom.active {
    background-color: #dbe2ea !important;
    /* Abu-abu kebiruan yang kokoh */
    color: var(--primary-blue) !important;
    /* Teks tetap biru saat ditekan */
    transform: translateY(1px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* =========================================
   FLOATING BUTTONS BAR
   Mobile: CTA kiri | WA kanan (justify)
   Desktop: WA kanan saja (CTA punya posisi sendiri)
========================================= */

/* Bar wrapper - hanya untuk mengatur posisi WA */
.floating-buttons-bar {
    position: fixed;
    bottom: 24px;
    left: 0;
    right: 0;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    /* WA selalu di kanan */
    align-items: flex-end;
    pointer-events: none;
    z-index: 1030;
    box-sizing: border-box;
}

/* Tombol WhatsApp Floating (Extended FAB) */
.floating-wa {
    pointer-events: all;
    height: 52px;
    width: auto;
    padding: 0 20px 0 16px;
    border-radius: 30px;
    background-color: #25D366;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    flex-shrink: 0;
    margin: 0;
}

.floating-wa i {
    font-size: 1.6rem;
}

.floating-wa-text {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

@media (hover: hover) {
    .floating-wa:hover {
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
    }
}

@media (max-width: 767.98px) {
    .floating-wa {
        height: 48px;
        padding: 0 16px 0 12px;
    }

    .floating-wa i {
        font-size: 1.4rem;
    }

    .floating-wa-text {
        font-size: 0.9rem;
    }
}

/* =========================================
   STICKY CTA - Posisi tengah bawah layar
   Ditampilkan/disembunyikan oleh JS via class .show
========================================= */
.sticky-cta {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1030;
    /* Sembunyikan saat pertama load - JS akan tambahkan .show saat scroll */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    /* translateX(-50%) tidak boleh hilang saat transisi */
    transform: translateX(-50%) translateY(8px);
}

.sticky-cta.show {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.sticky-cta-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.35) !important;
    transition: box-shadow 0.3s ease !important;
    border: none !important;
    text-decoration: none;
    white-space: nowrap;
}

.sticky-cta-btn:hover {
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.45) !important;
}

/* Mobile: ukuran sedikit lebih kecil */
@media (max-width: 575.98px) {
    .sticky-cta-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1.1rem !important;
    }
}

/* =========================================
   TESTIMONIAL MOBILE CAROUSEL
   Hanya aktif di layar mobile (< 768px)
========================================= */

/* Sembunyikan marquee di mobile, tampilkan carousel */
@media (max-width: 767.98px) {
    .testimonial-marquee-wrapper {
        display: none !important;
    }

    .testimonial-mobile-carousel {
        display: block !important;
    }

    /* Carousel wrapper */
    .testimonial-mobile-carousel .carousel-inner {
        overflow: hidden !important;
    }

    /* Carousel card: 1 kolom penuh, terpusat */
    .testimonial-mobile-carousel .testimonial-card {
        width: 100% !important;
        margin: 0 auto;
        max-width: 340px;
        position: relative;
    }

    /* Avatar: inline kecil di author area */
    .testimonial-mobile-carousel .testimonial-avatar {
        position: static;
        width: 48px !important;
        height: 48px !important;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid rgba(1, 169, 120, 0.2);
        display: block;
        margin: 0 !important;
        flex-shrink: 0;
    }

    /* Indikator dots */
    .testimonial-mobile-carousel .carousel-indicators {
        bottom: -32px;
    }

    .testimonial-mobile-carousel .carousel-indicators [data-bs-target] {
        background-color: var(--primary-blue);
        width: 8px;
        height: 8px;
        border-radius: 50%;
        border: none;
    }

    /* Tombol prev/next visible di mobile */
    .testi-mobile-nav {
        width: 36px;
        height: 36px;
        background-color: var(--primary-blue) !important;
        border-radius: 50%;
        opacity: 1;
        top: 50%;
        transform: translateY(-50%);
    }

    .testi-mobile-nav.carousel-control-prev {
        left: -4px;
    }

    .testi-mobile-nav.carousel-control-next {
        right: -4px;
    }
}

/* Desktop: tampilkan marquee, sembunyikan carousel */
@media (min-width: 768px) {
    .testimonial-mobile-carousel {
        display: none !important;
    }

    .testimonial-marquee-wrapper {
        display: block !important;
    }
}

/* =========================================
   HERO: Konten terpusat memperhitungkan
   navbar + banner (via --hero-offset dari JS)
   Berlaku untuk DESKTOP dan MOBILE
========================================= */
.hero-image-area {
    position: relative;
    flex: 1 1 auto;
    overflow: hidden;
    /* Tidak perlu display:flex karena container pakai absolute positioning */
}

/* Container konten hero: absolute agar batas ATAS tepat di bawah header,
   batas BAWAH tepat di atas stats bar. Centering terjadi di dalam area ini. */
.hero-image-area>.container {
    position: absolute;
    top: var(--banner-offset, 0px);
    /* mulai dari bawah header (navbar+banner) */
    bottom: 0;
    /* berakhir tepat di batas atas stats bar */
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    /* pusat vertikal dalam area yang terdefinisi */
    justify-content: center;
    padding: 0 var(--bs-gutter-x, 12px);
    box-sizing: border-box;
}

.hero-image-area>.container>.row {
    width: 100%;
}

/* =========================================
   NAVBAR MOBILE: Tombol Daftar di navbar
========================================= */
.navbar-mobile-cta {
    display: none;
    /* sembunyikan di desktop */
}

@media (max-width: 991.98px) {
    .navbar-mobile-cta {
        display: flex;
        align-items: center;
    }

    /* Centering Dropdown Navigasi Mobile (Informasi) */
    .navbar-nav .dropdown-toggle {
        text-align: center;
        width: 100%;
    }

    .navbar-nav .dropdown-menu {
        text-align: center;
        background-color: rgba(0, 0, 0, 0.02);
        border: none;
        padding: 0.5rem 0;
    }

    /* Class Helper untuk Auto-Expand via PHP */
    .mobile-expand.dropdown-menu {
        display: block !important;
    }
}

/* =========================================
   FIX: Cegah horizontal scroll global
   (terutama saat floating element muncul)
========================================= */
html {
    overflow-x: clip;
}

/* Utility tambahan untuk responsive text alignment */
@media (min-width: 992px) {
    .text-lg-justify {
        text-align: justify !important;
    }
}

/* 
   ========================================================
   PREMIUM ACCORDION STYLES (FAQ & Information)
   ======================================================== 
*/
.premium-accordion .accordion-item {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
}

.premium-accordion .accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.premium-accordion .accordion-button {
    transition: all 0.3s ease;
    border-radius: 0.5rem !important;
}

/* State: Aktif/Terbuka */
.premium-accordion .accordion-item:has(.show) {
    box-shadow: 0 4px 15px rgba(1, 169, 120, 0.1) !important;
}

.premium-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(1, 169, 120, 0.05) !important;
    color: var(--primary-blue) !important;
    box-shadow: none;
}

.premium-accordion .accordion-button:not(.collapsed)::after {
    filter: sepia(100%) hue-rotate(170deg) saturate(300%);
}

.premium-accordion .accordion-body {
    background-color: rgba(1, 169, 120, 0.02);
}

@media (max-width: 767.98px) {
    .premium-accordion .accordion-button {
        padding: 1.25rem !important;
        font-size: 1rem !important;
    }
}


/* Override Footer Social Links: CIRCLE, NO LIFT, BLACK/LIGHT TOGGLE */
.social-link {
    background-color: #f8f9fa !important;
    color: #000 !important;
    border-radius: 50% !important;
    transform: none !important;
    transition: all 0.3s ease !important;
    width: 38px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.social-link:hover {
    background-color: #000 !important;
    color: #f8f9fa !important;
    transform: none !important;
}

/* Disable active indicators (underline/pseudo-elements) for Facilities Navlinks */
.nav-pills-custom .nav-link::before,
.nav-pills-custom .nav-link.active::before,
.nav-pills-custom .nav-link.show::before {
    display: none !important;
    content: none !important;
}

/* =============================================
   KEUNGGULAN ACCORDION - Inspired by Bangkit
   ============================================= */
.keunggulan-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ka-item {
    background: #fff;
    border-radius: 0.5rem;
    border: 1.5px solid var(--border-light);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ka-item.ka-open {
    border-color: rgba(1, 169, 120, 0.35);
    box-shadow: 0 4px 20px rgba(1, 169, 120, 0.08);
}

.ka-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1.1rem 1.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.ka-header:hover {
    background: rgba(1, 169, 120, 0.03);
}

.ka-icon-box {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ka-icon-box i {
    color: var(--primary-blue);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.ka-item.ka-open .ka-icon-box {
    border-color: transparent;
}

.ka-item.ka-open .ka-icon-box i {
    color: #fff;
}

.ka-icon-box-2 {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 0.5rem;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ka-icon-box-2 i {
    color: var(--primary-blue);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.ka-item.ka-open .ka-icon-box-2 {
    border-color: transparent;
}

.ka-item.ka-open .ka-icon-box-2 i {
    color: #fff;
}

.ka-title {
    flex: 1;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.ka-chevron {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.ka-chevron i {
    font-size: 0.85rem;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    display: block;
}

.ka-item.ka-open .ka-chevron {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.ka-item.ka-open .ka-chevron i {
    transform: rotate(180deg);
}

/* Smooth animated expand/collapse via grid-template-rows trick */
.ka-body {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.ka-body[hidden] {
    display: grid !important;
    grid-template-rows: 0fr;
}

.ka-body-inner {
    overflow: hidden;
    padding: 0 1.25rem 0 1.25rem;
    transition: padding 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.ka-item.ka-open .ka-body-inner {
    padding-bottom: 1.25rem;
}

@media (max-width: 575.98px) {
    .ka-body-inner {
        padding-left: 1.25rem;
    }

    .ka-title {
        font-size: 0.9rem;
    }
}

/* Feature Icon Hover Wrappers */
.feature-icon-wrapper {
    background: rgba(0, 90, 200, 0.07);
    transition: background 0.3s ease;
}

.feature-icon-wrapper .feature-icon {
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

.hover-lift:hover .feature-icon-wrapper,
.card:hover .feature-icon-wrapper {
    background: var(--primary-blue) !important;
}

.hover-lift:hover .feature-icon-wrapper .feature-icon,
.card:hover .feature-icon-wrapper .feature-icon {
    color: #ffffff !important;
}

/* ========================================================
   RE-DESIGN STYLES
   ======================================================== */

/* 1. Global Navbar Differentiation */
.btn-navbar-ghost {
    background-color: transparent !important;
    border: 2px solid var(--accent-red) !important;
    color: var(--accent-red) !important;
    transition: all 0.3s ease;
}

.btn-navbar-ghost:hover {
    background-color: var(--accent-red) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.2) !important;
}

/* Lang Switcher Minimalist */
.lang-switcher-minimal {
    border: none !important;
    background: transparent !important;
    position: relative;
    padding: 0 !important;
}

.navbar-scrolled .lang-switcher-minimal {
    background: transparent !important;
}

.lang-switcher-minimal .lang-flag {
    opacity: 0.5;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    display: inline-block;
}

.lang-switcher-minimal .lang-flag.lang-active,
.lang-switcher-minimal .lang-flag:hover {
    opacity: 1;
    filter: none;
    background-color: rgba(0, 0, 0, 0.05);
}

.lang-switcher-minimal .lang-divider {
    color: var(--text-muted);
    font-weight: 300;
    margin: 0 6px;
    opacity: 0.5;
}

/* Navbar Transparent Overrides for Ghost Button & Lang Switcher */
.navbar-transparent:not(.navbar-scrolled) .btn-navbar-ghost {
    border-color: rgba(255, 255, 255, 0.8) !important;
    color: #ffffff !important;
}

.navbar-transparent:not(.navbar-scrolled) .btn-navbar-ghost:hover {
    background-color: #ffffff !important;
    color: var(--accent-red) !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1) !important;
}

.navbar-transparent:not(.navbar-scrolled) .lang-switcher-minimal .lang-flag span.text-dark {
    color: #ffffff !important;
}

.navbar-transparent:not(.navbar-scrolled) .lang-switcher-minimal .lang-flag span.text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}


.navbar-transparent:not(.navbar-scrolled) .lang-switcher-minimal .lang-flag.lang-active,
.navbar-transparent:not(.navbar-scrolled) .lang-switcher-minimal .lang-flag:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* 2. Overlapping Banner Hero (For internal pages - Solid Elegant Navy) */
.hero-overlapping-banner {
    position: relative;
    background: #08223A; /* Solid Deep Imperial Navy - Ultra Elegant */
    border-bottom: 3px solid #01A978; /* Subtle Aoki Emerald Accent */
    padding: 3rem 0 5rem 0;
    /* Reduced height as requested */
    margin-bottom: 0;
    z-index: 1;
}

.hero-title-white {
    color: #ffffff;
    font-size: clamp(2rem, 3.5vw + 0.8rem, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
    text-shadow: none;
}

.hero-subtitle-white {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.6;
}

/* Card Overlap Content */
.card-overlap-content {
    position: relative;
    z-index: 10;
    margin-top: -3.5rem;
    /* Adjusted for shorter banner */
}

/* Custom Icon Styling for Intro/Features */
.about-feature-icon-v2 {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.about-feature-block:hover .about-feature-icon-v2 {
    transform: translateY(-3px) rotate(3deg);
}

.about-feature-icon-v2 svg {
    width: 36px;
    height: 36px;
    stroke-width: 2.2px;
}



/* 
    ========================================================
    SUPPLEMENTAL SYSTEM: HEADER, DRAWER, BANNER & WIDGETS
    ======================================================== 
*/

/**
 * Custom Supplemental Styles for LPK Aoki Nusantara
 */

/* ========================================================
   GLOBAL TYPOGRAPHY: PLUS JAKARTA SANS + NOTO SANS JP
   Free for Commercial Use (Google Fonts OFL) - Ultra Elegant
   ======================================================== */
:root {
    --font-primary: 'Plus Jakarta Sans', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    --font-heading: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif !important;
}

body,
button,
input,
select,
textarea {
    font-family: var(--font-primary) !important;
    letter-spacing: -0.012em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.hero-title,
.navbar-brand,
.brand-text-title,
.nav-link,
.btn,
.dropdown-item,
.badge-pill-soft {
    font-family: var(--font-heading) !important;
    letter-spacing: -0.022em;
}

/* Hanko Seal (Stempel Tradisional Jepang) */
.hanko-seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-red);
    border: 1.5px solid var(--accent-red);
    border-radius: 4px;
    letter-spacing: 1px;
    background: rgba(230, 32, 42, 0.05);
    line-height: 1;
    user-select: none;
}

.hanko-seal-sm {
    font-size: 0.7rem;
    padding: 0.15rem 0.45rem;
}

.hanko-seal-lg {
    font-size: 0.95rem;
    padding: 0.35rem 0.75rem;
    border-width: 2px;
}

/* Badge & Tag Styling */
.badge-pill-soft {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Japanese Kanji Highlight */
.kanji-watermark {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(15, 23, 42, 0.04);
    pointer-events: none;
    line-height: 1;
    font-family: serif;
}

/* 5S Kaizen Cards */
.card-5s {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    background: #ffffff;
    height: 100%;
}

.card-5s:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(1, 169, 120, 0.4);
}

/* Legal Credentials Table */
.table-legal {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.table-legal th {
    background-color: #f8fafc;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.table-legal td {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    font-size: 0.95rem;
}

.table-legal tr:last-child td {
    border-bottom: none;
}

/* Instructor & Leadership Card */
.instructor-card {
    transition: all 0.35s ease;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.instructor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.instructor-img-box {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f1f5f9;
}

.instructor-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.instructor-card:hover .instructor-img-box img {
    transform: scale(1.05);
}

/* Video Container & Facade */
.video-facade-container {
    position: relative;
    cursor: pointer;
    background-color: #000;
    transition: all 0.3s ease;
}

.video-facade-container:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: var(--accent-red);
    box-shadow: 0 0 30px rgba(230, 32, 42, 0.5);
}

.video-facade-container:hover .facade-img {
    opacity: 0.85;
}

.facade-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background-color: rgba(15, 23, 42, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.play-button::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}

/* Floating WhatsApp Fix */
.floating-buttons-bar {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1030;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.floating-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25D366;
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 50rem;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.floating-wa:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
    background-color: #20ba59;
}

.floating-wa i {
    font-size: 1.35rem;
}

/* ========================================================
   FLOATING NOTIFICATION BADGE (SLEEK MODERN AOKI PILL)
   ======================================================== */
.notification-banner {
    position: fixed !important;
    bottom: 92px !important;
    right: 24px !important;
    z-index: 990 !important;
    max-width: 380px !important;
    width: auto !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(18px) scale(0.96) !important;
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease !important;
    pointer-events: none !important;
    display: block !important;
}

.notification-banner.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
}

.notification-banner.hide,
.notification-banner.auto-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(18px) scale(0.96) !important;
    pointer-events: none !important;
}

.notification-banner .notification-close-btn {
    position: absolute !important;
    top: -8px !important;
    right: -8px !important;
    width: 24px !important;
    height: 24px !important;
    background: #08223A !important;
    color: #FFFFFF !important;
    border: 2px solid #FFFFFF !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.68rem !important;
    cursor: pointer !important;
    z-index: 10 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22) !important;
    transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1) !important;
    padding: 0 !important;
    outline: none !important;
}

.notification-banner .notification-close-btn:hover {
    background: #E60012 !important;
    color: #FFFFFF !important;
    transform: scale(1.15) !important;
}

.notification-badge-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1.5px solid rgba(1, 169, 120, 0.35) !important;
    padding: 12px 18px 12px 14px !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 35px rgba(8, 34, 58, 0.14), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1) !important;
    max-width: none !important;
}

.notification-badge-wrapper:hover {
    transform: translateY(-3px) !important;
    border-color: #01A978 !important;
    box-shadow: 0 16px 40px rgba(1, 169, 120, 0.25), 0 4px 12px rgba(8, 34, 58, 0.08) !important;
}

.badge-icon-container {
    position: relative !important;
    width: 44px !important;
    height: 44px !important;
    background: linear-gradient(135deg, #01A978 0%, #08223A 100%) !important;
    color: #FFFFFF !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.15rem !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 12px rgba(1, 169, 120, 0.3) !important;
    overflow: visible !important;
}

.badge-pulse {
    position: absolute !important;
    width: 10px !important;
    height: 10px !important;
    background: #E60012 !important;
    border-radius: 50% !important;
    top: -2px !important;
    right: -2px !important;
    box-shadow: 0 0 0 2px #FFFFFF !important;
    animation: pulseRing 1.8s infinite !important;
}

@keyframes pulseRing {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(230, 0, 18, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(230, 0, 18, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(230, 0, 18, 0); }
}

/* Disable diagonal shine ::after that bleeds outside visible box */
.badge-icon-container::after {
    display: none !important;
    content: none !important;
    animation: none !important;
}

/* Auto-hide notification banner completely whenever offcanvas drawer is open */
body.offcanvas-open .notification-banner,
body.modal-open .notification-banner,
.offcanvas.show ~ .notification-banner,
.offcanvas.showing ~ .notification-banner,
body:has(.offcanvas.show) .notification-banner,
body:has(.offcanvas.showing) .notification-banner {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.badge-status-dot {
    width: 7px !important;
    height: 7px !important;
    background-color: #01A978 !important;
    border-radius: 50% !important;
    display: inline-block !important;
}

.badge-text-content {
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
}

.badge-label {
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    color: #01A978 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    line-height: 1 !important;
}

.badge-info {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #08223A !important;
    line-height: 1.35 !important;
    margin-bottom: 2px !important;
    white-space: normal !important;
    max-width: none !important;
}

.badge-subinfo {
    font-size: 0.74rem !important;
    font-weight: 500 !important;
    color: #64748B !important;
    line-height: 1.2 !important;
}

.badge-subinfo i {
    font-size: 0.7rem !important;
    transition: transform 0.2s ease !important;
}

.notification-badge-wrapper:hover .badge-subinfo i {
    transform: translateX(3px) !important;
    color: #01A978 !important;
}

@media (max-width: 575.98px) {
    .notification-banner {
        bottom: 84px !important;
        right: 14px !important;
        left: auto !important;
        max-width: 320px !important;
        width: auto !important;
    }
    .notification-badge-wrapper {
        padding: 10px 14px 10px 12px !important;
        gap: 10px !important;
    }
    .badge-icon-container {
        width: 38px !important;
        height: 38px !important;
        font-size: 1rem !important;
    }
    .badge-info {
        font-size: 0.82rem !important;
    }
    .badge-subinfo {
        font-size: 0.7rem !important;
    }
}

/* ========================================================
   STANDARDIZED HEADER (CRISP PURE WHITE ACROSS ALL PAGES)
   Eliminates washed-out blur and restores 100% legibility
   ======================================================== */
.navbar-wrapper,
.navbar-wrapper.navbar-transparent,
.navbar-wrapper.fixed-top,
.navbar-wrapper.sticky-top,
.navbar-wrapper.navbar-scrolled {
    background: #FFFFFF !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 12px rgba(8, 34, 58, 0.06) !important;
    transition: background-color 0.25s ease, box-shadow 0.25s ease !important;
}

.navbar-wrapper .navbar,
.navbar-wrapper.navbar-transparent .navbar {
    background: #FFFFFF !important;
    box-shadow: none !important;
}

/* ========================================================
   PERSISTENT MOBILE HEADER & MODERN OFFCANVAS DRAWER
   Fixes sticky-top failure on mobile, elevates UX, fixes z-index
   ======================================================== */
@media (max-width: 991.98px) {
    /* 1. Header Wrapper Fixed & Sticky on Mobile across all pages */
    .navbar-wrapper,
    .navbar-wrapper.navbar-transparent,
    .navbar-wrapper.sticky-top {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1040 !important;
        background: #FFFFFF !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
        transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease !important;
    }

    .navbar-wrapper .navbar,
    .navbar-wrapper.navbar-transparent .navbar {
        background: #FFFFFF !important;
        box-shadow: none !important;
        padding-top: 0.6rem !important;
        padding-bottom: 0.6rem !important;
    }

    /* Subpages Layout Offset so banner content starts cleanly below fixed header */
    body:not(.is-home) {
        padding-top: var(--hero-offset, 68px) !important;
    }

    .navbar-wrapper.navbar-scrolled .navbar {
        padding-top: 0.45rem !important;
        padding-bottom: 0.45rem !important;
    }

    /* Brand Text */
    .brand-text-title,
    .navbar-transparent .brand-text-title {
        color: #0B497A !important;
        text-shadow: none !important;
    }

    .brand-text-subtitle,
    .navbar-transparent .brand-text-subtitle {
        color: #64748B !important;
        text-shadow: none !important;
    }

    /* Mobile CTA Button in Navbar */
    .navbar-mobile-cta,
    .navbar-transparent .navbar-mobile-cta {
        background: linear-gradient(135deg, #E60012 0%, #B8000E 100%) !important;
        border: 1px solid #E60012 !important;
        color: #FFFFFF !important;
        font-size: 0.82rem !important;
        padding: 5px 14px !important;
        font-weight: 700 !important;
        box-shadow: 0 2px 8px rgba(230, 0, 18, 0.25) !important;
        letter-spacing: 0.2px;
    }

    /* Mobile Toggler Button */
    .navbar-toggler {
        width: 38px !important;
        height: 38px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #F1F5F9 !important;
        border-radius: 10px !important;
        border: 1px solid #E2E8F0 !important;
        transition: all 0.2s ease !important;
    }

    .navbar-toggler:focus,
    .navbar-toggler:active {
        outline: none !important;
        box-shadow: 0 0 0 2px rgba(1, 169, 120, 0.25) !important;
    }

    .navbar-toggler-icon,
    .navbar-transparent .navbar-toggler-icon {
        filter: none !important;
        width: 1.25rem !important;
        height: 1.25rem !important;
    }

    /* 2. Offcanvas Backdrop & Stacking Order */
    .offcanvas-backdrop {
        z-index: 1055 !important;
        background-color: rgba(8, 34, 58, 0.65) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
    }

    /* 3. Offcanvas Drawer (Modern Japanese Editorial) */
    .offcanvas,
    .offcanvas-end,
    .navbar-wrapper .offcanvas,
    .navbar-transparent .offcanvas {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        right: 0 !important;
        width: 330px !important;
        max-width: 86vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        background: #FFFFFF !important;
        z-index: 1060 !important;
        box-shadow: -8px 0 35px rgba(8, 34, 58, 0.22) !important;
        border-left: 1px solid rgba(1, 169, 120, 0.2) !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .offcanvas-header {
        padding: 1.15rem 1.25rem !important;
        background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%) !important;
        border-bottom: 1px solid #E2E8F0 !important;
        flex-shrink: 0 !important;
    }

    .offcanvas-header .btn-close {
        width: 32px !important;
        height: 32px !important;
        padding: 0 !important;
        background-color: #F1F5F9 !important;
        border-radius: 50% !important;
        opacity: 0.8 !important;
        transition: all 0.2s ease !important;
    }

    .offcanvas-header .btn-close:hover {
        opacity: 1 !important;
        background-color: #E2E8F0 !important;
        transform: rotate(90deg);
    }

    .offcanvas-body {
        padding: 0.75rem 0 0 0 !important;
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .offcanvas .navbar-nav {
        padding: 0 0.85rem !important;
        gap: 4px !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .offcanvas .nav-item {
        border-bottom: none !important;
        width: 100% !important;
    }

    /* Navigation links inside Offcanvas: Card Touch Targets */
    .offcanvas .nav-link,
    .navbar-transparent .offcanvas .nav-link {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 12px 16px !important;
        font-size: 0.98rem !important;
        font-weight: 600 !important;
        color: #0F172A !important;
        border-radius: 10px !important;
        text-shadow: none !important;
        transition: all 0.2s ease !important;
        width: 100% !important;
    }

    .offcanvas .nav-link::before {
        display: none !important;
    }

    .offcanvas .nav-link:hover,
    .navbar-transparent .offcanvas .nav-link:hover {
        background: #F1F5F9 !important;
        color: #01A978 !important;
    }

    .offcanvas .nav-link.active,
    .navbar-transparent .offcanvas .nav-link.active {
        background: rgba(1, 169, 120, 0.08) !important;
        color: #01A978 !important;
        font-weight: 700 !important;
        border-left: 3.5px solid #01A978 !important;
        border-radius: 4px 10px 10px 4px !important;
    }

    /* Accordion Dropdown Chevron Animation */
    .offcanvas .dropdown-toggle::after {
        display: inline-block !important;
        content: "" !important;
        border-top: 0.35em solid #64748B !important;
        border-right: 0.35em solid transparent !important;
        border-bottom: 0 !important;
        border-left: 0.35em solid transparent !important;
        margin-left: auto !important;
        vertical-align: middle !important;
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .offcanvas .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg) !important;
        border-top-color: #01A978 !important;
    }

    /* Indented Soft Card Dropdown Submenu */
    .offcanvas .dropdown-menu {
        background: #F8FAFC !important;
        border: 1px solid #E2E8F0 !important;
        border-radius: 12px !important;
        padding: 6px 4px !important;
        margin: 4px 4px 10px 4px !important;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
    }

    .offcanvas .dropdown-item,
    .navbar-transparent .offcanvas .dropdown-item {
        font-size: 0.88rem !important;
        font-weight: 500 !important;
        color: #334155 !important;
        padding: 9px 14px !important;
        border-radius: 8px !important;
        margin: 2px 0 !important;
        transition: all 0.2s ease !important;
        white-space: normal !important;
        border: none !important;
        text-shadow: none !important;
    }

    .offcanvas .dropdown-item:hover,
    .navbar-transparent .offcanvas .dropdown-item:hover {
        background: #EDF2F7 !important;
        color: #01A978 !important;
        padding-left: 18px !important;
    }

    .offcanvas .dropdown-item.active,
    .navbar-transparent .offcanvas .dropdown-item.active {
        background: rgba(1, 169, 120, 0.12) !important;
        color: #01A978 !important;
        font-weight: 700 !important;
        padding-left: 18px !important;
    }

    /* Mobile Drawer Action Footer */
    .offcanvas-mobile-footer {
        margin-top: auto !important;
        padding: 1.15rem 1rem !important;
        background: #F8FAFC !important;
        border-top: 1px solid #E2E8F0 !important;
        flex-shrink: 0 !important;
    }

    .offcanvas-mobile-footer .btn-primary-gradient {
        background: linear-gradient(135deg, #01A978 0%, #08223A 100%) !important;
        border: none !important;
        font-size: 0.92rem !important;
        transition: all 0.25s ease !important;
    }

    .offcanvas-mobile-footer .btn-primary-gradient:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(1, 169, 120, 0.35) !important;
    }

    .offcanvas-mobile-footer .btn-outline-success {
        border-color: #25D366 !important;
        color: #128C7E !important;
        font-size: 0.88rem !important;
        background: #FFFFFF !important;
    }

    .offcanvas-mobile-footer .btn-outline-success:hover {
        background: #25D366 !important;
        color: #FFFFFF !important;
    }

    .offcanvas-mobile-footer .btn-outline-success:hover i {
        color: #FFFFFF !important;
    }
}

/* Base Brand Text Styles across all pages */
.brand-text-title {
    color: #0B497A !important;
    font-weight: 800 !important;
    letter-spacing: -0.3px;
    transition: color 0.25s ease;
}

.brand-text-subtitle {
    color: #64748B !important;
    font-weight: 500;
    transition: color 0.25s ease;
}

/* Standard Header for Non-Index Pages: Solid Crisp White */
/* Standard Header Typography & Links Across All States */
.brand-text-title,
.navbar-transparent .brand-text-title,
.navbar-wrapper.navbar-scrolled .brand-text-title {
    color: #0B497A !important;
    font-weight: 800 !important;
    letter-spacing: -0.3px;
    text-shadow: none !important;
}

.brand-text-subtitle,
.navbar-transparent .brand-text-subtitle,
.navbar-wrapper.navbar-scrolled .brand-text-subtitle {
    color: #64748B !important;
    font-weight: 500;
    text-shadow: none !important;
}

.navbar-nav .nav-link,
.navbar-transparent .nav-link,
.navbar-wrapper.navbar-scrolled .nav-link {
    color: #1E293B !important;
    font-weight: 600 !important;
    font-size: 0.95rem;
    text-shadow: none !important;
    transition: color 0.2s ease !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-transparent .nav-link:hover,
.navbar-transparent .nav-link.active,
.navbar-wrapper.navbar-scrolled .nav-link:hover,
.navbar-wrapper.navbar-scrolled .nav-link.active {
    color: #01A978 !important;
    text-shadow: none !important;
}

/* Active Underline on Navbar */
.navbar-nav .nav-link::before,
.navbar-transparent .nav-link::before,
.navbar-wrapper.navbar-scrolled .nav-link::before {
    background-color: #01A978 !important;
}

.btn-navbar-ghost,
.navbar-transparent .btn-navbar-ghost,
.navbar-wrapper.navbar-scrolled .btn-navbar-ghost {
    background-color: var(--accent-red) !important;
    border-color: var(--accent-red) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(230, 0, 18, 0.25) !important;
    text-shadow: none !important;
}

.btn-navbar-ghost:hover,
.navbar-transparent .btn-navbar-ghost:hover,
.navbar-wrapper.navbar-scrolled .btn-navbar-ghost:hover {
    background-color: #B8000E !important;
    border-color: #B8000E !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(230, 0, 18, 0.35) !important;
}

/* ========================================================
   LANGUAGE SWITCHER MINIMAL - UNIFIED CAPSULE DESIGN
   ======================================================== */
.lang-switcher-minimal {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(8, 34, 58, 0.06) !important;
    border: 1px solid rgba(8, 34, 58, 0.12) !important;
    border-radius: 50px !important;
    padding: 2px 3px !important;
    gap: 2px !important;
    transition: all 0.25s ease;
}

.lang-switcher-minimal .lang-flag {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 3px 9px !important;
    border-radius: 50px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1) !important;
    line-height: 1.2 !important;
    opacity: 1 !important;
    filter: none !important;
}

.lang-switcher-minimal .lang-flag .lang-code {
    font-family: var(--font-primary) !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
}

.lang-switcher-minimal .lang-flag:hover {
    color: #01A978 !important;
    background: rgba(1, 169, 120, 0.1) !important;
}

.lang-switcher-minimal .lang-flag.lang-active {
    background: #01A978 !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 6px rgba(1, 169, 120, 0.35) !important;
}

.lang-switcher-minimal .lang-flag.lang-active .lang-code {
    color: #FFFFFF !important;
    font-weight: 800 !important;
}

.lang-switcher-minimal .lang-divider {
    display: none !important;
}

/* ========================================================
   HERO CAPTION & PHOTO VISIBILITY REFINEMENTS
   ======================================================== */

/* Reduced blur on hero caption box so background photo is clearly visible */
.hero-caption-wrapper {
    background: rgba(8, 34, 58, 0.22) !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 1.25rem !important;
    padding: 2.25rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Mobile Hero Optimization for Index: Balanced Proportions & Zero Overflow */
@media (max-width: 767.98px) {
    .hero {
        height: auto !important;
        min-height: calc(100svh - 60px) !important;
        overflow: visible !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .hero-image-area {
        height: 60vh !important;
        min-height: 470px !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .hero-caption-area {
        top: 0 !important;
        bottom: 0 !important;
        padding-top: calc(var(--hero-offset, 85px) + 0.5rem) !important;
        padding-bottom: 1.25rem !important;
        display: flex !important;
        align-items: center !important;
    }

    .hero-caption-wrapper {
        padding: 1.15rem 1.25rem !important;
        margin: 0 auto !important;
        max-width: 95% !important;
        border-radius: 14px !important;
        background: rgba(8, 34, 58, 0.45) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
    }

    .hero-title {
        font-size: 1.28rem !important;
        line-height: 1.32 !important;
        font-weight: 800 !important;
        margin-bottom: 0.5rem !important;
        letter-spacing: -0.01em !important;
    }

    .hero-subtitle {
        font-size: 0.82rem !important;
        line-height: 1.55 !important;
        margin-bottom: 0.85rem !important;
        opacity: 0.95;
    }

    .hero-caption-wrapper .btn {
        font-size: 0.78rem !important;
        padding: 0.45rem 1.15rem !important;
        letter-spacing: 0.3px !important;
    }

    /* Hide carousel navigation arrows on mobile so they don't cover text */
    .hero-nav-btn {
        display: none !important;
    }

    /* Stats bar: Remove negative margin that clips content, use clean card style */
    .hero-stats-bar {
        margin-top: 0 !important;
        padding: 1.25rem 0.5rem !important;
        background: #FFFFFF !important;
        border-radius: 18px 18px 0 0 !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06) !important;
        border-top: 1px solid #E2E8F0 !important;
        position: relative !important;
        z-index: 10 !important;
    }

    .hero-stats-bar .hero-stat-number {
        font-size: 1.55rem !important;
    }

    .hero-stats-bar .hero-stat-label {
        font-size: 0.72rem !important;
    }
}

/* Hero Overlay Gradient tuned for photo clarity */
.hero-overlay-gradient {
    background: linear-gradient(180deg, rgba(8, 34, 58, 0.25) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(8, 34, 58, 0.38) 100%) !important;
    mix-blend-mode: normal !important;
}

.hero-title {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45) !important;
}

.hero-subtitle {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4) !important;
}

/* Dropdown Zero-gap and Modern styling */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeInSlide 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-dark);
    padding: 0.6rem 0.9rem !important;
    transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-blue) !important;
}

.dropdown-item {
    padding: 0.55rem 1.1rem !important;
    font-size: 0.88rem !important;
    transition: all 0.15s ease;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
    background-color: rgba(1, 169, 120, 0.08) !important;
    color: var(--primary-blue) !important;
    font-weight: 700 !important;
    padding-left: 1.35rem !important;
}

.dropdown-menu {
    border-radius: 10px !important;
    border: 1px solid rgba(11, 73, 122, 0.08) !important;
    box-shadow: 0 12px 35px rgba(11, 73, 122, 0.12) !important;
}

/* ========================================================
   PRELOADER - LPK AOKI LOGO WITH CONCENTRIC PULSE EFFECT
   ======================================================== */
#preloader {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: radial-gradient(circle at center, #FFFFFF 0%, #F8FAFC 100%) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 2147483647 !important;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s ease !important;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

#preloader.fade-out {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.preloader-logo-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 130px;
}

/* Pulse Rings Expanding Concurrently */
.preloader-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid rgba(1, 169, 120, 0.45);
    z-index: 1;
    pointer-events: none;
    animation: preloader-ring-pulse 2.2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.preloader-pulse-ring.delay-1 {
    animation-delay: 0.7s;
    border-color: rgba(11, 73, 122, 0.32);
}

.preloader-pulse-ring.delay-2 {
    animation-delay: 1.4s;
    border-color: rgba(1, 169, 120, 0.22);
}

/* LPK Aoki Logo Pulse Animation */
.preloader-logo {
    position: relative;
    z-index: 2;
    max-height: 76px !important;
    width: auto !important;
    filter: drop-shadow(0 4px 14px rgba(1, 169, 120, 0.2));
    animation: preloader-logo-pulse 2.2s ease-in-out infinite;
    transform-origin: center center;
    user-select: none;
}

@keyframes preloader-logo-pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 3px 10px rgba(1, 169, 120, 0.15));
    }
    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 8px 22px rgba(1, 169, 120, 0.4));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 3px 10px rgba(1, 169, 120, 0.15));
    }
}

@keyframes preloader-ring-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.85);
        opacity: 0.9;
    }
    75% {
        opacity: 0.25;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.85);
        opacity: 0;
    }
}

/* Preloader Typography & Progress Bar */
.preloader-text-wrapper {
    margin-top: 1rem;
    text-align: center;
}

.preloader-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #08223A;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.preloader-subtitle {
    font-size: 0.75rem;
    color: #64748B;
    letter-spacing: 0.04em;
    display: block;
}

.preloader-progress-bar {
    width: 60px;
    height: 3px;
    background-color: rgba(1, 169, 120, 0.15);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
    margin-top: 0.75rem;
    margin-left: auto;
    margin-right: auto;
}

.preloader-progress-indicator {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, #01A978, #34D399);
    border-radius: 99px;
    animation: preloader-progress-anim 1.4s ease-in-out infinite;
}

@keyframes preloader-progress-anim {
    0% {
        left: -40%;
        width: 30%;
    }
    50% {
        width: 50%;
    }
    100% {
        left: 100%;
        width: 30%;
    }
}

/* ========================================================
   SUBPAGE HERO BANNER - MODERN JAPANESE EDITORIAL DESIGN
   ======================================================== */

.hero-overlapping-banner {
    position: relative !important;
    background: linear-gradient(135deg, #051829 0%, #08223A 55%, #0B3054 100%) !important;
    border-bottom: none !important;
    padding: 3.5rem 0 5.75rem 0 !important;
    margin-bottom: 0 !important;
    z-index: 1 !important;
    overflow: hidden !important;
}

/* Subtle Japanese Atmospheric Radial Glow */
.hero-overlapping-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 85% 25%, rgba(1, 169, 120, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 10% 85%, rgba(11, 73, 122, 0.25) 0%, transparent 55%);
    pointer-events: none;
    z-index: 1;
}

/* Subtle Japanese Geometric Wave Watermark Texture (SVG inline) */
.hero-overlapping-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 48L48 0H24L0 24M48 48V24L24 48' fill='%23ffffff' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* Glowing Bottom Border Line (Aoki Emerald -> Mint -> Amber Accent) */
.hero-banner-accent-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #01A978 0%, #34D399 35%, #F59E0B 70%, #01A978 100%);
    box-shadow: 0 -1px 8px rgba(1, 169, 120, 0.45);
    z-index: 3;
}

/* Banner Container: sits cleanly above background atmosphere */
.hero-overlapping-banner .container {
    position: relative;
    z-index: 2;
}

/* Translucent Editorial Breadcrumb Pill */
.banner-breadcrumb-wrapper {
    margin-bottom: 1rem;
}

.banner-breadcrumb {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50rem;
    padding: 0.35rem 0.95rem;
    margin-bottom: 0.85rem;
    font-size: 0.78rem;
    list-style: none;
    line-height: 1.2;
}

.banner-breadcrumb .breadcrumb-item {
    display: inline-flex !important;
    align-items: center !important;
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.2 !important;
}

.banner-breadcrumb .breadcrumb-item a {
    display: inline-flex !important;
    align-items: center !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    line-height: 1.2 !important;
}

.banner-breadcrumb .breadcrumb-item a:hover {
    color: #4ADE80 !important;
}

.banner-breadcrumb .breadcrumb-item.active {
    color: #FFFFFF !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

/* Arrow separator: precisely aligned vector chevron */
.banner-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    float: none !important;
    display: inline-flex !important;
    align-self: center !important;
    content: '' !important;
    width: 6px !important;
    height: 10px !important;
    margin: 0 0.55rem !important;
    padding: 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 10' fill='none'%3E%3Cpath d='M1 1.5L4.5 5L1 8.5' stroke='rgba(255, 255, 255, 0.5)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
}

/* Badge Banner Tag */
.hero-overlapping-banner .badge-banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(1, 169, 120, 0.15) !important;
    border: 1px solid rgba(1, 169, 120, 0.4) !important;
    color: #4ADE80 !important;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.38rem 0.95rem;
    border-radius: 50rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(1, 169, 120, 0.15);
}

/* Title & Subtitle */
.hero-title-white {
    color: #FFFFFF !important;
    font-size: clamp(2.1rem, 3.8vw + 0.6rem, 2.95rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em;
    line-height: 1.18;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35) !important;
}

.hero-subtitle-white {
    color: #CBD5E1 !important;
    font-size: clamp(0.95rem, 1.1vw + 0.4rem, 1.08rem) !important;
    max-width: 660px;
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 0;
}

/* Japanese Kanji Watermark Seal */
.banner-kanji-watermark {
    position: absolute;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(5.5rem, 11vw, 9rem);
    font-weight: 900;
    font-family: 'Noto Sans JP', 'Shippori Mincho', serif;
    color: rgba(255, 255, 255, 0.038);
    user-select: none;
    pointer-events: none;
    line-height: 1;
    z-index: 1;
    letter-spacing: 0.08em;
}

@media (max-width: 767.98px) {
    .hero-overlapping-banner {
        padding: 2.75rem 0 5.25rem 0 !important;
    }
    .banner-kanji-watermark {
        display: none;
    }
    .banner-breadcrumb {
        font-size: 0.72rem;
        padding: 0.3rem 0.75rem;
    }
}

/* Enhanced Overlapping Section Depth */
.about-hero-image-section {
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -12px 36px rgba(5, 24, 41, 0.28) !important;
}

/* GAYA 2: INTEGRATED PHOTO HERO (SINGLE SLEEK BLOCK) */
.hero-integrated-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4.5rem 0 4.5rem 0;
    margin-bottom: 0;
    z-index: 1;
    overflow: hidden;
    border-bottom: 3px solid #01A978;
}

.hero-integrated-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8, 34, 58, 0.86); /* Solid Deep Navy shield over photo */
    backdrop-filter: blur(2px);
    z-index: 1;
}

.hero-integrated-banner .container {
    position: relative;
    z-index: 2;
}

/* GAYA 3: CLEAN MINIMALIST EDITORIAL STUDIO (LIGHT) */
.hero-editorial-light {
    position: relative;
    background: #F8FAFC !important;
    border-bottom: 1px solid #E2E8F0 !important;
    padding: 3.25rem 0 3.25rem 0 !important;
    margin-bottom: 0;
    z-index: 1;
}

.hero-editorial-light .hero-title-white {
    color: #08223A !important;
    border-left: 4px solid #01A978;
    padding-left: 1.25rem;
    text-shadow: none !important;
}

.hero-editorial-light .hero-subtitle-white {
    color: #475569 !important;
    padding-left: 1.25rem;
}

.hero-editorial-light .badge-banner-tag {
    background: rgba(1, 169, 120, 0.1) !important;
    border: 1px solid rgba(1, 169, 120, 0.3) !important;
    color: #01A978 !important;
    margin-left: 1.25rem;
}


/* 
    ========================================================
    GAYA KHUSUS PER HALAMAN (PAGE-SPECIFIC MODULES)
    Tiap halaman dibatasi komentar [START] dan [END]
    ======================================================== 
*/

/* ========================================================
   [START] HALAMAN BERANDA (index.php)
   ======================================================== */

/* Hero Section & Proportions */
.hero-caption-wrapper {
    background: rgba(8, 34, 58, 0.22);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 1.25rem;
    padding: 2.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-overlay-gradient {
    background: linear-gradient(180deg, rgba(8, 34, 58, 0.25) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(8, 34, 58, 0.38) 100%);
    mix-blend-mode: normal;
}

.hero-title {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero-subtitle {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 767.98px) {
    .hero {
        height: auto;
        min-height: calc(100svh - 60px);
        overflow: visible;
        display: flex;
        flex-direction: column;
    }

    .hero-image-area {
        height: 60vh;
        min-height: 470px;
        position: relative;
        overflow: hidden;
    }

    .hero-caption-area {
        top: 0;
        bottom: 0;
        padding-top: calc(var(--hero-offset, 85px) + 0.5rem);
        padding-bottom: 1.25rem;
        display: flex;
        align-items: center;
    }

    .hero-caption-wrapper {
        padding: 1.15rem 1.25rem;
        margin: 0 auto;
        max-width: 95%;
        border-radius: 14px;
        background: rgba(8, 34, 58, 0.45);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    }

    .hero-title {
        font-size: 1.28rem;
        line-height: 1.32;
        font-weight: 800;
        margin-bottom: 0.5rem;
        letter-spacing: -0.01em;
    }

    .hero-subtitle {
        font-size: 0.82rem;
        line-height: 1.55;
        margin-bottom: 0.85rem;
        opacity: 0.95;
    }

    .hero-caption-wrapper .btn {
        font-size: 0.78rem;
        padding: 0.45rem 1.15rem;
        letter-spacing: 0.3px;
    }

    .hero-nav-btn {
        display: none !important;
    }

    .hero-stats-bar {
        margin-top: 0;
        padding: 1.25rem 0.5rem;
        background: #FFFFFF;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
        border-top: 1px solid #E2E8F0;
        position: relative;
        z-index: 10;
    }

    .hero-stats-bar .hero-stat-number {
        font-size: 1.55rem;
    }

    .hero-stats-bar .hero-stat-label {
        font-size: 0.72rem;
    }
}

/* Testimonial Marquee Section */
.testimonial-marquee-wrapper {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(1, 169, 120, 0.2);
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.testimonial-quote {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-style: italic;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.3;
}

.testimonial-company {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
}

/* Keunggulan Accordion */
.keunggulan-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ka-item {
    background: #fff;
    border-radius: 0.5rem;
    border: 1.5px solid var(--border-light);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ka-item.ka-open {
    border-color: rgba(1, 169, 120, 0.35);
    box-shadow: 0 4px 20px rgba(1, 169, 120, 0.08);
}

.ka-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1.1rem 1.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.ka-header:hover {
    background: rgba(1, 169, 120, 0.03);
}

.ka-icon-box {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ka-icon-box i {
    color: var(--primary-blue);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.ka-title {
    flex: 1;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.ka-chevron {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.ka-chevron i {
    font-size: 0.85rem;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    display: block;
}

.ka-item.ka-open .ka-chevron {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.ka-item.ka-open .ka-chevron i {
    transform: rotate(180deg);
}

.ka-body {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.ka-body[hidden] {
    display: grid !important;
    grid-template-rows: 0fr;
}

.ka-body-inner {
    overflow: hidden;
    padding: 0 1.25rem 0 1.25rem;
    transition: padding 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.ka-item.ka-open .ka-body-inner {
    padding-bottom: 1.25rem;
}

/* Articles Section on Index */
.articles-section {
    background-color: var(--bg-light);
    padding: 5rem 0 6rem !important;
}

.article-card {
    border: none !important;
    border-radius: 0.75rem !important;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.article-img-wrapper {
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.article-img {
    transition: transform 0.6s ease;
}

.article-card:hover .article-img {
    transform: scale(1.06);
}

.article-content {
    background: #fff;
    padding: 1.75rem 1.75rem !important;
}

.article-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.article-title {
    font-size: 1.25rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.article-card:hover .article-title {
    color: var(--primary-blue) !important;
}

.article-read-more {
    color: var(--accent-red);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-items: center;
    transition: all 0.2s ease;
}

.article-read-more:hover {
    color: var(--primary-blue);
    letter-spacing: 1px;
}

/* ========================================================
   [END] HALAMAN BERANDA (index.php)
   ======================================================== */

/* ========================================================
   [START] HALAMAN TENTANG KAMI (tentang-kami.php)
   ======================================================== */

/* Overlapping Intro Card */
.card-overlap-content {
    position: relative;
    z-index: 10;
    margin-top: -3.5rem;
}

.about-feature-icon-v2 {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.about-feature-block:hover .about-feature-icon-v2 {
    transform: translateY(-3px) rotate(3deg);
}

.about-hero-image-section {
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -12px 36px rgba(5, 24, 41, 0.28);
}

/* 5S Kaizen Cards */
.card-5s {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 14px;
    border: 1px solid var(--border-light);
    background: #ffffff;
    height: 100%;
}

.card-5s:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(1, 169, 120, 0.4);
}

/* Instructor & Leadership Card */
.instructor-card {
    transition: all 0.35s ease;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.instructor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.instructor-img-box {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f1f5f9;
}

.instructor-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.instructor-card:hover .instructor-img-box img {
    transform: scale(1.05);
}

/* Video Profile Facade */
.video-facade-container {
    position: relative;
    cursor: pointer;
    background-color: #000;
    transition: all 0.3s ease;
    border-radius: 14px;
    overflow: hidden;
}

.video-facade-container:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: var(--accent-red);
    box-shadow: 0 0 30px rgba(230, 32, 42, 0.5);
}

.video-facade-container:hover .facade-img {
    opacity: 0.85;
}

.facade-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background-color: rgba(15, 23, 42, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.play-button::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}

/* ========================================================
   [END] HALAMAN TENTANG KAMI (tentang-kami.php)
   ======================================================== */

/* ========================================================
   [START] HALAMAN PROFIL (profil.php)
   ======================================================== */

/* Bento Grid Cards */
.bento-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 1.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(8, 34, 58, 0.08);
}

/* Executive Spotlight Card */
.executive-spotlight-card {
    background: linear-gradient(135deg, #071e33 0%, #0b3054 100%);
    border-radius: 1.25rem;
    color: #ffffff;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.executive-spotlight-card .quote-text {
    font-size: 1.1rem;
    line-height: 1.7;
    font-style: italic;
    color: #e2e8f0;
}

/* Philosophy Ao-Ki-Wa */
.philosophy-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    padding: 1.75rem;
    height: 100%;
    transition: all 0.3s ease;
}

.philosophy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.06);
}

.philosophy-card.border-ao {
    border-top: 4px solid #1b3b6f;
}

.philosophy-card.border-ki {
    border-top: 4px solid #15803d;
}

.philosophy-card.border-wa {
    border-top: 4px solid #d97706;
}

/* ========================================================
   [END] HALAMAN PROFIL (profil.php)
   ======================================================== */

/* ========================================================
   [START] HALAMAN VISI & MISI (visi-misi.php)
   ======================================================== */

.vision-card {
    background: linear-gradient(135deg, #0b3054 0%, #08223a 100%);
    color: #ffffff;
    border-radius: 1.25rem;
    padding: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.mission-pillar-card {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.mission-pillar-card:hover {
    transform: translateY(-4px);
    border-color: #01A978;
    box-shadow: 0 10px 25px rgba(1, 169, 120, 0.1);
}

.pillar-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(1, 169, 120, 0.12);
    color: #01A978;
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================================
   [END] HALAMAN VISI & MISI (visi-misi.php)
   ======================================================== */

/* ========================================================
   [START] HALAMAN STRUKTUR ORGANISASI (struktur.php)
   ======================================================== */

/* ========================================================
   HALAMAN STRUKTUR ORGANISASI
   ======================================================== */

/* Badge Jabatan - Versi Utama (Direktur) */
.badge-role-primary {
    display: inline-block;
    background: rgba(var(--bs-primary-rgb, 0, 123, 255), 0.1);
    color: var(--primary-blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 0.5rem;
    border: 1px solid rgba(var(--bs-primary-rgb, 0, 123, 255), 0.2);
}

/* Badge Jabatan - Versi Staff */
.badge-role-secondary {
    display: inline-block;
    background: #f1f3f5;
    color: #6c757d;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 0.5rem;
}

/* ---- Director Hero Card ---- */
.director-hero-card {
    border: 1px solid #e9ecef;
    transition: box-shadow 0.3s ease;
}

.director-hero-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08) !important;
}

/* Kolom Foto Direktur */
.director-photo-col {
    width: 280px;
    min-height: 320px;
    flex-shrink: 0;
    background-color: #f0f2f5;
    overflow: hidden;
}

.director-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Divider bawah nama direktur */
.director-divider {
    width: 48px;
    border-top: 3px solid var(--primary-blue);
    opacity: 1;
    margin: 0;
}

/* Blockquote kutipan direktur */
.director-quote {
    border: none;
    padding: 0;
    margin: 0;
}

/* ---- Staff Card ---- */
.staff-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.staff-photo-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f0f2f5;
}

.staff-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
    display: block;
}

.staff-card:hover .staff-photo {
    transform: scale(1.04);
}

.staff-info {
    border-top: 1px solid #f0f2f5;
}

.staff-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-dark);
}

/* Director Hero Card - Premium Redesign */
.director-hero-card {
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 1.5rem !important;
    /* Extra rounding for premium feel */
    background: #fff;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.director-photo-col {
    width: 38%;
    /* Slightly less than half */
    background-color: #f8f9fa;
}

.director-info-col {
    width: 62%;
    padding: 3.5rem !important;
}

.director-name-premium {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 800;
    color: var(--premium-navy);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.director-position-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.director-quote {
    position: relative;
    padding-left: 2.5rem;
    border-left: none;
    margin-top: 1.5rem;
}

.director-quote::before {
    content: '\201C';
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--accent-red);
    /* Consistent with label color request */
    opacity: 0.12;
    position: absolute;
    top: -20px;
    left: -8px;
    line-height: 1;
}

.director-divider {
    width: 60px;
    height: 4px;
    background: var(--primary-blue);
    border: none;
    border-radius: 10px;
    opacity: 1;
}

/* Responsive: Director Card jadi vertikal di mobile */
@media (max-width: 991.98px) {

    .director-photo-col,
    .director-info-col {
        width: 100%;
    }

    .director-hero-card {
        flex-direction: column !important;
    }

    .director-photo-col {
        max-width: 320px;
        margin: 2rem auto 0;
        border-radius: 1rem;
        overflow: hidden;
        aspect-ratio: 3/4;
    }

    .director-info-col {
        padding: 2.5rem 1.5rem !important;
        text-align: center;
    }

    .director-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .director-quote {
        padding-left: 0;
        padding-top: 2rem;
    }

    .director-quote::before {
        left: 50%;
        transform: translateX(-50%);
        top: -10px;
    }
}

/* ========================================================
   [END] HALAMAN STRUKTUR ORGANISASI (struktur.php)
   ======================================================== */

/* ========================================================
   [START] HALAMAN SARANA & PRASARANA (sarana.php)
   ======================================================== */

/* ========================================================
   FACILITIES (SARANA & PRASARANA) TABS
   ======================================================== */
.nav-pills-custom {
    border-radius: 0.5rem;
    overflow: hidden;
}

.nav-pills-custom .nav-link {
    color: var(--text-dark) !important;
    background-color: #f8fafc;
    /* Gunakan bg-light di CSS agar PHP bersih */
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-left: none !important;
    text-align: left;
    margin-bottom: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.nav-pills-custom .nav-link:hover {
    background-color: #f1f5f9;
    color: var(--primary-blue) !important;
}

.nav-pills-custom .nav-link.active {
    background-color: #ffffff;
    color: var(--primary-blue) !important;
    border-left: none !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.nav-pills-custom .nav-text {
    font-size: 0.95rem;
}

.nav-pills-custom .nav-arrow {
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateX(-10px);
}

.nav-pills-custom .nav-link.active .nav-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--accent-red) !important;
}

/* Tab Pane Refinement */
.tab-content>.tab-pane.fade {
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    transform: translateY(10px);
}

.tab-content>.tab-pane.fade.show {
    transform: translateY(0);
}

/* Container pembungkus untuk indikator scroll mobile */
.nav-pills-scroller-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible; /* Penting agar shadow di desktop tidak kepotong */
}

@media (max-width: 991.98px) {
    .fasilitas-nav-column {
        position: sticky !important;
        top: var(--hero-offset, 74px) !important;
        z-index: 1020;
        background: #ffffff;
        width: 94%;
        max-width: 600px;
        margin: 0 auto 1.5rem auto;
        padding: 0.35rem;
        border-radius: 0.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.04);
    }

    .nav-pills-scroller-container {
        position: relative;
        width: 100%;
        height: auto;
        overflow: hidden;
        border-radius: 100px; /* Ikuti lengkungan kontainer induk */
    }

    .nav-pills-scroller-container::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 50px;
        height: 100%;
        background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
        pointer-events: none;
        z-index: 5;
    }

    .nav-pills-custom {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        border-radius: 0;
        -webkit-overflow-scrolling: touch;
        /* Padding kanan lebih besar untuk area fading */
        background: #ffffff;
        scrollbar-width: none;
        /* Firefox */
    }

    .nav-pills-custom::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .nav-pills-custom .nav-link {
        white-space: nowrap;
        border-left: none !important;
        border-bottom: 3px solid transparent;
        border-radius: 0;
        margin-bottom: 0;
        padding: 1rem 1rem !important;
        /* Kurangi padding lateral */
        background-color: transparent !important;
        box-shadow: none !important;
        flex: 0 0 auto;
        font-size: 0.875rem !important;
        /* Perkecil font di mobile */
    }

    .nav-pills-custom .nav-arrow {
        display: none !important;
    }

    .nav-pills-custom .nav-link.active {
        border-bottom: 3px solid var(--accent-red);
        color: var(--primary-blue) !important;
        background: transparent !important;
        font-weight: 700;
    }

    /* Optimasi Tabel Dana Talang Mobile */
    .table-loan-details {
        min-width: 450px !important;
        /* Mencegah teks gepeng, memaksa scroll yang sehat */
    }

    .table-loan-details th,
    .table-loan-details td {
        padding: 0.75rem 0.5rem !important;
        font-size: 0.85rem !important;
    }

    .table-loan-details th {
        vertical-align: top !important;
        white-space: normal !important;
        line-height: 1.3 !important;
    }

    .table-loan-details small {
        display: block !important;
        line-height: 1.4 !important;
        margin-top: 4px;
        color: var(--text-secondary) !important;
        font-size: 0.75rem !important;
        white-space: normal !important;
        /* Biarkan teks keterangan membungkus baris */
    }
}

.empty-state {
    padding: 3rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px dashed #cbd5e1;
}

/* Custom CSS untuk efek hover judul accordion */
.faq-accordion-custom .accordion-button:not(.collapsed):hover,
.faq-accordion-custom .accordion-button.hover-danger-text:hover {
    color: var(--accent-red) !important;
}


.faq-accordion-custom .accordion-button:not(.collapsed) {
    color: var(--accent-red) !important;
}

/* ========================================================
   [END] HALAMAN SARANA & PRASARANA (sarana.php)
   ======================================================== */

/* ========================================================
   [START] HALAMAN PROGRAM PELATIHAN (program.php)
   ======================================================== */

/* ========================================================
   HALAMAN PROGRAM PELATIHAN
   ======================================================== */

.program-card {
    background: #ffffff;
    border-radius: 0.5rem;
    border: 1px solid #eef2f7;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 2rem 1.5rem;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 90, 200, 0.1);
    border-color: rgba(0, 90, 200, 0.3);
}

.program-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 0.5rem;
    background: rgba(0, 90, 200, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.program-card:hover .program-icon-wrapper {
    background: var(--primary-blue);
}

.program-icon {
    font-size: 1.8rem;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

.program-card:hover .program-icon {
    color: #ffffff;
}

.program-title {
    font-size: 1.3rem;
    color: var(--text-dark);
}

.program-subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #64748b;
}

.program-price-section {
    padding: 1rem 0;
    margin: 1rem 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.price-original {
    font-size: 0.95rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-bottom: 0.25rem;
}

.price-discounted {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-red);
    line-height: 1.1;
}

.price-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-top: 0.5rem;
    font-weight: 600;
}

.program-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
}

.program-features li i {
    font-size: 1.1rem;
}

.btn-program-cta {
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 767.98px) {
    .btn-program-cta {
        padding: 8px 15px !important;
        font-size: 0.875rem !important;
        white-space: nowrap !important;
    }
}

.program-card:hover .btn-program-cta {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
    transform: scale(1.02);
}

/* ========================================================
   [END] HALAMAN PROGRAM PELATIHAN (program.php)
   ======================================================== */

/* ========================================================
   [START] HALAMAN ALUR PENDAFTARAN & UNDUH DOKUMEN (pendaftaran.php)
   ======================================================== */

/* ========================================================
   HALAMAN ALUR PENDAFTARAN - POLA ULAR (SNAKE)
   ======================================================== */

/* Wrapper seluruh pola ular */
.snake-wrapper {
    display: flex;
    flex-direction: column;
}

/*
 * .snake-row dan .snake-connector KEDUANYA pakai CSS Grid 5-kolom:
 * [kartu-1] [→]  [kartu-2] [→]  [kartu-3]
 *   1fr    40px    1fr    40px    1fr
 * Ini memastikan panah-v selalu sejajar di atas/bawah kartu ke-1 atau ke-3.
 */
.snake-row,
.snake-connector {
    display: grid;
    grid-template-columns: 1fr 40px 1fr 40px 1fr;
    align-items: stretch;
    /* stretch agar semua slot setinggi baris */
}

/* Slot kartu - mengisi kolom 1fr, flex column agar step-card bisa h-100 */
.snake-slot {
    padding: 0 8px;
    display: flex;
    flex-direction: column;
}

/* Slot kosong: tidak tampil tapi tetap menjaga kolom di grid */
.snake-slot-empty {
    display: block;
}

/* Kartu langkah */
.step-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
    padding: 2.25rem 1.75rem 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s ease;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 90, 200, 0.12);
}

/* Latar lingkaran ikon */
.step-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    transition: background 0.3s ease;
}

.step-icon {
    font-size: 1.6rem;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

.step-card:hover .step-icon {
    color: #fff;
}

/* Badge nomor sudut kiri atas */
.step-number-badge {
    position: absolute;
    top: 12px;
    left: 14px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.step-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-red);
    margin-bottom: 0.4rem;
}

.step-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--premium-navy);
    margin-bottom: 0;
}

.step-desc {
    font-size: 0.83rem;
    line-height: 1.65;
}

/* Panah horizontal - di-center secara vertikal dalam stretch row */
.snake-arrow-h {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 90, 200, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--accent-red);
    justify-self: center;
    align-self: center;
    /* center secara vertikal di dalam row yang di-stretch */
}

/*
 * Connector vertikal antar baris.
 * .snake-connector: grid 5-kolom sama dengan .snake-row.
 * .connector-cell: div aktif (kol 1 = connector kiri, kol 5 = connector kanan).
 * .connector-spacer: div kosong menjaga posisi.
 */
.snake-connector {
    height: 44px;
}

.connector-spacer {
    display: block;
}

.connector-cell {
    display: flex;
    align-items: center;
    justify-content: center;
}

.snake-arrow-v {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 90, 200, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    font-size: 1rem;
}

/* Mobile: 1 kolom, semua elemen disederhanakan */
@media (max-width: 767.98px) {

    /* Override grid ke flex-column untuk mobile */
    .snake-row {
        display: flex !important;
        flex-direction: column;
    }

    /* Kembalikan urutan kartu yang terbalik akibat pola Snake di desktop */
    .snake-row.snake-row-reverse {
        flex-direction: column-reverse;
    }

    .snake-slot,
    .snake-slot-empty {
        width: 100%;
        padding: 6px 0.5rem;
        margin-top: 1rem;
    }

    /* Slot kosong dan connector disembunyikan di mobile */
    .snake-slot-empty,
    .snake-arrow-h,
    .snake-connector {
        display: none !important;
    }
}

/* ========================================================
   HALAMAN ALUR PENDAFTARAN - DOKUMEN DOWNLOAD
   ======================================================== */

.doc-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.doc-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #f0f2f5;
}

.doc-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.doc-card:hover .doc-card-img {
    transform: scale(1.04);
}

.doc-card-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f2f5;
}

/* Badge format file di pojok atas kanan */
.doc-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 0.5rem;
}

.doc-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.doc-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

/* ========================================================
   [END] HALAMAN ALUR PENDAFTARAN & UNDUH DOKUMEN (pendaftaran.php)
   ======================================================== */

/* ========================================================
   [START] HALAMAN PROGRAM MAGANG JEPANG (magang.php)
   ======================================================== */

.program-feature-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    padding: 1.75rem;
    transition: all 0.3s ease;
    height: 100%;
}

.program-feature-card:hover {
    transform: translateY(-4px);
    border-color: #01A978;
    box-shadow: 0 12px 28px rgba(1, 169, 120, 0.1);
}

.requirement-check-list {
    list-style: none;
    padding-left: 0;
}

.requirement-check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.85rem;
    line-height: 1.5;
}

.requirement-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: rgba(1, 169, 120, 0.15);
    color: #01A978;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
}

/* ========================================================
   [END] HALAMAN PROGRAM MAGANG JEPANG (magang.php)
   ======================================================== */

/* ========================================================
   [START] HALAMAN PROGRAM TOKUTEI GINOU / SSW (tokutei-ginou.php)
   ======================================================== */

.sector-card {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sector-card:hover {
    transform: translateY(-4px);
    border-color: #01A978;
    box-shadow: 0 10px 25px rgba(1, 169, 120, 0.08);
}

.sector-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(1, 169, 120, 0.12);
    color: #01A978;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* ========================================================
   [END] HALAMAN PROGRAM TOKUTEI GINOU / SSW (tokutei-ginou.php)
   ======================================================== */

/* ========================================================
   [START] HALAMAN PROGRAM ENGINEERING (engineering.php)
   ======================================================== */

.eng-track-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.eng-track-card:hover {
    transform: translateY(-4px);
    border-color: #1b3b6f;
    box-shadow: 0 12px 30px rgba(27, 59, 111, 0.1);
}

.qualification-badge {
    background: rgba(27, 59, 111, 0.1);
    color: #1b3b6f;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
}

/* ========================================================
   [END] HALAMAN PROGRAM ENGINEERING (engineering.php)
   ======================================================== */

/* ========================================================
   [START] HALAMAN PROGRAM PERAWAT LANSIA / KAIGO (perawat-lansia.php)
   ======================================================== */

.kaigo-pillar-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    padding: 1.75rem;
    transition: all 0.3s ease;
    height: 100%;
}

.kaigo-pillar-card:hover {
    transform: translateY(-4px);
    border-color: #e60012;
    box-shadow: 0 12px 28px rgba(230, 0, 18, 0.08);
}

.kaigo-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(230, 0, 18, 0.08);
    color: #e60012;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

/* ========================================================
   [END] HALAMAN PROGRAM PERAWAT LANSIA / KAIGO (perawat-lansia.php)
   ======================================================== */

/* ========================================================
   [START] HALAMAN LULUSAN & ALUMNI (lulusan-dan-alumni.php)
   ======================================================== */

.alumni-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    padding: 1.75rem;
    transition: all 0.3s ease;
    height: 100%;
}

.alumni-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(8, 34, 58, 0.08);
}

.alumni-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #01A978;
}

.wage-badge {
    background: rgba(1, 169, 120, 0.1);
    color: #01A978;
    font-weight: 800;
    padding: 0.4rem 0.85rem;
    border-radius: 50rem;
    font-size: 0.82rem;
}

/* ========================================================
   [END] HALAMAN LULUSAN & ALUMNI (lulusan-dan-alumni.php)
   ======================================================== */

/* ========================================================
   [START] HALAMAN LEGALITAS & AKREDITASI (legalitas.php)
   ======================================================== */

/* Legal Credentials Table */
.table-legal {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.table-legal th {
    background-color: #f8fafc;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.table-legal td {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    font-size: 0.95rem;
}

.table-legal tr:last-child td {
    border-bottom: none;
}

.permit-badge {
    background: rgba(1, 169, 120, 0.1);
    color: #01A978;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50rem;
    border: 1px solid rgba(1, 169, 120, 0.25);
}

/* ========================================================
   [END] HALAMAN LEGALITAS & AKREDITASI (legalitas.php)
   ======================================================== */

/* ========================================================
   [START] HALAMAN DOKUMENTASI KEGIATAN (kegiatan.php)
   ======================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.activity-card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.activity-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-card:hover img {
    transform: scale(1.05);
}

.activity-content {
    padding: 1.25rem;
}

.filter-btn-group .btn {
    border-radius: 50rem;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 1.15rem;
}

/* ========================================================
   [END] HALAMAN DOKUMENTASI KEGIATAN (kegiatan.php)
   ======================================================== */

/* ========================================================
   [START] HALAMAN BERITA & ARTIKEL (berita.php)
   ======================================================== */

.news-card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
    border-color: rgba(1, 169, 120, 0.3);
}

.news-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

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

.news-category-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #01A978;
    background: rgba(1, 169, 120, 0.1);
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

/* ========================================================
   [END] HALAMAN BERITA & ARTIKEL (berita.php)
   ======================================================== */

/* ========================================================
   [START] HALAMAN PUSAT INFORMASI & KONTAK (informasi.php)
   ======================================================== */

.info-hub-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.info-hub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

.contact-direct-card {
    background: linear-gradient(135deg, #0b3054 0%, #08223a 100%);
    color: #ffffff;
    border-radius: 1.25rem;
    padding: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================================
   [END] HALAMAN PUSAT INFORMASI & KONTAK (informasi.php)
   ======================================================== */

