
    html {
        scroll-behavior: smooth;
    }

    body {
        font-family: 'Lato', sans-serif;
        margin: 0;
        padding: 0;
        line-height: 1.6;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-family: 'Raleway', sans-serif;
        margin: 0 0 1rem;
    }

    h1 {
        font-size: 2.5rem;
        font-weight: 700;
    }

    h2 {
        font-size: 2rem;
        font-weight: 600;
    }

    p {
        font-size: 1rem;
        margin: 0 0 1rem;
    }

    .navbar {
        transition: background-color 0.5s ease, padding 0.5s ease;
        padding-left: 4rem;
        padding-right: 4rem;
        background: rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-top: 0;
        border-left: 0;
        transition: ease-in-out 0.5s;
    }

    /* Navbar items color */
    .navbar .nav-link {
        color: #ffffff;
        /* White text color */
    }

    /* Hover effect for navbar - entire navbar changes to blue */
    .navbar:hover {
        background: #0D0D0D;

        /* Blue background on hover */
    }

    /* Navbar items color change on hover */
    .navbar:hover .nav-link {
        color: #ffffff;
        /* Keep the text white */
    }

    /* Navbar brand styling */
    .navbar-brand {
        color: #ffffff;
        /* White text */
        font-weight: bold;
    }

    /* Optional: Change the color of the brand on hover */
    .navbar-brand:hover {
        color: #ffffff;
        /* Keep text white */
    }

    /* Optional: Make the navbar dark when scrolling */
    .navbar-scrolled {
        background-color: #0D0D0D !important;
        /* Blue background after scrolling */
    }

    .img-logo {
        height: 3rem;
    }

    .main-card-img {
        height: 400px;
        /* Adjust the height as needed */
        object-fit: cover;
        /* Ensures the image scales proportionally and covers the space */
        width: 100%;
        /* Ensures it spans the full width */
    }

    .navbar-nav {
        display: flex;
        justify-content: space-evenly;
        width: 100%;
    }

    .modal-dialog-bottom {
        position: fixed;
        top: auto;
        right: 0;
        left: 0;
        bottom: 0;
    }

    .navbar .dropdown-menu {
        background: #0D0D0D;
        /* Same as navbar semi-transparent black */
        border: none;
        
        /* Remove the border to blend it */
        backdrop-filter: blur(10px);
        /* Apply the blur effect as in the navbar */
    }

    /* Dropdown menu items color */
    .navbar .dropdown-menu .dropdown-item {
        color: #ffffff;
        padding: 16px;
        /* White text */
    }

    /* Change dropdown item color on hover */
    .navbar .dropdown-menu .dropdown-item:hover {
        background-color: #FFBF00;
        /* Blue background on hover */
        color: #ffffff;
        /* White text */
    }

    /* Optional: You can also add this rule to change the font weight or styling of dropdown items */
    .navbar .dropdown-menu .dropdown-item {
        font-weight: 400;
        text-transform: none;
        padding: 16px;
        transition: ease-in-out 0.2s;
        border-radius: 15px;
    }

    .dropdown-ornament {
        position: relative; /* Ornamen menempel di bawah dropdown */
        bottom: 0; /* Selalu di bagian bawah dropdown */
        left: 0;
        margin: 0;
        width: 100%; /* Lebar penuh */
        height: 38px; /* Tinggi ornamen */
        background-image: url('../img/dayak-ornament2.svg');
        background-repeat: repeat-x;
        background-size: contain;
        z-index: 1; /* Pastikan ornamen terlihat di atas konten lain */
        pointer-events: none; /* Tidak mengganggu interaksi */
    }

    .slider-img {
        height: 250px; /* Sesuaikan tinggi gambar */
        width: 100%; /* Pastikan gambar penuh lebar */
        object-fit: cover; /* Stretch gambar agar penuh tanpa background kosong */
        object-position: center; /* Pusatkan gambar */
        border-radius: 2rem;
    }
    
    .carousel-caption {
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.75); /* Gelap dengan transparansi */
        padding: 20px;
        text-align: center;
    }

    #slider .card {
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    }
    
    #slider .card:hover {
        transform: translateY(-5px); /* Mengangkat kartu sedikit ke atas */
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15); /* Efek bayangan */
    }

    .btn-selengkapnya {
        opacity: 0.4; /* Set transparan */
        transition: opacity 0.3s ease-in-out; /* Animasi perubahan opacity */
    }
    
    .btn-selengkapnya:hover {
        opacity: 1; /* Saat hover, opacity penuh */
    }
    
    
    #hero {
        min-height: 100vh;
        color: white;
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
        position: relative;
        background-color: #1d1d1d; /* Background warna tetap di #hero */
        overflow: hidden;
    }
    
    #hero::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('../img/dayak1.svg') no-repeat right center;
        background-size: contain;
        opacity: 0.8; /* Bisa diatur transparansinya */
        z-index: 0;
    }
    
    #hero > * {
        position: relative;
        z-index: 1;
    }    

    /* Keyframe animation for liquid-like movement */
    @keyframes liquidMovement {
        0% {
            transform: translate(0, 0);
        }

        25% {
            transform: translate(15px, -30px);
        }

        50% {
            transform: translate(-15px, 5px);
        }

        75% {
            transform: translate(10px, -10px, -40px);
        }

        100% {
            transform: translate(0, 0);
        }
    }

    #hero .col-md-6.bg-image-container::before {
        content: '';
        position: absolute;
        top: 10%;
        left: 30%;
        width: 150px;
        height: 150px;
        background: radial-gradient(circle, rgba(0, 150, 255, 0.4), transparent);
        border-radius: 50%;
        filter: blur(5px);
    }

    #hero .col-md-6.bg-image-container::after {
        content: '';
        position: absolute;
        top: 60%;
        left: 70%;
        width: 250px;
        height: 250px;
        background: radial-gradient(circle, rgba(0, 255, 255, 0.5), transparent);
        border-radius: 50%;
        filter: blur(8px);
    }

    #hero h1,
    #hero p {
        transition: transform 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
    }

    #hero:hover h1 {
        transform: translateY(-10px);
        /* Slight upward movement */
        text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.8);
        /* Stronger text shadow on hover */
    }

    #hero:hover p {
        transform: translateY(-5px);
        /* Slight upward movement */
        text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.8);
        /* Stronger text shadow on hover */
    }

    #searchForm {
        z-index: 999;
    }

    #searchForm input {
        border: none;
        border-radius: 50px;
        padding: 1rem;
    }

    #searchForm input:active {
        opacity: 1;
    }

    #searchForm input:focus {
        opacity: 1;
        border-color: #FFBF00 !important;
        box-shadow: 0 0 0 .25rem rgba(253, 209, 13, 0.25) !important;
    }

    #searchForm button {
        border-radius: 50px;
        padding: 0.8rem 2rem;
        font-weight: bold;
        background-color: #ffffff;
        color: #0D0D0D;
        text-transform: uppercase;
        transition: all 0.3s ease-in-out;
    }

    #searchForm button:hover {
        background-color: #FFBF00;
        /* A slightly darker blue */
        color: #ffffff;
        /* White text */
    }

    #particles-js {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        /* Behind the hero content */
    }

    #animatedText span {
        display: inline-block;
        opacity: 0;
        transform: translateY(50px);
        /* Start from bottom */
        transition: opacity 0.2s ease, transform 0.2s ease;
        /* Adjust transition timing */
    }

    #animatedText span.revealed {
        opacity: 1;
        transform: translateY(0);
        /* Move to middle */
    }

    #animatedText span.revealed-back {
        transform: translateY(-50px);
        /* Move back to top */
    }

    #berita-section {
        background-image: url('../img/dayak-ornament2.svg');
        background-size: cover;
        background-position: center;
        background-repeat: repeat;
        background-attachment: fixed;
    }

    .breadcrumb-item a {
        text-decoration: none !important; /* Menghilangkan underline */
        color: white !important; /* Pastikan warna tetap terlihat */
    }
    
    .breadcrumb-item a:hover {
        text-decoration: underline; /* Bisa dikembalikan saat hover jika diinginkan */
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        color: white !important; /* Warna simbol pemisah `/` */
        opacity: 1 !important;
    }
    

    .slider-img {
        height: 250px; /* Sesuaikan tinggi gambar agar proporsional */
        object-fit: cover; /* Gambar akan stretch tanpa terpotong */
    }

    @media (max-width: 768px) {
        .slider-img {
            height: 150px; /* Ubah tinggi pada layar kecil */
        }
    }

    .wysiwyg-content img {
        max-width: 100%;
        height: auto;
    }
    
    .wysiwyg-content table {
        width: 100%;
        border-collapse: collapse;
    }
    
    .wysiwyg-content table, 
    .wysiwyg-content th, 
    .wysiwyg-content td {
        border: 1px solid #ddd;
        padding: 8px;
    }
    
    .wysiwyg-content blockquote {
        font-style: italic;
        color: #555;
        border-left: 4px solid #ccc;
        padding-left: 10px;
        margin-left: 0;
    }
    

    @media (max-width: 768px) {
        #hero::after {
            background-position: center center;           
            opacity: 0.3; /* Transparansi lebih tinggi di mode mobile */

        }
        .navbar {
          overflow-y: auto;
          max-height: 100vh;
        }

        
    }
    

    @media (min-width: 992px) {

        @keyframes slideInDown {
            0% {
                transform: translate(-50%, -100%);
                opacity: 0;
            }

            100% {
                transform: translate(-50%, -1px);
                opacity: 1;
            }
        }

        @keyframes slideOutUp {
            0% {
                transform: translate(-50%, -100%);
                opacity: 1;
            }

            100% {
                transform: translate(-50%, -1px);
                opacity: 0;
            }
        }

        .navbar-nav .dropdown-menu {
            position: relative; /* Konteks untuk ornamen */
            max-width: 100vw;
            width: 100%;
            left: 50%;
            transform: translateX(-50%);
            animation: slideInDown 0.5s;
            max-height: 90vh; /* Batasi tinggi dropdown */
            overflow-x: hidden; /* Aktifkan scroll */
            overflow-y: auto; /* Aktifkan scroll */
        }
    }

    /* Carousel Styling */
    #imageSlider {
        height: 400px;
        /* Atur tinggi sesuai kebutuhan */
        position: relative;
        z-index: 2;
    }


    /* Style untuk Search Form */
    #searchForm input {
        opacity: 0.5;
    }

    #searchForm input,
    #searchForm button {
        max-width: 600px;
    }

    /* Style untuk teks utama */
    #hero h1,
    #hero p {
        z-index: 3;
        /* Pastikan teks terlihat di atas background */
        color: #fff;
        /* Teks berwarna putih agar kontras dengan background */
    }

    .glassmorph {
        /* From https://css.glass */
        background: rgba(255, 255, 255, 0.2);
        border-radius: 16px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    #info-penting .carousel-item,
    #layanan .carousel-item {
        overflow: hidden;
        max-height: 300px;
    }

    .carousel-item img {
        object-fit: center;
        min-height: 300px;
    }

    footer {
        background-color: #0D0D0D;
    }

    /* Floating Button Styling */
    .fab {
        position: fixed;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        opacity: 1;
        transition: opacity 0.3s ease;
    }

    .fab-whatsapp {
        bottom: 90px;
        right: 20px;
        background-color: #0D0D0D;
    }

    .fab-top {
        bottom: 20px;
        right: 20px;
        background-color: #FFBF00;
    }

    .fab.hidden {
        display: none;
        opacity: 0;
        pointer-events: none;
        /* Prevent interaction when hidden */
    }

    .fab i {
        font-size: 24px;
    }

    .fab:hover {
        opacity: 0.8;
    }

    #map {
        height: 400px;
        width: 100%;
    }

    .btn.shadow {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .btn.shadow:hover {
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
        transform: translateY(-2px);
    }

    .card {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        border: 0;
    }

    .carousel-indicators {
        bottom: -50px;
        /* Pindahkan ke bawah luar kotak slider */
        position: absolute;
        /* Pastikan posisi relatif terhadap slider */
        width: auto;
        /* Sesuaikan lebar */
        justify-content: center;
        /* Pastikan indikator terpusat */
        gap: 10px;
        /* Spasi antar indikator */
    }

    #agendaCarousel .carousel-indicators {
        /* Pindahkan ke bawah luar kotak slider */
        position: absolute;
        bottom: 0;
        /* Pastikan posisi relatif terhadap slider */
        width: auto;
        /* Sesuaikan lebar */
        justify-content: center;
        /* Pastikan indikator terpusat */
        gap: 10px;
        /* Spasi antar indikator */
    }

    .carousel-indicators [data-bs-target] {
        width: 20px;
        height: 20px;
        border: 1px solid black;
        /* Border hitam */
        background-color: white;
        /* Latar putih */
        border-radius: 50%;
        /* Membuat bulat */
        opacity: 1;
        /* Supaya selalu terlihat */
        position: relative;
        /* Untuk titik di tengah */
    }

    #agendaCarousel .carousel-indicators [data-bs-target] {
        width: 14px !important;
        height: 14px !important;
        border: 1px solid black;
        /* Border hitam */
        background-color: #f8f9fa;
        /* Latar putih */
        border-radius: 50%;
        /* Membuat bulat */
        opacity: 1;
        /* Supaya selalu terlihat */
        position: relative;
        /* Untuk titik di tengah */
    }

    .carousel-indicators .active {
        background-color: white;
        /* Tetap putih */
    }

    .carousel-indicators .active::before {
        content: '';
        /* Titik hitam di tengah */
        width: 15px;
        /* Ukuran titik hitam */
        height: 15px;
        /* Ukuran titik hitam */
        background-color: black;
        /* Warna titik */
        border-radius: 50%;
        /* Membuat titik bulat */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }


    #agendaCarousel .carousel-indicators .active::before {
        content: '';
        /* Titik hitam di tengah */
        width: 7px;
        /* Ukuran titik hitam */
        height: 7px;
        /* Ukuran titik hitam */
        background-color: black;
        /* Warna titik */
        border-radius: 50%;
        /* Membuat titik bulat */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #whistleblower-banner {
        min-height: 50vh;
        background: #333;
        color: white;
        background-image: url('../img/dayak-ornament3.svg');
        background-repeat: no-repeat;
        background-position: right center;
        background-size: contain;
    }

    #whistleblower-banner a:hover {
        background-color: #444;
        border-radius: 15px;

        /* Slightly darker background on hover */
        transition: background-color 0.3s ease;
    }


    #layanan {
        background-image: url('../img/dayak-ornament4.svg');
        background-repeat: repeat-x;
        background-size: 600px;
        background-position: bottom;
    }

    .card-hover {
        filter: grayscale(100%);
        transition: filter 0.3s ease, transform 0.3s ease;
    }

    .card-hover:hover {
        filter: grayscale(0%);
        transform: scale(1.03);
    }
    
    #slider .carousel-item {
        max-height: 400px;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    
    @media (max-width: 768px) {
        #slider .carousel-item {
            background-size: contain; /* Di mobile baru berubah jadi contain */
        }
    }


    .page-header {
        margin-top: 4rem;
        min-height: 35vh; 
        background-color: #1b1b1b; 
        display: flex; 
        align-items: flex-end; 
        justify-content: center;
        background-image: url('../img/dayak-ornament3.svg');
        background-repeat: no-repeat;
        background-position: center right;
        background-size: 150px;
    }

    .page-header a {
        text-decoration: none;
        transition: none;
    }
    
    .page-header a:hover {
        font-weight: bold;
        text-decoration: none;
    }

    #gpr-kominfo-widget-header{
        background-color: #1b1b1b !important;
    }

    .img-small {
        width: 100%;
        height: 300px; /* or any height you prefer */
        object-fit: cover;
    }

    /* Efek hover khusus untuk kartu layanan */
