/* ==========================================================================
   STYLE-GEMINI.CSS
   PPID LLDIKTI WILAYAH V
   ==========================================================================
   TABLE OF CONTENTS:
   1. Anti-Collision & Global Compatibility Layer (Overrides style.css quirks)
   2. Modul Informasi Berkala Styles
   3. Modul Beranda / Home Page Styles
   ========================================================================== */

/* ==========================================================================
   1. ANTI-COLLISION & COMPATIBILITY LAYER
   Perbaikan tabrakan style dengan template (style.css):
   - Mencegah 'span' di dalam tombol & badge menjadi abu-abu (#585858)
   - Mencegah 'a:hover' mengubah warna tombol menjadi hitam (#0f0d1d)
   - Mencegah 'button' kehilangan border / background
   - Mengembalikan layout flex pada link bertipe card
   ========================================================================== */

/* --- A. Button & Action Elements Protection --- */
.btn,
a.btn,
button.btn {
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s ease !important;
}

/* Seluruh span di dalam tombol WAJIB mewarisi warna teks tombol */
.btn span,
a.btn span,
button.btn span,
.btn-primary span,
.btn-outline-light span,
.btn-success span,
.btn-warning span,
.btn-outline-primary span,
.btn-outline-secondary span,
.btn-outline-danger span,
.btn-outline-warning span,
.btn-outline-success span {
    color: inherit !important;
    display: inline !important;
}

.btn i,
a.btn i,
button.btn i {
    display: inline-block !important;
}

/* Button Primary (Biru PPID) */
.btn-primary,
a.btn-primary,
button.btn-primary {
    background-color: #3c72fc !important;
    border: 1px solid #3c72fc !important;
    color: #ffffff !important;
}
.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover {
    background-color: #1e56e0 !important;
    border-color: #1e56e0 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Button Outline Light (Tombol Putih di Hero Banner Gelap) */
.btn-outline-light,
a.btn-outline-light,
button.btn-outline-light {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
    color: #ffffff !important;
}
.btn-outline-light:hover,
a.btn-outline-light:hover,
button.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}
.btn-outline-light span,
a.btn-outline-light span,
.btn-outline-light:hover span,
a.btn-outline-light:hover span {
    color: #ffffff !important;
}

