/*body{
    font: normal 1em Lato,sans-serif;
}*/

/*title column or page*/
.title:after {
    border-bottom: 1px solid #e3dfde;
    margin-top: -12px;
    content: "";
    display: block;
}
.title span {
    background: #fff;
    padding: 0px 5px;
}
.home-link:hover {
    background: #cce8ff;
}
/*title column or page*/

a:hover {
    text-decoration: none;
}

/*.bg-header {
    background-image: url('/assets/frontend/images/header/head-jdih.png');
    height: 100px;
}*/
.bg-header {
    /*background-color: #247bff61!important;*/
    background-color: #0e447c !important;
}

/*============================== Zoom Effect ==============================*/
.layanan-bantuan .zoom img {
    width: 145px;
    height: auto;
}

.layanan-bantuan.icon-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.zoom {
    display: inline-block;
    overflow: visible;
    transition: transform 0.2s ease-in-out;
    will-change: transform;
}

.zoom:hover {
    transform: scale(1.05);
}

.zoom img {
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    backface-visibility: hidden;
    vertical-align: middle;
    display: inline-block;
}

/* Untuk tampilan mobile (maks lebar 768px) */
@media (max-width: 768px) {
    .layanan-bantuan .zoom img {
        width: 100%;
        height: auto;
    }
}

/*============================== Zoom Effect ==============================*/

/*============================== Playstore dan Appstore ==============================*/
.app-store-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 768px) {
    .app-store-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

.app-store-buttons a {
    margin: 0; /* Hapus margin kanan */
}

.app-store-buttons img {
    max-width: 170px;
    height: auto;
}
/*============================== Playstore dan Appstore ==============================*/

.table-hover thead tr:hover th,
.table-hover tbody tr:hover td {
    background-color: #cce8ff;
}

.card:hover {
    background-color: #cce8ff;
}

.noHover:hover {
    background-color: #fff;
}

.btn-primary {
    background: #0e447c;
}

.btn-buku {
    font-size: 14px;
    color: #fff;
    line-height: 15px;
    border-radius: 20px;
    background: #0e447c;
    width: 180px;
}

.btn-buku:hover {
    color: #fff;
    background: #0069d9;
}

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

/*.btn-primary:hover {*/
/*     background:#fff;*/
/*}*/

.btn-cari {
    font-size: 16px;
    color: #fff;
    letter-spacing: 1px;
    line-height: 20px;
    border-radius: 10px;
    background: #0e447c;
}

.btn-cari:hover {
    color: #fff;
    background: #0069d9;
}

.nav-text {
    background-color: white;
}

/*.navbar-dark .navbar-nav .nav-link {*/
/*color: rgb(255, 255, 255);*/
/*    color:#0E447C;*/
/*}*/

/*.navbar-dark .navbar-nav .nav-link:hover{*/
/*color:#0E447C;*/
/*background-color:#fff;*/

/*    color:#fff;*/
/*    background-color:#0E447C;*/
/*}*/

/*.nav-link {*/
/*    color: rgb(255, 255, 255);*/
/*    letter-spacing: 1px;*/
/*}*/

/*.nav-link:hover{*/
/*    color:#0E447C;*/
/*    background-color:#fff;*/
/*}*/

/* Warna default navbar link */
.navbar-dark .navbar-nav .nav-link {
    color: #0e447c;
}

/* Hover di navbar (bukan dropdown aktif) */
.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
    background-color: #0e447c;
}

/* Hover umum — hindari override semua */
.nav-link {
    color: #fff; /* default umum untuk link */
    letter-spacing: 1px;
}

.nav-link:hover:not(.dropdown-toggle) {
    color: #0e447c;
    background-color: #fff;
}

/* Tambahan jika dropdown aktif */
.navbar-dark .navbar-nav .nav-item.show > .nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:active {
    color: #fff !important;
    background-color: #0e447c !important;
}

.box-mobile {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
    text-align: justify;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: 1px;
}

/*================================ STATUS ICON BERLAKU-TIDAK BERLAKU ================================*/

.status-box {
    display: inline-block;
    width: 12px; /* Adjust width for image size */
    height: 12px; /* Adjust height for image size */
    margin-right: 10px; /* Spacing between image and text */
    vertical-align: middle; /* Align with text */
    border-radius: 50%; /* Make it circular */
    background-size: contain; /* Ensure the image fits within the box */
    background-repeat: no-repeat; /* Prevent image from repeating */
    background-position: center; /* Center the image within the box */
}

.status-icon {
    font-size: 10px;
}

/*================================ END STATUS ICON BERLAKU-TIDAK BERLAKU ================================*/

/*================================ FLIPBOOK PDF BACKGROUND COLOR ================================*/

.df-container {
    background-color: #5e5e5e !important;
}

/*================================ END FLIPBOOK PDF BACKGROUND COLOR ================================*/

/*Zoom Mouse Rollover*/

/*.tile {*/
/*  position: relative;*/
/*  float: left;*/
/*  width: 95%;*/
/*  height: 100%;*/
/*  overflow: hidden;*/
/*}*/

