/* testimonials.css - Dark Theme (Updated) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.section-title {
    font-size: 1.925rem;  /* Reduced from 2.75rem */
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Testimonials Section */
.ts-section {
    padding: 6rem 0;
    background: #000000;
    position: relative;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Testimonials Grid */
.ts-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Testimonial Cards */
.ts-card {
    background: #1a1a1a;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid #2d2d2d;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #ffffff;
}

.ts-card:hover {
    transform: translateY(-5px);
    border-color: #2563eb;
    box-shadow: 0 10px 15px rgba(37,99,235,0.1);
}

/* Rating Styles */
.ts-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ts-stars {
    color: #f59e0b;
    font-size: 1.25rem;
}

.ts-rating-score {
    background: rgba(245,158,11,0.15);
    color: #f59e0b;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: 600;
}

/* Testimonial Content */
.ts-quote p {
    font-size: 1rem;
    line-height: 1.75;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
}

.ts-quote p::before {
    content: "“";
    position: absolute;
    left: 0;
    top: -1rem;
    font-size: 3.5rem;
    color: rgba(37,99,235,0.5);
    font-family: serif;
}

/* Author Section - Critical Fixes */
.ts-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #2d2d2d;
}

.ts-author-img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
    border: 2px solid #2563eb;
    object-fit: cover;
    display: block;
    background: #2d2d2d;
    overflow: hidden;
}

.ts-author-img[src=""] {
    visibility: hidden;
}

.ts-author-name {
    font-size: 1.125rem;
    color: #ffffff;
    font-weight: 600;
}

.ts-author-title {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Stats Grid */
.ts-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.ts-stat-item {
    background: #1a1a1a;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid #2d2d2d;
}

.ts-stat-number {
    font-size: 2.25rem;
    color: #2563eb;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ts-stat-label {
    color: #94a3b8;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ts-section {
        padding: 4rem 0;
    }
}

@media (max-width: 992px) {
    .section-title {
        font-size: 1.75rem;  /* Reduced from 2.5rem */
    }

    .ts-stats-grid,
    .ts-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .ts-quote p {
        padding-left: 1.5rem;
    }
}