/* Button Success (WhatsApp Care) */
.btn-success,
a.btn-success,
button.btn-success {
    background-color: #16a34a !important;
    border: 1px solid #16a34a !important;
    color: #ffffff !important;
}
.btn-success:hover,
a.btn-success:hover,
button.btn-success:hover {
    background-color: #15803d !important;
    border-color: #15803d !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Button Warning (Kuning Aksen) */
.btn-warning,
a.btn-warning,
button.btn-warning {
    background-color: #f59e0b !important;
    border: 1px solid #f59e0b !important;
    color: #0f172a !important;
}
.btn-warning:hover,
a.btn-warning:hover,
button.btn-warning:hover {
    background-color: #d97706 !important;
    border-color: #d97706 !important;
    color: #0f172a !important;
    transform: translateY(-2px);
}

/* Button Outline Variants */
.btn-outline-primary,
a.btn-outline-primary,
button.btn-outline-primary {
    background-color: transparent !important;
    border: 1.5px solid #3c72fc !important;
    color: #3c72fc !important;
}
.btn-outline-primary:hover,
a.btn-outline-primary:hover,
button.btn-outline-primary:hover {
    background-color: #3c72fc !important;
    border-color: #3c72fc !important;
    color: #ffffff !important;
}

.btn-outline-secondary,
a.btn-outline-secondary,
button.btn-outline-secondary {
    background-color: transparent !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #475569 !important;
}
.btn-outline-secondary:hover,
a.btn-outline-secondary:hover,
button.btn-outline-secondary:hover {
    background-color: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

.btn-outline-danger,
a.btn-outline-danger,
button.btn-outline-danger {
    background-color: transparent !important;
    border: 1.5px solid #dc2626 !important;
    color: #dc2626 !important;
}
.btn-outline-danger:hover,
a.btn-outline-danger:hover,
button.btn-outline-danger:hover {
    background-color: #dc2626 !important;
    border-color: #dc2626 !important;
    color: #ffffff !important;
}

.btn-outline-warning,
a.btn-outline-warning,
button.btn-outline-warning {
    background-color: transparent !important;
    border: 1.5px solid #d97706 !important;
    color: #d97706 !important;
}
.btn-outline-warning:hover,
a.btn-outline-warning:hover,
button.btn-outline-warning:hover {
    background-color: #d97706 !important;
    border-color: #d97706 !important;
    color: #ffffff !important;
}

.btn-outline-success,
a.btn-outline-success,
button.btn-outline-success {
    background-color: transparent !important;
    border: 1.5px solid #16a34a !important;
    color: #16a34a !important;
}
.btn-outline-success:hover,
a.btn-outline-success:hover,
button.btn-outline-success:hover {
    background-color: #16a34a !important;
    border-color: #16a34a !important;
    color: #ffffff !important;
}

/* --- B. Badge & Tag Protection --- */
.badge,
span.badge {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.25 !important;
}
.badge span,
span.badge span {
    color: inherit !important;
    display: inline !important;
}
.badge.bg-primary-subtle {
    background-color: #e0e7ff !important;
    color: #3c72fc !important;
}
.badge.bg-info-subtle {
    background-color: #e0f2fe !important;
    color: #0284c7 !important;
}
.badge.bg-warning-subtle {
    background-color: #fef3c7 !important;
    color: #b45309 !important;
}
.badge.bg-success-subtle {
    background-color: #dcfce7 !important;
    color: #15803d !important;
}
.badge.bg-danger-subtle {
    background-color: #fee2e2 !important;
    color: #dc2626 !important;
}
.badge.bg-secondary-subtle {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
}

/* Helper Badge Kecil */
.berkala-badge-sm {
    font-size: 0.72rem !important;
    padding: 0.22rem 0.6rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}


/* ==========================================================================
   2. MODUL INFORMASI BERKALA STYLES
   ========================================================================== */

/* Banner Styling */
.berkala-banner {
    position: relative;
    background: linear-gradient(135deg, #091a38 0%, #0c336b 60%, #174ea6 100%);
    padding: 85px 0 70px;
    overflow: hidden;
    z-index: 1;
}

.berkala-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(60, 114, 252, 0.28) 0%, transparent 60%);
    pointer-events: none;
}

.berkala-banner .shape-decor {
    position: absolute;
    pointer-events: none;
    opacity: 0.25;
    z-index: 0;
}

.berkala-banner .shape-decor-1 {
    bottom: -30px;
    left: -20px;
    width: 260px;
}

.berkala-banner .shape-decor-2 {
    top: -40px;
    right: -20px;
    width: 320px;
}

/* Stat Cards */
.berkala-stat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: all 0.3s ease;
    height: 100%;
}

.berkala-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(60, 114, 252, 0.12);
    border-color: rgba(60, 114, 252, 0.35);
}

.berkala-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

/* Toolbar & Live Search */
.berkala-toolbar {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    margin-bottom: 24px;
}

.berkala-search-box {
    position: relative;
}

.berkala-search-box .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.05rem;
}

.berkala-search-input {
    width: 100%;
    padding: 12px 42px 12px 48px;
    font-size: 0.95rem;
    border-radius: 50px;
    border: 1.5px solid #cbd5e1;
    background-color: #f8fafc;
    color: #1e293b;
    transition: all 0.25s ease;
}

.berkala-search-input:focus {
    outline: none;
    background-color: #ffffff;
    border-color: #3c72fc;
    box-shadow: 0 0 0 4px rgba(60, 114, 252, 0.12);
}

.berkala-search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none !important;
    border: none !important;
    color: #94a3b8;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px;
    display: none;
    line-height: 1;
}

.berkala-search-clear:hover {
    color: #ef4444 !important;
}

/* Filter Chips */
.berkala-filter-btn {
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    color: #475569 !important;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 50px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.berkala-filter-btn:hover {
    background: #f1f5f9 !important;
    color: #1e293b !important;
    border-color: #cbd5e1 !important;
}

.berkala-filter-btn.active {
    background: #3c72fc !important;
    color: #ffffff !important;
    border-color: #3c72fc !important;
    box-shadow: 0 4px 12px rgba(60, 114, 252, 0.3);
}

/* Accordion Custom Styling */
.berkala-accordion .accordion-item {
    background: #ffffff;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
    transition: all 0.25s ease;
}

