.floating-service {
    position: fixed;
    right: 20px;
    bottom: 40%;
    z-index: 999;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-item {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    margin: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.service-item:hover {
    background: #007bff;
}

.service-item:hover i {
    color: #fff;
}

.service-item i {
    font-size: 24px;
    color: #333;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.popup-content {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none;
    width: 200px;
    z-index: 1001;
}

.popup-content.active {
    display: block;
    animation: fadeInRight 0.3s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.popup-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    color: #666;
    font-size: 16px;
    transition: color 0.3s ease;
    background: #fff;
    border-radius: 50%;
}

.popup-close:hover {
    color: #333;
}

.popup-content img.wechat-qrcode {
    width: 100%;
    height: auto;
}

.popup-content p {
    margin: 10px 0 0;
    text-align: center;
    font-size: 14px;
}

.contact-form-popup {
    width: 280px;
}

.quick-contact-form .form-group {
    margin-bottom: 10px;
}

.quick-contact-form input,
.quick-contact-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.quick-contact-form textarea {
    height: 80px;
    resize: none;
}

.submit-btn {
    width: 100%;
    padding: 8px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #0056b3;
}

#backToTop {
    display: none;
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.6);
}

#backToTop i {
    color: #fff;
    font-size: 20px;
}

#backToTop:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.8);
}

.popup-content::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 10px 0 10px 10px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
    transition: opacity 0.3s ease;
}

.captcha-group {
    display: flex;
    gap: 10px;
}

.captcha-image {
    height: 40px;
    width: 100px;
    cursor: pointer;
}

.captcha-group input {
    flex: 1;
}

@media (max-width: 768px) {
    .floating-service {
        display: none;
    }

    .map-data-list {
        display: none;
    }
}
