
/* 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: "Ubuntu",  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: #444444; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #10bc69; /* 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: #1b1c1f;  /* The default color of the main navmenu links */
  --nav-hover-color: #10bc69; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #fefdfb; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #fefdfb; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #5f687b; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #10bc69; /* 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: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

.accent-background {
  --background-color: #10bc69;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #14eb83;
  --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(--nav-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);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.tabel-laporan{
    margin-bottom:120px;
}

#paginasiWrap{
    margin-top:20px;
    margin-bottom:100px;
}


.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color) ;
  box-shadow: none;
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

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

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

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

/* tombol login di header */
.header .btn-getstarted,                  
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 30px 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

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

  .header .btn-getstarted {
    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);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

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

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

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

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

/* Navmenu - Mobile */
@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);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

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

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .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;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
  z-index:1;
}


/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: relative;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: relative;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: relative;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  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;
  bottom: 15px;
}

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

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  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 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 100px;
  /* overflow: clip dihapus — ini yang memotong dropdown custom (dd-list) */
  overflow: visible;
}

/* Khusus hero-hibah & hero-bansos: clip horisontal saja
   agar gambar latar tidak meluber ke kanan,
   tapi vertikal VISIBLE supaya dropdown list bisa tampil ke bawah */
.hero-hibah,
.hero-bansos,
.hero-statistik,
.hero-regulasi {
  overflow-x: clip;
  overflow-y: visible;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding: 30px 0;
  margin-bottom: 30px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

.section-title span {
  position: absolute;
  top: 4px;
  color: color-mix(in srgb, var(--heading-color), transparent 95%);
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 700;
  font-size: 52px;
  text-transform: uppercase;
  line-height: 1;
}

.section-title p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 575px) {
  .section-title h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .section-title span {
    font-size: 38px;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 70vh;
  position: relative;
  padding: 120px 0 60px 0;
  display: flex;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
}

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

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px 12px 28px;
  border-radius: 50px;
  transition: 0.5s;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-get-started:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  color: var(--default-color);
  font-weight: 600;
}

.hero .btn-watch-video i {
  color: var(--accent-color);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover {
  color: var(--accent-color);
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }

  .hero .btn-get-started,
  .hero .btn-watch-video {
    font-size: 13px;
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services {
  --surface-color: color-mix(in srgb, var(--default-color), transparent 96%);
  padding-top: 0;
}

.featured-services .service-item {
  background-color: var(--surface-color);
  padding: 50px 30px;
  transition: all ease-in-out 0.4s;
  height: 100%;
}

.featured-services .service-item .icon {
  margin-bottom: 10px;
}

.featured-services .service-item .icon i {
  color: var(--accent-color);
  font-size: 36px;
  transition: 0.3s;
}

.featured-services .service-item h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.featured-services .service-item h4 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
}

.featured-services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.featured-services .service-item:hover {
  transform: translateY(-10px);
}

.featured-services .service-item:hover h4 a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 1.75rem;
  font-weight: 700;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 10px 0 0 0;
  display: flex;
}

.about .content ul i {
  color: var(--accent-color);
  margin-right: 0.5rem;
  line-height: 1.2;
  font-size: 1.25rem;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats {
  padding-top: 0;
}

.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item span {
  font-size: 48px;
  display: block;
  color: var(--accent-color);
  font-weight: 700;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 80px 20px;
  transition: border ease-in-out 0.3s;
  height: 100%;
}

.services .service-item .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: var(--accent-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover {
  border-color: var(--accent-color);
}

.services .service-item:hover h3 {
  color: var(--accent-color);
}

/* .full-background-section {
  height: 90vh;
  background: 
    linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
    url('/enno/assets/img/background_agam.png');
  background-size: cover;
  background-position: center;
} */

.full-background-section {
  min-height: calc(100vh - 100px); /* ⬅️ tinggi dikurangi header */
  width: 118vw;

  background: 
    linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
    url('/enno/assets/img/background_agam.png');

  background-size: 100%, 108%; 
  background-position: 50%, 200%;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
}

.full-background-section {
  overflow: hidden;
}

.sitename {
  font-weight: 700;
}

.logo {
  margin-right: auto;
}

body {
  margin: 0;
  overflow-x: hidden;
}

#home {
  scroll-margin-top: 100px; /* sesuaikan tinggi header kamu */
}

html {
  scroll-behavior: smooth;
}
/* Glassmorphism Panel */
/* .glass-panel {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  padding: 48px 64px;
  max-width: 700px;
  width: 32%;
} */

.glass-title {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 5px;
  letter-spacing: 2px;
}

.glass-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f0f0f0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.8;
  margin: 0;
}