.berkala-accordion .accordion-item:hover {
    border-color: rgba(60, 114, 252, 0.35) !important;
    box-shadow: 0 8px 24px rgba(60, 114, 252, 0.08);
}

.berkala-accordion .accordion-button {
    padding: 20px 24px !important;
    background-color: #ffffff !important;
    color: #1e293b !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    width: 100%;
    transition: all 0.25s ease;
}

/* Override template css pseudo content */
.berkala-accordion .accordion-button::before,
.berkala-accordion .accordion-button::after {
    display: none !important;
    content: none !important;
}

.berkala-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, rgba(60, 114, 252, 0.05) 0%, rgba(255, 255, 255, 0) 100%) !important;
    color: #1d4ed8 !important;
}

.berkala-accordion .chevron-rotator {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #64748b;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: auto;
}

.berkala-accordion .accordion-button:not(.collapsed) .chevron-rotator {
    background: #3c72fc;
    color: #ffffff;
    transform: rotate(180deg);
}

.berkala-accordion .accordion-body {
    padding: 0 24px 24px 24px !important;
    background-color: #ffffff;
}

.berkala-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-right: 16px;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.berkala-accordion .accordion-button:not(.collapsed) .berkala-item-icon {
    box-shadow: 0 4px 12px rgba(60, 114, 252, 0.25);
    transform: scale(1.05);
}

.berkala-action-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
}

.berkala-preview-card {
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.berkala-preview-header {
    background: #f1f5f9;
    padding: 12px 18px;
    border-bottom: 1px solid #e2e8f0;
}

/* Sidebar Card Styling */
.berkala-sidebar-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    margin-bottom: 24px;
}

.berkala-sidebar-card.cta-gradient {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    color: #ffffff;
    border: none;
}

.berkala-sidebar-card.cta-gradient h5 {
    color: #ffffff !important;
}

.berkala-sidebar-card.cta-gradient p {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Responsive Media Queries untuk Berkala */
@media (max-width: 768px) {
    .berkala-banner {
        padding: 60px 0 50px;
    }

    .berkala-accordion .accordion-button {
        padding: 16px 18px !important;
        font-size: 0.95rem !important;
    }

    .berkala-accordion .accordion-body {
        padding: 0 18px 20px 18px !important;
    }

    .berkala-item-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        margin-right: 12px;
    }
}


/* ==========================================================================
   3. MODUL BERANDA / HOME PAGE STYLES
   ========================================================================== */

/* Modern Hero Section */
.ppid-hero {
    position: relative !important;
    background: linear-gradient(135deg, rgba(9, 26, 56, 0.94) 0%, rgba(12, 51, 107, 0.90) 60%, rgba(23, 78, 166, 0.86) 100%),
                url('../images/banner/background2.jpg') center/cover no-repeat !important;
    padding: 60px 0 135px !important;
    color: #ffffff !important;
    overflow: hidden !important;
    z-index: 1 !important;
}

.ppid-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 25%, rgba(60, 114, 252, 0.35) 0%, transparent 60%);
    pointer-events: none;
}

.ppid-hero-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    padding: 6px 18px !important;
    border-radius: 50px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 20px !important;
}

.ppid-hero-badge span {
    color: #ffffff !important;
    display: inline !important;
}

.ppid-hero h1.ppid-hero-title {
    font-size: 2.85rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.22 !important;
    margin-bottom: 14px !important;
    text-transform: none !important;
}

.ppid-hero h3.ppid-hero-subtitle {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #93c5fd !important;
    margin-bottom: 18px !important;
    line-height: 1.4 !important;
}

.ppid-hero p.ppid-hero-desc {
    font-size: 1.05rem !important;
    color: rgba(255, 255, 255, 0.88) !important;
    line-height: 1.7 !important;
    max-width: 660px !important;
    margin-bottom: 32px !important;
}

.ppid-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

/* Quick Access Cards Strip */
.quick-access-section {
    position: relative;
    margin-top: -65px;
    z-index: 10;
}

a.quick-access-card {
    background: #ffffff !important;
    border-radius: 18px !important;
    padding: 24px 20px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
    transition: all 0.3s ease !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
    color: inherit !important;
}

a.quick-access-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 18px 40px rgba(60, 114, 252, 0.15) !important;
    border-color: rgba(60, 114, 252, 0.4) !important;
    color: inherit !important;
    text-decoration: none !important;
}

