/* Influencer Testimonials Styling */
.testimonial-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    border-top: 3px solid #fd747a;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(253, 116, 122, 0.15);
    border-top-color: #eb366c;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fd747a, #eb366c);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-avatar img {
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar img {
    transform: scale(1.05);
}

.testimonial-info .title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

.testimonial-info .text {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 10px;
}

.testimonial-meta .badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
}

.badge.bg-thm2 {
    background: linear-gradient(#fd747a,#eb366c) !important;
    color: white;
    border: none;
}

.badge.bg-light {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef) !important;
    color: #495057 !important;
    border: 1px solid #dee2e6;
}

.quote-icon {
    text-align: center;
}

.quote-icon i {
    color: #fd747a;
    opacity: 0.8;
    font-size: 28px;
}

.testimonial-content .text {
    color: #495057;
    font-size: 14px;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-footer {
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
    margin-top: 15px;
}

.platform-info, .location-info {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #6c757d;
}

.platform-info i {
    font-size: 16px;
}

.location-info i {
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial-card {
        margin-bottom: 20px;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-avatar {
        margin-bottom: 15px;
    }
    
    .testimonial-footer {
        flex-direction: column;
        gap: 10px;
    }
}

/* Animation for cards */
.testimonial-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for multiple cards */
.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(5) { animation-delay: 0.5s; }
.testimonial-card:nth-child(6) { animation-delay: 0.6s; }

/* Section background enhancement */
.testimonials-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* Button styling */
.ud-btn.btn-thm2 {
    background: linear-gradient(#fd747a,#eb366c);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.ud-btn.btn-thm2:hover {
    background: linear-gradient(#eb366c,#d42a5a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 116, 122, 0.3);
    color: white;
    text-decoration: none;
}

/* Main title styling */
.main-title .title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.main-title .paragraph {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Testimonial Slider Styling */
.testimonial-slider {
    position: relative;
}

.testimonial-slider .item {
    padding: 0 15px;
}

.testimonial-slider .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
}

.testimonial-slider .owl-prev,
.testimonial-slider .owl-next {
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(#fd747a,#eb366c) !important;
    border-radius: 50% !important;
    color: white !important;
    font-size: 20px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 4px 15px rgba(253, 116, 122, 0.3);
}

.testimonial-slider .owl-prev:hover,
.testimonial-slider .owl-next:hover {
    background: linear-gradient(#eb366c,#d42a5a) !important;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(253, 116, 122, 0.4);
}

.testimonial-slider .owl-prev {
    left: -25px;
}

.testimonial-slider .owl-next {
    right: -25px;
}

.testimonial-slider .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.testimonial-slider .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dee2e6 !important;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.testimonial-slider .owl-dot.active {
    background: #fd747a !important;
    transform: scale(1.2);
}

/* Responsive adjustments for slider */
@media (max-width: 768px) {
    .testimonial-slider .owl-prev,
    .testimonial-slider .owl-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .testimonial-slider .owl-prev {
        left: -20px;
    }
    
    .testimonial-slider .owl-next {
        right: -20px;
    }
}
