/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 1 version
*/

.testimonials--homepage {
    position: relative;
    background: #DDE8F8;
    padding: 0 0 0;
    z-index: 1;
}

.testimonial__item {
    background: #FFFFFF;
    border-radius: 7px;
    padding: 23px 20px;
    color: #28303C;
    margin-top: 18px;
}

.testimonial__item p {
    font-size: 15px;
    line-height: 1.53em;
}

.stars {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    color: #05B5C8;
    margin-top: 10px;
    margin-bottom: 10px;
}

.author {
    font-size: 18px;
    color: #28303C;
    font-weight: 700;
    line-height: 1.5em;
    padding: 5px 0 0;
    display: block;
}

.testimonial-founder {
    width: calc(100% + 44px);
    margin-left: -22px;
    margin-top: 40px;
    background: #BFD3F1;
    padding: 26px 22px 25px;
    position: relative;
    overflow: hidden;
}

.testimonial-founder h3 {
    font-size: 24px;
    color: #28303C;
    font-weight: 700;
    line-height: 1.5em;
    padding: 0 0 10px;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-founder p {
    color: #28303C;
    font-style: italic;
}

.testimonial-founder h3::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 79px;
    height: 2px;
    background: #05B5C8; 
}

.founder-image {
    position: absolute;
    right: -29px;
    bottom: -15px;
    max-width: 210px;
    height: auto;
}

.testimonial-wave {
    position: absolute;
    left: 0;
    bottom: -46px;
    width: 100%;
}

.founder-info{
    position: absolute;
    right: 0;
    bottom: 0;
    display: block;
    width: 320px;
    height: 316px;
}

.founder-info-details{
    position: absolute;
    z-index: 1;
    display: block;
    left: 64%;   
    top: 71%;
    -webkit-transform: translate(-50%, 50%);
            transform: translate(-50%, 50%);
}

.founder-info-details h4{
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    width: 110px;
    position: relative;
    z-index: 1;
    padding-bottom: 2px;
    text-align: center;
}

.founder-info-details p{
    font-size: 12px;
    font-weight: regular;
    color: #fff;
    width: 110px;
    position: relative;
    text-transform: uppercase;
    text-align: center;
    font-style: normal;
}

.testimonial-founder p br.break {
    display: inline-block;
}

.testimonial-founder p br {
    display: none;
}

.testimonial-founder p br.break2 {
    display: inline-block;
}

@media (min-width: 768px) {
    .testimonials--homepage {
        padding: 0 0 35px;
    }
    
    .testimonial__item {
        padding: 23px 30px;
        margin-top: 18px;
        height: calc(100% - 23px);
    }
    
    .testimonial__item p {
        font-size: 17px;
        line-height: 1.58em;
    }

    .testimonial-wave {
        bottom: -34px;
    }
    
    .testimonial-founder {
        width: 100%;
        margin-left: 0;
        margin-top: 34px;
        padding: 38px 265px 24px 36px;
        overflow: visible;
        border-radius: 7px 7px 20px 7px;
    }

    .founder-info-details{        
        left: 44%;   
        top: 60%;
        -webkit-transform: translate(-50%, 50%);
                transform: translate(-50%, 50%);
    }

    .founder-info-details h4{
        font-size: 16px;
        font-weight: bold;
        color: #fff;
        width: 135px;
       
    }
    
    .founder-info-details p{
        font-size: 16px;
        font-weight: regular;
        color: #fff;
        width: 135px;        
    }
    
    .testimonial-founder h3 {
        font-size: 30px;
    }

    .testimonial-founder p {
        line-height: 1.66em;
        overflow-wrap: break-word;
    }
    
    .testimonial-founder p br {
        display: none;
    }

    .testimonial-founder p br.break2 {
        display: none;
    }

    .testimonial-founder p br.break {
        display: none;
    }
    
    .founder-image {
        position: absolute;
        right: -15px;
        bottom: -15px;
        max-width: 287px;
        height: auto;
    }

    .testimonial__item .read-more__box {
        padding-bottom: 20px;
    }
}