.quick-access-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.quick-access-card:hover .quick-access-icon {
    transform: scale(1.1);
}

.quick-access-card h4.quick-access-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 6px !important;
}

.quick-access-card p.quick-access-desc {
    font-size: 0.85rem !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
    flex-grow: 1 !important;
}

.quick-access-card .quick-access-link {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #3c72fc !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.quick-access-card .quick-access-link.text-warning {
    color: #d97706 !important;
}
.quick-access-card .quick-access-link.text-success {
    color: #16a34a !important;
}
.quick-access-card .quick-access-link.text-danger {
    color: #dc2626 !important;
}

/* 4 Pillars Information Cards */
.pillar-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 32px 26px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.35s ease !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    overflow: hidden !important;
}

.pillar-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #3c72fc;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 16px 36px rgba(60, 114, 252, 0.12) !important;
    border-color: rgba(60, 114, 252, 0.35) !important;
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 22px;
}

.pillar-card h4.pillar-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 10px !important;
}

.pillar-card p.pillar-desc {
    font-size: 0.925rem !important;
    color: #64748b !important;
    line-height: 1.65 !important;
    margin-bottom: 20px !important;
    flex-grow: 1 !important;
}

.pillar-btn {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #3c72fc !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.pillar-btn span {
    color: inherit !important;
    display: inline !important;
}

.pillar-card:hover .pillar-btn {
    color: #1d4ed8 !important;
    transform: translateX(4px);
}
.pillar-btn.text-info {
    color: #0284c7 !important;
}
.pillar-btn.text-warning {
    color: #d97706 !important;
}
.pillar-btn.text-success {
    color: #16a34a !important;
}

/* Workflow Step Cards */
.workflow-step {
    background: #ffffff !important;
    border-radius: 18px !important;
    padding: 28px 22px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04) !important;
    position: relative !important;
    height: 100% !important;
    transition: all 0.3s ease !important;
}

.workflow-step:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(60, 114, 252, 0.35) !important;
    box-shadow: 0 12px 28px rgba(60, 114, 252, 0.1) !important;
}

.workflow-number {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(60, 114, 252, 0.12);
    line-height: 1;
}

.workflow-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.workflow-step h4.workflow-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 8px !important;
}

.workflow-step p.workflow-desc {
    font-size: 0.875rem !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
}

/* Standar Pelayanan Section & Cards */
.sp-section {
    position: relative !important;
    background: linear-gradient(135deg, #091a38 0%, #0c2b5c 50%, #0f172a 100%) !important;
    padding: 95px 0 !important;
    overflow: hidden !important;
}

.sp-card {
    background: rgba(255, 255, 255, 0.07) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 18px !important;
    padding: 26px 22px !important;
    transition: all 0.3s ease !important;
    height: 100% !important;
}

.sp-card:hover {
    background: rgba(255, 255, 255, 0.13) !important;
    transform: translateY(-6px) !important;
    border-color: rgba(60, 114, 252, 0.5) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25) !important;
}

.sp-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(60, 114, 252, 0.25);
    color: #60a5fa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.sp-card h4.sp-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 8px !important;
}

.sp-card p.sp-desc {
    font-size: 0.88rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
}

.sp-card p.sp-desc strong {
    color: #ffffff !important;
}

/* Maklumat Card */
.maklumat-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0369a1 100%) !important;
    border-radius: 24px !important;
    padding: 50px 40px !important;
    color: #ffffff !important;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15) !important;
    position: relative !important;
    overflow: hidden !important;
}

.maklumat-box::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.maklumat-box h3 {
    color: #ffffff !important;
}

.maklumat-box blockquote {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Aduan & Hotline Cards */
.aduan-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 24px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.3s ease !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.aduan-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important;
    border-color: #cbd5e1 !important;
}

.aduan-card h5 {
    color: #0f172a !important;
    font-size: 1.05rem !important;
}

.aduan-card p {
    color: #64748b !important;
    flex-grow: 1 !important;
}

.aduan-card .btn {
    margin-top: auto !important;
}

