#Testimonial{
    margin: 0 -10px;
    border-block-end: var(--border) solid var(--Text-Primary);
}

.testimonialText{
    background-color: var(--Background);
    position: sticky;
    top: 0;
}
.testimonialText p{
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-size: 3rem;
    line-height: 3rem;
    font-style: normal;
    text-align: center;
    padding: 30px 50px;
    background: linear-gradient(270deg, var(--secondary), var(--Text-Primary), var(--secondary));
    background-size: 1000% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 8s linear infinite;
}

.testimonils{
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.reviewCard{
    position: sticky;
    --StarHeight: 40px;
    --titleHeight: 108px;
    border-top: var(--border) solid var(--Text-Primary);
    background-color: var(--Text-Primary);
    top: calc(var(--titleHeight) + calc(var(--ReviewNo) * calc(var(--StarHeight) + var(--border))));
    display: flex;
    gap: var(--border);
}
.clientImage{
    flex: 1;
    background-color: var(--Background);
    max-width: 300px;
    aspect-ratio: 5/6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.clientImage img{
    width: 100%;
    pointer-events: none;
}
.clientReview{
    flex: 3;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--border);
}
.clientName{
    display: flex;
    align-items: center;
    height: var(--StarHeight);
    gap: var(--border);
}
.clientName p{
    font-family: "Bebas Neue", sans-serif;
    padding: 0 20px;
    height: 100%;
    background-color: var(--Background);
    color: var(--Text-Primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.StarRating{
    flex: 1;
    height: var(--StarHeight);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--border);
}
.starContainer{
    width: var(--StarHeight);
    height: var(--StarHeight);
    background-color: var(--Background);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ReviewStar{
    scale: 1.5;
    width: 16px;
    height: 16px;
    fill: #f5a623;
}
.spaceEnd{
    background-color: var(--Background);
    flex: 1;
    height: var(--StarHeight);
}

.clentThaughts{
    flex: 1;
    background-color: var(--Background);
    background-image: url(/Assets/Images/BGDot.webp);
    background-size: 200px 200px;
    background-position: bottom;
    background-repeat: repeat-x;
    padding: 40px;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--Text-Primary);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}


@media (max-width: 1000px) {

    .testimonialText p{
        font-size: 2.5rem;
        line-height: 2.5rem;
        padding: 20px 50px;
    }
    .reviewCard{
        --StarHeight: 40px;
        --titleHeight: 80px;
    }
    .clentThaughts{
        font-size: 1.2rem;
        font-weight: 500;
        background-size: 160px 160px;
    }
}
@media (max-width: 800px) {
    .reviewCard{
        --StarHeight: 30px;
        --titleHeight: 72px;
    }
    .testimonialText p{
        font-size: 2rem;
        line-height: 2rem;
        padding: 20px;
    }
    .clientName p{
        font-size: 1.5rem;
    }
    .ReviewStar{
        scale: 1.2;
    }
    .clentThaughts{
        font-size: 1rem;
        font-weight: 400;
        background-size: 120px 120px;
    }
}
@media (max-width: 600px) {
    .reviewCard{
        --StarHeight: 20px;
    }
    .clientName p{
        font-size: 1rem;
        padding: 0 10px;
    }
    .ReviewStar{
        scale: 0.8;
    }
    .clentThaughts{
        font-size: 0.7rem;
        padding: 0 20px;
        background-size: 80px 80px;
    }
}
