/**
 * OFFICIAL INDONESIAN GOVERNMENT PORTAL DESIGN SYSTEM
 * Dinas Pekerjaan Umum, Tata Ruang, Perumahan dan Kawasan Permukiman (DPUTRPKP)
 * Kabupaten Indragiri Hilir - Provinsi Riau
 * Standard: Kementerian PUPR RI (Royal Navy #003366 & Kuning Kunyit PUPR #FFB800)
 */

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

:root {
    /* 1. Official Kementerian PUPR & Pemerintah RI Signature Colors */
    --dinas-navy: #003366;          /* Royal Navy Resmi PUPR */
    --dinas-navy-dark: #002244;     /* Midnight Navy Resmi Kop & Footer */
    --dinas-navy-deep: #001833;     /* Deep Navy */
    --dinas-navy-light: #0a4d8c;    /* Soft Navy */
    --dinas-navy-surface: #f0f4f9;  /* Ice Navy background */
    
    --dinas-gold: #ffb800;          /* Kuning Kunyit / Emas Resmi PUPR */
    --dinas-gold-hover: #e5a600;    /* Gold hover */
    --dinas-gold-dark: #b27b00;     /* Dark gold text */
    --dinas-gold-light: #fff9e6;    /* Warm gold soft tint */
    --dinas-gold-border: rgba(255, 184, 0, 0.45);

    /* 2. Official Kabupaten Indragiri Hilir (Riau) Accents */
    --dinas-emerald: #15803d;       /* Hijau Daun Lambang Pemkab Inhil */
    --dinas-emerald-light: #dcfce7; /* Hijau muda lembut */
    --dinas-emerald-text: #166534;
    
    /* Legacy alias for backwards compatibility */
    --dinas-lime: #ffb800;
    --dinas-lime-hover: #e5a600;
    --dinas-lime-dark: #b27b00;
    --dinas-lime-text: #003366;
    --dinas-lime-light: #fff9e6;
    --dinas-lime-border: rgba(255, 184, 0, 0.4);
    
    --dinas-slate: #0f172a;
    --dinas-blue-accent: #0284c7;
    --dinas-cyan: #0891b2;
    --dinas-rose: #e11d48;
    --dinas-violet: #7c3aed;
    
    /* Surface & Light Theme (Clean, Authorized Government Portal) */
    --bg-page: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-alt: #f1f5f9;
    
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    
    --border-light: #e2e8f0;
    --border-accent: #cbd5e1;
    --border-glass: rgba(0, 51, 102, 0.12);
    
    --shadow-soft: 0 4px 6px -1px rgba(0, 51, 102, 0.05), 0 2px 4px -2px rgba(0, 51, 102, 0.04);
    --shadow-card: 0 10px 25px -5px rgba(0, 51, 102, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 18px 30px -10px rgba(0, 51, 102, 0.14);
    --shadow-glow-lime: 0 0 20px rgba(255, 184, 0, 0.35);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-pill: 9999px;
}

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

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.01em;
}

/* ==========================================================================
   TOP BAR RESMI PEMERINTAHAN (Midnight Navy + Kuning Kunyit PUPR)
   ========================================================================== */
.top-bar-modern {
    background-color: var(--dinas-navy-dark);
    color: #cbd5e1;
    font-size: 0.8rem;
    padding: 7px 0;
    border-bottom: 2px solid var(--dinas-gold);
}

.top-bar-modern a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s;
}

.top-bar-modern a:hover {
    color: var(--dinas-gold);
}

.top-badge-portal {
    background: var(--dinas-gold);
    color: var(--dinas-navy-dark) !important;
    border: none;
    padding: 4px 14px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.75rem;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.top-badge-portal:hover {
    background: var(--dinas-gold-hover);
    color: #000000 !important;
    transform: translateY(-1px);
}

/* ==========================================================================
   KOP UTAMA INSTANSI (Clean White, Double Official Logos)
   ========================================================================== */
.gov-main-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    padding: 14px 0;
}

.gov-brand-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.gov-logo-img {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    aspect-ratio: auto;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.08));
    flex-shrink: 0;
}

.gov-brand-text {
    line-height: 1.25;
}

.gov-brand-sub {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
}

.gov-brand-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--dinas-navy);
    letter-spacing: -0.3px;
    margin: 0;
}