/*.photo {*/
/*  position: absolute;*/
/*  top: 0;*/
/*  left: 0;*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  background-repeat: no-repeat;*/
/*  background-position: center;*/
/*  background-size: cover;*/
/*  transition: transform .5s ease-out;*/
/*}*/

/*Zoom Mouse Rollover*/

/*================================ DROPDOWN MENU NAVIGATION ================================*/

.dropdown-menu {
    position: relative;
    top: 100%;
    left: 0%;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #0e447c;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    letter-spacing: 1px;
}

/* Style for the dropdown submenu */
.dropdown-submenu {
    position: absolute;
    left: 100%; /* Posisikan submenu di sebelah kanan item induk */
    top: 0; /* Pastikan submenu sejajar dengan item induk */
    margin-top: 0; /* Hapus margin untuk perataan */
}

/* Media query untuk tampilan responsif */
@media (min-width: 700px) and (max-width: 1200px) {
    .dropdown-submenu {
        position: absolute;
        left: 100%; /* Posisikan submenu di sebelah kanan */
        top: 0; /* Pastikan submenu sejajar dengan item induk */
        margin-top: 0; /* Hapus margin untuk perataan */
    }
}

/* Gaya item dropdown */
.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 2rem; /* Pastikan padding tidak terlalu besar */
    clear: both;
    font-weight: 400;
    color: #fff;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

/* Pastikan dropdown toggles tidak ditutup saat diklik */
.dropdown-submenu > .dropdown-item:focus {
    display: block;
    width: 100%;
    padding: 0.5rem 2rem; /* Pastikan padding konsisten */
    clear: both;
    font-weight: 400;
    color: #fff;
    text-align: inherit;
    white-space: nowrap;
    border: 0;
    background-color: inherit;
    box-shadow: none;
}
.new-label {
    background-color: #fff; /* Warna latar belakang normal */
    color: #0e447c; /* Warna teks */
    border-radius: 12px; /* Membuat sudut oval */
    padding: 2px 8px; /* Ruang dalam */
    margin-left: 5px; /* Jarak dengan teks sebelumnya */
    font-weight: bold; /* Teks tebal */
    font-size: 10px; /* Ukuran font */
    transition:
        background-color 0.3s,
        color 0.3s; /* Animasi transisi */
}

/* Hover effect for dropdown-menu items */
.dropdown-menu .dropdown-item:hover {
    color: #0e447c;
    background-color: #fff;
}

/* Hover effect for dropdown-submenu items */
.dropdown-submenu .dropdown-item:hover {
    color: #0e447c;
    background-color: #fff;
}

/* Change the background of .new-label when the parent .dropdown-item is hovered */
.dropdown-item:hover .new-label {
    color: #fff; /* Warna teks saat hover */
    background-color: #0e447c; /* Warna latar belakang saat hover */
}

/*================================ END DROPDOWN MENU NAVIGATION ================================*/

/*.card {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: none !important; 
    border-radius: .25rem;
}
.card-header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0,0,0,.03);
    border: none !important; 
}*/

/* object {
	width: 100%;
	height: 500px;
} */
.h6,
h6 {
    font-size: 0.8rem;
}
@media (min-width: 992px) {
    .custom-col-lg-6 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 40%;
        max-width: 40% !important;
    }
    .custom-col-lg-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 30%;
        max-width: 30%;
    }
}
@media (min-width: 992px) {
    .col-lg-12.cs-h-img img {
        /* height: 100px; */
        /* max-width: 100%; */
    }
}

.h5,
h5 {
    font-size: 1.1rem !important;
}

@media only screen and (max-width: 575.98px) {
    .cs-h-img {
        overflow-x: hidden;
    }
    .col-lg-12.cs-h-img img {
        /* height: 70px; */
        width: 160%;
        margin-left: au;
    }
}

@media (min-width: 575.98px) and (max-width: 767.98px) {
    .cs-h-img {
        overflow-x: hidden;
    }
    .col-lg-12.cs-h-img img {
        height: 76px;
        width: auto !important;
        margin-left: -5%;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .cs-h-img {
        overflow-x: hidden;
    }
    .col-lg-12.cs-h-img img {
        height: 90px;
        width: auto !important;
        margin-left: -7%;
    }

    body {
        margin: 0;
        font-family:
            -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
            "Segoe UI Emoji", "Segoe UI Symbol";
        font-size: 0.8rem;
        font-weight: 400;
        line-height: 1.5;
        color: #212529;
        text-align: left;
        background-color: #fff;
    }
    .mr-4,
    .mx-4 {
        margin-right: 0.2rem !important;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .cs-h-img {
        overflow-x: hidden;
    }
    .col-lg-12.cs-h-img img {
        height: 76px;
        width: auto !important;
        margin-left: -2%;
    }
}

@media (min-width: 1200px) {
    nav.navbar.navbar-expand-md.bg-primary.navbar-dark.pt-0.pb-0 {
        padding-left: 0px;
        margin-left: -0.5rem;
        background-color: #0e447c;
    }
    .cs-h-img {
        overflow-x: hidden;
    }
    .col-lg-12.cs-h-img img {
        /* height: 100%; */
        width: 105%;
        margin-left: -4%;
    }
}

/* Default carousel control styles */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 25px;
    height: 25px; /* Set height equal to width for a square icon */
    background-size: 100% 100%; /* Ensure the background image covers the entire area */
    background-repeat: no-repeat;
    position: absolute; /* Position the icon absolutely within the carousel */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Center the icon vertically */
    transition: all 0.2s ease; /* Add transition for smooth effects */
    z-index: 5; /* Make sure the icons are above other content */
}

/* Adjust the previous control */
.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
    left: -40px; /* Allow slight positioning outside */
}

