/* purecounter */
.circle-counter {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(182, 214, 250, 0.12);
    background: radial-gradient(circle, rgba(182, 214, 250, 0.41) 18%, rgba(124, 179, 247, 1) 50%, rgba(182, 214, 250, 0.12) 81%);
    /* gradien biru muda */
    color: #2f3e74;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.circle-counter:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.circle-counter .purecounter {
    font-size: 1.2rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    .circle-counter {
        width: 100px;
        height: 100px;
    }

    .circle-counter .purecounter {
        font-size: 1.6rem;
    }
}

/*---------------------------
# pengunjung
----------------------------*/
/* Sudut warna di kiri atas */
.visitor-card {
    position: relative;
    overflow: hidden;
}

.visitor-card::before {
    content: "";
    position: absolute;
    top: -40px;
    left: -40px;
    width: 70px;
    height: 70px;
    background-color: #0d6efd;
    /* default: biru */
    transform: rotate(45deg);
    z-index: 0;
}

/* Agar konten tetap di atas sudut */
.visitor-card .card-body {
    position: relative;
    z-index: 1;
}

/* Variasi warna */
.visitor-card.success::before {
    background-color: #198754;
}

.visitor-card.warning::before {
    background-color: #ffc107;
}

.visitor-card.danger::before {
    background-color: #dc3545;
}

/* Animasi hover untuk card */
.visitor-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visitor-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Animasi pada sudut kiri atas */
.visitor-card::before {
    animation: floatCorner 3s ease-in-out infinite;
}

/* Definisi animasi */
@keyframes floatCorner {

    0%,
    100% {
        transform: rotate(45deg) translateY(0px);
    }

    50% {
        transform: rotate(45deg) translateY(-5px);
    }
}


/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    position: relative;
    text-align: center;
}

.footer .footer-top {
    padding-top: 50px;
}

.footer .copyright,
.footer .credits {
    padding: 10px 0;
}

.footer .copyright {
    font-size: 14px;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .credits {
    font-size: 13px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.footer .credits a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer .credits a:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {

    .footer .copyright,
    .footer .credits {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/*--------------------------------------------------------------
SLIDER DESAKELLAYANAN
--------------------------------------------------------------*/

/* Styling tiap slide */
.desakelSwiper .swiper-slide {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
    height: 370px;
    box-sizing: border-box;
}

/* Lingkaran icon */
.desakelSwiper .icon {
    width: 70px;
    height: 70px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    font-size: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;
    flex-shrink: 0;
}

/* Reset icon <i> agar benar-benar center */
.desakelSwiper .icon i {
    margin: 0;
    padding: 0;
    line-height: 1;
    display: inline-block;
}

/* Judul layanan */
.desakelSwiper h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Deskripsi layanan */
.desakelSwiper p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
    /* supaya tombol di bawah selalu di bawah */
}

/* Tombol ajukan permohonan */
.desakelSwiper .btn-primary {
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.desakelSwiper .btn-primary:hover {
    background-color: #0056b3;
}

/* Pagination bullets */
.desakel-pagination-bullet {
    background-color: #007bff !important;
    opacity: 1;
}

.icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    font-size: 34px;
    margin: 0 auto 25px auto;
}

/* Atur posisi pagination agar agak ke bawah */
.desakel-pagination {
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

/* Bungkus internal slide agar tombol tetap di bawah */
.desakelSwiper .slide-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Tombol akan berada di bawah karena mt-auto */
.desakelSwiper .slide-inner .btn {
    margin-top: auto;
}


/*--------------------------------------------------------------
# SLIDER LAYANAN KECAMATAN
--------------------------------------------------------------*/
/* Styling tiap slide */
.kecSwiper .swiper-slide {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
    height: 370px;
    box-sizing: border-box;
}

/* Lingkaran icon */
.kecSwiper .icon {
    width: 70px;
    height: 70px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    font-size: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;
    flex-shrink: 0;
}

/* Reset icon <i> agar benar-benar center */
.kecSwiper .icon i {
    margin: 0;
    padding: 0;
    line-height: 1;
    display: inline-block;
}

/* Judul layanan */
.kecSwiper h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Deskripsi layanan */
.kecSwiper p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
    /* supaya tombol di bawah selalu di bawah */
}

/* Tombol ajukan permohonan */
.kecSwiper .btn-primary {
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.kecSwiper .btn-primary:hover {
    background-color: #0056b3;
}

/* Pagination bullets */
.kec-pagination-bullet {
    background-color: #007bff !important;
    opacity: 1;
}

.kecSwiper .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    font-size: 34px;
    margin: 0 auto 25px auto;
}

/* Atur posisi pagination agar agak ke bawah */
.kec-pagination {
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

/* Bungkus internal slide agar tombol tetap di bawah */
.kecSwiper .slide-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Tombol akan berada di bawah karena mt-auto */
.kecSwiper .slide-inner .btn {
    margin-top: auto;
}


/*--------------------------------------------------------------
# Popover Bootstrap
--------------------------------------------------------------*/
.info-box {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    width: 220px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
}

/* Ubah warna teks popover menjadi biru tua misalnya */
.popover {
    color: #0d6efd;
    /* warna teks, bisa diganti sesuai kebutuhan */
}

/* Opsional: ubah judul popover */
.popover-header {
    color: #012b6b;
    font-weight: bold;
}


/*--------------------------------------------------------------
# User Section
--------------------------------------------------------------*/
.customers-badge {
    text-align: center;
    padding: 20px 0;
}

.customer-slider {
    max-width: 300px;
    margin: auto;
    overflow: hidden;
}

.customer-slider .swiper-slide {
    width: 50px;
    height: 50px;
}

.customer-slider .swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.customer-slider .swiper-slide.more {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}


/*--------------------------------------------------------------
# Client Section
--------------------------------------------------------------*/
.clients1-section .init-swiper {
    height: auto;
    padding-bottom: 60px;
    position: relative;
}

.clients1-section .client-card {
    width: 250px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.clients1-section .client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.clients1-section .client-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 5px;
    opacity: 0.9;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.clients1-section .client-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Pagination Style */
.clients1-section .swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.clients1-section .swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease-in-out;
    display: inline-block;
    margin: 0 5px;
}

.clients1-section .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #007bff;
    transform: scale(1.2);
}

/* video */

/* Efek pulse */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.75;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.video-icon {
    color: red;
    animation: pulse 2s infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover efek glowing */
.video-button:hover .video-icon {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.7);
}