.container-layanan-2 {
    max-width: 100%;
    background: black;
    padding: 100px;
    text-align: center;
}

.container-layanan-2 h1 {
    margin-bottom: 20px;
    color: #EA5521;
    font-weight: 800;
    font-size: 40px;
}

.container-layanan-2 p {
    color: white;
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.container-layanan-2-img {
    max-width: 100%;
    background-color: white;
}

.container-layanan-2-img img {
    width: 100%;
    height: auto;
    background-color: black;
}

.filter-list {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.filter-list button {
    color: black;
    font-weight: bold;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    position: relative;
}

.filter-list button:hover {
    color: #EA5521;
}

.filter-list button.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #EA5521;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.pagination ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    gap: 5px;
}

.pagination li {
    display: inline;
}

.pagination li button {
    background-color: #000;
    border: none;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    cursor: pointer;
    padding: 0;
    margin: 0 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination li button.active {
    background-color: #000;
    box-shadow: 0 0 0 3px #EA5521;
}

@media (max-width: 768px) {
    .container-filter {
        display: block; /* Mengubah menjadi block untuk rata kiri */
    }

    .filter-list {
        margin: 0; /* Menghapus margin jika ada */
    }

    .filter-list a {
        display: block; /* Mengubah menjadi block agar penuh lebar */
        padding: 10px 15px; /* Menambahkan padding untuk ruang */
        font-size: 14px;
        text-align: left; /* Mengatur teks rata kiri */
        position: relative; /* Posisi relative untuk garis bawah */
        border-bottom: 2px solid #000; /* Garis bawah */
        width: 100%; /* Memastikan lebar penuh */
    }

    .filter-list a.active {
        color: #EA5521; /* Misalnya, menambahkan warna khusus untuk item aktif */
    }

    .filter-list a:not(:last-child) {
        border-bottom: 2px solid #000; /* Garis bawah */
    }
}


.works {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #ffffff;
}

.portofolio {
    text-align: center;
    width: 50%;
    background-color: #ffffff;
}

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

.wrap-image {
    padding: 15px;
    position: relative;
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    cursor: pointer; /* Menandakan elemen bisa diklik */
    z-index: 1; /* Memastikan elemen ini di atas */
}
.wrap-image img {
    width: 100%;
    height: auto;
    display: block;
}

.content {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: 0.6s;
}

.content:hover {
    opacity: 1;
}

.content h1 {
    font-size: 30px;
    color: #ddd;
    margin-bottom: 15px;
}

.content p {
    font-size: 19px;
    color: #ddd;
}

.content > * {
    transform: translateY(25px);
    transition: transform 0.6s;
}

.content:hover > * {
    transform: translateY(0px);
}

@media (max-width: 768px) {
    .wrap-image {
        flex: 1 1 100%; /* Mengubah lebar item menjadi 100% untuk perangkat mobile */
        max-width: 100%;
    }

    .page-button {
        font-size: 1.5rem; /* Ukuran font lebih kecil untuk perangkat mobile */
    }

    .page-button::after {
        font-size: 1rem; /* Ukuran bullet lebih kecil untuk perangkat mobile */
    }

    .content h1 {
        font-size: 18px; /* Ukuran font lebih kecil untuk perangkat mobile */
    }

    .content p {
        font-size: 12px; /* Ukuran font lebih kecil untuk perangkat mobile */
    }
}
