.customer-reviews-carousel {
    padding: 60px 20px;
    background-color: #f8f9fa;
    text-align: center;
    position: relative;
}

.reviews-container {
    max-width: 800px;
    margin: 0 auto;
}

.reviews-heading {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #333;
}

.review-content {
    margin-bottom: 40px;
    position: relative;
}

.google-icon {
    margin-bottom: 30px;
}

.google-icon svg {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform-origin: center;
    transition: transform 0.8s ease-in-out;
}

.review-text-container {
    position: relative;
    min-height: 120px;
    margin-bottom: 30px;
}

.review-text {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s ease;
    position: absolute;
    width: 100%;
    top: 0;
}

.review-text.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.customer-names {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.customer-name {
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.customer-name.active {
    background: rgba(66, 133, 244, 0.1);
    border-color: #4285f4;
    font-weight: 600;
}

.customer-name:hover {
    background: rgba(255,255,255,0.9);
}

.review-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.share-text {
    font-size: 1.1rem;
    font-weight: 500;
}

.google-review-btn {
    background-color: #4285f4;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.google-review-btn:hover {
    background-color: #3367d6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .reviews-heading {
        font-size: 2rem;
    }
    
    .review-text {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .customer-names {
        gap: 10px;
    }
    
    .customer-name {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .review-actions {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .customer-reviews-carousel {
        padding: 40px 15px;
    }
    
    .reviews-heading {
        font-size: 1.8rem;
    }
    
    .google-icon svg {
        width: 60px;
        height: 60px;
        padding: 12px;
    }
    
    .review-text {
        font-size: 1rem;
    }
}

/* Animation for carousel effect */
.review-carousel-animation {
    position: relative;
    overflow: hidden;
}

.review-carousel-animation::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(66, 133, 244, 0.1), transparent);
    animation: rotate 8s linear infinite;
    z-index: 0;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}