/* new testimonial */




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

.custom-testimonial-section {
    width: 100%;
    /* padding: 80px 20px; */
    /* background: #ffffff;
    font-family: 'Montserrat', sans-serif; */
    overflow: hidden;
    margin: 0 auto;
}

.custom-testimonial-wrapper {
    /* max-width: 1100px; */
    width: 95%;
    margin: 0 auto;
    position: relative;
    background: #52982f;
    border-radius: 24px;
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 150px;
    overflow: hidden;
    margin: 0 auto;
}

.custom-testimonial-wrapper::before {
    content: "";
    position: absolute;
    top: -30px;
    left: -30px;
    width: 90px;
    height: 90px;
    border: 6px solid rgba(255, 255, 255, 0.25);
    border-radius: 0 0 100% 0;
    border-top: none;
    border-left: none;
}


.custom-testimonial-wrapper::after {
    content: "";
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 90px;
    height: 90px;
    border: 6px solid rgba(255, 255, 255, 0.25);
    border-radius: 100% 0 0 0;
    border-bottom: none;
    border-right: none;
}


/* =========================================================
   SLIDER
========================================================= */

.custom-testimonial-slider {
    position: relative;
    width: 100%;
    min-height: 520px;
}

.custom-testimonial-track {
    position: relative;
    width: 100%;
    min-height: 520px;
}


/* =========================================================
   FADE SLIDES
========================================================= */

.custom-testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease,
        visibility 0.8s ease;

    pointer-events: none;
}

.custom-testimonial-slide.active {
    position: relative;

    opacity: 1;
    visibility: visible;

    transform: translateY(0);

    pointer-events: auto;
    z-index: 2;
}


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

.custom-testimonial-content {
    display: flex;
    align-items: center;
    gap: 30px;
    /* min-height: 520px; */
    padding-right: 60px;
}


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

.custom-testimonial-image-area {
    width: 43%;
    position: relative;
    padding-bottom: 25px;
}

.custom-testimonial-image {
    width: 330px;
    height: 420px;
    /* margin-left: 35px; */
    overflow: hidden;
    background: #e8e1dc;
    border-radius: 20px;
}

.custom-testimonial-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 20px;
}


/* =========================================================
   CLIENT BOX
========================================================= */

.custom-testimonial-client {
    position: absolute;
    width: 260px;
    min-height: 70px;
    left: 230px;
    bottom: 0;
    /* padding: 15px 20px; */
    background: #52982f;
    border: 10px solid #52982f;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 5;
    border-radius: 10px;
    overflow: hidden;
}

.custom-testimonial-client-name {
    /* margin: 0 0 5px; */
    /* font-size: 15px; */
    /* line-height: 1.3; */
    /* font-weight: 600; */
    /* color: #111111; */
    font-size: 21px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.custom-testimonial-client-department {
    /* margin: 0; */
    /* font-size: 12px; */
    /* line-height: 1.3; */
    /* color: #555555; */
    font-size: 14px;
    color: #6b6b6b;
    font-weight: 400;
    margin-bottom: 0;
}

.custom-testimonial-client-text{
    border-radius: 10px;
    padding: 15px 20px;
    background-color: #fff;
    overflow: hidden;
}


/* =========================================================
   RIGHT TESTIMONIAL CONTENT
========================================================= */

.custom-testimonial-details {
    width: 48%;

    padding-right: 10px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* QUOTE */

.custom-testimonial-quote {
    /* margin: 0 0 22px; */
    /* font-family: Georgia, serif; */
    /* font-size: 24px; */
    /* line-height: 1.7; */
    /* font-weight: 400; */
    color: #ffffff;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 16px;
}


/* STARS */

.custom-testimonial-stars {
    margin-bottom: 10px;
    font-size: 25px;
    letter-spacing: 5px;
    color: #ffffff;
}


/* DESCRIPTION */

.custom-testimonial-description {
    margin: 0;
    /* max-width: 450px; */
    font-size: 16px;
    line-height: 1.9;
    color: #ffffff;
    font-weight: 500;
}


/* =========================================================
   PREVIOUS / NEXT
   BOTTOM POSITION
========================================================= */

.custom-testimonial-navigation {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 35px;
    display: none;
}

.custom-testimonial-arrow {
    width: 44px;
    height: 44px;

    padding: 0;

    border: 1px solid #111111;

    border-radius: 50%;

    background: #ffffff;

    color: #111111;

    cursor: pointer;

    font-size: 18px;

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

    transition: all 0.3s ease;
}

.custom-testimonial-arrow:hover {
    background: #111111;
    color: #ffffff;
}

.custom-testimonial-arrow:focus {
    outline: none;
}


/* COUNTER */

.custom-testimonial-counter {
    margin-left: 8px;

    font-size: 12px;

    letter-spacing: 2px;

    color: #777777;
}


/* =========================================================
   RIGHT SIDE VERTICAL DOTS
========================================================= */

.custom-testimonial-dots {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
    background-color: #fff;
    padding: 35px 12px;
    border-radius: 40px;
}

.custom-testimonial-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ea76a3;
    cursor: pointer;
    transition:
        height 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;
}

.custom-testimonial-dot:hover {
    transform: scale(1.2);
}

.custom-testimonial-dot.active {
    width: 7px;
    height: 28px;
    border-radius: 10px;
    background: #237ec0;
}


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

@media (max-width: 991px) {

    .custom-testimonial-section {
        padding: 80px 25px;
    }

    .custom-testimonial-content {
        gap: 60px;

        padding-right: 50px;
    }

    .custom-testimonial-image {
        width: 280px;
        height: 380px;

        margin-left: 10px;
    }

    .custom-testimonial-client {
        left: 100px;
    }

    .custom-testimonial-quote {
        font-size: 21px !important;
    }

}


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

@media (max-width: 767px) {

    .custom-testimonial-section {
        padding: 60px 20px;
    }

    .custom-testimonial-slider,
    .custom-testimonial-track {
        min-height: 760px;
    }

    .custom-testimonial-content {
        display: block;

        min-height: auto;

        padding-right: 30px;
    }


    /* IMAGE */

    .custom-testimonial-image-area {
        width: 100%;

        padding-bottom: 45px;
    }

    .custom-testimonial-image {
        width: 75%;
        height: 360px;

        margin: 0 auto;
    }


    /* CLIENT */

    .custom-testimonial-client {
        left: auto;
        right: 3%;

        bottom: 0;

        width: 210px;

        border-width: 3px;
    }


    /* DETAILS */

    .custom-testimonial-details {
        width: 100%;

        padding: 45px 0 0;
    }

    .custom-testimonial-quote {
        font-size: 20px;

        line-height: 1.6;
    }

    .custom-testimonial-description {
        font-size: 14px;

        line-height: 1.8;
    }


    /* ARROWS */

    .custom-testimonial-navigation {
        margin-top: 25px;
    }


    /* VERTICAL DOTS */

    .custom-testimonial-dots {
        right: 0;

        top: 45%;

        gap: 10px;
    }

}


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

@media (max-width: 480px) {

    .custom-testimonial-slider,
    .custom-testimonial-track {
        min-height: 720px;
    }

    .custom-testimonial-image {
        width: 80%;

        height: 320px;
    }

    .custom-testimonial-client {
        width: 190px;

        right: 0;
    }

    .custom-testimonial-client-name {
        font-size: 13px;
    }

    .custom-testimonial-client-department {
        font-size: 11px;
    }

}