/* ============================================
   TESTIMONIAL PAGE STYLES
   ============================================ */

/* Hero Section */
.testimonial-hero {
    position: relative;
    padding: 8rem 0 var(--space-12);
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-secondary-dark) 100%);
    overflow: hidden;
    text-align: center;
}

.testimonial-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
}

.testimonial-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-hero h1 {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.8s ease-out;
}

.testimonial-hero p {
    font-size: var(--text-xl);
    color: var(--color-gray-light);
    margin-bottom: var(--space-8);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Testimonial Grid Section */
.testimonials-page-section {
    background: var(--color-primary-dark);
    padding-top: var(--space-12);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-8);
}

/* Reusing and extending .testimonial-card from style.css */
/* We need to override the display:none from the slider implementation in style.css if we use the same class */
/* Or better, we define a specific class for the grid items to avoid conflict */

.testimonial-card-grid {
    background: rgba(44, 62, 80, 0.5);
    backdrop-filter: blur(10px);
    padding: var(--space-8);
    border-radius: var(--border-radius-xl);
    border-left: 4px solid var(--color-accent-green);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card-grid:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-green);
    background: rgba(44, 62, 80, 0.7);
}

.testimonial-card-grid .testimonial-text {
    font-size: var(--text-base);
    /* Slightly smaller than slider */
    margin-bottom: var(--space-6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial-hero h1 {
        font-size: var(--text-4xl);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}