/*!
 * SILAPIS-2027 (Sistem Informasi Laporan Penegakan Syariat Islam & Trantibum)
 * Satuan Polisi Pamong Praja dan Wilayatul Hisbah Kota Banda Aceh
 * 
 * Lead Software Architect & Developer : Erie Fikrie
 * Official Institution                : Satpol PP & WH Kota Banda Aceh
 * Copyright (c) 2024 - 2026 Pemerintah Kota Banda Aceh. All rights reserved.
 */

:root {
            --primary-dark: #121212;
            --accent-red: #c70014;
            --card-border: #e9ecef;
            --text-dark-custom: #484949;

            /* Fluid Typography Scale menggunakan clamp() untuk semua perangkat */
            --fs-display: clamp(2rem, 5vw + 0.5rem, 3.5rem);
            --fs-h2: clamp(1.5rem, 3vw + 0.5rem, 2.25rem);
            --fs-h3: clamp(1.25rem, 2.2vw + 0.4rem, 1.75rem);
            --fs-h4: clamp(1.1rem, 1.8vw + 0.3rem, 1.35rem);
            --fs-h5: clamp(1rem, 1.4vw + 0.2rem, 1.2rem);
            --fs-body: clamp(0.9rem, 1vw + 0.15rem, 1.05rem);
            --fs-body-sm: clamp(0.82rem, 0.9vw + 0.1rem, 0.94rem);
            --fs-footer-sm: clamp(0.92rem, 0.9vw + 0.1rem, 0.94rem);
            --fs-small: clamp(0.74rem, 0.8vw + 0.05rem, 0.84rem);
            --fs-badge: clamp(0.7rem, 0.75vw + 0.05rem, 0.8rem);
            --fs-section-subtitle: clamp(0.75rem, 0.5455rem + 0.9091vw, 1rem);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }

        body {
            font-family:
                system-ui,
                -apple-system,
                "Segoe UI",
                Roboto,
                "Helvetica Neue",
                Arial,
                sans-serif;
            background-color: #ffffff;
            color: #212529;
            font-size: var(--fs-body);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* ── Navbar ─────────────────────────────────────────── */
        .landing-navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1030;
            /* Default transparan saat pertama kali masuk dan reload di posisi paling atas */
            background-color: transparent;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            border-bottom: 1px solid transparent;
            padding: clamp(0.7rem, 1.4vw, 1.05rem) 0;
            box-shadow: none;

            /* Transisi meluncur yang benar-benar halus, natural, dan bebas stutter/kasar */
            transform: translate3d(0, 0, 0);
            opacity: 1;
            transition:
                transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s ease,
                background-color 0.35s ease,
                backdrop-filter 0.35s ease,
                border-color 0.35s ease,
                box-shadow 0.35s ease,
                padding 0.35s ease;
            pointer-events: auto;
            will-change: transform, opacity;
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
        }

        /* Tampilan warna background aktif saat halaman mulai di-scroll ke bawah */
        .landing-navbar.navbar-scrolled {
            background-color: rgba(255, 255, 255, 0.94);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            padding: clamp(0.5rem, 1.2vw, 0.85rem) 0;
            box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
        }

        /* Saat mencapai section Akses Layanan Bidang, navbar meluncur sembunyi dengan sangat lembut */
        .landing-navbar.navbar-hidden {
            transform: translate3d(0, -100%, 0);
            opacity: 0;
            pointer-events: none;
        }

        .brand-logo-group {
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .brand-logo-badge {
            width: clamp(28px, 2.5vw, 36px);
            height: clamp(28px, 2.5vw, 36px);
            background-color: #000000;
            color: #ffffff;
            border-radius: 8px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: clamp(0.85rem, 1vw, 1.05rem);
            flex-shrink: 0;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center center;
            transition:
                transform 0.2s ease,
                box-shadow 0.2s ease;
        }

        .brand-logo-badge:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        }

        /*
Konfigurasi Warna & Aksen Badge Logo Bantu:
Ketika file gambar fisik sudah Anda letakkan di public/builds/images/,
barulah kita aktifkan background-image url() agar browser tidak menunggu respon 404.
*/
        .brand-logo-badge.badge-pemko {
            background-image: url("/builds/images/logo-kota-banda-aceh.png");
            background-color: transparent;
        }

        .brand-logo-badge.badge-satpolpp {
            background-image: url("/builds/images/logo-pp.png");
            background-color: transparent;
        }

        .brand-logo-badge.badge-wh {
            background-image: url("/builds/images/logo-wh.png");
            background-color: transparent;
        }

        .brand-logo-badge.badge-linmas {
            background-image: url("/builds/images/logo-linmas.png");
            background-color: transparent;
        }

        .brand-title {
            font-size: clamp(1rem, 1.3vw, 1.25rem);
            font-weight: 800;
            letter-spacing: -0.02em;
            line-height: 1.1;
        }

        .brand-subtitle {
            font-size: var(--fs-small);
            line-height: 1;
        }

        /* Pada tampilan mobile (< 768px), logo grup berada di atas dan teks nama instansi berada di bawahnya */
        @media (max-width: 767.98px) {
            .landing-navbar .navbar-brand {
                flex-direction: column !important;
                align-items: flex-start !important;
                gap: 5px !important;
            }

            .brand-logo-group {
                gap: 5px;
            }

            .brand-logo-badge {
                width: 30px;
                height: 30px;
                font-size: 0.95rem;
            }

            .brand-text-wrapper {
                text-align: left;
            }

            .brand-title {
                font-size: 0.95rem;
                line-height: 1.15;
            }

            .brand-subtitle {
                font-size: 0.68rem;
                line-height: 1.1;
            }
        }

        .nav-link {
            font-size: var(--fs-body-sm);
            font-weight: 500;
            color: #272727 !important;
            padding: clamp(0.35rem, 0.8vw, 0.5rem) clamp(0.5rem, 1vw, 0.9rem) !important;
            display: inline-block;
            position: relative;
            transform: translate3d(0, 0, 0) scale(1);
            transition:
                color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            will-change: transform;
        }

        .nav-link::after {
            content: "";
            position: absolute;
            left: clamp(0.5rem, 1vw, 0.9rem);
            right: clamp(0.5rem, 1vw, 0.9rem);
            bottom: 2px;
            height: 2px;
            background-color: rgba(39, 39, 39, 0.8);
            transform: scaleX(0);
            transform-origin: left center;
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .nav-link:hover {
            color: #242323 !important;
            transform: translate3d(0, -1px, 0) scale(1.06);
        }

        .nav-link:hover::after {
            transform: scaleX(1);
        }

        /* ── Navbar Dropdown Styling ────────────────────────── */
        .landing-navbar .dropdown-menu {
            border: 1px solid rgba(0, 0, 0, 0.08);
            border-radius: 0 !important;
            /* Sudut tajam tanpa border radius */
            box-shadow:
                0 12px 32px -4px rgba(0, 0, 0, 0.08),
                0 4px 12px -2px rgba(0, 0, 0, 0.03);
            padding: 0.35rem 0;
            min-width: 180px;
            background-color: rgba(255, 255, 255, 0.96);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            margin-top: 0.5rem;
            transition:
                opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.35s linear,
                background-color 0.35s ease,
                box-shadow 0.35s ease;
        }

        .landing-navbar .dropdown-item {
            font-size: var(--fs-small);
            font-weight: 500;
            color: #212529;
            padding: 0.5rem 0.9rem;
            border-radius: 0 !important;
            /* Sudut tajam tanpa border radius */
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .landing-navbar .dropdown-item i {
            font-size: 0.92rem;
            color: #64748b;
            transition:
                color 0.25s ease,
                transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .landing-navbar .dropdown-item:hover {
            background-color: rgba(241, 245, 249, 0.349);
            color: #0f172a;
            transform: translate3d(3px, 0, 0);
        }

        .landing-navbar .dropdown-item:hover i {
            color: #c70014;
            transform: scale(1.12);
        }

        .nav-link.dropdown-toggle::after {
            display: inline-block;
            margin-left: 0.35em;
            vertical-align: 0.2em;
            content: "";
            border-top: 0.3em solid;
            border-right: 0.3em solid transparent;
            border-bottom: 0;
            border-left: 0.3em solid transparent;
            position: static;
            height: auto;
            background: none;
            transform: none !important;
            transition: transform 0.25s ease;
        }

        /* ── Mega Menu 4-Kolom SILAPIS-2027 (Full Width 100% Edge-to-Edge) ────────────────── */
        .landing-navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1030;
        }

        .landing-navbar .navbar-collapse {
            position: static;
        }

        .landing-navbar .nav-item.dropdown-mega {
            position: static;
        }

        .landing-navbar .mega-menu-wrapper {
            position: absolute !important;
            top: 100% !important;
            left: 0 !important;
            right: 0 !important;
            width: 100vw !important;
            max-width: 100vw !important;
            margin: 0 !important;
            border-radius: 0 !important;
            border-left: none !important;
            border-right: none !important;
            border-top: none !important;
            border-bottom: 2px solid #000000;
            padding: clamp(1.25rem, 2vw, 2.2rem) clamp(1rem, 4vw, 3.5rem);
            background: #ffffff;
            box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.18);
        }

        /* Jembatan hover tak terlihat (Invisible Hover Bridge): Menghubungkan teks Profil ke Mega Menu agar kursor leluasa bergerak tanpa jeda/hilang */
        .landing-navbar .mega-menu-wrapper::before {
            content: "";
            position: absolute;
            top: -24px;
            left: 0;
            right: 0;
            height: 24px;
            background: transparent;
            pointer-events: auto;
        }

        .mega-column-title {
            font-size: clamp(0.72rem, 0.8vw, 0.82rem);
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: #0f172a;
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: clamp(0.6rem, 1vw, 0.95rem);
            padding-bottom: 0.4rem;
            border-bottom: 2px solid #000000;
        }

        .mega-link-card {
            display: flex;
            align-items: flex-start;
            gap: clamp(8px, 1vw, 12px);
            padding: clamp(0.45rem, 0.7vw, 0.65rem) clamp(0.5rem, 0.8vw, 0.8rem);
            border-radius: 10px;
            text-decoration: none;
            color: inherit;
            transition: all 0.2s ease;
            margin-bottom: 0.3rem;
        }

        .mega-link-card:hover {
            background-color: #f8fafc;
            transform: translateX(4px);
            color: #000000;
        }

        .mega-link-icon {
            width: clamp(30px, 2.5vw, 36px);
            height: clamp(30px, 2.5vw, 36px);
            border-radius: 8px;
            background: #f1f5f9;
            color: #111827;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: clamp(0.9rem, 1.1vw, 1.05rem);
            flex-shrink: 0;
            transition: all 0.2s ease;
            border: 1px solid #00000034;
        }

        .mega-link-card:hover .mega-link-icon {
            background: #000000;
            color: #ffffff;
            transform: scale(1.08);
        }

        .mega-link-title {
            font-size: clamp(0.82rem, 0.9vw, 0.92rem);
            font-weight: 700;
            color: #1e293b;
            line-height: 1.25;
            display: block;
        }

        .mega-link-desc {
            font-size: clamp(0.8rem, 0.75vw, 0.88rem);
            color: #030303;
            line-height: 1.35;
            margin-top: 2px;
            display: block;
        }

        /* Kartu Unggulan Kolom 4 */
        .mega-featured-card {
            background: linear-gradient(145deg, #111827, #1e293b);
            border-radius: 12px;
            padding: 1.25rem;
            color: #ffffff;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            overflow: hidden;
        }

        .mega-featured-card::after {
            content: "";
            position: absolute;
            top: -20px;
            right: -20px;
            width: 100px;
            height: 100px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50%;
        }

        /* Otomatis tampilkan submenu saat mouse diarahkan (hover) pada layar desktop */
        @media (min-width: 992px) {

            /* Saat area menu navigasi (.navbar-collapse) di-hover, ubah background navbar menjadi putih solid agar menyatu padu sempurna */
            .landing-navbar:has(.navbar-collapse:hover) {
                background-color: #ffffff !important;
                backdrop-filter: blur(16px) !important;
                -webkit-backdrop-filter: blur(16px) !important;
                border-bottom: 1px solid #f1f5f9 !important;
                box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
            }

            .landing-navbar .dropdown-menu {
                display: block;
                opacity: 0;
                visibility: hidden;
                pointer-events: none;
                transform: translate3d(0, 8px, 0);
                transition:
                    opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                    visibility 0.35s linear;
                transition-delay: 0.12s;
                /* Toleransi gerakan mouse agar tidak mendadak tertutup */
                margin-top: 0;
            }

            .landing-navbar .nav-item.dropdown:hover .dropdown-menu {
                display: block;
                opacity: 1;
                visibility: visible;
                pointer-events: auto;
                transform: translate3d(0, 0, 0);
                transition-delay: 0s;
            }

            .landing-navbar .nav-item.dropdown-mega:hover .mega-menu-wrapper {
                display: block !important;
                opacity: 1 !important;
                visibility: visible !important;
                pointer-events: auto !important;
                transform: translate3d(0, 0, 0) !important;
                transition-delay: 0s;
            }
        }

        /* ── Optimasi Mega Menu pada Tampilan Mobile & Tablet (< 992px) ── */
        @media (max-width: 991.98px) {
            .landing-navbar .mega-menu-wrapper {
                position: static !important;
                transform: none !important;
                box-shadow: none !important;
                border: 1px solid #f1f5f9 !important;
                border-radius: 12px !important;
                padding: 0.5rem 0.65rem !important;
                width: 100% !important;
                max-width: 100% !important;
                margin-top: 0.2rem !important;
                margin-bottom: 0.4rem !important;
                background: #f8fafc !important;
            }

            .landing-navbar .mega-menu-wrapper::before {
                display: none !important;
            }

            .landing-navbar .mega-menu-wrapper .row {
                --bs-gutter-y: 0.75rem;
            }

            .mega-column-title {
                font-size: 0.74rem;
                margin-top: 0.5rem;
                margin-bottom: 0.4rem;
                padding-bottom: 0.3rem;
                border-bottom: 1px solid #e2e8f0;
            }

            /* Kolom pertama di mobile tidak perlu margin-top agar rapat dengan nav-link */
            .landing-navbar .mega-menu-wrapper .col-12:first-child .mega-column-title {
                margin-top: 0.15rem;
            }

            .mega-link-card {
                padding: 0.45rem 0.5rem;
                margin-bottom: 0.2rem;
                background: #ffffff;
                border: 1px solid #eef2f6;
                border-radius: 8px;
            }

            .mega-link-icon {
                width: 30px;
                height: 30px;
                font-size: 0.9rem;
            }

            .mega-link-title {
                font-size: 0.84rem;
            }

            .mega-link-desc {
                font-size: 0.72rem;
            }

            .mega-featured-card {
                margin-top: 0.5rem;
                padding: 1rem;
            }

            /* Dropdown standar (Publikasi, nav-link li ul) pada tampilan mobile */
            .landing-navbar .dropdown-menu:not(.mega-menu-wrapper) {
                position: static !important;
                transform: none !important;
                box-shadow: none !important;
                border: 1px solid #f1f5f9 !important;
                border-radius: 8px !important;
                padding: 0.35rem 0.5rem !important;
                width: 100% !important;
                margin-top: 0.2rem !important;
                margin-bottom: 0.4rem !important;
                background: #f8fafc !important;
            }

            .landing-navbar .dropdown-menu:not(.mega-menu-wrapper) .dropdown-item {
                padding: 0.45rem 0.65rem !important;
                font-size: 0.85rem !important;
                border-radius: 6px !important;
                margin-bottom: 2px !important;
                background-color: transparent;
            }

            .landing-navbar .dropdown-menu:not(.mega-menu-wrapper) .dropdown-item:hover {
                background-color: #ffffff !important;
                color: #0f172a !important;
            }
        }

        /* ── Hero Section ───────────────────────────────────── */
        .hero-section {
    /* Beri offset atas agar konten tidak tertutup fixed navbar */
    padding-top: clamp(100px, 11vw, 150px);
    padding-bottom: clamp(40px, 6vw, 75px);
    background: #ffffff;
    position: relative;
    overflow: hidden;
    clip-path: inset(0 0 0 0);
}

        /* Container Pembungkus Interaktif Parallax Gerakan Horizontal Mouse */
        .hero-interactive-parallax {
    position: fixed;
    top: 0;
    left: -70px;
    width: calc(100vw + 140px);
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
}

        /* Latar Tirai Dekoratif Kiri & Kanan (Menyambung Presisi Tanpa Batas Garis) */
        .hero-backdrop-half {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 50%;
            height: 100%;
            overflow: hidden;
            pointer-events: none;
            z-index: 1;
            will-change: transform;
        }

        /* Inner container selebar 200% (lebar layar penuh) agar gambar menyambung 100% presisi di tengah */
        .hero-backdrop-inner {
            position: absolute;
            top: 0;
            bottom: 0;
            width: clamp(100%, 200%, 200%);
            height: clamp(100%, 100%, 100%);
            background-color: transparent;
            background-image: url("/builds/images/bg-welcome-2.jpg");
            background-size: 100% 100%;
            background-position: center top;
            background-repeat: no-repeat;
            background-attachment: fixed;
        }

        /* Belahan Kiri: Masuk dari kiri, menampilkan sisi kiri (0% s/d 50%) gambar */
        .hero-backdrop-left {
            left: 0;
            animation: slideInLeftMeet 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
        }

        .hero-backdrop-left .hero-backdrop-inner {
            left: 0;
        }

        /* Belahan Kanan: Masuk dari kanan, menampilkan sisi kanan (50% s/d 100%) gambar */
        .hero-backdrop-right {
            right: 0;
            animation: slideInRightMeet 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
        }

        .hero-backdrop-right .hero-backdrop-inner {
            right: 0;
        }

        /* Bingkai Hitam Lembut dengan Cahaya Menyebar ke Dalam (Soft Subtle Vignette) */
        .hero-backdrop-vignette {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
            /* Bingkai tepi hitam halus menyebar lembut ke dalam, meredupkan silau tanpa menutupi gambar */
            box-shadow: inset 0 0 80px 15px rgba(0, 0, 0, 0.4);
            background: radial-gradient(ellipse at center,
                    rgba(0, 0, 0, 0) 50%,
                    rgba(0, 0, 0, 0.35) 100%);
        }

        /* Pada tampilan mobile (layar kecil < 768px), optimalkan background image1.jpg agar pas & responsif */
        @media (max-width: 767.98px) {
            .hero-interactive-parallax {
    position: fixed;
    top: 0;
    left: -70px;
    width: calc(100vw + 140px);
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
}

            .hero-backdrop-half.hero-backdrop-right {
                display: none !important;
            }

            .hero-backdrop-half.hero-backdrop-left {
                width: 100% !important;
                left: 0 !important;
                animation: none !important;
                opacity: 1 !important;
            }

            .hero-backdrop-inner {
                width: 100% !important;
                left: 0 !important;
                right: 0 !important;
                background-image: url("/builds/images/bg-welcome-2.jpg") !important;
                background-size: cover !important;
                background-position: center center !important;
                background-repeat: no-repeat !important;
                background-attachment: fixed !important;
                opacity: 1;
                /* Lembut agar teks dan tombol hero tetap terbaca sangat jelas */
            }

            .hero-backdrop-vignette {
                display: block !important;
                box-shadow: inset 0 0 50px 10px rgba(0, 0, 0, 0.25) !important;
                background: radial-gradient(ellipse at center,
                        rgba(255, 255, 255, 0.3) 30%,
                        rgba(255, 255, 255, 0.85) 100%) !important;
            }

            /* Hilangkan komputasi berat backdrop-filter blur di mobile agar scroll sangat ringan & 60 FPS */
            .landing-navbar,
            .landing-navbar.navbar-scrolled,
            .landing-navbar .dropdown-menu,
            .btn-call-center {
                backdrop-filter: none !important;
                -webkit-backdrop-filter: none !important;
            }

            .landing-navbar.navbar-scrolled {
                background-color: #ffffff !important;
                border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
            }

            /* Saat navbar toggler dibuka (menu mobile collapse terbuka/show), jadikan background navbar putih solid menyatu utuh */
            .landing-navbar:has(.navbar-collapse.show),
            .landing-navbar:has(.navbar-collapse.collapsing) {
                background-color: #ffffff !important;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
                border-bottom: 1px solid #f1f5f9 !important;
            }

            /* Menu dropdown mobile selalu memiliki background putih solid dan menyatu dengan navbar */
            .navbar-collapse {
                background: #ffffff;
                padding: 1rem;
                border-radius: 12px;
                margin-top: 0.75rem;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
                border: 1px solid #e9ecef;
                max-height: 80vh;
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;
            }

            .navbar-collapse .nav-link {
                color: #212529 !important;
                font-weight: 600;
                padding: 0.6rem 0.8rem !important;
            }
        }

        .hero-content-wrapper {
            position: relative;
            z-index: 2;
        }

        .badge-hero {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background-color: #ffffff;
            border: 1px solid #e2e8f0;
            color: #0f172a;
            font-size: var(--fs-badge);
            font-weight: 700;
            padding: clamp(5px, 0.8vw, 8px) clamp(12px, 1.5vw, 18px);
            border-radius: 30px;
            margin-bottom: clamp(1rem, 2vw, 1.5rem);
            line-height: 1.4;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        .hero-title {
            font-family: "Alfa Slab One";
            font-size: clamp(1.775rem, 0.81rem + 4.11vw, 3.4375rem);
            font-weight: 400;
            line-height: 1.2;
            letter-spacing: 0.06em;
            text-align: center;
            /* Pada tampilan Desktop, teks kembali putih dengan text-shadow halus persis seperti sebelumnya */
            color: #ffffff;
            text-shadow: 3px 3px 2px rgba(0, 0, 0);
        }

        .hero-title-st {
            font-family: "Bebas Neue";
            font-size: clamp(1.125rem, 0.8182rem + 1.3636vw, 1.5rem);
            font-weight: 700;
            letter-spacing: 0.06em;
            color: #ffffff;
            text-shadow: 3px 3px 2px rgba(0, 0, 0);
        }

        /* Pada tampilan mobile, teks berwarna hitam dan tetap presisi di tengah */
        @media (max-width: 767.98px) {
            .hero-title {
                color: #111827 !important;
                text-shadow: 3px 3px 2px rgb(255, 255, 255);
                text-shadow: none !important;
                text-align: center !important;
                margin-left: auto !important;
                margin-right: auto !important;
                margin-top: 50px;
            }

            .hero-title-st {
                color: #111827 !important;
                text-shadow: 3px 3px 2px rgb(255, 255, 255);
                text-shadow: none !important;
                text-align: center !important;
                margin-left: auto !important;
                margin-right: auto !important;
                font-weight: 700 !important;
            }
        }

        /* ── Tombol Call Center WhatsApp Pimpinan ───────────── */
        .btn-call-center {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            background: linear-gradient(135deg,
                    rgba(37, 211, 102, 0.85),
                    rgba(18, 140, 126, 0.82));
            color: #ffffff !important;
            border: 1px solid rgba(37, 211, 102, 0.55);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            padding: clamp(0.6rem, 1.2vw, 0.75rem) clamp(1rem, 2vw, 1.4rem);
            border-radius: 50px;
            text-decoration: none;
            box-shadow: 0 8px 24px -4px rgba(37, 211, 102, 0.25);
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            margin-bottom: clamp(1.2rem, 2.5vw, 1.75rem);
        }

        .btn-call-center:hover {
            background: linear-gradient(135deg, #25d366, #128c7e);
            color: #ffffff !important;
            border-color: #25d366;
            transform: translateY(-2px);
            box-shadow: 0 12px 28px -4px rgba(37, 211, 102, 0.45);
        }

        .btn-call-center-icon {
            width: 38px;
            height: 38px;
            background-color: #25d366;
            color: #ffffff;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            flex-shrink: 0;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
            transition: transform 0.3s ease;
        }

        .btn-call-center:hover .btn-call-center-icon {
            transform: scale(1.1) rotate(8deg);
            background-color: #ffffff;
            color: #25d366;
        }

        .btn-call-center-label {
            font-size: 0.72rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: rgba(255, 255, 255, 0.85);
            font-weight: 600;
            display: block;
            line-height: 1.1;
        }

        .btn-call-center-number {
            font-size: clamp(0.95rem, 1.3vw, 1.15rem);
            font-weight: 800;
            letter-spacing: 0.03em;
            line-height: 1.2;
            color: #ffffff;
        }

        /* Pada tampilan mobile, sesuaikan warna teks tombol agar sangat kontras */
        @media (max-width: 767.98px) {
            .btn-call-center {
                background: #ffffff;
                border: 2px solid #25d366;
                color: #111827 !important;
                box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
            }

            .btn-call-center-label {
                color: #128c7e;
            }

            .btn-call-center-number {
                color: #111827;
            }
        }

        .btn-responsive {
            font-size: var(--fs-body-sm);
            padding: clamp(0.5rem, 1vw, 0.68rem) clamp(1rem, 2vw, 1.4rem);
            font-weight: 600;
        }

        /* Ukuran box tombol Masuk / Dashboard di Navbar lebih ringkas & ramping */
        .btn-nav-login {
            font-size: 0.85rem !important;
            padding: 0.35rem 0.85rem !important;
            font-weight: 600;
            line-height: 1.3;
            border-radius: 6px !important;
            transition: all 0.2s ease;
        }

        /* ── Feature Cards ──────────────────────────────────── */
        .feature-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 14px;
            padding: clamp(1.25rem, 2.5vw, 1.85rem);
            height: 100%;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
            transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .feature-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--primary-dark);
            transition: height 0.3s ease;
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.1);
            border-color: #000000;
        }

        .feature-card:hover::before {
            height: 6px;
        }

        .feature-icon-wrapper {
            width: clamp(44px, 4.8vw, 52px);
            height: clamp(44px, 4.8vw, 52px);
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: clamp(1.25rem, 1.7vw, 1.55rem);
            margin-bottom: 1.25rem;
        }

        .feature-title {
            font-size: var(--fs-h5);
            font-weight: 700;
            text-align: center;
        }

        .feature-desc {
            font-size: var(--fs-body-sm);
            line-height: 1.6;
            text-align: center;
        }

        /* ── Testimonial Pimpinan Modern & Interaktif ───────────────────────────── */
        .testimonial-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            padding: clamp(1.4rem, 2.5vw, 2rem);
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
            transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .testimonial-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: #111827;
            transition: height 0.3s ease;
        }

        /* Garis aksen tema SILAPIS (Hitam solid elegan & Aksen Merah) */
        /* Garis aksen tema SILAPIS (Hitam solid kedinasan elegan) */
        .testimonial-card.kasat::before,
        .testimonial-card.sekretaris::before,
        .testimonial-card.peruu::before,
        .testimonial-card.trantibum::before,
        .testimonial-card.psi::before,
        .testimonial-card.linmas::before {
            background: var(--primary-dark);
        }

        .testimonial-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.1);
            border-color: #000000;
        }

        .testimonial-card:hover::before {
            height: 5px;
        }

        /* Watermark lambang kutipan di pojok kanan kartu */
        .testimonial-watermark {
            position: absolute;
            top: 15px;
            right: 18px;
            font-size: 3.5rem;
            color: rgba(0, 0, 0, 0.04);
            line-height: 1;
            pointer-events: none;
            transition:
                transform 0.35s ease,
                color 0.35s ease;
        }

        .testimonial-card:hover .testimonial-watermark {
            transform: scale(1.1) rotate(4deg);
            color: rgba(0, 0, 0, 0.08);
        }

        .testimonial-stars {
            display: flex;
            gap: 3px;
            color: var(--primary-dark);
            font-size: 0.85rem;
            margin-bottom: 0.85rem;
        }

        .testimonial-text {
            font-size: var(--fs-body-sm);
            line-height: 1.7;
            color: #000000;
            position: relative;
            z-index: 1;
            margin-bottom: 1.35rem;
        }

        .testimonial-author-avatar {
            width: 44px;
            height: 44px;
            border-radius: 8px;
            background: #000000;
            color: #ffffff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            flex-shrink: 0;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
            transition: transform 0.3s ease;
        }

        .testimonial-card:hover .testimonial-author-avatar {
            transform: scale(1.06);
        }

        .testimonial-author-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 0.72rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            padding: 2px 8px;
            border-radius: 4px;
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            color: #212529;
            margin-bottom: 4px;
        }

        .testimonial-author-name {
            font-size: 0.98rem;
            font-weight: 800;
            color: #0f172a;
            margin-bottom: 2px;
            line-height: 1.25;
        }

        .testimonial-author-dept {
            font-size: 0.78rem;
            color: #64748b;
            line-height: 1.2;
            font-weight: 500;
        }

        /* ── Bidang Selection ───────────────────────────────── */
        .bidang-card {
            background: #ffffff;
            border: 1px solid #e9ecef;
            border-radius: 14px;
            padding: clamp(1.25rem, 2.5vw, 2rem);
            text-decoration: none;
            color: inherit;
            display: block;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .bidang-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 5px;
            height: 100%;
            background: #000000;
            transition: width 0.3s ease;
        }

        .bidang-card.psi::before {
            background: var(--accent-red);
        }

        .bidang-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.12);
            border-color: #ced4da;
            color: inherit;
        }

        .bidang-card:hover::before {
            width: 8px;
        }

        .bidang-title {
            font-size: var(--fs-h4);
            font-weight: 100;
            line-height: 1;
            font-family: "Fraunces";
        }

        .bidang-desc {
            font-size: var(--fs-body-sm);
            line-height: 1.6;
            text-align: justify;
        }

        .badge-tag {
            font-size: var(--fs-small);
            padding: clamp(4px, 0.6vw, 6px) clamp(8px, 1vw, 12px);
        }

        /* ── Stat Box ───────────────────────────────────────── */
        .stat-item {
            border-right: 1px solid #e2e8f0;
            padding: clamp(0.75rem, 1.2vw, 1.1rem) clamp(0.85rem, 1.4vw, 1.35rem);
        }

        .stat-item:last-child {
            border-right: none;
        }

        .stat-number {
            font-size: clamp(1.1rem, 1.7vw, 1.35rem);
            font-weight: 800;
            line-height: 1.2;
            color: #0f172a;
        }

        .stat-label {
            font-size: clamp(0.8rem, 0.9vw, 0.88rem);
            line-height: 1.4;
            color: #334155 !important;
            font-weight: 700;
        }

        .stat-subtext {
            font-size: clamp(0.75rem, 0.8vw, 0.82rem);
            line-height: 1.4;
            color: #475569 !important;
            font-weight: 500;
        }

        @media (max-width: 767.98px) {
            .stat-item {
                border-right: none;
                border-bottom: 1px solid #e2e8f0;
                width: 100%;
                padding: 0.85rem 0.5rem;
                text-align: center;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
            }

            .stat-item .d-flex {
                justify-content: center;
            }

            .stat-item:last-child {
                border-bottom: none;
            }
        }

        /* ── Section Titles ─────────────────────────────────── */
        .section-tag {
            font-size: var(--fs-badge);
            letter-spacing: 0.08em;
            font-weight: 700;
        }

        .section-title {
            font-size: var(--fs-h2);
            font-family: "Roboto Slab";
            font-weight: 800;
            line-height: 1.25;
            letter-spacing: -0.01em;
        }

        .section-subtitle {
            font-family: "Noto Serif Ahom";
            font-size: var(--fs-section-subtitle);
            line-height: 1.6;
        }

        .section-map {
            font-size: clamp(0.75rem, 0.1364rem + 2.7273vw, 1.5rem);
            font-family: "Roboto Slab";
            font-weight: 800;
            line-height: 1.25;
            letter-spacing: -0.01em;
        }

        /* ── Emblem SVG Sizing ──────────────────────────────── */
        .emblem-wrapper svg {
            width: clamp(140px, 18vw, 190px);
            height: clamp(140px, 18vw, 190px);
        }

        /* ── Footer ─────────────────────────────────────────── */
        .landing-footer {
            border-top: 10px solid #000000;
            background-color: #ffffff;
            padding: clamp(2rem, 4vw, 3rem) 0 clamp(0.5rem, 2.5vw, 0.5rem);
            color: #020202;
        }

        .footer-brand-title {
            font-family: "Bebas Neue", sans-serif;
            font-size: var(--fs-h4);
            font-weight: 800;
            letter-spacing: -0.02em;
            line-height: 1;
        }

        .footer-heading {
            font-family: "Bebas Neue", sans-serif;
            font-size: var(--fs-h5);
            font-weight: 700;
            color: #111827;
            position: relative;
            padding-bottom: 0.5rem;
            margin-bottom: 0.5rem;
        }

        .footer-heading::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 28px;
            height: 2px;
            background: #111827;
            border-radius: 2px;
        }

        .footer-heading.heading-psi::after {
            background: var(--accent-red);
        }

        .footer-text {
            font-size: clamp(0.75rem, 0.6477rem + 0.4545vw, 0.875rem);
            line-height: 1.25;
        }

        .footer-text-athor {
            font-size: var(--fs-small);
            line-height: 1.25;
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: 0.55rem;
        }

        .footer-links a {
            color: #000000;
            text-decoration: none;
            font-size: var(--fs-small);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: all 0.2s ease;
        }

        .footer-links a:hover {
            color: #353636;
            transform: translateX(3px);
        }

        .footer-contact-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 0.65rem;
            font-size: var(--fs-small);
            color: #000000;
        }

        .footer-contact-item i {
            font-size: 1rem;
            color: #111827;
            width: 18px;
            text-align: center;
            display: inline-flex;
            justify-content: center;
            align-items: center;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .social-link-btn {
            width: 36px;
            height: 36px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            color: #495057;
            text-decoration: none;
            transition: all 0.2s ease;
            border: 1px solid #00000085;
        }

        .social-link-btn:hover {
            background: #111827;
            color: #ffffff;
            border-color: #111827;
            transform: translateY(-2px);
        }

        /* ── Tautan Terkait / Partner Badges Responsive ────────── */
        .backed-links-title {
            font-size: 0.72rem;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            font-weight: 700;
            color: #6c757d;
        }

        .partner-link-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 4px 8px;
            border-radius: 8px;
            background: #ffffff;
            border: 1px solid rgba(0, 0, 0, 0.08);
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
            text-decoration: none;
            transition: all 0.25s ease;
            height: 40px;
            box-sizing: border-box;
        }

        .partner-link-badge:hover {
            transform: translateY(-2px);
            border-color: rgba(0, 0, 0, 0.18);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
        }

        .partner-link-badge img {
            max-height: 28px;
            width: auto;
            object-fit: contain;
            display: block;
            transition: transform 0.2s ease;
        }

        .partner-link-badge:hover img {
            transform: scale(1.05);
        }

        /* Khusus E-Kinerja (karena logo bertipe transparan putih/terang) */
        .kinerja-link-btn {
            background-color: #2b3990;
            border-color: #232f7a;
            padding: 4px 10px;
        }

        .kinerja-link-btn:hover {
            background-color: #212c75;
            border-color: #1a2259;
            box-shadow: 0 4px 12px rgba(43, 57, 144, 0.25);
        }

        .kinerja-link-btn img {
            max-height: 24px;
        }

        .bandaacehkota-link-btn img {
            max-height: 30px;
        }

        .kemendagri-link-btn img {
            max-height: 30px;
        }

        .lapor-link-btn img {
            max-height: 24px;
        }

        .saleum-link-btn img {
            max-height: 24px;
        }

        @media (max-width: 576px) {
            .partner-link-badge {
                height: 36px;
                padding: 3px 7px;
            }
            .partner-link-badge img {
                max-height: 22px;
            }
            .bandaacehkota-link-btn img {
                max-height: 24px;
            }
            .kemendagri-link-btn img {
                max-height: 24px;
            }
        }

        /* ── Tombol Mengapung (Floating Back to Top) ────────── */
        .btn-back-to-top {
            position: fixed;
            bottom: clamp(20px, 3vw, 32px);
            right: clamp(20px, 3vw, 32px);
            width: clamp(42px, 4.5vw, 48px);
            height: clamp(42px, 4.5vw, 48px);
            border-radius: 50%;
            background-color: #111827;
            color: #ffffff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            z-index: 1020;
            border: 2px solid #ffffff;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px) scale(0.9);
            transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
            text-decoration: none;
        }

        .btn-back-to-top.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }

        .btn-back-to-top:hover {
            background-color: #ffffff;
            color: #080808;
            transform: translateY(-4px) scale(1.05);
            box-shadow: 3px 3px 15px 3px rgba(0, 0, 0);
        }

        /* ── Animasi Transisi Tirai Kiri & Kanan Menyatu di Tengah ── */
        @keyframes slideInLeftMeet {
            0% {
                opacity: 0;
                transform: translate3d(-30%, 0, 0);
            }

            100% {
                opacity: 1;
                transform: translate3d(0, 0, 0);
            }
        }

        @keyframes slideInRightMeet {
            0% {
                opacity: 0;
                transform: translate3d(30%, 0, 0);
            }

            100% {
                opacity: 1;
                transform: translate3d(0, 0, 0);
            }
        }

        /* ── Animasi Transisi dari Bawah ke Atas (Page Load & Scroll Reveal) ── */
        @keyframes fadeInUpHero {
            0% {
                opacity: 0;
                transform: translate3d(0, 42px, 0);
            }

            100% {
                opacity: 1;
                transform: translate3d(0, 0, 0);
            }
        }

        .animate-enter {
            animation: fadeInUpHero 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
            will-change: transform, opacity;
        }

        .delay-1 {
            animation-delay: 0.1s;
        }

        .delay-2 {
            animation-delay: 0.22s;
        }

        .delay-3 {
            animation-delay: 0.36s;
        }

        .delay-4 {
            animation-delay: 0.48s;
        }

        /* ── Progress Bar Indikator Scroll di Atas Halaman ── */
        .scroll-progress-bar {
            position: fixed;
            top: 0;
            left: 0;
            height: 3px;
            width: 0%;
            background: linear-gradient(90deg, #111827, var(--accent-red));
            z-index: 1040;
            transition: width 0.1s cubic-bezier(0.16, 1, 0.3, 1);
            pointer-events: none;
            box-shadow: 0 0 8px rgba(199, 0, 20, 0.4);
        }

        /* Kelas reveal dinamis saat di-scroll: transparan, blur halus, lalu bertransisi cerah & tajam */
        .reveal-up {
            opacity: 0;
            transform: translate3d(0, 24px, 0);
            filter: blur(5px) brightness(0.92);
            -webkit-filter: blur(5px) brightness(0.92);
            transition:
                opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
                filter 1.1s cubic-bezier(0.22, 1, 0.36, 1);
            will-change: transform, opacity, filter;
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
        }

        .reveal-up.is-visible {
            opacity: 1;
            transform: translate3d(0, 0, 0);
            filter: blur(0px) brightness(1);
            -webkit-filter: blur(0px) brightness(1);
        }