/* ═══════════════════════════════════════════════════════════════════
   Testimonials Modern - Premium Dark Section
   Elegant Cards with Glassmorphism & Smooth Animations
   ═══════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════
   Main Section
   ═══════════════════════════════════════════════════════════════════ */

.testimonials-modern {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 100px 0;
    overflow: hidden;
}

/* Background Pattern */
.testimonials-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
    z-index: 1;
}

/* Decorative Quotes */
.testimonials-deco {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.testimonials-deco-quote {
    position: absolute;
    font-size: 200px;
    color: rgba(212, 175, 55, 0.03);
    font-family: Georgia, serif;
}

.testimonials-deco-quote-1 {
    top: 50px;
    left: 5%;
}

.testimonials-deco-quote-2 {
    bottom: 50px;
    right: 5%;
    transform: rotate(180deg);
}

.testimonials-modern .container {
    position: relative;
    z-index: 2;
}

/* ═══════════════════════════════════════════════════════════════════
   Section Header
   ═══════════════════════════════════════════════════════════════════ */

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-subtitle-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.testimonials-header-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.testimonials-header-title span {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonials-header-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════
   Testimonials Grid
   ═══════════════════════════════════════════════════════════════════ */

.testimonials-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ═══════════════════════════════════════════════════════════════════
   Testimonial Card
   ═══════════════════════════════════════════════════════════════════ */

.testimonial-card-modern {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 35px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.testimonial-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.testimonial-card-modern:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.testimonial-card-modern:hover::before {
    opacity: 1;
}

/* Quote Icon */
.testimonial-quote-icon {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 45px;
    height: 45px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--secondary-color);
    transition: all 0.4s ease;
    z-index: 5;
}

.testimonial-card-modern:hover .testimonial-quote-icon {
    background: var(--secondary-color);
    color: #0f172a;
    transform: scale(1.1) rotate(10deg);
}

/* Stars Rating */
.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    margin-top: 60px;
}

.testimonial-stars i {
    font-size: 1rem;
    color: #ffc107;
}

.testimonial-stars i.empty {
    color: rgba(255, 255, 255, 0.2);
}

/* Text */
.testimonial-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin: 0 0 25px 0;
    position: relative;
    padding-right: 0;
}

/* Author Info */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-avatar {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a5f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 5px 0;
}

.testimonial-info span {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* ═══════════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .testimonials-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-modern {
        padding: 80px 0;
    }

    .testimonials-grid-modern {
        grid-template-columns: 1fr;
    }

    .testimonial-card-modern {
        padding: 25px;
    }

    .testimonials-deco-quote {
        font-size: 120px;
    }
}

@media (max-width: 576px) {
    .testimonial-text {
        font-size: 0.95rem;
    }

    .testimonials-header-title {
        font-size: 1.8rem;
    }
}