/***    10. Our Testimonial Css   ***/
/************************************/

.our-testimonial{
	position: relative;
	padding: 100px 0;
	background: url('../../images/testimonials/our-testimonial-bg.jpg') no-repeat center center;
	background-size: cover;
}

.our-testimonial:after{
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: var(--secondary-color);
	opacity: 90%;
}

.our-testimonial .container{
	position: relative;
	z-index: 1;
}

.testimonial-slider .swiper-wrapper{
	cursor: none;
}

.testimonial-item{
	position: relative;
	padding: 40px;
	overflow: hidden;
}

.testimonial-item:before{
	content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    border-radius: 0px;
    background: var(--white-color);
    transition: all 0.5s ease-in-out;
    height: 100%;
    z-index: -1;
}

.testimonial-slider .swiper-slide.swiper-slide-active .testimonial-item::before{
    top: 0;
}

.testimonial-header{
	margin-bottom: 20px;
}

.testimonial-quote-img{
	margin-bottom: 20px;
}

.testimonial-quote-img img{
	max-width: 30px;
	opacity: 30%;
}

.testimonial-rating i{
	color: var(--accent-color);
	font-size: 18px;
	margin-right: 5px;
}

.testimonial-rating i:last-child{
	margin-right: 0;
}

.testimonial-content{
	border-bottom: 2px solid var(--divider-color);
	margin-bottom: 30px;
	padding-bottom: 30px;
}

.testimonial-content p{
	margin: 0;
}

.testimonial-author{
	display: flex;
	align-items: center;
}

.author-image{
	margin-right: 15px;
}

.author-image img{
	max-width: 40px;
	border-radius: 50%;
}

.author-content{
	width: calc(100% - 55px);
}

.author-content h3{
	color: var(--primary-color);
	font-size: 16px;
	font-weight: 500;
	text-transform: capitalize;
}

.testimonial-slider .swiper-pagination{
    position: relative;
    margin-top: 40px;
    text-align: center;
}

.testimonial-slider .swiper-pagination .swiper-pagination-bullet{
	height: 8px;
    width: 8px;
    background: var(--white-color);
    opacity: 1;
    margin: 0 8px;
}

.testimonial-slider .swiper-pagination-bullet.swiper-pagination-bullet-active{
	position: relative;
    background-color: var(--accent-color);
}

.testimonial-slider .swiper-pagination-bullet.swiper-pagination-bullet-active:before{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--accent-color);
    height: 18px;
    width: 18px;
    border-radius: 50%;
}

/************************************/
