:root {
	--section-bg: #ffffff; /* Pure white background */
	--text-dark: #0f172a;
	--text-muted: #64748b;
	--accent-orange: #f97316; /* Matches the 'security' text */
	--primary-blue: #1e40af;
	--card-bg: #f8fafc; /* Very light grey for cards to stand out on white */
	--star-yellow: #fbbc04;
	--card-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
}

/* FONT FIXES */
.testimonials-light {
	padding: 100px 0;
	background: var(--section-bg);
}

/* HEADINGS */

/* LEFT SIDE GOOGLE BADGE */
.google-review-badge {
	display: inline-block;
	background: #fff;
	border: 1px solid #e2e8f0;
	padding: 20px;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
	min-width: 300px;
}

.google-stars {
	margin-bottom: 10px;
}
.google-stars i {
	color: var(--star-yellow);
	font-size: 18px;
	margin-right: 2px;
}

.google-review-info {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.rating-row {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.rating-score {
	font-weight: 800;
	font-size: 18px;
	color: var(--text-dark);
}
.rating-count {
	font-size: 13px;
	color: var(--text-muted);
}

.google-link {
	text-decoration: none;
	color: #2563eb;
	font-weight: 700;
	font-size: 14px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

/* RIGHT SIDE CARD DESIGN */
.testimonial-card-light {
	background: var(--card-bg); /* Light grey card */
	padding: 40px;
	border-radius: 20px;
	box-shadow: var(--card-shadow);

	border: 1px solid #f1f5f9;
}

.card-header-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.stars-inner i {
	color: var(--star-yellow);
	font-size: 14px;
}
.source-text {
	margin-left: 10px;
	color: var(--text-muted);
	font-size: 13px;
	font-weight: 600;
}

.quote-icon {
	font-size: 40px;
	color: #cbd5e1; /* Very light grey quote mark */
	opacity: 0.5;
}

/* ================================
   TESTIMONIAL CUBE SWIPER – FULL CSS
================================ */

/* Swiper container (fixed for cube math) */
.testimonial-swiper {
    width: 100%;
    max-width: 450px;
    height: 320px;
    margin: 0 auto;
    overflow: hidden;
	padding: 20px;
}

/* Each slide */
.testimonial-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
}

/* Card design */
.testimonial-card-light {
    width: 100%;
    height: 100%;
    background: var(--card-bg, #f8fafc);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    box-sizing: border-box;
}

/* Header row */
.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Stars */
.stars-inner i {
    color: #fbbf24;
    font-size: 16px;
}

/* Quote icon */
.quote-icon {
    font-size: 32px;
    color: #cbd5e1;
}

/* Text */
.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    margin: 18px 0;
    color: #334155;
}

/* Author */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-meta h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.author-meta span {
    font-size: 13px;
    color: #64748b;
}

/* Navigation buttons */
.slider-nav-light {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 22px;
}

.slider-nav-light button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: .25s ease;
}

.slider-nav-light button:hover {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
}

/* Mobile optimization */
@media (max-width: 520px) {
    .testimonial-swiper {
        height: 380px;
    }

    .testimonial-card-light {
        padding: 24px;
    }

    .testimonial-text {
        font-size: 15px;
    }
}
/* Kill backface overlap */
.testimonial-swiper,
.testimonial-swiper .swiper-wrapper,
.testimonial-swiper .swiper-slide {
    transform-style: preserve-3d;
}

.testimonial-swiper .swiper-slide {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Solid cube faces */
.testimonial-card-light {
    background: #f8fafc;
}
.testimonial-text{
   max-height:160px;
   overflow-y:auto;
}
