/* Testimonials Styles - Coral Theme */
.section-testimonials {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    /* Coral Mesh Background */
    background: radial-gradient(circle at 10% 20%, rgba(232, 90, 79, 0.05), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(232, 90, 79, 0.05), transparent 40%);
}

.testimonial-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.testimonial-wrapper {
    overflow: hidden;
    margin-bottom: 30px;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-card {
    min-width: 100%;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0.4;
    transform: scale(0.9);
    transition: all 0.6s ease;
    filter: blur(2px);
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

.t-card-inner {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Quote Icon */
.t-quote-icon {
    font-size: 40px;
    color: #e85a4f;
    /* Coral */
    margin-bottom: 20px;
    opacity: 0.5;
}

.t-text {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 30px;
    margin-top: 10px;
}

.t-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.t-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.t-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t-info {
    text-align: left;
}

.t-name {
    display: block;
    font-weight: 700;
    color: #fff;
    font-size: 16px;
    margin-bottom: 4px;
}

.t-role {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.t-service {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    color: var(--accent-color, #a29bfe);
    margin-top: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Controls */
.t-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.t-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.t-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.t-indicators {
    display: flex;
    gap: 8px;
}

.t-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    /* Init as circle */
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.t-dot.active {
    width: 24px;
    background: #667eea;
}

/* Stats Row */
.t-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    flex-wrap: wrap;
}

.t-stat-item {
    text-align: center;
}

.t-stat-num {
    display: block;
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(to bottom, #fff, #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.t-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .t-text {
        font-size: 15px;
    }

    .t-card-inner {
        padding: 30px 20px;
    }

    .t-stats {
        gap: 30px;
    }

    /* Profile stacked vertically: photo on top, name below */
    .t-author {
        flex-direction: column;
        gap: 10px;
    }

    .t-info {
        text-align: center;
    }

    .t-avatar {
        width: 70px;
        height: 70px;
    }
}