/* Testimonial Slider - Premium Modern Aesthetic */

.toonz-testimonial-wrapper {
    width: 100%;
    position: relative;
    /*padding: 60px 80px;*/
    /* Added horizontal padding for arrows */
    overflow: visible;
}

.toonz-testimonial-carousel {
    width: 100%;
    border-radius: 12px;
    background: #F9F7F5;
    /* Soft premium background */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    /* Removed overflow: hidden to allow content to show before JS runs */
}

.toonz-testimonial-carousel .swiper-wrapper {
    display: flex;
    height: 380px;
}

.toonz-testimonial-item.swiper-slide {
    display: flex;
    width: 100%;
    max-width: 100%;
    height: 380px;
    position: relative;
    overflow: hidden;
}

/* Ensure first slide is visible before JS runs */
.toonz-testimonial-carousel:not(.swiper-initialized) .toonz-testimonial-item.swiper-slide:first-child {
    display: flex !important;
}

.toonz-testimonial-carousel:not(.swiper-initialized) .toonz-testimonial-item.swiper-slide:not(:first-child) {
    display: none !important;
}

.swiper-initialized .toonz-testimonial-carousel {
    overflow: hidden;
}

/* Left Image Area */
.toonz-testimonial-image-col {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
    height: 380px;
}

.toonz-testimonial-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.6s ease;
}

.toonz-testimonial-carousel:hover .toonz-testimonial-image-col img {
    transform: scale(1.05);
}

/* Right Content Area */
.toonz-testimonial-content-col {
    width: 50%;
    flex: 0 0 50%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
}

/* Quote Icon */
.toonz-testimonial-quote-icon {
    font-size: 60px;
    line-height: 1;
    color: #E87722;
    font-family: serif;
    margin-bottom: 20px;
    opacity: 0.8;
}

.toonz-testimonial-text {
    font-family: 'DM Serif Display', serif;
    /* Or similar serif */
    font-size: clamp(24px, 3vw, 42px);
    line-height: 1.2;
    color: #0A0A0A;
    margin-bottom: 30px;
}

/* Divider */
.toonz-testimonial-divider {
    width: 40px;
    height: 3px;
    background: #E87722;
    margin-bottom: 25px;
}

/* Author Info */
.toonz-testimonial-meta {
    font-family: 'Inter', sans-serif;
}

.toonz-testimonial-name {
    font-size: 18px;
    font-weight: 700;
    color: #0A0A0A;
    margin-bottom: 4px;
}

.toonz-testimonial-designation {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation Controls */
.toonz-testimonial-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    /* Center arrows within the 80px wrapper padding */
    pointer-events: none;
    z-index: 999;
}

.toonz-testimonial-arrow {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E87722;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    border: none;
    z-index: 1000;
}

.toonz-testimonial-arrow:hover {
    background: #E87722;
    color: #fff;
    transform: translateY(-2px);
}

.toonz-testimonial-arrow.prev {
    margin-left: -37px;
}

.toonz-testimonial-arrow.next {
    margin-right: -37px;
}

/* Pagination Dots */
.toonz-testimonial-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #D1D1D1;
    opacity: 1;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #E87722;
    width: 30px;
    /* Pill shape for active */
    border-radius: 20px;
}

/* Responsive (Mobile) */
@media (max-width: 768px) {
    .toonz-testimonial-item {
        flex-direction: column;
    }

    .toonz-testimonial-image-col {
        flex: 0 0 300px;
        width: 100%;
    }

    .toonz-testimonial-content-col {
        flex: 1;
        width: 100%;
        padding: 40px 30px;
    }

    .toonz-testimonial-nav {
        display: none;
        /* Hide arrows on mobile, use dots/swipe */
    }

    .toonz-testimonial-text {
        font-size: 24px;
    }
}