body, html {
    margin: 0;
    padding: 0;
    height: 100%; /* Memastikan body menggunakan seluruh tinggi layar */
}

footer {
    margin-top: auto; /* Memastikan footer berada di bawah */
}

/* Footer Modern */
.footer-home {
    position: relative;
    width: 100%;
    min-height: 200px; /* Tambahkan min-height, biar tidak kepotong */
    padding: 30px 20px;
    background-image: url('../img/bg-footer.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    color: white;
    text-align: center;
    font-family: 'Verdana', Geneva, Tahoma, sans-serif;
    border-top: 2px solid black;
    box-sizing: border-box;
}

/* Overlay hitam transparan supaya teks lebih jelas */
.footer-home::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}
/* Isi konten footer */
.footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Ini tambahan: supaya isi tengah */
    height: 100%;
    gap: 15px;
}

/* Logo di footer */
.footer-content img {
    width: 120px;
}

/* Slogan */
.footer-content h2 {
    font-size: 20px;
    margin: 10px 0;
}

/* Sosial media links */
.footer-sosmed {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-sosmed a {
    color: white;
    font-size: 24px;
    transition: color 0.3s ease;
}

.footer-sosmed a:hover {
    color: #FFD700; /* biru muda saat hover */
}
main {
    min-height: 100vh; /* 100% tinggi layar */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-wrapper {
    flex: 1; /* konten mendorong footer ke bawah */
}

@media (max-width: 768px) {
    .footer-home {
        padding: 20px 10px; /* Mengurangi padding untuk layar kecil */
    }
}
