/* =========================================================
   BEGAWIPENGADAAN — TENTANG BIRO PBJ SETDA
   ========================================================= */
html {
        scroll-behavior: smooth;
    }

    #visi-misi,
    #pilar,
    #struktur,
    #maklumat {
        scroll-margin-top: 130px;
    }

    /* Universal high-contrast text utilities */
    .text-slate-900 {
        color: #0f172a !important;
    }

    .text-slate-800 {
        color: #1e293b !important;
    }

    .text-slate-700 {
        color: #334155 !important;
    }

    .text-slate-600 {
        color: #475569 !important;
    }

    .text-slate-500 {
        color: #64748b !important;
    }

    /* Reliable Iconify display */
    iconify-icon {
        display: inline-block;
        vertical-align: middle;
        line-height: 1;
        width: 1.15em;
        height: 1.15em;
    }

    /* Hero Banner - 215px padding top gives 55px+ safe clearance below 160px absolute menu bar */
    .about-hero {
        position: relative;
        background: linear-gradient(135deg, #052244 0%, #0a3a6b 55%, #0c5aa6 100%);
        padding: 215px 0 90px;
        color: #ffffff;
        overflow: hidden;
    }

    .about-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 85% 15%, rgba(245, 158, 11, 0.18) 0%, transparent 45%),
            radial-gradient(circle at 10% 85%, rgba(16, 185, 129, 0.14) 0%, transparent 50%);
        pointer-events: none;
    }

    .about-badge-pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(245, 158, 11, 0.22);
        border: 1px solid rgba(245, 158, 11, 0.55);
        color: #fef3c7;
        padding: 8px 20px;
        border-radius: 50px;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        margin-bottom: 22px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    }

    .about-hero__title {
        font-size: 2.85rem;
        font-weight: 800;
        line-height: 1.25;
        color: #ffffff;
        margin-bottom: 18px;
        letter-spacing: -0.5px;
    }

    .about-hero__title span {
        color: #f59e0b;
    }

    .about-hero__subtitle {
        font-size: 1.15rem;
        color: #e2e8f0;
        line-height: 1.75;
        max-width: 820px;
        margin: 0 auto;
    }

    /* Section Global */
    .abt-section {
        padding: 75px 0;
    }

    .abt-section--alt {
        background-color: #f8fafc;
        border-top: 1px solid #e2e8f0;
        border-bottom: 1px solid #e2e8f0;
    }

    .abt-sec-tag {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #0c5aa6;
        font-size: 0.885rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        margin-bottom: 10px;
    }

    .abt-sec-title {
        font-size: 2.25rem;
        font-weight: 800;
        color: #052244;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .abt-sec-title span {
        color: #0c5aa6;
    }

    .abt-sec-desc {
        color: #334155;
        font-size: 1.05rem;
        line-height: 1.75;
    }

    /* Begawi Philosophy Card */
    .abt-philo-card {
        background: linear-gradient(135deg, #052244 0%, #0c5aa6 100%);
        border-radius: 20px;
        padding: 45px 40px;
        color: #ffffff;
        box-shadow: 0 20px 45px rgba(5, 34, 68, 0.18);
        position: relative;
        overflow: hidden;
    }

    .abt-philo-card::after {
        content: '\f02d';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        position: absolute;
        right: 25px;
        bottom: -20px;
        font-size: 140px;
        color: rgba(255, 255, 255, 0.05);
        pointer-events: none;
    }

    .abt-philo-quote {
        font-size: 1.35rem;
        font-weight: 700;
        color: #fde68a;
        line-height: 1.5;
        margin-bottom: 18px;
        font-style: italic;
    }

    /* Visi Misi Cards */
    .abt-vm-card {
        background: #ffffff;
        border-radius: 16px;
        padding: 32px;
        border: 1px solid #e2e8f0;
        height: 100%;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
        transition: all 0.3s ease;
    }

    .abt-vm-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(5, 34, 68, 0.08);
        border-color: #cbd5e1;
    }

    .abt-vm-icon {
        width: 60px;
        height: 60px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 26px;
        margin-bottom: 20px;
    }

    .abt-vm-icon--gold {
        background: rgba(245, 158, 11, 0.15);
        color: #d97706;
    }

    .abt-vm-icon--blue {
        background: rgba(12, 90, 166, 0.15);
        color: #0c5aa6;
    }

    .abt-vm-list {
        padding-left: 20px;
        margin-bottom: 0;
    }

    .abt-vm-list li {
        color: #334155;
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: 12px;
    }

    .abt-vm-list li:last-child {
        margin-bottom: 0;
    }

    /* 5 Pillars Grid */
    .abt-pillar-card {
        background: #ffffff;
        border-radius: 16px;
        padding: 28px;
        border: 1px solid #e2e8f0;
        height: 100%;
        transition: all 0.3s ease;
        position: relative;
    }

    .abt-pillar-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(5, 34, 68, 0.08);
        border-color: #0c5aa6;
    }

    .abt-pillar-num {
        position: absolute;
        right: 20px;
        top: 15px;
        font-size: 2rem;
        font-weight: 900;
        color: #e2e8f0;
    }

    .abt-pillar-icon {
        width: 52px;
        height: 52px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        margin-bottom: 18px;
    }

    .abt-pillar-card h4 {
        font-size: 1.15rem;
        font-weight: 700;
        color: #052244;
        margin-bottom: 10px;
    }

    .abt-pillar-card p {
        font-size: 0.9rem;
        color: #64748b;
        line-height: 1.6;
        margin-bottom: 16px;
    }

    /* Budaya PATIK */
    .abt-patik-card {
        background: #ffffff;
        border-radius: 16px;
        padding: 24px;
        border: 1px solid #e2e8f0;
        display: flex;
        align-items: flex-start;
        gap: 18px;
        transition: all 0.3s ease;
    }

    .abt-patik-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(5, 34, 68, 0.08);
        border-color: #0c5aa6;
    }

    .abt-patik-letter {
        width: 54px;
        height: 54px;
        border-radius: 14px;
        background: linear-gradient(135deg, #052244 0%, #0c5aa6 100%);
        color: #f59e0b;
        font-size: 26px;
        font-weight: 900;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        box-shadow: 0 4px 12px rgba(12, 90, 166, 0.25);
    }

    .abt-patik-title {
        font-size: 1.15rem;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: 4px;
    }

    .abt-patik-desc {
        font-size: 0.875rem;
        color: #475569;
        line-height: 1.6;
        margin: 0;
    }

    /* Struktur Organisasi Tree */
    .abt-org-box {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 18px;
        padding: 36px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    }

    .abt-org-lead {
        background: linear-gradient(135deg, #052244 0%, #0a3a6b 100%);
        color: #ffffff;
        padding: 24px;
        border-radius: 14px;
        text-align: center;
        margin-bottom: 30px;
        box-shadow: 0 8px 24px rgba(5, 34, 68, 0.15);
    }

    .abt-org-lead h4 {
        font-size: 1.25rem;
        font-weight: 800;
        color: #ffffff;
        margin-bottom: 4px;
    }

    .abt-org-lead p {
        color: #fcd34d;
        font-size: 0.95rem;
        font-weight: 600;
        margin: 0;
    }

    .abt-org-item {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 20px;
        height: 100%;
        transition: all 0.25s ease;
    }

    .abt-org-item:hover {
        background: #ffffff;
        border-color: #0c5aa6;
        box-shadow: 0 8px 20px rgba(12, 90, 166, 0.08);
    }

    .abt-org-item h5 {
        font-size: 1.05rem;
        font-weight: 700;
        color: #052244;
        margin-bottom: 8px;
    }

    .abt-org-item p {
        font-size: 0.85rem;
        color: #64748b;
        line-height: 1.5;
        margin: 0;
    }

    /* Maklumat Pelayanan */
    .abt-maklumat-card {
        background: #ffffff;
        border: 2px solid #f59e0b;
        border-radius: 18px;
        padding: 36px;
        position: relative;
    }

    .abt-maklumat-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: linear-gradient(90deg, #f59e0b 0%, #0c5aa6 100%);
        border-radius: 18px 18px 0 0;
    }

    /* KPI Stats Bar */
    .abt-kpi-bar {
        background: #052244;
        color: #ffffff;
        border-radius: 18px;
        padding: 36px 24px;
        margin-top: 50px;
    }

    .abt-kpi-val {
        font-size: 2.25rem;
        font-weight: 900;
        color: #f59e0b;
        margin-bottom: 4px;
    }

    .abt-kpi-lbl {
        font-size: 0.875rem;
        color: #cbd5e1;
        font-weight: 600;
        margin: 0;
    }

    @media (max-width: 991px) {
        .about-hero {
            padding: 185px 0 75px;
        }

        .about-hero__title {
            font-size: 2.35rem;
        }
    }

    @media (max-width: 768px) {
        .about-hero {
            padding: 165px 0 65px;
        }

        .about-hero__title {
            font-size: 2rem;
        }

        .abt-sec-title {
            font-size: 1.75rem;
        }

        .abt-philo-card {
            padding: 28px 20px;
        }
    }

/* =========================================================
   BEGAWIPENGADAAN — KONTAK & HELPDESK LPSE
   ========================================================= */
html {
        scroll-behavior: smooth;
    }
    #form-pesan {
        scroll-margin-top: 130px;
    }

    /* Universal high-contrast text utilities */
    .text-slate-900 { color: #0f172a !important; }
    .text-slate-800 { color: #1e293b !important; }
    .text-slate-700 { color: #334155 !important; }
    .text-slate-600 { color: #475569 !important; }
    .text-slate-500 { color: #64748b !important; }

    /* Reliable Iconify display */
    iconify-icon {
        display: inline-block;
        vertical-align: middle;
        line-height: 1;
        width: 1.15em;
        height: 1.15em;
    }

    /* Hero Banner - 215px padding top gives 55px+ safe breathing room under the 160px absolute menu bar */
    .contact-hero {
        position: relative;
        background: linear-gradient(135deg, #052244 0%, #0a3a6b 55%, #0c5aa6 100%);
        padding: 215px 0 90px;
        color: #ffffff;
        overflow: hidden;
    }
    .contact-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 85% 15%, rgba(245, 158, 11, 0.18) 0%, transparent 45%),
                    radial-gradient(circle at 10% 85%, rgba(16, 185, 129, 0.14) 0%, transparent 50%);
        pointer-events: none;
    }
    .contact-badge-pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(245, 158, 11, 0.22);
        border: 1px solid rgba(245, 158, 11, 0.55);
        color: #fef3c7;
        padding: 8px 20px;
        border-radius: 50px;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        margin-bottom: 22px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    }
    .contact-hero__title {
        font-size: 2.85rem;
        font-weight: 800;
        line-height: 1.25;
        color: #ffffff;
        margin-bottom: 18px;
        letter-spacing: -0.5px;
    }
    .contact-hero__title span {
        color: #f59e0b;
    }
    .contact-hero__subtitle {
        font-size: 1.15rem;
        color: #e2e8f0;
        line-height: 1.75;
        max-width: 820px;
        margin: 0 auto;
    }

    /* Info Cards Grid */
    .contact-info-section {
        margin-top: -50px;
        position: relative;
        z-index: 10;
        padding-bottom: 40px;
    }
    .contact-info-card {
        background: #ffffff;
        border-radius: 16px;
        padding: 30px 26px;
        border: 1px solid #e2e8f0;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-shadow: 0 12px 30px rgba(5, 34, 68, 0.08);
        transition: all 0.3s ease;
    }
    .contact-info-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 36px rgba(5, 34, 68, 0.14);
        border-color: #0c5aa6;
    }
    .contact-info-icon {
        width: 60px;
        height: 60px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        margin-bottom: 20px;
    }
    .contact-info-icon--blue { background: #eff6ff; color: #0c5aa6; border: 1px solid #bfdbfe; }
    .contact-info-icon--green { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
    .contact-info-icon--amber { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }
    .contact-info-icon--purple { background: #f5f3ff; color: #7c3aed; border: 1px solid #ddd6fe; }

    .contact-info-title {
        font-size: 1.2rem;
        font-weight: 800;
        color: #052244;
        margin-bottom: 8px;
    }
    .contact-info-desc {
        color: #334155;
        font-size: 0.935rem;
        line-height: 1.65;
        margin-bottom: 20px;
    }
    .contact-info-link {
        font-weight: 700;
        font-size: 0.885rem;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    /* Form & Map Section */
    .contact-main-section {
        padding: 50px 0 80px;
    }
    .contact-form-box {
        background: #ffffff;
        border-radius: 20px;
        padding: 40px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 10px 30px rgba(5, 34, 68, 0.05);
    }
    .contact-form-title {
        font-size: 1.85rem;
        font-weight: 800;
        color: #052244;
        margin-bottom: 8px;
    }
    .contact-form-subtitle {
        color: #475569;
        font-size: 0.975rem;
        margin-bottom: 28px;
        line-height: 1.6;
    }
    .contact-label {
        font-weight: 700;
        font-size: 0.885rem;
        color: #0f172a;
        margin-bottom: 7px;
        display: block;
    }
    .contact-input {
        width: 100%;
        padding: 13px 16px;
        border: 1.5px solid #cbd5e1;
        border-radius: 10px;
        font-size: 0.95rem;
        color: #0f172a;
        background-color: #ffffff;
        transition: all 0.2s ease;
    }
    .contact-input::placeholder {
        color: #94a3b8;
    }
    .contact-input:focus {
        border-color: #0c5aa6;
        background-color: #ffffff;
        box-shadow: 0 0 0 3.5px rgba(12, 90, 166, 0.15);
        outline: none;
    }
    .contact-submit-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: linear-gradient(135deg, #0c5aa6 0%, #083b70 100%);
        color: #ffffff;
        border: none;
        padding: 15px 36px;
        border-radius: 10px;
        font-weight: 700;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.25s ease;
        box-shadow: 0 4px 14px rgba(12, 90, 166, 0.25);
    }
    .contact-submit-btn:hover {
        background: linear-gradient(135deg, #083b70 0%, #052244 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(12, 90, 166, 0.35);
        color: #ffffff;
    }

    /* Map Box */
    .contact-map-box {
        background: #ffffff;
        border-radius: 20px;
        padding: 24px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 10px 30px rgba(5, 34, 68, 0.05);
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .contact-map-iframe {
        width: 100%;
        height: 380px;
        border: 0;
        border-radius: 14px;
        flex-grow: 1;
    }

    /* FAQ Quick Accordion */
    .contact-faq-section {
        background: #f8fafc;
        padding: 70px 0;
        border-top: 1px solid #e2e8f0;
    }
    .contact-faq-card {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        margin-bottom: 14px;
        overflow: hidden;
        transition: border-color 0.2s ease;
    }
    .contact-faq-card:hover {
        border-color: #cbd5e1;
    }
    .contact-faq-header {
        padding: 18px 24px;
        cursor: pointer;
        font-weight: 700;
        color: #0f172a;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #ffffff;
        user-select: none;
    }
    .contact-faq-body {
        padding: 0 24px 20px;
        color: #334155;
        font-size: 0.95rem;
        line-height: 1.7;
    }

    @media (max-width: 991px) {
        .contact-hero { padding: 185px 0 75px; }
        .contact-hero__title { font-size: 2.35rem; }
    }

    @media (max-width: 768px) {
        .contact-hero { padding: 165px 0 65px; }
        .contact-hero__title { font-size: 2rem; }
        .contact-info-section { margin-top: -30px; }
        .contact-form-box { padding: 24px 18px; }
    }

/* =========================================================
   BEGAWIPENGADAAN — VERIFIKASI SERTIFIKAT DIGITAL
   ========================================================= */
html {
        scroll-behavior: smooth;
    }

    /* Universal high-contrast text utilities */
    .text-slate-900 {
        color: #0f172a !important;
    }

    .text-slate-800 {
        color: #1e293b !important;
    }

    .text-slate-700 {
        color: #334155 !important;
    }

    .text-slate-600 {
        color: #475569 !important;
    }

    .text-slate-500 {
        color: #64748b !important;
    }

    /* Reliable Iconify display */
    iconify-icon {
        display: inline-block;
        vertical-align: middle;
        line-height: 1;
        width: 1.15em;
        height: 1.15em;
    }

    /* Hero & Base Styling - 215px padding top gives 55px+ safe clearance below 160px absolute menu bar */
    .cert-hero {
        position: relative;
        background: linear-gradient(135deg, #052244 0%, #0a3a6b 55%, #0c5aa6 100%);
        padding: 215px 0 90px;
        color: #ffffff;
        overflow: hidden;
    }

    .cert-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.18) 0%, transparent 45%),
            radial-gradient(circle at 15% 80%, rgba(16, 185, 129, 0.14) 0%, transparent 50%);
        pointer-events: none;
    }

    .cert-badge-pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(245, 158, 11, 0.22);
        border: 1px solid rgba(245, 158, 11, 0.55);
        color: #fef3c7;
        padding: 8px 20px;
        border-radius: 50px;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        margin-bottom: 22px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    }

    .cert-hero__title {
        font-size: 2.85rem;
        font-weight: 800;
        line-height: 1.25;
        color: #ffffff;
        margin-bottom: 18px;
        letter-spacing: -0.5px;
    }

    .cert-hero__title span {
        color: #f59e0b;
    }

    .cert-hero__subtitle {
        font-size: 1.15rem;
        color: #e2e8f0;
        line-height: 1.75;
        max-width: 820px;
        margin: 0 auto 35px;
    }

    /* Verification Box Card */
    .cert-search-card {
        background: #ffffff;
        border-radius: 18px;
        padding: 36px 32px;
        box-shadow: 0 20px 45px rgba(5, 34, 68, 0.14);
        border: 1px solid #e2e8f0;
        margin-top: -50px;
        position: relative;
        z-index: 10;
    }

    .cert-search-input-wrap {
        position: relative;
        display: flex;
        gap: 12px;
        align-items: stretch;
    }

    .cert-search-icon {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: #0c5aa6;
        font-size: 20px;
        pointer-events: none;
    }

    .cert-search-input {
        width: 100%;
        padding: 16px 20px 16px 56px;
        border: 2px solid #cbd5e1;
        border-radius: 12px;
        font-size: 1.05rem;
        font-weight: 600;
        color: #0f172a;
        transition: all 0.25s ease;
        background-color: #ffffff;
    }

    .cert-search-input::placeholder {
        color: #94a3b8;
    }

    .cert-search-input:focus {
        border-color: #0c5aa6;
        background-color: #ffffff;
        box-shadow: 0 0 0 4px rgba(12, 90, 166, 0.15);
        outline: none;
    }

    .cert-btn-verify {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: linear-gradient(135deg, #0c5aa6 0%, #083b70 100%);
        color: #ffffff;
        border: none;
        padding: 16px 32px;
        border-radius: 12px;
        font-size: 1rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
        box-shadow: 0 4px 14px rgba(12, 90, 166, 0.28);
    }

    .cert-btn-verify:hover {
        background: linear-gradient(135deg, #083b70 0%, #052244 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(12, 90, 166, 0.38);
        color: #ffffff;
    }

    /* Math Captcha Anti-Spam Widget */
    .cert-captcha-box {
        background: #f8fafc;
        border: 1.5px solid #cbd5e1;
        border-radius: 12px;
        padding: 16px 20px;
        margin-bottom: 20px;
    }

    .cert-captcha-math {
        background: #ffffff !important;
        color: #0f172a !important;
        font-weight: 800 !important;
        font-size: 1.25rem !important;
        padding: 8px 18px !important;
        border: 2px solid #0c5aa6 !important;
        border-radius: 10px !important;
        letter-spacing: 3px !important;
        white-space: nowrap !important;
        user-select: none !important;
        box-shadow: 0 2px 6px rgba(12, 90, 166, 0.12) !important;
        display: inline-block !important;
        line-height: 1.2 !important;
    }

    .cert-captcha-input {
        max-width: 130px;
        height: 50px;
        font-size: 1.15rem;
        font-weight: 700;
        text-align: center;
        border: 2px solid #cbd5e1;
        border-radius: 10px;
        background: #ffffff;
        color: #0f172a;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    }

    .cert-captcha-input:focus {
        border-color: #0c5aa6;
        box-shadow: 0 0 0 4px rgba(12, 90, 166, 0.15);
        outline: none;
    }

    /* Quick Sample Pills */
    .cert-quick-samples {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        margin-top: 18px;
        padding-top: 18px;
        border-top: 1px dashed #e2e8f0;
        font-size: 0.875rem;
    }

    .cert-quick-label {
        color: #475569;
        font-weight: 700;
    }

    .cert-sample-pill {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 14px;
        background: #f1f5f9;
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        color: #0f172a;
        font-family: monospace;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s ease;
        text-decoration: none;
    }

    .cert-sample-pill:hover {
        background: #0c5aa6;
        color: #ffffff;
        border-color: #0c5aa6;
    }

    /* KPI Stats Ribbon */
    .cert-stats-section {
        padding: 45px 0 20px;
    }

    .cert-stat-card {
        background: #ffffff;
        border-radius: 14px;
        padding: 24px;
        border: 1px solid #e2e8f0;
        display: flex;
        align-items: center;
        gap: 18px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(5, 34, 68, 0.04);
    }

    .cert-stat-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(5, 34, 68, 0.1);
        border-color: #cbd5e1;
    }

    .cert-stat-icon {
        width: 60px;
        height: 60px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        flex-shrink: 0;
    }

    .cert-stat-icon--blue {
        background: #eff6ff;
        color: #0c5aa6;
        border: 1px solid #bfdbfe;
    }

    .cert-stat-icon--amber {
        background: #fffbeb;
        color: #d97706;
        border: 1px solid #fde68a;
    }

    .cert-stat-icon--emerald {
        background: #ecfdf5;
        color: #059669;
        border: 1px solid #a7f3d0;
    }

    .cert-stat-icon--purple {
        background: #f5f3ff;
        color: #7c3aed;
        border: 1px solid #ddd6fe;
    }

    .cert-stat-number {
        font-size: 1.95rem;
        font-weight: 800;
        color: #0f172a;
        line-height: 1.1;
        margin-bottom: 4px;
    }

    .cert-stat-label {
        font-size: 0.9rem;
        color: #334155;
        font-weight: 600;
        margin: 0;
    }

    /* Trust Feature Pillars */
    .cert-trust-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 24px;
        margin: 40px 0;
    }

    .cert-trust-item {
        background: #f8fafc;
        border-radius: 14px;
        padding: 24px;
        border: 1px solid #e2e8f0;
        display: flex;
        gap: 16px;
    }

    .cert-trust-item__icon {
        font-size: 28px;
        color: #0c5aa6;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .cert-trust-item__title {
        font-size: 1.1rem;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: 6px;
    }

    .cert-trust-item__desc {
        font-size: 0.9rem;
        color: #334155;
        line-height: 1.65;
        margin: 0;
    }

    /* Directory / Ledger Section */
    .cert-directory-section {
        padding: 50px 0 80px;
    }

    .cert-section-header {
        margin-bottom: 30px;
    }

    .cert-section-title {
        font-size: 1.85rem;
        font-weight: 800;
        color: #052244;
        margin-bottom: 8px;
    }

    .cert-section-subtitle {
        color: #64748b;
        font-size: 1rem;
    }

    /* Filter Pills */
    .cert-filter-bar {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 28px;
        padding: 16px;
        background: #ffffff;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
    }

    .cert-filter-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .cert-filter-pill {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 16px;
        border-radius: 8px;
        font-size: 0.875rem;
        font-weight: 600;
        color: #475569;
        background: #f1f5f9;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .cert-filter-pill:hover {
        background: #e2e8f0;
        color: #0f172a;
    }

    .cert-filter-pill.active {
        background: #0c5aa6;
        color: #ffffff;
    }

    /* Certificate Cards */
    .cert-card {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        padding: 24px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: all 0.3s ease;
        height: 100%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    }

    .cert-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(5, 34, 68, 0.08);
        border-color: #0c5aa6;
    }

    .cert-card__top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 14px;
    }

    .cert-card__status-badge {
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        padding: 5px 10px;
        border-radius: 6px;
    }

    .badge-success {
        background: #dcfce7;
        color: #166534;
    }

    .badge-danger {
        background: #fee2e2;
        color: #991b1b;
    }

    .badge-warning {
        background: #fef3c7;
        color: #92400e;
    }

    .badge-secondary {
        background: #f1f5f9;
        color: #475569;
    }

    .cert-card__number {
        font-family: monospace;
        font-size: 1.05rem;
        font-weight: 700;
        color: #0c5aa6;
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 10px;
    }

    .cert-card__title {
        font-size: 1.1rem;
        font-weight: 700;
        color: #0f172a;
        line-height: 1.45;
        margin-bottom: 10px;
    }

    .cert-card__user {
        font-size: 0.925rem;
        color: #334155;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 14px;
    }

    .cert-card__meta {
        font-size: 0.815rem;
        color: #64748b;
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding-top: 14px;
        border-top: 1px dashed #e2e8f0;
        margin-bottom: 18px;
    }

    .cert-card__btn-view {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 10px 16px;
        background: #f8fafc;
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        color: #0c5aa6;
        font-weight: 700;
        font-size: 0.875rem;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .cert-card__btn-view:hover {
        background: #0c5aa6;
        color: #ffffff;
        border-color: #0c5aa6;
    }

    /* Begawi Pagination */
    .begawi-pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 40px;
    }

    .begawi-pagination__link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 42px;
        height: 42px;
        padding: 0 12px;
        border-radius: 8px;
        font-size: 0.925rem;
        font-weight: 700;
        color: #475569;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .begawi-pagination__link:hover:not(.disabled) {
        background: #f1f5f9;
        color: #0c5aa6;
        border-color: #cbd5e1;
    }

    .begawi-pagination__link.active {
        background: #0c5aa6;
        color: #ffffff;
        border-color: #0c5aa6;
    }

    .begawi-pagination__link.disabled {
        opacity: 0.45;
        cursor: not-allowed;
    }

    /* Responsive */
    @media (max-width: 991px) {
        .cert-hero {
            padding: 185px 0 75px;
        }

        .cert-hero__title {
            font-size: 2.35rem;
        }
    }

    @media (max-width: 768px) {
        .cert-hero {
            padding: 165px 0 65px;
        }

        .cert-hero__title {
            font-size: 2rem;
        }

        .cert-search-input-wrap {
            flex-direction: column;
        }

        .cert-btn-verify {
            width: 100%;
        }

        .cert-search-card {
            padding: 24px 18px;
            margin-top: -30px;
        }

        .cert-filter-bar {
            flex-direction: column;
            align-items: stretch;
        }
    }

/* =========================================================
   BEGAWIPENGADAAN — HASIL VERIFIKASI SERTIFIKAT
   ========================================================= */
/* Universal high-contrast text utilities */
    .text-slate-900 {
        color: #0f172a !important;
    }

    .text-slate-800 {
        color: #1e293b !important;
    }

    .text-slate-700 {
        color: #334155 !important;
    }

    .text-slate-600 {
        color: #475569 !important;
    }

    .text-slate-500 {
        color: #64748b !important;
    }

    /* Hero Banner - 205px padding top gives 45px+ safe breathing room under the 160px absolute menu bar */
    .result-hero {
        position: relative;
        background: linear-gradient(135deg, #052244 0%, #0a3a6b 55%, #0c5aa6 100%);
        padding: 205px 0 75px;
        color: #ffffff;
        text-align: center;
    }

    .result-section {
        padding: 0 0 90px;
        margin-top: -40px;
        position: relative;
        z-index: 10;
    }

    /* Official Certificate Card Container */
    .cert-official-card {
        background: #ffffff;
        border-radius: 20px;
        box-shadow: 0 25px 50px -12px rgba(5, 34, 68, 0.18), 0 0 0 1px rgba(226, 232, 240, 0.8);
        overflow: hidden;
        position: relative;
    }

    /* Certificate Header / Emblem Bar */
    .cert-official-header {
        background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
        padding: 32px 36px 20px;
        border-bottom: 2px solid #f1f5f9;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }

    .cert-official-emblem {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .cert-official-emblem img {
        height: 60px;
        width: auto;
    }

    .cert-official-emblem__text h4 {
        font-size: 1.15rem;
        font-weight: 800;
        color: #052244;
        margin: 0 0 3px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .cert-official-emblem__text p {
        font-size: 0.825rem;
        color: #64748b;
        margin: 0;
        font-weight: 600;
    }

    /* Status Bar Ribbon */
    .cert-status-ribbon {
        padding: 14px 36px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-weight: 700;
        font-size: 0.95rem;
    }

    .cert-status-ribbon--valid {
        background: linear-gradient(90deg, #ecfdf5 0%, #d1fae5 100%);
        color: #065f46;
        border-bottom: 1px solid #a7f3d0;
    }

    .cert-status-ribbon--revoked {
        background: linear-gradient(90deg, #fef2f2 0%, #fee2e2 100%);
        color: #991b1b;
        border-bottom: 1px solid #fecaca;
    }

    .cert-status-ribbon--expired {
        background: linear-gradient(90deg, #fffbeb 0%, #fef3c7 100%);
        color: #92400e;
        border-bottom: 1px solid #fde68a;
    }

    /* Certificate Body Content */
    .cert-official-body {
        padding: 40px 48px;
    }

    .cert-recipient-title {
        font-size: 0.85rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #64748b;
        margin-bottom: 6px;
    }

    .cert-recipient-name {
        font-size: 2.25rem;
        font-weight: 800;
        color: #052244;
        margin-bottom: 24px;
        line-height: 1.2;
    }

    .cert-number-badge {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: #f8fafc;
        border: 1px solid #cbd5e1;
        padding: 8px 16px;
        border-radius: 8px;
        font-family: monospace;
        font-size: 1.15rem;
        font-weight: 800;
        color: #0c5aa6;
        margin-bottom: 28px;
    }

    .cert-btn-copy {
        background: transparent;
        border: none;
        color: #64748b;
        cursor: pointer;
        padding: 2px 6px;
        border-radius: 4px;
        transition: all 0.2s;
    }

    .cert-btn-copy:hover {
        background: #e2e8f0;
        color: #0c5aa6;
    }

    /* Details Grid */
    .cert-details-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 24px;
        padding: 28px 0;
        border-top: 1px solid #e2e8f0;
        border-bottom: 1px solid #e2e8f0;
        margin-bottom: 32px;
    }

    .cert-detail-item__label {
        font-size: 0.825rem;
        font-weight: 600;
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 6px;
    }

    .cert-detail-item__val {
        font-size: 1.05rem;
        font-weight: 700;
        color: #0f172a;
        margin: 0;
        line-height: 1.4;
    }

    /* Security & Signature Area */
    .cert-security-footer {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 24px;
        padding: 20px 24px;
        background: #f8fafc;
        border-radius: 12px;
        border: 1px dashed #cbd5e1;
    }

    .cert-qr-mock {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .cert-qr-box {
        width: 72px;
        height: 72px;
        background: #ffffff;
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 34px;
        color: #052244;
    }

    .cert-security-hash {
        font-family: monospace;
        font-size: 0.815rem;
        color: #475569;
        margin: 0;
    }

    /* Action Toolbar */
    .cert-action-bar {
        margin-top: 32px;
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        justify-content: center;
    }

    .btn-cert-action {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 24px;
        border-radius: 10px;
        font-weight: 700;
        font-size: 0.95rem;
        text-decoration: none;
        transition: all 0.25s ease;
        cursor: pointer;
    }

    .btn-cert-primary {
        background: #0c5aa6;
        color: #ffffff;
        border: 1px solid #0c5aa6;
    }

    .btn-cert-primary:hover {
        background: #083b70;
        color: #ffffff;
    }

    .btn-cert-outline {
        background: #ffffff;
        color: #334155;
        border: 1px solid #cbd5e1;
    }

    .btn-cert-outline:hover {
        background: #f1f5f9;
        color: #0f172a;
    }

    /* Error Card */
    .cert-error-card {
        background: #ffffff;
        border-radius: 20px;
        padding: 50px 36px;
        text-align: center;
        box-shadow: 0 20px 45px rgba(5, 34, 68, 0.12);
        border: 1px solid #e2e8f0;
    }

    .cert-error-icon {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: #fee2e2;
        color: #dc2626;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 36px;
        margin-bottom: 24px;
    }

    .cert-error-title {
        font-size: 1.75rem;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: 12px;
    }

    .cert-error-desc {
        color: #64748b;
        max-width: 600px;
        margin: 0 auto 30px;
        line-height: 1.7;
    }

    .cert-tips-box {
        background: #f8fafc;
        border-radius: 12px;
        padding: 24px;
        border: 1px solid #e2e8f0;
        text-align: left;
        max-width: 650px;
        margin: 0 auto 32px;
    }

    /* Print Styles */
    @media print {
        body * {
            visibility: hidden;
        }

        .cert-official-card,
        .cert-official-card * {
            visibility: visible;
        }

        .cert-official-card {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            box-shadow: none;
            border: 2px solid #052244;
        }

        .cert-action-bar,
        .main-header,
        .site-footer {
            display: none !ns;
        }
    }

    @media (max-width: 991px) {
        .result-hero {
            padding: 175px 0 65px;
        }
    }

    @media (max-width: 768px) {
        .result-hero {
            padding: 155px 0 55px;
        }

        .cert-official-header {
            flex-direction: column;
            text-align: center;
        }

        .cert-official-body {
            padding: 24px 18px;
        }

        .cert-recipient-name {
            font-size: 1.65rem;
        }

        .cert-status-ribbon {
            flex-direction: column;
            gap: 8px;
            text-align: center;
        }
    }