body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #0f3164;
    color: white;
}

.page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.foto-box {
    width: 20vw;
    /* 20% dari lebar layar */
    max-width: 250px;
    aspect-ratio: 3 / 4;
    /* proporsi tetap meskipun lebar berubah */
    background-color: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 150px;
}

.foto-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.layanan-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    min-height: 0;
    overflow: hidden;
}

.layanan-wrapper h2 {
    margin-bottom: 20px;
    font-size: 28px;
}

.button-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    height: auto;
    max-height: calc(100vh - 160px);
    /* Sesuaikan ruang tersedia */
    box-sizing: border-box;
}

.ambil-form {
    width: 100%;
    height: 100%;
}

.layanan-button {
    height: 90px;
    /* <-- Kamu bisa ubah sesuka hati */
    width: 100%;
    font-size: 1.3rem;
    background-color: #004080;
    color: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.2s ease;
}


.layanan-button:hover {
    background-color: #0059b3;
}

.logo {
    height: 50px;
    margin-right: 10px;
}

.header {
    height: 70px;
}

@media (max-width: 768px) {
    .button-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .layanan-button {
        font-size: 16px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .button-container {
        grid-template-columns: repeat(2, 1fr);
    }
}