/* Testimonials Enterprise Enhanced CSS - Design raffinato e moderno enterprise */
/* Massima specificità per override completo */

/* SEZIONE PRINCIPALE - Enterprise Background Styling */
html body .testimonials,
html body .testimonials.testimonials {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 8rem 0 !important;
    background: linear-gradient(135deg, 
        #1e293b 0%, 
        #334155 25%, 
        #475569 50%, 
        #334155 75%, 
        #1e293b 100%) !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 10 !important;
}

/* Multi-layer decorative gradients - Enterprise style */
html body .testimonials::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: radial-gradient(circle at 20% 30%, 
        rgba(59, 130, 246, 0.08) 0%, 
        transparent 50%),
    radial-gradient(circle at 80% 70%, 
        rgba(139, 92, 246, 0.08) 0%, 
        transparent 50%),
    radial-gradient(circle at 50% 50%, 
        rgba(236, 72, 153, 0.04) 0%, 
        transparent 60%) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* Grid decorativo di background */
html body .testimonials::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) !important;
    background-size: 50px 50px !important;
    opacity: 0.5 !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* Testimonials Background Enterprise */
html body .testimonials .testimonials-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
    opacity: 0.6 !important;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(96, 165, 250, 0.15) 0%, transparent 25px),
        radial-gradient(circle at 85% 25%, rgba(139, 92, 246, 0.12) 0%, transparent 20px),
        radial-gradient(circle at 25% 75%, rgba(236, 72, 153, 0.12) 0%, transparent 30px),
        radial-gradient(circle at 90% 85%, rgba(96, 165, 250, 0.15) 0%, transparent 25px),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 120px) !important;
    animation: testimonials-float 20s ease-in-out infinite !important;
}

@keyframes testimonials-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(0.5deg); }
    50% { transform: translateY(5px) rotate(-0.3deg); }
    75% { transform: translateY(-5px) rotate(0.2deg); }
}

/* Floating decorations */
html body .testimonials .testimonials-floating-decoration {
    position: absolute !important;
    border-radius: 50% !important;
    background: linear-gradient(45deg, 
        rgba(96, 165, 250, 0.1), 
        rgba(139, 92, 246, 0.1)) !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

html body .testimonials .testimonials-floating-decoration.deco-1 {
    width: 150px !important;
    height: 150px !important;
    top: 10% !important;
    left: 5% !important;
    animation: testimonials-float-1 25s ease-in-out infinite !important;
}

html body .testimonials .testimonials-floating-decoration.deco-2 {
    width: 100px !important;
    height: 100px !important;
    top: 60% !important;
    right: 8% !important;
    animation: testimonials-float-2 20s ease-in-out infinite reverse !important;
}

html body .testimonials .testimonials-floating-decoration.deco-3 {
    width: 80px !important;
    height: 80px !important;
    bottom: 15% !important;
    left: 15% !important;
    animation: testimonials-float-3 30s ease-in-out infinite !important;
}

@keyframes testimonials-float-1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(20px, -30px) rotate(90deg) scale(1.1); }
    50% { transform: translate(-10px, 20px) rotate(180deg) scale(0.9); }
    75% { transform: translate(30px, 10px) rotate(270deg) scale(1.05); }
}

@keyframes testimonials-float-2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(-25px, 15px) rotate(120deg) scale(1.15); }
    66% { transform: translate(15px, -25px) rotate(240deg) scale(0.85); }
}

@keyframes testimonials-float-3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    20% { transform: translate(15px, -20px) rotate(72deg) scale(1.1); }
    40% { transform: translate(-20px, 10px) rotate(144deg) scale(0.9); }
    60% { transform: translate(25px, 15px) rotate(216deg) scale(1.05); }
    80% { transform: translate(-15px, -10px) rotate(288deg) scale(0.95); }
}

/* Container */
html body .testimonials .container {
    position: relative !important;
    z-index: 5 !important;
}

