/* roboto-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/roboto-v48-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v48-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/roboto-v48-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v48-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/roboto-v48-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* raleway-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/raleway-v36-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* raleway-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/raleway-v36-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* raleway-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/raleway-v36-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* raleway-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/raleway-v36-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* raleway-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/raleway-v36-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/inter-v19-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/inter-v19-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/inter-v19-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/inter-v19-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}





/**
* Template Name: Dewi
* Template URL: https://bootstrapmade.com/dewi-free-multi-purpose-html-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Inter",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #49564A; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #246853; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #000000; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f1f4fa;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #000910;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #28323a;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* global title & btn back
------------------------------*/
.section_page{
  padding-top: 150px; /* sesuaikan dengan tinggi navbar */

}
.global-title {
  text-align: center;
  padding: 20px 0;
  margin-bottom: 40px;
}

.global-title h2 {
  display: inline-block;
  position: relative;
  font-size: 35px;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  margin: 0;
  line-height: 2;
  padding-top: 0;
  padding-bottom: 0; /* default spasi bawah title */
}

.global-title h2 + p {
  margin-top: 15px; /* kasih jarak khusus kalau ada paragraf setelah h2 */
}


.global-title h2::before {
  content: "";
  position: absolute;
  left: -15px;  /* jarak garis ke teks */
  top: 15%;
  width: 8px;   /* ketebalan garis */
  height: 70%;
  background-color: #FFD700;
  transition: all 0.3s ease-in-out;
}

.global-title p {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  color: #333;
  text-transform: none;
  margin: 0 auto;
  line-height: 1.5;
  max-width: 1200px;
  padding-top: 15px;
  text-align: justify;
}

/*--------------------------------------------------------------
# Perbaikan Khusus untuk Judul Panjang di Halaman Detail
--------------------------------------------------------------*/

.detail-title-wrapper {
  /* Batasi lebar maksimum wrapper judul */
  max-width: 900px;

  /* Posisikan wrapper di tengah halaman */
  margin: 0 auto;

  /* Jaga agar teks di dalamnya tetap rata tengah */
  text-align: center;
}

.detail-title-wrapper .global-title h2 {
  /* Sesuaikan line-height agar jarak antar baris tidak terlalu jauh */
  line-height: 1.4;

  /* Beri sedikit ruang agar tidak terlalu mepet */
  padding: 0 15px;
}

.btn-footer-back {
    padding: 10px 22px;
    border-radius: 10px;
    background: #2f6f4e;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-footer-back:hover {
    background: #ffc107;
}
@media (max-width: 768px) {
  .section_page {
    padding-top: 110px; /* lebih pendek biar pas dengan navbar mobile */
  }

  .global-title {
    padding: 10px 15px; /* kasih ruang kiri-kanan */
    margin-bottom: 30px;
  }

  .global-title h2 {
    font-size: 22px; /* lebih kecil */
    line-height: 1.4;
    margin-bottom: 10px;
  }

  .global-title h2::before {
    left: -10px; /* geser sedikit */
    top: 20%;    /* biar lebih ke tengah */
    height: 60%;
    width: 6px;  /* lebih tipis */
  }

  .global-title p {
    font-size: 15px;
    line-height: 1.7;       /* lebih renggang */
    text-align: justify;
    padding: 0 10px;        /* jangan full edge ke layar */
  }
}
/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: #00000000;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 80px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  font-size: 13px;
  padding: 7px 25px;
  margin: 0 0 0 30px;
  border-radius: 4px;
  transition: 0.3s;
  text-transform: uppercase;
  border: 2px solid var(--contrast-color);
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
  border-color: var(--accent-color);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .cta-btn {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}


/* Global Header on Scroll
------------------------------*/
/* Untuk semua halaman yang dapat class .header-scrolled */
.header-scrolled {
  --background-color: rgba(36,104,83,0.8);
  background: var(--background-color);
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

/* Untuk saat di homepage dan discroll */
.scrolled .header {
  --background-color: rgba(36,104,83,0.8);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
    flex-grow: 1;
    justify-content: center;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu > ul > li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu > ul > li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 13px;
    padding: 0 12px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
    text-transform: uppercase;
    gap: 10px;
  }

  /* Icon kanan */
  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: auto;
    transition: 0.3s;
  }

  /* Hover effect underline */
  .navmenu > ul > li > a:before {
    content: "";
    position: absolute;
    height: 25px;
    border-radius: 5px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
    z-index: -1;
  }

  .navmenu a:hover:before,
  .navmenu li:hover > a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: color-mix(in srgb, var(--nav-color) 10%, rgb(0, 0, 0) 90%);
  }

  /* Dropdown utama (level 1) */
  .navmenu .dropdown ul {
    margin-top: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    top: calc(100% - 1px);
    pointer-events: none;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
    position: relative;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
    margin-left: auto;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    color: var(--nav-dropdown-hover-color);
    background-color: color-mix(in srgb, var(--accent-color), transparent 80%);
    border-radius: 4px;
  }

  .navmenu .dropdown:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Submenu (level 2 ? geser samping) */
  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px);
    transition: all 0.3s ease-in-out;
  }

  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
}


@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

/* Link menu mobile */
.navmenu a,
.navmenu a:focus {
  color: var(--nav-dropdown-color);
  padding: 15px 15px;        /* seimbang kiri kanan */
  font-family: var(--nav-font);
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between; /* ? teks di kiri, icon di kanan */
  width: 100%;
  box-sizing: border-box;
  transition: 0.3s;
}

