/* Modern Clean Testimonials Design */

/* Override section background */
.testimonials-section {
    background: #f8f9fa;
    position: relative;
    overflow: visible;
}

/* Remove pulsing background */
.testimonials-section::before {
    display: none;
}

/* New layout for full width design */
.testimonials-wrapper-new {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.testimonial-header-section {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 30px;
}

.testimonials-content-wrapper {
    display: contents;
}

/* Clean card design - equal size for all */
.testimonial-card-new {
    width: 100%;
    min-height: 380px;
    background: white !important;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    position: relative !important;
    right: auto !important;
    top: auto !important;
}

.testimonial-card-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-card-new.active {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-card-new:not(.active) {
    opacity: 0.85;
}

/* Video section */
.video-section {
    height: 200px;
    background: #000;
}

/* Clean play button */
.play-button {
    background: rgba(255, 255, 255, 0.95) !important;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Content adjustments */
.content-section {
    padding: 20px;
    background: white;
}

.quote-icon-new {
    width: 30px;
    height: 30px;
    fill: #e0e7ff;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.5;
    color: #4a5568;
    margin-bottom: 15px;
}

.testimonial-text strong {
    color: #4a90e2;
}

.author-section {
    border-top: 1px solid #e2e8f0;
    padding-top: 15px;
    gap: 12px;
}

.author-university-icon {
    width: 32px;
    height: 32px;
    filter: none;
}

.author-avatar {
    width: 36px;
    height: 36px;
    font-size: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.author-name-new {
    font-size: 15px;
    color: #2d3748;
}

.author-designation {
    font-size: 12px;
    color: #718096;
}

/* Video duration style */
.video-duration {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
}

/* Style 20: Consensus Rings */
.header-style-20 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    color: #1a1a1a;
    position: relative;
    padding: 40px 0;
}

.header-style-20 .hash-decoration {
    position: absolute;
    font-size: 10px;
    font-family: 'Courier New', monospace;
    opacity: 0.6;
    letter-spacing: 1px;
    z-index: 1;
}

.header-style-20 .hash-decoration.left {
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    color: #0066ff;
}

.header-style-20 .hash-decoration.right {
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    color: #00d46a;
}

.consensus-ring {
    position: absolute;
    border: 2px solid #0066ff;
    border-radius: 50%;
    opacity: 0.2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: consensusExpand 3s ease-out infinite;
}

.consensus-ring:nth-child(1) {
    width: 100px;
    height: 100px;
    animation-delay: 0s;
}

.consensus-ring:nth-child(2) {
    width: 150px;
    height: 150px;
    animation-delay: 1s;
}

.consensus-ring:nth-child(3) {
    width: 200px;
    height: 200px;
    animation-delay: 2s;
}

@keyframes consensusExpand {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

/* Featured By Card */
.featured-by-card {
    background: white;
    border-radius: 12px;
    padding: 20px 40px;
    margin-top: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: inline-block;
}

.featured-by-title {
    font-size: 16px;
    font-weight: 600;
    color: #4a5568;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

/* Remove blinking animations only for testimonial cards */
.testimonial-card-new::before,
.testimonial-card-new::after {
    animation: none !important;
}

/* Remove shine effect to prevent any blinking appearance */
.testimonial-card-new::after {
    display: none;
}

/* Remove animations only for testimonial cards to prevent blinking */
.testimonial-card-new,
.testimonial-card-new *,
.testimonial-card-new::before,
.testimonial-card-new::after {
    animation: none !important;
}

/* Keep cards exactly the same size */
.testimonial-card-new,
.testimonial-card-new.active,
.testimonial-card-new:not(.active) {
    width: 100% !important;
    transform: none !important;
    position: relative !important;
    right: auto !important;
    opacity: 1 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-content-wrapper {
        flex-direction: column;
    }
    
    .testimonial-card-new,
    .testimonial-card-new.active,
    .testimonial-card-new:not(.active) {
        transform: none;
        opacity: 1;
        width: 300px;
    }
}