/* Section Header - Enterprise Dark Theme */
html body .testimonials .section-header h2 {
    font-size: 2.75rem !important;
    margin-bottom: 15px !important;
    background: linear-gradient(135deg, #3B82F6, #8B5CF6) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: none !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
}

html body .testimonials .section-header p {
    font-size: 1.1rem !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    opacity: 0.9 !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Testimonial Cards - Enterprise Glassmorphism Dark Theme */
html body .testimonials .testimonial-item {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 24px !important;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 800px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: 0 !important;
}

html body .testimonials .testimonial-item.active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 3 !important;
    transform: translateX(-50%) scale(1) !important;
}

html body .testimonials .testimonial-item.prev,
html body .testimonials .testimonial-item.next {
    opacity: 0.6 !important;
    visibility: visible !important;
    z-index: 1 !important;
    transform: translateX(-50%) scale(0.9) !important;
}

html body .testimonials .testimonial-item.prev {
    transform: translateX(-130%) scale(0.85) !important;
}

html body .testimonials .testimonial-item.next {
    transform: translateX(30%) scale(0.85) !important;
}

/* Assicura che il container abbia altezza sufficiente */
html body .testimonials-slider-container {
    position: relative !important;
    min-height: 400px !important;
    padding: 2rem 0 !important;
}

/* Bottoni di controllo */
html body .testimonial-controls button {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    z-index: 10 !important;
}

html body .testimonial-controls button:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: scale(1.1) !important;
}

/* Indicatori dots */
html body .testimonial-indicators {
    display: flex !important;
    justify-content: center !important;
    gap: 1rem !important;
    margin-top: 2rem !important;
}

html body .testimonial-dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

html body .testimonial-dot.active,
html body .testimonial-dot:hover {
    background: white !important;
    transform: scale(1.2) !important;
}

/* Rating Stars - Dark Theme */
html body .testimonials .testimonial-rating {
    margin-bottom: 25px !important;
    display: flex !important;
    gap: 5px !important;
}

