/* Hero - section */

.testimonial-hero {
    width: 100%;
    height: 300px;
    margin: 0 auto;
    display: flex;
    background: linear-gradient(to right,
    rgba(0,0,0,0.4), 
    rgba(0,0,0,0.4)), url('../assets/what_people_are_saying.jpg') no-repeat  center center/ cover;
    filter: brightness(1.3);
}
.hero-section {
    /* margin: 0 auto; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-section h1 {
    color: var(--white-color);
    
}

/* Testimonial cards */

.testimonies {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial {
    display: grid;
    align-items: center;
    gap: 1rem;
    height: fit-content;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: var(--white-color);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

.testimonial .img-wrapper {
    width: 100%;
    background-color: var(--primary-color);
    padding: 1.5rem;
    display: grid;
    place-items: center;
}

.testimonial img {
    width: 150px;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(256,256,256,0.2);
}

.testimonial-writeup {
    padding: 1rem;
}

.student-details {
    width: 100%;
    color: var(--white-color);
    margin-top: 1rem;
}

.student-details h5{
    color: var(--secondary-color);
}

.student-details p{
    color: var(--primary-color);
    font-size: 0.75rem;
}

.testimonies p.testimonial-text{
    text-align: justify;
}

/* xs */
/* @media (min-width: 475px) {

} */

/* sm */
/* @media (min-width: 640px) {

} */

/* md */
@media (min-width: 768px) {

    .testimonial-hero {
        height: 80vh;
    }
        
    .testimonial {
        grid-template-columns: 1fr 2fr;
    }

    .testimonial .img-wrapper {
        align-self: stretch;
    }    
}

/* lg */
@media (min-width: 1024px) {

    /* Hero - section */

    .testimonial-hero {
        height: 80vh;
    }

    .testimonial {
        grid-template-columns: 1fr 3fr;
    }
}

/* xl */
@media (min-width: 1280px) {
    /* Testimonial cards */

    .testimonial {
        grid-template-columns: 1fr 3.5fr;
    }
}

/* 2xl */
/* @media (min-width: 1536px) {

} */