.content-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-start; /* ⬅️ pindah ke kiri */
  align-items: center;         /* ⬅️ tengah vertikal */
  padding-left: 13px;          /* ⬅️ jarak dari kiri */
}

/* BACKGROUND HOME HIBAH */
/* .hero-hibah{
    min-height: 100vh;
    background:
        linear-gradient(
            to right,
            rgba(0,0,0,0.55),
            rgba(0,0,0,0.25)
        ),
        url('/images/tanah.png');

    background-size: cover;
    background-position: center;
}

.d-flex .form-control{
    flex: 1;
}

.btn-primary{
    white-space: nowrap;
}
*/
.filter-box{
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.form-control{
    height: 50px;
    border-radius: 12px;
}

.btn-primary{
    height: 50px;
    border-radius: 12px;
} 
.hero-hibah {
  width: 100%;
  min-height: 100vh;           /* selalu full tinggi layar */
  padding-bottom: 100px;       /* ruang cukup untuk pagination */

  background: linear-gradient(
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)
    ),
    url("../img/tanah.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* BACKGROUND HOME BANSOS */
.hero-bansos {
  width: 100%;
  height: 75vh;

  background: linear-gradient(
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)
    ),
    url("../img/gedung.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* BACKGROUND HOME LAPORAN */
.hero-statistik {
  width: 100%;
  /* Tidak pakai min-height atau height tetap —
     tinggi mengikuti panjang konten secara alami.
     Footer dari layouts/app.blade.php otomatis ada di bawah. */

  background: linear-gradient(
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)
    ),
    url("../img/peralatan.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: block;
}

/* BACKGROUND HOME REGULASI */
.hero-regulasi {
  width:100%;
  height:75vh;

  background: linear-gradient(
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.5)
  ),
  url("../img/gedung.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/*==============================================================
  HIBAH & BANSOS — Filter Form, Dropdown, Tabel, Pagination
==============================================================*/

/* ── FILTER BOX
   Transparan abu-abu dengan blur — bukan hitam.
   rgba(255,255,255, 0.12) = putih 12% opacity → terlihat abu-abu
   di atas foto background yang gelap.
──────────────────────────────────────────────── */
.filter-box {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 100%;
}

/* ── LABEL di atas setiap dropdown ── */
.label-filter {
  display: block;
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 4px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* ── SELECT DROPDOWN (SKPD, Lembaga, Belanja, Tahun)
   Paksa background putih dan teks hitam agar tidak ikut warna hero.
   !important diperlukan karena Bootstrap kadang di-override
   oleh CSS global section yang gelap.
──────────────────────────────────────────────── */
.select-filter {
  background-color: #ffffff !important;
  color: #212529 !important;
  border: 1px solid #ced4da !important;
  border-radius: 0.25rem !important;
}

.select-filter option {
  background-color: #ffffff;
  color: #212529;
}

.select-filter:focus {
  border-color: #86b7fe !important;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25) !important;
  outline: none;
}

/* ── TABEL LAPORAN ── */
.tabel-laporan {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 0;
}

.tabel-laporan table {
  min-width: 1100px;
}

/* ── PAGINATION
   Tombol pagination di atas latar gelap → warna terang.
   Margin bawah cukup besar agar tidak ketutup footer.
──────────────────────────────────────────────── */
#paginasiWrap {
  position: relative;
  z-index: 5;
  margin-top: 12px;
  margin-bottom: 60px;
  padding-bottom: 20px;
}

#paginasiWrap .page-link {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

#paginasiWrap .page-item.active .page-link {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: #ffffff;
}

#paginasiWrap .page-item.disabled .page-link {
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.35);
}

#paginasiWrap .page-link:hover {
  background-color: rgba(255, 255, 255, 0.30);
  color: #ffffff;
}

#paginasiInfo {
  font-size: 13px;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/*==============================================================
  CUSTOM DROPDOWN — cd-box, cd-daftar, cd-item
  Dipakai untuk SKPD, Lembaga, Belanja agar teks panjang
  tidak terpotong (wrap ke bawah di dalam daftar).

  Cara kerja (bahasa bayi):
    cd-box    = kotak yang kelihatan user, tampilannya mirip <select>
    cd-daftar = daftar pilihan, muncul saat cd-box diklik
    cd-item   = setiap baris pilihan di dalam cd-daftar
    <select>  = tersembunyi, hanya untuk kirim data ke server
==============================================================*/