html body .testimonials .testimonial-rating i {
    color: #fbbf24 !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* Testimonial Text - Dark Theme */
html body .testimonials .testimonial-text {
    position: relative !important;
    padding: 5px 20px 10px !important;
    margin-bottom: 25px !important;
    font-style: italic !important;
    line-height: 1.8 !important;
}

html body .testimonials .testimonial-text p {
    font-size: 1.05rem !important;
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Quote marks styling - Dark Theme */
html body .testimonials .testimonial-text::before, 
html body .testimonials .testimonial-text::after {
    content: '"' !important;
    font-family: Georgia, serif !important;
    font-size: 80px !important;
    position: absolute !important;
    opacity: 0.15 !important;
    color: #60a5fa !important;
    line-height: 0 !important;
    transition: all 0.3s ease !important;
}

html body .testimonials .testimonial-text::before {
    top: 0 !important;
    left: -10px !important;
}

html body .testimonials .testimonial-text::after {
    bottom: -15px !important;
    right: -10px !important;
    transform: rotate(180deg) !important;
}

/* Author Details - Dark Theme */
html body .testimonials .testimonial-author {
    display: flex !important;
    align-items: center !important;
    margin-top: 25px !important;
}

html body .testimonials .testimonial-avatar {
    width: 65px !important;
    height: 65px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    margin-right: 15px !important;
    position: relative !important;
    border: 3px solid transparent !important;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)) padding-box,
        linear-gradient(45deg, #60a5fa, #8b5cf6) border-box !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

html body .testimonials .testimonial-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: all 0.5s ease !important;
}

html body .testimonials .testimonial-info h4 {
    margin-bottom: 5px !important;
    font-size: 18px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

html body .testimonials .testimonial-info p {
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px !important;
    opacity: 0.9 !important;
    font-weight: 500 !important;
}

html body .testimonials .testimonial-info .company-highlight {
    font-weight: 600 !important;
    color: #60a5fa !important;
    transition: all 0.3s ease !important;
}

/* Navigation Controls - Dark Theme */
html body .testimonials .testimonial-controls {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 110% !important;
    left: -5% !important;
    display: flex !important;
    justify-content: space-between !important;
    z-index: 10 !important;
    pointer-events: none !important;
}

html body .testimonials .testimonial-prev, 
html body .testimonials .testimonial-next {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.2) !important;
    opacity: 0.8 !important;
    pointer-events: auto !important;
}

html body .testimonials .testimonial-prev:hover, 
html body .testimonials .testimonial-next:hover {
    background: rgba(96, 165, 250, 0.2) !important;
    border-color: rgba(96, 165, 250, 0.4) !important;
    color: #60a5fa !important;
    transform: scale(1.15) !important;
    opacity: 1 !important;
    box-shadow: 0 12px 30px rgba(96, 165, 250, 0.3) !important;
}

/* Indicator Dots - Dark Theme */
html body .testimonials .testimonial-indicators {
    display: flex !important;
    justify-content: center !important;
    margin-top: 40px !important;
    gap: 12px !important;
}

html body .testimonials .testimonial-dot {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
}

html body .testimonials .testimonial-dot::after {
    content: '' !important;
    position: absolute !important;
    top: -5px !important;
    left: -5px !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    opacity: 0 !important;
    background: rgba(96, 165, 250, 0.2) !important;
    transform: scale(0) !important;
}

html body .testimonials .testimonial-dot.active {
    background-color: #60a5fa !important;
    transform: scale(1.3) !important;
}

html body .testimonials .testimonial-dot.active::after {
    opacity: 1 !important;
    transform: scale(1) !important;
}

html body .testimonials .testimonial-dot:hover {
    transform: scale(1.5) !important;
    background-color: rgba(96, 165, 250, 0.7) !important;
}

/* Quote Icon - Dark Theme */
html body .testimonials .testimonial-quote-icon {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 80px !important;
    height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0.08 !important;
    color: #60a5fa !important;
    transform: rotate(10deg) !important;
    transition: all 0.5s ease !important;
}

html body .testimonials .testimonial-item:hover .testimonial-quote-icon {
    transform: rotate(0) !important;
    opacity: 0.12 !important;
}

/* White text for testimonials title */
.testimonials .testimonials-white {
    color: white !important;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    html body .testimonials {
        padding: 6rem 0 !important;
    }
    
    html body .testimonials .testimonials-slider {
        min-height: 450px !important;
    }
    
    html body .testimonials .testimonial-item {
        padding: 30px !important;
        width: 90% !important;
        max-width: 700px !important;
    }
}

@media screen and (max-width: 768px) {
    html body .testimonials {
        padding: 5rem 0 !important;
    }
    
    html body .testimonials .section-header h2 {
        font-size: 2.2rem !important;
    }
    
    html body .testimonials .testimonial-item {
        padding: 25px !important;
        max-width: 100% !important;
    }
    
    html body .testimonials .testimonial-author {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    html body .testimonials .testimonial-avatar {
        margin-right: 0 !important;
        margin-bottom: 15px !important;
    }
}

@media screen and (max-width: 576px) {
    html body .testimonials .testimonials-slider {
        min-height: 480px !important;
    }
    
    html body .testimonials .testimonial-controls {
        position: relative !important;
        top: auto !important;
        transform: none !important;
        margin-top: 30px !important;
        justify-content: center !important;
        gap: 30px !important;
        width: 100% !important;
        left: 0 !important;
    }
    
    html body .testimonials .testimonial-indicators {
        margin-top: 25px !important;
    }
}

/* CORREZIONI SPECIFICHE PER IL CAROSELLO */
html body .testimonials-slider {
    position: relative !important;
    overflow: visible !important;
    height: auto !important;
}

html body .testimonial-item {
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 800px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: 0 !important;
}

html body .testimonial-item.active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 3 !important;
    transform: translateX(-50%) scale(1) !important;
}

html body .testimonial-item.prev,
html body .testimonial-item.next {
    opacity: 0.6 !important;
    visibility: visible !important;
    z-index: 1 !important;
    transform: translateX(-50%) scale(0.9) !important;
}

html body .testimonial-item.prev {
    transform: translateX(-130%) scale(0.85) !important;
}

html body .testimonial-item.next {
    transform: translateX(30%) scale(0.85) !important;
}

/* Assicura che il container abbia altezza sufficiente */
html body .testimonials-slider-container {
    position: relative !important;
    min-height: 400px !important;
    padding: 2rem 0 !important;
}

/* Bottoni di controllo */
html body .testimonial-controls button {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    z-index: 10 !important;
}

html body .testimonial-controls button:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: scale(1.1) !important;
}

