/* =========================================
   TESTIMONIALS PAGE STYLES (Modern & Simple)
   ========================================= */

/* --- 1. HERO SECTION --- */
.hero-centered {
    background-color: var(--deep-blue);
    color: var(--white);
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    min-height: 300px;
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero-centered h1 {
    color: var(--white);
    font-family: var(--font-serif);
    margin-bottom: 10px;
    font-weight: 400;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(62, 92, 154, 0.15) 0%, rgba(42, 64, 104, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-content-wrapper-center { z-index: 2; position: relative; }

/* --- 2. INTRO SECTION --- */
.page-intro {
    max-width: 700px;
    margin: -40px auto 60px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    text-align: center;
    position: relative;
    z-index: 10;
}

.page-intro p {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    color: var(--text-grey);
    line-height: 1.8;
    margin: 0;
}

/* --- 3. TESTIMONIALS GRID --- */
.testimonials-grid {
    display: grid;
    /* Auto-fit columns for responsive masonry-like feel */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.testimonial-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 25px 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: transparent;
}

/* Subtle Quote Icon Background */
.quote-icon-bg {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    color: rgba(62, 92, 154, 0.05); /* Very faint blue */
    font-family: var(--font-serif);
    line-height: 1;
    pointer-events: none;
}

.card-text {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #f9f9f9;
}

.student-avatar {
    width: 42px;
    height: 42px;
    /* Soft Pastel Backgrounds */
    background-color: #E3F2FD; 
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin-right: 15px;
    font-family: var(--font-sans);
}

.student-info h5 {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 2px;
}

.student-info span {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* --- 4. CALL TO ACTION --- */
.share-story-section {
    background-color: #F8F9FB; /* Very light grey/blue */
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.share-story-section h2 {
    font-family: var(--font-serif);
    color: var(--deep-blue);
    margin-bottom: 15px;
}

.btn-outline-primary {
    display: inline-block;
    padding: 14px 40px;
    border: 2px solid var(--deep-blue);
    color: var(--deep-blue);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-top: 25px;
    transition: all 0.3s;
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--deep-blue);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 64, 104, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .page-intro {
        margin-top: 20px;
        padding: 30px 20px;
    }
    
    .hero-centered {
        min-height: 250px;
    }
}