/* Icon default */
.navmenu a i,
.navmenu a:focus i {
  flex-shrink: 0;           /* jangan mengecil */
  margin-left: 0;           /* ? buang margin kiri */
  font-size: 14px;
  width: 28px;              /* lebih kecil biar pas */
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  transition: 0.3s;
  color: #666;
}



  /* Saat dropdown aktif ? icon hijau + rotate */
  .navmenu .dropdown.active > a i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  /* Dropdown mobile (accordion) */
  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 30px 0px;
    margin: 10px 10px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown > .dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  /* Mobile Nav aktif */
  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
  }

  /* Header container tetap rapi */
  .header .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Logo kiri */
  .header .logo {
    margin: 5px 0 !important;
    justify-content: flex-start !important;
    order: 1;
  }

  .header .logo img {
    max-height: 45px;
    height: auto;
    width: auto;
  }

  /* Toggle menu kanan */
  .mobile-nav-toggle {
    order: 2;
    font-size: 28px;
    cursor: pointer;
    position: relative;
    z-index: 9999;
    margin-left: auto;
  }

  /* Logo kanan turun */
  .header .logo-right {
    order: 3;
    margin-top: 8px;
    align-self: flex-start;
    width: 100%;
  }

  /* Hover efek untuk mobile nav */
  .navmenu ul li a:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    border-radius: 6px;
  }

  /* Saat dropdown aktif di mobile */
  .navmenu .dropdown.active > a {
    background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
    border-radius: 6px;
    color: #000;
  }

  /* Biar icon tetap sinkron */
  .navmenu .dropdown.active > a i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }
}


/* ================= PROFIL KAWASAN DROPDOWN ================= */

/* Container dropdown */
.navmenu .profil-dropdown {
  width: 250px;
  padding: 15px;
  background: var(--nav-dropdown-background-color);
  border-radius: 6px;
  box-shadow: 0px 5px 25px rgba(0,0,0,0.1);
}

/* Group setiap field */
.navmenu .profil-dropdown .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.navmenu .profil-dropdown label {
  font-size: 13px;
  font-weight: 500;
  color: #444;
}

/* Select box */
.dropdown-select {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px; /* lebih halus */
  font-size: 14px;
  width: 100%;
  background: #fff;
  transition: 0.3s;
}

.dropdown-select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent-color), transparent 70%);
}

/* Tombol search */
.profil-search-btn {
  padding: 10px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
  margin-top: 8px; /* kasih jarak dari dropdown */
}

.profil-search-btn:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, black 10%);
}

/* Mobile tampilan */
@media (max-width: 1199px) {
  .navmenu .profil-dropdown {
    width: 100%; /* biar full lebar di mobile */
    padding: 15px;
    margin: 10px 0;
    border-radius: 6px;
  }

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

/* =========================
   Header Transparan & Scroll
   ========================= */
.header {
  transition: all 0.4s;
  background: transparent;
}

/* Header dengan background */
.header-scrolled {
  background: var(--background-color);
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}
/* modifikasi */

.navmenu .dropdown.active > a {
    color: color-mix(in srgb, var(--nav-color) 10%, rgb(0, 0, 0) 90%) !important;
}

.navmenu .dropdown.active > a::before {
    visibility: visible !important;
    width: 100% !important;
    background-color: var(--nav-hover-color) !important;
}
/* modifikasi */
/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  font-family: Arial, sans-serif;
  background-color: #1d6b57;
  color: #fff;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
    display: flex;
    align-items: center;
    flex: 1 1 60%;
    min-width: 280px;
}

.footer-logo {
    width: 210px;
    margin-right: 25px;
}

.footer-text h2 {
    margin: 0 0 10px 0;
    font-weight: bold;
    color: #fff;
    font-size: 32px;
}

.footer-text p {
  margin: 4px 0;
  line-height: 1.5;
}

.footer-right {
  flex: 1 1 35%;
  min-width: 280px;
  text-align: left;
}

.footer-right h4 {
  margin-bottom: 10px;
  color: #fff;
}

.footer-right iframe {
  width: 100%;
  max-width: 100%;
  border-radius: 6px;
}

/* Ikon sosial media */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.3s;
}

.footer-social a:hover {
  background: #fff;
  color: #1d6b57;
}

/* Copyright */
.footer-bottom {
  background-color: #f9f9f9;
  color: #333;
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
}

/* ================= Responsive ================= */
@media (max-width: 992px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .footer-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-logo {
    margin: 0 auto 15px auto;
  }

  .footer-right {
    text-align: center;
  }

  .footer-right iframe {
    height: 200px;
  }
}

.stats-card {
  background: white;
  border-radius: 0 32px 0 32px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  padding-top: 50px; /* Tambahan untuk turunkan teks */
  position: relative;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 180px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}


.stats-icon {
   font-family: "Font Awesome 5 Free";
  font-size: 32px;
  color: #2F4F4F;
  position: absolute;
  top: 10px;
  right: 12px;
}

.stats-label {
  color: #374b44;
  margin-top: 40px;
  text-align: center;
  font-weight: 600;
  line-height: 1.4;
  min-height: 3em;  /* kira-kira muat 2 baris */
  display: flex;
  align-items: center;   /* teks di tengah secara vertikal */
  justify-content: center;
}

.stats-number {
  font-size: 24px;
  font-weight: bold;
  color: #374b44;
  display: block;
    padding-top: 50px;
    margin-top: auto;
}


.stats-card:hover {
  transform: translateY(-8px);
  box-shadow:  0 10px 20px #374b44;

}


/* chart */
    .body {
      font-family: Arial, sans-serif;
      background-color: #1e1e1e;
      margin: 0;
      padding: 0;
    }

   .chart-kups {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin-top: 50px;
    width: 70%;

}

/* 2. Atur agar Judul Berada di Tengah */
.chart-title-kups {
    text-align: center;
    margin-bottom: 20px; /* Beri jarak antara judul dan chart */
    font-size: 22px;
    font-weight: 700;
}

         /* 3. Buat Area Chart Selalu Persegi (Kunci Utama) */
         .chart-box {
           width: 100%;
           /* Tetap 100% agar responsif di HP */
           max-width: 400px;
           /* ? TAMBAHKAN: Ini ukuran maksimal chart Anda */
           margin: 0 auto;
           /* ? TAMBAHKAN: Ini akan memposisikan chart di tengah wrapper */
           aspect-ratio: 1 / 1;
           /* KUNCI: Paksa tingginya agar sama dengan lebarnya */
           padding: 0 !important;
           /* Hapus padding bawaan jika ada */
         }

         #donutChart {
           width: 100% !important;
           height: 100% !important;
         }

    .canvas {
      width: 100% !important;
      height: auto !important;
    }


