/* Testimonials Carousel Styles */
/* Swiper Core Fallback Styles - Essential when Elementor doesn't load Swiper CSS */
.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.swiper-android .swiper-slide,
.swiper-wrapper {
    transform: translate3d(0px, 0, 0);
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
}

.swiper-slide-invisible-blank {
    visibility: hidden;
}

.ewc-testimonials-container {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 36px 32px;
}

.ewc-testimonial-card {
    /* Swiper slide styles */
    height: auto; /* Let content dictate height */
    display: flex;
    flex-direction: column;
}

.ewc-t-avatar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.ewc-avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0a500; /* Default accent */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    overflow: hidden;
}

.ewc-avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ewc-avatar-info p {
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0;
    color: #fff; /* Default text color on dark bg */
    line-height: 1.2;
}

.ewc-avatar-info span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    display: block;
    margin-top: 2px;
}

.ewc-t-stars {
    color: #f0a500;
    font-size: 0.9rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.ewc-t-quote {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    line-height: 1.8;
    font-size: 0.92rem;
    margin: 0;
}

/* Pagination (Dots) */
.ewc-t-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
    position: static !important; /* Override Swiper absolute positioning */
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
    cursor: pointer;
    transition: 0.2s;
    margin: 0 !important;
}

.swiper-pagination-bullet-active {
    background: #f0a500;
    width: 24px;
    border-radius: 4px;
}

/* Arrows */
.swiper-button-prev,
.swiper-button-next {
    color: rgba(255, 255, 255, 0.6);
    width: 32px;
    height: 32px;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 1.2rem;
    font-weight: bold;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    color: #f0a500;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .ewc-testimonials-container {
        padding: 24px 20px;
    }
    
    .ewc-t-quote {
        font-size: 0.85rem;
    }
}
