/* Pro Contact Float Styles */

.pro-contact-float {
    position: fixed;
    z-index: 9999;
    width: 56px;
    height: 56px;
    transition: all 0.3s ease;
}

.pro-contact-float.bottom-right {
    bottom: 20px;
    right: 20px;
}

.pro-contact-float.bottom-left {
    bottom: 20px;
    left: 20px;
}

.pro-contact-float.top-right {
    top: 20px;
    right: 20px;
}

.pro-contact-float.top-left {
    top: 20px;
    left: 20px;
}

.pro-contact-float.expandable .pro-contact-float__menu {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.pro-contact-float.expandable.active .pro-contact-float__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.pro-contact-float.static .pro-contact-float__menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.pro-contact-float.static.bottom-right .pro-contact-float__menu,
.pro-contact-float.static.bottom-left .pro-contact-float__menu {
    position: absolute;
    bottom: 70px;
    left: 0;
}

.pro-contact-float.static.top-right .pro-contact-float__menu,
.pro-contact-float.static.top-left .pro-contact-float__menu {
    position: absolute;
    top: 70px;
    left: 0;
}

.pro-contact-float.expandable .pro-contact-float__button {
    width: 56px;
    height: 56px;
    background: #007cba;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pro-contact-float__button {
    width: 56px;
    height: 56px;
    background: #007cba;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pro-contact-float.circle .pro-contact-float__button,
.pro-contact-float.circle .pro-contact-float__item {
    border-radius: 50%;
}

.pro-contact-float.rounded .pro-contact-float__button,
.pro-contact-float.rounded .pro-contact-float__item {
    border-radius: 12px;
}

.pro-contact-float.square .pro-contact-float__button,
.pro-contact-float.square .pro-contact-float__item {
    border-radius: 8px;
}

.pro-contact-float__button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

.pro-contact-float__button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.pro-contact-float__button svg {
    width: 24px;
    height: 24px;
    z-index: 1;
    position: relative;
}

.pro-contact-float__menu {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.pro-contact-float.active .pro-contact-float__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.pro-contact-float__item {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pro-contact-float__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pro-contact-float__item:hover::before {
    opacity: 1;
}

.pro-contact-float__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.pro-contact-float__item svg {
    width: 20px;
    height: 20px;
    margin-bottom: 2px;
}

.pro-contact-float__item span {
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    line-height: 1;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
}

.pro-contact-float__item:hover span {
    opacity: 1;
    transform: translateY(0);
}

/* Entrance Animations */
.pro-contact-float.fade {
    animation: fadeIn 0.5s ease-out;
}

.pro-contact-float.slide_up {
    animation: slideUp 0.5s ease-out;
}

.pro-contact-float.zoom {
    animation: zoomIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Icon Styles */
.pro-contact-float.square .pro-contact-float__item {
    border-radius: 8px;
}

.pro-contact-float.square .pro-contact-float__button {
    border-radius: 8px;
}

.pro-contact-float.square .pro-contact-float__button::before {
    border-radius: 8px;
}

/* Full Number Display */
.pro-contact-float__item.full-number {
    width: auto;
    min-width: 48px;
    padding: 0 12px;
    white-space: nowrap;
}

.pro-contact-float__item.full-number span {
    opacity: 1;
    transform: translateY(0);
    font-size: 12px;
}

.pro-contact-float__item.full-number:hover span {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .pro-contact-float {
        bottom: 15px;
    }

    .pro-contact-float.bottom-right {
        right: 15px;
    }

    .pro-contact-float.bottom-left {
        left: 15px;
    }

    .pro-contact-float__button {
        width: 50px;
        height: 50px;
    }

    .pro-contact-float__button svg {
        width: 22px;
        height: 22px;
    }

    .pro-contact-float__item {
        width: 44px;
        height: 44px;
    }

    .pro-contact-float__item svg {
        width: 18px;
        height: 18px;
    }

    .pro-contact-float__item span {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .pro-contact-float__menu {
        bottom: 65px;
        gap: 8px;
    }

    .pro-contact-float__item {
        width: 40px;
        height: 40px;
    }

    .pro-contact-float__item svg {
        width: 16px;
        height: 16px;
    }

    .pro-contact-float__item span {
        font-size: 8px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .pro-contact-float__button,
    .pro-contact-float__item,
    .pro-contact-float__menu {
        transition: none;
    }

    .pro-contact-float__button::before {
        animation: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .pro-contact-float__item {
        background: rgba(255, 255, 255, 1);
        border: 2px solid #000;
    }
}