/* Adjust the next control */
.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
    right: -40px; /* Allow slight positioning outside */
}

/* Desktop view: Disable overflow */
.carousel {
    max-width: 100%; /* Prevent carousel from growing beyond the viewport */
    position: relative; /* Make sure the controls are positioned relative to the carousel */
    overflow: visible; /* Disable overflow for desktop */
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 10px; /* Even smaller width for very small screens */
        height: 10px; /* Ensure height matches width */
    }

    /* Mobile specific: ensure no overflow */
    .carousel {
        overflow: hidden; /* Enable overflow restriction on mobile */
    }

    .carousel-inner img {
        width: 100%; /* Ensure images are responsive */
        height: auto; /* Maintain aspect ratio */
    }
}

/*================================ END MODAL HOMEPAGE ================================*/

/*================================ FONT DATA STATISTIK PENGUNJUNG ================================*/
.total-number {
    font-size: 24px; /* Ganti dengan ukuran font yang diinginkan */
    font-weight: bold;
}
/*================================ END FONT DATA STATISTIK PENGUNJUNG ================================*/

/*================================ HOVER LINK FOOTER ================================*/

/*.bi:hover {*/
/*    color: yellow;*/
/*}*/

.select:hover {
    color: yellow;
    background-color: transparent;
}

/*================================ END HOVER LINK FOOTER ================================*/

/*================================ NEW SOCIAL MEDIA FOOTER ================================*/

.svg-inline--fa {
    vertical-align: -0.2em;
}

.rounded-social-buttons {
    text-align: center;
}

.rounded-social-buttons .social-button {
    display: inline-block;
    position: relative;
    cursor: pointer;
    width: 3.125rem;
    height: 3.125rem;
    border: 0.125rem solid transparent;
    padding: 0;
    text-decoration: none;
    text-align: center;
    color: #fefefe;
    font-size: 1.5625rem;
    font-weight: normal;
    line-height: 2em;
    border-radius: 1.6875rem;
    transition: all 0.5s ease;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}

.rounded-social-buttons .social-button:hover,
.rounded-social-buttons .social-button:focus {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
}

.rounded-social-buttons .fa-twitter,
.fa-facebook-f,
.fa-linkedin,
.fa-tiktok,
.fa-youtube,
.fa-instagram {
    font-size: 25px;
}

.rounded-social-buttons .social-button.facebook {
    background: #3b5998;
}

.rounded-social-buttons .social-button.facebook:hover,
.rounded-social-buttons .social-button.facebook:focus {
    color: #3b5998;
    background: #fefefe;
    border-color: #3b5998;
}

.rounded-social-buttons .social-button.twitter {
    background: #55acee;
}

.rounded-social-buttons .social-button.twitter:hover,
.rounded-social-buttons .social-button.twitter:focus {
    color: #55acee;
    background: #fefefe;
    border-color: #55acee;
}

.rounded-social-buttons .social-button.linkedin {
    background: #007bb5;
}

.rounded-social-buttons .social-button.linkedin:hover,
.rounded-social-buttons .social-button.linkedin:focus {
    color: #007bb5;
    background: #fefefe;
    border-color: #007bb5;
}

.rounded-social-buttons .social-button.tiktok {
    background: #000000;
}

.rounded-social-buttons .social-button.tiktok:hover,
.rounded-social-buttons .social-button.tiktok:focus {
    color: #000000;
    background: #fefefe;
    border-color: #000000;
}

.rounded-social-buttons .social-button.youtube {
    background: #bb0000;
}

.rounded-social-buttons .social-button.youtube:hover,
.rounded-social-buttons .social-button.youtube:focus {
    color: #bb0000;
    background: #fefefe;
    border-color: #bb0000;
}

.rounded-social-buttons .social-button.instagram {
    background: #125688;
}

.rounded-social-buttons .social-button.instagram:hover,
.rounded-social-buttons .social-button.instagram:focus {
    color: #125688;
    background: #fefefe;
    border-color: #125688;
}

/*================================ END NEW SOCIAL MEDIA FOOTER ================================*/