.layanan-card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.layanan-card-hover:hover {
    transform: scale(1.03);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}

.layanan-card-hover:hover .card-title {
    color: #007bff !important; /* Ubah warna judul saat hover */
}

.content img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.content img:hover {
    transform: scale(1.05);
}

.hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-effect:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* ACCORDION RESET */
.custom-accordion .accordion-item {
    border: none;
    margin-bottom: 0.5rem;
  }
  
  .custom-accordion .accordion-button {
    background: transparent;
    border: none;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    width: 100%;
    transition: color 0.3s;
  }
  
  .custom-accordion .accordion-button:focus {
    box-shadow: none;
  }
  
  /* REMOVE DEFAULT ARROW */
  .custom-accordion .accordion-button::after {
    display: none;
  }
  
  /* ACTIVE STATE */
  .custom-accordion .accordion-button:not(.collapsed) .accordion-title {
    color: #FFB704;
    font-weight: 600;
  }
  
  /* CUSTOM ICON */
  .accordion-icon {
    width: 0.6rem;
    height: 0.6rem;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    transition: transform 0.3s, border-color 0.3s;
    margin-left: auto;
  }
  
  .custom-accordion .accordion-button:not(.collapsed) .accordion-icon {
    transform: rotate(-135deg);
    border-color: #FFB704;
  }
  
  /* ACCORDION BODY */
  .custom-accordion .accordion-body {
    padding: 0.5rem 1.5rem 1rem 1.5rem;
    font-size: 0.95rem;
    color: #555;
  }
  
  /* LIST INSIDE ACCORDION */
  .accordion-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .accordion-list li {
    margin-bottom: 0.5rem;
  }
  
  .accordion-list a {
    text-decoration: none;
    color: #555;
    font-weight: 400;
    transition: color 0.3s, font-weight 0.3s;
  }
  
  .accordion-list a:hover {
    color: #FFB704;
  }
  
  /* ACTIVE LINK STYLE */
  .accordion-list .active-link {
    color: #FFB704;
    font-weight: 600;
  }
  .pagination .page-link {
    border: 1px solid #ffc107;
    color: black;
    background-color: #ffc107;
    margin: 0 3px;
    border-radius: 30px;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease, transform 0.2s ease;
    opacity: 1;
    pointer-events: auto;
}

