/* Container Utama */
.footer-wrapper {
    background-color: #2b2e0f; /* Dark Olive Green */
    color: #ffffff;
    display: grid;
    /* UBAH DARI 4fr 5fr JADI 1fr 1fr AGAR SIMETRIS TENGAH */
    grid-template-columns: 1fr 1fr; 
    gap: 40px;
    padding: 40px;
    align-items: start; /* Align items start agar rapi dari atas */
}

/* --- STYLING KOLOM --- */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center; /* Memastikan elemen kotak (seperti map/logo) di tengah horizontal */
    text-align: center;  /* Mewariskan posisi teks tengah ke anak-anaknya */
}

/* --- STYLING GAMBAR & MAPS --- */
.footer-logo {
    max-width: 45%;
    width: 100%;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-sizing: border-box; /* Agar padding tidak menambah lebar */
}

.map-frame {
    width: 100%;
    max-width: 400px; /* Batasi lebar map agar tidak terlalu melebar */
    height: 250px;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* --- TYPOGRAPHY (TEXT) --- */
.footer-title {
    color: #e8d82a;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 8px;
    display: flex;
    align-items: left;
    justify-content: left; /* KUNCI: Memaksa isi judul (ikon + teks) ke tengah */
    gap: 10px;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
}

/* Tambahan styling eksplisit agar teks dijamin di tengah */
.footer-text {
    line-height: 1.6;
    margin: 0;
    font-size: 1vw;
    color: var(--gafi-yellow);
    text-align: left; /* KUNCI: Paksa teks paragraf ke tengah */
    font-family: 'Montserrat', sans-serif;
}

/* --- ICON STYLING --- */
.icon-box {
    background-color: #e8d82a;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #2b2e0f;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-right: 17.35%; /* KUNCI: Memaksa item kontak ke tengah */
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center; /* KUNCI: Memaksa isi item kontak ke tengah */
    gap: 10px;
}

/* Jarak antar section */
.info-section {
    margin-bottom: 20px;
    width: 35%; 
    display: flex;         /* Ubah jadi flex */
    flex-direction: column; /* Tumpuk ke bawah */
    align-items: left;    /* Pastikan anak-anaknya di tengah */
    text-align: left;     /* Pastikan teksnya di tengah */
    margin-right: 9%;

}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    /* .footer-wrapper {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 30px;
    } */
}

@media (max-width: 640px) {
    .footer-logo {
        max-width: 100%;
        width: 100%;
        background: white;
        padding: 10px;
        border-radius: 8px;
        box-sizing: border-box;
    }

    .footer-title {
        color: #e8d82a;
        font-weight: bold;
        font-size: 3vw;
        margin-bottom: 8px;
        display: flex;
        align-items: left;
        justify-content: left; /* KUNCI: Memaksa isi judul (ikon + teks) ke tengah */
        gap: 10px;
        width: 28vw;
    }

    .div-1-sect-8 {
        margin-right: 64%;
    }

    .footer-p-1 {
        width: 40vw;
        font-size: 2vw;
    }

    .div-2-sect-8 {
        font-size: 2vw;
        width: 16vw;
    }

    .div-3-sect-8 {
        font-size: 2vw;
        width: 31vw;
    }

    .div-4-sect-8 {
        width: 38vw;
        font-size: 2vw;
    }

    .div-5-sect-8 {
        font-size: 2vw;
    }
    
    .div-5-sect-9 {
        font-size: 2vw;
    }

    #item-1-footer {
        margin-left: 41%;
    }

    #item-2-footer {
        margin-left: 37%;
    }
}