/* Indicatori dots */
html body .testimonial-indicators {
    display: flex !important;
    justify-content: center !important;
    gap: 1rem !important;
    margin-top: 2rem !important;
}

html body .testimonial-dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

html body .testimonial-dot.active,
html body .testimonial-dot:hover {
    background: white !important;
    transform: scale(1.2) !important;
}

/* Rating Stars - Dark Theme */
html body .testimonials .testimonial-rating {
    margin-bottom: 25px !important;
    display: flex !important;
    gap: 5px !important;
}

html body .testimonials .testimonial-rating i {
    color: #fbbf24 !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* Testimonial Text - Dark Theme */
html body .testimonials .testimonial-text {
    position: relative !important;
    padding: 5px 20px 10px !important;
    margin-bottom: 25px !important;
    font-style: italic !important;
    line-height: 1.8 !important;
}

html body .testimonials .testimonial-text p {
    font-size: 1.05rem !important;
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Quote marks styling - Dark Theme */
html body .testimonials .testimonial-text::before, 
html body .testimonials .testimonial-text::after {
    content: '"' !important;
    font-family: Georgia, serif !important;
    font-size: 80px !important;
    position: absolute !important;
    opacity: 0.15 !important;
    color: #60a5fa !important;
    line-height: 0 !important;
    transition: all 0.3s ease !important;
}

html body .testimonials .testimonial-text::before {
    top: 0 !important;
    left: -10px !important;
}

html body .testimonials .testimonial-text::after {
    bottom: -15px !important;
    right: -10px !important;
    transform: rotate(180deg) !important;
}

/* Author Details - Dark Theme */
html body .testimonials .testimonial-author {
    display: flex !important;
    align-items: center !important;
    margin-top: 25px !important;
}

html body .testimonials .testimonial-avatar {
    width: 65px !important;
    height: 65px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    margin-right: 15px !important;
    position: relative !important;
    border: 3px solid transparent !important;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)) padding-box,
        linear-gradient(45deg, #60a5fa, #8b5cf6) border-box !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

html body .testimonials .testimonial-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: all 0.5s ease !important;
}

html body .testimonials .testimonial-info h4 {
    margin-bottom: 5px !important;
    font-size: 18px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

html body .testimonials .testimonial-info p {
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px !important;
    opacity: 0.9 !important;
    font-weight: 500 !important;
}

html body .testimonials .testimonial-info .company-highlight {
    font-weight: 600 !important;
    color: #60a5fa !important;
    transition: all 0.3s ease !important;
}

/* Navigation Controls - Dark Theme */
html body .testimonials .testimonial-controls {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 110% !important;
    left: -5% !important;
    display: flex !important;
    justify-content: space-between !important;
    z-index: 10 !important;
    pointer-events: none !important;
}

html body .testimonials .testimonial-prev, 
html body .testimonials .testimonial-next {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.2) !important;
    opacity: 0.8 !important;
    pointer-events: auto !important;
}

html body .testimonials .testimonial-prev:hover, 
html body .testimonials .testimonial-next:hover {
    background: rgba(96, 165, 250, 0.2) !important;
    border-color: rgba(96, 165, 250, 0.4) !important;
    color: #60a5fa !important;
    transform: scale(1.15) !important;
    opacity: 1 !important;
    box-shadow: 0 12px 30px rgba(96, 165, 250, 0.3) !important;
}

/* Indicator Dots - Dark Theme */
html body .testimonials .testimonial-indicators {
    display: flex !important;
    justify-content: center !important;
    margin-top: 40px !important;
    gap: 12px !important;
}

html body .testimonials .testimonial-dot {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
}

html body .testimonials .testimonial-dot::after {
    content: '' !important;
    position: absolute !important;
    top: -5px !important;
    left: -5px !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    opacity: 0 !important;
    background: rgba(96, 165, 250, 0.2) !important;
    transform: scale(0) !important;
}

html body .testimonials .testimonial-dot.active {
    background-color: #60a5fa !important;
    transform: scale(1.3) !important;
}

html body .testimonials .testimonial-dot.active::after {
    opacity: 1 !important;
    transform: scale(1) !important;
}

html body .testimonials .testimonial-dot:hover {
    transform: scale(1.5) !important;
    background-color: rgba(96, 165, 250, 0.7) !important;
}

/* Quote Icon - Dark Theme */
html body .testimonials .testimonial-quote-icon {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 80px !important;
    height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0.08 !important;
    color: #60a5fa !important;
    transform: rotate(10deg) !important;
    transition: all 0.5s ease !important;
}

html body .testimonials .testimonial-item:hover .testimonial-quote-icon {
    transform: rotate(0) !important;
    opacity: 0.12 !important;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    html body .testimonials {
        padding: 6rem 0 !important;
    }
    
    html body .testimonials .testimonials-slider {
        min-height: 450px !important;
    }
    
    html body .testimonials .testimonial-item {
        padding: 30px !important;
        width: 90% !important;
        max-width: 700px !important;
    }
}

@media screen and (max-width: 768px) {
    html body .testimonials {
        padding: 5rem 0 !important;
    }
    
    html body .testimonials .section-header h2 {
        font-size: 2.2rem !important;
    }
    
    html body .testimonials .testimonial-item {
        padding: 25px !important;
        max-width: 100% !important;
    }
    
    html body .testimonials .testimonial-author {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    html body .testimonials .testimonial-avatar {
        margin-right: 0 !important;
        margin-bottom: 15px !important;
    }
}

@media screen and (max-width: 576px) {
    html body .testimonials .testimonials-slider {
        min-height: 480px !important;
    }
    
    html body .testimonials .testimonial-controls {
        position: relative !important;
        top: auto !important;
        transform: none !important;
        margin-top: 30px !important;
        justify-content: center !important;
        gap: 30px !important;
        width: 100% !important;
        left: 0 !important;
    }
    
    html body .testimonials .testimonial-indicators {
        margin-top: 25px !important;
    }
}

/* CORREZIONI SPECIFICHE PER IL CAROSELLO */
html body .testimonials-slider {
    position: relative !important;
    overflow: visible !important;
    height: auto !important;
}

html body .testimonial-item {
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 800px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: 0 !important;
}

html body .testimonial-item.active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 3 !important;
    transform: translateX(-50%) scale(1) !important;
}

html body .testimonial-item.prev,
html body .testimonial-item.next {
    opacity: 0.6 !important;
    visibility: visible !important;
    z-index: 1 !important;
    transform: translateX(-50%) scale(0.9) !important;
}

html body .testimonial-item.prev {
    transform: translateX(-130%) scale(0.85) !important;
}

html body .testimonial-item.next {
    transform: translateX(30%) scale(0.85) !important;
}

/* Assicura che il container abbia altezza sufficiente */
html body .testimonials-slider-container {
    position: relative !important;
    min-height: 400px !important;
    padding: 2rem 0 !important;
}

/* Bottoni di controllo */
html body .testimonial-controls button {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    z-index: 10 !important;
}

html body .testimonial-controls button:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: scale(1.1) !important;
}

