/* =============================================================
   ITM Testimonials Page — Custom Styles
   page-testimonials.css
   ============================================================= */

/* ── Hero Banner Overrides (if needed) ── */
.page-banner {
    /* Base styles are already in page-inner.css */
    margin-bottom: 0;
}

/* ── Testimonials Grid ── */
.testimonials-grid-section {
    padding-bottom: 120px;
}

.testi-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

/* ── Testimonial Card Adjustments ── */
/* Most styles are inherited from .testi-card in page-inner.css or homepage, 
   but we ensure they look great as a grid here. */

.testi-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f5;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
}

.testi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(44, 62, 139, 0.1);
}

.testi-card__quote-icon {
    width: 44px;
    height: 44px;
    background: #f0f4ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.testi-card__quote-icon svg {
    width: 22px;
    height: 22px;
    fill: #2C3E8B;
}

.testi-card__stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testi-card__stars svg {
    width: 16px;
    height: 16px;
    fill: #ffb800;
}

.testi-card__text {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
    flex: 1;
}

.testi-card__author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}

.testi-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #e5e7eb;
}

.testi-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testi-card__author-info {
    flex: 1;
}

.testi-card__author-name {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 2px;
}

.testi-card__author-role {
    font-size: 0.82rem;
    color: #0CAF49;
    font-weight: 600;
}

/* ── Responsive Grid ── */
@media (max-width: 1024px) {
    .testi-detail-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .testimonials-grid-section {
        padding: 60px 0 80px;
    }
    
    .testi-detail-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testi-card {
        padding: 24px;
    }
}
