/* ================================================================
   TESTIMONIALS PAGE — testimonials.css
   Praxisly.in — Section-to-Section Client Architecture
   Brand: Primary #7B0D2E (Burgundy) | Secondary #D4A017 (Amber)
   Fonts: Outfit (Headings) | Inter (Body)
   ================================================================ */

/* ── 1. HERO SECTION (2-Column Praxisly Signature) ── */
.testimonials-hero {
    position: relative;
    padding: 60px 0 80px;
    background: var(--theme-gradient);
    background-attachment: fixed;
    overflow: hidden;
}

.testimonials-hero-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.testimonials-hero-text {
    flex: 1.2;
}



.testimonials-hero-text h1 {
    font-family: var(--font-heading);
    font-size: clamp(38px, 4.5vw, 64px);
    font-weight: 800;
    line-height: 1.12;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.testimonials-hero-text h1 span {
    color: var(--primary);
}

.testimonials-hero-text p {
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 36px;
}

.hero-actions-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-burgundy {
    background: var(--primary);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(123, 13, 46, 0.25);
    transition: all 0.3s ease;
}

.btn-burgundy:hover {
    background: #5a0922;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(123, 13, 46, 0.35);
    color: white;
}

.btn-ghost-dark {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.btn-ghost-dark:hover {
    color: var(--primary);
}

/* Hero Right Visual with Floating Cards */
.testimonials-hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials-hero-visual .hero-img {
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.08));
}

.hero-stat-card {
    position: absolute;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px 22px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 14px;
    animation: cardFloat 4s ease-in-out infinite;
    z-index: 2;
}

.hero-stat-card.card-left {
    left: -20px;
    bottom: 40px;
}

.hero-stat-card.card-right {
    right: -10px;
    top: 40px;
    animation-delay: 2s;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.stat-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(123, 13, 46, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    flex-shrink: 0;
}

.stat-icon-wrap.gold {
    background: rgba(212, 160, 23, 0.12);
    color: var(--secondary);
}

.stat-info-wrap .stat-big-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
}

.stat-info-wrap .stat-sub-lbl {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
    display: block;
}

/* ── 2. STATS BANNER SECTION (Signature Burgundy Strip) ── */
.stats-banner-section {
    background: linear-gradient(135deg, #7B0D2E 0%, #4D061A 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.stats-banner-section::before,
.stats-banner-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0.04;
    pointer-events: none;
}

.stats-banner-section::before {
    width: 450px;
    height: 450px;
    top: -180px;
    right: -80px;
}

.stats-banner-section::after {
    width: 320px;
    height: 320px;
    bottom: -120px;
    left: -60px;
}

.stats-banner-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.stats-banner-text {
    flex: 1.1;
}

.stats-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 12px;
}

.stats-banner-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(26px, 2.6vw, 38px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.stats-divider-vertical {
    width: 1px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
}

.stats-banner-metrics {
    flex: 1.4;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.banner-metric-box {
    text-align: left;
}

.banner-metric-box .metric-val {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 8px;
}

.banner-metric-box .metric-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/* ── 3. EXECUTIVE SPOTLIGHT SECTION ── */
.spotlight-section {
    padding: 80px 0 60px;
}



.spotlight-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.spotlight-quote-mark {
    font-family: serif;
    font-size: 80px;
    color: var(--secondary);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: -15px;
}

.spotlight-body h3 {
    font-family: var(--font-heading);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 24px;
}

.spotlight-author-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.spotlight-author-wrap img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary);
}

.spotlight-author-info h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
}

.spotlight-author-info span {
    font-size: 13px;
    color: var(--text-light);
}

.spotlight-metrics-panel {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.spotlight-metric-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.s-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    flex-shrink: 0;
}

.s-metric-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.s-metric-text span {
    font-size: 13px;
    color: var(--text-light);
}

/* ── 4. FILTERABLE TESTIMONIALS GRID (Matching index.html Cards) ── */
.reviews-section {
    padding: 60px 0 80px;
}

.reviews-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.reviews-section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 12px;
}

.reviews-section-header p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Filter Tab Pills */
.testimonials-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.t-filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: 1.5px solid var(--border-color);
    background: #ffffff;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.t-filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(123, 13, 46, 0.04);
}