/*====================================== CAROUSEL SITUS TERKAIT ======================================*/
#carousel-prev,
#carousel-next {
    width: 4%; /* Lebar panah navigasi */
    background-color: transparent; /* Menghilangkan latar belakang */
    transition: all 0.05s ease; /* Waktu dan kecepatan animasi transisi */
}

#carousel-prev .carousel-control-prev-icon,
#carousel-next .carousel-control-next-icon {
    background-image: none; /* Menghapus default gambar */
}

#carousel-prev::before,
#carousel-next::before {
    font-family: "Font Awesome 5 Free"; /* Font Awesome Font Family */
    font-weight: 900; /* Pastikan ikon tampil dengan benar */
    font-size: 18px; /* Ukuran ikon panah lebih kecil */
    color: #0069d9; /* Warna biru */
    content: ""; /* Hapus default content untuk ikon */
    transition: color 0.05s ease; /* Animasi perubahan warna */
    opacity: 0; /* Tampilkan panah saat hover 
    visibility: hidden; /* Pastikan panah terlihat */
}

#carousel-prev::before {
    content: "\f053";
}

#carousel-next::before {
    content: "\f054";
}

#carousel-prev {
    margin-left: -20px; /* Jarak kiri dari konten */
}

#carousel-next {
    margin-right: -20px; /* Jarak kanan dari konten */
}

#carousel-item {
    display: flex;
}

#carousel-item img {
    width: 100%; /* Menyesuaikan lebar gambar agar sesuai dengan kolom */
    height: auto; /* Memastikan gambar tetap proporsional */
}

#carousel-prev:hover::before,
#carousel-next:hover::before {
    opacity: 1; /* Tampilkan panah saat hover */
    visibility: visible; /* Pastikan panah terlihat */
}

/*====================================== END CAROUSEL SITUS TERKAIT ======================================*/

/*====================================== CAROUSEL POSTER ======================================*/

#carousel-poster {
    position: relative;
}

#carousel-poster .carousel-inner {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    -ms-overflow-style: none; /* Hide scrollbar in IE and Edge */
    scrollbar-width: none; /* Hide scrollbar in Firefox */
}

#carousel-poster .carousel-inner::-webkit-scrollbar {
    display: none; /* Hide scrollbar in Chrome, Safari, and Opera */
}

#carousel-poster .carousel-item {
    flex: 0 0 100%;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

/* Initially hide the arrows */
#carousel-poster .carousel-control-prev,
#carousel-poster .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    cursor: pointer;
    z-index: 1;
    background: none; /* No background */
    opacity: 0; /* Hide arrows */
    transition: opacity 0.3s ease; /* Smooth transition for showing arrows */
}

#carousel-poster .carousel-control-prev {
    left: -40px;
}

#carousel-poster .carousel-control-next {
    right: -40px;
}

/* Add Font Awesome arrows */
#carousel-poster .carousel-control-prev::before,
#carousel-poster .carousel-control-next::before {
    font-family: "Font Awesome 5 Free"; /* Font Awesome Font Family */
    font-weight: 900; /* Ensure the icon appears correctly */
    font-size: 18px; /* Icon size */
    color: #0069d9; /* Blue color */
    content: ""; /* Remove default content */
    opacity: 0; /* Initially hidden */
    visibility: hidden; /* Ensure arrows are invisible by default */
    transition:
        color 0.05s ease,
        opacity 0.3s ease; /* Smooth transition for color and opacity */
}

#carousel-poster .carousel-control-prev::before {
    content: "\f053"; /* Font Awesome icon code for left arrow */
}

#carousel-poster .carousel-control-next::before {
    content: "\f054"; /* Font Awesome icon code for right arrow */
}

#carousel-poster .carousel-control-prev:hover,
#carousel-poster .carousel-control-next:hover {
    opacity: 1;
    visibility: visible;
}

#carousel-poster .carousel-control-prev:hover::before,
#carousel-poster .carousel-control-next:hover::before {
    opacity: 1;
    visibility: visible;
}

#carousel-poster .carousel-control-prev:hover::before,
#carousel-poster .carousel-control-next:hover::before {
    color: #0056b3; /* Darken the arrow color on hover */
}

/* Hide the arrow when not hovered */
#carousel-poster .carousel-control-prev:not(:hover)::before,
#carousel-poster .carousel-control-next:not(:hover)::before {
    opacity: 0;
    visibility: hidden;
}

/* Hide arrows on mobile devices */
@media (max-width: 768px) {
    #carousel-poster .carousel-control-prev,
    #carousel-poster .carousel-control-next {
        display: none;
    }
}

/*====================================== END CAROUSEL POSTER ======================================*/

/*====================================== SMALL QR CODE ======================================*/

/* Ensure the image is small and responsive */
.small-image {
    max-width: 100px;
    max-height: 100px;
}

/* Ensure the anchor tag takes the correct size for lightbox */
.glightbox {
    display: block;
    max-width: 100%;
}

/*====================================== DATE AND TIMER ======================================*/

#date-time-wrapper {
    position: relative;
    height: 1.5em;
    overflow: hidden;
}

