/* ============================================
   GOOGLE REVIEWS SECTION - ENHANCED & SEPARATED
   Professional redesign with clear visual separation
   ============================================ */

/* Section Separator - Wave Divider */
.section-divider-wave {
    position: relative;
    height: 120px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    overflow: hidden;
}

.section-divider-wave::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="%234285f4" opacity="0.1"></path><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%234285f4" opacity="0.15"></path></svg>') repeat-x;
    background-size: 1200px 120px;
    animation: waveAnimation 20s linear infinite;
}

@keyframes waveAnimation {
    0% { transform: translateX(0); }
    100% { transform: translateX(-1200px); }
}

/* Google Reviews Section */
.google-reviews-section {
    background: linear-gradient(180deg, 
        #f8f9fa 0%, 
        #ffffff 30%, 
        #f0f4ff 70%, 
        #e8f0fe 100%);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

/* Google Background Pattern */
.google-reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(66, 133, 244, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(234, 67, 53, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(251, 188, 5, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* Floating Google Icons */
.google-reviews-section::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

/* Section Header - Google Styled */
.google-reviews-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 1;
}

.google-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 
        0 10px 35px rgba(66, 133, 244, 0.2),
        0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    border: 2px solid rgba(66, 133, 244, 0.1);
}

.google-brand-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(45deg, 
        #4285f4 0%, 
        #34a853 25%, 
        #fbbc05 50%, 
        #ea4335 75%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.google-brand-text {
    font-weight: 800;
    font-size: 1.1rem;
    background: linear-gradient(90deg, #4285f4, #ea4335);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.google-reviews-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 15px;
    letter-spacing: -1.5px;
}

.google-reviews-subtitle {
    font-size: 1.3rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 40px;
}

/* Rating Summary Card - Redesigned */
.google-rating-summary-card {
    background: white;
    border-radius: 32px;
    padding: 50px;
    max-width: 700px;
    margin: 0 auto 60px;
    box-shadow: 
        0 20px 60px rgba(66, 133, 244, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.08);
    border: 3px solid rgba(66, 133, 244, 0.1);
    position: relative;
    overflow: hidden;
}

.google-rating-summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #4285f4, #34a853, #fbbc05, #ea4335);
}

.rating-overview-enhanced {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: center;
}

/* Google Logo */
.google-logo-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, 
        #4285f4 0%, 
        #34a853 33%, 
        #fbbc05 66%, 
        #ea4335 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 35px rgba(66, 133, 244, 0.35);
    animation: pulse 3s ease-in-out infinite;
}

.google-logo-large .google-g-large {
    font-size: 56px;
    font-weight: 900;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Rating Display */
.rating-display-center {
    text-align: center;
}

.rating-score-huge {
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #4285f4 0%, #ea4335 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 15px;
    display: block;
}

.stars-large {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.stars-large i {
    color: #fbbc05;
    font-size: 2rem;
    filter: drop-shadow(0 3px 6px rgba(251, 188, 5, 0.4));
}

.total-reviews-text {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 600;
}

.total-reviews-text strong {
    color: #4285f4;
    font-weight: 900;
}

/* Google Reviews Badge */
.google-reviews-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.verified-badge {
    background: linear-gradient(135deg, #34a853 0%, #0d9488 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 6px 20px rgba(52, 168, 83, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

.verified-badge i {
    font-size: 1.2rem;
}

.powered-by-google {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 600;
}

/* Review Cards Container */
.google-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 35px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

/* Individual Review Card */
.google-review-card-enhanced {
    background: white;
    border-radius: 28px;
    padding: 35px;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.06),
        0 4px 12px rgba(66, 133, 244, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(66, 133, 244, 0.1);
    position: relative;
    overflow: visible;
}

.google-review-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #4285f4, #34a853, #fbbc05, #ea4335);
    border-radius: 28px 28px 0 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.google-review-card-enhanced:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 25px 60px rgba(66, 133, 244, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(66, 133, 244, 0.3);
}

.google-review-card-enhanced:hover::before {
    opacity: 1;
}

/* Review Header */
.review-header-enhanced {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(66, 133, 244, 0.1);
}

.reviewer-avatar-enhanced {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #4285f4, #34a853) border-box;
    box-shadow: 0 8px 20px rgba(66, 133, 244, 0.25);
    flex-shrink: 0;
}

.reviewer-avatar-enhanced.no-photo {
    background: linear-gradient(135deg, #4285f4, #34a853) padding-box,
                linear-gradient(135deg, #4285f4, #34a853) border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviewer-avatar-enhanced.no-photo::before {
    content: '\F4DA';
    font-family: 'bootstrap-icons';
    font-size: 40px;
    color: white;
}

.reviewer-info-enhanced {
    flex: 1;
}

.reviewer-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.review-stars-enhanced {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.review-stars-enhanced i {
    color: #fbbc05;
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 4px rgba(251, 188, 5, 0.3));
}

.review-date-enhanced {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Review Text */
.review-text-enhanced {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    padding-left: 20px;
    border-left: 4px solid rgba(66, 133, 244, 0.3);
    font-weight: 500;
}

.review-text-enhanced::before {
    content: '"';
    position: absolute;
    left: -5px;
    top: -10px;
    font-size: 3rem;
    color: rgba(66, 133, 244, 0.15);
    font-family: Georgia, serif;
}

/* Google Badge Footer */
.google-badge-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 2px solid rgba(66, 133, 244, 0.1);
}

.posted-on-google {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 700;
}

.google-icon-small {
    width: 28px;
    height: 28px;
    background: linear-gradient(45deg, #4285f4, #34a853, #fbbc05, #ea4335);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-icon-small .google-g-small {
    color: white;
    font-size: 16px;
    font-weight: 900;
}

.verified-review-badge {
    background: linear-gradient(135deg, #34a853 0%, #0d9488 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(52, 168, 83, 0.3);
}

/* Call to Action Section */
.google-cta-section {
    margin-top: 80px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 40px;
    border-radius: 32px;
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.google-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    font-weight: 600;
}

.google-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: white;
    color: #1e293b;
    padding: 20px 45px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transition: all 0.4s ease;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.google-cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    color: #1e293b;
}

.google-icon-cta {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #4285f4, #34a853, #fbbc05, #ea4335);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
}

.google-icon-cta .google-g-cta {
    color: white;
    font-size: 24px;
    font-weight: 900;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .google-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-divider-wave {
        height: 80px;
    }
    
    .google-reviews-section {
        padding: 60px 0 80px;
    }
    
    .google-reviews-title {
        font-size: 2.5rem;
    }
    
    .rating-overview-enhanced {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .google-rating-summary-card {
        padding: 35px 25px;
    }
    
    .rating-score-huge {
        font-size: 4rem;
    }
    
    .google-reviews-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .google-cta-section {
        padding: 40px 25px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .google-reviews-title {
        font-size: 2rem;
    }
    
    .rating-score-huge {
        font-size: 3.5rem;
    }
    
    .stars-large i {
        font-size: 1.5rem;
    }
    
    .google-logo-large {
        width: 80px;
        height: 80px;
    }
    
    .google-logo-large .google-g-large {
        font-size: 44px;
    }
    
    .google-review-card-enhanced {
        padding: 25px;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .google-cta-button {
        padding: 16px 35px;
        font-size: 1.1rem;
    }
}