/* Indicatori dots */
html body .testimonial-indicators {
    display: flex !important;
    justify-content: center !important;
    gap: 1rem !important;
    margin-top: 2rem !important;
}

html body .testimonial-dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

html body .testimonial-dot.active,
html body .testimonial-dot:hover {
    background: white !important;
    transform: scale(1.2) !important;
}

/* Rating Stars - Dark Theme */
html body .testimonials .testimonial-rating {
    margin-bottom: 25px !important;
    display: flex !important;
    gap: 5px !important;
}

html body .testimonials .testimonial-rating i {
    color: #fbbf24 !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* Testimonial Text - Dark Theme */
html body .testimonials .testimonial-text {
    position: relative !important;
    padding: 5px 20px 10px !important;
    margin-bottom: 25px !important;
    font-style: italic !important;
    line-height: 1.8 !important;
}

html body .testimonials .testimonial-text p {
    font-size: 1.05rem !important;
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Quote marks styling - Dark Theme */
html body .testimonials .testimonial-text::before, 
html body .testimonials .testimonial-text::after {
    content: '"' !important;
    font-family: Georgia, serif !important;
    font-size: 80px !important;
    position: absolute !important;
    opacity: 0.15 !important;
    color: #60a5fa !important;
    line-height: 0 !important;
    transition: all 0.3s ease !important;
}

html body .testimonials .testimonial-text::before {
    top: 0 !important;
    left: -10px !important;
}

html body .testimonials .testimonial-text::after {
    bottom: -15px !important;
    right: -10px !important;
    transform: rotate(180deg) !important;
}

/* Author Details - Dark Theme */
html body .testimonials .testimonial-author {
    display: flex !important;
    align-items: center !important;
    margin-top: 25px !important;
}

html body .testimonials .testimonial-avatar {
    width: 65px !important;
    height: 65px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    margin-right: 15px !important;
    position: relative !important;
    border: 3px solid transparent !important;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)) padding-box,
        linear-gradient(45deg, #60a5fa, #8b5cf6) border-box !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

html body .testimonials .testimonial-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: all 0.5s ease !important;
}

html body .testimonials .testimonial-info h4 {
    margin-bottom: 5px !important;
    font-size: 18px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

html body .testimonials .testimonial-info p {
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px !important;
    opacity: 0.9 !important;
    font-weight: 500 !important;
}

html body .testimonials .testimonial-info .company-highlight {
    font-weight: 600 !important;
    color: #60a5fa !important;
    transition: all 0.3s ease !important;
}

/* Navigation Controls - Dark Theme */
html body .testimonials .testimonial-controls {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 110% !important;
    left: -5% !important;
    display: flex !important;
    justify-content: space-between !important;
    z-index: 10 !important;
    pointer-events: none !important;
}

html body .testimonials .testimonial-prev, 
html body .testimonials .testimonial-next {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.2) !important;
    opacity: 0.8 !important;
    pointer-events: auto !important;
}

html body .testimonials .testimonial-prev:hover, 
html body .testimonials .testimonial-next:hover {
    background: rgba(96, 165, 250, 0.2) !important;
    border-color: rgba(96, 165, 250, 0.4) !important;
    color: #60a5fa !important;
    transform: scale(1.15) !important;
    opacity: 1 !important;
    box-shadow: 0 12px 30px rgba(96, 165, 250, 0.3) !important;
}

/* Indicator Dots - Dark Theme */
html body .testimonials .testimonial-indicators {
    display: flex !important;
    justify-content: center !important;
    margin-top: 40px !important;
    gap: 12px !important;
}

html body .testimonials .testimonial-dot {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
}

html body .testimonials .testimonial-dot::after {
    content: '' !important;
    position: absolute !important;
    top: -5px !important;
    left: -5px !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    opacity: 0 !important;
    background: rgba(96, 165, 250, 0.2) !important;
    transform: scale(0) !important;
}

html body .testimonials .testimonial-dot.active {
    background-color: #60a5fa !important;
    transform: scale(1.3) !important;
}

html body .testimonials .testimonial-dot.active::after {
    opacity: 1 !important;
    transform: scale(1) !important;
}

html body .testimonials .testimonial-dot:hover {
    transform: scale(1.5) !important;
    background-color: rgba(96, 165, 250, 0.7) !important;
}

/* Quote Icon - Dark Theme */
html body .testimonials .testimonial-quote-icon {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 80px !important;
    height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0.08 !important;
    color: #60a5fa !important;
    transform: rotate(10deg) !important;
    transition: all 0.5s ease !important;
}

html body .testimonials .testimonial-item:hover .testimonial-quote-icon {
    transform: rotate(0) !important;
    opacity: 0.12 !important;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    html body .testimonials {
        padding: 6rem 0 !important;
    }
    
    html body .testimonials .testimonials-slider {
        min-height: 450px !important;
    }
    
    html body .testimonials .testimonial-item {
        padding: 30px !important;
        width: 90% !important;
        max-width: 700px !important;
    }
}

@media screen and (max-width: 768px) {
    html body .testimonials {
        padding: 5rem 0 !important;
    }
    
    html body .testimonials .section-header h2 {
        font-size: 2.2rem !important;
    }
    
    html body .testimonials .testimonial-item {
        padding: 25px !important;
        max-width: 100% !important;
    }
    
    html body .testimonials .testimonial-author {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    html body .testimonials .testimonial-avatar {
        margin-right: 0 !important;
        margin-bottom: 15px !important;
    }
}

@media screen and (max-width: 576px) {
    html body .testimonials .testimonials-slider {
        min-height: 480px !important;
    }
    
    html body .testimonials .testimonial-controls {
        position: relative !important;
        top: auto !important;
        transform: none !important;
        margin-top: 30px !important;
        justify-content: center !important;
        gap: 30px !important;
        width: 100% !important;
        left: 0 !important;
    }
    
    html body .testimonials .testimonial-indicators {
        margin-top: 25px !important;
    }
}

/* CORREZIONI SPECIFICHE PER IL CAROSELLO */
html body .testimonials-slider {
    position: relative !important;
    overflow: visible !important;
    height: auto !important;
}

html body .testimonial-item {
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 800px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: 0 !important;
}

html body .testimonial-item.active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 3 !important;
    transform: translateX(-50%) scale(1) !important;
}

html body .testimonial-item.prev,
html body .testimonial-item.next {
    opacity: 0.6 !important;
    visibility: visible !important;
    z-index: 1 !important;
    transform: translateX(-50%) scale(0.9) !important;
}

html body .testimonial-item.prev {
    transform: translateX(-130%) scale(0.85) !important;
}

html body .testimonial-item.next {
    transform: translateX(30%) scale(0.85) !important;
}

/* Assicura che il container abbia altezza sufficiente */
html body .testimonials-slider-container {
    position: relative !important;
    min-height: 400px !important;
    padding: 2rem 0 !important;
}

/* Bottoni di controllo */
html body .testimonial-controls button {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    z-index: 10 !important;
}

html body .testimonial-controls button:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: scale(1.1) !important;
}

