@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;700&display=swap');

    html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Pastikan body setinggi viewport */
}

main {
    flex: 1; /* Biar main-content mengisi ruang kosong di antara header dan footer */
}


    .footer {
        display: block;
        background-color: #3D5A80;
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;

        position: relative;         
        left: -96px;                 
        width: calc(100% + 192px);   
        margin-top: 50px;
    }


    .footer * {
        color: inherit;
        text-decoration: inherit;
    }

    .container-footer {
        display: flex;
        width: 100%;
        padding: 30px 96px
    }
    .footer-section2 {
        width: 45%;
    }

    .namatoko p {
        margin: 0;
    }

    .nomor {
        margin-top: 50px;
    }

    .nomor a {
        text-underline-offset: 6px;
    }

    .bawah {
        padding-top: 10px;
    }

    .footer-section {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .copyright {
        display: flex;
        width: 85%;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        transform: translateX(40px); /* Geser isi +20px ke kanan */
        padding-bottom: 20px;
        font-size: 14px;
        
    }

    .footer-aboutus {
        margin-left: auto;
    }

    @media (max-width: 1024px) {
        .container-footer {
            display: flex;
            width: 100%;
        }

        .social-media {
            padding-left: 10%;
        }

        .copyright {
        margin-top: 30px;       /* Jarak ke atas lebih besar */
        padding-bottom: 0px !important;   /* Tambahan jarak ke bawah */
        justify-content: center; /* Biar pas di tengah */
        transform: none;        /* Hapus geser horizontal */
        width: 100%;            /* Lebarkan biar posisi center pas */
        text-align: center;  
    }

        .nomor {
            margin-top: 20px;
        }

        .bawah {
            padding-top: 0;
        }
    }

@media (max-width: 767px) {
    .footer {
        width: 110%;
        left: -5%;
        padding: 20px 16px; /* padding kanan-kiri aman */
        box-sizing: border-box;
        position: relative;
    }

    .container-footer {
        flex-direction: column;
        gap: 20px;
        padding: 0;
        display: flex;
        flex-direction: row;
    }

    .social-media {
        padding-left: 0;
    }
}

@media (min-width: 1400px) {
    .container-footer {
        padding: 30px 200px;
    }
}