/* Floating Contact Widget */
.floating-contact-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-phones__fixed:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/box-logo.png) no-repeat center;
    background-size: 100% 100%;
    animation: rotating 6s linear infinite;
}

.btn-phones__fixed {
    display: flex;
    width: 64px;
    height: 64px;
    padding: 10px;
    position: relative;
}

@keyframes tadaphones {
    0% {
        transform: scale(1)
    }

    10%,20% {
        transform: rotate(-6deg)
    }

    30%,50%,70%,90% {
        transform: rotate(6deg)
    }

    40%,60%,80% {
        transform: rotate(-6deg)
    }

    100% {
        transform: rotate(0)
    }
}

.btn-phones__fixed img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    transform: translateX(1px);
    position: relative;
    z-index: 10;
    animation: tadaphones 1s linear infinite;
}

@keyframes rotating {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

.btn-phones__fixed:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.btn-up-topss {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color, #d4af37);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.btn-up-topss:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.btn-up-topss img {
    width: 24px;
    height: 24px;
    filter: invert(1);
}

.mb-3 {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .floating-contact-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .btn-phones__fixed,
    .btn-up-topss {
        width: 45px;
        height: 45px;
    }
    
    .btn-phones__fixed img {
        width: 25px;
        height: 25px;
    }
    
    .btn-up-topss img {
        width: 20px;
        height: 20px;
    }
}