/* Testimonials Carousel - Clean Professional Design */

/* AGGRESSIVE OVERRIDES - Remove ALL shadows and borders */
.w3l-companies-hny-6 *,
.w3l-companies-hny-6 *::before,
.w3l-companies-hny-6 *::after {
    box-shadow: none !important;
}

/* Remove ALL pseudo-element content */
.w3l-companies-hny-6 .owl-carousel .owl-stage::after,
.w3l-companies-hny-6 .owl-carousel .owl-stage::before,
.w3l-companies-hny-6 .owl-stage::after,
.w3l-companies-hny-6 .owl-stage::before {
    content: none !important;
    display: none !important;
}

.testimonial-content,
.testimonial,
.testi-des,
.test-img,
.peopl,
.testimonial-content *,
.testimonial *,
.testi-des *,
.test-img *,
.peopl * {
    border: none !important;
    outline: none !important;
    background: transparent !important;
}

/* Restore only the main container background */
.testimonial-content {
    background: var(--bg-color) !important;
}

/* Container */
.cusrtomer-layout {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
    overflow: hidden !important;
}

.w3l-companies-hny-6 {
    position: relative;
    overflow: hidden;
}

#owl-demo1 {
    padding: 60px 0;
    overflow: hidden !important;
}

.owl-stage-outer {
    overflow: hidden !important;
    padding: 50px 0;
}

.owl-stage {
    display: flex !important;
    align-items: center !important;
}

/* Hide non-active items */
.owl-item {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.5s ease, visibility 0.5s ease !important;
}

.owl-item.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.owl-item.active .item {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Wide testimonial card */
.testimonial-content {
    position: relative;
    transition: all 0.4s ease;
    border-radius: 24px;
    overflow: visible;
    max-width: 1000px;
    width: 92%;
    margin: 0 auto;
    background: var(--bg-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 60px 50px 50px 50px;
}

/* Large quote icon inside card */
.testimonial-content::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free', 'FontAwesome';
    font-weight: 900;
    position: absolute;
    top: 40px;
    left: 50px;
    font-size: 120px;
    color: rgba(102, 126, 234, 0.12);
    z-index: 0;
    transition: all 0.4s ease;
}

.testimonial-content:hover::before {
    transform: rotate(-5deg) scale(1.05);
    color: rgba(102, 126, 234, 0.2);
}

/* Hide external quote */
.quote-special {
    display: none !important;
}

/* Hover effect */
.testimonial-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.25);
}

/* Testimonial inner */
.testimonial {
    position: relative;
    z-index: 1;
}

/* Remove oval border and fix image - ULTRA AGGRESSIVE */
.test-img {
    overflow: hidden;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
    background-image: none !important;
    background-color: transparent !important;
    -webkit-mask: none !important;
    mask: none !important;
    clip-path: none !important;
    width: 90px !important;
    height: 90px !important;
    margin: 0 auto !important;
}

.test-img * {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
    background-image: none !important;
}

.test-img img {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.test-img::before,
.test-img::after {
    display: none !important;
    content: none !important;
}

/* Force remove any borders or shadows on image wrapper */
.testi-des {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
    background-image: none !important;
    background-color: transparent !important;
    position: relative !important;
}

.testi-des * {
    background-image: none !important;
}

.testi-des::before,
.testi-des::after {
    display: none !important;
    content: none !important;
}

/* Remove any pseudo-elements creating circles */
.testimonial::before,
.testimonial::after {
    display: none !important;
    content: none !important;
}

/* Remove any SVG or shapes */
.w3l-companies-hny-6 svg,
.testimonial-content svg,
.testimonial svg,
.testi-des svg,
.test-img svg {
    display: none !important;
}

.testimonial-content:hover .test-img {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3) !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
}

.testimonial-content:hover .test-img img {
    transform: scale(1.05);
}

/* Text hover */
.testimonial-content:hover h3 {
    color: var(--primary-color);
}

.testimonial-content:hover .indentity {
    color: var(--primary-color);
    opacity: 0.9;
}

/* Blockquote */
blockquote {
    position: relative;
    z-index: 1;
    margin: 25px 0;
}

/* Navigation */
.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.owl-carousel .owl-nav button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border-radius: 50% !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.5);
    pointer-events: all;
    font-size: 24px !important;
}

.owl-carousel .owl-nav button:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.7);
}

.owl-carousel .owl-nav button.owl-prev {
    position: absolute;
    left: 40px;
}

.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    right: 40px;
}

/* Dots */
.owl-carousel .owl-dots {
    margin-top: 70px !important;
    text-align: center;
}

.owl-carousel .owl-dot {
    display: inline-block;
    margin: 0 8px;
}

.owl-carousel .owl-dot span {
    width: 14px;
    height: 14px;
    background: rgba(102, 126, 234, 0.2) !important;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

.owl-carousel .owl-dot.active span {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    transform: scale(1.3);
}

.owl-carousel .owl-dot:hover span {
    background: rgba(102, 126, 234, 0.5) !important;
}

/* Responsive */
@media (max-width: 1200px) {
    .testimonial-content {
        max-width: 900px;
        width: 90%;
    }
}

@media (max-width: 991px) {
    .testimonial-content {
        max-width: 95%;
        width: 95%;
        padding: 50px 40px 40px 40px;
    }

    .testimonial-content::before {
        font-size: 90px;
        top: 35px;
        left: 40px;
    }

    .owl-carousel .owl-nav button {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
    }

    .owl-carousel .owl-nav button.owl-prev {
        left: 20px;
    }

    .owl-carousel .owl-nav button.owl-next {
        right: 20px;
    }

    #owl-demo1 {
        padding: 50px 0;
    }
}

@media (max-width: 768px) {
    .testimonial-content {
        padding: 45px 35px 35px 35px;
    }

    .testimonial-content::before {
        font-size: 70px;
        top: 30px;
        left: 35px;
    }
}

@media (max-width: 480px) {
    .testimonial-content {
        padding: 40px 25px 25px 25px;
    }

    .testimonial-content::before {
        font-size: 50px;
        top: 25px;
        left: 25px;
    }

    .owl-carousel .owl-nav button {
        width: 45px !important;
        height: 45px !important;
        font-size: 18px !important;
    }

    .owl-carousel .owl-nav button.owl-prev {
        left: 10px;
    }

    .owl-carousel .owl-nav button.owl-next {
        right: 10px;
    }
}