/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}


/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

@media (max-width: 768px) {
  .section-title p {
    font-size: 24px;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
/* CSS untuk Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* CSS untuk Video Background */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* CSS untuk Konten (logo dan paragraf) */
.content-wrapper {
    /* Konten akan dipusatkan oleh .hero flexbox, jadi tidak perlu position: absolute */
    text-align: center;
    z-index: 2; /* Pastikan konten di atas video */
}

/* CSS untuk Logo */
.hero-logo {
    /* Atur ukuran logo agar tidak terlalu besar */
    max-width: 200px; /* Ukuran ini lebih fleksibel daripada nilai statis */
    height: 200px;     /* Pertahankan rasio aspek gambar */
}

.logo-pulse {
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1); /* Membesar */
    opacity: 0.95;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 10px 0 0 0;
  font-size: 24px;
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.stats .stats-item i {
  color: var(--accent-color);
  font-size: 42px;
  line-height: 0;
  margin-right: 20px;
}

.stats .stats-item span {
  color: var(--heading-color);
  font-size: 36px;
  display: block;
  font-weight: 600;
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}
/*--------------------------------------------------------------
# SECTION PERHUTANAN & KUPS - FINAL GABUNGAN (Dengan Perbaikan)
--------------------------------------------------------------*/

/* ================================================== */
/* A. STYLE UMUM (Berlaku untuk kedua section)
/* ================================================== */
.perhutanan, .kups {
  background-color: #F0F0F0;
  text-align: center;
  padding: 40px 0;
}

/* ================================================== */
/* B. STYLE KHUSUS SECTION PERHUTANAN
/* ================================================== */
#perhutanan .stats-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  min-height: 180px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  cursor: pointer;
}
#perhutanan .stats-label {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

/* ================================================== */
/* C. STYLE KHUSUS SECTION KUPS
/* ================================================== */
#kups {
  position: relative;
  z-index: 10;

}

#kups .kups-cards {
  display: flex;
  justify-content: center;
}

#kups .kups-scroll {
  width: 100%;
  max-width: 930px;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-top: -20px;
  margin-bottom: -20px;
}
#kups .kups-scroll::-webkit-scrollbar {
  display: none;
}

/* Baris kartu di dalam KUPS */
#kups .kups-scroll .row {
  display: flex;
  flex-wrap: nowrap !important; /* KUNCI PERBAIKAN SLIDER MOBILE */
  gap: 30px;
  margin: 0;
  justify-content: flex-start;
  padding: 0 5px;
}

/* Ukuran setiap kartu KUPS di DESKTOP */
#kups .kups-scroll .col-lg-4 {
  flex-basis: 290px;
  flex-shrink: 0;
  flex-grow: 0;
}

/* Style kartu KUPS */
#kups .stats-card {
  background: white;
  border-radius: 0 32px 0 32px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  min-height: 180px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#kups .stats-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px #374b44;
  z-index: 999;
  position: relative;
}
#kups .stats-label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Pagination Dots KUPS */
#kups .kups-pagination {
  text-align: center;
  margin-top: 40px;
  padding-bottom: 20px;
}
#kups .kups-pagination .dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
#kups .kups-pagination .dot:hover { background-color: #d4b22a; }
#kups .kups-pagination .dot.active {
  background-color: #f4c20d;
  transform: scale(1.5);
}
.highcharts-loading {
                        z-index: 100 !important;
                    }

/* ================================================== */
/* D. PENGATURAN CHART (Hanya untuk KUPS)
/* ================================================== */
.pendapatanChart {
  height: 600px;

  margin: 50px;
  padding: 20px;
  border-radius: 12px;
  background-color: #f0f0f0;
  box-shadow: 0 10px 10px rgba(0,0,0,0.1);
}

/* ================================================== */
/* E. RESPONSIVE - GABUNGAN FINAL (ID Disesuaikan)
/* ================================================== */

/* Tampilan Tablet & Mobile (di bawah 992px) */
@media (max-width: 991.98px) {
  /* --- PENGATURAN KUPS (SLIDER) --- */
  #kups .kups-scroll {
    max-width: 100%;
    scroll-snap-type: x mandatory;
  }

  #kups .kups-scroll .row {
      gap: 15px;
      padding: 0 7.5%;
  }

  #kups .kups-scroll .col-lg-4 {
    flex-basis: 85%;
    scroll-snap-align: center;
  }

  /* --- PENGATURAN CHART --- */
  .pendapatanChart {
    height: 600px !important;
    margin: 30px 20px !important;
    padding: 15px !important;
  }
}

/* Tampilan Mobile Sedang (di bawah 768px) */
@media (max-width: 767.98px) {
    /* --- PENGATURAN PERHUTANAN (VERTIKAL & LEBIH KECIL) --- */
    /* DIUBAH: Selector sekarang menggunakan #perhut */
    #perhut .row .col-lg-3 {
        flex: 0 0 100%;
        max-width: 300px; /* Kartu dibuat lebih kecil */
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 25px;
    }

    /* --- PENGATURAN CHART --- */
    .pendapatanChart {
        height: 450px !important;
        margin: 20px 10px !important;
        padding: 12px !important;
    }
}

/* Tampilan Mobile Kecil (di bawah 480px) */
@media (max-width: 479.98px) {
    .pendapatanChart {
        height: 350px !important;
        margin: 15px 5px !important;
        padding: 10px !important;
    }
}

