/* ===================================================================
 * FEATURED TESTIMONIAL SECTION
 * Single premium spotlight with VIP treatment aesthetic
 * Dark matte background + Centered hero layout
 * ===================================================================
 */

.testimonials-featured {
    position: relative;
    padding: 120px 24px 100px;
    background: #050505;
    overflow: hidden;
}

/* Subtle gradient overlay for depth */
.testimonials-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(122, 76, 255, 0.04), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.testimonials-featured-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

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

.testimonials-featured .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #FFD700;
    margin-bottom: 20px;
}

.testimonials-featured .section-title {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 1.2;
}

.testimonials-featured .section-subtitle {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================================================
 * FEATURED TESTIMONIAL CARD
 * ===================================================================
 */

.featured-testimonial-card {
    position: relative;
    background: rgba(20, 20, 25, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 60px 50px;
    margin-bottom: 40px;
    overflow: hidden;
}

/* Decorative Quote Background */
.quote-bg {
    position: absolute;
    top: 30px;
    left: 40px;
    font-size: 140px;
    color: rgba(122, 76, 255, 0.08);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

/* Testimonial Quote - Serif, Italic, Large */
.testimonial-quote {
    position: relative;
    z-index: 1;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 28px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    margin: 0 0 50px 0;
    padding: 0;
}

/* Client Profile */
.client-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.client-avatar {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(122, 76, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.client-avatar i {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.5);
}

.client-details {
    text-align: left;
}

.client-name {
    font-size: 22px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.client-title {
    font-size: 16px;
    font-weight: 300;
    color: rgba(122, 76, 255, 0.9);
    margin: 0;
    line-height: 1.4;
}

/* Project Metrics */
.project-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 30px;
    background: rgba(10, 10, 15, 0.4);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.metric-value {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #7A4CFF, #A78BFA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.metric-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
}

/* ===================================================================
 * CALL TO ACTION
 * ===================================================================
 */

.testimonials-cta {
    text-align: center;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: transparent;
    border: 2px solid rgba(122, 76, 255, 0.4);
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 16px;
    text-decoration: none;
}

.btn-ghost:hover {
    background: rgba(122, 76, 255, 0.1);
    border-color: rgba(122, 76, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(122, 76, 255, 0.3);
}

.btn-ghost i {
    transition: transform 0.3s ease;
}

.btn-ghost:hover i {
    transform: translateX(4px);
}

.cta-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.cta-guarantee i {
    color: rgba(122, 76, 255, 0.7);
}

/* ===================================================================
 * RESPONSIVE DESIGN
 * ===================================================================
 */

/* Tablet */
@media (max-width: 1024px) {
    .testimonials-featured {
        padding: 80px 24px 60px;
    }

    .testimonials-featured .section-title {
        font-size: 40px;
    }

    .featured-testimonial-card {
        padding: 50px 40px;
    }

    .testimonial-quote {
        font-size: 24px;
    }

    .quote-bg {
        font-size: 120px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .testimonials-featured {
        padding: 60px 20px 40px;
    }

    .testimonials-featured .section-header {
        margin-bottom: 40px;
    }

    .testimonials-featured .section-title {
        font-size: 32px;
    }

    .testimonials-featured .section-subtitle {
        font-size: 16px;
    }

    .featured-testimonial-card {
        padding: 40px 28px;
    }

    .testimonial-quote {
        font-size: 20px;
        margin-bottom: 40px;
    }

    .quote-bg {
        font-size: 90px;
        top: 20px;
        left: 20px;
    }

    .client-profile {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }

    .client-avatar {
        width: 70px;
        height: 70px;
    }

    .client-avatar i {
        font-size: 28px;
    }

    .client-details {
        text-align: center;
    }

    .client-name {
        font-size: 20px;
    }

    .client-title {
        font-size: 15px;
    }

    .project-metrics {
        flex-direction: column;
        gap: 24px;
        padding: 24px 20px;
    }

    .metric-divider {
        width: 60px;
        height: 1px;
    }

    .metric-value {
        font-size: 28px;
    }

    .btn-ghost {
        padding: 14px 28px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .testimonials-featured .section-title {
        font-size: 26px;
    }

    .featured-testimonial-card {
        padding: 32px 20px;
    }

    .testimonial-quote {
        font-size: 18px;
    }

    .quote-bg {
        font-size: 70px;
    }

    .metric-value {
        font-size: 24px;
    }

    .btn-ghost {
        width: 100%;
        justify-content: center;
    }
}


.testimonials-masonry {
    position: relative;
    padding: 120px 0 100px;
    background: #050505;
    overflow: hidden;
}

.testimonials-masonry-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Header */
.testimonials-masonry .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.testimonials-masonry .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.testimonials-masonry .section-badge i {
    color: #FFD700;
}

.testimonials-masonry .section-title {
    font-size: 56px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 1.1;
}

.testimonials-masonry .section-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Masonry Grid */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    grid-auto-rows: minmax(100px, auto);
}

/* Testimonial Card - Glass Dark */
.testimonial-card-masonry {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

.testimonial-card-masonry:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Quote Decoration - Large translucent background icon */
.quote-decoration {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

.quote-decoration i {
    font-size: 100px;
    color: #FFFFFF;
}

/* Stars */
.testimonial-card-masonry .stars {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-card-masonry .stars i {
    font-size: 16px;
    color: #FFD700;
}

/* Testimonial Text */
.testimonial-text {
    position: relative;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 28px;
    z-index: 1;
}

/* Author Section */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.author-avatar {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.testimonial-card-masonry:hover .author-avatar {
    background: rgba(122, 76, 255, 0.15);
    border-color: rgba(122, 76, 255, 0.3);
}

.author-avatar i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.5);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-size: 17px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.3;
}

.author-role {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

/* Masonry Effect - Varied Heights */
.testimonial-card-masonry:nth-child(3n + 1) {
    grid-row: span 1;
}

.testimonial-card-masonry:nth-child(3n + 2) {
    grid-row: span 2;
}

.testimonial-card-masonry:nth-child(3n) {
    grid-row: span 1;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .testimonials-masonry {
        padding: 80px 0 60px;
    }

    .testimonials-masonry .section-title {
        font-size: 44px;
    }

    .testimonials-masonry .section-subtitle {
        font-size: 16px;
    }

    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .testimonial-card-masonry {
        padding: 32px 24px;
    }

    /* Adjust masonry span for 2 columns */
    .testimonial-card-masonry:nth-child(2n + 1) {
        grid-row: span 1;
    }

    .testimonial-card-masonry:nth-child(2n) {
        grid-row: span 2;
    }

    .testimonial-card-masonry:nth-child(3n) {
        grid-row: auto;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .testimonials-masonry {
        padding: 60px 0 40px;
    }

    .testimonials-masonry .section-header {
        margin-bottom: 50px;
    }

    .testimonials-masonry .section-title {
        font-size: 36px;
    }

    .testimonials-masonry .section-subtitle {
        font-size: 15px;
    }

    /* Single column on mobile */
    .masonry-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card-masonry {
        padding: 28px 20px;
    }

    /* Reset all masonry spans for mobile */
    .testimonial-card-masonry:nth-child(n) {
        grid-row: auto;
    }

    .quote-decoration {
        width: 80px;
        height: 80px;
        top: 15px;
        right: 15px;
    }

    .quote-decoration i {
        font-size: 70px;
    }

    .testimonial-text {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .author-avatar {
        width: 48px;
        height: 48px;
    }

    .author-avatar i {
        font-size: 20px;
    }

    .author-name {
        font-size: 16px;
    }

    .author-role {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .testimonials-masonry .section-title {
        font-size: 28px;
    }

    .testimonial-card-masonry {
        padding: 24px 18px;
    }

    .testimonial-text {
        font-size: 14px;
    }
}

/* Alternative: Horizontal Scroll for Mobile (Commented Out by Default) */
/*
@media (max-width: 768px) {
    .masonry-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        padding: 16px 0;
        scrollbar-width: none;
    }

    .masonry-grid::-webkit-scrollbar {
        display: none;
    }

    .testimonial-card-masonry {
        flex: 0 0 320px;
        scroll-snap-align: start;
    }
}
*/
