/* ============================================
   TESTIMONIALS SUCCESS DASHBOARD - PROFESSIONAL
   Enhanced design for maximum impact
   ============================================ */

/* Section Container */
.testimonials-dashboard-section {
    padding: 100px 0 120px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-dashboard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: radial-gradient(ellipse at top, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.testimonials-badge i {
    font-size: 1.2rem;
}

.testimonials-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    line-height: 1.2;
}

.testimonials-title .highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.testimonials-count {
    font-size: 1.4rem;
    color: #64748b;
    font-weight: 600;
}

.testimonials-count .number {
    color: #667eea;
    font-weight: 900;
    font-size: 1.6rem;
}

/* ============================================
   SUCCESS METRICS DASHBOARD
   ============================================ */
.success-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.metric-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 35px 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.03);
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.metric-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 50px rgba(102, 126, 234, 0.2),
        0 8px 20px rgba(118, 75, 162, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.metric-card:hover::before {
    transform: scaleX(1);
}

.metric-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.metric-icon i {
    font-size: 32px;
    color: #ffffff;
}

.metric-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
    letter-spacing: -1px;
}

.metric-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 5px;
}

.metric-sublabel {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 600;
}

/* ============================================
   FEATURED SUCCESS STORY - REDESIGNED
   ============================================ */
.featured-story {
    margin: 60px 0;
    position: relative;
}

.featured-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 32px;
    padding: 50px;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 50px;
    align-items: center;
    box-shadow: 
        0 30px 90px rgba(102, 126, 234, 0.4),
        0 12px 45px rgba(118, 75, 162, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.featured-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 5s ease-in-out infinite;
}

.featured-content::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 7s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.featured-image-wrapper {
    position: relative;
    z-index: 1;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
    padding: 25px;
    border-radius: 32px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.featured-image {
    width: 330px;
    height: 400px;
    border-radius: 24px;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* User Icon Fallback for Featured Image */
.featured-image.no-photo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.featured-image.no-photo::before {
    content: '\F4DA';
    font-family: 'bootstrap-icons';
    font-size: 140px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 
        0 8px 25px rgba(251, 191, 36, 0.6),
        0 3px 10px rgba(245, 158, 11, 0.4);
    z-index: 2;
    border: 3px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(5px);
    letter-spacing: 0.5px;
}

.featured-details {
    color: white;
    position: relative;
    z-index: 1;
}

.featured-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.featured-name {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -1px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.featured-role {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    font-weight: 600;
}

.featured-stats {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
}

.featured-stat {
    background: rgba(255, 255, 255, 0.2);
    padding: 18px 28px;
    border-radius: 18px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    flex: 1;
}

.featured-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 6px;
    font-weight: 600;
}

.featured-stat-value {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.featured-quote {
    font-size: 1.25rem;
    line-height: 1.9;
    font-style: italic;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.98);
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.featured-course {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.25);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.featured-course i {
    font-size: 1.2rem;
}

/* ============================================
   TESTIMONIAL GRID - HORIZONTAL SLIDER
   ============================================ */
.testimonials-grid-container {
    position: relative;
    margin-top: 60px;
    padding: 0 80px;
}

.testimonials-grid {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-grid::-webkit-scrollbar {
    display: none;
}

/* Testimonial Navigation Arrows */
.testimonial-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border: 2px solid rgba(102, 126, 234, 0.3);
    color: #667eea;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.testimonial-scroll-arrow:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.testimonial-scroll-arrow.left {
    left: 10px;
}

.testimonial-scroll-arrow.right {
    right: 10px;
}

.testimonial-scroll-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.testimonial-card-flip {
    background: #ffffff;
    border-radius: 28px;
    padding: 0;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    scroll-snap-align: center;
    display: grid;
    grid-template-columns: 350px 1fr;
    min-height: 320px;
    animation: cardSlideIn 1.2s ease-out;
}

.testimonial-card-flip:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.18),
        0 8px 20px rgba(0, 0, 0, 0.12),
        inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Gradient Top Bar */
/* Gradient Bar - Top accent with shimmer */
.testimonial-gradient-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-from) 0%, var(--gradient-to) 100%);
    z-index: 3;
    overflow: hidden;
}

.testimonial-gradient-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Avatar Section - Full Cover Photo Panel */
.testimonial-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    background: linear-gradient(135deg, 
        var(--gradient-from) 0%, 
        var(--gradient-to) 100%);
    border-right: none;
    position: relative;
    overflow: hidden;
}

