
/* Styling Halaman Berita Publik */
        .breadcrumb-item a {
            text-decoration: none;
        }
        h1 {
             font-family: 'Nunito', sans-serif;
                font-weight: 800; /* bold tebal */
        }
        .display-3 {
            font-family: 'Nunito', sans-serif;
            font-weight: 800 !important;
        }
        .page-header {
            width: 100%;
            min-height: 300px;
            margin: 0;
            padding: 0;
            background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)),
                        url('/img/kantor-bkd2.jpg');
            background-position: center center;
            background-repeat: no-repeat;
            background-size: cover;
        }

        /* ================================
        CARD BERITA
        =================================== */
        .card-news {
            transition: all 0.3s ease;
            border-radius: 10px;
            overflow: hidden;
        }

        .card-news:hover {
            transform: translateY(-6px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.12);
        }

        /* Gambar berita */
        .card-news img {
            border-radius: 10px 0 0 10px;
            object-fit: cover;
            height: 180px;
            width: 100%;
            transition: transform 0.4s ease;
        }

        .card-news:hover img {
            transform: scale(1.08);
        }

        /* Judul berita */
        .card-news .card-title {
            transition: color 0.2s ease;
        }

        .card-news:hover .card-title {
            color: #0056b3 !important; /* biru elegan */
        }

        /* Text kutipan */
        .card-news .card-text {
            font-size: 0.94rem;
            color: #555;
        }

        /* ================================
        SIDEBAR KATEGORI
        =================================== */
        .list-group-item {
            border: none;
            padding: 12px 18px;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            transition: all 0.25s;
            border-radius: 6px;
        }

        .list-group-item i {
            color: #ffb300;
            font-size: 1rem;
        }

        /* Hover kategori */
        .list-group-item:hover {
            background: #f4f8ff;
            color: #0056b3;
            transform: translateX(5px);
        }

        /* ================================
        PAGINATION
        =================================== */
        .pagination .page-item .page-link {
            border-radius: 6px;
            padding: 8px 14px;
            margin: 0 3px;
            color: #333;
            border: 1px solid #ddd;
            transition: all 0.25s ease;
        }

        .pagination .page-item .page-link:hover {
            background: #0056b3;
            color: #fff;
            border-color: #0056b3;
        }

        .pagination .page-item.active .page-link {
            background: #0056b3;
            border-color: #0056b3;
            color: #fff;
        }

        /* ================================
        SEARCH BAR
        =================================== */
        .input-group input {
            border-radius: 8px 0 0 8px;
        }

        .input-group button {
            border-radius: 0 8px 8px 0;
            transition: 0.3s;
        }

        .input-group button:hover {
            background: #004a9f;
        }

        @media (max-width: 768px) {
            .card-news img {
                height: 160px;
                border-radius: 10px 10px 0 0;
            }
        }

        /* ===========================================
    SIDEBAR AGENDA
    =========================================== */

    .agenda-box {
        border-radius: 10px;
    }

    .sidebar-title {
        font-weight: 600;
        color: #0d1b3f;
        border-left: 4px solid #0056b3;
        padding-left: 10px;
    }

    .agenda-item {
        transition: all 0.25s ease;
    }

    .agenda-item:last-child {
        border-bottom: none;
    }

    .agenda-item:hover {
        background: #f4f8ff;
        padding-left: 6px;
        border-radius: 6px;
    }

    .agenda-title {
        font-size: 0.95rem;
        font-weight: 600;
        color: #333;
    }

    .agenda-info {
        font-size: 0.85rem;
        color: #555;
    }

    .agenda-info i {
        color: #0056b3;
    }
    .btn-lihat-semua-berita {
        display: flex;
        justify-content: center;   /* teks + icon di tengah horizontal */
        align-items: center;       /* center vertical */
        gap: 6px;
        background: #2bc5d4;
        color: #fff;
        padding: 10px 18px;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        transition: 0.3s ease;
        box-shadow: 0 3px 12px rgba(13, 110, 253, 0.3);
        width: 100%;               /* supaya button melebar */
        }
    .btn-lihat-semua-berita:hover {
        background: #2bc5d4;
        transform: translateY(-2px);
        }