.date-time-item {
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 1;
    will-change: transform, opacity;
    transition:
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#date-item {
    opacity: 1;
    font-size: 0.9em;
    transform: translateY(0);
    transition-delay: 0s;
}

#time-item {
    opacity: 0;
    transform: translateY(120%);
    transition-delay: 0.1s;
}

.show-date #date-item {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}

.show-date #time-item {
    opacity: 0;
    transform: translateY(120%);
    z-index: 1;
}

.show-time #date-item {
    opacity: 0;
    transform: translateY(-100%);
    z-index: 1;
}

.show-time #time-item {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}

/*=============================== TABEL RESPONSIVE ==========================*/
.table-responsive table {
    border-collapse: collapse;
    border: none !important;
    width: 100%;
}

.table-responsive table td,
.table-responsive table th {
    border: none !important;
}

/*==================== BUTTON ABSTRAK HOME =====================*/

.btn-abstrak {
    color: white;
    background-color: #0e447c;
    font-size: 11px;
    transition: background-color 0.3s;
    width: auto;
}

.btn-abstrak:hover {
    background-color: #0069d9;
}

.btn-align-abstrak {
    text-align: center;
    margin-top: 10px;
}

.btn-abstrak-search {
    background-color: #0e447c;
    color: white;
}

.btn-abstrak-search:hover {
    background-color: #0069d9;
}

/*======================== BUTTON HOME SEARCH DAN LAIN ==========================*/
.btn-look {
    font-size: 11px;
    transition: background-color 0.3s;
    width: 95px;
}

.btn-lookhome {
    font-size: 11px;
    transition: background-color 0.3s;
    width: 95px;
}

/* ===========================
   STYLE: FORM CARI DOKUMEN
   =========================== */

/* ---------- Placeholder ---------- */
.form-group input::placeholder,
.select2-selection__placeholder {
    color: #6c757d !important;
    opacity: 1 !important;
}

/* ---------- Input & Select ---------- */
.form-group input,
.form-group select {
    font-weight: normal !important;
}

/* ---------- Hover Effects ---------- */
.form-group input:hover,
.select2-container--default .select2-selection--single:hover {
    border-color: #0e447c !important;
    background-color: #e9f3fd !important;
}

/* ---------- Select2 Base Style ---------- */
.select2-container--default .select2-selection--single {
    height: 38px !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem !important;
    padding: 6px 12px !important;
    display: flex;
    align-items: center;
}

.select2-selection__rendered {
    line-height: 24px !important;
    color: #0e447c;
    text-align: center !important;
}

.select2-selection__arrow {
    height: 38px !important;
}

/* ---------- Focus & Highlight ---------- */
.select2-container--default .select2-selection--single:focus {
    border-color: #0e447c !important;
    box-shadow: 0 0 0 0.2rem rgba(14, 68, 124, 0.25) !important;
}

.select2-results__option--highlighted {
    background-color: #0e447c !important;
    color: white !important;
}

