
/* ================================================================================================= */
/* ============================================ START TESTIMONIALS PAGE================================== */
/* ================================================================================================= */


/* ── Hero ── */
.tpage-hero {
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
    background: var(--bg-light-green);
}
.tpage-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 40%, rgba(254,148,70,0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(255,255,255,0.03) 0%, transparent 60%);
    pointer-events: none;
}
.tpage-hero-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--yellow);
    margin-bottom: 14px;
}
.tpage-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 600;
    color: var( --green);
    line-height: 1.15;
    margin-bottom: 18px;
}
.tpage-hero-title span { color: var(--yellow); }
.tpage-hero-sub {
    font-size: 0.92rem;
    color: var(--text-paragraph);
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto;
}

/* ── Stats Bar ── */
.tpage-stats {
    padding: 0;
    background: var(--white);
}
.tpage-stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-color);
    padding: 36px 0;
}
.tpage-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 50px;
    gap: 4px;
}
.tpage-stat-num {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var( --green);
    line-height: 1;
}
.tpage-stat-label {
    font-size: 0.8rem;
    color: var(--text-paragraph);
    font-weight: 500;
    opacity: 0.7;
}
.tpage-stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border-color);
}

/* ── Slider Section ── */
.tpage-slider-section {
    padding: 70px 0 60px;
    background: var(--white);
    overflow: hidden;
}

.tpage-track-wrap {
    position: relative;
    overflow: hidden;
}
.tpage-track-wrap::before,
.tpage-track-wrap::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 140px;
    z-index: 3;
    pointer-events: none;
}
.tpage-track-wrap::before {
    left: 0;
    background: linear-gradient(to right, #fff 0%, transparent 100%);
}
.tpage-track-wrap::after {
    right: 0;
    background: linear-gradient(to left, #fff 0%, transparent 100%);
}

.tpage-track {
    display: flex;
    gap: 20px;
    width: max-content;
    padding: 10px 0;
}
.tpage-track--ltr {
    animation: tpageLTR 45s linear infinite;
}
.tpage-track--ltr:hover { animation-play-state: paused; }
.tpage-track--rtl {
    animation: tpageRTL 45s linear infinite;
}
.tpage-track--rtl:hover { animation-play-state: paused; }

@keyframes tpageLTR {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes tpageRTL {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.tpage-slide-set {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

/* ── Slider Card ── */
.tpage-card {
    background: var(--testimonial-bg, #FFF7E9);
    border-radius: 16px;
    padding: 24px 24px 20px;
    width: 310px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.tpage-card:hover {
    box-shadow: 0 8px 30px rgba(2,27,94,0.10);
    transform: translateY(-3px);
}
.tpage-card-text {
    font-size: 0.83rem;
    color: var(--text-paragraph);
    line-height: 1.75;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tpage-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.tpage-card-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.tpage-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var( --green);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tpage-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var( --green);
    line-height: 1.2;
}
.tpage-role {
    font-size: 0.7rem;
    color: #aaa;
    margin-top: 2px;
}
.tpage-stars {
    display: flex;
    gap: 2px;
}
.tpage-stars i {
    font-size: 0.68rem;
    color: #00b67a;
}

/* ── Grid Section ── */
.tpage-grid-section {
    padding: 70px 0 80px;
    background: var(--bg-light-green);
}
.tpage-section-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--yellow);
    margin-bottom: 10px;
}
.tpage-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 600;
    color: var( --green);
    margin-bottom: 0;
}
.tpage-section-title span { color: var(--yellow); }

/* Big Card */
.tpage-big-card {
    background: var(--white);
    border-radius: 20px;
    padding: 34px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.tpage-big-card:hover {
    box-shadow: 0 12px 40px rgba(2,27,94,0.10);
    transform: translateY(-4px);
}
.tpage-big-card--navy {
    background: var( --green);
}
.tpage-big-quote {
    font-size: 1.8rem;
    color: var(--yellow);
    line-height: 1;
}
.tpage-big-text {
    font-size: 0.88rem;
    color: var(--text-paragraph);
    line-height: 1.85;
    margin: 0;
    flex: 1;
}
.tpage-big-card--navy .tpage-big-text {
    color: rgba(255,255,255,0.75);
}
.tpage-big-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}
.tpage-big-card--navy .tpage-big-footer {
    border-top-color: rgba(255,255,255,0.12);
}
.tpage-big-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tpage-big-name {
    font-size: 0.86rem;
    font-weight: 700;
    color: var( --green);
    line-height: 1.2;
}
.tpage-big-card--navy .tpage-big-name { color: var(--white); }
.tpage-big-role {
    font-size: 0.74rem;
    color: #aaa;
    margin-top: 2px;
}
.tpage-big-card--navy .tpage-big-role { color: rgba(255,255,255,0.45); }
.tpage-big-stars { display: flex; gap: 2px; }
.tpage-big-stars i { font-size: 0.72rem; color: #00b67a; }

/* ── CTA Strip ── */
.tpage-cta-strip {
    background: var(--bg-light-yellow);
    padding: 50px 0;
}
.tpage-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 500;
    color: var( --green);
    margin-bottom: 8px;
}
.tpage-cta-sub {
    font-size: 0.88rem;
    color: var(--black);
    margin: 0;
    line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .tpage-hero { padding: 130px 0 60px; }
    .tpage-stat-item { padding: 0 28px; }
    .tpage-cta-strip { text-align: center; }
    .tpage-cta-strip .col-lg-auto { text-align: center; }
}
@media (max-width: 767.98px) {
    .tpage-hero { padding: 110px 0 50px; }
    .tpage-stat-item { padding: 16px 20px; }
    .tpage-stat-divider { display: none; }
    .tpage-stats-bar { gap: 0; }
    .tpage-card { width: 270px; }
    .tpage-track-wrap::before,
    .tpage-track-wrap::after { width: 60px; }
    .tpage-grid-section { padding: 50px 0 60px; }
}

/* ================================================================================================= */
/* ============================================ END TESTIMONIALS PAGE================================== */
/* ================================================================================================= */