/* Customer Feedback Section - Optimized & Eye-Catching Styles */
.customer-feedback-section {
    padding: 80px 0 !important;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%) !important;
    position: relative;
    overflow: hidden;
    clear: both;
}

/* Subtle background pattern - CSS only, no images */
.customer-feedback-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.customer-feedback-section .container {
    position: relative;
    z-index: 1;
}

.customer-feedback-section .feedback-header {
    text-align: center;
    margin-bottom: 50px;
}

.customer-feedback-section .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
}

.customer-feedback-section h2 {
    font-size: clamp(2rem, 4vw, 2.8rem) !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 10px 0 15px 0 !important;
    line-height: 1.2;
}

.customer-feedback-section .subtitle {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: block;
}

.customer-feedback-section .subtitle-en {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 0;
    display: block;
}

/* Feedback Grid */
.customer-feedback-section .feedback-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 24px !important;
    margin-top: 40px !important;
    width: 100%;
}

/* Feedback Card - Enhanced & Optimized */
.customer-feedback-section .feedback-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%) !important;
    border-radius: 24px !important;
    padding: 28px !important;
    box-shadow: 
        0 4px 6px rgba(15, 23, 42, 0.05),
        0 10px 20px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(226, 232, 240, 0.5) !important;
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.6);
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    will-change: transform, box-shadow;
    transform: translateZ(0); /* GPU acceleration */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.customer-feedback-section .feedback-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 8px 12px rgba(15, 23, 42, 0.08),
        0 20px 40px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(102, 126, 234, 0.2) !important;
}

/* Decorative Quote Icon - CSS only */
.customer-feedback-section .quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    color: rgba(102, 126, 234, 0.08);
    z-index: 0;
    pointer-events: none;
    transform: rotate(15deg);
    transition: transform 0.4s ease;
}

.customer-feedback-section .feedback-card:hover .quote-icon {
    transform: rotate(20deg) scale(1.1);
    color: rgba(102, 126, 234, 0.12);
}

/* Feedback Top */
.customer-feedback-section .feedback-top {
    display: flex !important;
    gap: 15px !important;
    align-items: flex-start !important;
    flex-wrap: wrap;
}

.customer-feedback-section .feedback-avatar {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    position: relative;
    z-index: 1;
}

.customer-feedback-section .feedback-avatar img {
    width: 64px !important;
    height: 64px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 3px solid #ffffff !important;
    display: block;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f1f5f9;
}

.customer-feedback-section .feedback-card:hover .feedback-avatar img {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
}

/* Animated ring around avatar */
.customer-feedback-section .avatar-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid rgba(102, 126, 234, 0.2);
    animation: pulseRing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    pointer-events: none;
}

@keyframes pulseRing {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

.customer-feedback-section .customer-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.customer-feedback-section .feedback-top h4 {
    margin: 0 0 4px 0 !important;
    color: #0f172a !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    line-height: 1.3;
}

.customer-feedback-section .feedback-top .en-name {
    margin: 0 0 4px 0 !important;
    color: #94a3b8 !important;
    font-size: 0.95rem !important;
    line-height: 1.4;
}

.customer-feedback-section .feedback-top .position {
    margin: 0 !important;
    color: #475569 !important;
    font-size: 0.9rem !important;
    line-height: 1.4;
}

/* Service Badge - Enhanced */
.customer-feedback-section .service-badge {
    margin-left: auto !important;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%) !important;
    color: #4338ca !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(67, 56, 202, 0.15);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.customer-feedback-section .feedback-card:hover .service-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(67, 56, 202, 0.25);
}

.customer-feedback-section .service-badge i {
    font-size: 0.9rem;
}

/* Rating Row */
.customer-feedback-section .feedback-rating-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
}

.customer-feedback-section .feedback-rating-row .rating-text {
    color: #475569 !important;
    font-weight: 600 !important;
    font-size: 0.95rem;
}

/* Feedback Body - Enhanced */
.customer-feedback-section .feedback-body {
    flex: 1 !important;
    min-height: 0;
    position: relative;
    z-index: 1;
}

.customer-feedback-section .feedback-text-th {
    font-size: 1.08rem !important;
    line-height: 1.75 !important;
    color: #0f172a !important;
    margin: 0 0 12px 0 !important;
    font-weight: 500;
    position: relative;
    padding-left: 8px;
}

.customer-feedback-section .feedback-text-th::before {
    content: '"';
    position: absolute;
    left: -8px;
    top: -4px;
    font-size: 2.5rem;
    color: rgba(102, 126, 234, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.customer-feedback-section .feedback-text-en {
    font-size: 0.95rem !important;
    color: #64748b !important;
    font-style: italic !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Feedback Meta - Enhanced */
.customer-feedback-section .feedback-meta {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 0.9rem !important;
    color: #94a3b8 !important;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    z-index: 1;
}

.customer-feedback-section .feedback-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.customer-feedback-section .feedback-meta span i {
    margin-right: 0 !important;
    color: #cbd5e1 !important;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .customer-feedback-section .feedback-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 20px !important;
    }
}

@media (max-width: 768px) {
    .customer-feedback-section {
        padding: 60px 0 !important;
    }
    
    .customer-feedback-section .feedback-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .customer-feedback-section .feedback-card {
        padding: 20px !important;
    }
}

@media (max-width: 600px) {
    .customer-feedback-section .feedback-top {
        flex-direction: row !important;
        align-items: flex-start !important;
    }
    
    .customer-feedback-section .service-badge {
        margin-left: 0 !important;
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }
    
    .customer-feedback-section .feedback-meta {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
    
    .customer-feedback-section .feedback-header {
        margin-bottom: 30px;
    }
    
    .customer-feedback-section h2 {
        font-size: 1.75rem !important;
    }
    
    .customer-feedback-section .quote-icon {
        top: 15px;
        right: 15px;
        width: 30px;
        height: 30px;
    }
    
    .customer-feedback-section .quote-icon svg {
        width: 30px;
        height: 30px;
    }
}

/* Performance optimizations */
.customer-feedback-section .feedback-card,
.customer-feedback-section .feedback-avatar img,
.customer-feedback-section .service-badge {
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .customer-feedback-section .feedback-card {
        animation: none;
        transition: none;
    }
    
    .customer-feedback-section .avatar-ring {
        animation: none;
    }
    
    .customer-feedback-section .feedback-card:hover {
        transform: none;
    }
}


