.testimonials-page {
    background: #f7f5f1;
}

.testimonials-section {
    padding: 6rem 0 4rem;
}

.testimonials-section .aiheading {
    color: #a12c2f;
    margin-bottom: 0.75rem;
}

.testimonials-section .intro-copy {
    font-size: 1rem;
    max-width: 700px;
    margin: 1.5rem auto 0;
    color: #4b4b4b;
    line-height: 1.75;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 26px 45px rgba(16, 28, 50, 0.08);
    border: 1px solid rgba(161, 44, 47, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 60px rgba(16, 28, 50, 0.14);
}

.testimonial-card .rating {
    margin-bottom: 1rem;
    color: #f1c40f;
    font-size: 1rem;
}

.testimonial-card .quote-text {
    position: relative;
    font-style: italic;
    color: #454545;
    margin-bottom: 1.75rem;
    line-height: 1.75;
    flex-grow: 1;
}

.testimonial-card .quote-text::before {
    content: "\f10d";
    font-family: "FontAwesome";
    position: absolute;
    top: -0.5rem;
    left: -0.2rem;
    font-size: 2rem;
    color: rgba(161, 44, 47, 0.14);
}

.testimonial-card .student-info {
    border-top: 1px solid rgba(224, 224, 224, 0.9);
    padding-top: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.student-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(161, 44, 47, 0.18);
    background: #a12c2f;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

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

.testimonial-meta {
    color: #5f6266;
    line-height: 1.45;
}

.testimonial-meta strong {
    color: #252525;
}

.testimonial-meta .admission-detail {
    color: #a12c2f;
    margin-top: 0.35rem;
    font-size: 0.95rem;
}

.trust-indicators {
    background: #a12c2f;
    color: #fff;
    padding: 5rem 0;
}

.trust-indicators h2 {
    margin-bottom: 1.5rem;
    color: #fff;
}

.indicator-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1.25rem;
    padding: 1.75rem;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.25s ease;
}

.indicator-card:hover {
    transform: translateY(-4px);
}

.indicator-card h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
}

.indicator-card p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
}

.cta-section {
    padding: 4.5rem 0 3.5rem;
}

.cta-section .title-large {
    font-size: 2rem;
    font-weight: 700;
    color: #242424;
}

.cta-section .copy {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #4b4b4b;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    background: #a12c2f;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cta-button:hover {
    background: #821f24;
    transform: translateY(-2px);
}

@media (max-width: 991.98px) {
    .testimonials-section {
        padding-top: 4.5rem;
        padding-bottom: 3rem;
    }

    .testimonial-card {
        padding: 1.75rem;
    }

    .indicator-card {
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-card .quote-text::before {
        font-size: 1.75rem;
    }

    .indicator-card {
        padding: 1.5rem;
    }

    .cta-section {
        padding: 3rem 0 2rem;
    }
}