/* Styling Halaman Detail Berita Publik */
        /* === WRAPPER UTAMA === */
        .wrapper-berita {
            display: flex;
            gap: 25px;
            margin-top: 20px;
        }

        /* === BOX DETAIL BERITA === */
        .box-detail-berita {
            flex: 3;
            background: #fff;
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 4px 18px rgba(0,0,0,0.08);
            border: 1px solid #eee;
             transition: transform 0.6s ease-in-out;
        }
        .box-detail-berita img {
            max-width: 100%;
            width: 100%; 
            height: auto;         
            object-fit: cover;    
            border-radius: 10px;  
            display: block;
            margin: 0 auto 20px;   
        }

        /* === BOX SIDEBAR === */
        .box-sidebar {
            flex: 1.3;
            background: #fff;
            padding: 0px;
    
        }

        /* Judul sidebar */
        .box-sidebar h5 {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 15px;
        }

        /* item berita lain */
        .berita-lain-item {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
            padding: 10px;
            background: #fafafa;
            border-radius: 8px;
            border: 1px solid #eee;
            transition: 0.3s;
            
        }
        .berita-lain-item:hover {
            background: #f2f2f2;
        }

        /* gambar */
        .berita-lain-item img {
            width: 85px;
            height: 60px;
            object-fit: cover;
            border-radius: 6px;
        }

        /* search box */
        .box-sidebar .input-group input {
            border-radius: 8px 0 0 8px;
        }
        .box-sidebar .input-group .btn {
            border-radius: 0 8px 8px 0;
        }
        .berita-link {
            color: #333;               
            text-decoration: none;
            transition: color 0.3s;
            border-bottom: 1px solid #bbb8b8ff;
            padding: 5px;
        }

        .berita-link:hover {
            color: #2bc5d4;           
        }
        /* --- ANIMASI DASAR --- */
        .fade-up, .fade-right {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s ease-out;
        }

        /* Saat terlihat di layar */
        .fade-up.show {
            opacity: 1;
            transform: translateY(0);
        }

        .fade-right {
            transform: translateX(40px);
        }

        .fade-right.show {
            opacity: 1;
            transform: translateX(0);
        }
       .btn-lihat-semua-berita {
            display: flex;
            justify-content: center;   
            align-items: center;       
            gap: 6px;
            background: #2bc5d4;
            color: #fff;
            padding: 10px 18px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            transition: 0.3s ease;
            box-shadow: 0 3px 12px rgba(13, 110, 253, 0.3);
            width: 100%;              
        }
        .btn-lihat-semua-berita:hover {
            background: #2bc5d4;
            transform: translateY(-2px);
        }

        .share-icons {
            margin-left: auto;        
            display: flex;
            gap: 10px;
        }

        .share-icons a {
            width: 32px;
            height: 32px;
            display: flex;
            justify-content: center;
            align-items: center;
            background: #e9e9e9;
            border-radius: 50%;
            font-size: 14px;
            color: #333;
            transition: 0.3s;
        }

        .share-icons a:hover {
            background: #2bc5d4;
            color: #fff;
        }
        /* Box pesan petunjuk komentar */
        .komentar-alert {
            background: #f3f4f6;
            border: 1px solid #e1e1e1;
        }

        .komentar-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: #0d6efd20;
            color: #0d6efd;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 22px;
        }

        /* Input dan textarea lebih elegan */
        .form-control {
            border-radius: 6px;
            padding: 10px 12px;
        }

        .btn-kirim {
            transition: all 0.3s ease;
            padding: 10px;
        }

        .btn-kirim:hover {
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }
         .sidebar-title {
        font-weight: 600;
        color: #0d1b3f;
        border-left: 4px solid #0056b3;
        padding-left: 10px;
    }
        
    
    /*SIDEBAR BERITA LAINNYA
    =========================================== */
    .berita-populer-box{
        border-radius: 0px;
    }
    .sidebar-title-berita {
        font-weight: 600;
        color: #0d1b3f;
        border-left: 4px solid #0f9f60ff;
        padding-left: 10px;
    }

    .agenda-box {
        border-radius: 10px;
    }

    .sidebar-title {
        font-weight: 600;
        color: #0d1b3f;
        border-left: 4px solid #0056b3;
        padding-left: 10px;
    }

    .agenda-item {
        transition: all 0.25s ease;
    }

    .agenda-item:last-child {
        border-bottom: none;
    }

    .agenda-item:hover {
        background: #f4f8ff;
        padding-left: 6px;
        border-radius: 6px;
    }

    .agenda-title {
        font-size: 0.95rem;
        font-weight: 600;
        color: #333;
    }

    .agenda-info {
        font-size: 0.85rem;
        color: #555;
    }

    .agenda-info i {
        color: #0056b3;
    }


    /* Styling Halaman Bidang Publik */
    .nav-tabs .nav-link {
    font-weight: 500;
    color: #444;
    }

    .nav-tabs .nav-link.active {
        font-weight: 600;
        color: #007bff !important;
        border-bottom: 3px solid #007bff !important;
    }

    .tab-pane h4 {
        font-weight: 700;
        margin-bottom: 10px;
    }

    .tab-pane ul {
        margin-top: 10px;
    }
    /* Wrapper panel agar terlihat seperti kartu */
    .tab-wrapper {
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 25px;
        background: #fff;
        box-shadow: 0px 3px 10px rgba(0,0,0,0.08);
        width: 100%;
        max-width: 100% !important;
        margin: 0 auto;
    }

    /* Tab bar */
    .nav-tabs {
        border-bottom: none !important;
        justify-content: center;
        gap: 10px;
    }

    /* Tombol tab */
    .nav-tabs .nav-link {
        border: 1px solid #d0d0d0;
        border-radius: 8px;
        padding: 10px 20px;
        font-weight: 500;
        color: #444;
        background: #f8f8f8;
        transition: 0.25s;
    }

    /* Hover */
    .nav-tabs .nav-link:hover {
        background: #ffffff;
        border-color: #2bc5d4;
        color: #2bc5d4;
    }

    /* TAB AKTIF */
    .nav-tabs .nav-link.active {
        background: #fff !important;
        border-color: #2bc5d4 !important;
        color: #2bc5d4 !important;
        font-weight: 600;
        box-shadow: 0px 2px 8px rgba(0, 86, 179, 0.15);
    }

    /* Konten tab */
    .tab-pane {
        margin-top: 25px;
    }
    .service-panel {
        max-width: 100%;
        margin: 0px auto;
        padding: 30px;
        border-radius: 18px;
        background: #ffffff;
        border: 1px solid #e4e9f2;
        box-shadow: 0 8px 20px rgba(0,0,0,0.05);
        animation: fadeIn 1s ease;
    }

    .service-title {
        font-size: 22px;
        font-weight: 700;
        color: #1a2b49;
        text-align: center;
        margin-bottom: 10px;
    }

    .petugas p {
        text-align: center;
        font-size: 1px;
        margin-bottom: 25px;
    }

    .petugas b {
        color: #2a4d9b;
      
    }

    .sub-title {
        font-size: 22px;
        font-weight: 600;
        color: #1a2b49;
        margin-top: 25px;
        margin-bottom: 15px;
        text-align: center;
    }

    .requirements-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .requirements-list li {
        background: #f6f9ff;
        padding: 12px 15px;
        margin-bottom: 10px;
        border-radius: 10px;
        border-left: 4px solid #2bc5d4;
        font-size: 14px;
        color: #3a3a3a;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .requirements-list li i {
        color: #2bc5d4;
        font-size: 18px;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .tab-pane {
        max-height: none;
        overflow-y: scroll; /* tetap scroll, tapi scrollbar disembunyikan */
        scrollbar-width: none !important; /* Firefox */
        -ms-overflow-style: none !important; /* IE/Edge lama */
    }

    /* Chrome, Safari, Edge */
    .tab-pane::-webkit-scrollbar {
        width: 0 !important;
        height: 0 !important;
    }


/* Styling Halaman Sejarah Kantor */ 

  .intro-section {
      display: flex;
      gap: 28px;
      align-items: center;
      margin-bottom: 2rem;
  }
  .intro-foto {
      flex: 0 0 32%;
      position: relative;
  }
  .intro-foto img {
      width: 100%;
      height: 260px;
      object-fit: cover;
      border-radius: 14px;
      display: block;
  }
  .foto-badge {
      position: absolute;
      bottom: 12px; left: 12px;
      background: rgba(26,79,156,0.88);
      color: #fff;
      font-size: 11px; font-weight: 600;
      padding: 4px 12px;
      border-radius: 20px;
  }
  .foto-tahun {
      position: absolute;
      top: 12px; right: 12px;
      background: rgba(200,144,10,0.9);
      color: #fff;
      font-size: 11px; font-weight: 600;
      padding: 4px 10px;
      border-radius: 20px;
  }
  .intro-teks .label-atas {
      font-size: 12px; font-weight: 700;
      text-transform: uppercase; letter-spacing: 0.07em;
      color: #1e40af; margin-bottom: 8px;
  }
  .intro-teks h3 {
      font-size: 17px; font-weight: 700;
      color: #212529; line-height: 1.4; margin: 0 0 12px;
  }
  .intro-teks p {
      font-size: 14px; color: #6c757d;
      line-height: 1.75; margin: 0 0 16px;
  }
  .info-chip {
      display: flex; align-items: center;
      gap: 8px; font-size: 14px; color: #6c757d;
      margin-bottom: 7px;
  }
  .info-chip .dot {
      width: 8px; height: 6px; border-radius: 50%;
      background: #1A4F9C; flex-shrink: 0;
  }
  @media (max-width: 576px) {
      .intro-section { flex-direction: column; }
      .intro-foto { flex: 0 0 auto; width: 100%; }
  }

  .tl-intro {
      font-size: 14px;
      color: #6c757d;
      line-height: 1.75;
      margin-bottom: 2rem;
  }
  .tl-container {
      position: relative;
      padding-left: 0;
  }
  .tl-line {
      position: absolute;
      left: 86px;
      top: 0; bottom: 0;
      width: 2px;
      background: linear-gradient(to bottom, #1A4F9C, #C8900A, #2E7FD4);
      opacity: 0.25;
  }
  .tl-item {
      display: flex;
      gap: 0;
      margin-bottom: 1.75rem;
      cursor: pointer;
      animation: fadeUp 0.5s ease both;
  }
  .tl-item:nth-child(1){animation-delay:.05s}
  .tl-item:nth-child(2){animation-delay:.1s}
  .tl-item:nth-child(3){animation-delay:.15s}
  .tl-item:nth-child(4){animation-delay:.2s}
  .tl-item:nth-child(5){animation-delay:.25s}
  .tl-item:nth-child(6){animation-delay:.3s}
  .tl-item:nth-child(7){animation-delay:.35s}
  @keyframes fadeUp {
      from { opacity: 0; transform: translateY(18px); }
      to   { opacity: 1; transform: translateY(0); }
  }
  .tl-tahun {
      min-width: 72px;
      text-align: right;
      padding-right: 20px;
      padding-top: 12px;
      font-size: 14px;
      font-weight: 600;
      color: #6c757d;
      line-height: 1.3;
  }
  .tl-dot-wrap {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding-top: 14px;
      z-index: 1;
  }
  .tl-dot {
      width: 14px; height: 14px;
      border-radius: 50%;
      border: 2px solid #fff;
      box-shadow: 0 0 0 2px #1A4F9C;
      background: #1A4F9C;
      flex-shrink: 0;
      transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  }
  .tl-item:hover .tl-dot {
      transform: scale(1.3);
      background: #C8900A;
      box-shadow: 0 0 0 2px #C8900A;
  }
  .tl-card {
      flex: 1;
      margin-left: 16px;
      background: #fff;
      border: 1px solid #e9ecef;
      border-radius: 12px;
      padding: 14px 18px;
      transition: border-color 0.2s, transform 0.2s;
  }
  .tl-item:hover .tl-card {
      border-color: #adb5bd;
      transform: translateX(4px);
  }
  .tl-card-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 6px;
  }
  .tl-badge {
      font-size: 11px;
      font-weight: 600;
      padding: 3px 10px;
      border-radius: 20px;
      white-space: nowrap;
      flex-shrink: 0;
  }
  .badge-biru  { background: #dbeafe; color: #1e40af; }
  .badge-emas  { background: #fef3c7; color: #92400e; }
  .badge-hijau { background: #d1fae5; color: #065f46; }
  .tl-card h4 {
      font-size: 15px;
      font-weight: 600;
      margin: 0;
      color: #212529;
      line-height: 1.4;
  }
  .tl-card p {
      font-size: 13px;
      color: #6c757d;
      margin: 6px 0 0;
      line-height: 1.65;
  }
  .tl-expand {
      display: none;
      margin-top: 10px;
      padding-top: 10px;
      border-top: 1px solid #f1f3f5;
  }
  .tl-expand p {
      font-size: 13px;
      color: #495057;
      line-height: 1.7;
      margin: 0;
  }
  .tl-item.open .tl-expand { display: block; }

  .section-divider {
      display: flex;
      align-items: center;
      gap: 12px;
      margin: 2.5rem 0 1.5rem;
      color: #6c757d;
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.07em;
  }
  .section-divider::after {
      content: '';
      flex: 1;
      height: 1px;
      background: #e9ecef;
  }

  .stat-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin: 1.5rem 0;
  }
  .stat-card {
      background: #f8f9fa;
      border-radius: 10px;
      padding: 16px;
      text-align: center;
  }
  .stat-num { font-size: 22px; font-weight: 700; color: #1A4F9C; }
  .stat-lbl { font-size: 14px; color: #6c757d; margin-top: 4px; }

  .tugas-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-top: 1rem;
  }
  .tugas-card {
      background: #fff;
      border: 1px solid #e9ecef;
      border-radius: 10px;
      padding: 14px 16px;
  }
  .tugas-icon { font-size: 20px; margin-bottom: 8px; }
  .tugas-card h5 { font-size: 14px; font-weight: 600; margin: 0 0 4px; color: #212529; }
  .tugas-card p  { font-size: 13px; color: #6c757d; margin: 0; line-height: 1.55; }

  .visi-wrap {
      background: #eff6ff;
      border: 1px solid #bfdbfe;
      border-left: 4px solid #1A4F9C;
      border-radius: 10px;
      padding: 16px 20px;
      margin: 1.5rem 0;
  }
  .visi-label {
      font-size: 11px;
      font-weight: 700;
      color: #1e40af;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      margin-bottom: 8px;
  }
  .visi-text { font-size: 14px; color: #1e3a8a; line-height: 1.65; font-style: italic; }

  .tl-hint {
      font-size: 12px;
      color: #adb5bd;
      text-align: center;
      margin-top: 1.5rem;
  }

  /* Tablet */
@media (max-width: 768px) {
    .stat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .stat-card {
        padding: 12px 8px;
    }
    .stat-num {
        font-size: 18px;
    }
    .stat-lbl {
        font-size: 11px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .stat-grid {
        grid-template-columns: 1fr;  /* ← 1 kolom di HP kecil */
        gap: 8px;
    }
    .stat-card {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 16px;
        text-align: left;
    }
    .stat-num {
        font-size: 22px;
        min-width: 52px;
    }
    .stat-lbl {
        font-size: 13px;
    }
}

/* Styling Halaman Public Visi dan Misi */

    /* Intro Foto + Teks */
    .vm-intro-section {
        display: flex; gap: 28px; align-items: center; margin-bottom: 2.5rem;
    }
    .vm-intro-foto { flex: 0 0 32%; position: relative; }
    .vm-intro-foto img {
        width: 100%; height: 240px; object-fit: cover;
        border-radius: 14px; display: block;
    }
    .vm-foto-badge {
        position: absolute; bottom: 12px; left: 12px;
        background: rgba(26,79,156,0.88); color: #fff;
        font-size: 11px; font-weight: 600;
        padding: 4px 12px; border-radius: 20px;
    }
    .vm-intro-teks .vm-label-atas {
        font-size: 12px; font-weight: 700; text-transform: uppercase;
        letter-spacing: 0.07em; color: #1e40af; margin-bottom: 8px;
    }
    .vm-intro-teks h3 {
        font-size: 17px; font-weight: 700;
        color: #212529; line-height: 1.4; margin: 0 0 10px;
    }
    .vm-intro-teks p {
        font-size: 14px; color: #6c757d; line-height: 1.75; margin: 0;
    }

    /* Section Divider */
    .section-divider-vm {
        display: flex; align-items: center; gap: 12px;
        margin: 2rem 0 1.5rem; color: #6c757d;
        font-size: 12px; font-weight: 700;
        text-transform: uppercase; letter-spacing: 0.07em;
    }
    .section-divider-vm::after {
        content: ''; flex: 1; height: 1px; background: #e9ecef;
    }

    /* Visi */
    .visi-card {
        border-radius: 14px; border: 1px solid #bfdbfe;
        background: #eff6ff; padding: 24px 28px;
        margin-bottom: 2rem; position: relative; overflow: hidden;
    }
    .visi-card::before {
        content: '"'; position: absolute; top: -10px; left: 20px;
        font-size: 120px; font-weight: 700;
        color: #1A4F9C; opacity: 0.07; line-height: 1;
        font-family: Georgia, serif;
    }
    .visi-label-vm {
        font-size: 12px; font-weight: 700; text-transform: uppercase;
        letter-spacing: 0.07em; color: #1e40af; margin-bottom: 10px;
        display: flex; align-items: center; gap: 6px;
    }
    .visi-label-vm::before {
        content: ''; width: 16px; height: 2px;
        background: currentColor; border-radius: 2px;
    }
    .visi-text {
        font-size: 15px; color: #1e3a8a;
        line-height: 1.7; font-style: italic; font-weight: 600;
    }

    /* Misi Grid */
    .misi-grid {
        display: grid; grid-template-columns: 1fr 1fr;
        gap: 12px; margin-bottom: 2rem;
    }
    .misi-card {
        background: #fff; border: 1px solid #e9ecef;
        border-radius: 12px; padding: 16px;
        display: flex; gap: 14px; align-items: flex-start;
        transition: border-color 0.2s, transform 0.2s;
    }
    .misi-card:hover {
        border-color: #adb5bd; transform: translateY(-2px);
    }
    .misi-nomor {
        min-width: 32px; height: 32px; border-radius: 8px;
        background: #dbeafe; color: #1e40af;
        font-size: 13px; font-weight: 700;
        display: flex; align-items: center; justify-content: center;
        flex-shrink: 0;
    }
    .misi-konten h5 {
        font-size: 14px; font-weight: 700;
        color: #212529; margin: 0 0 4px;
    }
    .misi-konten p {
        font-size: 13px; color: #6c757d;
        line-height: 1.6; margin: 0;
    }

    /* Nilai Grid */
    .nilai-grid {
        display: grid; grid-template-columns: repeat(4, 1fr);
        gap: 10px; margin-bottom: 2rem;
    }
    .nilai-card {
        background: #f8f9fa; border-radius: 10px;
        padding: 16px 12px; text-align: center;
    }
    .nilai-icon { font-size: 22px; margin-bottom: 8px; }
    .nilai-nama { font-size: 14px; font-weight: 700; color: #212529; margin-bottom: 4px; }
    .nilai-desc { font-size: 12px; color: #6c757d; line-height: 1.5; }

    /* Tujuan Strategis */
    .tujuan-wrap {
        background: #f8f9fa; border-radius: 12px; padding: 20px 24px;
    }
    .tujuan-wrap h4 {
        font-size: 14px; font-weight: 700; color: #212529; margin: 0 0 14px;
    }
    .tujuan-list { display: flex; flex-direction: column; gap: 8px; }
    .tujuan-item {
        display: flex; align-items: flex-start; gap: 10px;
        font-size: 12px; color: #6c757d; line-height: 1.55;
    }
    .tujuan-check {
        width: 18px; height: 18px; border-radius: 50%;
        background: #d1fae5; color: #065f46;
        font-size: 12px; font-weight: 700;
        display: flex; align-items: center; justify-content: center;
        flex-shrink: 0; margin-top: 1px;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .vm-intro-section { flex-direction: column; }
        .vm-intro-foto { flex: 0 0 auto; width: 100%; }
        .misi-grid { grid-template-columns: 1fr; }
        .nilai-grid { grid-template-columns: repeat(2, 1fr); }
    }

/* Styling Halaman Struktur Organisasi  */

    .so-foto-wrap {
        width: 100%;
        text-align: center;
    }

    .so-foto-scroll {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        background: #fff;
        border-radius: 16px;
        padding: 20px;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    }

    .so-foto-scroll img {
        width: 100%;
        height: auto;
        max-width: 900px;
        border-radius: 8px;
        border: none;   /* hapus border, sudah ada shadow di wrapper */
        display: block;
        margin: 0 auto;
    }

    .so-foto-caption {
        font-size: 12px;
        color: #6c757d;
        margin-top: 10px;
    }

    /* Tablet */
    @media (max-width: 768px) {
        .so-foto-scroll img {
            border-radius: 8px;
        }
    }

    /* Mobile - hapus min-width, biarkan gambar menyusut penuh */
    @media (max-width: 576px) {
        .so-foto-scroll img {
            width: 100%;
            min-width: unset;
            max-width: 100%;
            border-radius: 6px;
        }
        .so-foto-caption {
            font-size: 11px;
        }
    }

/* Styling Halaman Data Pejabat  */

    .pejabat-section {
        width: 100%;
    }

    .pejabat-section .row {
        margin-left: 0;
        margin-right: 0;
    }

    .pejabat-card {
        position: relative;
        border-radius: 18px;
        padding: 20px 20px 24px;
        background: #ffffff;
        box-shadow: 0 12px 30px rgba(0,0,0,.08);
        transition: transform .2s ease, box-shadow .2s ease;
        height: 100%;
        overflow: hidden;
        text-align: center;
    }

    .pejabat-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0,0,0,.12);
    }

    .pejabat-card .card-header {
        height: 90px;
        border-radius: 14px 14px 0 0;
        background: linear-gradient(135deg, #7f8cff, #7bdff2);
        margin: -20px -20px 0;
    }

    .avatar-wrapper {
        display: flex;
        justify-content: center;
        margin-top: -45px;
        margin-bottom: 10px;
    }

    .avatar-wrapper img {
        width: 110px;
        height: 110px;
        object-fit: cover;
        border-radius: 50%;
        border: 5px solid #fff;
        background: #fff;
    }

    .pejabat-card .card-body {
        padding: 10px 5px 0;
    }

    .pejabat-card h3 {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 6px;
        color: #0f172a;
    }

    .pejabat-card .jabatan {
        font-size: 13px;
        color: #64748b;
        margin-bottom: 14px;
    }

    /* Tombol */
    .btn-detail {
        display: inline-block;
        padding: 8px 18px;
        background: #2bc5d4;
        color: #fff;
        border-radius: 999px;
        border: none;
        font-size: 13px;
        transition: .2s ease;
        cursor: pointer;
    }

    .btn-detail:hover {
        background: #0b5ed7;
        color: #fff;
    }

    .pejabat-wrap {
        background: #fff;
        border-radius: 16px;
        padding: 28px 20px 32px;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    }

    /* ===============================
    STYLING MODAL
    ================================ */

    .modal-content {
        border-radius: 18px;
        border: none;
        overflow: hidden;
    }

    .modal-header {
        background: linear-gradient(135deg, #7f8cff, #7bdff2);
        color: #fff;
        border: none;
    }

    .modal-title {
        font-weight: 600;
    }

    .modal-body {
        padding: 24px;
    }

    .modal-avatar {
        display: flex;
        justify-content: center;
        margin-bottom: 16px;
    }

    .modal-avatar img {
        width: 140px;
        height: 140px;
        object-fit: cover;
        border-radius: 50%;
        border: 5px solid #f1f5f9;
    }

    .modal-body table {
        font-size: 14px;
    }

    .modal-body table td {
        padding: 10px 12px;
        vertical-align: middle;
    }

    .modal-footer {
        border-top: none;
        padding: 12px 24px 20px;
    }

    /* ===============================
    RESPONSIVE
    ================================ */

    @media (max-width: 768px) {
        .avatar-wrapper img {
            width: 95px;
            height: 95px;
        }

        .modal-avatar img {
            width: 120px;
            height: 120px;
        }
    }


/* Styling Halaman Statistik */
    .card canvas {
    max-height: 260px;
    }

    .card h5 {
        font-size: 18px;
        font-weight: 600;
        color: #1a2b49;
    }
    .chart-card {
        min-height: 360px;      
        display: flex;
        flex-direction: column;
        justify-content: center;  /* agar chart berada di tengah */
    }
    .chart-card:hover {
        transform: scale(1.03);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        z-index: 10;
    }

    .chart-container {
        width: 100% !important;
        height: 250px !important;   /* pastikan chart tidak terlalu besar */
    }

    .stat-card-statistik {
        flex: 1;
        border-radius: 16px;
        padding: 25px 22px;
        display: flex;
        align-items: center;
        position: relative;
        box-shadow: 0 8px 22px rgba(0,0,0,0.12);
        transition: transform .3s ease, box-shadow .3s ease;
        height: 120px;
        
    }

    .stat-card-statistik:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.18);
    }


/* Styling Halaman Galeri */
    .album-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transition: 0.3s ease;
    background: #fff;
    overflow: hidden; 
    padding: 20px;
    }

    .album-card img {
        display: block;
        width: 100%;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    .album-horizontal-item {
        flex: 0 0 280px;
    }
    .album-title {
    transition: color 0.25s ease, transform 0.25s ease;
    }

    a:hover .album-title {
        color: #2bc5d4;
        
    }


/* Styling Widget */
    .floating-widgets {
    position: fixed;
    right: 20px;
    bottom: 120px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 99999;
    }

    .floating-btn {
        background: #2bc5d4;
        color: white;
        width: 55px;
        height: 55px;
        border-radius: 50px;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 0 18px;
        cursor: pointer;
        transition: all .28s ease;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.25);
        white-space: nowrap;
    }

    .floating-btn .icon i {
        font-size: 20px;
    }

    .floating-btn .label {
        opacity: 0;
        font-size: 15px;
        transform: translateX(10px);
        transition: all .28s ease;
    }

    .floating-btn:hover {
        width: 200px;
        border-radius: 50px;
    }

    .floating-btn:hover .label {
        opacity: 1;
        transform: translateX(0);
    }

    .survey-modal {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 999999;
    }

    .survey-content {
        background: white;
        width: 420px;
        padding: 25px;
        border-radius: 14px;
        animation: popupShow .3s ease;
        position: relative;
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    }

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

    .close-modal {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 26px;
        cursor: pointer;
    }

    .survey-title {
        text-align: center;
        margin-bottom: 15px;
    }

    .emoji-container {
        display: flex;
        justify-content: space-between;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .emoji {
        font-size: 34px;
        cursor: pointer;
        transition: transform .2s;
    }

    .emoji:hover {
        transform: scale(1.3);
    }

    .emoji.selected {
        transform: scale(1.4);
        filter: drop-shadow(0 0 5px #2bc5d4);
        border: 2px solid #ffcb00;
        border-radius: 50%;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group textarea {
        width: 100%;
        height: 65px;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 8px;
    }

    .survey-submit {
        width: 100%;
        background: #2bc5d4;
        border: none;
        padding: 10px;
        color: white;
        border-radius: 8px;
        cursor: pointer;
        transition: 0.25s;
    }

    .survey-submit:hover {
        background: #1ba9b7;
    }

    .success-popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: none;
        justify-content: center;
        align-items: center;
        backdrop-filter: blur(2px);
        z-index: 999999;
    }

    .popup-box {
        background: #28a745;
        color: white;
        padding: 14px 28px;
        border-radius: 10px;
        font-size: 18px;
        font-weight: bold;
        box-shadow: 0 6px 20px rgba(0,0,0,0.25);
        opacity: 0;
        transform: scale(0.7);
        transition: 0.25s ease;
    }

    .success-popup.show .popup-box {
        opacity: 1;
        transform: scale(1);
    }
    .swal2-container {
    z-index: 9999999 !important;
}