/*--------------------------------------------------------------
# KUPS Cards Slider Section (FINAL)
--------------------------------------------------------------*/
.kups-wrapper {
  position: relative;
  padding-bottom: 70px;
  max-width: 980px;
  margin: 0 auto;
  box-sizing: border-box;
}
.kups-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  gap: 35px;
  margin: 0;
  padding: 40px 20px 40px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.kups-slider::-webkit-scrollbar {
  display: none;
}

.kups-card-item {
  flex: 0 0 290px;
}

.kups-pagination {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 25px;
  display: flex;
  gap: 8px;
}
.kups-pagination .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bbb;
  cursor: pointer;
  transition: transform .25s ease, background-color .25s ease;
}
.kups-pagination .dot.active {
  background: #196b4a;
  transform: scale(1.4);
}
@media (max-width: 992px) {
  .kups-card-item {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 767px) {
  /* Aturan untuk wrapper baru di mobile */
  .kups-mobile-wrapper {
    /* Atur padding di sini untuk jarak dari tepi layar */
    padding: 0;
  }

  .kups-slider {
    padding: 40px 40px;
    /* Hapus semua padding di sini karena sudah diatur di wrapper */
    gap: 45px;
  }

  .kups-card-item {
    /* Atur lebar kartu agar mengambil 100% dari slider,
       yang sudah terbatasi oleh padding wrapper */
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0;
    scroll-snap-align: center;
  }
}

/*--------------------------------------------------------------
# Wrapper Chart Modern
--------------------------------------------------------------*/
.chart-wrapper {
  background-color: #ffffff;
  border-radius: 16px; /* Sudut lebih modern */
  padding: 25px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); /* Bayangan lebih lembut */
  margin-top: 50px;
}

/* Header di dalam wrapper */
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef; /* Garis pemisah tipis */
  margin-bottom: 20px;
}

.chart-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: #333;
}
.chart-title-kups {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: #333;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef; /* Garis pemisah tipis */
  margin-bottom: 20px;
}

/*--------------------------------------------------------------
# Style Final untuk Header Chart & Dropdown Kustom
--------------------------------------------------------------*/

/* Pembungkus utama chart */
.chart-wrapper {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  margin-top: 50px;
}

/* Header untuk judul dan filter */
.chart-header {
  display: flex;
  justify-content: space-between; /* KUNCI: Judul kiri, filter kanan */
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 20px;
}

.chart-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: #333;
}

/* ====== Style Dropdown Kustom ====== */
.custom-select-wrapper {
  position: relative; /* Wajib ada agar menu dropdown tahu posisinya */
}
/* Sembunyikan dropdown asli */
.custom-select-wrapper select {
  display: none;
}

.select-selected {
  background-color: #196b4a;
  color: #ffffff;
  padding: 8px 30px 8px 12px;
  border: 1px solid #ffffff;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  user-select: none;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s ease;
  /* width: 130px; */
}

.select-selected:hover {
  background-color: #14573b;
}

/* Ikon panah */
.select-selected::after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
}

/* Menu Pilihan */
.select-items {
  position: absolute;
  background-color: #196b4a;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  border-radius: 8px;
  margin-top: 4px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Sembunyikan menu secara default */
.select-hide {
  display: none;
}

/* Setiap item pilihan */
.select-items div {
  color: #ffffff;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
}

/* Efek hover pada pilihan */
.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.2);
}


/* ====== Responsif ====== */
@media (max-width: 767px) {
  .chart-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

/* detailekonomi */

.custom-select-wrapper {
  position: relative;
  display: inline-block;
  width: 200px;
}

.custom-select-wrapper select {
  display: none; /* Sembunyikan bawaan */
}

.select-selected {
  background-color: #196b4a;
  color: #ffffff;
  padding: 8px 30px 8px 12px;
  border: 1px solid #ffffff;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  user-select: none;
  font-size: 14px;
  font-weight: 500;
}

.select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
}

.select-items {
  position: absolute;
  background-color: #196b4a;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  border-radius: 8px;
  margin-top: 4px;
  overflow: hidden;
}

.select-hide {
  display: none;
}

.select-items div {
  color: #ffffff;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
}

.select-items div:hover,
.same-as-selected {
  background-color: rgba(0, 0, 0, 0.2);
}

/*--------------------------------------------------------------
# Informasi Section
--------------------------------------------------------------*/
.informasi-section {
    background-color: #b4cfc2;
    padding: 40px 25px;
    text-align: center;
}

/* Wrapper */
.informasi-wrapper {
    position: relative;
    overflow: hidden;
    padding-bottom: 96px;
    /* ruang ekstra untuk dot */
}

/* Cards container */
.informasi-cards {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 30px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    padding-left: 20px;
    padding-right: 20px;
}

.informasi-cards::-webkit-scrollbar {
    display: none;
}

/* Card */
.informasi-card {
    flex: 0 0 calc(25% - 20px);
    /* default 4 card per row */
    max-width: calc(25% - 20px);
    height: 510px;
    background: white;
    border-radius: 0 32px 0 32px;
    /* box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1); */
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    will-change: transform;
    overflow: hidden;
}

.informasi-card:hover {
    transform: none !important;
    /* matikan angkat card */
}

/* Gambar stabil + efek zoom */
.informasi-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    flex-shrink: 0;
}

.informasi-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
    transform-origin: center;
    will-change: transform;
}

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

/* Konten teks */
.informasi-content {
    flex: 1;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .3s ease;
}

.informasi-card:hover .informasi-content {
    transform: translateY(-8px);
}

/* Judul (h3) - Dibatasi maksimal 3 baris */
.informasi-content h3 {
    font-size: 18px;
    font-weight: 600;
    /* Sedikit tebalkan agar lebih terbaca */
    margin-bottom: 10px;
    line-height: 1.4em;
    /* Spasi antar baris */
    min-height: 4.2em;

    /* Properti untuk memotong teks setelah 3 baris */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* UBAH JADI 3 BARIS */
    -webkit-box-orient: vertical;
}

