.px_testimonial_section {
    width: 100%;
    padding: 120px 20px;
    background: linear-gradient(45deg,#3d422f,#000);
    text-align: center;
    overflow: hidden;
}

.px_testimonial_heading_wrap {
    max-width: 900px;
    margin: auto;
}

.px_badge {
    display: inline-block;
    padding: 8px 18px;
    box-shadow: 0px 0px 10px 7px rgba(100, 100, 100, 0.5);
    border-radius: 50px;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
    border-radius: 20px;
}

.px_heading {
    font-size: 44px;
    margin: 20px 0;
    font-weight: 600;
}

.px_gradient_text {
    background: linear-gradient(90deg,#ffc107,#fba931);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255,169,49,1);
}

.px_subtitle {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 80px;
}

/* Carousel */

.px_carousel_wrapper {
    position: relative;
    perspective: 1500px;
    max-width: 1200px;
    margin: 250px;
}

.px_carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    position: relative;
}

.px_card {
    position: absolute;
    width: 320px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(61,66,47,0.8);
    backdrop-filter: blur(12px);
    color: #fff;
    transition: transform .8s cubic-bezier(.22,1,.36,1),
                opacity .6s ease,
                filter .6s ease;
    will-change: transform;
}

.px_card_image {
    position: relative;
    height: 220px;
}

.px_card_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.px_card_badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff9800;
    padding: 6px 14px;
    font-size: 11px;
    border-radius: 50px;
}

.px_card_content {
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.2));
}

.px_stats {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 13px;
}

.px_stats div span {
    display: block;
    font-size: 11px;
    opacity: 0.7;
}

/* 3D Positions */

.px_card.px_center {
    transform: translateX(0) scale(1) rotateY(0);
    z-index: 5;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.px_card.px_left {
    transform: translateX(-360px) scale(.88) rotateY(25deg);
    z-index: 3;
    opacity: .7;
    filter: brightness(.8);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.px_card.px_right {
    transform: translateX(360px) scale(.88) rotateY(-25deg);
    z-index: 3;
    opacity: .7;
    filter: brightness(.8);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Navigation */

.px_nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border: none;
    color: #fff;
    font-size: 28px;
    padding: 14px;
    cursor: pointer;
    border-radius: 50%;
    transition: .3s;
    z-index: 10;
}

.px_prev { left: -100px; }
.px_next { right: -100px; }

.px_nav:hover {
    background: rgba(0,0,0,0.7);
    transform: translateY(-50%) scale(1.1);
}

/* Hover Lift */

.px_card:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Responsive */

@media(max-width:992px){
    .px_card.px_left,
    .px_card.px_right{
        transform: translateX(-250px) scale(.9);
    }
}

@media(max-width:768px){
    .px_card {
        width: 280px;
    }
    .px_card.px_left,
    .px_card.px_right{
        display:none;
    }

    .px_carousel_wrapper {
    margin: 250px 0px;
    }
    .px_prev { left: 0px; }
    .px_next { right: 0px; }
}
