:root {
    --gafi-green-dark: #054F2E;
    --gafi-green-light: #132D21;
    --gafi-yellow: #FFFF00;
    --gafi-red: #FF0000;
    --gafi-dark-pill: #032D1B;
    --gafi-dark-text: #303403;
    --gafi-dark-footer: #2A2A10;
    --color-bg-dark: #003B20; /* Deep Forest Green */
    --color-bg-light: #009E38; /* Vibrant Green */
    --color-accent: #FFFF00; /* Golden Yellow */
    --color-accent-yellow: #FFFF00;
    --color-dark-green: #033621;
    --color-white: #FFFFFF;
    --color-black-transparent: rgba(0,0,0,0.5);
    --color-text-secondary: #e0e0e0;
    --icon-bg: #2b3d0a;
    
    /* Typography */
    --font-main: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto Condensed', sans-serif;
    
    --fs-h1: clamp(1.8rem, 4vw, 3.5rem);
    --fs-h2: clamp(1.2rem, 3vw, 2.5rem);
    --fs-body: clamp(0.9rem, 1.5vw, 1.1rem);
    --fs-small: clamp(0.7rem, 1vw, 0.9rem);
    --fs-title: clamp(2rem, 5vw, 4rem);

    /* Spacing */
    --spacing-container: clamp(1rem, 5vw, 8rem);
    --spacing-block: clamp(2rem, 4vw, 4rem);
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --layout-padding: clamp(1.5rem, 5vw, 4rem);
    
    /* Layout */
    --radius-card: 20px;
    --shadow-text: 2px 2px 4px rgba(0,0,0,0.4);
    --container-padding: clamp(1rem, 5vw, 6rem);
    --nav-angle-width: 50px;
}
/* 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;
}

.span-footer {
    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%;

}

@media (max-width: 996px) {
    .span-footer {
        line-height: 1.6;
        margin: 0;
        font-size: 2vw;
        color: var(--gafi-yellow);
        text-align: left; /* KUNCI: Paksa teks paragraf ke tengah */
        font-family: 'Montserrat', sans-serif;
    }

    .footer {
        line-height: 1.6;
        margin: 0;
        font-size: 2vw;
        color: var(--gafi-yellow);
        text-align: left; /* KUNCI: Paksa teks paragraf ke tengah */
        font-family: 'Montserrat', sans-serif;
    }
}

@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%;
    }
}

@media (max-width: 768px) {
    .footer-text {
        line-height: 1.6;
        margin: 0;
        font-size: 2vw;
        color: var(--gafi-yellow);
        text-align: left; /* KUNCI: Paksa teks paragraf ke tengah */
        font-family: 'Montserrat', sans-serif;
    }

    .info-section {
        margin-bottom: 20px;
        width: 63%;
        display: flex;
        flex-direction: column;
        align-items: left;
        text-align: left;
        margin-right: 9%;
    }

    .footer-logo {
        max-width: 100%;
        width: 100%;
        background: white;
        padding: 10px;
        border-radius: 8px;
        box-sizing: border-box;
    }
}

@media (max-width: 992px) {
    .footer-text {
        line-height: 1.6;
        margin: 0;
        font-size: 2vw;
        color: var(--gafi-yellow);
        text-align: left; /* KUNCI: Paksa teks paragraf ke tengah */
        font-family: 'Montserrat', sans-serif;
    }

    .info-section {
        margin-bottom: 20px;
        width: 63%;
        display: flex;
        flex-direction: column;
        align-items: left;
        text-align: left;
        margin-right: 9%;
    }

    .footer-logo {
        max-width: 100%;
        width: 100%;
        background: white;
        padding: 10px;
        border-radius: 8px;
        box-sizing: border-box;
    }
}