/* Deskripsi (p) - Dibuat fleksibel */
.informasi-content p {
    font-size: 14px;
    color: #555;

    /* KUNCI UTAMA: Paksa elemen ini mengisi sisa ruang kosong */
    flex-grow: 1;

    /* Batasi juga deskripsi agar tidak terlalu panjang (opsional) */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* Maksimal 4 baris untuk deskripsi */
    -webkit-box-orient: vertical;
}

.informasi-footer {
    margin-top: 15px;
    /* Beri jarak sedikit dari deskripsi */
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    flex-shrink: 0;
    /* Pastikan footer tidak ikut menyusut */
}

.showinfo {
    color: #196b4a;
}

.showinfo:hover {
    color: #ffc107;
}

/* Pagination */
.informasi-pagination {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.informasi-pagination .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #bbb;
    cursor: pointer;
    transition: transform .25s ease, background-color .25s ease;
}

.informasi-pagination .dot.active {
    background: #1c7963;
    transform: scale(1.4);
}

.informasi-pagination .dot:hover {
    background: #888;
    transform: scale(1.2);
}




@media (max-width: 768px) {

    /* Modifikasi wrapper untuk membatasi lebar di mobile */
    .informasi-wrapper {
        width: 100%;
        max-width: 510px;
        /* Atur lebar maksimum untuk tampilan HP */
        margin-left: auto;
        margin-right: auto;
    }

    .informasi-cards {
        padding-left: 0;
        padding-right: 0;
        gap: 25px;
        scroll-snap-type: x mandatory;
    }

    .informasi-card {
        scroll-snap-align: center;
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0;
        /* Hapus margin otomatis */
    }
}

/* ======================================================= */
/* ===== SLIDER FINAL (SUPER SIMPLE & SMOOTH) ====== */
/* ======================================================= */

.product-slider {
    width: 100%;
    height: 550px;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 1s cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.slide {
    min-width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.slide-image {
    width: 450px;
    height: 450px;
    flex-shrink: 0;
    border-radius: 15px;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

.slide-content {
    flex: 1;
    max-width: 500px;
}

.slide-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.slide-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.6 * 16px * 8);
}

/* ===== RESPONSIVE ===== */
/* ===== RESPONSIVE (INI YANG DIUBAH) ===== */
@media (max-width: 1140px) {
.product-slider {
    height: auto;
    position: relative;
    padding: 0 0 20px 0;
}

    .slide {
        flex-direction: column;
        /* Susun ke bawah */
        padding: 20px;
        gap: 20px;
    }

    .slide-image {
        width: 100%;
        height: 250px;
        flex-shrink: 0;
        border-radius: 15px;
        overflow: hidden;
    }

    .slide-image img {
        width: 100%;
        height: 100%;
        /* Gambar dipaksa mengisi frame 250px */
        object-fit: contain;
        
      }

    .slide-content {
        width: 100%;
        text-align: center;
        max-width: 100%;
    }

    .slide-content p {
        -webkit-line-clamp: 4;
    }
}
/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
.product-slider {
    height: auto;
    position: relative;
    padding: 0 0 20px 0;
}

    .slide {
        flex-direction: column;
        /* Susun ke bawah */
        padding: 20px;
        gap: 20px;
    }

    .slide-image {
        width: 100%;
        height: 250px;
        flex-shrink: 0;
        border-radius: 15px;
        overflow: hidden;
    }

    .slide-image img {
        width: 100%;
        height: 100%;
        /* Gambar dipaksa mengisi frame 250px */
        object-fit: contain;
        
      }

    .slide-content {
        width: 100%;
        text-align: center;
        max-width: 100%;
    }

    .slide-content p {
        -webkit-line-clamp: 4;
    }
}
/* ======================================================= */
/* =========== CSS TAMBAHAN UNTUK TOMBOL SLIDER ========== */
/* ======================================================= */

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* Hapus background-color agar transparan */
    background-color: transparent; 
    color: #333; /* Warna ikon/panah lebih gelap */
    border: 1px solid rgba(0, 0, 0, 0.2); /* Border tipis abu-abu */
    padding: 0;
    width: 44px; /* Sedikit lebih besar */
    height: 44px; /* Sedikit lebih besar */
    border-radius: 50%; /* Tetap bulat */
    font-size: 22px; /* Ukuran ikon/panah lebih besar */
    line-height: 1; /* Pastikan ikon di tengah vertikal */
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Sedikit bayangan untuk kesan modern */
}

.slider-btn:hover {
    background-color: #e0e0e0;
     /* Background saat hover menjadi abu-abu terang */
    border-color: #196b4a; /* Border lebih tegas saat hover */
    color: #000; /* Warna ikon/panah lebih gelap saat hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Bayangan lebih kuat */
}

.slider-btn:active {
    background-color: #e0e0e0; /* Sedikit lebih gelap saat diklik */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Bayangan lebih samar saat diklik */
    transform: translateY(-50%) scale(0.98); /* Efek sedikit menekan */
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* ======================================================= */
/* ====== PERBAIKAN POSISI TOMBOL SLIDER DI MOBILE ====== */
/* ======================================================= */

@media (max-width: 768px) {
    .slider-btn {
        top: auto; 
        bottom: 15px; 
          }
    .prev-btn {
        left: 35%; 
      }
    .next-btn {
        right: 35%; 
      }
}

/*--------------------------------------------------------------
# Video Section - SOLUSI FINAL GABUNGAN
--------------------------------------------------------------*/
.video-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-cards {
    display: flex;
    gap: 35px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    width: 100%;
    max-width: 830px;
    justify-content: flex-start;
    padding-left: 20px;
    padding-right: 20px;
}

.video-cards::-webkit-scrollbar {
    display: none;
}

.video-card {
    position: relative;
    display: flex;
    flex: 0 0 380px;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
}

/* Gambar */
.video-image {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}

.video-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-card:hover .video-image img {
    transform: scale(1.05);
}

/* Overlay gelap */
.video-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease;
}

.video-card:hover .video-image::after {
    opacity: 0;
}