/* Pembungkus — relative agar daftar bisa muncul tepat di bawah */
.cd-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 4px 10px;
  min-height: 31px;
  background-color: #ffffff !important;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  color: #6c757d;
  cursor: pointer;
  box-sizing: border-box;
  width: 100%;
  user-select: none;
}

.cd-box:hover,
.cd-box:focus {
  border-color: #86b7fe;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.25);
}

/* Teks di dalam kotak — satu baris dengan ellipsis */
.cd-teks {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #6c757d;
}

/* Warna gelap saat sudah ada pilihan */
.cd-box.cd-ada-nilai .cd-teks {
  color: #212529;
}

/* Ikon panah */
.cd-panah {
  flex-shrink: 0;
  font-size: 10px;
  color: #6c757d;
  margin-left: 4px;
}

/* Daftar pilihan — tersembunyi default */
.cd-daftar {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 100%;
  width: max-content;     /* ikuti lebar teks terpanjang */
  max-width: 480px;       /* jangan terlalu lebar */
  background: #fff;
  border: 1px solid #ced4da;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  z-index: 99999;
  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px 0;
  margin: 0;
  list-style: none;
  box-sizing: border-box;
}

/* Muncul saat class cd-buka ditambahkan JS */
.cd-daftar.cd-buka {
  display: block;
}

/* Setiap baris pilihan */
.cd-item {
  padding: 8px 12px;
  font-size: 13.5px;
  line-height: 1.5;
  white-space: normal;    /* teks panjang turun ke baris bawah */
  word-break: break-word;
  cursor: pointer;
  color: #212529;
  list-style: none;
}

.cd-item:hover {
  background-color: #f0f7ff;
  color: #0d6efd;
}

/* Item yang dipilih */
.cd-item.cd-aktif {
  background-color: #e8f0fe;
  color: #0d6efd;
  font-weight: 600;
}

/* Baris placeholder (Pilih SKPD, dll) */
.cd-item.cd-placeholder-item {
  color: #888;
  font-style: italic;
}

/* Scrollbar tipis */
.cd-daftar::-webkit-scrollbar { width: 5px; }
.cd-daftar::-webkit-scrollbar-thumb { background: #ced4da; border-radius: 3px; }

/* Pastikan kolom dropdown punya overflow visible
   agar daftar bisa muncul ke luar batas kolom */
.row > .col,
.row > [class*="col-"] {
  overflow: visible !important;
}

/*==============================================================
  HALAMAN STATISTIK — stat-card, stat-panel, stat-bar
==============================================================*/

/* Kartu ringkasan (Anggaran, Realisasi, Persentase) */
.stat-card {
  display      : flex;
  align-items  : center;
  gap          : 14px;
  padding      : 16px 20px;
  border-radius: 12px;
  background   : rgba(255, 255, 255, 0.92);
  box-shadow   : 0 2px 12px rgba(0, 0, 0, 0.12);
}
.stat-card-hibah  { border-left: 5px solid #10bc69; }
.stat-card-bansos { border-left: 5px solid #0d6efd; }

.stat-icon { font-size: 28px; opacity: .7; flex-shrink: 0; }
.stat-card-hibah  .stat-icon { color: #10bc69; }
.stat-card-bansos .stat-icon { color: #0d6efd; }

.stat-label { font-size: 12px; color: #666; font-weight: 600; text-transform: uppercase; }
.stat-val   { font-size: 18px; font-weight: 700; color: #212529; line-height: 1.2; }

/* Progress bar kecil di kartu persentase */
.stat-bar      { height: 6px; background: #e9ecef; border-radius: 3px; overflow: hidden; }
.stat-bar-fill { height: 100%; border-radius: 3px; transition: width .5s; }

/* Panel grafik / tabel */
.stat-panel {
  background   : rgba(255, 255, 255, 0.93);
  border-radius: 12px;
  box-shadow   : 0 2px 12px rgba(0, 0, 0, 0.12);
  overflow     : hidden;
}
.stat-panel-title {
  background : #212529;
  color      : #fff;
  padding    : 10px 18px;
  font-size  : 14px;
  font-weight: 600;
  display    : flex;
  align-items: center;
}
.stat-panel-body { padding: 16px; }

/* Hero statistik — padding bawah wajar, footer tidak akan naik ke tengah
   karena section sudah tidak pakai min-height tetap */
.hero-statistik { padding-bottom: 60px; }

/* Footer selalu di bawah konten */
.footer {
  position: relative !important;
  z-index: 1 !important;
}
