/* --- Testimonials Section --- */
.testimonial-showcase-section {
    padding: 3rem 0; /* py-12 */
}

.testimonial-container {
    max-width: 80rem; /* max-w-7xl */
    margin: 0 auto;
    padding: 0 1rem;
}

.testimonial-header {
    text-align: center;
    margin-bottom: 2rem; /* mb-8 */
}

.testimonial-main-heading h2 {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 0.75rem 0;
}

.testimonial-sub-heading {
    color: var(--gray-600);
    font-size: 1.125rem; /* text-lg */
    max-width: 48rem; /* max-w-3xl */
    margin: 0 auto;
}

/* --- Dots Indicator --- */
.dots-container-desktop {
    display: none; /* hidden by default */
    justify-content: center;
    margin-bottom: 1.5rem; /* mb-6 */
    gap: 0.5rem; /* space-x-2 */
}

.dot-indicator {
    width: 0.5rem; /* w-2 */
    height: 0.5rem; /* h-2 */
    border-radius: 9999px; /* rounded-full */
    background-color: var(--gray-300);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease-in-out;
}

    .dot-indicator:hover {
        background-color: var(--gray-400);
    }

    .dot-indicator.active {
        width: 1.5rem; /* w-6 */
        background-color: var(--daikin-blue);
    }

/* --- Carousel --- */
.carousel-wrapper {
    position: relative;
}

.carousel-scroller {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    gap: 1.5rem; /* gap-6 */
}

.testimonial-card {
    flex-shrink: 0;
    width: 100%;
    background-color: white;
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem; /* rounded-lg */
    padding: 1.5rem; /* p-6 */
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.05), 0 1px 2px -1px rgba(0,0,0,0.05); /* shadow-sm */
    box-sizing: border-box; /* Ensures padding is included in width */
}

.card-grid {
    display: grid;
    gap: 1.5rem;
    height: 100%;
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-quote {
    color: var(--gray-800);
    line-height: 1.625;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-size: 1.125rem; /* text-lg */
    text-align: center;
}

.card-author-info {
    border-top: 1px solid var(--gray-200);
    padding-top: 1rem;
    text-align: center;
}

.author-name {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 1.125rem;
}

.author-title {
    color: var(--daikin-blue);
    font-weight: 500;
}

.author-location {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* --- Video Placeholder --- */
.video-placeholder-wrapper {
    background-color: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder-inner {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(to bottom right, var(--gray-100), var(--gray-50));
}

.video-play-button-wrapper {
    width: 3rem; /* w-12 */
    height: 3rem; /* h-12 */
    background-color: var(--gray-200);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.play-icon {
    height: 1.5rem;
    width: 1.5rem;
    color: var(--gray-500);
    margin-left: 0.25rem;
}

/* --- Navigation Arrows --- */
.carousel-arrow {
    display: none; /* hidden by default */
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    transition: all 0.2s ease-in-out;
    border: 1px solid var(--gray-200);
    background-color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--daikin-blue);
}

    .carousel-arrow:hover {
        background-color: white;
        color: var(--daikin-dark-navy);
        box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
        transform: scale(1.1);
    }

.carousel-arrow-icon {
    height: 1.5rem;
    width: 1.5rem;
}

.desktop-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;
    transform: translateY(-50%);
}

    .desktop-arrow.prev-arrow {
        left: -4rem;
    }

    .desktop-arrow.next-arrow {
        right: -4rem;
    }


/* --- Mobile Controls --- */
.mobile-controls-container {
    display: none; /* Hidden by default */
    margin-top: 1.5rem;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.dots-container-mobile {
    display: flex;
    gap: 0.5rem;
}

.mobile-arrow {
    display: flex;
    border-color: var(--gray-300);
    color: var(--gray-600);
}

    .mobile-arrow:hover {
        border-color: var(--daikin-blue);
        color: var(--daikin-blue);
    }

.mobile-icon {
    height: 1.25rem;
    width: 1.25rem;
}



.testimonial-video {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 320px;
    border-radius: 0.5rem;
    object-fit: cover;
    background: #000;
    display: block;
    margin: 0 auto;
}

/* --- Responsive Styles --- */
@media (min-width: 640px) { /* sm */
    .testimonial-container {
        padding: 0 1.5rem;
    }

    .testimonial-main-heading h2 {
        font-size: 2.25rem;
    }
}

@media (min-width: 768px) { /* md */
    .dots-container-desktop {
        display: flex;
    }

    .desktop-arrow {
        display: flex;
    }

    .mobile-controls-container {
        display: none;
    }

    .carousel-wrapper {
        width: calc(100% - 130px);
        margin: 0 auto;
    }
}

@media (min-width: 1024px) { /* lg */
    .testimonial-container {
        padding: 0 2rem;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-card.has-no-video .card-grid {
        grid-template-columns: 80%;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .testimonial-video {
        max-height: 200px;
    }
}