.video-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.2));
    color: #fff;
    padding: 15px;
    transform: translateY(20%);
    max-height: 60%;
    overflow-y: hidden;
    transition: transform 0.3s ease-in-out, max-height 0.3s ease-in-out;
}

.video-card:hover .video-content {
    transform: translateY(0);
    max-height: 100%;
}

.video-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #fff;
}

.video-content p {
    font-size: 14px;
    color: #ddd;
    line-height: 1.4em;
}

/* Footer */
.video-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-top: 8px;
}

.video-footer span {
    color: #fff;
}

/* Pagination Dots */
.video-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
}

.video-pagination .dot {
    width: 10px;
    height: 10px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-pagination .dot.active {
    background-color: #f39c12;
    transform: scale(1.4);
}


/* --------------------------------------------------------------
# RESPONSIVE KHUSUS VIDEO
--------------------------------------------------------------*/
@media (max-width: 768px) {
    .video-wrapper {
        /* Gunakan max-width dan margin agar wrapper di tengah */
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;

        /* Hapus padding, biarkan kartu mengatur posisinya */
        padding: 0;
    }

    .video-cards {
        scroll-snap-type: x mandatory;
        gap: 30px;
        padding-left: 0;
        padding-right: 0;
    }

    .video-card {
        /* Atur lebar kartu menjadi 100% dari kontainer cards */
        flex: 0 0 100%;
        max-width: 100%;

        scroll-snap-align: center;

    }
}


/* ================================================== */
/* STYLE GLOBAL UNTUK SEMUA SLIDER
/* ================================================== */

/* Pembungkus untuk slider & pagination */
.slider-wrapper {
  position: relative;
  padding-bottom: 40px; /* Ruang untuk dot di bawah */
}

/* Pagination Dots */
.slider-pagination-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-pagination-dots .dot {
  width: 12px;
  height: 12px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}
.slider-pagination-dots .dot.active {
  background-color: #196b4a; /* Warna hijau tema Anda */
  transform: scale(1.5);
}



/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  background-color: #F0F0F0;
}

.contact .info-item {
  background-color: var(--surface-color);
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08); /* Bayangan awal lebih soft */
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  border-radius: 10px; /* Tambahkan sudut melengkung */

  /* KUNCI 1: Tambahkan transisi yang halus di sini */
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.contact .info-item:hover {

  transform: translateY(-8px);
  box-shadow:  0 5px 15px #374b44;
}

.contact .container {
  padding: 0 15px 30px 15px;
}

.contact .info-item i {
  font-size: 24px;
  color: var(--accent-color);
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 2px dotted color-mix(in srgb, var(--accent-color), transparent 40%);
  flex-shrink: 0;
}

.contact .info-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 15px 0 10px 0;
}

.contact .info-item p {
  padding: 0 15px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* KUNCI 2: Perbaikan Tampilan Mobile */
@media (max-width: 768px) {
  .contact .info-item {
    width: 100%; /* Gunakan lebar penuh agar konsisten */
  }

  /* Khusus untuk alamat yang panjang, buat rata kiri agar mudah dibaca */
  .contact .info-item i.bi-geo-alt + h3 + p {
    text-align: left;
  }
}




/*--------------------------------------------------------------
#  Progres&regulai&profilkawasan& Section
--------------------------------------------------------------*/
/* Search box */
/* Search box */
.search-box {
    border-right: 2px solid #ddd;
    padding-right: 15px;
}
.search-box h5 {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 20px;
    letter-spacing: 1px;
}
.search-box input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 10px;
}
.search-box button {
    background: #196b4a;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.search-box button:hover {
    background: #ffc107;
;
}

/* Progres wrapper */
.progres-wrapper {
    background: #f0f0f0;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.progres-title {
    background: #196b4a;
    color: #fff;
    padding: 12px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Progres item */
.progres-item {
    background: #e2e2e2;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.progres-header h6 {
    color: #196b4a;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 16px;
}
.progres-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.tahun {
    background: #ffc107;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 13px;
}
.tanggal {
    font-size: 14px;
    color: #666;
}
.progres-body {
    font-size: 14px;
    color: #444;
    margin-bottom: 10px;
    overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Coba batasi 3 baris */
  -webkit-box-orient: vertical;
}
.progres-footer {
    text-align: right;
    margin-top: auto;
}
.btn-lihat {
    background: #196b4a;
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.25);
    transition: 0.2s;
    cursor: pointer;
}
.btn-lihat:hover {
    background: #ffc107;
}



/* Scrollable list */
.progres-list {
    max-height: 600px; /* tampil maksimal 3 item-an */
    overflow-y: auto;
    padding-right: 5px;
}
.progres-list::-webkit-scrollbar {
    width: 8px;
}
.progres-list::-webkit-scrollbar-thumb {
    background: #196b4a;
    border-radius: 5px;
}
.progres-list::-webkit-scrollbar-thumb:hover {
    background: #999;
}
/* Kalau di page regulasi mau lebih pendek */
.page-regulasi .progres-list {
    max-height: 400px;
}

.page-profil-kawasan .progres-list {
  max-height: 550px; /* Atur tinggi maksimal */
  overflow-y: auto !important; /* Paksa scroll aktif */
  padding-right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .row {
        flex-direction: column; /* Search pindah ke atas */
    }
    .search-box {
        border-right: none;
        padding-right: 0;
        margin-bottom: 20px;
    }
}

/* progres detail */
.detail-card {
    background: #F0F0F0;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.detail-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.detail-card p {
    margin: 5px 0;
    color: #444;
}
/*--------------------------------------------------------------
# PERBAIKAN TAMPILAN PDF VIEWER (FINAL)
--------------------------------------------------------------*/

/* Target khusus untuk card di halaman detail regulasi */
.page-regulasi-detail .detail-card {
  padding: 20px; /* Kurangi padding agar iframe lebih pas */
}

