/* =============================================
   Tech Testimonials Section
   ============================================= */

.tech-testimonials-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Section Header */
.tech-testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.tech-testimonials-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(38, 211, 0, 0.1);
    border: 1px solid rgba(38, 211, 0, 0.3);
    border-radius: 30px;
    font-size: 0.9rem;
    color: #26d300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.tech-testimonials-subtitle i {
    font-size: 0.6rem;
    animation: pulse 2s ease-in-out infinite;
}

.tech-testimonials-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.tech-testimonials-title span {
    color: #26d300;
    position: relative;
}

/* Slider Container */
.tech-testimonials-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* Testimonial Card */
.tech-testimonial-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px;
    margin: 20px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.tech-testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(38, 211, 0, 0.3), transparent, rgba(38, 211, 0, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tech-testimonial-card:hover::before {
    opacity: 1;
}

/* Corner decorations */
.tech-testimonial-card .corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: #26d300;
    border-style: solid;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.tech-testimonial-card:hover .corner {
    opacity: 1;
}

.tech-testimonial-card .corner.top-left {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
    border-radius: 20px 0 0 0;
}

.tech-testimonial-card .corner.top-right {
    top: -1px;
    right: -1px;
    border-width: 2px 2px 0 0;
    border-radius: 0 20px 0 0;
}

.tech-testimonial-card .corner.bottom-left {
    bottom: -1px;
    left: -1px;
    border-width: 0 0 2px 2px;
    border-radius: 0 0 0 20px;
}

.tech-testimonial-card .corner.bottom-right {
    bottom: -1px;
    right: -1px;
    border-width: 0 2px 2px 0;
    border-radius: 0 0 20px 0;
}

/* Quote Icon */
.tech-testimonial-quote {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 4rem;
    color: rgba(38, 211, 0, 0.15);
    line-height: 1;
}

/* Content */
.tech-testimonial-content {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

/* Rating */
.tech-testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 25px;
}

.tech-testimonial-rating i {
    color: #26d300;
    font-size: 1.1rem;
    filter: drop-shadow(0 0 5px rgba(38, 211, 0, 0.5));
}

.tech-testimonial-rating i.empty {
    color: rgba(255, 255, 255, 0.2);
    filter: none;
}

/* Author */
.tech-testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tech-testimonial-avatar {
    position: relative;
}

.tech-testimonial-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(38, 211, 0, 0.5);
    transition: all 0.3s ease;
}

.tech-testimonial-card:hover .tech-testimonial-avatar img {
    border-color: #26d300;
    box-shadow: 0 0 20px rgba(38, 211, 0, 0.3);
}

.tech-testimonial-avatar::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    border: 1px dashed rgba(38, 211, 0, 0.3);
    animation: rotateBorder 10s linear infinite;
}

@keyframes rotateBorder {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Default avatar */
.tech-testimonial-avatar-default {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(38, 211, 0, 0.2), rgba(38, 211, 0, 0.1));
    border: 2px solid rgba(38, 211, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #26d300;
}

.tech-testimonial-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 5px 0;
}

.tech-testimonial-info span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Navigation */
.tech-testimonials-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.tech-testimonials-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-testimonials-nav-btn:hover {
    background: rgba(38, 211, 0, 0.2);
    border-color: #26d300;
    color: #26d300;
    transform: scale(1.1);
}

/* Dots */
.tech-testimonials-dots {
    display: flex;
    gap: 10px;
}

.tech-testimonials-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tech-testimonials-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.tech-testimonials-dot.active,
.tech-testimonials-dot:hover {
    background: #26d300;
    box-shadow: 0 0 15px rgba(38, 211, 0, 0.5);
}

.tech-testimonials-dot.active::before {
    border-color: rgba(38, 211, 0, 0.3);
}

/* Background decoration */
.tech-testimonials-bg-element {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(38, 211, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.tech-testimonials-bg-element.el1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
}

.tech-testimonials-bg-element.el2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -50px;
}

/* Empty state */
.tech-testimonials-empty {
    text-align: center;
    padding: 60px 20px;
}

.tech-testimonials-empty i {
    font-size: 4rem;
    color: rgba(38, 211, 0, 0.3);
    margin-bottom: 20px;
}

.tech-testimonials-empty p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
}

/* Slick customization */
.tech-testimonials-slider .slick-slide {
    opacity: 0.5;
    transform: scale(0.9);
    transition: all 0.4s ease;
}

.tech-testimonials-slider .slick-slide.slick-current {
    opacity: 1;
    transform: scale(1);
}

.tech-testimonials-slider .slick-list {
    overflow: visible;
}

/* Responsive */
@media (max-width: 991px) {
    .tech-testimonials-section {
        padding: 80px 0;
    }
    
    .tech-testimonials-title {
        font-size: 2.2rem;
    }
    
    .tech-testimonial-card {
        padding: 30px;
        margin: 15px;
    }
    
    .tech-testimonial-content {
        font-size: 1.1rem;
    }
    
    .tech-testimonial-quote {
        font-size: 3rem;
        right: 30px;
    }
}

@media (max-width: 767px) {
    .tech-testimonials-section {
        padding: 60px 0;
    }
    
    .tech-testimonials-title {
        font-size: 1.8rem;
    }
    
    .tech-testimonial-card {
        padding: 25px;
        margin: 10px;
    }
    
    .tech-testimonial-content {
        font-size: 1rem;
    }
    
    .tech-testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .tech-testimonials-nav-btn {
        width: 40px;
        height: 40px;
    }
}
