/* Floating Review Button */
.review-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 110px; /* Position above WhatsApp button */
    right: 30px;
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 28px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.review-float:hover {
    background: linear-gradient(135deg, #357ae8 0%, #2d8f47 100%);
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
}

.review-float i {
    line-height: 60px;
    color: #FFF;
    animation: starRotate 3s linear infinite;
}

@keyframes starRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Review Tooltip */
.review-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #333;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: normal;
}

.review-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 8px solid #333;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.review-float:hover .review-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Pulse animation */
@keyframes reviewPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(66, 133, 244, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(66, 133, 244, 0);
    }
}

.review-float {
    animation: reviewPulse 2s infinite;
}

.review-float:hover {
    animation: none;
}

@media (max-width: 767px) {
    .review-float {
        width: 50px;
        height: 50px;
        bottom: 90px;
        right: 20px;
        font-size: 24px;
    }
    
    .review-float i {
        line-height: 50px;
    }
    
    .review-tooltip {
        display: none;
    }
}