
/* Styling for the Testimonial Section Header */
#testimonial_area h3 {
    font-size: 2.5rem; /* Increase font size */
    font-weight: bold; /* Make the header bold */
    text-align: center; /* Center align the header */
    color: #333; /* Dark gray color for better readability */
    margin-bottom: 30px; /* Add some space below the header */
    text-transform: uppercase; /* Make the header text uppercase */
    letter-spacing: 2px; /* Add spacing between letters */
    font-family: 'Arial', sans-serif; /* Choose a clean font family */
    position: relative;
}

/* Add an underline effect */
#testimonial_area h3:after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #f8c146; /* Add a highlight color for the underline */
    margin: 20px auto 0;
}

/* Add margin on top for the section */
#testimonial_area {
    padding-top: 50px; 
    padding-bottom: 50px;
    background-color: #f9f9f9; /* Light background color */
}

/* Optional: Reduce padding of owl-carousel container to prevent outer cutting */
.testmonial_slider_area {
    padding: 0 10px;
}

.box-area {
	padding: 30px;
	position: relative;
	display: block;
	background: #fff;
	color: #000;
	box-shadow: rgba(0, 0, 0, 0.35) 0px 2px 15px;
	margin: 40px 10px;
	border-radius: 20px; /* <-- Add this line */
}

.box-area h5 {
	font-size: 16px;
	font-weight: 700;
	color: #0a69ed;
	margin-top: 40px;
	margin-bottom: 5px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.box-area span {
	color: #262626;
	display: block;
	font-size: 13px;
	margin: 0 0 10px;
	font-weight: 400;
}
.box-area .content {
	color: #262626;
}
.box-area .img-area {
	width: 90px;
	height: 90px;
	position: absolute;
	top: -40px;
	left: 0;
	bottom: 0;
	margin: 0 auto;
	right: 0;
	z-index: 1;
	border: 5px solid #fff;
	border-radius: 50%;
	box-shadow: 0 5px 4px rgba(0, 0, 0, 0.5);
}
.box-area .img-area img {
	width: 100%;
	height: auto;
	border-radius: 50%;
}
.socials {
	margin-top: 20px;
}
.socials i {
	margin: 0 2px;
	color: #f8c146;
	font-size: 16px;
}
.img-line {
    width: 90%;
    height: 1px;
    background-color: #e0e0e0; /* Same blue as the name */
    margin: 20px auto 0 auto; /* Center it and give top space */
}
#testimonial_area .owl-nav {
	position: absolute;
	top: 50%;
	width: 100%;
}
#testimonial_area .owl-prev, #testimonial_area .owl-next {
	width: 40px;
	height: 40px;
	line-height: 40px;
	color: #fff;
	border-radius: 50%;
	text-align: center;
	background: #0a69ed;
	position: absolute;
}
#testimonial_area .owl-prev {
	left: -60px;
	top: -30px;
}
#testimonial_area .owl-next {
	right: -60px;
	top: -30px;
}
@media only screen and (max-width: 991px) {
	#testimonial_area .owl-prev {
		left: 10px;
	}
	#testimonial_area .owl-next {
		right: 10px;
	}
}
@media only screen and (max-width: 767px) {
	.box-area {
		text-align: center;
		margin: 40px 5px;
		padding: 20px;
	}
	#testimonial_area h3 {
		font-size: 1.5rem;
		letter-spacing: 1px;
	}
	#testimonial_area h3:after {
		width: 40px;
		margin: 15px auto 0;
	}
	.box-area h5 {
		font-size: 14px;
		margin-top: 30px;
	}
	.box-area .content {
		font-size: 13px;
		word-wrap: break-word;
		overflow-wrap: break-word;
	}
	#testimonial_area .owl-prev {
		left: 5px;
		width: 35px;
		height: 35px;
		line-height: 35px;
		font-size: 14px;
	}
	#testimonial_area .owl-next {
		right: 5px;
		width: 35px;
		height: 35px;
		line-height: 35px;
		font-size: 14px;
	}
}

@media only screen and (max-width: 480px) {
	#testimonial_area h3 {
		font-size: 1.2rem;
		letter-spacing: 0.5px;
	}
	.box-area {
		margin: 40px 0;
		padding: 15px;
	}
	.testmonial_slider_area {
		padding: 0;
	}
}