.testimonial-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 2rem;
}

.testimonial-popup.active {
    opacity: 1;
    visibility: visible;
}

.testimonial-popup-content {
    max-width: 700px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 3rem;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.testimonial-popup.active .testimonial-popup-content {
    transform: scale(1);
}

.testimonial-popup-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.testimonial-popup-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.testimonial-popup-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.testimonial-popup-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.testimonial-popup-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-popup-role {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
}

.testimonial-popup-quote {
    font-size: 1.25rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.testimonial-popup-quote::before {
    content: '"';
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    display: block;
    margin-bottom: -1rem;
    font-family: Georgia, serif;
}

.testimonial-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.testimonial-nav-prev {
    left: 2rem;
}

.testimonial-nav-next {
    right: 2rem;
}

@media (max-width: 768px) {
    .testimonial-popup-content {
        padding: 2rem;
    }
    
    .testimonial-popup-header {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-popup-quote {
        font-size: 1.1rem;
    }
    
    .testimonial-nav {
        display: none;
    }
}