.pagination .page-item.active .page-link {
    background-color: black;
    color: #ffc107;
    border-color: black;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transform: scale(1.05);
}

.pagination .page-item.disabled .page-link {
    background-color: #ffe082; /* soft yellow pastel */
    color: black;
    border-color: #ffe082;
    opacity: 1; /* jangan diredam opacity */
    cursor: not-allowed; /* kasih hint kalau dia nggak bisa diklik */
}

.pagination .page-link:hover {
    background-color: black;
    color: #ffc107;
    border-color: black;
    transform: scale(1.03);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Aestetic for modal */
#audioModal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    border-radius: 1rem 1rem 0 0;
}

#audioModal .modal-content {
    background-color: #0D0D0D;
    border: none;
}

#audioModal .modal-header {
    background-color: #0D0D0D;
    border-bottom: none;
}

#audioModal .modal-title {
    color: #ffc107;
    font-weight: 600;
}

#audioModal .modal-body {
    color: #fff;
}

#audioModal .modal-footer {
    background-color: #0D0D0D;
    border-top: none;
}

#audioModal .btn-outline-dark {
    color: #ffc107;
    border-color: #ffc107;
}

#audioModal .btn-outline-dark:hover {
    background-color: #ffc107;
    color: black;
}

#audioModal .btn-light {
    color: #0D0D0D;
    background-color: #ffc107;
    border-color: #ffc107;
}

#audioModal .btn-light:hover {
    background-color: #23272E;
    color: #ffc107;
}

.layanan-bg {
    background-color: #C2CBD2; /* Ganti layanan dengan abu-abu terang */
    padding: 6px;
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.layanan-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Gambar penuh tanpa crop, tetap proporsional */
}