/* ---------- Layout Responsif (Tablet) ---------- */
@media (min-width: 801px) and (max-width: 1099px) {
    .form-row {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .form-row > .form-group {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .btn-cari {
        width: 100% !important;
    }
}

/* ---------- Layout Responsif (Mobile ≤800px) ---------- */
@media (max-width: 991.98px) {
    .form-row {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .form-group {
        width: 100% !important;
    }

    .form-group input.form-control,
    .select2-container--default .select2-selection--single {
        height: 40px !important;
        line-height: 40px !important;
    }

    .select2-container {
        width: 100% !important;
    }

    .btn-cari {
        width: 100% !important;
    }
}

/* ---------- Global Select2 Width Fix ---------- */
.select2-container {
    width: 100% !important;
}

/*========================= BUKU HOME =======================*/
/* Kartu buku */
.book-card {
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    width: fit-content;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Container gambar buku */
.img-book-container {
    width: 140px;
    height: 180px;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* Gambar buku */
.img-book {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.5s ease,
        box-shadow 0.3s ease;
    display: block;
}

/* Hover efek pada gambar */
.img-book-container:hover .img-book {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/*========================== VIDEO HOME ====================*/
.video-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 0 10px;
}

.video-item {
    flex: 1 1 calc(25% - 20px);
    max-width: calc(25% - 20px);
    position: relative;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.video-item:hover {
    transform: translateY(-5px);
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 ratio */
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

/* <= 1299px: 2 per row */
@media (max-width: 1299px) {
    .video-item {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

/* <= 576px: 1 per row */
@media (max-width: 576px) {
    .video-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/*============= Tooltip Waktu Upload Desa ============*/

.upload-time-icon {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 14px;
    cursor: pointer;
    z-index: 10;
}

.custom-icon {
    color: #0e447c;
}

/*=================== Button Float ====================*/
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 9999;
    transition: transform 0.3s ease-in-out;
}

.back-to-top:hover {
    transform: scale(1.1);
}

.btn-floating {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/*=================== DESA ====================	*/

.cursor-pointer {
    cursor: pointer;
}

/*===================== BERITA dan CARD =================*/

.berita-card {
    min-height: 120px; /* dinaikkan dari 120px */
    transition:
        transform 0.2s ease-in-out,
        box-shadow 0.2s ease-in-out;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #e0e0e0; /* border luar smooth */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.berita-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.thumb-wrapper {
    width: 100px;
    flex-shrink: 0;
}

.berita-thumb {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: contain;
    background-color: #f1f1f1;
    border: 1px solid #ddd;
}

.berita-title {
    font-size: 14px;
    line-height: 1.4;
    max-height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* === GLOBAL CARD STYLE (LIGHT & DARK) === */
.card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.4s ease,
        color 0.4s ease;
    will-change: transform, box-shadow, background-color, color;
    -webkit-font-smoothing: antialiased;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

/* Header */
.card-header {
    background: #0e447c;
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
    color: white;
    transition:
        background-color 0.4s ease,
        color 0.4s ease;
}

/* Gambar kecil di dalam card */
.small-image {
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;
    margin: 5px;
}

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

/* Komentar Facebook */
.fb-comments {
    transition: opacity 0.5s ease-in-out;
}

/* Responsive text header */
@media (max-width: 767px) {
    .card-header h5 {
        font-size: 1rem;
    }
}

/*====================== RADIO ====================*/

.radio-card {
    position: relative;
    height: 90px;
}

.radio-card .card-body {
    background-color: #0e447c;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 15px;
}

.live-badge {
    top: 10px;
    right: 10px;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 12px;
    animation: pulse 1s infinite;
    z-index: 10;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.6);
}
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.75;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/*================ PENGUNJUNG ==================*/
.pengunjung-card {
    background-color: #0e447c !important;
    color: #ffffff !important;
    font-size: 1.1rem;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.pengunjung-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    background-color: #0e447c !important; /* tetap biru */
    color: #ffffff !important;
    text-decoration: none !important;
}

/*=================== GOOGLE TRANSLATE ===================*/
#loading {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.7;
    background-color: #fff;
    z-index: 9999;
}

#loading-image {
    width: 500px;
    z-index: 10000;
}

.nav-link {
    font-size: 14px;
}

.skiptranslate {
    display: none;
}

/*======================= TRANSISI DARK-LIGHT ========================*/

body {
    transition:
        background-color 0.4s ease,
        color 0.4s ease;
}

.form-group,
.form-control,
h5.title span,
input,
select,
textarea {
    transition:
        background-color 0.4s ease,
        color 0.4s ease,
        border-color 0.4s ease;
}

/*======================= HEADER BARU ========================*/

/* ==== BACKGROUND HEADER ==== */
.bg-header {
    position: relative;
    overflow: hidden;
    background-image: url("/assets/frontend/images/link/bgnew.png");
    background-size: cover;
    background-position: 50% 20%;
    background-attachment: fixed;
}

.bg-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0e447c;
    opacity: 0.6;
    z-index: 1;
}

/* Tinggi berbeda untuk halaman home dan lainnya */
.bg-header.home-header {
    height: 525px;
}

.bg-header.other-header {
    height: 400px;
}

/* ==== HEADER CONTENT (Logo, Judul) ==== */
.header-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    opacity: 0;
    animation: zoomInForward 1s ease-in-out forwards;
}

/* Animasi masuk zoom untuk header */
@keyframes zoomInForward {
    0% {
        opacity: 0;
        transform: scale(0.6);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==== LOGO ==== */
/* Logo default (non-MasPram) */
.logo-emas {
    width: 450px;
}

/* Logo khusus untuk MasPram */
.logo-maspram {
    width: 550px;
}

/* ==== JUDUL HEADER ==== */
.header-content h1 {
    font-family: "Poppins", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* ==== SEARCH WRAPPER ==== */
.search-wrapper {
    width: 100%;
}

.search-wrapper form {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Animasi slide-up untuk search_new */
@keyframes slideUpFadeIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    opacity: 0;
    animation: slideUpFadeIn 1.2s ease-out 0.5s forwards;
}

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

/* === max-width: 576px === */
@media (max-width: 576px) {
    .logo-emas {
        width: 200px;
    }

    .header-content h1 {
        font-size: 1.8rem;
    }

    .header-content p {
        font-size: 1rem;
    }

    .bg-header {
        background-image: url("/assets/frontend/images/link/bgnewhp.png");
        background-attachment: scroll;
    }

    .bg-header.home-header {
        height: 700px;
    }

    .bg-header.other-header {
        height: 300px;
    }

    .bg-header.maspram-header {
        background-image: url("/assets/frontend/images/link/bgmaspramhp.png");
        background-attachment: scroll;
    }
}

/* === max-width: 768px === */
@media (max-width: 767.98px) {
    .navbar-toggler i.fas.fa-bars {
        color: #0e447c !important;
    }
}

/* === max-width: 1399px === */
@media (max-width: 1199px) {
    .bg-header.home-header {
        height: 750px;
    }

    .bg-header.other-header {
        height: 400px;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .logo-emas {
        width: 80%;
        max-width: 360px;
    }
}

.bg-header.maspram-header {
    position: relative;
    background-image: url("/assets/frontend/images/link/bgmaspram2.png");
    background-repeat: no-repeat;
    background-position: center -150px;
    background-size: cover;
    min-height: 400px;
    z-index: 1;
}

.bg-header.maspram-header::before {
    display: none;
}

@media (max-width: 1399px) {
    .bg-header.maspram-header {
        background-image: url("/assets/frontend/images/link/bgmaspramhp.png");
        background-attachment: scroll;
    }
}

@media (max-width: 576px) {
    .bg-header.maspram-header {
        background-image: url("/assets/frontend/images/link/bgmaspramhp.png");
        background-attachment: scroll;
        background-position: center -30px;
    }

    .logo-maspram {
        max-width: 160px;
        position: absolute;
        top: 20px;
        right: 20px;
    }
}

/* ================= Animasi Icon Stat Card Side Bar ================= */
.card:hover .fa-download,
.card:hover .fa-eye {
    animation: statPulse 0.6s ease-in-out;
}

@keyframes statPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

.card:hover .fa-file-alt {
    animation: abstrakFloat 0.8s ease-in-out infinite;
}

@keyframes abstrakFloat {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
    100% {
        transform: translateY(0);
    }
}

/* ================= ABSTRAK SIDE BAR ================= */
.abstrak-icon {
    color: #0e447c;
}

.btn-abstrak-detail {
    background-color: #0e447c;
    border-color: #0e447c;
    color: #fff;
}

.btn-abstrak-detail:hover,
.btn-abstrak-detail:focus {
    background-color: #0b3a68;
    border-color: #0b3a68;
    color: #fff;
}

.btn-abstrak-detail:hover {
    box-shadow: 0 4px 10px rgba(14, 68, 124, 0.35);
}

.btn-abstrak-detail {
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 14px;
}

.btn-abstrak-detail i {
    font-size: 1.1rem;
    margin-right: 6px;
}

.btn-cari-sidebar {
    background-color: #0e447c;
    color: #fff;
}

.bg-search-sidebar {
    background-color: #0e447c;
}

/*================ KETERANGAN STATUS =================*/

.keterangan-status ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 5px;
}

.keterangan-status li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 5px;
}

.keterangan-status li::before {
    content: "\f0c1";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #0b3a68;
}

.keterangan-status {
    font-weight: bold;
    color: #333;
}

.keterangan-status a {
    font-weight: normal;
    text-decoration: none;
    color: #0056b3;
}

.keterangan-status a:hover {
    text-decoration: underline;
}

/* BERLAKU */
.animated-check {
    display: inline-block;
    vertical-align: middle;
}

.animated-check .checkmark {
    stroke-dasharray: 36;
    stroke-dashoffset: 36;
    animation: checkmark-draw 0.5s cubic-bezier(0.65, 0.05, 0.36, 1) forwards;
}

.animated-check:hover .checkmark,
.animated-check:focus .checkmark {
    animation: checkmark-bounce 0.6s ease forwards;
}

@keyframes checkmark-draw {
    0% {
        stroke-dashoffset: 36;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes checkmark-bounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* TIDAK BERLAKU */
.animated-cross {
    display: inline-block;
    vertical-align: middle;
}

.animated-cross .cross-line {
    stroke-dasharray: 28;
    stroke-dashoffset: 28;
    animation: cross-draw 0.4s ease forwards;
}

.animated-cross:hover .cross-line,
.animated-cross:focus .cross-line {
    animation: cross-shake 0.5s ease;
}

@keyframes cross-draw {
    0% {
        stroke-dashoffset: 28;
    }

    50% {
        stroke-dashoffset: 14;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes cross-shake {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(15deg);
    }

    50% {
        transform: rotate(-15deg);
    }

    75% {
        transform: rotate(10deg);
    }

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

/*================ ICON CIRCLE AKTIVITAS========*/
.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.card-body .d-flex:hover .icon-circle {
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/*================ TANGGAL PENGUNDANGAN DAN PENETAPAN =================*/
.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; /* dari 50px */
    height: 42px;
    border-radius: 50%;
    font-size: 1.2rem; /* icon lebih kecil */
    flex-shrink: 0;
}

.label-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: #495057;
    margin-bottom: 2px; /* rapat */
}

.date-badge {
    display: inline-block;
    margin-top: 2px;
    padding: 4px 12px; /* ⬅️ kunci tinggi badge */
    background: #f1f3f5;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem; /* dari 1.2rem */
    color: #212529;
    min-width: 90px;
    line-height: 1.2; /* ⬅️ penting */
    text-align: center;
    transition: all 0.3s ease;
}

/* Hover */
.card-body:hover .date-badge {
    background: #17a2b8;
    color: #fff;
}

/* Card body lebih tipis */
.card-body {
    padding: 0.75rem 1rem; /* default bootstrap 1.25rem */
}

/* Responsive */
@media (max-width: 575.98px) {
    .card-body {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0.75rem;
    }

    .icon-circle {
        margin-bottom: 6px;
    }
}

.dialog-card {
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

/* Hover card */
.dialog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.dialog-content {
    width: 75%;
    padding: 16px 20px;
}

.dialog-link {
    text-decoration: none;
    color: #212529;
    display: block;
}

.dialog-label {
    font-size: 15px;
    color: #6c757d;
}

.dialog-type {
    font-size: 14px;
    font-weight: 600;
    margin-top: 3px;
}

.dialog-title {
    font-size: 15px;
    font-weight: 700;
    margin-top: 4px;
}

.dialog-icon {
    width: 25%;
    background: #0e447c !important;
    /* Pastikan background biru muncul */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    /* Memberi ruang untuk icon besar */
}

/* Selector lebih spesifik */
.dialog-card .dialog-icon i.fa-bullhorn,
.dialog-card .dialog-icon .fa-bullhorn {
    font-size: 50px !important;
    color: #fff !important;
    opacity: 1 !important;
    z-index: 2;
}

/* Jika Font Awesome versi 5 SVG, paksa fill juga */
.dialog-card .dialog-icon svg {
    fill: #fff !important;
    width: 50px !important;
    height: 50px !important;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}

/* Hover effect */
.dialog-card:hover .dialog-icon i.fa-bullhorn {
    transform: scale(1.3) translateY(-10px);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

/* Background shimmer */
.dialog-icon::before {
    content: "";
    position: absolute;
    width: 160%;
    height: 160%;
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(15deg) translateX(-100%);
    transition: transform 0.8s ease;
}

.dialog-card:hover .dialog-icon::before {
    transform: rotate(15deg) translateX(0);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .dialog-card {
        flex-direction: column;
    }

    .dialog-content,
    .dialog-icon {
        width: 100%;
    }

    .dialog-icon {
        padding: 24px 0;
    }
}
.dialog-card {
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

/* Hover card */
.dialog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

/* ================= CONTENT ================= */
.dialog-content {
    width: 75%;
    padding: 16px 20px;
}

.dialog-link {
    text-decoration: none;
    color: #212529;
    display: block;
}

.dialog-label {
    font-size: 15px;
    color: #6c757d;
}

.dialog-type {
    font-size: 15px;
    font-weight: 600;
    margin-top: 3px;
}

.dialog-title {
    font-size: 15px;
    font-weight: 700;
    margin-top: 4px;
}

/* ================= ICON ================= */
.dialog-icon {
    width: 25%;
    background: #0e447c !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

/* Icon style (i & svg) */
.dialog-icon i,
.dialog-icon svg {
    font-size: 50px;
    width: 50px;
    height: 50px;
    color: #fff;
    fill: #fff;
    z-index: 2;
    transition:
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        filter 0.5s ease;
    will-change: transform;
}

/* Hover animation icon */
.dialog-card:hover .dialog-icon i,
.dialog-card:hover .dialog-icon svg {
    transform: scale(1.3) translateY(-10px);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

/* ================= SHIMMER ================= */
.dialog-icon::before {
    content: "";
    position: absolute;
    width: 160%;
    height: 160%;
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(15deg) translateX(-100%);
    transition: transform 0.8s ease;
}

.dialog-card:hover .dialog-icon::before {
    transform: rotate(15deg) translateX(0);
}

/* ================= OPTIONAL PULSE ================= */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* HOVER: scale + tilt */
.dialog-card:hover .dialog-icon i,
.dialog-card:hover .dialog-icon svg {
    transform: scale(1.35) rotate(-12deg) translateY(-6px);
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.3));
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .dialog-card {
        flex-direction: column;
    }

    .dialog-content,
    .dialog-icon {
        width: 100%;
    }

    .dialog-icon {
        padding: 24px 0;
    }
}

/* Tanggapan */
.tanggapan-box {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 12px;
    padding: 15px 10px;
    border: 1px solid #e3e6ea;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.tanggapan-icon {
    width: 45px;
    height: 45px;
    margin: 0 auto;
    background: #28a745;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.tanggapan-text {
    font-size: 20px;
    font-weight: 700;
    color: #212529;
}

.tanggapan-text small {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #6c757d;
}

.tanggapan-subtext {
    font-size: 12px;
    color: #6c757d;
    margin-top: 4px;
}

.tanggapan-quote.soft {
    position: relative;
    margin-top: 14px;
    padding: 14px 18px 14px 44px;
    background: #f1f8f4; /* hijau sangat lembut */
    border-radius: 10px;
    font-size: 13px;
    font-style: italic;
    color: #2f4f3a;
    border: 1px solid #d6eadf;
}

.tanggapan-quote.soft .quote-icon {
    position: absolute;
    left: 16px;
    top: 14px;
    font-size: 16px;
    color: #28a745;
    opacity: 0.7;
}
