#intro {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#intro div {
    box-sizing: border-box;
    max-width: 27rem;
    background-color: #d69ce7;
    padding: 2.5rem;
    margin-right: -1.25rem;
    z-index: 2;
}

#intro p {
    margin: 0;
}

#intro img {
    width: 27rem;
    margin-left: -1.25rem;
    z-index: 1;
}

#why {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #d69ce7;
}

#why h2 {
    color: black;
    font-size: 30px;
    font-weight: 500;
    margin: 2.5rem 0;
}

#why p {
    max-width: 45rem;
    margin: 2.5rem;
    margin-top: 0;
}


#testimonials {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#testimonials .flex {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    max-width: 1200px; /* Set a max width */
    width: 100%; /* Ensure it can shrink to fit smaller screens */
    margin: 0 auto; /* Center the container */
    margin-bottom: 1.5rem;
}

.testimonial {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 1.5rem;
}

.testimonial img {
    width: 50px;
}

.testimonial h3 {
    text-align: center;
    font-size: 24px;
}

.testimonial p {
    max-width: 17rem;
    min-width: 15rem;
    line-height: normal;
    text-align: center;
    font-size: 16px;
    margin: 0;
}


#info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #d69ce7;
    padding: 2rem;
}

#info img {
    border: none;
    border-radius: 1rem;
    margin-right: 1rem;
}

#info div {
    background-color: white;
    border: none;
    border-radius: 1rem;
    max-width: 640px;
    padding: 1rem 2rem;
    margin-left: 1rem;
}

#info h2 span {
    color: #a132cd;
}

.lead {
    font-weight: 600;
    margin-top: 0.5rem;
}

.bullet {
    color: rgb(68, 68, 68);
}

@media (max-width: 1450px) {
    #info img {
        display: none;
    }

    #info div {
        margin-left: 0;
    }
}

@media (max-width: 900px) {

    #intro img {
        display: none;
    }

    #intro div {
        margin-right: 1rem;
        margin-left: 1rem;
    }

    #testimonials .flex {
        flex-direction: column;
    }

    .testimonial p {
        max-width: 22rem;
        min-width: 22rem;
    }

    .testimonial:nth-of-type(2) {
        margin: 2rem 0;
    }
}

@media (max-width: 800px) {
    #info ul {
        padding-left: 20px;
    }
}

@media (max-width: 650px) {
    #intro div {
        padding: 2rem;
    }
    
}

@media (max-width: 500px) {
    #intro div {
        padding: 1.75rem;
    }

    #why h2 {
        font-size: 27px;
    }

    .testimonial p {
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    #intro div {
        padding: 1.5rem;
    }

    .testimonial p {
        font-size: 12px;
    }

    #info div {
        padding: 0.5rem 1rem;
    }

    #info h2 span {
        display: block;
    }

    #info ul {
        padding-left: 10px;
    }
}