/* Liên Hệ - giữ nguyên logic/giao diện hiệu ứng từ code gốc */
.fb-button {
    height: 50px;
    position: fixed;
    width: 50px;
    left: 40px;
    bottom: 200px;
    background-color: #2573d3;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.fb-button .outer-circle {
    bottom: -25px;
    left: 25px;
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #2573d3;
    border-radius: 50%;
    z-index: 1;
}

.fb-button .inner-circle {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #FFD700;
    border-radius: 50%;
    z-index: 1;
}

.fb-button a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 60px;
}

.fb-button img {
    width: 40px;
    height: 40px;
    animation: rotateImage 0.8s ease-in-out infinite;
    z-index: 2;
}

.fb-button .outer-circle {
    animation: glowEffect 1s ease-in-out infinite;
}

.zalo-button {
    height: 50px;
    position: fixed;
    width: 50px;
    left: 40px;
    bottom: 120px;
    background-color: #2573d3;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.zalo-button .outer-circle {
    bottom: -25px;
    left: 25px;
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #2573d3;
    border-radius: 50%;
    z-index: 1;
}

.zalo-button .inner-circle {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #FFD700;
    border-radius: 50%;
    z-index: 1;
}

.zalo-button a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 60px;
}

.zalo-button img {
    width: 50px;
    height: 50px;
    animation: rotateImage 0.8s ease-in-out infinite;
    z-index: 2;
}

.zalo-button .outer-circle {
    animation: glowEffect 1s ease-in-out infinite;
}

@keyframes rotateImage {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    50% { transform: rotate(15deg); }
    75% { transform: rotate(-15deg); }
    100% { transform: rotate(0deg); }
}

@keyframes glowEffect {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}
