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

#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;
}

/* 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: relative;
    text-align: center;
    margin-top: 20px;
}
#testimonial_area .owl-prev, 
#testimonial_area .owl-next {
	position: static;
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    background: #0a69ed;
    margin: 0 10px;
}
#testimonial_area .owl-prev {
	left: -60px;
	top: -30px;
}
#testimonial_area .owl-next {
	right: -60px;
	top: -30px;
}
@media only screen and (max-width: 991px) {
	.owl-nav {
        display: block;
    }
}
@media only screen and (max-width: 767px) {
	.box-area {
		text-align: center;
	}
	.owl-nav {
        display: block;
    }
}

@media only screen and (max-width: 576px) {
	#testimonial_area {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    #testimonial_area h3 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    #testimonial_area h3:after {
        width: 40px;
        height: 2px;
    }

    .box-area {
        margin: 20px 0;
        padding: 20px 15px;
    }

    .box-area h5 {
        font-size: 14px;
    }

    .box-area .content {
        font-size: 14px;
    }

    .img-line {
        width: 100%;
    }
	
	.socials i {
        font-size: 14px;
    }
}