.testimonial-avatar-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 60%,
        rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
    transition: opacity 0.4s ease;
}

.testimonial-card-flip:hover .testimonial-avatar-section::before {
    opacity: 0.8;
}

.testimonial-avatar-large {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: none;
    border-radius: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.testimonial-card-flip:hover .testimonial-avatar-large {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* User Icon Fallback for Avatar - Full Cover */
.testimonial-avatar-large.no-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gradient-from) 0%, var(--gradient-to) 100%);
    color: rgba(255, 255, 255, 0.3);
    font-size: 8rem;
    border-radius: 0;
}

/* Content Section - Right Side with Material Effect */
.testimonial-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 45px 50px;
    gap: 18px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(249, 250, 251, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.testimonial-content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, 
        rgba(var(--gradient-from-rgb), 0.03) 0%, 
        transparent 70%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.testimonial-card-flip:hover .testimonial-content-wrapper::before {
    opacity: 0.6;
}

/* Verified Badge - Bottom overlay */
.testimonial-verified-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: #10b981;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 0 3px rgba(16, 185, 129, 0.3);
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.testimonial-card-flip:hover .testimonial-verified-badge {
    transform: translateX(-50%) scale(1.15) rotate(10deg);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.4),
        0 0 0 4px rgba(16, 185, 129, 0.5);
}

.testimonial-verified-badge i {
    transition: transform 0.4s ease;
}

.testimonial-card-flip:hover .testimonial-verified-badge i {
    transform: rotate(10deg);
}

/* Student Info Section */
.testimonial-info-section {
    text-align: left;
    padding: 0;
    margin-bottom: 20px;
}

.testimonial-name-large {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gradient-from) 0%, var(--gradient-to) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 8px 0;
    letter-spacing: -0.8px;
    line-height: 1.2;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card-flip:hover .testimonial-name-large {
    letter-spacing: 0px;
    transform: translateX(5px);
}

.testimonial-designation {
    font-size: 1.05rem;
    color: #475569;
    font-weight: 600;
    margin: 0 0 15px 0;
    line-height: 1.5;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-designation::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-from) 0%, var(--gradient-to) 100%);
    transition: width 0.4s ease;
}

.testimonial-card-flip:hover .testimonial-designation::before {
    width: 60px;
}

/* Rating Stars - Left aligned for horizontal layout */
.testimonial-rating-centered {
    display: flex;
    justify-content: flex-start;
    gap: 6px;
    padding: 0;
    margin-bottom: 20px;
}

.testimonial-rating-centered .star {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.testimonial-rating-centered .star.active {
    color: #fbbf24;
    filter: drop-shadow(0 3px 6px rgba(251, 191, 36, 0.4));
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% { 
        filter: drop-shadow(0 3px 6px rgba(251, 191, 36, 0.4));
    }
    50% { 
        filter: drop-shadow(0 5px 12px rgba(251, 191, 36, 0.6));
    }
}

.testimonial-rating-centered .star.inactive {
    color: #e5e7eb;
}

.testimonial-card-flip:hover .testimonial-rating-centered .star.active {
    transform: scale(1.2) rotate(10deg);
}

/* Feedback Section - Simplified for horizontal layout */
.testimonial-feedback {
    padding: 0;
    position: relative;
    background: transparent;
    margin: 0;
    border-radius: 0;
    border: none;
    flex: 1;
}

.quote-icon-left {
    position: absolute;
    top: -10px;
    left: 0;
    font-size: 2.5rem;
    color: var(--gradient-from);
    opacity: 0.2;
    line-height: 1;
    animation: floatQuoteLeft 3s ease-in-out infinite;
}

@keyframes floatQuoteLeft {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.quote-icon-right {
    position: absolute;
    bottom: -10px;
    right: 0;
    font-size: 2.5rem;
    color: var(--gradient-to);
    opacity: 0.2;
    line-height: 1;
    transform: rotate(180deg);
    animation: floatQuoteRight 3s ease-in-out infinite 1.5s;
}

@keyframes floatQuoteRight {
    0%, 100% { transform: rotate(180deg) translateY(0px); }
    50% { transform: rotate(180deg) translateY(-8px); }
}

.feedback-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
    margin: 0;
    font-style: italic;
    font-weight: 500;
    text-align: left;
    position: relative;
    z-index: 1;
    padding: 0 30px;
    transition: all 0.3s ease;
}

.testimonial-card-flip:hover .feedback-text {
    color: #1e293b;
}

/* Technology Badge - Enhanced with animations */
.testimonial-tech-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gradient-from) 0%, var(--gradient-to) 100%);
    color: white;
    padding: 14px 28px;
    margin: 20px 0 0 0;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.8px;
    position: relative;
    overflow: hidden;
}

