.floating-facebook {
    position: fixed;
    bottom: 87px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease-in-out;
    animation: floatUp 1s infinite alternate, rippleEffect 1.5s infinite;
}

.floating-facebook img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover; /* Đảm bảo hình ảnh không bị méo */
    clip-path: circle(); /* Cắt hình ảnh thành hình tròn */
}

@keyframes floatUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}

@keyframes rippleEffect {
    0% {
        box-shadow: 0 0 10px rgba(24, 119, 242, 0.5);
    }
    100% {
        box-shadow: 0 0 20px rgba(24, 119, 242, 0.2);
    }
}

.floating-zalo {
    position: fixed;
    bottom: 132px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease-in-out;
    animation: floatUp 1s infinite alternate, rippleEffectZalo 1.5s infinite;
    z-index: 9999; /* Đảm bảo icon hiển thị trên các phần tử khác */
}

.floating-zalo img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    clip-path: circle();
}

@keyframes rippleEffectZalo {
    0% {
        box-shadow: 0 0 10px rgba(0, 136, 204, 0.5);
    }
    100% {
        box-shadow: 0 0 20px rgba(0, 136, 204, 0.2);
    }
}