
/* ===================== INTERACTIVE REVEAL TESTIMONIALS ===================== */
.testi-reveal-section {
    background: #fdfdfd;
}

.testi-reveal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.testi-reveal-card {
    position: relative;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: #111;
}

/* Image Layer (Sliding) */
.testi-image-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    transition: transform 0.7s cubic-bezier(0.83, 0, 0.17, 1);
}

.testi-image-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    transition: transform 1.2s var(--smooth);
}

.testi-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    color: #fff;
}

.overlay-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 3px;
}

.overlay-info span {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 700;
}

/* Content Layer (Revealed) */
.testi-reveal-content {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    color: #fff;
}

.testi-reveal-content i {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
}

.reveal-quote {
    font-family: 'Helvetica', sans-serif;
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.9);
}

.reveal-footer strong {
    display: block;
    font-size: 14px;
    color: #fff;
    margin-bottom: 2px;
}

.reveal-footer span {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* HOVER REVEAL EFFECT */
.testi-reveal-card:hover .testi-image-layer {
    transform: translateY(-90%); /* Side Slide Transition */
}

.testi-reveal-card:hover .testi-image-layer img {
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .testi-reveal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
    .testi-reveal-grid { grid-template-columns: 1fr; }
    .testi-reveal-card { height: 480px; }
}