.gov-brand-addr {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 2px;
}

.gov-header-hotline {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 8px 16px;
}

.gov-hotline-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--dinas-gold-light);
    color: #b45309;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.gov-hotline-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
}

.gov-hotline-num {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--dinas-navy);
    font-family: 'Outfit', sans-serif;
}

/* ==========================================================================
   SOLID GOVERNMENT NAVBAR (Royal Navy Full-Width + Gold Border)
   ========================================================================== */
.header-wrapper-floating {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 0;
    background: var(--dinas-navy);
    box-shadow: 0 4px 15px rgba(0, 34, 68, 0.15);
    border-bottom: 3px solid var(--dinas-gold);
}

.navbar-glass {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 4px 0 !important;
}

.brand-badge-icon {
    display: none; /* Replaced by official government kop */
}

.brand-title {
    display: none;
}

.brand-subtitle {
    display: none;
}

.nav-link-modern {
    font-weight: 600;
    font-size: 0.88rem;
    color: #f1f5f9 !important;
    padding: 12px 14px !important;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link-modern:hover,
.nav-link-modern.active {
    color: var(--dinas-gold) !important;
    background: rgba(255, 255, 255, 0.08);
}

.btn-lapor-pulse {
    background: var(--dinas-gold);
    color: var(--dinas-navy-dark) !important;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-lapor-pulse:hover {
    background: var(--dinas-gold-hover);
    color: #000000 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* Pulse animated dot */
.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--dinas-navy-dark);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(0, 34, 68, 0.7);
    animation: pulse-ring 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 34, 68, 0.8);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(0, 34, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 34, 68, 0);
    }
}

/* ==========================================================================
   ANIMATED HERO CAROUSEL SLIDER (PORTAL RESMI DINAS PUTRPKP INHIL)
   ========================================================================== */
.hero-slider-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--dinas-navy-dark);
}

.hero-slider-item {
    position: relative;
    min-height: 560px;
    height: 68vh;
    max-height: 700px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 34, 68, 0.72) 0%, rgba(0, 22, 44, 0.62) 50%, rgba(0, 15, 30, 0.82) 100%);
    z-index: 1;
}

.hero-slider-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 860px;
}

/* ==========================================================================
   INTERACTIVE & ELEGANT TYPOGRAPHIC ANIMATIONS (3 DISTINCT HIGH-END PROFILES)
   ========================================================================== */

/* Generic Content Container */
.hero-slider-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 880px;
    transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1);
}

.carousel-item.is-exiting .hero-slider-content {
    opacity: 0;
    transform: translateY(-16px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* --------------------------------------------------------------------------
   PROFILE 1 (Slide 1: Editorial Masked Curtain Reveal - "KAMI BERKOMITMEN")
   -------------------------------------------------------------------------- */
.slide1-mask-wrap {
    overflow: hidden;
    display: inline-block;
    padding-bottom: 6px;
    margin-bottom: 12px;
}

.slide1-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--dinas-lime);
    background: rgba(50, 205, 50, 0.12);
    border: 1px solid var(--dinas-lime-border);
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
    opacity: 0;
}

.slide1-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.6rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
    transform: translateY(115%);
    opacity: 0;
}

.slide1-desc {
    font-size: 1.2rem;
    line-height: 1.68;
    color: #e2e8f0;
    max-width: 700px;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(25px);
}

.slide1-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    opacity: 0;
    transform: translateY(20px);
}

