/* TESTIMONIAL */
.testimonial {
    overflow: hidden;
    height: 889px;
    background-color: var(--primary8);
}

/* testimonial Left Section */
.testimonialLeftSection {
    width: 55%;
    padding: 0 118px 0 131px;
}

.testimonial .testimonialLeftSection>h3::-webkit-scrollbar {
    display: none;
}

.testimonial .testimonialLeftSection>h3 {
    height: 300px;
    overflow-y: scroll !important;
    color: var(--primary2);
    margin-bottom: 40px;
    font-size: 30px;
    line-height: 150%;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}



.userDetails h6 {
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    color: var(--secondary2);
}

.userDetails p {
    margin: 0;
    margin-top: 4px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #000000;
}

#feedbackMsg {
    opacity: 1;
    transition: opacity 2s ease-in-out;
}

#profileImage {
    opacity: 1;
    transition: opacity 2s ease-in-out;
}

.reviewerDetails {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#name {
    opacity: 1;
    transition: opacity 2s ease-in-out;
}

#occupation {
    opacity: 1;
    transition: opacity 2s ease-in-out;
}

.arrowContainer button {
    background-color: transparent;
    height: 56px;
    width: 56px;
}

.arrowContainer i {
    background-color: rgb(255, 255, 255);
    height: 56px;
    width: 56px;
    border: solid 1px #EAECF0;
    border-radius: 50%;
}

.arrowContainer .leftArrow {
    margin-right: 32px;
}

.arrowContainer i::before {
    color: var(--tertiary4);
    font-size: 38px;
}

/* testimonial Right Section */
.testimonialRightSection {
    width: 45%;
    position: relative;
    display: flex;
}

.leftCardContainer {
    width: 44.66%;
    height: 100%;
    background-color: transparent;
    margin-right: 24px;
    overflow-y: scroll;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.leftCardContainer::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.leftCardContainer {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.rightCardContainer {
    width: 44.66%;
    height: 100%;
    background-color: transparent;
    overflow-y: scroll;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.rightCardContainer::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.rightCardContainer {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.testimonialRightSection .card {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px 0;
    padding: 20px 40px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: none;
}

.card .heading {
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    color: var(--primary2);
    margin-bottom: 4px;
}

.card .subheading {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--tertiary3);
    margin-bottom: 10px;
}

.card .msg {
    font-size: 22px;
    line-height: 120%;
    font-weight: 400;
    overflow-y: scroll;
    color: #000;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.card .msg::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.card .msg {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}


.testimonialRightSection .imageCard {
    margin: 24px 0;
    background-color: white;
    padding: 20px;
    width: 100%;
    height: 388px;
    border-radius: 8px;
    flex: 0 0 auto;
}

.testimonialRightSection .imageCard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}




@media only screen and (max-width: 576px) {

    /* TESTIMONIAL */
    .testimonial {
        height: auto;
        padding: 64px 0;
    }

    /* testimonial Left Section */
    .testimonialLeftSection {
        width: 100%;
        padding: 0 16px 48px 16px;
    }

    .testimonial .testimonialLeftSection h3 {
        margin-bottom: 32px;
    }

    .userDetails {
        margin-bottom: 24px;
    }

    .userDetails .avatarContainer {
        margin-right: 16px;
        height: 56px;
        width: 56px;
        border-radius: 50%;
        background-color: #CFD4C6;
    }

    .userDetails .avatarContainer img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .userDetails h6 {
        font-size: 18px;
        line-height: 28px;
    }

    .userDetails p {
        margin-top: 4px;
        font-size: 16px;
        line-height: 24px;
    }

    .arrowContainer button {
        background-color: transparent;
        height: 48px;
        width: 48px;
    }

    .arrowContainer i {
        height: 48px;
        width: 48px;
    }

    .arrowContainer .leftArrow {
        margin-right: 16px;
    }

    .arrowContainer i::before {
        font-size: 30px;
    }

    /* testimonial Right Section */
    .testimonialRightSection {
        width: 100vw;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .leftCardContainer {
        display: flex;
        width: 100%;
        height: 156.5px;
        margin-bottom: 16px;
        overflow-x: scroll;
        overflow-y: hidden;
    }

    .rightCardContainer {
        display: flex;
        width: 100%;
        height: 156.5px;
        overflow-x: scroll;
        overflow-y: hidden;
    }

    .testimonialRightSection .card {
        margin: 0 6px;
        padding: 17px 19px;
        width: 225px !important;
        height: 139px;
        border-radius: 5px;
    }


    .card .heading {
        font-size: 10px;
        line-height: 13px;
        margin-bottom: 2px;
    }

    .card .subheading {
        font-size: 10px;
        line-height: 11px;
        margin-bottom: 5px;
    }

    .card .msg {
        font-size: 12px;
    }

    .testimonialRightSection .imageCard {
        width: 137px;
        height: 139px;
        margin: 0 6px;
        padding: 10px;
        border-radius: 5px;
    }
}

@media only screen and (min-width: 576px) and (max-width: 992px) {

    /* TESTIMONIAL */
    .testimonial {
        height: 514px;
    }

    /* testimonial Left Section */
    .testimonialLeftSection {
        padding: 0 79px 0 76px;
    }

    .testimonial .testimonialLeftSection h3 {
        margin-bottom: 23px;
    }

    .userDetails h6 {
        font-size: 12px;
        line-height: 16px;
    }

    .userDetails p {
        margin: 0;
        margin-top: 2.3px;
        font-size: 12px;
        line-height: 14px;
    }

    .arrowContainer button {
        background-color: transparent;
        height: 32px;
        width: 32px;
    }

    .arrowContainer i {
        height: 32px;
        width: 32px;
    }

    .arrowContainer .leftArrow {
        margin-right: 18px;
    }

    .arrowContainer i::before {
        font-size: 25px;
    }

    /* testimonial Right Section */
    .testimonialRightSection {
        width: 45%;
        position: relative;
    }

    .testimonialRightSection .card {
        margin: 14px 0;
        padding: 23px 12px;
        border-radius: 5px;
    }


    .card .heading {
        font-size: 12px;
        line-height: 17px;
        margin-bottom: 2px;
    }

    .card .subheading {
        font-size: 12px;
        line-height: 24px;
        margin-bottom: 6px;
    }

    .card .msg {
        font-size: 14px;
    }

    .testimonialRightSection .imageCard {
        height: 225px;
        margin: 14px 0;
        padding: 12px;
        border-radius: 5px;
    }
}