/* Floating Contact Button Styles */
.floating-contact {
    position: fixed;
    top: 50%;
    right: -28px;
    transform: translateY(-50%);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.floating-contact:hover {
    transform: translateY(-50%) translateX(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-main {
    background: linear-gradient(135deg, #25D366, #128C7E);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.contact-main:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.contact-main::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    opacity: 0.7;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

.contact-icon {
    width: 28px;
    height: 28px;
    fill: white;
    z-index: 1;
    position: relative;
}

.contact-options {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border-radius: 30px;
    padding: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    gap: 10px;
    white-space: nowrap;
    min-width: 120px;
}

.floating-contact:hover .contact-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-10px);
}

.contact-option {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-option:hover {
    transform: scale(1.1);
}

.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.telegram {
    background: linear-gradient(135deg, #0088cc, #005580);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.telegram:hover {
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.5);
}

.option-icon {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Tooltip */
.contact-option::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.contact-option:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-contact {
        right: -25px;
    }
    
    .contact-main {
        width: 55px;
        height: 55px;
    }
    
    .contact-icon {
        width: 24px;
        height: 24px;
    }
    
    .contact-options {
        right: 65px;
        min-width: 110px;
    }
    
    .contact-option {
        width: 40px;
        height: 40px;
    }
    
    .option-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .floating-contact {
        right: -26px;
    }
    
    .contact-options {
        right: 60px;
        min-width: 100px;
        padding: 8px;
        gap: 8px;
    }
    
    .floating-contact:hover .contact-options {
        transform: translateY(-50%) translateX(-15px);
    }
}