/* ========== نظرات برندها ========== */
.testimonials-brand-section {
    overflow: hidden;
}

.testimonials-brand-slider {
    overflow: visible;
    width: 100%;
    position: relative;
    padding-top: 15px;
    margin-top: -15px;
}

.testimonials-brand-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1.2);
    will-change: transform;
}

.testimonial-brand-card {
    flex: 0 0 calc(33.333% - 1.34rem);
    max-width: calc(33.333% - 1.34rem);
    perspective: 1200px;
}

.card-3d-inner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(25px);
    border-radius: 2.5rem;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.4);
}

.card-3d-inner:hover {
    transform: translateY(-12px) rotateY(3deg) rotateX(2deg);
    box-shadow: 0 35px 60px -15px rgba(253, 86, 49, 0.3), 0 0 40px rgba(93, 60, 242, 0.15);
    border-color: rgba(253, 86, 49, 0.4);
}

.card-logo-ring {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.8rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(253, 86, 49, 0.15), rgba(93, 60, 242, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.4s;
}

.card-3d-inner:hover .card-logo-ring {
    border-color: rgba(253, 86, 49, 0.6);
    box-shadow: 0 0 30px rgba(253, 86, 49, 0.3);
    transform: scale(1.08);
}

.card-logo-img {
    max-width: 65%;
    max-height: 65%;
    object-fit: contain;
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.4));
    transition: all 0.4s;
}

.card-quote-icon {
    font-size: 3.5rem;
    color: rgba(253, 86, 49, 0.4);
    line-height: 1;
    margin-bottom: 0.8rem;
    transition: all 0.4s;
}

.card-3d-inner:hover .card-quote-icon {
    color: rgba(253, 86, 49, 0.7);
    transform: scale(1.1);
}

.card-testimonial-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    font-style: italic;
    margin-bottom: 1.5rem;
    min-height: 90px;
}

.card-stars .rating-star {
    font-size: 1rem;
    color: #fdbc31;
    margin: 0 1px;
}

.card-stars .rating-star-empty {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.2);
    margin: 0 1px;
}

.card-brand-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-top: 0.5rem;
    letter-spacing: -0.3px;
}

.card-glow-bg {
    position: absolute;
    top: -60px;
    left: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(253, 86, 49, 0.3), transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s;
}

.card-3d-inner:hover .card-glow-bg {
    opacity: 1;
}

.card-shine-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fd5631, #fdbc31, #5d3cf2, transparent);
    transition: left 0.6s ease;
}

.card-3d-inner:hover .card-shine-effect {
    left: 100%;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2.5rem;
}

.testimonials-dots .dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.testimonials-dots .dot.active {
    background: #fd5631;
    box-shadow: 0 0 15px #fd5631;
    transform: scale(1.5);
}