/* ====== LAYANAN UMUM SECTION ====== */
.layanan-umum-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 30px;
    max-width: 1350px;
    margin: 80px auto;
    padding: 0 20px;
}

/* ====== SIDEBAR ====== */
.layanan-umum-sidebar {
    width: 15%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.card-layanan-umum {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    height: 140px;
    border-left: 1px solid #0f4c07;
    border-right: 1px solid #0f4c07;
    border-bottom: 1px solid #eee;
    transition: 0.3s ease;
    cursor: pointer;
    color: inherit;
    background: #fff;
}

.card-layanan-umum i {
    font-size: 32px;
    margin-bottom: 10px;
    color: #00b300;
}

.card-layanan-umum:hover,
.card-layanan-umum.active {
    background-color: #0f4c07;
    color: #CAF8BF;
}
.card-layanan-umum:hover i,
.card-layanan-umum.active i {
    color: #CAF8BF;
}

/* ====== VIEW ALL BUTTON ====== */
.view-all {
    background-color: #0f4c07;
    color: #fff;
    padding: 12px 0;
    text-align: center;
}
.view-all a {
    color: #CAF8BF;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}
.view-all:hover {
    background-color: #CAF8BF;
}
.view-all:hover a {
    color: #146A0E;
}

/* ====== CONTENT ====== */

.layanan-umum-content-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 30px;
    max-width: 1350px;
    margin: 80px auto;
    padding: 0 20px;
}

.layanan-umum-content {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    padding: 10px 20px;
}

.layanan-umum-content h1 {
    color: #0f4c07;
    font-size: 24px;
    margin-bottom: 5px;
    text-align: left;
}
.layanan-umum-content p {
    color: #333;
    line-height: 1.7;
    text-align: justify;
}

/* ====== ICON DI CARD LAYANAN UMUM ====== */
.layanan-umum-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: transform 0.2s ease;
}

.card-layanan-umum:hover .layanan-umum-icon,
.card-layanan-umum.active .layanan-umum-icon {
    transform: scale(1.1);
}


/* ====== PICTURE SECTION ====== */
.layanan-umum-picture {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.image-container {
    position: relative;
    width: 100%;
}

.image-container img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #00b300 18%, #146A0E 18%, #146A0E 80%, #CAF8BF 80%);
    border-radius: 0 0 8px 8px;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-grid img {
    width: calc(33.333% - 10px);
    height: 90px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
    .layanan-umum-container {
        flex-direction: column;
        align-items: center;
        max-width: 95%;
    }
    .layanan-umum-sidebar,
    .layanan-umum-content,
    .layanan-umum-picture {
        width: 100%;
    }
    .layanan-umum-content {
        order: 3;
    }
}