/* Target khusus untuk iframe di dalam card */
.page-regulasi-detail .detail-card iframe {
  width: 100%;
  height: 75vh; /* Gunakan 75% dari tinggi viewport */
  border: 1px solid #ddd; /* Tambahkan border tipis */
  border-radius: 10px; /* Samakan sudutnya dengan card */
}

/* --- Tampilan Mobile --- */
@media (max-width: 767px) {
  .page-regulasi-detail .detail-card {
    padding: 15px; /* Padding lebih kecil di mobile */
  }

  .page-regulasi-detail .detail-card iframe {
    height: 80vh; /* Buat sedikit lebih tinggi di mobile */
  }
}
/*--------------------------------------------------------------
# GALERI DOKUMENTASI - SOLUSI FINAL
--------------------------------------------------------------*/

.swiper {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 40px;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.swiper-slide img {
  display: block; /* Pastikan gambar adalah block-level element */
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* .swiper-slide img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
} */

/*--------------------------------------------------------------
# GALERI DOKUMENTASI - SOLUSI FINAL
/* Mengatur bingkai dan tampilan gambar di semua kondisi */
    .documentation-gallery .swiper-slide {
        display: block;
        background-color: #f0f0f0;
        border-radius: 15px;
        overflow: hidden;
        aspect-ratio: 4 / 3; 
        height: auto !important;
        
      transition: transform 0.9s ease-in-out;
    }

    .documentation-gallery .swiper-slide:hover {
        transform: scale(1.07);  }

    .documentation-gallery .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top; 

    }
  .documentation-gallery.static-layout .swiper-wrapper {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap; 
          }

    .documentation-gallery.static-layout .swiper-slide {
        opacity: 1 !important;
        flex-shrink: 0;
    }

    /* Ukuran konsisten untuk 1, 2, dan 3 gambar di layar besar */
    .documentation-gallery.static-layout-1 .swiper-slide,
    .documentation-gallery.static-layout-2 .swiper-slide,
    .documentation-gallery.static-layout-3 .swiper-slide {
        width: calc(33.333% - 14px);
        max-width: 350px;
    }

    /* --- Pengaturan Layout untuk Slider (4+ gambar) --- */
    .documentation-gallery.swiper-initialized .swiper-slide {
        width: auto;
    }
    
    .documentation-gallery.swiper-initialized .swiper-slide:not(.swiper-slide-active) {
        transform: scale(0.9);
        opacity: 0.7;
    }

    /* ATURAN UNTUK MEMOTONG SLIDE YANG KELUAR BATAS */
.documentation-gallery {
    overflow: hidden; /* INI ADALAH KUNCINYA */
    border-radius: 15px;
    padding: 20px 0;
    
  }

    /* ========================================================== */
    /* ==         BAGIAN RESPONSIVE UNTUK LAYAR KECIL          == */
    /* ========================================================== */
 @media (max-width: 768px) {
    /* Biarkan hanya aturan untuk layout statis ini saja */
    .documentation-gallery.static-layout-1 .swiper-slide,
    .documentation-gallery.static-layout-2 .swiper-slide,
    .documentation-gallery.static-layout-3 .swiper-slide {
        width: 90% !important;
        max-width: none; /* Hapus max-width di mobile */
    }
}


.produk {
  display: flex;
  justify-content: center; /* biar gambar center */
  margin: 20px 0;
}

.produk img {
  width: auto;          /* biar tidak dipaksa full lebar */
  max-width: 80%;       /* biar pas di layar */
  max-height: 450px;    /* lebih besar dari sebelumnya */
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.produk img:hover {
  z-index: 10;
  position: relative;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}


/*--------------------------------------------------------------
# Pagination Final (Kecil, Pojok Kanan, Sesuai Tema)
--------------------------------------------------------------*/

/* Wrapper untuk mengatur posisi ke kanan bawah */
.pagination-wrapper {
  margin-top: 25px;
  display: flex;
  justify-content: flex-end; /* Posisi di pojok kanan */
  padding: 0 10px 10px 0; /* Memberi sedikit jarak dari tepi */
}

.pagination {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  gap: 8px; /* Jarak antar tombol */
}

/* Style umum untuk tombol pagination */
.pagination .page-item a,
.pagination .page-item span {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  border: 1px solid #dee2e6;
  background-color: #fff;
  color: #555;
}

/* Efek saat kursor di atas tombol */
.pagination .page-item:not(.active) a:hover {
  background-color: #e9fbf3; /* Warna hijau muda (sesuai tema) */
  border-color: #196b4a; /* Warna hijau tua (sesuai tema) */
  color: #196b4a;
}

/* Tombol untuk halaman yang sedang aktif */
.pagination .page-item.active span {
  background-color: #196b4a; /* Warna hijau tua (sesuai tema) */
  border-color: #196b4a;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(25, 107, 74, 0.4);
}

/* Tombol nonaktif (misal "Previous" di halaman 1) */
.pagination .page-item.disabled span {
  color: #adb5bd;
  pointer-events: none;
  background-color: #f8f9fa;
}
.pagination-sm .page-link {
  padding: 0.2rem 0.5rem !important; /* Perkecil padding internal */
  font-size: 0.75rem !important;   /* Perkecil ukuran font */
}
/*--------------------------------------------------------------
# Wrapper untuk Summary & Tombol Pagination
--------------------------------------------------------------*/
.pagination-summary-wrapper {
  display: flex;
  justify-content: space-between; /* Kunci untuk memberi jarak */
  align-items: center;
  margin-top: 25px;
  padding: 0 10px; /* Sedikit padding agar tidak mepet tepi */
}

/* Style untuk tulisan "Showing..." */
.pagination-summary-wrapper .summary {
  font-size: 0.85rem;
  color: #6c757d;
}

/* --------------------------------------------------------------
#  detail-table Section
--------------------------------------------------------------*/
.detail-form-section {
  padding: 60px 20px;
  background: #f0f0f0;
  text-align: center;
}


.detail-table th, .detail-table td {
  padding: 10px;
  font-size: 14px;
  text-align: center;
}
.detail-table th {
  background: #196b4a;
  color: #fff;
}


.table-content {
  display: none;
}
.table-content.active {
  display: block;
}

.table-wrapper {
    max-height: 86vh;
    overflow: auto; 
  
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    scrollbar-width: thin;
    scrollbar-color: #196b4a #f1f1f1;
}

.detail-table {
  width: 100%;
  border-collapse: separate; /* <-- DIUBAH dari 'collapse' */
  border-spacing: 0;         /* <-- DITAMBAHKAN untuk hapus jarak sel */
  background: #fff;
  font-size: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin: 0;
}

.detail-table thead {
  background: #2c7a7b;
  color: #fff;
}
.detail-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

.detail-table th,
.detail-table td {
    padding: 16px; /* Padding dibuat lebih besar agar lega */
    text-align: center; /* Default rata kiri untuk semua teks */
    border: none; /* 1. Hapus semua border yang ada */
    border-bottom: 1px solid #e5e7eb; /* 2. Sisakan border bawah saja */
    vertical-align: middle; /* Pastikan teks di tengah secara vertikal */
}

.detail-table th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
}

