/* Modern Testimonial Styles */
.modern-testimonial-section {
    background: linear-gradient(135deg, #1e90ff 0%, #4169e1 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.modern-testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.05);
    background-size: cover;
}

.modern-testimonial-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Header Styles */
.modern-testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 30px;
}

.header-content {
    flex: 1;
    min-width: 300px;
}

.header-content .badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.header-content .title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-content .subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-icon {
    color: #FFD700;
    display: flex;
    align-items: center;
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.trust-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Countries Showcase */
.countries-showcase {
    margin-bottom: 25px;
}

.countries-title {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    font-weight: 500;
}

.flags-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.flag-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.flag-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.flag-icon {
    font-size: 1rem;
}

.testimonial-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-page-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.header-stats {
    display: flex;
    gap: 40px;
    margin-top: 20px;
    background: transparent !important;
}

.stat-item {
    text-align: center;
    background: transparent !important;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    background: transparent !important;
}

.stat-stars {
    font-size: 1.2rem;
    color: #FFD700;
    margin: 8px 0;
    letter-spacing: 2px;
    background: transparent !important;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    background: transparent !important;
}

/* Slider Styles */
.modern-testimonial-slider {
    position: relative;
    margin: 60px 0;
}

.slider-container {
    overflow: hidden;
    border-radius: 24px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 30px;
}

/* Testimonial Card Styles */
.testimonial-card {
    min-width: calc(33.333% - 20px);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.modern-card-1 { background: linear-gradient(135deg, #fff 0%, #f8faff 100%); }
.modern-card-2 { background: linear-gradient(135deg, #fff 0%, #f0f7ff 100%); }
.modern-card-3 { background: linear-gradient(135deg, #fff 0%, #f5f0ff 100%); }
.modern-card-4 { background: linear-gradient(135deg, #fff 0%, #fff0f5 100%); }
.modern-card-5 { background: linear-gradient(135deg, #fff 0%, #f0fff0 100%); }

.card-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
}

.customer-avatar {
    position: relative;
    margin-right: 15px;
}

.avatar-initial {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e90ff 0%, #4169e1 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 3px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #10B981;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.customer-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 4px;
}

.customer-info p {
    font-size: 0.9rem;
    color: #6B7280;
}

.quote-icon {
    margin-left: auto;
    color: #1e90ff;
    opacity: 0.7;
}

.card-content {
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #4B5563;
    font-style: italic;
    margin-bottom: 15px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #FFD700;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.rating-text {
    font-size: 0.9rem;
    color: #6B7280;
    font-weight: 600;
}

/* Testimonial Proof */
.testimonial-proof {
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: white;
}

.proof-label {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    color: #495057;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
}

.proof-image-container {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.proof-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.proof-image-container:hover .proof-image {
    transform: scale(1.05);
}

.proof-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 144, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.proof-image-container:hover .proof-overlay {
    opacity: 1;
}

.proof-zoom-btn {
    background: white;
    color: #1e90ff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.proof-zoom-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.proof-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.proof-modal.active {
    display: flex;
}

.proof-modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.proof-modal-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.proof-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.product-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(30, 144, 255, 0.1);
    color: #1e90ff;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.date {
    font-size: 0.8rem;
    color: #9CA3AF;
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    border-radius: 20px;
    pointer-events: none;
    z-index: -1;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1) 0%, rgba(65, 105, 225, 0.1) 100%);
    animation: float 6s ease-in-out infinite;
}

.floating-element.el-1 {
    width: 80px;
    height: 80px;
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.floating-element.el-2 {
    width: 40px;
    height: 40px;
    bottom: 30px;
    left: -10px;
    animation-delay: 2s;
}

.floating-element.el-3 {
    width: 60px;
    height: 60px;
    bottom: -20px;
    right: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.nav-dots {
    display: flex;
    gap: 8px;
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: white;
    transform: scale(1.2);
}

.testimonial-cta {
    margin-top: 80px;
    text-align: center;
}

.cta-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-button {
    background: white;
    color: #1e90ff;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-spacing-custom {
    height: 40px;
    background: transparent;
}

.header-stats * {
    background: transparent !important;
}

.stat-item,
.stat-number,
.stat-stars,
.stat-label {
    background: transparent !important;
}

@media (max-width: 1024px) {
    .testimonial-card { min-width: calc(50% - 15px); }
    .header-content .title { font-size: 2.5rem; }
    .header-stats { gap: 30px; }
    .proof-image { height: 180px; }
    .trust-indicators { gap: 15px; }
    .flags-container { gap: 10px; }
}

@media (max-width: 768px) {
    .modern-testimonial-section { padding: 60px 0; }
    .modern-testimonial-header { flex-direction: column; align-items: center; text-align: center; gap: 40px; }
    .header-content .title { font-size: 2rem; }
    .testimonial-card { min-width: calc(100% - 20px); }
    .header-stats { gap: 40px; }
    .stat-number { font-size: 2rem; }
    .cta-content { padding: 40px 30px; }
    .cta-content h3 { font-size: 1.5rem; }
    .proof-image { height: 160px; }
    .trust-indicators { justify-content: center; }
    .flags-container { justify-content: center; }
}

@media (max-width: 480px) {
    .modern-testimonial-container { padding: 0 15px; }
    .header-content .title { font-size: 1.75rem; }
    .header-stats { flex-direction: column; gap: 20px; }
    .testimonial-card { padding: 20px; }
    .card-header { flex-direction: column; align-items: flex-start; gap: 15px; }
    .quote-icon { position: absolute; top: 20px; right: 20px; }
    .cta-content { padding: 30px 20px; }
    .cta-content h3 { font-size: 1.3rem; }
    .cta-button { width: 100%; justify-content: center; }
    .proof-image { height: 140px; }
    .trust-item { flex: 1; min-width: 120px; justify-content: center; }
    .flag-item { flex: 1; min-width: 100px; justify-content: center; }
}