/* Responsive Adjustments for Home */
@media (max-width: 991px) {
    .ppid-hero h1.ppid-hero-title {
        font-size: 2.2rem !important;
    }
    .ppid-hero h3.ppid-hero-subtitle {
        font-size: 1.25rem !important;
    }
    .quick-access-section {
        margin-top: -30px;
    }
}

@media (max-width: 768px) {
    .ppid-hero {
        padding: 45px 0 90px !important;
        text-align: center;
    }
    .ppid-hero p.ppid-hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .ppid-hero-actions {
        justify-content: center;
    }
    .ppid-hero h1.ppid-hero-title {
        font-size: 1.85rem !important;
    }
    .quick-access-section {
        margin-top: 20px;
    }
    .maklumat-box {
        padding: 35px 22px !important;
    }
}

/* ==========================================================================
   4. MODUL FOOTER STYLES
   ========================================================================== */

.footer-area {
    position: relative !important;
    background: linear-gradient(180deg, #091a38 0%, #061226 100%) !important;
    color: #ffffff !important;
    overflow: hidden !important;
    z-index: 1 !important;
}

.footer-area .footer-brand-title {
    color: #ffffff !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    margin-bottom: 4px !important;
}

.footer-area .footer-brand-sub {
    color: #93c5fd !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    margin-bottom: 14px !important;
}

.footer-area .footer-desc {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.875rem !important;
    line-height: 1.65 !important;
    margin-bottom: 20px !important;
}

.footer-area .footer-title {
    color: #ffffff !important;
    font-size: 1.08rem !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    position: relative !important;
    padding-bottom: 10px !important;
}

.footer-area .footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: #3c72fc;
    border-radius: 2px;
}

.footer-area ul.footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-area ul.footer-links li {
    margin-bottom: 11px !important;
}

.footer-area ul.footer-links li a {
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none !important;
    font-size: 0.875rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
}

.footer-area ul.footer-links li a:hover {
    color: #93c5fd !important;
    transform: translateX(4px);
    padding-left: 0 !important;
}

.footer-area ul.footer-links li a i {
    font-size: 0.72rem !important;
    color: #3c72fc !important;
    transition: transform 0.2s ease;
}

.footer-area ul.footer-links li a:hover i {
    transform: translateX(2px);
    color: #93c5fd !important;
}

.footer-social-link {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
}

.footer-social-link:hover {
    background: #3c72fc !important;
    border-color: #3c72fc !important;
    color: #ffffff !important;
    transform: translateY(-3px);
}

.footer-contact-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 15px !important;
}

.footer-contact-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: rgba(60, 114, 252, 0.2) !important;
    color: #60a5fa !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
}

.footer-contact-text h6 {
    color: #ffffff !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    margin-bottom: 2px !important;
}

.footer-contact-text p {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 0.84rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
}

.footer-contact-text a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.footer-contact-text a:hover {
    color: #60a5fa !important;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 22px 0 !important;
}

.footer-bottom-bar p {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 0.85rem !important;
    margin-bottom: 0 !important;
}

/* ==========================================================================
   5. MODUL PROFIL PPID STYLES
   ========================================================================== */

.profile-main-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 36px 32px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
    margin-bottom: 24px !important;
}

.profile-main-card h3.card-title {
    color: #0f172a !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    margin-bottom: 18px !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-main-card h3.card-title i {
    color: #3c72fc;
}

.profile-main-card p {
    color: #475569 !important;
    font-size: 0.96rem !important;
    line-height: 1.75 !important;
}

.profile-quote-box {
    background: linear-gradient(135deg, rgba(60, 114, 252, 0.07) 0%, rgba(241, 245, 249, 0.9) 100%);
    border-left: 4px solid #3c72fc;
    border-radius: 0 14px 14px 0;
    padding: 20px 24px;
    margin: 22px 0;
}

.profile-quote-box p {
    color: #1e3a8a !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;
    margin-bottom: 0 !important;
    font-style: italic;
}

.profile-pillar-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 20px;
    height: 100%;
    transition: all 0.25s ease;
}

.profile-pillar-box:hover {
    background: #ffffff;
    border-color: rgba(60, 114, 252, 0.35);
    box-shadow: 0 10px 24px rgba(60, 114, 252, 0.08);
    transform: translateY(-4px);
}

