* {
    font-family: "Poppins", sans-serif;
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
}

.swiper-pagination-bullet-active {
    background: white;
}

.hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.5)
    );
}

/* untuk rich text view filament  */

ul,
ol {
    padding-left: 1.25rem !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

ul li {
    list-style-type: disc !important;
}

ol li {
    list-style-type: decimal !important;
    animation: fadeIn 0.6s ease-out;
}

/* SECTION CSS UNTUK HALAMAN GALERI */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    /* Ubah dari hitam pekat → blur + transparan */
    background: rgba(255, 255, 255, 0.1);
    /* lebih terang */
    backdrop-filter: blur(5px);
    /* efek blur */
    -webkit-backdrop-filter: blur(5px);
    /* untuk Safari */
    z-index: 9999;
    padding: 2rem;
    transition: all 0.3s ease-in-out;
}

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

.lightbox img {
    max-width: 80%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 1rem;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: black;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: black;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

/* SECTION CSS UNTUK HALAMAN PENGUMUMAN */

.pengumuman-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge-penting {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.badge-informasi {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.badge-pengumuman {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.filter-btn {
    transition: all 0.3s ease;
}

.filter-btn:hover {
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #3b82f6;
    color: white;
}

/* SECTION CSS UNTUK HALAMAN LAYANAN */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* SECTION CSS UNTUK HALAMAN STRUKTUR ORGANSISASI */
.org-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.org-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.struktur-image {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.bidang-card {
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.bidang-card:hover {
    border-left-color: #3b82f6;
    background: #f8fafc;
}

.bidang-grid {
    position: relative;
}

.organization-line {
    position: relative;
}

/* SECTION CSS UNTUK HALAMAN BERITA */
.content-berita p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-berita h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.content-berita h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #374151;
}

.content-berita ul,
.content-berita ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-berita li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.share-button {
    transition: all 0.3s ease;
}

.share-button:hover {
    transform: translateY(-2px);
}
/* SECTION CSS UNTUK HALAMAN PIMPINAN */
.leader-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.profile-image {
    position: relative;
    overflow: hidden;
}

.profile-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

/* SECTION CSS UNTUK HALAMAN INFOGRAFIS */
.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.counter {
    /* font-size: 2.5rem; */
    font-weight: 500;
}