@media (min-width: 1200px) {
    .testimonials--homepage {
        padding: 0 0 35px;
    }

    .testimonial-wave {
        bottom: -55px;
    }
    
    .testimonial__item {
        padding: 23px 36px;
        margin: 20px 0 12px;
        height: auto;
    }
    
    .testimonial__item p {
        font-size: 18px;
        line-height: 1.5em;
    }
    
    .testimonial-founder {
        width: 100%;
        margin-left: 0;
        margin-top: 34px;
        padding: 38px 58px 210px 36px;
    }

    .founder-info-details{        
        left: 44%;   
        top: 29%;
        -webkit-transform: translate(-50%, 50%);
                transform: translate(-50%, 50%);
    }

    .founder-info-details h4{
        font-size: 16px;   
        width: 152px;     
    }
    
    .founder-info-details p{
        font-size: 16px;    
        width: 152px;      
    }

    .founder-info{       
        width: 385px;
        height: 316px;
    }
    
    .testimonial-founder p {
        line-height: 1.5em;
        font-size: 20px;
        margin-bottom: 15px;
    }

    .founder-info-details p{
        font-size: 16px;
        font-style: normal;
    }
    
    .founder-image {
        position: absolute;
        right: -63px;
        bottom: 0px;
        max-width: 385px;
    }

    .testimonial-founder p br {
        display: none;
    }

    .testimonial-founder p br.break {
        display: none;
    }

    .testimonial__item .read-more__box {
        padding-bottom: 20px;
    }

    .testimonial-btn {
        padding-top: 20px;
    }

    .testimonial-founder p{
        margin-bottom: 120px;

    }
}


@media (min-width: 1300px) {


    .testimonial-founder p{
        margin-bottom: 15px;

    }

    .testimonial-founder p br {
        display: inline-block;
    }

    .testimonial-founder p br.break {
        display: none;
    }

    .founder-info-details{        
        left: 44%;   
        top: 48%;
        -webkit-transform: translate(-50%, 50%);
                transform: translate(-50%, 50%);
    }

    .founder-info-details h4{
        font-size: 16px;   
        width: 152px;     
    }
    
    .founder-info-details p{
        font-size: 16px;    
        width: 152px;      
    }
}


@media (min-width: 1600px) {
    .testimonial-wave {
        bottom: -75px;
    }

    .founder-info-details p{
        font-size: 16px;
        font-style: normal;
    }
}


@media (min-width: 1800px) {
    .testimonial-wave {
        bottom: -84px;
    }
}


/* patients-testimonials */

.patients-testimonials {
    background: linear-gradient(to bottom,  #dde8f8 0%,#ffffff 100%);
}

.patients-testimonials__col {
    background: #FFFFFF;
    border-radius: 7px;
    padding: 24px 10px 24px 26px;
    color: #28303C;
    margin-bottom: 28px;
}

.patients-testimonials__text {
    max-height: 247px;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #05B5C8 #DDE8F8;
    padding-right: 30px;
}

.patients-testimonials__text p {
    font-size: 18px;
    line-height: 1.5em;
}

.patients-testimonials__bottom {
    padding-left: 10px;
    padding-top: 22px;
}

.patients-testimonials__bottom ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.patients-testimonials__bottom ul li {
    margin: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1em;
    color: #05B5C8;
    font-weight: normal;
}

.patients-testimonials__bottom ul li::before {
    display: none;
}

.patients-testimonials__bottom span {
    margin: 0;
    padding: 10px 0 0;
    font-size: 18px;
    line-height: 1em;
    color: #28303C;
    font-weight: 700;
    display: block;
}

.patients-testimonials__top-heading {
    padding-bottom: 15px;
}

.patients-testimonials__top-heading h2 {
    letter-spacing: 0;
}

@media (min-width: 768px) {

    .patients-testimonials__col {
        margin-bottom: 0;
        height: 100%;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    .patients-testimonials__top-btn {
        padding-top: 30px;
    }

}

@media (min-width: 1200px) {

    .patients-testimonials__col {
        padding: 24px 22px 24px 36px;
    }
    
    .patients-testimonials__text {
        max-height: 164px;
        padding-right: 15px;
    }
    
    .patients-testimonials__bottom {
        padding-left: 0;
        padding-top: 22px;
    }
    
    
    .patients-testimonials__top-content {
        padding-bottom: 20px;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: flex-end;
    }

    .patients-testimonials__top-heading {
        padding-bottom: 0;
    }
    
    .patients-testimonials__top-heading h2 {
        letter-spacing: 0;
        padding-bottom: 0;
    }

    .patients-testimonials__top-btn {
        padding-top: 0;
        margin-bottom: 15px;
    }

}