.t-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(123, 13, 46, 0.25);
}

/* Testimonial Cards (Exact index.html Class Hierarchy) */
.testimonial-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 34px 28px 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(123, 13, 46, 0.1);
    border-color: rgba(123, 13, 46, 0.25);
}

.testimonial-card .t-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.testimonial-card .t-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(212, 160, 23, 0.4);
}

.testimonial-card .t-author-info h4 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.testimonial-card .t-author-info span {
    font-size: 13px;
    color: var(--text-light);
    display: block;
    margin-top: 2px;
}

.testimonial-card .t-quote-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    font-family: serif;
    font-size: 54px;
    line-height: 1;
    color: var(--secondary);
    opacity: 0.45;
    pointer-events: none;
}

.t-stars-row {
    display: flex;
    gap: 3px;
    color: var(--secondary);
    font-size: 13px;
    margin-bottom: 14px;
}

.t-outcome-pill {
    background: rgba(212, 160, 23, 0.1);
    border-left: 3px solid var(--secondary);
    padding: 6px 12px;
    border-radius: 0 6px 6px 0;
    font-size: 12px;
    font-weight: 600;
    color: #854d0e;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.testimonial-card .t-card-body {
    flex-grow: 1;
    margin-bottom: 24px;
}

.testimonial-card .t-card-body p {
    font-size: 14.5px;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}

.testimonial-card .t-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

.t-brand-logo-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.t-badge-category {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(123, 13, 46, 0.08);
    padding: 3px 10px;
    border-radius: 50px;
}

/* ── 5. VIDEO REVIEWS SECTION ── */
.video-reviews-section {
    padding: 70px 0 80px;
    background: #f8fafc;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.video-card-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.video-card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(123, 13, 46, 0.1);
}

.video-thumb-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.video-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card-item:hover .video-thumb-wrap img {
    transform: scale(1.05);
}

.video-overlay-play {
    position: absolute;
    inset: 0;
    background: rgba(11, 15, 25, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.video-card-item:hover .video-overlay-play {
    background: rgba(123, 13, 46, 0.5);
}

.play-button-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease;
}

.video-card-item:hover .play-button-btn {
    transform: scale(1.15);
}

.video-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.video-card-body h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.video-card-body p {
    font-size: 13.5px;
    color: var(--text-light);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 16px;
}

.video-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.video-duration {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}



/* ── 7. BOTTOM CTA BANNER ── */
.testimonials-bottom-cta {
    padding: 20px 0 70px;
}

.bottom-cta-banner-box {
    background: linear-gradient(135deg, #7B0D2E 0%, #4D061A 100%);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 16px 40px rgba(123, 13, 46, 0.2);
    position: relative;
    overflow: hidden;
}

.bottom-cta-banner-box h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
}

.bottom-cta-banner-box p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.bottom-cta-btn-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-cta-gold {
    padding: 14px 32px;
    border-radius: 50px;
    background: var(--secondary);
    color: #0B0F19;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(212, 160, 23, 0.35);
}

.btn-cta-gold:hover {
    background: #e5b32a;
    transform: translateY(-2px);
    color: #0B0F19;
}

.btn-cta-ghost {
    padding: 14px 32px;
    border-radius: 50px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-cta-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
}

/* ── RESPONSIVE BREAKPOINTS ── */
@media (max-width: 1024px) {
    .testimonials-hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .testimonials-hero-text p {
        margin: 0 auto 30px;
    }
    .hero-actions-row {
        justify-content: center;
    }
    .stats-banner-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .stats-divider-vertical {
        display: none;
    }
    .spotlight-card {
        grid-template-columns: 1fr;
        padding: 32px;
    }
    .testimonial-grid-layout,
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonial-grid-layout,
    .video-grid {
        grid-template-columns: 1fr;
    }
    .stats-banner-metrics {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    .banner-metric-box {
        text-align: center;
    }
    .hero-stat-card {
        position: static;
        margin: 10px auto;
        animation: none;
    }
    .testimonials-hero-visual {
        flex-direction: column;
    }
}
