.tp-testimonials-carousel { width: 100%; }
.tp-item { text-align: center; background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.tp-item img { border-radius: 50%; width: 100px; height: 100px; object-fit: cover; margin: 10px auto; }
.tp-content { font-style: italic; color: #555; }
.tp-name { margin-top: 10px; font-weight: bold; }

.tp-testimonial-section {
    background-color: #262626;
    max-width: 1064px;
    margin: 0 auto;
    padding: 65px 54px 56px 35px;
    position: relative;
    overflow: hidden;
    
}

.tp-testimonials-carousel {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.tp-testimonial-item {
    display: flex;
    align-items: start;
    justify-content: center;
    gap: 60px;
    padding: 0 0px;
}

.tp-testimonial-left {
    flex: 0 0 35%;
    position: relative;
    align-self: flex-start;
}

.tp-author-image {
    width: 276px;
    height: 276px;
    object-fit: cover;
    display: block;
    margin-bottom: 84px;
}

.tp-author-card {
    background: #ffffff;
    color: #000;
    padding: 20px;
    padding-top: 40px;
    text-align: center;
    width: 263px;
    position: absolute;
    bottom: 0px;
    left: 66%;
    transform: translateX(-50%);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.tp-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #222;
    margin: 0;
}

.tp-title {
    font-size: 0.9rem;
    color: #666;
    margin: 5px 0 0;
}

.tp-quote-icon {
    position: absolute;
    top: -25px; 
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    line-height: 1;
    padding-bottom: 5px; 
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.tp-quote-icon .tp-quote-svg{
    width: 14.171px;
    height: 11.333px;
    background-image: url(../img/bx_bxs-quote-left.svg);
    background-position: center;
    background-repeat: no-repeat;
}
.tp-testimonial-right {
    flex: 1;
    color: #ffffff;
    padding-left: 20px;
}

.tp-testimonial-header h3 {
    font-size: 1rem;
    font-weight: bold;
    color: #aaa;
    margin: 0;
    text-transform: uppercase;
}

.tp-testimonial-header h2 {
    color: #FFF;
    font-family: "Poppins",sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 10px 0 30px;
}

.tp-content {
color: #C4C4C4;
font-family: "Poppins",sans-serif;
font-size: 18px;
font-style: italic;
font-weight: 400;
line-height: 28px; /* 155.556% */
}

.tp-slider-nav {
    position: absolute;
    bottom: 0;
    right: 0px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.tp-nav-prev.swiper-button-prev,
.tp-nav-next.swiper-button-next {
    position: static;
    width: 37px;
    height: 37px;
    background: #E4B946;
    color: #111;
    margin: 0;
    border-radius: 0;
    transition: background-color 0.3s;
}

.tp-nav-prev:hover,
.tp-nav-next:hover {
    background: #f0b400;
}

.tp-nav-prev.swiper-button-prev::after,
.tp-nav-next.swiper-button-next::after {
    font-size: 1rem;
    font-weight: bold;  
    color: #fff;
}

.tp-nav-prev.swiper-button-prev::after {
    content: '\2190';
    font-size: 1.2rem; 
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.tp-nav-next.swiper-button-next::after {
    content: '\2192';
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.tp-nav-prev.swiper-button-disabled,
.tp-nav-next.swiper-button-disabled {
    background-color: transparent;
    opacity: 0.5;
    cursor: default;
}

.tp-slider-nav .swiper-button-next.swiper-button-disabled,.tp-slider-nav .swiper-button-prev.swiper-button-disabled {
    opacity: 1;
}
.tp-nav-prev.swiper-button-prev.swiper-button-disabled::after,
.tp-nav-next.swiper-button-next.swiper-button-disabled::after {
    color: #fff; 
    opacity: 1;
}

@media (max-width:1024px) {
    .tp-author-card { 
        width: 80%; 
        left: 50%;
        transform: translateX(-50%);
    }
    .tp-testimonial-left {
        width: 100%;
    }
    .tp-author-image {
        width: 100%;
        height: auto;
    }

    .tp-testimonial-section {
        padding: 0px 0;
    }
    .tp-testimonial-item {
        flex-direction: column; 
        gap: 30px; 
        text-align: center;
        padding: 32px 40px;
    }

    .tp-testimonial-right {
        padding-left: 0;
    }

    .tp-slider-nav {
        position: relative;
        margin: 0px 46px 40px;
        text-align: right;
        float: right;
    }

    .tp-testimonial-header h2 {
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: 32px;
    }
    .tp-content {
        font-size: 18px;
        font-style: italic;
        font-weight: 400;
        line-height: 28px;
        text-align: left;
    }

}