.testimonial-tech-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 70%);
    animation: badgeShine 3s infinite;
}

@keyframes badgeShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.testimonial-card-flip:hover .testimonial-tech-badge {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.25),
        0 0 25px rgba(var(--gradient-from-rgb), 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.testimonial-tech-badge i {
    transition: transform 0.4s ease;
}

.testimonial-card-flip:hover .testimonial-tech-badge i {
    transform: rotate(360deg) scale(1.2);
}

.testimonial-tech-badge i {
    font-size: 1.4rem;
}

/* CSS Variable Setup for Gradient Colors */
.testimonial-card-flip[style*="--gradient-from: #f97316"] {
    --gradient-from-rgb: 249, 115, 22;
    --gradient-to-rgb: 234, 88, 12;
}

.testimonial-card-flip[style*="--gradient-from: #3b82f6"] {
    --gradient-from-rgb: 59, 130, 246;
    --gradient-to-rgb: 37, 99, 235;
}

.testimonial-card-flip[style*="--gradient-from: #8b5cf6"] {
    --gradient-from-rgb: 139, 92, 246;
    --gradient-to-rgb: 124, 58, 237;
}

.testimonial-card-flip[style*="--gradient-from: #10b981"] {
    --gradient-from-rgb: 16, 185, 129;
    --gradient-to-rgb: 5, 150, 105;
}

.testimonial-card-flip[style*="--gradient-from: #06b6d4"] {
    --gradient-from-rgb: 6, 182, 212;
    --gradient-to-rgb: 8, 145, 178;
}

.testimonial-card-flip[style*="--gradient-from: #ec4899"] {
    --gradient-from-rgb: 236, 72, 153;
    --gradient-to-rgb: 219, 39, 119;
}

/* ============================================
   COMPANY LOGOS SHOWCASE
   ============================================ */
.companies-showcase {
    margin: 80px 0 60px;
    text-align: center;
}

.companies-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 40px;
}

.companies-title .count {
    color: #667eea;
    font-weight: 900;
}

