/* Mencegah Bootstrap modal menggeser layout */
body.modal-open {
    padding-right: 0 !important;
    overflow-y: scroll !important;
}

.modal-backdrop {
    z-index: 1040;
}

.modal {
    z-index: 1050;
}

/* Styling Counter Data publik */
    .stat-container {
        display: flex;
        gap: 20px;
        margin-top: 20px;
    }

    .stat-card {
        flex: 1;
        height: 145px;
        padding: 25px 22px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        gap: 20px;
        position: relative;
        box-shadow: 0 8px 22px rgba(0,0,0,0.08);
        transition: transform .3s ease, box-shadow .3s ease;
        border: 2px solid;
        color: #fff;
    }

    .stat-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    }

    .stat-icon {
        width: 58px;
        height: 58px;
        border-radius: 14px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 26px;
        color: white;
    }

    .bg1 { background: linear-gradient(135deg, #f15644, #c33b2c); }
    .bg2 { background: linear-gradient(135deg, #5b7fee, #2248b9); }
    .bg3 { background: linear-gradient(135deg, #1bb97f, #0c8951); }

    .stat-info h3 {
        font-size: 15px;
        margin: 0;
        color: #333;
    }

    .stat-number {
        font-size: 28px;
        font-weight: 700;
        margin: 4px 0 0;
    }
    .stat-month {
        position: absolute;
        bottom: 12px;
        right: 18px;
        font-size: 13px;
        color: #777;
        font-style: italic;
    }
    .title-line {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        font-weight: 600;
        position: relative;
        text-align: center;
        margin: 20px 0;
        color: #181d38; 
        }

    /* Garis kiri */
    .title-line::before,
    .title-line::after {
        content: "";
        height: 1px;          /* ketebalan garis */
        background: #181d38;     /* warna garis */
        border-radius: 7px;
        width: 80px;
        
    }

    /* Jarak antara teks dan garis */
    .title-line::before {
        margin-right: 10px;
    }

    .title-line::after {
        margin-left: 10px;
    }

    .jadwal-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    border: 1px solid;
    padding: 15px;
    border-radius: 10px;
    width: 100%; /* hapus max-width agar mengisi kolom */
}

.jadwal-card {
    background: #eae8e8ff;
    padding: 8px 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%; /* ganti dari 150px ke 100% */
    height: 53px; /* tambah height agar konten benar-benar centered */
    margin: 0; /* hapus margin negatif */
    transition: 0.3s ease;
}
    .jadwal-card h4 {
        margin: 0;
        font-size: 11px;
        font-weight: 600;
        color: #181d38;
        letter-spacing: 1px;
    }

    .jadwal-card p {
        margin: 5px 0 0;
        font-size: 13px;
        font-weight: bold;
        color: #181d38;
        white-space: nowrap;
        text-align: center;
    }

    /* Hover effect: card berubah biru */
    .jadwal-card:hover {
        background: #2bc5d4;
        color: #fff;
        transform: translateY(-4px);
        box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    }

    .jadwal-card:hover h4,
    .jadwal-card:hover p {
        color: #fff;
    }
    .title-with-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px; /* jarak bulatan ke teks */
    font-size: 18px;
    font-weight: 700;
    color: #0e1b36;
    position: relative;
    }

    .title-with-dots::before,
    .title-with-dots::after {
        content: "";
        flex: 1;
        height: 1.5px;
        background-color: #000;
        position: relative;
    }

    /* Bulatan kiri */
    .title-with-dots::before {
        margin-right: -6px; /* geser agar bulatan menempel */
    }

    .title-with-dots::after {
        margin-left: -6px;
    }

    /* Bulatan */
    .title-with-dots span::before,
    .title-with-dots span::after {
        content: "";
        width: 8px;
        height: 8px;
        background-color: #000;
        border-radius: 50%;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .title-with-dots span::before {
        left: -18px;  /* posisi bulatan kiri */
    }

    .title-with-dots span::after {
        right: -18px; /* posisi bulatan kanan */
    }

/* Styling header publik */
.hero {
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero .overlay {
    background: rgba(0,0,0,.55);
    min-height: 80vh;
    display: flex;
    align-items: center;
}


/* Styling Footer publik */
.my-footer {
    background-color: #181d38;
    color: #ffffff;
    font-family: Arial, sans-serif;
}

.my-footer a {
    color: #ffffff;
    text-decoration: none;
}

.my-footer a:hover {
    color: #2bc5d4;
}

.footer-top {
    padding: 50px 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.footer-col {
    flex: 1 1 200px;
    min-width: 180px;
    text-align: center;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #2bc5d4;
}

.footer-col p {
    font-size: 0.9rem;
    margin: 5px 0;
}

.footer-social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ffffff;
    margin-right: 8px;
    color: #ffffff;
    transition: all 0.3s;
    font-size: 16px;
    text-decoration: none;
}

.footer-social a:hover {
    background-color: #2bc5d4;
    border-color: #2bc5d4;
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding: 15px 20px;
    background-color: #0f1230;
    font-size: 0.85rem;
    border-top: 1px solid #2bc5d4;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 20px;
    }
}

.running-banner {
    width: 100%;
    height: 60px;
    background: #0e1b36;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 5px solid #2bc5d4;
    border-top: 3px solid #2bc5d4;
    margin-top: -50px;
}

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    /*
     * Strategi bersih:
     * Animasi dibagi 2 fase terpisah menggunakan animation-delay trick.
     * Tapi cara paling bersih: pakai JavaScript untuk restart animasi
     * setelah teks keluar, sehingga tidak ada glitch saat loop CSS.
     */
    animation: none;
}
</style>

/* Styling Layanan home */
    .service-item {
        border-radius: 10px;
        overflow: hidden;
        transition: 0.3s;
        background: #ebf6f8ff;
    }
    .service-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.15) !important;
    }

    .service-icon {
        font-size: 2.3rem;   
    }

    .service-item p {
        font-size: 14px;
    }

    .service-item h5 {
        font-size: 16px;
    }


/* Styling Berita home */
    /* Kiri: 2 berita besar */
        .berita-card-big {
            flex: 1;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.18); /* lebih halus & kelihatan */
            padding: 10px;
            transform: translateY(50px); 
            opacity: 0;
            transition: all 1s ease-out;
            height: 420px; 
            border: 1px solid #181d38;
        }
        .berita-card-big.active {
            transform: translateY(0);
            opacity: 1;
        }

        .berita-card-big img {
            width: 100%;
            height: 240px;       
            object-fit: cover;   
            border-radius: 12px;
            background: #ddd;    
        }


        .berita-card-big .berita-title {
            font-size: 18px;
            font-weight: bold;
            margin-top: 10px;
        }

        .berita-card-big .berita-date {
            font-size: 14px;
            color: #555;
            margin-top: 5px;
        }

    /* Kanan: Tab panel vertical scroll */
    .berita-tab-panel {
        background: #ffffffff;
        border-top: 5px solid #181d38;
        border-bottom: 5px solid #181d38;
        border-radius: 12px;
        padding: 10px;
    }

    /* Tab navigation */
    .tab-nav {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0 0 10px 0;
    }

    .tab-nav li {
        flex: 1;
        text-align: center;
        padding: 8px;
        cursor: pointer;
        font-weight: bold;
        background: #181d38;
        color: #fff;
        transition: 0.3s;
    }

    .tab-nav li.active {
        background: #2bc5d4;
    }

    /* Tab content */
    .tab-content {
        max-height: 500px;
        overflow-y: auto;
    }

    .tab-pane {
        display: none;
    }

    .tab-pane.active {
        display: block;
    }

    .berita-card-small {
        padding: 6px 0;
        border-bottom: 1px solid #ddd;
    }

    .berita-card-small h6 {
        font-size: 14px;
        margin: 0 0 3px 0;
    }

    .berita-card-small .berita-date,
    .berita-card-small .berita-views {
        font-size: 12px;
        color: #555;
    }

    .berita-card-small .btn-sm {
        font-size: 12px;
        padding: 3px 6px;
    }
    .berita-author {
        font-size: 0.9rem;
        color: #555;
    }

    .berita-date {
        font-size: 0.9rem;
        color: #777;
    }

    .berita-title {
        font-size: 1.2rem;
        font-weight: 600;
    }
    .btn-baca {
    transition: all 0.3s ease;
    }
    .btn-baca:hover {

        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    /* Wrapper tombol + garis */
    .line-with-button {
        display: flex;
        align-items: center;
        gap: 16px;              /* jarak tombol ke garis */
        width: 100%;
    }

    /* Tombol Lihat Semua */
    .btn-lihat-semua {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 16px;
        border: 1.5px solid #2bc5d4;
        border-radius: 8px;    /* lebih smooth */
        color: #2bc5d4;
        font-weight: 600;
        font-size: 0.9rem;
        text-decoration: none;
        background-color: transparent;
        white-space: nowrap;  /* biar teks ga turun baris */
        transition: all 0.25s ease;
    }

    .btn-lihat-semua:hover {
        background-color: #2bc5d4;
        color: #fff;
    }

    /* Garis di kanan tombol */
    .line-with-button .line {
        flex: 1;
        height: 1px;
        background-color: #c8c6c6; /* abu tipis biar elegan */
        position: relative;
    }

     .line-with-button .line-berita {
        flex: 1;
        height: 0.8px;
        background-color: #c8c6c6; /* abu tipis biar elegan */
        position: relative;
    }

    /* Optional: garis ada aksen warna brand di awal */
    .line-with-button .line::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 60px;
        height: 1px;
        background-color: #2bc5d4;
    }


    /* Styling Pengumuman dan Agenda home */
    /* === SLIDER KIRI === */
    .pengumuman-wrapper {
        position: relative;
        overflow: hidden;
        width: 100%;
        background-color: #ece9f0ff;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='32' viewBox='0 0 16 32'%3E%3Cg fill='%239C92AC' fill-opacity='0.4'%3E%3Cpath fill-rule='evenodd' d='M0 24h4v2H0v-2zm0 4h6v2H0v-2zm0-8h2v2H0v-2zM0 0h4v2H0V0zm0 4h2v2H0V4zm16 20h-6v2h6v-2zm0 4H8v2h8v-2zm0-8h-4v2h4v-2zm0-20h-6v2h6V0zm0 4h-4v2h4V4zm-2 12h2v2h-2v-2zm0-8h2v2h-2V8zM2 8h10v2H2V8zm0 8h10v2H2v-2zm-2-4h14v2H0v-2zm4-8h6v2H4V4zm0 16h6v2H4v-2zM6 0h2v2H6V0zm0 24h2v2H6v-2z'/%3E%3C/g%3E%3C/svg%3E");
        border-radius: 10px;
    }

    /* Slider */
    .pengumuman-track {
        display: flex;
        gap: 15px;
        transition: transform 0.6s ease-in-out;
    }

    /* CARD */
    .pengumuman-card {
        min-width: calc(50% - 20px);
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        height: 450px; 
    }

    /* GAMBAR: DI-CROP */
    .pengumuman-card img {
        width: 100%;
        height: 300px; 
        object-fit: cover;
    }

    /* Tanggal */
    .pengumuman-date {
        padding: 10px 15px;
        font-size: 14px;
        color: #555;
        text-align: center;
    }

    .pengumuman-author {
        font-size: 14px;
        color: #555;
        text-align: center;
        margin-top: -5px;
        margin-bottom:10px;
    }
    /* Tombol Judul */
    .pengumuman-title-btn {
        background: #2bc5d4;
        color: #fff;
        width: calc(100% - 30px);
        margin: auto auto 15px auto;
        border: none;
        padding: 10px 15px;
        font-size: 15px;
        font-weight: bold;
        border-radius: 8px;
        cursor: pointer;
    }

    /* PANAH */
    /* PANAH */
    .nav-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0,0,0,0.6);
        color: #fff;
        border: none;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 50;

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

    #btn-prev {
        left: 8px;
    }

    #btn-next {
        right: 8px;
    }

    .nav-btn:hover {
        background: rgba(0,0,0,0.85);
    }

    /* POPUP MODAL (gambar besar) */
    #imgModal {
        display: none;
        position: fixed;
        z-index: 9999;
        padding-top: 80px;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background: rgba(0,0,0,0.7);
        backdrop-filter: blur(3px);
        transition: opacity 0.3s ease-in-out;
    }


    #imgModal img {
        display: block;
        margin: auto;
        max-width: 90%;
        max-height: 80vh;
        border-radius: 10px;
    }

    #imgModal .close-btn {
        position: absolute;
        top: 20px;
        right: 35px;
        color: white;
        font-size: 40px;
        cursor: pointer;
    }
    /* Animasi fade + zoom */
    @keyframes fadeZoom {
        0% {
            opacity: 0;
            transform: scale(0.9);
        }
        100% {
            opacity: 1;
            transform: scale(1);
        }
    }

    /* Terapkan animasi ke gambar modal */
    #imgModal.show img {
        animation: fadeZoom 0.35s ease-out;
    }

    /* ===== SIDEBAR KANAN ===== */
    .sidebar-box {
        background: #fff;
        border-radius: 12px;
        padding: 15px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    }

    .sidebar-title {
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 15px;
    }

    /* --- ANIMASI DASAR --- */
    .fade-up, .fade-right {
        opacity: 0;
        transform: translateY(50px);
        transition: all 0.8s ease-out;
    }

    /* Saat terlihat di layar */
    .fade-up.show {
        opacity: 1;
        transform: translateY(0);
    }

    .fade-right {
        transform: translateX(40px);
    }

    .fade-right.show {
        opacity: 1;
        transform: translateX(0);
    }

    .sidebar-agenda {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0px 6px 20px rgba(0,0,0,0.12);
        opacity: 0;
    }

    .agenda-link {
        text-decoration: none;
        color: inherit;
        border-bottom: 2px solid;
    }

    .agenda-item {
        border-bottom: 1px solid #eee;
        transition: 0.25s ease;
        cursor: pointer;
        border-radius: 6px;
        
    }

    .agenda-item:hover {
        background: #e7f6f7ff;
        transform: translateX(6px);
    }

    .agenda-item:hover .agenda-title {
        color: #03484eff !important;
    }

    .agenda-item:last-child {
        border-bottom: none;
    }

    .agenda-title {
        font-size: 17px;
        font-weight: 600;
        margin-bottom: 5px;
        transition: 0.25s ease;
    }
    .link-lihat-semua {
        font-size: 13px;
        color: #2bc5d4;
        font-weight: 300;
        text-decoration: none;
        padding: 3px 7px;
        border-radius: 6px;
        transition: 0.25s ease;
    }

    .link-lihat-semua:hover {
        background: rgba(13, 110, 253, 0.12); 
        color: #084298; 
        cursor: pointer;
    }

    .agenda-section-bg {
        background-color: #181d38;
        background-image:
            linear-gradient(135deg, rgba(24,29,56,0.95) 0%, rgba(30,58,95,0.95) 100%),
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23ffffff' fill-opacity='0.08' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
        background-repeat: repeat;
        background-size: auto, 4px 4px;
    }

    