.profile-pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.profile-pillar-box h5 {
    color: #0f172a !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

.profile-pillar-box p {
    color: #64748b !important;
    font-size: 0.875rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
}

.profile-list-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.profile-list-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0284c7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Visi & Misi Specific Elements */
.visi-card-showcase {
    background: linear-gradient(135deg, rgba(60, 114, 252, 0.06) 0%, rgba(248, 250, 252, 0.95) 100%) !important;
    border: 1px solid rgba(60, 114, 252, 0.22) !important;
    border-left: 5px solid #3c72fc !important;
    border-radius: 18px !important;
    padding: 28px !important;
    position: relative;
    overflow: hidden;
}

.visi-card-showcase .quote-bg-icon {
    position: absolute;
    right: 20px;
    bottom: -15px;
    font-size: 6.5rem;
    color: rgba(60, 114, 252, 0.06);
    pointer-events: none;
    line-height: 1;
}

.visi-card-showcase p.visi-text {
    font-size: 1.12rem !important;
    font-weight: 600 !important;
    color: #1e3a8a !important;
    line-height: 1.8 !important;
    margin-bottom: 16px !important;
}

.misi-card-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 22px 24px !important;
    transition: all 0.25s ease !important;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 16px;
}

.misi-card-item:hover {
    background: #ffffff !important;
    border-color: rgba(60, 114, 252, 0.35) !important;
    box-shadow: 0 10px 24px rgba(60, 114, 252, 0.08) !important;
    transform: translateY(-3px);
}

.misi-badge-number {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3c72fc 0%, #1d4ed8 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(60, 114, 252, 0.3);
}

.misi-card-item h5 {
    color: #0f172a !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
}

.misi-card-item p {
    color: #64748b !important;
    font-size: 0.92rem !important;
    line-height: 1.65 !important;
    margin-bottom: 0 !important;
}

/* Sidebar Navigation Menu */
.sidebar-nav-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    border-radius: 10px;
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.2s ease;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.sidebar-nav-link:hover {
    color: #3c72fc !important;
    background: #eff6ff !important;
    border-color: rgba(60, 114, 252, 0.3) !important;
    padding-left: 20px;
}

.sidebar-nav-link.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #3c72fc 0%, #2563eb 100%) !important;
    border-color: #2563eb !important;
    box-shadow: 0 4px 12px rgba(60, 114, 252, 0.25) !important;
    font-weight: 600;
}

.sidebar-nav-link.active i {
    color: #ffffff !important;
}

/* Tugas & Fungsi Specific Styling */
.tugas-card-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 20px 22px !important;
    transition: all 0.25s ease !important;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px;
}

.tugas-card-item:hover {
    background: #ffffff !important;
    border-color: rgba(60, 114, 252, 0.35) !important;
    box-shadow: 0 8px 22px rgba(60, 114, 252, 0.08) !important;
    transform: translateY(-2px);
}

.tugas-badge-num {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #1e293b;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #cbd5e1;
    transition: all 0.25s ease;
}

.tugas-card-item:hover .tugas-badge-num {
    background: linear-gradient(135deg, #3c72fc 0%, #1d4ed8 100%);
    color: #ffffff;
    border-color: #3c72fc;
    box-shadow: 0 4px 12px rgba(60, 114, 252, 0.3);
}

.tugas-card-item h5 {
    color: #0f172a !important;
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
}

.tugas-card-item p {
    color: #64748b !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
}

/* ==========================================================================
   6. MODUL KONTAK & LAYANAN ULT STYLES
   ========================================================================== */

.contact-channel-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    padding: 26px 22px !important;
    transition: all 0.25s ease !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-channel-card:hover {
    border-color: rgba(60, 114, 252, 0.35) !important;
    box-shadow: 0 10px 24px rgba(60, 114, 252, 0.08) !important;
    transform: translateY(-4px);
}

.contact-channel-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.contact-channel-card h5 {
    color: #0f172a !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
}

.contact-channel-card p.channel-val {
    color: #334155 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin-bottom: 16px !important;
    word-break: break-word;
}

.social-brand-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #334155 !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-bottom: 10px;
}

.social-brand-btn:hover {
    background: #ffffff;
    border-color: #3c72fc;
    color: #3c72fc !important;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(60, 114, 252, 0.1);
}

.maps-card-wrapper {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 24px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
}

.maps-card-wrapper iframe {
    width: 100% !important;
    height: 420px !important;
    border-radius: 14px !important;
    border: none !important;
}

