/* ============================================
   TESTIMONIAL CAROUSEL - FRONTEND STYLES
   ============================================ */

.tc-testimonial-section {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.tc-testimonial-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    box-sizing: border-box;
}

/* Section Header */
.tc-testimonial-header {
    text-align: center;
    margin-bottom: 50px;
}

.tc-section-subtitle {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin: 0 0 12px;
    opacity: 0.95;
}

.tc-section-title {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.02em;
}

/* Carousel Wrapper */
.tc-carousel-wrapper {
    position: relative;
    padding: 0 60px;
}

.tc-testimonial-carousel {
    width: 100%;
    overflow: hidden;
}

.tc-testimonial-carousel .swiper-wrapper {
    box-sizing: border-box;
    align-items: stretch;
}

.tc-testimonial-carousel .swiper-slide {
    height: auto;
    display: flex;
    box-sizing: border-box;
}

/* Card */
.tc-testimonial-card {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tc-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.14);
}

/* Quote Icon */
.tc-quote-icon {
    margin: 0 0 18px;
    line-height: 0;
    display: block;
}

.tc-quote-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
}

.tc-quote-icon .tc-quote-svg {
    display: block;
    width: 42px;
    height: auto;
}

/* Quote Text */
.tc-testimonial-quote {
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 22px;
    flex-grow: 1;
}

/* Author */
.tc-testimonial-author {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

/* Navigation Arrows */
.tc-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid currentColor;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    padding: 0;
    opacity: 0.85;
}

.tc-nav-btn:hover {
    background: rgba(255,255,255,0.18);
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
}

.tc-nav-btn svg {
    width: 18px;
    height: 18px;
}

.tc-nav-prev { left: 4px; }
.tc-nav-next { right: 4px; }

.tc-nav-btn:disabled,
.tc-nav-btn.swiper-button-disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}

/* Pagination Dots */
.tc-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 36px;
    width: 100%;
}

.tc-pagination-bullet {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--tc-dot-color, #ffffff);
    opacity: 0.35;
    cursor: pointer;
    transition: all 0.35s ease;
}

.tc-pagination-bullet:hover { opacity: 0.65; }

.tc-pagination-bullet-active {
    opacity: 1;
    width: 28px;
    border-radius: 5px;
}

/* ============ TABLET ============ */
@media (max-width: 1024px) {
    .tc-carousel-wrapper { padding: 0 54px; }
}

/* ============================================
   MOBILE — single clean card with bullets only
   ============================================ */
@media (max-width: 640px) {
    .tc-testimonial-section {
        overflow: hidden;
    }

    .tc-testimonial-container {
        padding: 0 8px;
    }

    .tc-testimonial-header {
        margin-bottom: 24px;
        padding: 0 12px;
    }

    .tc-carousel-wrapper {
        padding: 0;
    }

    .tc-testimonial-carousel {
        overflow: hidden;
        padding: 0;
    }

    .tc-testimonial-carousel .swiper-slide {
        width: 100%;
    }

    .tc-testimonial-card {
        border-radius: 26px !important;
        padding: 28px 24px 22px !important;
        min-height: 332px;
        box-shadow: none;
        transform: none !important;
    }

    .tc-quote-icon {
        margin-bottom: 18px;
    }

    .tc-quote-img,
    .tc-quote-icon .tc-quote-svg {
        width: 38px;
    }

    .tc-testimonial-quote {
        font-size: 15px;
        line-height: 1.45;
        margin: 0 0 24px;
    }

    .tc-testimonial-author {
        font-size: 15px;
        line-height: 1.3;
        margin-top: auto;
    }

    .tc-nav-btn {
        display: none !important;
    }

    .tc-pagination {
        margin-top: 18px;
        gap: 8px;
    }

    .tc-pagination-bullet,
    .tc-pagination-bullet-active {
        width: 8px;
        height: 8px;
        border-radius: 50%;
    }

    .tc-pagination-bullet {
        opacity: 0.45;
    }

    .tc-pagination-bullet-active {
        opacity: 1;
        transform: scale(1.15);
    }
}