/* --- Styling Galeri Home --- */

    .galeri-carousel.owl-carousel {
        position: relative;
    }

    /* Container nav - posisi tengah kiri kanan */
    .galeri-carousel.owl-carousel .owl-nav {
        position: absolute !important;
        top: 40% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        transform: translateY(-50%) !important;
        pointer-events: none !important;
        margin: 0 !important;
        background: transparent !important;
    }

    /* Tombol nav - prev & next */
    .galeri-carousel.owl-carousel .owl-nav .owl-prev,
    .galeri-carousel.owl-carousel .owl-nav .owl-next {
        pointer-events: all !important;
        width: 42px !important;
        height: 42px !important;
        background: #ffffff !important;
        border: 1.5px solid #e0e0e0 !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 -15px !important;
        cursor: pointer !important;
        transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
        padding: 0 !important;
        line-height: 1 !important;
        color: #181d38 !important;
        font-size: 15px !important;
    }

    /* Icon di dalam tombol */
    .galeri-carousel.owl-carousel .owl-nav .owl-prev i,
    .galeri-carousel.owl-carousel .owl-nav .owl-next i {
        color: #181d38 !important;
        font-size: 15px !important;
        line-height: 1 !important;
    }

    /* Sembunyikan span default owl */
    .galeri-carousel.owl-carousel .owl-nav .owl-prev span,
    .galeri-carousel.owl-carousel .owl-nav .owl-next span {
        display: none !important;
    }

    /* Hover state */
    .galeri-carousel.owl-carousel .owl-nav .owl-prev:hover,
    .galeri-carousel.owl-carousel .owl-nav .owl-next:hover {
        background: #f5f5f5 !important;
        border-color: #bbb !important;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
        color: #181d38 !important;
    }

    /* Dots */
    .galeri-carousel.owl-carousel .owl-dots {
        margin-top: 16px !important;
        text-align: center !important;
    }

    .galeri-carousel.owl-carousel .owl-dots .owl-dot span {
        background: #ccc !important;
        transition: background 0.3s !important;
    }

    .galeri-carousel.owl-carousel .owl-dots .owl-dot.active span,
    .galeri-carousel.owl-carousel .owl-dots .owl-dot:hover span {
        background: #181d38 !important;
    }


    .asn-horizontal {
        display: flex;
        flex-direction: column;
        gap: 12px;
        height: 225px;
    }

    .asn-item {
        display: flex;
        align-items: center;
        gap: 8px;
        background: #f8f9fa;
        padding: 10px 12px;
        border-radius: 8px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        transition: 0.25s;
        text-decoration: none;
        color: #000;
    }

    .asn-item img {
        width: 40px;
    }

    .asn-item:hover {
        background: #007bff;
        color: white;
        transform: translateY(-3px);
    }
    /* --- PANAH KIRI & KANAN KOTAK --- */
    .custom-prev, .custom-next {
        width: 45px;
        height: 45px;
        background: #ffffff;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.25);
        top: 50%;
        transform: translateY(-50%);
        opacity: 1 !important;
        transition: 0.25s ease;
    }

    .custom-prev:hover, .custom-next:hover {
        background: #e3e3e3;
    }

    .custom-prev { left: -20px; }
    .custom-next { right: -20px; }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        filter: invert(0) brightness(0) saturate(100%);
        width: 22px;
        height: 22px;
    }

    .asn-horizontal-box{
        box-shadow: 0 6px 20px rgba(0,0,0,0.2);
        border-radius: 10px;
        padding: 10px;
        background: #fff;
        height: 150px;
  
        
    }
    .asn-horizontal {
        display: flex;
        flex-direction: column;
        gap: 7px;
        height: 225px;
    }

    .asn-item {
        display: flex;
        align-items: center;
        gap: 8px;
        background: #f8f9fa;
        padding: 5px 12px;
        border-radius: 8px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        transition: 0.25s;
        text-decoration: none;
        color: #000;
        border: 1px solid #d6d4d4;
        height: 60px;
        width: 200px;
        text-align: center;
        justify-content: center
    }

    .asn-item img {
        width: 40px;
    }

    .asn-item:hover {
        background: #007bff;
        color: white;
        transform: translateY(-3px);
    }


    /* --- Styling Dokumen Home --- */
    .doc-slider-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    }

    .doc-slider-track {
        display: flex;
        transition: transform 0.7s ease-in-out;
    }

    .doc-slide {
        flex: 0 0 100%;
        width: 100%;
    }

    /* Dot Navigator */
    .nav-dots {
        text-align: center;
        margin-top: -20px;
    }

    .doc-dot {
        height: 10px;
        width: 10px;
        background: #ccc;
        border-radius: 1px;
        display: inline-block;
        margin: 0 3px;
        margin-top: -20px;
        cursor: pointer;
        transition: 0.10s;
    }

    .doc-dot.active {
        background: #2bc5d4;
        transform: scale(1.3);
    }

    /* Card hover effect */
    .doc-card { transition: .10s;}
    .shadow-sm2 {
        background-color: #ffffffff;  /* warna putih */
        border: 1px solid #e0e0e0;  /* border tipis */
        border-radius: 10px;        /* opsional: lengkungkan */
    }

    .doc-card:hover { transform: translateY(-6px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }

    .btn-container {
        display: flex;
        justify-content: flex-end; /* tombol ke kanan */
    }

    .line-with-button {
        display: flex;
        align-items: center; /* garis dan tombol sejajar vertikal */
        gap: 10px; /* jarak antara garis dan tombol */
        margin-bottom: 30px; /* jarak bawah container */
    }

    .line-with-button .line-pengumuman {
        flex: 1; /* garis memanjang memenuhi sisa space */
        height: 1px; /* ketebalan garis */
        background-color: rgb(94, 94, 94); /* warna garis */
    }

   .line-with-button .line-galeri {
          flex: 1; /* garis memanjang memenuhi sisa space */
          height: 0.8px; /* ketebalan garis */
          background-color: #c8c6c6; /* warna garis */
      }

    .btn-lihat-semua {
        padding: 6px 18px;
        border: 1px solid #2bc5d4;
        background: #fff;
        color: #2bc5d4;
        border-radius: 6px;
        font-size: 14px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-weight: 500;
    }


    .btn-lihat-semua:hover {
        background: #2bc5d4;
        color: #fff;
    }

    .btn-lihat-semua i {
        font-size: 14px;
        transition: 0.2s;
        opacity: 0.9;
    }

    .btn-lihat-semua:hover i {
        color: #fff;
        opacity: 1;
    }

    .btn-lihat-semua-pengumuman {
        padding: 6px 18px;
        border: 1px solid #181d38;
        background: transparent;
        color: #181d38;
        border-radius: 6px;
        font-size: 14px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-weight: 500;
    }


    .btn-lihat-semua-pengumuman:hover {
        background: #181d38;
        color: #fff;
    }

    .btn-lihat-semua-pengumuman i {
        font-size: 14px;
        transition: 0.2s;
        opacity: 0.9;
    }

    .btn-lihat-semua-pengumuman:hover i {
        color: #fff;
        opacity: 1;
    }

    /* --- ANIMASI DASAR --- */
    .fade-up, .fade-right {
        opacity: 0;
        transform: translateY(50px);
        transition: all 0.8s ease-out;
    }

    /* Saat terlihat di layar */
    .fade-up.show {
        opacity: 1;
        transform: translateY(0);
    }


    .equal-row {
        display: flex;
        background-color: #DFDBE5;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cg fill='%239C92AC' fill-opacity='0.4'%3E%3Cpath fill-rule='evenodd' d='M0 0h4v4H0V0zm4 4h4v4H4V4z'/%3E%3C/g%3E%3C/svg%3E");
        background-size: auto;
        background-position: center;
        background-repeat: repeat;
        padding-top: 15px;
        padding-right: 7px;
        padding-left: 7px;
        padding-bottom: 15px;
        margin-top: 50px;
        border-radius: 10px;
    }
    .full-height {
        height: 100%;
    }

    .box-asn, .box-link {
        background: #fff;
        padding: 10px;
        border-radius: 12px;
        box-shadow: 0 4px 18px rgba(0,0,0,0.08);
        border: 1px solid #eee;
        text-align: center; 
    }

    .asn-horizontal {
        display: flex;
        gap: 10px;
        justify-content: center; 
        flex-wrap: wrap;
    }
    .asn-item {
        display: flex;
        align-items: center;
        background: #f8f9fa;
        padding: 8px 10px;
        border-radius: 8px;
        text-decoration: none;
        color: #212529;
        border: 1px solid #ddd;
        transition: .25s;
    }
    .asn-item img { width: 30px; }
    .asn-item:hover {
        transform: translateY(-3px);
        background: #e9f2ff;
        border-color: #0d6efd;
        color: #0d6efd;
    }

    .rl-row {
        display: flex;
        gap: 15px;
        overflow-x: auto;
        padding-bottom: 5px;
    }

  
    .rl-card {
        min-width: 140px;
        background: #fff;
        border-radius: 8px;
        text-align: center;
        text-decoration: none;
        color: #333;
        box-shadow: 0 3px 12px rgba(0,0,0,0.15);
        overflow: hidden;
        transition: 0.3s ease;
    }

   
    .rl-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    }
  
    .rl-card img {
        width: 100%;
        height: 80px;
        padding: 8px; 
    }

    .rl-card span {
        display: block;
        padding: 10px 5px;
        font-weight: 600;
        font-size: 14px;
    }

    .rl-row::-webkit-scrollbar {
        height: 6px;
    }
    .rl-row::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 10px;
    }
    #linkCarousel {
        position: relative;
        padding-bottom: 30px;
    }
    #linkCarousel .carousel-indicators {
        position: absolute;
        bottom: 0px;        
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        padding: 0;
    }

    #linkCarousel .carousel-indicators button {
        width: 12px;
        height: 12px;
        background-color: #777 !important;
        border-radius: 50%;
        
    }

    #linkCarousel .carousel-indicators .active {
        background-color: #09022bff !important;
    }

    #linkCarousel .carousel-item {
        padding: 5px 0;
    }

    .rl-row {
        display: flex;
        justify-content: center;
        gap: 25px;
    }


    
