.testimonial-section {
	padding: 60px 0;
}

.testimonial-section .section-title .section-main-title h2 {
	font-size: 40px;
    line-height: 1;
    color: #040404;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 15px;
}

.testimonial-section .section-sub-title {
	position: relative;
	display: inline-block;
}

.testimonial-section .section-sub-title h4 {
	font-size: 24px;
	color: var(--color-primary);
	font-weight: 500;
	margin-bottom: 7px;
	position: relative;
	padding: 0 50px 0;
}

.testimonial-section .section-sub-title::before {
	position: absolute;
	content: "";
	height: 2px;
	width: 35px;
	background: var(--color-primary);
	left: 0;
	top: 9px;
}
.testimonial-section .section-title{text-align:center;margin-bottom:30px}

.testimonial-section .section-sub-title::after {
	position: absolute;
	content: "";
	height: 2px;
	width: 35px;
	background: var(--color-primary);
	left: -12px;
	top: 17px;
}

.testimonial-section .section-sub-title h4::before {
	position: absolute;
	content: "";
	height: 2px;
	width: 35px;
	background: var(--color-primary);
	right: 0;
	top: 9px;
}

.testimonial-section .section-sub-title h4::after {
	position: absolute;
	content: "";
	height: 2px;
	width: 35px;
	background: var(--color-primary);
	right: -12px;
	top: 17px;
}

.testi-itmes-box .testi-content{height:320px}

.testi-itmes-box {
	background: #f2f2f2;
	padding: 50px 35px 26px;
	position: relative;
	border-radius: 3px;
	z-index: 1;
	margin: 20px;
}

.testi-itmes-box::before {
	position: absolute;
	content: "";
	height: 35px;
	width: 40px;
	background: #f2f2f2;
	bottom: -20px;
	left: 40px;
	clip-path: polygon(82% 41%, 106% 40%, 50% 100%, 0% 42%);
	z-index: -1;
	transition: .5s;
}

.testi-itmes-box:hover:before {
	background: var(--color-primary);
}

.testi-itmes-box::after {
	position: absolute;
	content: "";
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: var(--color-primary);
	clip-path: polygon(50% 0, 50% 0, 50% 50%, 50% 100%, 50% 100%, 50% 50%);
	border-radius: 3px;
	z-index: -1;
	transition: .5s;
}

.testi-itmes-box:hover::after {
	clip-path: polygon(25% -70%, 75% -70%, 120% 50%, 75% 170%, 25% 170%, -20% 50%);
}

.testi-content p {
	font-size: 16px;
	line-height: 28px;
	font-weight: 400;
	margin-bottom: 25px;
	transition: .5s;
}

.testi-itmes-box:hover .testi-content p {
	color: #ffffff;
}

.testi-thumb {
	float: left;
	margin-right: 24px;
	margin-top: -7px;
	border-radius: 50%;
	padding: 4px;
	border: 2px dashed color-mix(in srgb, var(--color-primary) 60%, transparent);
	overflow: hidden;
}

.testi-title h4 {
	font-size: 20px;
	line-height: 28px;
	color: var(--title-text-color);
	font-weight: 500;
	transition: .5s;
}

.testi-itmes-box:hover .testi-title h4 {
	color: #ffffff;
}

.testi-title span {
	font-size: 16px;
	line-height: 28px;
	font-weight: 400;
	transition: .5s;
}

.testi-itmes-box:hover .testi-title span {
	color: #d8d8d8;
}


.testimonial-section .testi-itmes-box .testi-thumb img{ height: 50px; border-radius: 50%;}

.testi-icon {
	position: absolute;
	right: 30px;
	bottom: -6px;
	font-size: 64px;
	font-family: monospace;
	color: color-mix(in srgb, var(--color-primary) 50%, transparent);
	opacity: 0.400;
	transition: .5s;
}

.testi-itmes-box:hover .testi-icon i {
	color: #f2f2f2;
}

/* owl carousel */

.testimonial-section .owl-carousel .owl-dots.disabled,
.owl-carousel .owl-nav.disabled {
	display: none;
}




@media only screen and (min-width: 320px) and (max-width: 479px) {
	.testimonial-section .testi-thumb {
		display: none;
	}

	.testimonial-section .section-sub-title h4 {
		font-size: 22px;
	}

	.testimonial-section .section-title .section-main-title h2 {
		line-height: 28px;
	}
}

@media(max-width:1500px){
.testi-itmes-box {margin: 15px;}
.testi-itmes-box .testi-content {height: 370px;}
}

@media (max-width: 1280px) {
.testi-itmes-box .testi-content {height: 320px; }
}

@media(max-width:991px){
.testi-itmes-box { padding: 25px;}
}

@media(max-width:768px){
.testi-itmes-box .testi-content {height: auto;}
}



@media (max-width: 1600px) {
    .testimonial-section .section-title .section-main-title h2 {
        font-size: 34px;
    }
}
@media (max-width: 1440px) {
    .testimonial-section .section-title .section-main-title h2 {
        font-size: 28px;
    }
}
@media (max-width: 1220px) {
    .testimonial-section .section-title .section-main-title h2 {
        font-size: 26px;
    }
}
@media (max-width: 1079px) {
    .testimonial-section .section-title .section-main-title h2 {
        font-size: 20px;
    }
}
@media (max-width: 639px) {
    .testimonial-section .section-title .section-main-title h2 {
        font-size: 24px;
    }
}


