/* =============================================
   TVI Testimonials — Premium Redesign
   ============================================= */

/* ── Section ── */
.testimonials_section {
    background: linear-gradient(135deg, #06101f 0%, #0b1e3d 45%, #0d2247 70%, #071629 100%);
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
}

/* Ambient glow spots */
.testimonials_section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0,100,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,100,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
/* Subtle dot-grid texture */
.testimonials_section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

/* ── Headings on dark bg ── */
.testimonials_section .tittle_new {
    display: inline-block;
    background: rgba(0, 100, 255, 0.15);
    border: 1px solid rgba(0, 120, 255, 0.3);
    color: #5baaff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.testimonials_section .tittle_new2,
.testimonials_section .tittle_new2.blue_colore {
    color: #ffffff !important;
}

/* ── Card ── */
.testimonials_section .testimonial-wrap {
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-radius: 20px !important;
    padding: 36px 25px 30px !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-top: 2px solid #0894d8 !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
    margin: 15px 8px 25px !important;
    min-height: 340px !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative;
    overflow: hidden !important;
    transition: transform 0.30s ease, box-shadow 0.30s ease, border-top-color 0.30s ease;
}

/* Shimmer line inside card top */
.testimonials_section .testimonial-wrap::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(8,148,216,0.6) 50%, transparent 100%);
    pointer-events: none;
}

.testimonials_section .testimonial-wrap:hover {
    transform: translateY(-10px);
    border-top-color: #08d4ff !important;
    box-shadow:
        0 24px 60px rgba(8, 148, 216, 0.22),
        0 8px 32px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.testimonials_section .testimonial-wrap.testimonial-wrap2 {
    border-top-color: #2ecbf5 !important;
}
.testimonials_section .testimonial-wrap.testimonial-wrap2:hover {
    border-top-color: #5ee0ff !important;
    box-shadow:
        0 24px 60px rgba(46, 203, 245, 0.18),
        0 8px 32px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.testimonials_section .testimonial-wrap.testimonial-wrap3 {
    border-top-color: #ff4d6d !important;
}
.testimonials_section .testimonial-wrap.testimonial-wrap3:hover {
    border-top-color: #ff6b87 !important;
    box-shadow:
        0 24px 60px rgba(255, 77, 109, 0.18),
        0 8px 32px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

/* ── Stars ── */
.tvi-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.tvi-stars i {
    color: #fbbf24;
    font-size: 13px;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.55);
}

/* ── Quote text ── */
.testimonials_section .testimonial-content {
    flex: 1 !important;
    margin-bottom: 0 !important;
    position: relative;
    z-index: 1;
}
.testimonial-text {
    height: 145px;
    overflow-y: auto;
    padding-right: 10px;
}
/* width */
.testimonial-text::-webkit-scrollbar {
  width: 5px;
}

/* Track */
.testimonial-text::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
 
/* Handle */
.testimonial-text::-webkit-scrollbar-thumb {
  background: rgb(147, 135, 248); 
  border-radius: 10px;
}

/* Handle on hover */
.testimonial-text::-webkit-scrollbar-thumb:hover {
  background: #6545f7; 
}
.testimonials_section .testimonial-wrap p,
.testimonials_section .testimonial-wrap .testimonial-text p {
    color: rgba(210, 225, 245, 0.82) !important;
    font-size: 15px !important;
    line-height: 1.88 !important;
    font-style: italic;
    margin: 0;
}

/* ── Author row ── */
.testimonials_section .author-info {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-top: 26px !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
}

/* ── Avatar with glow ring ── */
.tvi-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0057a9 0%, #0894d8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 0 0 2px rgba(8, 148, 216, 0.45), 0 4px 14px rgba(0, 0, 0, 0.4);
}

.testimonial-wrap2 .tvi-author-avatar {
    background: linear-gradient(135deg, #0894d8 0%, #2ecbf5 100%);
    box-shadow: 0 0 0 2px rgba(46, 203, 245, 0.45), 0 4px 14px rgba(0, 0, 0, 0.4);
}

.testimonial-wrap3 .tvi-author-avatar {
    background: linear-gradient(135deg, #c9103a 0%, #ff4d6d 100%);
    box-shadow: 0 0 0 2px rgba(255, 77, 109, 0.45), 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* ── Author meta ── */
.tvi-author-meta {
    flex: 1;
    min-width: 0;
}

.testimonials_section .author-name,
.testimonials_section h6.author-name {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    margin: 0 0 3px 0 !important;
}

.testimonials_section .subtitle {
    color: #08c6ff !important;
    font-size: 13px;
    display: block;
    opacity: 0.85;
}

/* Hide old hero logo */
.testimonials_section .hero_W {
    display: none !important;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .testimonials_section {
        padding: 60px 0 50px;
    }
}

@media (max-width: 767px) {
    .testimonials_section .testimonial-wrap {
        min-height: auto !important;
        margin: 10px 5px 15px !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.06) !important;
    }
}
