.social-widget {
    position: fixed;
    bottom: 33px;
    left: 30px;
    z-index: 1000;
}

.social-icon {
    display: block;
    width: 50px;
    height: 50px;
    color: #fff;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    transition: background 0.3s, transform 0.3s;
    position: relative;
}

    .social-icon:hover {
        transform: scale(1.2); 
        opacity: 0.85;
        animation: none; 
    }

.social-widget.expanded .social-icon {
    transform: rotate(180deg); 
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(15deg);
    }

    75% {
        transform: rotate(-15deg);
    }
}

.social-icon {
    animation: wiggle 3s ease-in-out infinite;
}

.social-icon .hide-icon {
    display: none;
}

.social-menu {
    display: none;
    position: absolute;
    bottom: 60px;
    left: 0;
    background: #fff;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 5px rgb(31 191 228);
    align-items: center;
}

.social-menu .social-item {
    display: block;
    color: #272727;
    text-align: center;
    padding: 1px;
    font-size: 24px;
    text-decoration: none;
    transition: background 0.3s;
}

.social-menu .social-item:hover {

}



.social-menu .social-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease, opacity 0.2s;
}

.social-menu .social-item:hover img {
    transform: scale(1.2); 
    opacity: 0.85;
}