/* Indicatori dots */
html body .testimonial-indicators {
    display: flex !important;
    justify-content: center !important;
    gap: 1rem !important;
    margin-top: 2rem !important;
}

html body .testimonial-dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

html body .testimonial-dot.active,
html body .testimonial-dot:hover {
    background: white !important;
    transform: scale(1.2) !important;
}

/* Rating Stars - Dark Theme */
html body .testimonials .testimonial-rating {
    margin-bottom: 25px !important;
    display: flex !important;
    gap: 5px !important;
}

html body .testimonials .testimonial-rating i {
    color: #fbbf24 !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* Testimonial Text - Dark Theme */
html body .testimonials .testimonial-text {
    position: relative !important;
    padding: 5px 20px 10px !important;
    margin-bottom: 25px !important;
    font-style: italic !important;
    line-height: 1.8 !important;
}

html body .testimonials .testimonial-text p {
    font-size: 1.05rem !important;
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Quote marks styling - Dark Theme */
html body .testimonials .testimonial-text::before, 
html body .testimonials .testimonial-text::after {
    content: '"' !important;
    font-family: Georgia, serif !important;
    font-size: 80px !important;
    position: absolute !important;
    opacity: 0.15 !important;
    color: #60a5fa !important;
    line-height: 0 !important;
    transition: all 0.3s ease !important;
}

html body .testimonials .testimonial-text::before {
    top: 0 !important;
    left: -10px !important;
}

html body .testimonials .testimonial-text::after {
    bottom: -15px !important;
    right: -10px !important;
    transform: rotate(180deg) !important;
}

/* Author Details - Dark Theme */
html body .testimonials .testimonial-author {
    display: flex !important;
    align-items: center !important;
    margin-top: 25px !important;
}

html body .testimonials .testimonial-avatar {
    width: 65px !important;
    height: 65px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    margin-right: 15px !important;
    position: relative !important;
    border: 3px solid transparent !important;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)) padding-box,
        linear-gradient(45deg, #60a5fa, #8b5cf6) border-box !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

html body .testimonials .testimonial-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: all 0.5s ease !important;
}

html body .testimonials .testimonial-info h4 {
    margin-bottom: 5px !important;
    font-size: 18px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

html body .testimonials .testimonial-info p {
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px !important;
    opacity: 0.9 !important;
    font-weight: 500 !important;
}

html body .testimonials .testimonial-info .company-highlight {
    font-weight: 600 !important;
    color: #60a5fa !important;
    transition: all 0.3s ease !important;
}

/* Navigation Controls - Dark Theme */
html body .testimonials .testimonial-controls {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 110% !important;
    left: -5% !important;
    display: flex !important;
    justify-content: space-between !important;
    z-index: 10 !important;
    pointer-events: none !important;
}

html body .testimonials .testimonial-prev, 
html body .testimonials .testimonial-next {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.2) !important;
    opacity: 0.8 !important;
    pointer-events: auto !important;
}

html body .testimonials .testimonial-prev:hover, 
html body .testimonials .testimonial-next:hover {
    background: rgba(96, 165, 250, 0.2) !important;
    border-color: rgba(96, 165, 250, 0.4) !important;
    color: #60a5fa !important;
    transform: scale(1.15) !important;
    opacity: 1 !important;
    box-shadow: 0 12px 30px rgba(96, 165, 250, 0.3) !important;
}

/* Indicator Dots - Dark Theme */
html body .testimonials .testimonial-indicators {
    display: flex !important;
    justify-content: center !important;
    margin-top: 40px !important;
    gap: 12px !important;
}

html body .testimonials .testimonial-dot {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
}

html body .testimonials .testimonial-dot::after {
    content: '' !important;
    position: absolute !important;
    top: -5px !important;
    left: -5px !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    opacity: 0 !important;
    background: rgba(96, 165, 250, 0.2) !important;
    transform: scale(0) !important;
}

html body .testimonials .testimonial-dot.active {
    background-color: #60a5fa !important;
    transform: scale(1.3) !important;
}

html body .testimonials .testimonial-dot.active::after {
    opacity: 1 !important;
    transform: scale(1) !important;
}

html body .testimonials .testimonial-dot:hover {
    transform: scale(1.5) !important;
    background-color: rgba(96, 165, 250, 0.7) !important;
}

/* Quote Icon - Dark Theme */
html body .testimonials .testimonial-quote-icon {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 80px !important;
    height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0.08 !important;
    color: #60a5fa !important;
    transform: rotate(10deg) !important;
    transition: all 0.5s ease !important;
}

html body .testimonials .testimonial-item:hover .testimonial-quote-icon {
    transform: rotate(0) !important;
    opacity: 0.12 !important;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    html body .testimonials {
        padding: 6rem 0 !important;
    }
    
    html body .testimonials .testimonials-slider {
        min-height: 450px !important;
    }
    
    html body .testimonials .testimonial-item {
        padding: 30px !important;
        width: 90% !important;
        max-width: 700px !important;
    }
}

@media screen and (max-width: 768px) {
    html body .testimonials {
        padding: 5rem 0 !important;
    }
    
    html body .testimonials .section-header h2 {
        font-size: 2.2rem !important;
    }
    
    html body .testimonials .testimonial-item {
        padding: 25px !important;
        max-width: 100% !important;
    }
    
    html body .testimonials .testimonial-author {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    html body .testimonials .testimonial-avatar {
        margin-right: 0 !important;
        margin-bottom: 15px !important;
    }
}

@media screen and (max-width: 576px) {
    html body .testimonials .testimonials-slider {
        min-height: 480px !important;
    }
    
    html body .testimonials .testimonial-controls {
        position: relative !important;
        top: auto !important;
        transform: none !important;
        margin-top: 30px !important;
        justify-content: center !important;
        gap: 30px !important;
        width: 100% !important;
        left: 0 !important;
    }
    
    html body .testimonials .testimonial-indicators {
        margin-top: 25px !important;
    }
}
