
:root {
  --footer-height: 70px;
  --fab-height: 70px;
  --safe-space: 40px;
}

/* ruang aman seluruh halaman */
body {
  padding-bottom: calc(
    var(--footer-height) +
    var(--fab-height) +
    var(--safe-space)
  );
}

/* pastikan panel terakhir naik */
.panel {
  margin-bottom: 60px;
  margin-top: 5px !important;
}

/* konten di dalam panel */
.panel .tabcontent {
  padding-bottom: 0px;
}
.container,
section {
  scroll-margin-bottom: 250px;
}

/* ===== GLOBAL ===== */
* {
  font-family: 'Muli', sans-serif;
}

a, a:hover, a:focus {
  text-decoration: none;
  color: inherit;
}

p, h1, h3, h5 {
  padding: 0;
  margin: 0;
}

/* ===== HEADER ===== */
.header {
  background: linear-gradient(135deg, #1e88e5, #0D1A8C, #1976d2);
  height: 350px;
  border-radius: 0 0 20px 20px;
  position: relative;
  z-index: 0;
}

.on {
  color: greenyellow;
  font-size: 10px;
  margin-top: -5px;
}

.hello {
  font-size: 16px;
}

.name {
  color: #fff;
  font-weight: bold;
  font-size: 16px;
}

.img {
  border-radius: 50px;
}

.img-cs {
  position: absolute;
  right: 10px;
  top: 15px;
}

.notif {
  position: absolute;
  right: 14px;
  top: 25px;
  padding: 6px 14px;
  font-size: 13px;
  color: #fff;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.6);
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
  z-index: 10;
}

/* ===== SLIDER BANNER ===== */
.android-banner-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  border-radius: 18px;
}

.android-banner-slider::-webkit-scrollbar {
  display: none;
}

.banner-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
}

.banner-slide img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  border-radius: 16px;
}

/* ===== PANEL ===== */
.panel {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,.15);
  margin-top: 70px;
  height: auto;
}

.wwcs {
  padding: 15px;
}

/* ===== TAB BUTTON ===== */
.tab {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: nowrap;
}

/* === FIX TAB ALIGNMENT (ANTI TURUN) === */
.tab.row {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start;
  flex-wrap: nowrap !important;
  gap: 14px;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* HAPUS EFEK <center> */
.tab.row > center {
  display: contents !important;
}

/* BUTTON TAB */
.tab button {
  flex: 0 0 auto !important;
  width: 85px;
  height: 85px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 16px;

  font-size: 12px;
  font-weight: 600;

  box-shadow: 0 8px 20px rgba(0,0,0,.2);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  transition: all .25s ease;
}

/* ICON */
.tab button img {
  width: 32px;
  margin-bottom: 6px;
}

/* ACTIVE */
.tab button.active {
 background: linear-gradient(135deg, #5b6cff, #3b82f6);
  border: none;
  color: #fff;
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(59,130,246,.55);
}

@media (max-width: 360px) {
  .tab button {
    width: 75px;
    height: 75px;
    font-size: 11px;
  }
}

/* ===== TAB CONTENT ===== */
.tabcontent {
  display: none;
  padding-top: 0px;
  animation: fadeEffect .5s;
}

@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* ===== ITEM GRID ===== */
.img-srl {
  border-radius: 10px;
}

.text-panel {
  font-size: 12px;
  margin-top: 6px;
}

.mtz {
  margin-top: 20px;
}

/* ===== FLAM SETTING ===== */
.flam-setting {
  padding: 0px 4%;
  text-align: center;
  color: #fff;
}

.tablinks {
  text-decoration: none; /* Menghilangkan garis bawah */
  color: inherit;        /* Mengikuti warna teks sebelumnya */
  display: inline-flex;  /* Memastikan ikon dan teks sejajar */
  align-items: center;
}

.texting {
        color: rgba(0, 0, 0, 0.6);
        font-weight: bold;
      }

      .scroll-menu {
          clear:both;
          white-space: nowrap;
          overflow-x: auto;
          padding: 10px 0 10px 0;
          border-radius: 0 0 20px 20px
      }

      .scroll-menu::-webkit-scrollbar {
      display: none;
    }

    /* Hide scrollbar for IE, Edge and Firefox */
    .scroll-menu {
      -ms-overflow-style: none;  /* IE and Edge */
      scrollbar-width: none;  /* Firefox */
    }
        
      .isi-menu {
          display: inline-block;
          width: 90px;
          margin-left: 5px;
          margin-right: 5px
      }
      .bg-menu {
        background-color: #42a5f5;
        padding: 10px;
        border-radius: 5px 25px 5px 5px
      }
      .hargas {
        font-size: 11px
      }
      .namas {
        font-size: 10px
      } 

      /* ===== BANNER OVERLAY TEXT ===== */
.banner-slide {
  position: relative;
}

.banner-slide img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 16px;
}

/* overlay text */
.banner-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  color: #fff;

  background: linear-gradient(
    to top,
    rgba(0,0,0,.6),
    rgba(0,0,0,.05)
  );

  border-radius: 0 0 16px 16px;
}

/* title */
.banner-overlay h6 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

/* subtitle */
.banner-overlay p {
  margin: 2px 0 0;
  font-size: 12px;
  opacity: .9;
}

/* ===== RUNNING TEXT FANCY ANDROID ===== */
.running-text-wrapper.fancy {
  margin: 12px 6%;
  padding: 6px 0;
  overflow: hidden;
  border-radius: 10px;

  /* tutup desain */
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.22),
    rgba(255,255,255,0.08)
  );

  backdrop-filter: blur(8px);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.6),
    inset 0 -1px 2px rgba(0,0,0,0.15),
    0 4px 12px rgba(0,0,0,0.25);
}

/* container jalan */
.running-text {
  display: flex;
  width: max-content;
  animation: runningText 8s linear infinite;
}

/* TEKS TIMBUL */
.running-text span {
  white-space: nowrap;
  padding-right: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;

  color: #ffffff;

  /* efek timbul */
  text-shadow:
    0 1px 0 rgba(255,255,255,0.8),
    0 2px 3px rgba(0,0,0,0.4);
}

/* animasi */
@keyframes runningText {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* pause saat disentuh (android feel) */
.running-text-wrapper.fancy:active .running-text {
  animation-play-state: paused;
}

/* ===== ANDROID FOOTER ===== */
.android-footer {
  position: fixed;
  border-radius: 20px 20px 0 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--footer-height);
  background: #fff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -6px 15px rgba(0,0,0,.15);
}


/* ITEM */
.footer-item {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: #555;
}

/* ICON */
.footer-item img {
  width: 26px;
  display: block;
  margin: 0 auto 2px;
}

/* ACTIVE */
.footer-item.active {
  color: #1e88e5;
  font-weight: bold;
}

.footer-item.active img {
  filter: drop-shadow(0 2px 4px rgba(30,136,229,0.6));
}

/* FAB TENGAH */
.footer-item.center {
  position: relative;
  top: -18px;
}

.footer-item.center .footer-fab {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg,#2979ff,#1565c0);
  border-radius: 50%;
  margin-top: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
}

.footer-fab img {
  width: 30px;
}

/* =============================
   RUNNING NEWS WITH IMAGE
   ============================= */

.news-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  margin-top: 10px;
  padding-bottom: 10px;
}

.news-marquee {
  display: flex;
  gap: 14px;
  width: max-content;
  /* Tambahkan properti ini agar browser siap melakukan animasi */ 
  animation: news-marquee 25s linear infinite;
}

/* Tambahkan ini agar saat di-hover (sentuh), jalan beritanya berhenti sebentar */
.news-marquee:hover {
  animation-play-state: paused;
}


/* Pastikan pembungkusnya mengizinkan konten terlihat tapi membatasi area pandang */
.news-marquee-wrapper {
  overflow: hidden; /* Penting agar tidak merusak layout halaman */
  width: 100%;
  white-space: nowrap;
}

