/* Testimonials styles (from example) */
/* shadow-effect tweaks for better layout */
.shadow-effect {
	background: #fff;
	padding: 20px 20px 30px;
	border-radius: 6px;
	text-align: center;
	border: 1px solid #ECECEC;
	box-shadow: 0 12px 30px rgba(0,0,0,0.08), 0 8px 12px rgba(0,0,0,0.03);
	position: relative;
}

.shadow-effect img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
	margin: 0;
	border-radius: 6px 6px 0 0; /* match card corners */
}

.img-wrap { position: relative; }
.img-wrap img { display:block; }
.img-wrap .testimonial-name {
	position: absolute;
	left: 18px;
	bottom: 12px; /* over image bottom */
	right: auto;
	top: auto;
	display: inline-block;
	background: rgba(49,144,231,0.55);
	padding: 10px 26px;
	border-radius: 4px;
	text-align: left;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	z-index: 5;
	box-shadow: 0 6px 14px rgba(0,0,0,0.10);
}

#customers-testimonials .shadow-effect p {
	font-family: inherit;
	font-size: 17px;
	line-height: 1.7;
	margin: 0 0 17px 0;
	font-weight: 300;
	text-align: justify; /* make text justified */
	color: #555;
}
/* fallback - in case testimonial-name appears outside img-wrap */
.testimonial-name { display: inline-block; }

@media (max-width: 768px) {
	.testimonial-name { font-size: 18px; padding: 8px 14px; left: 12px; bottom: 10px; }
	.shadow-effect img { height: 160px; }
}

/* dim side cards and scale center card up */
#customers-testimonials .item {
	text-align: center;
	padding: 20px 20px 40px;
	margin-bottom: 80px;
	opacity: 0.28;
	-webkit-transform: scale3d(0.92, 0.92, 1);
	transform: scale3d(0.92, 0.92, 1);
	-webkit-transition: all 0.35s ease-in-out;
	-moz-transition: all 0.35s ease-in-out;
	transition: all 0.35s ease-in-out;
}

/* center active card: lift and stronger shadow */
#customers-testimonials .owl-item.active.center .item {
	opacity: 1;
	-webkit-transform: scale3d(1.02, 1.02, 1) translateY(-8px);
	transform: scale3d(1.02, 1.02, 1) translateY(-8px);
}
.owl-carousel .owl-item img {
	transform-style: preserve-3d;
	width: 100%;
	height: auto;
	object-fit: cover;
	margin: 0 0 14px;
	border-radius: 6px 6px 0 0;
	box-shadow: none;
}
#customers-testimonials.owl-carousel .owl-dots .owl-dot.active span,
#customers-testimonials.owl-carousel .owl-dots .owl-dot:hover span {
	background: #3190E7;
	transform: translate3d(0px, -50%, 0px) scale(0.7);
}
#customers-testimonials.owl-carousel .owl-dots{
	display: inline-block;
	width: 100%;
	text-align: center;
}
#customers-testimonials.owl-carousel .owl-dots .owl-dot{
	display: inline-block;
}
#customers-testimonials.owl-carousel .owl-dots .owl-dot span {
	background: #3190E7;
	display: inline-block;
	height: 20px;
	margin: 0 2px 5px;
	transform: translate3d(0px, -50%, 0px) scale(0.3);
	transform-origin: 50% 50% 0;
	transition: all 250ms ease-out 0s;
	width: 20px;
}

/* small helper: ensure circular image fits */
.img-circle { border-radius: 0; } /* neutral: images are not rounded */

