/**
 * Testimonial slider styling (Swiper.js).
 *
 * - Pill-style pagination: active dot stretches in the brand gold.
 * - Custom circular arrows: white cards with soft shadow, gold on hover.
 *   Hidden on mobile where touch swipe takes over.
 * - Card hover: gentle lift for a modern feel.
 * - touch-action: vertical page scroll must pass through when a finger
 *   swipes up/down over the slider on touch devices.
 */

/* Let vertical page-scroll gestures pass through the slider */
.testimonial-swiper,
.testimonial-swiper .swiper-slide {
    touch-action: pan-y;
}

/* Pagination */
.testimonial-swiper .swiper-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.testimonial-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    background: #cbd5e1;
    opacity: 1;
    transition: width 0.3s ease, background 0.3s ease;
}

.dark .testimonial-swiper .swiper-pagination-bullet {
    background: #475569;
}

.testimonial-swiper .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 9999px;
    background: #f59e0b;
}

/* Custom arrows */
.testimonial-prev,
.testimonial-next {
    position: absolute;
    top: 38%;
    z-index: 10;
    display: none;
    height: 2.75rem;
    width: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #ffffff;
    color: #4b5563;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.18);
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

@media (min-width: 768px) {
    .testimonial-prev,
    .testimonial-next {
        display: flex;
    }
}

.testimonial-prev {
    left: 0.25rem;
}

.testimonial-next {
    right: 0.25rem;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: #f59e0b;
    color: #0f172a;
    transform: scale(1.06);
}

.dark .testimonial-prev,
.dark .testimonial-next {
    background: #1f2937;
    color: #d1d5db;
    border-color: #374151;
}

.dark .testimonial-prev:hover,
.dark .testimonial-next:hover {
    background: #f59e0b;
    color: #0f172a;
}

/* Card hover lift */
.t-card {
    box-shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.t-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -14px rgba(15, 23, 42, 0.2);
}