.detail-table tbody tr:nth-child(even) {
  background: #f3f4f6;
}

.detail-table tbody tr:hover {
  background: #e6fffa;
  transition: 0.3s;
}
.detail-table .kolom-lebar {
    width: 30%; /* Coba atur 30% dari total lebar tabel */
    min-width: 350px; /* Atur lebar minimal agar tidak terlalu kecil */
}



/* 1. Mengatur ukuran scrollbar */

.table-wrapper::-webkit-scrollbar {
    height: 10px; /* Atur ketebalan untuk scrollbar horizontal */
    width: 10px;  /* Atur ketebalan untuk scrollbar vertikal */
}

/* 2. Mengatur 'jalur' scrollbar (bagian latar belakangnya) */
.table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1; /* Warna latar belakang jalur */
    border-radius: 0;
}

/* 3. Mengatur 'pegangan' scrollbar (bagian yang bisa digeser) */
.table-wrapper::-webkit-scrollbar-thumb {
    background: #196b4a; /* <-- GANTI WARNA UTAMA SCROLLBAR DI SINI */
    border-radius: 0;
}

/* 4. Mengatur warna 'pegangan' saat cursor diarahkan ke atasnya (hover) */
.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #aaaaaa; /* <-- GANTI WARNA HOVER DI SINI */
}


.card-table-container {
  border-radius: 12px;
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.08);
  padding: 20px;
  background-color: #ffffff; 
} 


/* --- Standar untuk Browser Firefox --- */


/* Style untuk footer tabel yang tidak ikut scroll */
.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    font-size: 14px;
    color: #555;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }

/* Style untuk merapikan link pagination */
.table-footer .pagination-links nav {
    box-shadow: none !important;
}

.table-footer .summary,
.table-footer .pagination-links {
    flex-basis: 50%; /* Bagi lebar jadi dua */
}

.table-footer .summary {
    text-align: left;
}

.table-footer .pagination-links {
    text-align: right;
}


/* === Responsif: scroll saja di mobile === */
@media (max-width: 768px) {
  .detail-table {
    font-size: 13px;
  }
  .detail-table th, .detail-table td {
    padding: 10px;
    white-space: nowrap; /* biar nggak pecah ke bawah */
  }
}



/*--------------------------------------------------------------
#  peta sebaran Section
--------------------------------------------------------------*/
/* === Peta Program Section === */
.peta-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
}

.peta-section h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}

.peta-section p {
  font-size: 16px;
  color: #666;
}

.map-wrapper {
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.08);

}

#programMap {
  width: 100%;
  height: 500px;
}
.leaflet-top,
.leaflet-bottom {
  z-index: 400 !important; /* lebih rendah dari navbar */
}



/*--------------------------------------------------------------
#  detailberita Section
--------------------------------------------------------------*/
.berita-card {
  max-width: 1200px; /* lebih fokus */
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  overflow: hidden;
  padding: 0 0 25px 0;
  transition: all 0.3s ease;
}

.berita-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.berita-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px 16px 0 0;
  object-fit: cover;
   position: relative;

}

.berita-divider {
  width: 100%;
  height: 1px;
  background: #ddd;
  margin: 8px 0 15px 0; /* kasih jarak */
}


.berita-date {
  text-align: right;
  font-size: 14px;
  color: #555;
  margin: 10px 20px 0 0;
  font-style: italic;
}

.berita-desc {
  padding: 20px 25px;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-top: 10px;
}

.berita-desc p {
  margin-bottom: 0;
}


/* Penyesuaian untuk layar mobile */
@media (max-width: 768px) {
    .berita-card
     {
        margin-left: 20px;
        margin-right: 20px;
    }
}
@media (max-width: 1200px) {
    .berita-card
     {
        margin-left: 20px;
        margin-right: 20px;
    }
}




/*--------------------------------------------------------------
#  button dropdown tahun global
--------------------------------------------------------------*/

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-form label {
    font-weight: 500;
    color: #555;
    font-size: 0.9rem;
}

.select-container {
    position: relative;
}




/*--------------------------------------------------------------
#  .. Section
--------------------------------------------------------------*/

/* Pastikan class ini ada di file CSS frontend Anda */
.multi-item-rensi div {
    padding: 8px; /* Atur jarak sesuai kebutuhan */
    border-bottom: 1px solid #196b4a; /* Ini yang membuat garis */
    text-align: center; /* Sesuaikan perataan teks */
}

.multi-item-rensi div:last-child {
    border-bottom: none; /* Menghilangkan garis pada item terakhir */
}

/* Menghapus padding default dari sel agar garisnya penuh */
.multi-item-rensi {
    padding: 0 !important;
    vertical-align: middle;
}
/*--------------------------------------------------------------
#  .. Section
--------------------------------------------------------------*/
