.testimonials-page-section {
position: relative;
overflow: hidden;
padding: 95px 0 80px;
background:
radial-gradient(circle at 8% 10%, rgba(249, 115, 22, 0.08), transparent 28%),
radial-gradient(circle at 92% 18%, rgba(14, 165, 233, 0.07), transparent 30%),
linear-gradient(180deg, #ffffff 0%, #fffaf3 100%);
}

.testimonials-page-heading {
max-width: 780px;
margin: 0 auto 42px;
text-align: center;
}

.testimonials-page-heading span {
display: inline-flex;
align-items: center;
justify-content: center;
margin-bottom: 12px;
padding: 8px 18px;
border-radius: 999px;
color: #f97316;
background: rgba(249, 115, 22, 0.10);
border: 1px solid rgba(249, 115, 22, 0.18);
font-size: 13px;
font-weight: 800;
line-height: 1.2;
letter-spacing: 0.5px;
text-transform: uppercase;
}

.testimonials-page-heading h1 {
position: relative;
display: inline-block;
margin: 0 0 16px;
color: #172033;
font-size: 42px;
font-weight: 950;
line-height: 1.15;
letter-spacing: -0.8px;
}

.testimonials-page-heading h1::after {
content: "";
position: absolute;
left: 50%;
bottom: -10px;
width: 86px;
height: 4px;
border-radius: 999px;
background: linear-gradient(90deg, #ff9f1c, #f97316);
transform: translateX(-50%);
}

.testimonials-page-heading p {
max-width: 680px;
margin: 22px auto 0;
color: #64748b;
font-size: 16px;
font-weight: 500;
line-height: 1.8;
}

.testimonial-list-card {
position: relative;
display: flex;
flex-direction: column;
height: 100%;
min-height: auto;
padding: 26px 26px 22px;
overflow: hidden;
border-radius: 26px;
background: rgba(255, 255, 255, 0.98);
border: 1px solid rgba(15, 23, 42, 0.08);
box-shadow: 0 18px 48px rgba(15, 23, 42, 0.09);
transition: all 0.28s ease;
}

.testimonial-list-card::before {
content: "";
position: absolute;
left: 26px;
right: 26px;
top: 0;
height: 4px;
border-radius: 0 0 999px 999px;
background: linear-gradient(90deg, #ff9f1c, #f97316);
}

.testimonial-list-card:hover {
transform: translateY(-6px);
border-color: rgba(249, 115, 22, 0.22);
box-shadow: 0 26px 65px rgba(15, 23, 42, 0.14);
}

.testimonial-list-head {
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 18px;
}

.testimonial-list-avatar {
flex: 0 0 58px;
width: 58px;
height: 58px;
padding: 4px;
border-radius: 50%;
background: #ffffff;
border: 1px solid rgba(249, 115, 22, 0.22);
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
overflow: hidden;
}

.testimonial-list-avatar img {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
}

.testimonial-list-info {
min-width: 0;
}

.testimonial-list-info h3 {
margin: 0 0 6px;
color: #172033;
font-size: 19px;
font-weight: 950;
line-height: 1.25;
}

.testimonial-list-info span {
display: block;
color: #f97316;
font-size: 12px;
font-weight: 900;
line-height: 1.2;
text-transform: uppercase;
letter-spacing: 0.45px;
}

.testimonial-list-comment {
flex: 0 0 auto;
margin: 0 0 18px;
color: #475467;
font-size: 15px;
font-weight: 500;
line-height: 1.75;
}

.testimonial-list-divider {
width: 100%;
height: 1px;
margin: 0 0 16px;
background: rgba(15, 23, 42, 0.08);
}

.testimonial-list-footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
margin-top: auto;
}

.testimonial-rating {
display: flex;
align-items: center;
gap: 3px;
margin: 0;
padding: 0;
list-style: none;
white-space: nowrap;
}

.testimonial-rating li {
line-height: 1;
}

.testimonial-rating i {
color: #ff9f1c;
font-size: 15px;
line-height: 1;
}

.testimonial-date {
color: #94a3b8;
font-size: 12px;
font-weight: 900;
line-height: 1.2;
white-space: nowrap;
}

.testimonials-pagination {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
flex-wrap: wrap;
margin-top: 42px;
}

.testimonials-pagination a,
.testimonials-pagination span {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 42px;
height: 42px;
padding: 0 14px;
border-radius: 999px;
color: #172033;
background: #ffffff;
border: 1px solid rgba(15, 23, 42, 0.09);
font-size: 14px;
font-weight: 900;
text-decoration: none;
box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
transition: all 0.22s ease;
}

.testimonials-pagination a:hover,
.testimonials-pagination .active {
color: #ffffff;
background: linear-gradient(135deg, #ff9f1c, #f97316);
border-color: transparent;
}

@media (max-width: 991px) {
.testimonials-page-section {
padding: 75px 0 65px;
}

.testimonials-page-heading h1 {
font-size: 35px;
}
}

@media (max-width: 767px) {
.testimonials-page-section {
padding: 60px 0 55px;
}

.testimonials-page-heading {
margin-bottom: 32px;
}

.testimonials-page-heading h1 {
font-size: 30px;
}

.testimonials-page-heading p {
font-size: 14px;
line-height: 1.7;
}

.testimonial-list-card {
padding: 24px 22px 20px;
border-radius: 22px;
}

.testimonial-list-head {
margin-bottom: 16px;
}

.testimonial-list-comment {
margin-bottom: 15px;
font-size: 14px;
line-height: 1.7;
}

.testimonial-list-divider {
margin-bottom: 14px;
}

.testimonial-list-footer {
gap: 10px;
}

.testimonial-date {
font-size: 11px;
}
}
