/* Enhanced testimonial styling - Orange theme */
.tp-testimonial-4-area {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Full width container support for testimonial section */
.tp-testimonial-4-area.full-width-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

.tp-testimonial-4-area.full-width-container .tp-testimonial-4-slider-wrap {
    padding: 0 20px;
}

/* Enhanced testimonial item styling */
.tp-testimonial-4-item {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.15);
    border: 1px solid rgba(255, 140, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.tp-testimonial-4-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 140, 0, 0.25);
    border-color: rgba(255, 140, 0, 0.3);
}

/* Pagination dots */
.tp-testimonial-4-dot {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.tp-testimonial-4-dot .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    opacity: 1;
}

.tp-testimonial-4-dot .swiper-pagination-bullet-active {
    background: #FF6600;
}

/* Enhanced testimonial styling */
.tp-testimonial-4-top {
    margin-bottom: 15px;
}

.tp-testimonial-4-avatar {
    margin-right: 15px;
}

.tp-testimonial-4-avatar img {
    border-radius: 50%;
    width: 55px;
    height: 55px;
    object-fit: cover;
    border: 3px solid rgba(255, 140, 0, 0.15);
    transition: all 0.3s ease;
}

.tp-testimonial-4-avatar img:hover {
    border-color: rgba(255, 140, 0, 0.4);
    transform: scale(1.05);
}

.tp-testimonial-4-avatar-name {
    color: #333;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 3px;
    line-height: 1.3;
}

.tp-testimonial-4-avatar-content span {
    color: #888;
    font-weight: 500;
    font-size: 12px;
}

.tp-testimonial-4-ratting > span {
    background: #FFF3E6;
    color: #FF8C00;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid rgba(255, 140, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tp-testimonial-4-ratting > span:hover {
    background: #FF8C00;
    color: white;
    border-color: #FF8C00;
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

.tp-testimonial-4-text {
    margin-top: 15px;
    position: relative;
    padding-left: 25px;
}

.tp-testimonial-4-text p {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 0;
    font-style: normal;
    font-weight: 400;
}

.tp-testimonial-4-quote {
    position: absolute;
    top: -5px;
    left: 0;
    opacity: 0.4;
}

.tp-testimonial-4-quote svg {
    width: 16px;
    height: 13px;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .tp-testimonial-4-area {
        padding-bottom: 0 !important;
    }
    
    .tp-testimonial-4-item {
        padding: 20px;
        margin: 10px;
    }
    
    .tp-testimonial-4-avatar img {
        width: 50px;
        height: 50px;
    }
    
    .tp-testimonial-4-avatar-name {
        font-size: 15px;
    }
    
    .tp-testimonial-4-ratting > span {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .tp-testimonial-4-text {
        padding-left: 20px;
        margin-top: 12px;
    }
    
    .tp-testimonial-4-text p {
        font-size: 13px;
    }
}