/* ==========================================================================
   7. NAVBAR & MENU STYLES (ICONLESS MODERN MINIMALIST DESIGN)
   ========================================================================== */

header.ppid-header {
    background: #ffffff !important;
    border-bottom: 2px solid #eef2f6 !important;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05) !important;
    position: relative;
    z-index: 999;
}

/* Elegant top gradient highlight */
header.ppid-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3c72fc 0%, #2563eb 50%, #f59e0b 100%);
    z-index: 1000;
}

.ppid-header .header__main {
    padding: 8px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.ppid-header .logo img {
    max-height: 58px !important;
    transition: transform 0.25s ease;
}

.ppid-header .logo:hover img {
    transform: scale(1.02);
}

.ppid-header .main-menu > nav > ul {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
}

.ppid-header .main-menu > nav > ul > li {
    position: relative !important;
}

/* Top-level links: clean modern text button */
.ppid-header .main-menu > nav > ul > li > a {
    color: #1e293b !important;
    font-size: 0.94rem !important;
    font-weight: 600 !important;
    padding: 12px 14px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    transition: all 0.2s ease !important;
    position: relative;
    text-decoration: none !important;
}

.ppid-header .main-menu > nav > ul > li > a::after {
    display: none !important;
}

/* Subtle chevron arrow made purely with CSS borders (No icons) */
.ppid-header .main-menu > nav > ul > li.has-dropdown > a::after {
    display: inline-block !important;
    content: "" !important;
    width: 6px !important;
    height: 6px !important;
    border-right: 1.5px solid #94a3b8 !important;
    border-bottom: 1.5px solid #94a3b8 !important;
    transform: rotate(45deg) !important;
    margin-top: -3px !important;
    margin-left: 2px !important;
    transition: transform 0.25s ease, border-color 0.25s ease !important;
    background: none !important;
}

.ppid-header .main-menu > nav > ul > li.has-dropdown:hover > a::after {
    transform: rotate(-135deg) !important;
    border-color: #3c72fc !important;
    margin-top: 2px !important;
}

/* Top-level hover & active states */
.ppid-header .main-menu > nav > ul > li:hover > a {
    color: #3c72fc !important;
    background: #f1f5f9 !important;
}

.ppid-header .main-menu > nav > ul > li.active > a {
    color: #3c72fc !important;
    background: #eff6ff !important;
}

/* Neutralize any template style.css icon transforms */
.header__main .main-menu ul li:hover:hover i,
.ppid-header .main-menu ul li:hover:hover i,
.ppid-header .main-menu ul li .sub-menu i {
    transform: none !important;
}

/* Sub-Menu: Clean, Sleek, Typography-driven */
.ppid-header .main-menu ul li .sub-menu {
    position: absolute !important;
    left: 0 !important;
    top: 54px !important;
    z-index: 1050 !important;
    width: 270px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1) !important;
    padding: 8px !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    list-style: none !important;
}

.ppid-header .main-menu ul li .sub-menu.sub-menu-lg {
    width: 300px !important;
}

/* Hover bridge */
.ppid-header .main-menu ul li .sub-menu::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
}

.ppid-header .main-menu ul li:hover .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.ppid-header .main-menu ul li .sub-menu li {
    width: 100% !important;
    border-bottom: none !important;
    margin-bottom: 2px !important;
}

/* Clean submenu link with left-bar highlight on hover */
.ppid-header .main-menu ul li .sub-menu li a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    color: #334155 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
    border-left: 3px solid transparent !important;
    line-height: 1.4 !important;
}

.ppid-header .main-menu ul li .sub-menu li a:hover {
    background: #f8fafc !important;
    color: #1d4ed8 !important;
    border-left-color: #3c72fc !important;
    padding-left: 18px !important;
    font-weight: 600 !important;
}

/* Subtle clean badges for status (e.g. Rp 0,-, Online) */
.ppid-header .sub-menu-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 50px;
    font-weight: 600;
    margin-left: 8px;
}

/* Header Action CTA Button (Clean Text) */
.ppid-header .header-cta-btn {
    box-shadow: 0 4px 14px rgba(60, 114, 252, 0.22) !important;
    transition: all 0.25s ease !important;
}

.ppid-header .header-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(60, 114, 252, 0.32) !important;
}





