/* FCG Google Reviews Styles - Matching React Design */
.fcg-reviews-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

.fcg-reviews-section {
    padding: 80px 0;
    background-color: #f8fafc;
    position: relative;
}

.fcg-reviews-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
}

.fcg-reviews-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.2;
}

.fcg-reviews-header p {
    font-size: 1.25rem;
    color: #64748b;
    margin: 0;
}

.fcg-reviews-grid {
    display: grid;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.fcg-cols-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.fcg-cols-4 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.fcg-review-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fcg-layout-reviews .fcg-review-card {
    text-align: left;
    padding: 24px;
}

.fcg-review-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Quote Icon for Testimonials Layout */
.fcg-quote-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(251, 191, 36, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.fcg-quote-svg {
    width: 24px;
    height: 24px;
    color: #f59e0b;
}

.fcg-layout-reviews .fcg-quote-icon {
    display: none;
}

/* Rating Stars */
.fcg-rating {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    gap: 2px;
}

.fcg-layout-reviews .fcg-rating {
    justify-content: flex-start;
    margin-bottom: 16px;
}

.fcg-star {
    color: #d1d5db;
    font-size: 20px;
    transition: color 0.2s;
}

.fcg-star.filled {
    color: #f59e0b;
}

/* Review Text */
.fcg-review-text {
    font-size: 1.125rem;
    color: #64748b;
    font-style: italic;
    line-height: 1.6;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.fcg-layout-reviews .fcg-review-text {
    font-size: 1rem;
    text-align: left;
}

/* Author Information */
.fcg-review-author {
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
    margin-top: auto;
}

.fcg-layout-reviews .fcg-review-author {
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
}

.fcg-review-author h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.fcg-author-role {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0 0 8px 0;
}

.fcg-review-date {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0 0 12px 0;
}

.fcg-service-tag {
    display: inline-block;
    background-color: rgba(251, 191, 36, 0.1);
    color: #1e3a8a;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* CTA Section */
.fcg-reviews-cta {
    text-align: center;
    margin-top: 48px;
}

.fcg-reviews-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #374151;
    border: 2px solid #d1d5db;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.fcg-reviews-button:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #374151;
    text-decoration: none;
}

.fcg-external-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.fcg-reviews-button:hover .fcg-external-icon {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .fcg-reviews-section {
        padding: 60px 0;
    }
    
    .fcg-reviews-header {
        margin-bottom: 48px;
    }
    
    .fcg-reviews-header h2 {
        font-size: 2rem;
    }
    
    .fcg-reviews-header p {
        font-size: 1.125rem;
    }
    
    .fcg-reviews-grid {
        gap: 24px;
    }
    
    .fcg-review-card {
        padding: 24px;
    }
    
    .fcg-cols-3,
    .fcg-cols-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .fcg-reviews-header h2 {
        font-size: 1.75rem;
    }
    
    .fcg-reviews-header p {
        font-size: 1rem;
    }
    
    .fcg-review-card {
        padding: 20px;
    }
    
    .fcg-review-text {
        font-size: 1rem;
    }
}

/* Load More Button Styles */
.fcg-load-more-container {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem 1rem;
    border-top: 1px solid #e2e8f0;
    width: 100%;
    clear: both;
    position: relative;
    z-index: 10;
}

.fcg-load-more-btn {
    background: white;
    border: 2px solid #d1d5db;
    color: #374151;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto 1rem auto;
    position: relative;
    min-height: 3rem;
    visibility: visible;
    opacity: 1;
}

.fcg-load-more-btn:hover:not(:disabled) {
    background: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.fcg-load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.fcg-spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.fcg-reviews-count {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}