/* ITEM */
.news-marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  background: #ffffff;
  border-radius: 14px;
  padding: 8px 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,.15);
  text-decoration: none;
  color: #000;
}

/* IMAGE */
.news-marquee-item img {
  width: 55px;
  height: 55px;
  border-radius: 10px;
  object-fit: cover;
}

/* TEXT */
.news-text strong {
  font-size: 13px;
  display: block;
  color: #0d47a1;
}

.news-text span {
  font-size: 11px;
  color: #555;
}

@keyframes news-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Gunakan -50% jika isi konten diduplikasi (dua kali lipat) */
    /* Gunakan -100% jika ingin ditarik total sampai hilang */
    transform: translateX(-100%);
  }
}

/* Gaya Header Berita */
.news-header-modern {
  padding: 10px 5px;
  border-left: 4px solid #ff4757; /* Aksen warna merah di samping */
  background: linear-gradient(to right, rgba(255, 71, 87, 0.05), transparent);
}

.headline-title h4, 
.headline-title h5, 
.headline-title h6 {
  font-weight: 800;
  color: #2f3542;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Ukuran Spesifik */
.headline-title h4 { font-size: 1.2rem; }
.headline-title h5 { font-size: 1rem; }
.headline-title h6 { font-size: 0.85rem; }

/* Warna Penekanan (Span) untuk semua level heading */
.headline-title h4 span,
.headline-title h5 span,
.headline-title h6 span {
  color: #ff4757;
}

/* Badge LIVE Berkedip */
.badge-live {
  background-color: #ff4757;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: bold;
  vertical-align: middle;
  margin-right: 8px;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 71, 87, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}

.news-subtitle {
  font-size: 0.85rem;
  color: #747d8c;
  margin-top: 5px;
}

.btn-lihat-semua {
  font-size: 0.8rem;
  color: #57604f;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-lihat-semua:hover {
  color: #ff4757;
}

.divider-modern {
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
  margin: 20px 0;
}

/*berita modern templatenya */
/* Container utama bergaya Android Card */
    .android-wrapper {
        background: #EDF7F5; /* Warna putih bersih */
        border-radius: 28px; /* Sudut bulat khas Android 12+ */
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        border: 1px solid #f1f1f1;
        margin-bottom: 25px;
    }

    /* Header modern */
    .news-header-modern {
        border-left: 5px solid #007bff; /* Aksen warna primer */
        padding-left: 12px;
    }

    .headline-title h5 {
        font-weight: 800;
        color: #2c3e50;
        letter-spacing: -0.5px;
    }

    .headline-title h5 span {
        color: #007bff;
    }

    /* Gaya Ikon/Aplikasi (Grid Item) */
    .menu-item-android {
        transition: transform 0.2s ease, opacity 0.2s;
        padding: 10px 5px;
        border-radius: 18px;
    }

    .menu-item-android:active {
        transform: scale(0.9); /* Efek klik membal seperti Android */
        background-color: #f0f0f0;
    }

    /* Gambar squircle (bulat kotak) khas Android */
    .img-android-icon {
        width: 60px;
        height: 60px;
        object-fit: cover;
        border-radius: 18px; /* Squircle */
        background: #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        margin-bottom: 8px;
        border: 2px solid #fff;
    }

    .text-panel {
        font-weight: 600;
        color: #4a4a4a;
        line-height: 1.2;
        display: block;
    }

.chart-tabs {
    display: flex;
    background: #f1f2f6;
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 15px;
}

.tab-btn {
    flex: 1;
    border: none;
    padding: 10px;
    border-radius: 8px;
    background: transparent;
    font-weight: bold;
    color: #747d8c;
    transition: 0.3s;
    font-size: 0.9rem;
}

.tab-btn.active {
    background: #ffffff;
    color: #ff4757;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.chart-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    height: 200px;
}

.chart-wrapper {
    height: 100%;
    width: 100%;
    animation: fadeIn 0.5s ease;
}

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


.btn-back {
    position: absolute; top: 20px; left: 20px;
    background: rgba(255,255,255,0.9); border-radius: 50%;
    padding: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.mitra-item {
    display: flex; align-items: center; padding: 12px;
    background: #fff; border-radius: 15px; margin-bottom: 10px;
    border: 1px solid #f1f1f1;
}
.mitra-icon {
    width: 45px; height: 45px; border-radius: 12px;
    background: #eef2ff; display: flex; align-items: center;
    justify-content: center; margin-right: 15px;
}
.fab-button {
    position: fixed; bottom: 30px; right: 20px;
    border-radius: 50px; padding: 12px 25px;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
}

.tabcontent {
  animation: slideUp 0.4s ease-out;
}

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


/* Style saat tombol aktif (Halaman yang sedang dibuka) */
.tablinks.active {
    opacity: 1; /* Terang maksimal */
    background: rgba(255, 255, 255, 0.2); /* Background transparan putih */
    border-radius: 10px;
    border-bottom: 3px solid #ffd700; /* Garis bawah warna emas */
}

   /* Kotak ID Card Utama */
    .id-card-header {
        background: #100B4D !important;
        border-radius: 20px !important;
        padding: 20px 15px;
        border: 1px solid rgba(255,255,255,0.1);
        text-align: left !important; /* Paksa semua isi kartu rata kiri */
    }

    /* Container untuk baris data */
    .data-row {
        display: flex;
        align-items: flex-start; /* Sejajar dari atas teks */
        margin-bottom: 0px; /* Jarak antar baris */
        width: 110%;
    }

    /* Label (Sebelah Kiri) */
    .label-box {
        width: 55px; /* Lebar statis agar teks kanan sejajar lurus */
        flex-shrink: 0; /* Label tidak akan menyempit */
    }

    .label-text {
        font-size: 10px;
        color: #ffffff; /* Warna emas */
        font-weight: 200;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    /* Isi Data (Sebelah Kanan) */
    .value-box {
        flex-grow: 1;
        padding-left: 0px;
        border-left: 1px solid rgba(255,255,255,0.1); /* Garis pembatas tipis tengah */
    }

    .value-text {
        color: #ffffff;
        margin: 0;
        line-height: 1.2;
        word-break: break-word; /* Agar email panjang tidak merusak layout */
    }

  /* Kontainer Berita */
    .news-container { padding: 15px; }
    .section-title { font-weight: 800; font-size: 1.1rem; color: #333; margin-bottom: 1px; display: flex; justify-content: space-between; }
    
    /* Card Berita Trend */
    .news-card {
        background: white;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        margin-bottom: 20px;
        position: relative;
        border: 1px solid #f1f3f5;
    }
    
    .news-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }
    
    .news-badge {
        position: absolute;
        top: 15px;
        left: 15px;
        background: #390C7D;
        color: white;
        padding: 4px 12px;
        border-radius: 50px;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
    }
    
    .news-body { padding: 15px; }
    .news-date { font-size: 11px; color: #adb5bd; margin-bottom: 5px; display: block; }
    .news-title { font-size: 16px; font-weight: 700; color: #212529; line-height: 1.4; margin-bottom: 8px; }
    .news-excerpt { font-size: 13px; color: #6c757d; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    .welcome-section {
        padding: 0px 15px;
    }
    .welcome-card {
        background: white;
        border-radius: 25px;
        padding: 5px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.05);
        border: 1px solid #f8f9fa;
        position: relative;
        overflow: hidden;
    }
    /* Dekorasi Background */
    .welcome-card::before {
        content: "";
        position: absolute;
        top: -50px;
        right: -50px;
        width: 150px;
        height: 150px;
        background: #390C7D;
        opacity: 0.03;
        border-radius: 50%;
    }
    .profile-frame {
        width: 85px;
        height: 85px;
        border-radius: 50%;
        border: 3px solid #390C7D;
        padding: 3px;
        margin: 0 auto 6px auto;
    }
    .profile-frame img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }
    .welcome-title {
        font-size: 13px;
        font-weight: 700;
        color: #390C7D;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 6px;
        display: block;
    }
    .welcome-text {
        font-size: 12px;
        color: #555;
        line-height: 1.2;
        font-style: normal;
        margin-bottom: 10px;
        position: relative;
    }
    /* Ikon Kutip */
    .welcome-text::before {
        content: '"';
        font-size: 40px;
        color: #390C7D;
        opacity: 0.1;
        position: absolute;
        top: -20px;
        left: -10px;
    }
    .officer-info h6 {
        margin: 0;
        font-weight: 800;
        color: #333;
        font-size: 15px;
    }
    .officer-info p {
        margin: 0;
        font-size: 11px;
        color: #390C7D;
        font-weight: 600;
        text-transform: uppercase;
    }

    .stats-section {
        padding: 0 15px;
        margin-top: 20px;
    }
    .stats-card {
        background: linear-gradient(135deg, #390C7D 0%, #6320ee 100%);
        border-radius: 20px;
        padding: 20px;
        color: white;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 10px 20px rgba(57, 12, 125, 0.2);
    }
    .stats-info h2 {
        font-size: 28px;
        font-weight: 800;
        margin: 0;
    }
    .stats-info p {
        font-size: 12px;
        margin: 0;
        opacity: 0.8;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .stats-icon-circle {
        background: rgba(255, 255, 255, 0.2);
        width: 55px;
        height: 55px;
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .stats-section {
        padding: 0 15px;
        margin-top: 15px;
    }
    /* Warna berbeda: Gradasi Orange Gold */
    .stats-card-alt {
        background: linear-gradient(135deg, #FF8C00 0%, #FF4500 100%);
        border-radius: 20px;
        padding: 20px;
        color: white;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 10px 20px rgba(255, 140, 0, 0.2);
    }
    .stats-info h2 {
        font-size: 28px;
        font-weight: 800;
        margin: 0;
    }
    .stats-info p {
        font-size: 12px;
        margin: 0;
        opacity: 0.9;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 600;
    }
    .stats-icon-circle-alt {
        background: rgba(255, 255, 255, 0.25);
        width: 55px;
        height: 55px;
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Filter Kategori Horizontal */
    .filter-wrapper {
        display: flex;
        overflow-x: auto;
        padding: 15px;
        gap: 10px;
        white-space: nowrap;
        scrollbar-width: none; /* Sembunyikan scrollbar Firefox */
    }
    .filter-wrapper::-webkit-scrollbar { display: none; } /* Sembunyikan scrollbar Chrome */

    .cat-pill {
        padding: 8px 18px;
        background: #f0f2f5;
        border-radius: 50px;
        font-size: 13px;
        font-weight: 600;
        color: #65676b;
        border: none;
        transition: 0.3s;
    }
    .cat-pill.active {
        background: #390C7D;
        color: white;
        box-shadow: 0 4px 10px rgba(57, 12, 125, 0.3);
    }

    /* Layout Berita Unik */
    .news-grid { padding: 0 15px 80px 15px; }
    
    .modern-card {
        display: flex;
        background: white;
        border-radius: 18px;
        margin-bottom: 15px;
        padding: 12px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.04);
        align-items: center;
        border: 1px solid #f8f9fa;
    }

    .news-img-wrapper {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
        border-radius: 12px;
        overflow: hidden;
    }
    .news-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .news-content {
        margin-left: 15px;
        flex-grow: 1;
    }

    .cat-label {
        color: #390C7D;
        font-size: 10px;
        font-weight: 800;
        text-transform: uppercase;
        margin-bottom: 4px;
        display: block;
    }

    .news-title-link {
        font-size: 14px;
        font-weight: 700;
        color: #212529;
        line-height: 1.3;
        margin-bottom: 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-meta {
        font-size: 11px;
        color: #adb5bd;
        display: flex;
        align-items: center;
        gap: 5px;
    }

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

.news-header-container {
    background: linear-gradient(135deg, # 0%, #6320ee 100%);
    padding: 25px 20px 20px 20px;
    border-radius: 20px 20px 0px 0px;
    position: relative;
    margin-bottom: 30px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: black;
    margin-bottom: 20px;
}

.header-greeting h4 {
    margin: 0;
    font-weight: 800;
    font-size: 20px;
}

.header-greeting p {
    margin: 0;
    font-size: 12px;
    opacity: 0.8;
}

.search-box-container {
    position: absolute;
    bottom: -25px;
    left: 20px;
    right: 20px;
}

.search-wrapper {
    background: white;
    padding: 12px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.search-wrapper input {
    border: none;
    outline: none;
    margin-left: 10px;
    font-size: 14px;
    width: 100%;
    color: #333;
}

.trending-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: bold;
    color: white;
    margin-top: 2px;
    backdrop-filter: blur(5px);
}

/* Sembunyikan scrollbar di Chrome/Safari agar terlihat seperti app native */
    ::-webkit-scrollbar { display: none; }

.btn-floating { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 1000; }
.modal-content { border-radius: 20px; border: none; }
.modal-header { border-bottom: none; padding-top: 25px; }
.form-control, .form-select { border-radius: 12px; padding: 12px; background-color: #f1f3f5; border: none; font-size: 14px; }
.form-control:focus { background-color: #e9ecef; box-shadow: none; }

/* STANDAR UKURAN KARTU ID (CR-80) */
#kta-download-area {
    /* Mencegah pergeseran pixel saat rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

./* CSS Tambahan agar gambar tajam */
#kta-download-area {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.kta-card {
    width: 325px; 
    height: 204px;
    position: relative;
    overflow: hidden;
    margin: 10px auto;
    border-radius: 10px;
    
    /* Mencegah blur pada background */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    
    /* Memastikan background memenuhi kotak tanpa sisa */
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    
    /* Optimal untuk render html2canvas */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container untuk memastikan foto tajam */
.foto-user {
    object-fit: cover;
    image-rendering: auto;
}

.kta-card {
    width: 325px; 
    height: 204px;
    position: relative;
    overflow: hidden;
    margin: 10px auto;
    border-radius: 10px;
    
    /* Mencegah blur pada background */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    
    /* Memastikan background memenuhi kotak tanpa sisa */
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    
    /* Optimal untuk render html2canvas */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container untuk memastikan foto tajam */
.foto-user {
    object-fit: cover;
    image-rendering: auto;
}

.pengesahan-container {
    position: absolute;
    bottom: 0px; /* Jarak dari bawah kartu */
    right: 10px;  /* Jarak dari sisi kanan kartu */
    width: 120px; /* Lebar area pengesahan */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-code-back {
    margin: 1px 0; /* Jarak antara tanggal dan QR Code */
    width: 45px;
    height: 45px;
    background: #fff;
    padding: 2px;
    border: 0.5px solid #eee;
}

.qr-code-back img {
    width: 100%;
    height: 100%;
}

.kta-back-header {
    position: absolute;
    top: 43px; /* Menyesuaikan posisi di bawah logo/banner biru atas */
    width: 100%;
    text-align: center;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 9px;
    color: #003366; /* Warna biru gelap agar senada dengan Karang Taruna */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/*baru kta*/
.kta-box {
    width: 325px; 
    height: 204px;
    position: relative;
    overflow: hidden;
    margin: 10px auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    /* Penting agar render background tidak blur */
    image-rendering: -webkit-optimize-contrast;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.kta-content {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.masa-berlaku{
    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    padding: 17px 9px;
    color: #000;
    font-size: 7.5px;
    font-family: Arial, sans-serif;
    font-weight: 500;

    /* bentuk segitiga kanan seperti contoh */
    clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%);
}

/* Mengatur posisi teks di area putih sebelah kiri */
.data-text-overlay {
    position: absolute;
    top: 48px; /* Menyesuaikan jarak dari header biru */
    left: 15px;
    width: 185px;
}

.kta-nama-besar {
    font-size: 10px;
    font-weight: bold;
    color: #000;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
}

.kta-table-mini {
    width: 100%;
    font-size: 7px;
    font-family: Arial, sans-serif;
    color: #000;
    line-height: 1.2;
}

.kta-table-mini td {
    padding: 0.5px 0;
    vertical-align: top;
}

/* Mengatur bingkai foto di area putih sebelah kanan */
.foto-box-overlay {
    position: absolute;
    top: 48px;
    right: 15px;
    width: 92px;
    height: 125px;
    overflow: hidden;
    background: #fff;
    border: 0.5px solid #ccc;
}

.foto-box-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* DATA OVERLAY DEPAN */
.overlay-depan {
    position: absolute;
    top: 29%;
    left: 5%;
    width: 60%;
    font-size: 7px;
    color: #000;
    font-weight: bold;
    line-height: 1.3;
}

.nama-user {
    font-size: 11px;
    color: #000;
    display: block;
    margin-bottom: 5px;
    text-shadow: 0.5px 0.5px #fff;
}

.row-data { display: flex; margin-bottom: 1px; }
.lbl-data { width: 55px; }

/* Container Header di dalam kta-box */
.kta-header-overlay {
    position: absolute;
    top: 0;
    left: 0; /* Tetap 0 sebagai jangkar */
    width: 100%;
    height: 45px; 
    display: flex;
    align-items: center;
    padding-left: 8px; /* Kecilkan angka ini untuk menggeser ke kiri */
    z-index: 10;
}

.logo-kta-header {
    width: 40px; /* Sedikit dikecilkan agar pas di sudut */
    height: auto;
}

.text-header-container {
    margin-left: 5px; /* Jarak antara logo dan teks dipersempit */
    color: #FFFFFF;
    font-family: 'Arial Black', Gadget, sans-serif;
    line-height: 1;
}

.text-main {
    font-size: 11px;
    font-weight: ;
    letter-spacing: 0.5px;
    display: block;
}

.text-sub {
    font-size: 8px;
    font-weight: ;
    display: block;
    letter-spacing: 0px;
}

/* Teks Biru "KARTU ANGGOTA..." di bawah header */
.title-kartu {
    position: absolute;
    top: 42px;
    width: 70%;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    color: #003366;
    text-transform: uppercase;
}

/* FOTO PROFIL KANAN */
.foto-user {
    position: absolute;
    top: 24%;
    right: 6%;
    width: 30%;
    height: 58%;
    object-fit: contain;
    background: #fff;
}

/* QR CODE BELAKANG */
.qr-code {
    position: absolute;
    bottom: 6%;
    right: 20%;
    width: 14%;
    aspect-ratio: 1/1;
    background: transparent;
    padding: 2px;
    border-radius: 2px;
}

.qr-code img {
    width: 35px;
    height: 35px;
}

.btn-download { border-radius: 50px; font-weight: bold; width: 100%; max-width: 400px; margin: 0 auto; display: block; }

.qr-wrapper {
    position: absolute;
    bottom: 25px;
    right: 75px;
    background: transparent;
    padding: 1px;
    border-radius: 10px;
    box-shadow: ;
}

.qr-wrapper img {
    width: 35px;
    height: 35px;
}

.kta-wrapper{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    justify-content:center;
}

/* UKURAN STANDAR KARTU */
.kta-card{
    width:85.6mm;
    height:53.98mm;
    border-radius:12px;
    overflow:hidden;
    position:relative;
    box-shadow:0 6px 18px rgba(0,0,0,.35);
    background-size:cover;
    background-position:center;
    font-family:Arial, sans-serif;
}

/* FOTO */
.kta-photo{
    width:18mm;
    height:22mm;
    object-fit:cover;
    border-radius:6px;
    border:2px solid #fff;
}

/* OVERLAY DEPAN */
.kta-overlay{
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    padding:6px 8px;
    background:rgba(0,0,0,.55);
    color:#fff;
    font-size:6.5pt;
}

/* ROW DATA */
.kta-row{
    display:flex;
}
.kta-label{
    width:22mm;
    font-weight:bold;
}

/* QR */
.kta-qr{
    position:absolute;
    right:6mm;
    bottom:6mm;
    background:#fff;
    padding:2mm;
    border-radius:6px;
}
.kta-qr img{
    width:18mm;
}

/* NAMA */
.kta-name{
    font-weight:bold;
    font-size:8pt;
    margin-top:2mm;
}

.hr-kta {
    margin: 0.2rem;
    border: none;
    border-top: 1px solid #b5b5b5; /* abu-abu */
    opacity: 1;
}

/* CETAK */
@media print{
    body{
        background:white;
    }
    .no-print{
        display:none;
    }
}

.btn-sm {
    padding-top: 6px;
    padding-bottom: 6px;
}

:root {
        --primary-blue: #1e3a8a;
        --accent-color: #3b82f6;
    }
    body { background-color: #f0f2f5; font-family: 'Segoe UI', Roboto, sans-serif; }
    
    /* Peta Style */
    #map { 
        height: 350px; 
        width: 100%; 
        border-radius: 20px; 
        box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
        border: 1px solid #ddd;
    }
    
    .panel-map {
        background: #ffffff;
        border-radius: 25px;
        padding: 15px;
        margin: 10px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

.section-title { background: #e7f1ff; color: #0d6efd; padding: 6px 12px; border-radius: 8px; font-size: 11px; margin-top: 15px; margin-bottom: 10px; text-transform: uppercase; }

.label { font-size: 11px; font-weight: 600; color: #777; margin-bottom: 2px; }
.form-control, .form-select { font-size: 13px; padding: 6px 10px; border-radius: 8px; }
.form-control-readonly { background-color: #fdfdfd !important; color: #333; font-weight: 600; border-left: 3px solid #0d6efd; }
.fixed-bottom { background: white; border-top: 1px solid #eee; padding: 10px; }

.card-anggota-sekitar {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 10px;
    border: 1px solid #eee;
    margin-bottom: 5px;
}

.card-anggota-sekitar img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.info-member h6 {
    margin: 0;
    font-size: 13px;
    font-weight: bold;
    color: #333;
}

.info-member p {
    margin: 0;
    font-size: 11px;
    color: #666;
}

.badge-jarak {
    margin-left: auto;
    font-size: 10px;
    background: #e7f1ff;
    color: #0d6efd;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: bold;
}

.app-bar { background: white; padding: 15px; border-radius: 0 0 20px 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.search-card { background: white; border-radius: 15px; padding: 15px; margin-top: -20px; z-index: 1000; position: relative; }

#map { height: 300px; width: 100%; border-radius: 20px; margin: 15px 0; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

.member-card { 
    background: white; 
    border-radius: 15px; 
    padding: 12px; 
    margin-bottom: 12px;
    display: flex; 
    align-items: center; 
    border: 1px solid #edf2f7;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.member-card img { 
    width: 55px; 
    height: 55px; 
    border-radius: 50%; /* Membuat foto jadi bulat sempurna */
    object-fit: cover; 
    margin-right: 15px;
    border: 2px solid #0d6efd;
}

.member-info h6 { margin: 0; font-weight: 700; color: #2d3748; }
.member-info p { margin: 0; font-size: 12px; color: #718096; }

.footer-nav { 
    position: fixed; bottom: 0; width: 100%; background: white; 
    display: flex; justify-content: space-around; padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05); border-radius: 20px 20px 0 0;
}
.nav-item { text-align: center; color: #a0aec0; text-decoration: none; font-size: 11px; }
.nav-item.active { color: var(--primary-color); }
.nav-item i { font-size: 20px; display: block; }

.card { transition: transform 0.2s ease; }
.card:active { transform: scale(0.97); } /* Efek saat ditekan jari */

.bg-light {
    background-color: #f8f9fa !important;
}

.text-primary {
    color: #0d6efd !important;
}

/* --- Card Styling --- */
.card-custom {
    background: #fff;
    border-radius: 20px;
    padding: 15px;
    margin: 0 12px 15px 12px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #f1f3f5;
}

.card-accent {
    position: absolute; left: 0; top: 20%; bottom: 20%;
    width: 4px; background: #0061ff; border-radius: 0 4px 4px 0;
}

/* --- Typography --- */
.member-name { font-size: 13px; font-weight: 700; color: #2d3436; margin: 0; }
.member-role { font-size: 11px; font-weight: 700; color: #0061ff; text-transform: uppercase; margin: 4px 0; }
.address-box { 
    background: #f8f9fa; border-radius: 10px; padding: 6px 10px; 
    font-size: 12px; color: #636e72; display: flex; align-items: center; 
}

/* --- Avatar --- */
.avatar-wrapper { position: relative; width: 60px; height: 60px; flex-shrink: 0; }
.avatar-img { width: 100%; height: 100%; border-radius: 15px; object-fit: cover; }
.status-indicator { 
    position: absolute; bottom: -2px; right: -2px; width: 12px; height: 12px; 
    background: #2ecc71; border: 2px solid #fff; border-radius: 50%; 
}

/* --- WA Icon --- */
.wa-icon-link {
    width: 32px; height: 32px; background: #e1f7ec; color: #27ae60;
    border-radius: 8px; display: flex; align-items: center; justify-content: center; text-decoration: none;
}

/* --- Pagination Styling --- */
.pagination-container {
    display: flex; justify-content: center; align-items: center; gap: 8px; margin: 30px 0 80px 0;
}
.pg-num, .pg-nav {
    border: none; background: #fff; width: 38px; height: 38px; border-radius: 12px;
    font-weight: 700; color: #636e72; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: 0.3s;
}
.pg-num.active { background: #0061ff; color: #fff; box-shadow: 0 4px 12px rgba(0, 97, 255, 0.3); }
.pg-num:active, .pg-nav:active { transform: scale(0.9); }

/* Box Alamat - Ukuran proporsional untuk teks panjang */
.address-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12px; /* Ukuran standar pembacaan di HP */
    color: #636e72;
    line-height: 1.4;
    display: flex;
    align-items: center;
}

/* Ukuran Ikon di dalam Alamat */
.address-box i {
    font-size: 13px;
}

/* Ukuran Ikon WhatsApp */
.wa-icon-link {
    font-size: 18px; /* Ukuran ikon di dalam tombol */
    width: 35px;
    height: 35px;
    /* ... style lainnya tetap ... */
}

.app-bar {
    background: #fff;
    padding: 15px 0;
    border-radius: 0 0 25px 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.btn-location {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: none;
    background: rgba(0, 97, 255, 0.1);
    color: #0061ff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-location:active {
    transform: scale(0.9);
    background: #0061ff;
    color: #fff;
}

.btn-location i {
    font-size: 18px;
}

.dot-main {
    width: 12px;
    height: 12px;
    background-color: #007bff;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}
.dot-pulse {
    position: absolute;
    top: 0; left: 0;
    width: 12px;
    height: 12px;
    background-color: rgba(0, 123, 255, 0.4);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(4); opacity: 0; }
}

.wrapper-sambutan {
        background: linear-gradient(135deg, #D8F2ED 0%, #EDF7F5 100%); /* Background Utama Gradient */
        padding: 30px 15px;
        border-radius: 25px;
        position: relative;
        overflow: hidden;
    }

    /* Dekorasi Lingkaran Abstrak di Background */
    .wrapper-sambutan::before {
        content: "";
        position: absolute;
        width: 150px;
        height: 150px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        top: -50px;
        right: -50px;
    }

    .android-card-premium {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        border: none;
        box-shadow: 0 15px 35px rgba(0,0,0,0.2);
        padding: 25px;
        position: relative;
    }

    .android-stat-card {
        margin-bottom: 5px !important;
        padding: 15px !important;
    }

    /* Memastikan headline tidak terlalu jauh dari grafik */
    .headline-modern {
        margin-bottom: 10px !important;
    }

    .profile-frame-premium {
        width: 75px;
        height: 75px;
        border-radius: 50%;
        object-fit: cover;
        border: 4px solid #fff;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        background: #eee;
    }

    .quote-icon-bg {
        position: absolute;
        top: 20px;
        right: 25px;
        font-size: 40px;
        color: rgba(118, 75, 162, 0.1);
    }

    .judul-sambutan {
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    }

    .sambutan-text-premium {
        font-family: 'Georgia', serif;
        font-size: 15px;
        line-height: 1.7;
        color: #444;
        font-style: italic;
        position: relative;
        z-index: 2;
    }

    .badge-jabatan {
        background: linear-gradient(to right, #667eea, #764ba2);
        color: white;
        padding: 5px 12px;
        border-radius: 50px;
        font-size: 10px;
        font-weight: 600;
        text-transform: uppercase;
    }

    .android-alert-info {
        background: #e7f1ff; /* Warna biru muda Material */
        border: 1px solid rgba(0, 123, 255, 0.1);
        border-radius: 0px; /* Sudut sangat bulat khas Android 12+ */
        padding: 5px 8px;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        margin: 1px 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    }

    /* Dekorasi lingkaran halus di background */
    .android-alert-info::after {
        content: "";
        position: absolute;
        width: 100px;
        height: 100px;
        background: rgba(0, 123, 255, 0.05);
        border-radius: 50%;
        right: -30px;
        bottom: -30px;
    }

    .alert-content {
        flex-grow: 1;
    }

    .alert-title {
        display: block;
        font-weight: 800;
        font-size: 13px;
        color: #0056b3;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 2px;
    }

    .alert-desc {
        display: block;
        font-size: 12px;
        color: #495057;
        line-height: 1.5;
        font-weight: 500;
    }

    .bekasi-badge {
        background: rgba(0, 123, 255, 0.1);
        color: #007bff;
        padding: 2px 8px;
        border-radius: 6px;
        font-weight: 700;
        font-size: 11px;
    }

    .btn-read-more {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* Gradasi warna primer */
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 50px; /* Sangat bulat khas Android modern */
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: none;
    margin-top: 15px;
}

/* Efek saat tombol ditekan (Ripple effect manual) */
.btn-read-more:active {
    transform: scale(0.95); /* Mengecil sedikit saat ditekan */
    box-shadow: 0 2px 8px rgba(118, 75, 162, 0.4);
}

/* Jika Anda ingin tombol varian putih/outline */
.btn-outline-android {
    background: white;
    color: #764ba2;
    border: 2px solid #764ba2;
}

/* Desain Container Utama */
    .android-stat-card {
        background: #ffffff;
        border-radius: 24px; /* Sudut bulat lebar khas Android terbaru */
        padding: 24px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
        border: 1px solid #f0f2f5;
        margin-bottom: 20px;
    }

    /* Header Modern */
    .headline-modern {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

    .headline-modern .icon-box {
        width: 40px;
        height: 40px;
        background: #e7f1ff;
        color: #007bff;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 12px;
        font-size: 18px;
    }

    .headline-modern h5 {
        font-weight: 800;
        font-size: 16px;
        color: #1a1c1e;
        margin: 0;
        letter-spacing: -0.3px;
    }

    .headline-modern h5 span {
        color: #6c757d;
        display: block;
        font-size: 12px;
        font-weight: 500;
        text-transform: uppercase;
        margin-top: 2px;
    }

    /* Badge Ranking */
    .top-badge {
        background: #fff4e5;
        color: #ff9800;
        padding: 4px 12px;
        border-radius: 50px;
        font-size: 10px;
        font-weight: 800;
        margin-left: auto;
    }

    /* Container Utama */
    .android-stat-section {
        background: #fdfdfd;
        border-radius: 28px;
        padding: 20px;
        margin-bottom: 30px;
    }

    /* Tab Switcher Gaya Chip */
    .chart-tabs {
        display: flex;
        gap: 10px;
        background: #f1f3f4;
        padding: 5px;
        border-radius: 50px;
        margin-bottom: 20px;
    }

    .tab-btn {
        flex: 1;
        border: none;
        background: transparent;
        padding: 10px 15px;
        border-radius: 50px;
        font-size: 12px;
        font-weight: 700;
        color: #5f6368;
        transition: all 0.3s ease;
        outline: none !important;
    }

    .tab-btn.active {
        background: #ffffff;
        color: #007bff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    /* Box Grafik */
    .chart-box {
        background: white;
        border-radius: 20px;
        padding: 15px;
        height: 250px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .chart-wrapper {
        width: 100%;
        height: 220px;
    }

    .cs-container {
        background: #fdfdfd;
        border-radius: 28px;
        padding: 24px;
        margin: 20px 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        border: 1px solid #f1f1f1;
    }

    .cs-header {
        text-align: center;
        margin-bottom: 25px;
    }

    .cs-header .logo-kantor {
        width:;
        margin-bottom: 15px;
        filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    }

    .cs-header h5 {
        font-weight: 800;
        color: #2d3436;
        margin-bottom: 5px;
    }

    .cs-header p {
        font-size: 13px;
        color: #636e72;
    }

    /* List Informasi */
    .info-item {
        display: flex;
        align-items: flex-start;
        margin-bottom: 20px;
        padding: 12px;
        background: #f8f9fa;
        border-radius: 18px;
        transition: 0.3s;
    }

    .info-item:active {
        background: #e9ecef;
        transform: scale(0.98);
    }

    .info-icon {
        width: 40px;
        height: 40px;
        background: #007bff;
        color: white;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 15px;
        flex-shrink: 0;
        box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
    }

    .info-text label {
        display: block;
        font-size: 11px;
        font-weight: 700;
        color: #007bff;
        text-transform: uppercase;
        margin-bottom: 2px;
    }

    .info-text span {
        font-size: 13px;
        color: #2d3436;
        font-weight: 600;
        line-height: 1.4;
    }

    /* Tombol Aksi Cepat */
    .cs-action-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: 25px;
    }

    .btn-cs {
        border: none;
        padding: 12px;
        border-radius: 15px;
        font-size: 12px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
        transition: 0.3s;
    }

    .btn-wa { background: #25D366; color: white; }
    .btn-mail { background: #f1f3f4; color: #3c4043; }

    .wisata-container {
        padding: 15px;
        background: #f8f9fa;
    }

    .header-wisata-premium {
        display: flex;
        align-items: center;
        background: #ffffff;
        padding: 15px;
        border-radius: 20px;
        margin-bottom: 25px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
        border: 1px solid #f0f0f0;
    }

    .destinasi-card {
        background: ;
        border-radius: 24px;
        overflow: hidden;
        margin-bottom: 0px;
        box-shadow: 0 4px 15px rgba(0,0,0,0);
        border: px solid #;
        transition: transform 0.2s;
    }

    .destinasi-card:active {
        transform: scale(0.98);
    }

    .image-wrapper {
        position: relative;
        height: 180px;
    }

    .image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .kategori-badge {
        position: absolute;
        top: 15px;
        left: 15px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(5px);
        padding: 5px 12px;
        border-radius: 50px;
        font-size: 10px;
        font-weight: 800;
        color: #007bff;
        text-transform: uppercase;
    }

    .destinasi-info {
        padding: 15px;
    }

    .destinasi-info h6 {
        font-weight: 800;
        color: #2d3436;
        margin-bottom: 5px;
        font-size: 16px;
    }

    .destinasi-info p {
        font-size: 12px;
        color: #636e72;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .btn-lokasi {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        background: #e7f1ff;
        color: #007bff;
        padding: 8px 16px;
        border-radius: 50px;
        font-size: 11px;
        font-weight: 700;
        text-decoration: none;
    }

    /* Container untuk scroll horizontal */
    .filter-wrapper {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        padding: 10px 0;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Sembunyikan scrollbar Firefox */
    }
    .filter-wrapper::-webkit-scrollbar {
        display: none; /* Sembunyikan scrollbar Chrome/Safari */
    }

    /* Style tombol Chip */
    .filter-chip {
        display: inline-block;
        padding: 10px 20px;
        background: #ffffff;
        color: #5f6368;
        border: 1.5px solid #e0e0e0;
        border-radius: 50px;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    /* Warna saat tombol Aktif */
    .filter-chip.active {
        background: #007bff;
        color: white;
        border-color: #007bff;
        box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
    }

    .filter-chip {
        display: inline-block;
        padding: 8px 18px;
        background: #f1f3f4;
        color: #5f6368;
        border-radius: 50px;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
        transition: 0.3s;
    }
    .filter-chip.active {
        background: #007bff;
        color: #fff;
        box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
    }
    .page-item.active .page-link {
        background-color: #007bff !important;
    }
    .filter-wrapper::-webkit-scrollbar {
        display: none;
    }

    /* Hero Image Section */
    .hero-detail {
        position: relative;
        height: 350px;
        width: 100%;
    }
    .hero-detail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .btn-back-floating {
        position: absolute;
        top: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
        background: rgba(255,255,255,0.9);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #333;
        text-decoration: none;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 10;
    }

    /* Content Card */
    .detail-body {
        background: white;
        margin-top: -40px;
        border-radius: 35px 35px 0 0;
        padding: 30px 20px 100px 20px; /* Padding bawah extra untuk bottom bar */
        position: relative;
        box-shadow: 0 -10px 20px rgba(0,0,0,0.05);
    }

    .cat-badge {
        display: inline-block;
        background: #e7f1ff;
        color: #007bff;
        padding: 6px 16px;
        border-radius: 50px;
        font-size: 11px;
        font-weight: 800;
        margin-bottom: 12px;
        text-transform: uppercase;
    }

    .title-detail {
        font-size: 20px;
        font-weight: 800;
        color: #202124;
        margin-bottom: 15px;
    }

    .info-row {
        display: flex;
        gap: 15px;
        margin-bottom: 25px;
    }
    .info-card {
        flex: 1;
        background: #f8f9fa;
        padding: 12px;
        border-radius: 18px;
        text-align: center;
    }
    .info-card i { color: #007bff; font-size: 18px; margin-bottom: 5px; }
    .info-card span { display: block; font-size: 10px; color: #636e72; font-weight: 600; }

    .desc-text {
        font-size: 14px;
        color: #5f6368;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    /* Floating Bottom Action */
    .bottom-action {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 15px 20px;
        display: flex;
        gap: 12px;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
        z-index: 100;
    }
    .btn-maps {
        flex: 1;
        background: #007bff;
        color: white;
        padding: 14px;
        border-radius: 16px;
        font-weight: 700;
        text-align: center;
        text-decoration: none;
    }
    .btn-contact {
        width: 55px;
        height: 55px;
        background: #25d366;
        color: white;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        text-decoration: none;
    }

    .info-card {
        transition: all 0.2s ease;
    }
    .info-card:active {
        transform: scale(0.92);
        background-color: #e9ecef;
    }

    .desc-text {
        text-align: justify;
        text-justify: inter-word; /* Mengatur spasi antar kata lebih halus */
        line-height: 1.6;         /* Memberi ruang antar baris */
        color: #444;              /* Warna teks yang nyaman di mata */
        font-size: 14px;
    }

    /* Memberikan jarak jika ada tag <br> (baris baru) */
    .desc-text br {
        content: "";
        margin: 10px 0;
        display: block;
    }

    /* Background utama aplikasi agar kartu terlihat menonjol */
    .android-wrapper {
        background-color: #F7F9FC;
        padding: 16px;
        min-height: 10vh;
    }

    /* Styling Kartu Perusahaan */
    .card-industri {
        background: #ffffff;
        border-radius: 20px; /* Sudut sangat melengkung khas Android 13+ */
        padding: 18px;
        margin-bottom: 16px;
        border: 1px solid rgba(0, 0, 0, 0.03);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Shadow halus */
        transition: all 0.2s ease-in-out;
        position: relative;
        overflow: hidden;
    }

    /* Efek saat kartu ditekan/diklik */
    .card-industri:active {
        transform: scale(0.97);
        background-color: #FAFAFA;
    }

    /* Badge Sektor */
    .badge-kategori {
        background-color: #E3F2FD;
        color: #1976D2;
        font-size: 10px;
        font-weight: 700;
        padding: 5px 12px;
        border-radius: 10px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Nama Perusahaan */
    .nama-PT {
        font-size: 17px;
        font-weight: 800;
        color: #212121;
        margin-top: 10px;
        margin-bottom: 4px;
        display: block;
    }

    /* Info Lokasi & Detail */
    .info-sub {
        font-size: 13px;
        color: #757575;
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 4px;
    }

    .icon-small {
        color: #1976D2;
        width: 14px;
    }

    /* Tombol Aksi Android Style */
    .btn-action {
        background-color: #1976D2;
        color: white;
        text-align: center;
        padding: 12px;
        border-radius: 14px;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        display: block;
        margin-top: 15px;
        border: none;
    }

    .btn-action:hover {
        background-color: #1565C0;
        color: white;
    }

    .pagination-container {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin: 30px 0 0px 0; /* Jarak bawah ekstra untuk footer menu */
    }

    .page-link-android {
        padding: 10px 20px;
        border-radius: 25px; /* Pill shape */
        background: white;
        color: #1976D2;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        transition: 0.3s;
        border: 1px solid #eee;
    }

    .page-link-android.active {
        background: #1976D2;
        color: white;
        border-color: #1976D2;
    }

    .page-link-android.disabled {
        color: #ccc;
        pointer-events: none;
        background: #f9f9f9;
    }

    .page-info {
        font-size: 13px;
        color: #888;
        font-weight: 500;
    }

    
    /* Kontainer utama kartu */
    .loker-modern-card {
        background: #ffffff;
        border-radius: 24px; /* Lebih membulat khas Android 14 */
        padding: 25px;
        margin-bottom: 16px;
        border: 1px solid #f0f0f0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
        position: relative;
        transition: all 0.3s ease;
        text-decoration: none !important;
        display: block;
    }

    /* Efek saat kartu ditekan */
    .loker-modern-card:active {
        transform: scale(0.97);
        background-color: #f8faff;
    }

    /* Ikon Samping */
    .job-icon-circle {
        width: 45px;
        height: 45px;
        background: #eef4ff;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1976D2;
        font-size: 20px;
    }

    /* Badge/Tag Modern */
    .loker-tag {
        background: #f1f3f5;
        color: #495057;
        padding: 6px 14px;
        border-radius: 10px;
        font-size: 11px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .tag-blue { background: #e3f2fd; color: #1976D2; }

    .job-title-text {
        font-size: 17px;
        color: #1a1c1e;
        font-weight: 700;
        margin-bottom: 4px;
        line-height: 1.3;
    }

    .posted-date {
        font-size: 12px;
        color: #909499;
    }

    .fixed-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px); /* Efek kaca transparan modern */
        padding: 15px 0;
        border-top: 1px solid #eee;
        z-index: 1000;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
    }

    .apply-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        padding: 0 px;0
    }

    .btn-apply-modern {
        background: linear-gradient(135deg, #1976D2, #1565C0);
        color: white !important;
        text-decoration: none;
        padding: 14px 24px;
        border-radius: 16px;
        font-weight: 700;
        flex-grow: 1;
        text-align: center;
        box-shadow: 0 6px 15px rgba(25, 118, 210, 0.3);
        transition: all 0.3s ease;
    }

    .btn-apply-modern:active {
        transform: scale(0.96);
        box-shadow: 0 2px 8px rgba(25, 118, 210, 0.2);
    }

    .btn-text {
        font-size: 14px;
        letter-spacing: 0.2px;
    }

    /* Beri jarak di bawah agar konten tidak tertutup tombol */
    body {
        padding-bottom: 100px;
    }

    .job-icon-circle {
        width: 50px;       /* Sesuaikan ukuran */
        height: 50px;      /* Sesuaikan ukuran */
        background: #eef4ff;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1976D2;
        font-size: 20px;
        overflow: hidden; /* Memastikan gambar tidak keluar dari kotak */
        flex-shrink: 0;   /* Mencegah gambar gepeng saat teks di samping panjang */
        border: 1px solid #f0f0f0;
    }

    .job-icon-circle img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Gunakan 'cover' jika ingin memenuhi kotak, 'contain' jika ingin seluruh logo terlihat */
        padding: 5px;        /* Beri sedikit ruang napas untuk logo */
    }

    /* Top Bar */
    .top-app-bar {
        padding: 15px;
        display: flex;
        align-items: center;
        background: transparent;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .btn-back {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        color: #333;
        text-decoration: none;
    }

    /* Card Hero */
    .hero-section {
        text-align: center;
        padding: 20px;
    }

    .company-logo-wrapper {
        width: 90px;
        height: 90px;
        background: white;
        border-radius: 28px;
        margin: 0 auto 1px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 25px rgba(0,0,0,0.04);
        overflow: hidden;
        padding: 1px;
    }

    .company-logo-wrapper img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    /* Badges */
    .info-pill {
        background: #fff;
        border: 1px solid #e0e0e0;
        padding: 6px 16px;
        border-radius: 50px;
        font-size: 13px;
        font-weight: 500;
        color: #555;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    /* Content Card */

    .section-title {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 12px;
        color: #1a1c1e;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .section-title i { color: var(--md-sys-color-primary); font-size: 14px; }

    .text-body-custom {
        font-size: 15px;
        line-height: 1.6;
        color: #444;
        white-space: pre-line; /* Menjaga baris baru dari database */
        margin-top: -5px; /* Menarik teks sedikit ke atas mendekati judul */
    }

    /* Bottom Action */
    .bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 20px;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(15px);
        border-top: 1px solid rgba(0,0,0,0.05);
    }

    .btn-primary-custom {
        background: var(--md-sys-color-primary);
        color:;
        border: none;
        width: 100%;
        padding: 16px;
        border-radius: 20px;
        font-weight: 700;
        font-size: 16px;
        box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
        transition: all 0.2s;
    }

    .btn-primary-custom:active { transform: scale(0.97); }

  .content-card {
        background: white;
        border-radius: 32px 32px 0 0;
        padding: 5px 20px;
        position: relative;
    }

    /* Gaya Timeline Modern */
    .timeline-item {
        position: relative;
        padding-left: 30px;
        margin-bottom: 10px; /* Jarak antar section lebih rapat */
    }

    .timeline-item::before {
        content: "";
        position: absolute;
        left: 5px;
        top: 10px;
        bottom: -25px;
        width: 2px;
        background: #e9ecef; /* Garis vertikal penghubung */
    }

    .timeline-item:last-child::before {
        display: none;
    }

    .timeline-dot {
        position: absolute;
        left: 0;
        top: 5px;
        width: 12px;
        height: 12px;
        background: #1976D2;
        border-radius: 50%;
        border: 2px solid white;
        box-shadow: 0 0 0 2px #e3f2fd;
        z-index: 2;
    }

    .section-title-modern {
        font-size: 14px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #909499;
        margin-bottom: 8px;
    }

    .text-body-custom {
        font-size: 15px;
        line-height: 0; /* Jarak baris yang optimal */
        color: #2d3436;
        white-space: pre-line;
    }

    /* Gaya Terkunci yang Unik */
    .locked-glass {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 16px;
        padding: 15px;
        display: flex;
        align-items: center;
        gap: 12px;
        border: 1px solid #dee2e6;
    }

    .locked-icon-wrapper {
        width: 35px;
        height: 35px;
        background: white;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #dc3545;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }

    .locked-text {
        font-size: 12px;
        font-weight: 600;
        color: #6c757d;
        line-height: 1.3;
    }

    .btn-back-modern.btn-default {
        background-color: #ffffff; /* Warna putih bersih */
        color: #333; /* Teks gelap agar kontras */
        border: 1px solid #e0e0e0; /* Border halus */
        border-radius: 12px; /* Corner lebih tumpul khas Android */
        padding: 8px 16px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: all 0.2s ease;
    }

    .btn-back-modern i {
        font-size: 11px; /* Ikon lebih kecil */
    }

    /* Efek Shadow saat Idle */
    .shadow-custom {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    }

    /* Efek saat diklik/ditekan */
    .btn-back-modern:active {
        transform: scale(0.95);
        box-shadow: none !important;
        background-color: #f8f9fa;
    }

    /* Membuat ikon dan teks sejajar sempurna */
    .text-muted.small i {
        font-size: 12px;
        vertical-align: middle;
        margin-top: -2px;
    }
    
    /* Memberikan sedikit warna pada lokasi agar menonjol */
    .text-dark.fw-medium {
        color: #333 !important;
    }

   #carouselIklan .carousel-item {
        transition: transform 0.6s ease-in-out;
    }
    
    .headline-title h5 span {
        color: #007bff;
        font-weight: bold;
        text-transform: uppercase;
    }

    /* Untuk tampilan Mobile agar teks tetap terbaca */
    @media (max-width: 768px) {
        #carouselIklan .carousel-caption {
            display: block !important;
            font-size: 12px;
            bottom: 5px;
        }
        #carouselIklan img {
            height: 180px !important;
        }
    }

/* Kontainer utama slider */
    #promoSliderBaru {
        margin-bottom: 0px !important; /* Jarak ke bawah */
        overflow: hidden;
    }

    /* Memaksa semua slide memiliki tinggi yang sama */
    .banner-slide img {
        width: 100%;
        height: 200px; /* Tentukan tinggi tetap, misal 200px atau 250px */
        object-fit: cover; /* Penting: Gambar dipotong rapi, tidak gepeng */
        border-radius: 12px;
        display: block;
    }

    /* Memberi jarak antar slide agar tidak menempel saat transisi */
    .banner-slide {
        padding: 0 5px;
        outline: none;
    }

    /* Header dengan Gradasi Modern & Dekorasi Lingkaran */
.news-header-container {
    background: linear-gradient(135deg, #390C7D 0%, #6320ee 100%);
    padding: 30px 20px 40px 20px;
    border-radius: 0 0 30px 30px;
    position: relative;
    overflow: hidden;
}

.news-header-container::before {
    content: ""; position: absolute; top: -30px; right: -30px;
    width: 120px; height: 120px; background: rgba(255,255,255,0.1); border-radius: 50%;
}

/* Kotak Pencarian Melayang */
.search-wrapper {
    background: white;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: 15px;
}

.container-fluid-custom {
    padding: 0;
}

/* --- HEADER BAGIAN ATAS --- */
.hero-header-wisata {
    background: linear-gradient(135deg, #FF8C00 0%, #CEC9D6 100%); /* Gradasi ungu yang mewah */
    color: white;
    padding: 25px 20px 30px 20px; /* Padding bawah lebih besar untuk search bar melayang */
    border-radius: 0 0 30px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    z-index: 10; /* Pastikan header di atas elemen lain */
}
.hero-header-wisata::before, .hero-header-wisata::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    z-index: 1;
}
.hero-header-wisata::before { top: -40px; right: -40px; width: 100px; height: 100px; }
.hero-header-wisata::after { bottom: -20px; left: -20px; width: 60px; height: 60px; }

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2; /* Di atas pseudo-elements */
}
.header-content h5 {
    margin: 0;
    font-weight: 700;
    font-size: 22px;
}
.header-content small {
    opacity: 0.9;
    font-size: 13px;
}
.header-content img {
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

body {
    background-color: #f8f9fa; /* Latar belakang aplikasi yang cerah */
    font-family: 'Roboto', sans-serif; /* Font umum Android */
    margin: 0;
    padding: 0;
}
.container-fluid-custom {
    padding: 0;
}

/* --- HEADER BAGIAN ATAS --- */
.hero-header-wisata {
    background: linear-gradient(135deg, #FF8C00 0%, #8E2DE2 100%); /* Gradasi ungu yang mewah */
    color: white;
    padding: 25px 20px 40px 20px; /* Padding bawah lebih besar untuk search bar melayang */
    border-radius: 0 0 30px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    z-index: 10; /* Pastikan header di atas elemen lain */
    display: flex; /* Mengaktifkan mode sejajar */
    justify-content: space-between; /* Teks di kiri, Gambar di kanan */
    align-items: center; /* Sejajar secara vertikal di tengah */
}
.hero-header-wisata::before, .hero-header-wisata::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    z-index: 1;
}
.hero-header-wisata::before { top: -40px; right: -40px; width: 100px; height: 100px; }
.hero-header-wisata::after { bottom: -20px; left: -20px; width: 60px; height: 60px; }

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2; /* Di atas pseudo-elements */
}
.header-content h5 {
    margin: 0;
    font-weight: 700;
    font-size: 22px;
}
.header-content small {
    opacity: 0.9;
    font-size: 13px;
}
.header-content img {
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

/* --- FLOATING SEARCH BAR --- */
.floating-search-bar {
    position: relative;
    margin-top: -50px; /* Tarik ke atas agar melayang di atas header */
    padding: 20 20px;
    z-index: 20; /* Lebih tinggi dari header dan konten */
}
.search-wrapper-wisata {
    background: white;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}
.search-wrapper-wisata input {
    border: none;
    margin-left: 10px;
    width: 100%;
    outline: none;
    font-size: 15px;
    color: #333;
}
.search-wrapper-wisata img {
    opacity: 0.6;
}

/* --- KATEGORI PILL --- */
.filter-wisata-wrapper {
    display: flex;
    overflow-x: auto; /* Bisa digeser horizontal */
    padding: 15px 20px;
    gap: 12px;
    scrollbar-width: none; /* Sembunyikan scrollbar Firefox */
    -ms-overflow-style: none; /* Sembunyikan scrollbar IE/Edge */
    position: relative;
    z-index: 5;
    background-color: #f8f9fa; /* Pastikan background cerah */
}
.filter-wisata-wrapper::-webkit-scrollbar {
    display: none; /* Sembunyikan scrollbar Chrome/Safari */
}
.cat-pill-wisata {
    background: #e9ecef;
    border: none;
    padding: 9px 20px;
    border-radius: 25px;
    white-space: nowrap;
    font-size: 13px;
    color: #555;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.cat-pill-wisata.active {
    background: #8E2DE2; /* Warna ungu header */
    color: white;
    box-shadow: 0 4px 12px rgba(142,45,226,0.3);
    transform: translateY(-2px); /* Efek sedikit terangkat */
}

/* --- DAFTAR KARTU DESTINASI --- */
.destinasi-grid {
    padding: 0 20px 20px 20px;
    background-color: #f8f9fa;
    position: relative;
    z-index: 1;
}
.destinasi-card {
    background: ;
    border-radius: 0px;
    margin-bottom: 10px;
    box-shadow: 0 0px 0px rgba(0,0,0,0.08);
    overflow: hidden; /* Penting untuk gambar */
    position: relative;
    transition: transform 0.2s ease-out;
}
.destinasi-card:active {
    transform: scale(0.98);
}
.destinasi-card-img-wrapper {
    width: 100%;
    height: 180px; /* Tinggi gambar yang konsisten */
    overflow: hidden;
    position: relative;
}
.destinasi-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Potong gambar agar pas tanpa gepeng */
    transition: transform 0.3s ease;
}
.destinasi-card:hover .destinasi-card-img-wrapper img {
    transform: scale(1.05); /* Efek zoom ringan saat hover */
}

.destinasi-card-body {
    padding: 15px;
}
.destinasi-kategori {
    color: #C6C0CC; /* Warna ungu */
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    display: block;
}
.destinasi-title {
    font-size: 18px;
    font-weight: 700;
    color: #2d3436;
    line-height: 1.3;
    margin-bottom: 8px;
}
.destinasi-location {
    font-size: 13px;
    color: #636e72;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.destinasi-location i {
    color: #ff7675;
    margin-right: 5px;
}
.btn-lihat-map {
    background: #ffc107; /* Warna kuning cerah */
    color: #333;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 15px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    transition: background 0.3s;
}
.btn-lihat-map:hover {
    background: #e0a800;
}
.btn-lihat-map i {
    font-size: 11px;
}
