    /* =========================================================
   TESTIMONIAL SECTION
   ========================================================= */

#Testimonials {
    width: 100%;
    background: #ffffff !important;
}


/*
 * Your existing CSS has .bg-testimonial.
 * We are overriding the old background image here.
 */
#Testimonials .bg-testimonial,
.testimonial-wrapper {
    background-image: none !important;
    background-color: #ffffff !important;
}


/* Main wrapper */
.testimonial-wrapper {
    width: 100%;
    padding: 35px 0 35px;
}


/* Heading */
.testimonial-title {
    margin: 0 0 30px;

    font-size: 30px;
    line-height: 1.2;

    font-weight: 600;

    color: #222;
}


/* =========================================================
   SWIPER
   ========================================================= */

.testimonialSwiper {
    width: 100%;

    padding: 5px 35px 50px !important;

    overflow: hidden;
}


.testimonialSwiper .swiper-wrapper {
    align-items: stretch;
}


.testimonialSwiper .swiper-slide {
    height: auto;

    display: flex;
}


/* =========================================================
   TESTIMONIAL CARD
   ========================================================= */

.testimonial-card {
    width: 100%;

    min-height: 172px;

    display: flex;
    align-items: center;

    background: #ffffff;

    border: 1px solid #333;

    border-radius: 7px;

    padding: 18px 16px;

    box-sizing: border-box;
}


/* =========================================================
   IMAGE
   ========================================================= */

.testimonial-image {
    flex: 0 0 120px;

    width: 120px;
    height: 120px;

    margin-right: 20px;

    border: 1px solid #222;

    border-radius: 50%;

    overflow: hidden;

    background: #f5f5f5;
}


.testimonial-image img {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0 !important;

    padding: 0;

    object-fit: cover;
}


/* =========================================================
   CONTENT
   ========================================================= */

.testimonial-content {
    flex: 1;

    min-width: 0;
}


.testimonial-content h4 {
    margin: 0 0 7px;

    padding: 0;

    font-family: Arial, sans-serif;

    font-size: 15px;

    line-height: 1.2;

    font-weight: 700;

    color: #111;
}


.testimonial-content p {
    margin: 0;

    padding: 0;

    font-family: Arial, sans-serif;

    font-size: 12px;

    line-height: 1.35;

    color: #222;
}


/* =========================================================
   SWIPER ARROWS
   ========================================================= */

.testimonialSwiper .swiper-button-prev,
.testimonialSwiper .swiper-button-next {
    width: 30px;
    height: 30px;

    color: #333;
}


.testimonialSwiper .swiper-button-prev::after,
.testimonialSwiper .swiper-button-next::after {
    font-size: 18px;
    font-weight: 700;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.testimonialSwiper .swiper-pagination {
    bottom: 5px !important;
}


.testimonialSwiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;

    opacity: 1;

    background: #c5c5c5;
}


.testimonialSwiper .swiper-pagination-bullet-active {
    background: #333;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .testimonial-card {
        min-height: 165px;

        padding: 15px;
    }


    .testimonial-image {
        flex: 0 0 105px;

        width: 105px;
        height: 105px;

        margin-right: 15px;
    }


    .testimonial-content h4 {
        font-size: 14px;
    }


    .testimonial-content p {
        font-size: 11.5px;
    }

}


/* =========================================================
   MOBILE TESTIMONIAL - IMAGE TOP / CONTENT BELOW
   ========================================================= */

@media (max-width: 767px) {

    .testimonial-wrapper {
        padding: 25px 0 25px;
    }

    .testimonial-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .testimonialSwiper {
        padding-left: 15px !important;
        padding-right: 15px !important;
        padding-bottom: 45px !important;
    }

    /*
     * Vertical testimonial card
     */
    .testimonial-card {
        min-height: auto;

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: flex-start;

        text-align: center;

        padding: 22px 20px 25px;

        border-radius: 8px;
    }


    /*
     * Student image
     */
    .testimonial-image {
        flex: 0 0 auto;

        width: 95px;
        height: 95px;

        margin: 0 0 15px 0;

        border-radius: 50%;
    }


    .testimonial-image img {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }


    /*
     * Content below image
     */
    .testimonial-content {
        width: 100%;

        text-align: center;
    }


    .testimonial-content h4 {
        font-size: 15px;

        line-height: 1.25;

        margin: 0 0 8px;
    }


    .testimonial-content p {
        font-size: 12px;

        line-height: 1.45;

        margin: 0;
    }


    /*
     * Hide arrows on mobile
     * User can swipe the testimonial
     */
    .testimonialSwiper .swiper-button-prev,
    .testimonialSwiper .swiper-button-next {
        display: none;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .testimonial-wrapper {
        padding: 20px 0 20px;
    }


    .testimonial-title {
        font-size: 24px;
        margin-bottom: 18px;
    }


    .testimonialSwiper {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }


    .testimonial-card {
        padding: 20px 16px 22px;
    }


    .testimonial-image {
        width: 85px;
        height: 85px;

        margin-bottom: 13px;
    }


    .testimonial-content h4 {
        font-size: 14px;
        line-height: 1.25;

        margin-bottom: 7px;
    }


    .testimonial-content p {
        font-size: 11.5px;
        line-height: 1.45;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

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


    .testimonial-card {
        min-height: 145px;

        padding: 12px;
    }


    .testimonial-image {
        flex: 0 0 75px;

        width: 75px;
        height: 75px;

        margin-right: 12px;
    }


    .testimonial-content h4 {
        font-size: 13px;
    }


    .testimonial-content p {
        font-size: 10.5px;

        line-height: 1.3;
    }

}