/* Trigger Slide 1 Animations when active */
.carousel-item.slide-theme-1.active .slide1-tag {
    animation: slide1TagReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.carousel-item.slide-theme-1.active .slide1-title {
    animation: slide1CurtainUp 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.carousel-item.slide-theme-1.active .slide1-desc {
    animation: slide1SoftFadeUp 0.9s ease 0.55s forwards;
}

.carousel-item.slide-theme-1.active .slide1-buttons {
    animation: slide1SoftFadeUp 0.9s ease 0.75s forwards;
}

@keyframes slide1TagReveal {
    0% {
        opacity: 0;
        letter-spacing: 8px;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        letter-spacing: 3px;
        transform: translateY(0);
    }
}

@keyframes slide1CurtainUp {
    0% {
        transform: translateY(115%);
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide1SoftFadeUp {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   PROFILE 2 (Slide 2: Optical Blur-to-Focus & Lateral Draw - "BERORIENTASI PELAYANAN")
   -------------------------------------------------------------------------- */
.slide2-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    background: linear-gradient(90deg, rgba(50, 205, 50, 0.3) 0%, rgba(50, 205, 50, 0.05) 100%);
    border-left: 3px solid var(--dinas-lime);
    padding: 6px 16px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 18px;
    opacity: 0;
    transform: translateX(-40px);
}

.slide2-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.12;
    margin-bottom: 18px;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.7);
    opacity: 0;
    filter: blur(14px);
    letter-spacing: 0.1em;
    transform: scale(0.96);
}

.slide2-desc {
    font-size: 1.18rem;
    line-height: 1.7;
    color: #cbd5e1;
    max-width: 680px;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateX(-35px);
}

.slide2-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    opacity: 0;
    transform: translateX(-20px);
}

/* Trigger Slide 2 Animations when active */
.carousel-item.slide-theme-2.active .slide2-tag {
    animation: slide2TagDraw 0.85s ease 0.15s forwards;
}

.carousel-item.slide-theme-2.active .slide2-title {
    animation: slide2BlurFocus 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards;
}

.carousel-item.slide-theme-2.active .slide2-desc {
    animation: slide2LateralSlide 0.9s ease 0.6s forwards;
}

.carousel-item.slide-theme-2.active .slide2-buttons {
    animation: slide2LateralSlide 0.9s ease 0.8s forwards;
}

@keyframes slide2TagDraw {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide2BlurFocus {
    0% {
        opacity: 0;
        filter: blur(14px);
        letter-spacing: 0.1em;
        transform: scale(0.96);
    }
    100% {
        opacity: 1;
        filter: blur(0px);
        letter-spacing: -0.01em;
        transform: scale(1);
    }
}

@keyframes slide2LateralSlide {
    0% {
        opacity: 0;
        transform: translateX(-35px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --------------------------------------------------------------------------
   PROFILE 3 (Slide 3: Architectural 3D Perspective Emerge - "PILIHAN MENJADI SEDERHANA")
   -------------------------------------------------------------------------- */
.slide3-perspective-wrap {
    perspective: 1000px;
}

.slide3-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    margin-bottom: 18px;
    opacity: 0;
    transform: scale(0.85);
}

.slide3-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.12;
    margin-bottom: 18px;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
    opacity: 0;
    transform: perspective(800px) rotateX(22deg) translateZ(-70px) translateY(30px);
    transform-origin: center bottom;
}

.slide3-desc {
    font-size: 1.18rem;
    line-height: 1.68;
    color: #f1f5f9;
    max-width: 680px;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(30px);
}

.slide3-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    opacity: 0;
    transform: scale(0.9);
}

/* Trigger Slide 3 Animations when active */
.carousel-item.slide-theme-3.active .slide3-tag {
    animation: slide3BeaconPop 0.8s ease 0.15s forwards;
}

.carousel-item.slide-theme-3.active .slide3-title {
    animation: slide3PerspectiveDrop 1.05s cubic-bezier(0.175, 0.885, 0.32, 1.05) 0.3s forwards;
}

.carousel-item.slide-theme-3.active .slide3-desc {
    animation: slide3Elevate 0.9s ease 0.6s forwards;
}

.carousel-item.slide-theme-3.active .slide3-buttons {
    animation: slide3Elevate 0.9s ease 0.8s forwards;
}

@keyframes slide3BeaconPop {
    0% {
        opacity: 0;
        transform: scale(0.85);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slide3PerspectiveDrop {
    0% {
        opacity: 0;
        transform: perspective(800px) rotateX(22deg) translateZ(-70px) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: perspective(800px) rotateX(0deg) translateZ(0) translateY(0);
    }
}

@keyframes slide3Elevate {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Action Buttons */
.btn-hero-solid {
    background: var(--dinas-gold);
    color: var(--dinas-navy-dark) !important;
    font-weight: 800;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-solid:hover {
    background: var(--dinas-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    color: #000000 !important;
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-outline:hover {
    background: #ffffff;
    color: var(--dinas-navy) !important;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Custom Navigation Arrows (Square Yellow Badges as seen in Official Portal) */
.custom-hero-arrow {
    width: 48px;
    height: 48px;
    background: var(--dinas-gold) !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: var(--radius-sm);
    top: 50% !important;
    transform: translateY(-50%);
    opacity: 0.95 !important;
    transition: all 0.25s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dinas-navy-dark) !important;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.custom-hero-arrow:hover {
    background: var(--dinas-gold-hover) !important;
    transform: translateY(-50%) scale(1.08);
    opacity: 1 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    color: #000000 !important;
}

.custom-hero-arrow.carousel-control-prev {
    left: 24px;
}

.custom-hero-arrow.carousel-control-next {
    right: 24px;
}

/* Indicators */
.hero-slider-indicators {
    margin-bottom: 24px;
    z-index: 5;
}

.hero-slider-indicators button {
    width: 32px;
    height: 5px;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    transition: all 0.3s ease;
}

.hero-slider-indicators button.active {
    background-color: var(--dinas-gold);
    width: 48px;
}

/* Official Running Ticker Bar (Kuning Emas PUPR) */
.hero-ticker-bar {
    background: var(--dinas-gold);
    color: var(--dinas-navy-dark);
    padding: 12px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #d99b00;
}

.ticker-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dinas-navy-dark);
}

/* Floating Search Bar Under Slider */
.search-strip-section {
    background: #ffffff;
    padding: 24px 0 16px;
    border-bottom: 1px solid var(--border-light);
}

@media (max-width: 768px) {
    .hero-slider-item {
        min-height: 480px;
        height: auto;
        padding: 60px 0;
    }
    .slide1-title,
    .slide2-title,
    .slide3-title {
        font-size: 2.2rem;
    }
    .slide1-desc,
    .slide2-desc,
    .slide3-desc {
        font-size: 1rem;
    }
    .custom-hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ==========================================================================
   MODERN HERO SECTION: SPLIT TECH-GOV (LimeGreen Highlights)
   ========================================================================== */
.hero-split-section {
    position: relative;
    padding: 40px 0 60px;
    background: radial-gradient(circle at 10% 20%, rgba(50, 205, 50, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(6, 42, 30, 0.05) 0%, transparent 40%);
    overflow: hidden;
}

.hero-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid rgba(50, 205, 50, 0.3);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--dinas-lime-text);
    box-shadow: 0 2px 10px rgba(50, 205, 50, 0.1);
    margin-bottom: 20px;
}

.hero-pill-tag .pulse-dot-green {
    width: 8px;
    height: 8px;
    background-color: var(--dinas-lime);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(50, 205, 50, 0.7);
    animation: pulse-ring-green 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-ring-green {
    0% {
        box-shadow: 0 0 0 0 rgba(50, 205, 50, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(50, 205, 50, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(50, 205, 50, 0);
    }
}

.hero-title-modern {
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--dinas-slate);
    margin-bottom: 18px;
}

.hero-title-modern span.highlight-lime {
    background: linear-gradient(135deg, #16a34a 0%, #32cd32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title-modern span.highlight-blue {
    color: var(--dinas-navy);
}

.hero-desc-modern {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 30px;
    max-width: 620px;
}

/* Floating Smart Search Bar */
.smart-search-card {
    background: #ffffff;
    padding: 8px 10px 8px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-light);
    box-shadow: 0 12px 30px -5px rgba(6, 42, 30, 0.08);
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.smart-search-card:focus-within {
    border-color: var(--dinas-lime);
    box-shadow: 0 15px 35px -5px rgba(50, 205, 50, 0.25);
}

.smart-search-input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
    color: var(--text-primary);
    padding: 6px 10px;
    background: transparent;
}

.smart-search-btn {
    background: linear-gradient(135deg, #32cd32 0%, #15803d 100%);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 10px 24px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(50, 205, 50, 0.25);
}

.smart-search-btn:hover {
    background: linear-gradient(135deg, #28b328 0%, #166534 100%);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Quick Action Chips */
.quick-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.chip-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 4px;
}

.chip-item {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.chip-item:hover {
    background: var(--dinas-lime);
    color: #031710;
    border-color: var(--dinas-lime);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(50, 205, 50, 0.3);
}

/* Hero Right Side: Showcase Bento Card */
.hero-bento-card {
    background: linear-gradient(145deg, #062a1e 0%, #031710 100%);
    border: 1px solid rgba(50, 205, 50, 0.25);
    border-radius: var(--radius-xl);
    padding: 30px;
    color: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(3, 23, 16, 0.45);
    position: relative;
    overflow: hidden;
}

/* Architectural blueprint subtle lines */
.hero-bento-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(50, 205, 50, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(50, 205, 50, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero-bento-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 18px;
    margin-bottom: 22px;
}

.bento-kpi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 22px;
}

.bento-kpi-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-top: 3px solid var(--dinas-navy);
    border-radius: var(--radius-md);
    padding: 18px;
    transition: all 0.25s ease;
}

.bento-kpi-item:hover {
    background: #ffffff;
    border-color: var(--dinas-gold);
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.08);
    transform: translateY(-3px);
}

.kpi-value-huge {
    font-family: 'Outfit', sans-serif;
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--dinas-navy);
    line-height: 1.1;
    margin-bottom: 4px;
}

.kpi-label-small {
    font-size: 0.76rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* Quick Ticket Mini Check */
.bento-ticket-bar {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 16px;
}

/* ==========================================================================
   HERO CENTERED CONTENT (CLEAN & EXPANSIVE - NO RIGHT CARD)
   ========================================================================== */
.hero-centered-content {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.hero-centered-content .hero-title-modern {
    font-size: 3.1rem;
    margin-bottom: 20px;
}

.hero-centered-content .hero-desc-modern {
    font-size: 1.12rem;
    line-height: 1.7;
    margin: 0 auto 30px;
    max-width: 780px;
}

.hero-centered-content .smart-search-card {
    max-width: 680px;
    margin: 0 auto 24px;
    box-shadow: 0 10px 30px rgba(6, 42, 30, 0.08);
}

.hero-centered-content .quick-chips-wrap {
    justify-content: center;
}

/* ==========================================================================
   DEDICATED SECTION: DATA STATISTIK & INDIKATOR KINERJA SEKTORAL
   ========================================================================== */
.bento-kpi-section {
    padding: 60px 0 70px;
    background: #f8fafc;
    position: relative;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.hero-bento-card-wide {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-top: 5px solid var(--dinas-navy);
    border-radius: var(--radius-lg);
    padding: 34px 40px;
    color: var(--text-primary);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.hero-bento-card-wide::before {
    display: none;
}

.bento-kpi-grid-wide {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 991px) {
    .hero-centered-content .hero-title-modern {
        font-size: 2.3rem;
    }
    .bento-kpi-grid-wide {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-bento-card-wide {
        padding: 24px;
    }
}

@media (max-width: 575px) {
    .bento-kpi-grid-wide {
        grid-template-columns: 1fr;
    }
}

.bento-ticket-bar-wide {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ==========================================================================
   BENTO GRID SECTION: 6 BIDANG TEKNIS
   ========================================================================== */
.bento-section {
    padding: 70px 0;
}

.section-tagline {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--dinas-lime-text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-block;
    margin-bottom: 8px;
}

.section-heading-modern {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dinas-slate);
    margin-bottom: 14px;
}

.section-subheading-modern {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 50px;
}

/* Bento Card Modular Styles */
.bento-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-soft);
}

.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(50, 205, 50, 0.4);
}

.bento-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.bento-card:hover .bento-icon-wrapper {
    transform: scale(1.1);
}

/* Thematic Color Accents with Official Division Top Borders */
.theme-bina-marga {
    border-top: 4px solid var(--dinas-gold);
}
.theme-bina-marga .bento-icon-wrapper {
    background: #fff8e1;
    color: #b45309;
}

.theme-sda {
    border-top: 4px solid #0284c7;
}
.theme-sda .bento-icon-wrapper {
    background: #e0f2fe;
    color: #0284c7;
}

.theme-cipta-karya {
    border-top: 4px solid #ea580c;
}
.theme-cipta-karya .bento-icon-wrapper {
    background: #ffedd5;
    color: #ea580c;
}

.theme-tata-ruang {
    border-top: 4px solid #0d9488;
}
.theme-tata-ruang .bento-icon-wrapper {
    background: #ccfbf1;
    color: #0d9488;
}

.theme-perkim {
    border-top: 4px solid #e11d48;
}
.theme-perkim .bento-icon-wrapper {
    background: #ffe4e6;
    color: #e11d48;
}

.theme-upt-lab {
    border-top: 4px solid #6366f1;
}
.theme-upt-lab .bento-icon-wrapper {
    background: #e0e7ff;
    color: #6366f1;
}

.bento-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dinas-slate);
    margin-bottom: 10px;
}

.bento-card-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.bento-metric-pill {
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
    padding: 4px 12px;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--dinas-lime-text);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.bento-action-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dinas-lime-text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.bento-action-link:hover {
    color: #16a34a;
    gap: 10px;
}

/* ==========================================================================
   SI-TUNTAS STEPPER BANNER (Official Public Service Portal Style)
   ========================================================================== */
.si-tuntas-banner {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 38px 40px;
    color: var(--text-primary);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
    border: 1px solid var(--border-light);
    border-top: 5px solid var(--dinas-gold);
}

.si-tuntas-banner::after {
    display: none;
}

.stepper-progress-wrap {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 28px 0 10px;
    background: #f8fafc;
    padding: 22px 20px;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
}

.stepper-progress-wrap::before {
    content: "";
    position: absolute;
    top: 38px;
    left: 45px;
    right: 45px;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
}

.step-node {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-dot {
    width: 36px;
    height: 36px;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: #64748b;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.step-node.active .step-dot {
    background: var(--dinas-navy);
    border-color: var(--dinas-navy);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 51, 102, 0.25);
}

.step-label {
    font-size: 0.8rem;
    color: #1e293b;
    font-weight: 700;
}

.step-node.active .step-label {
    color: var(--dinas-navy);
}

/* ==========================================================================
   DATA SEKTORAL & SERVICES MODERN CARDS
   ========================================================================== */
.service-pill-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    height: 100%;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-pill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--dinas-gold);
}

.badge-tag-free {
    background: #dcfce7;
    color: #15803d;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(21, 128, 61, 0.2);
}

.badge-tag-bidang {
    background: rgba(0, 51, 102, 0.08);
    color: var(--dinas-navy);
    font-weight: 700;
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
}

/* ==========================================================================
   OFFICIAL BOOTSTRAP OVERRIDES TO HARMONIZE WITH PUPR GOLD & NAVY
   ========================================================================== */
.btn-warning {
    background: var(--dinas-gold) !important;
    border-color: #d99b00 !important;
    color: var(--dinas-navy-dark) !important;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
    background: var(--dinas-gold-hover) !important;
    border-color: #b27b00 !important;
    color: #000000 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-outline-warning {
    color: #b45309 !important;
    border-color: var(--dinas-gold) !important;
}

.btn-outline-warning:hover {
    background-color: var(--dinas-gold) !important;
    color: #000000 !important;
}

.badge.bg-warning {
    background-color: var(--dinas-gold-light) !important;
    color: #92400e !important;
    border: 1px solid var(--dinas-gold-border) !important;
}

.text-warning {
    color: #d97706 !important;
}

.top-bar-modern .text-warning,
.hero-bento-card .text-warning,
.si-tuntas-banner .text-warning,
.footer-modern .text-warning {
    color: var(--dinas-gold) !important;
}

.bg-warning {
    background-color: var(--dinas-gold) !important;
}

.border-warning {
    border-color: var(--dinas-gold) !important;
}

/* ==========================================================================
   FOOTER RESMI INSTANSI PEMERINTAHAN (Midnight Navy + Strip Emas PUPR)
   ========================================================================== */
.footer-modern {
    background: var(--dinas-navy-dark);
    color: #cbd5e1;
    padding: 65px 0 25px;
    border-top: 4px solid var(--dinas-gold);
}

.footer-brand-title {
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.footer-nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.88rem;
    display: block;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.footer-nav-link:hover {
    color: var(--dinas-gold);
    transform: translateX(4px);
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-right: 6px;
}

.footer-social-icon:hover {
    background: var(--dinas-gold);
    color: var(--dinas-navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.footer-bottom-line {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-top: 45px;
    font-size: 0.82rem;
    color: #94a3b8;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
    .hero-title-modern {
        font-size: 2.2rem;
    }
    .hero-split-section {
        padding: 25px 0 40px;
    }
    .hero-bento-card {
        margin-top: 30px;
    }
}
