/* --- 3D CINEMATIC TESTIMONIALS --- */
:root {
    --t3d-gold: #e7b65c;
    --t3d-black: #050505;
    --t3d-card-bg: #141414;
}

.testimonial-3d-section {
    padding: 100px 0 140px;
    background: var(--t3d-black);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Background Atmospheric Glow */
.t3d-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(231,182,92,0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.t3d-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.t3d-header h2 {
    font-family: 'Inter', serif;
    font-size: 3.5rem;
    color: #fff;
    margin: 0;
}

.t3d-header span {
    color: var(--t3d-gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

/* --- SWIPER 3D SETUP --- */
.testimonial-3d-slider {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 60px; /* Space for reflection/shadow */
    perspective: 1000px;
}

.swiper-slide.t3d-slide {
    background-position: center;
    background-size: cover;
    width: 550px; /* Card Width */
    height: 30rem;
    background: linear-gradient(145deg, rgba(25,25,25,0.9), rgba(15,15,15,0.95));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 40px 30px;
    /* Blur effect for non-active slides handled by Swiper, but we add base transition */
    transition: all 0.5s ease;
    user-select: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Active Slide Styling (The Center One) */
.swiper-slide-active.t3d-slide {
    border-color: var(--t3d-gold);
    box-shadow: 0 20px 50px rgba(231, 182, 92, 0.15);
    background: #1a1a1a;
    z-index: 10;
}

/* Content Styles */
.t3d-quote-icon {
    font-size: 3rem;
    color: var(--t3d-gold);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.5;
    font-family: serif;
}

.t3d-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 30px;
    font-weight: 300;
    min-height: 100px; /* Ensure uniform height */
}

.swiper-slide-active .t3d-text {
    color: #fff;
}

.t3d-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.t3d-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid transparent;
}

.swiper-slide-active .t3d-avatar {
    border-color: var(--t3d-gold);
}

.t3d-info h4 {
    font-family: 'Outfit', serif;
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
}

.t3d-stars {
    color: var(--t3d-gold);
    font-size: 2rem;
    margin-top: 5px;
}

/* Pagination Dots */
.swiper-pagination-bullet {
    background: #555;
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background: var(--t3d-gold);
    width: 20px;
    border-radius: 10px;
    transition: width 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    .swiper-slide.t3d-slide {
        width: 300px; /* Smaller card for mobile */
        padding: 30px 20px;
    }
    .t3d-header h2 {
        font-size: 2.5rem;
    }
}