.social {
    background-color: transparent;
    display: flex;
    justify-content: flex-start;
    padding: 10px 20px;
    z-index: 1000;
}

.social-menu {
    display: flex; /* Flexbox untuk tata letak horizontal */
    gap: 25px; /* Tambahkan jarak antar ikon */
}

.social-menu ul {
    display: flex; /* Flexbox untuk elemen horizontal */
    padding: 0;
    margin: 0;
}

.social-menu ul li {
    list-style: none; /* Hapus bullet list */
    padding-right: 25px;
    padding-left: 25px;
}

.social-menu ul li a {
    position: relative;
    display: block;
    width: 90px; /* Ukuran ikon */
    height: 90px;
    border-radius: 50%;
    background-color: #2E8B57;
    text-align: center;
    transition: 0.6s;
    box-shadow: 0 5px 4px rgba(0, 0, 0, 0.5);
}

.social-menu ul li a:hover {
    transform: translateY(-10%); /* Efek naik saat hover */
}

.social-menu ul li .fab {
    font-size: 50px;
    line-height: 90px; /* Pusatkan ikon vertikal */
    transition: 0.3s;
    color: #A5D6A7;
}

.social-menu ul li .fab:hover {
    color: #fff;
}

.social-menu ul li:nth-child(1) a:hover{
    background-color: rgba(0, 0, 0, 0.829);
}
.social-menu ul li:nth-child(2) a:hover{
    background-color: #E4405F;
}
.social-menu ul li:nth-child(3) a:hover{
    background-color: #0077b5;
}
.social-menu ul li:nth-child(4) a:hover{
    background-color: #000;
}

/* hero section */
.hero-container .social-wrapper .social {
    position: fixed; /* Tetap di bagian bawah halaman */
    bottom: 20px; /* Naik ke atas dengan menambah jarak dari bawah */
    left: 50%; /* Sedikit geser ke kanan */
}

@media (max-width: 768px) {
    .hero-container .social-wrapper .social {
        position: fixed;
        bottom: 20px; /* Jarak dari bawah layar */
        left: 50%; /* Letakkan di tengah horizontal */
        transform: translateX(-50%); /* Pusatkan elemen dengan menggeser setengah lebarnya ke kiri */
        z-index: 10; /* Pastikan tetap terlihat di atas elemen lain */
    }

    .social-menu ul li a {
        position: relative;
        display: block;
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background-color: #2E8B57;
        text-align: center;
        transition: 0.6s;
        box-shadow: 0 5px 4px rgba(0, 0, 0, 0.5);
    }

    .social-menu ul li .fab {
        font-size: 50px;
        line-height: 80px;
        transition: 0.3s;
        color: #A5D6A7;
    }
}