.companies-marquee {
    overflow: hidden;
    padding: 30px 0;
    background: linear-gradient(145deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 24px;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.companies-track {
    display: flex;
    gap: 60px;
    animation: marquee 30s linear infinite;
    width: fit-content;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.company-logo-item {
    flex-shrink: 0;
    padding: 15px 40px;
    transition: all 0.3s ease;
}

.company-logo-item:hover {
    transform: scale(1.1);
}

.company-logo-item span {
    transition: all 0.3s ease;
}

.company-logo-item:hover span {
    filter: none !important;
}

/* ============================================
   LIVE PLACEMENT TICKER
   ============================================ */
.placement-ticker {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 28px;
    padding: 35px 40px;
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-top: 60px;
}

.ticker-header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.ticker-title-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ticker-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.ticker-icon i {
    font-size: 24px;
    color: #ffffff;
}

.ticker-title-section h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(239, 68, 68, 0.15);
    padding: 10px 20px;
    border-radius: 25px;
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.live-dot {
    width: 12px;
    height: 12px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.8);
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 15px rgba(239, 68, 68, 0.8);
    }
    50% {
        opacity: 0.3;
        box-shadow: 0 0 5px rgba(239, 68, 68, 0.4);
    }
}

.live-text {
    font-weight: 800;
    color: #ef4444;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.ticker-feed {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 20px 0;
}

.ticker-items-scroll {
    display: flex;
    gap: 25px;
    animation: tickerScroll 25s linear infinite;
    width: fit-content;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ticker-item-card {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08);
    padding: 20px 30px;
    border-radius: 16px;
    display: flex;
    gap: 18px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    min-width: 400px;
}

.ticker-item-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.ticker-item-icon i {
    font-size: 22px;
    color: #ffffff;
}

.ticker-item-content {
    flex: 1;
}

.ticker-item-text {
    font-size: 1.05rem;
    color: #ffffff;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.ticker-item-text strong {
    font-weight: 900;
    color: #f093fb;
}

.ticker-item-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.ticker-item-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ticker-item-meta i {
    font-size: 1rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1400px) {
    .testimonials-grid-container {
        padding: 0 45px;
    }
    .testimonial-card-flip {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        grid-template-columns: 320px 1fr;
    }
    .testimonial-content-wrapper {
        padding: 40px 45px;
    }
}

@media (max-width: 1200px) {
    .featured-content {
        grid-template-columns: 320px 1fr;
        gap: 40px;
    }
    
    .featured-image {
        width: 270px;
        height: 340px;
    }
}

@media (max-width: 1024px) {
    .success-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-title {
        font-size: 2.8rem;
    }
    
    .featured-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px;
    }
    
    .testimonials-grid-container {
        padding: 0 40px;
    }
    .testimonial-scroll-arrow {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    .testimonial-card-flip {
        grid-template-columns: 280px 1fr;
        min-height: 300px;
    }
    .testimonial-content-wrapper {
        padding: 35px 40px;
        gap: 16px;
    }
    .testimonial-name-large {
        font-size: 1.6rem;
    }
    .testimonial-designation {
        font-size: 1rem;
    }
    .feedback-text {
        font-size: 1rem;
        padding: 0 25px;
    }
    
    .featured-image-wrapper {
        margin: 0 auto;
    }
    
    .featured-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .testimonials-dashboard-section {
        padding: 60px 0 80px;
    }
    
    .testimonials-title {
        font-size: 2.2rem;
    }
    
    .success-metrics {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonials-grid-container {
        padding: 0 50px;
    }
    .testimonials-grid {
        gap: 30px;
    }
    .testimonial-card-flip {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .testimonial-avatar-section {
        border-right: none;
        border-bottom: 2px solid rgba(0, 0, 0, 0.05);
        padding: 30px;
        text-align: center;
    }
    .testimonial-gradient-bar {
        width: 100%;
        height: 6px;
        top: 0;
        left: 0;
    }
    .testimonial-content-wrapper {
        padding: 30px;
    }
    .testimonial-info-section {
        text-align: center;
    }
    .testimonial-rating-centered {
        justify-content: center;
    }
    .feedback-text {
        text-align: center;
    }
    .testimonial-tech-badge {
        margin: 20px auto 0;
    }
    .testimonial-scroll-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    .testimonial-scroll-arrow.left {
        left: 5px;
    }
    .testimonial-scroll-arrow.right {
        right: 5px;
    }
    
    .testimonial-avatar-large {
        width: 120px;
        height: 120px;
    }
    
    .testimonial-name-large {
        font-size: 1.5rem;
    }
    
    .testimonial-designation {
        font-size: 1rem;
    }
    
    .testimonial-feedback {
        padding: 18px 30px 22px;
        margin: 0 15px 20px;
    }
    
    .feedback-text {
        font-size: 1rem;
    }
    
    .testimonial-tech-badge {
        padding: 15px 25px;
        margin: 0 15px 25px;
        font-size: 1rem;
    }
    
    .featured-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .ticker-header-section {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .ticker-item-card {
        min-width: 350px;
    }
}

@media (max-width: 480px) {
    .testimonials-title {
        font-size: 1.8rem;
    }
    
    .testimonials-grid-container {
        padding: 0 30px;
    }
    .testimonial-card-flip {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }
    .testimonial-scroll-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .testimonial-scroll-arrow.left {
        left: 3px;
    }
    .testimonial-scroll-arrow.right {
        right: 3px;
    }
    
    .testimonial-avatar-large {
        width: 110px;
        height: 110px;
    }
    
    .testimonial-avatar-large.no-photo::before {
        font-size: 60px;
    }
    
    .testimonial-name-large {
        font-size: 1.35rem;
    }
    
    .testimonial-designation {
        font-size: 0.95rem;
    }
    
    .testimonial-rating-centered .star {
        font-size: 1.3rem;
    }
    
    .testimonial-feedback {
        padding: 15px 25px 20px;
    }
    
    .feedback-text {
        font-size: 0.95rem;
    }
    
    .quote-icon-left,
    .quote-icon-right {
        font-size: 2rem;
    }
    
    .testimonial-tech-badge {
        font-size: 0.95rem;
        padding: 14px 22px;
    }
    
    .featured-content {
        padding: 30px 25px;
    }
    
    .featured-image {
        width: 250px;
        height: 300px;
    }
    
    .featured-name {
        font-size: 2.2rem;
    }
    
    .companies-track {
        gap: 40px;
    }
    
    .ticker-item-card {
        min-width: 300px;
        padding: 15px 20px;
    }
}
