/* Floating Contact Buttons */
.floating-contacts {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 3000;
    align-items: flex-end;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 
        0 0 30px rgba(255, 0, 0, 0.5),
        0 0 60px rgba(0, 255, 0, 0.3),
        0 0 90px rgba(0, 0, 255, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    filter: drop-shadow(0 0 15px rgba(255, 100, 200, 0.4));
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 
        0 0 40px rgba(255, 0, 0, 0.7),
        0 0 80px rgba(0, 255, 0, 0.5),
        0 0 120px rgba(0, 0, 255, 0.5),
        0 4px 10px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn {
    background-color: #25d366;
    position: relative;
    animation: pulse 2s infinite;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.3) 0%, rgba(37, 211, 102, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    animation: rgbGlowGreen 3s infinite;
}

.phone-btn {
    background-color: #0e6c98;
    width: auto;
    padding: 0 25px;
    border-radius: 30px;
    display: flex;
    gap: 10px;
    position: relative;
    height: 60px;
    overflow: hidden;
}

.phone-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.3) 0%, rgba(0, 123, 255, 0) 70%);
    border-radius: 30px;
    z-index: -1;
    animation: rgbGlowBlue 3s infinite;
}

.phone-btn i {
    font-size: 24px;
    position: relative;
    z-index: 1;
}

.phone-text {
    max-width: 200px;
    overflow: hidden;
    white-space: nowrap;
    opacity: 1;
    transition: all 0.4s ease;
    font-size: 14px;
    font-weight: bold;
    margin-left: 0;
    display: inline-block;
    position: relative;
    z-index: 1;
}

/* Show text on hover for phone button */
.phone-btn:hover .phone-text {
    margin-left: 10px;
}

/* RGB Glow Animations */
@keyframes pulse {
    0% {
        box-shadow: 
            0 0 0 0 rgba(37, 211, 102, 0.7),
            0 0 30px rgba(255, 0, 0, 0.3),
            0 0 60px rgba(0, 255, 0, 0.5),
            0 0 90px rgba(0, 0, 255, 0.2);
    }

    70% {
        box-shadow: 
            0 0 0 10px rgba(37, 211, 102, 0),
            0 0 30px rgba(255, 0, 0, 0.5),
            0 0 60px rgba(0, 255, 0, 0.7),
            0 0 90px rgba(0, 0, 255, 0.4);
    }

    100% {
        box-shadow: 
            0 0 0 0 rgba(37, 211, 102, 0),
            0 0 30px rgba(255, 0, 0, 0.3),
            0 0 60px rgba(0, 255, 0, 0.5),
            0 0 90px rgba(0, 0, 255, 0.2);
    }
}

@keyframes rgbGlowGreen {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(0, 255, 0, 0.6)) 
                drop-shadow(0 0 20px rgba(0, 0, 255, 0.3)) 
                drop-shadow(0 0 30px rgba(255, 0, 0, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(0, 255, 0, 0.8)) 
                drop-shadow(0 0 30px rgba(0, 0, 255, 0.5)) 
                drop-shadow(0 0 40px rgba(255, 0, 0, 0.4));
    }
}

@keyframes rgbGlowBlue {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(0, 123, 255, 0.6)) 
                drop-shadow(0 0 20px rgba(255, 0, 0, 0.3)) 
                drop-shadow(0 0 30px rgba(0, 255, 0, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(0, 123, 255, 0.8)) 
                drop-shadow(0 0 30px rgba(255, 0, 0, 0.5)) 
                drop-shadow(0 0 40px rgba(0, 255, 0, 0.4));
    }
}

@media (max-width: 768px) {
    .floating-contacts {
        bottom: 10px;
        right: 10px;
        align-items: flex-end;
    }

    .phone-btn {
        height: 50px;
        font-size: 14px;
        padding: 0 15px;
    }

    .phone-btn i {
        font-size: 18px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}
