/*CSS for All Custom Modules*/
.custom-modules--wrapper {
	position: relative;
	margin: 65px 0px; /* Adjust spacing above and below the module as needed */
}

.custom-modules--wrapper + .custom-modules--wrapper {
	margin-top: 0px;
}

.custom-modules-content {
	position: relative;
	z-index: 2;
}

/* Style 1: Background Image with content on top */

/*Mobile*/
.testimonials-wrapper {
    display: flex;
    gap: 15px;
    width: 100%;
    flex-direction: column;
}

.tp-widget-wrapper {
    text-align: left !important;
}

.trustpilot-widget {
    max-height: 50px;
    overflow: hidden;
    padding-top: 20px;
}

.testimonial-item {
    background-color: #F5F5F5;
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.custom-modules--wrapper.style-1 .bkg-image {
	display:none;
}

.custom-modules--wrapper.style-1 {
	display: flex;
	justify-content: space-between;
}

.custom-modules--wrapper.style-1 .custom-modules-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-modules--wrapper.style-1 .custom-modules-content h2,
.custom-modules--wrapper.style-1 .custom-modules-content h3,
.custom-modules--wrapper.style-1 .custom-modules-content p {
	color: #002540; /* Adjust font color to match the site. Add additional font styles if needed */
}

.custom-modules--wrapper.style-1 .btn {
    margin-top: 20px;
}


.testimonial-name {
    display: block;
    color: #002540;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 18px;
}

.testimonial-date {
    color: #4B4B4B;
}

.custom-modules--wrapper.style-1 .custom-modules-content h2 {
    margin-bottom: 20px;
}

.testimonial-stars img {
    width: 85px;
    height: auto;
}

/*Tablet Up*/
@media(min-width:768px){


.custom-modules--wrapper.style-1 .custom-modules-content {
	    padding-right: 32px;
}
}

/*Small Laptops Up*/
@media(min-width:900px){
   .testimonials-wrapper {
    flex-direction: row;
}

}

/*Laptops Up*/
@media(min-width:1200px){
  .custom-modules--wrapper.style-1 .bkg-image {
	width: 330px;
    height: 100%;
    object-fit: cover;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
}

.custom-modules--wrapper.style-1:has(.testimonial-item:only-child) .bkg-image {
    width: 400px;
}

.custom-modules--wrapper.style-1 .custom-modules-content {
    align-items: flex-start;
}

.testimonials-wrapper {
    width: 80%;
}

/* .testimonials-wrapper:has(.testimonial-item:only-child) {
    width: 90%;
} */

.custom-modules--wrapper.style-1 .btn {
    margin-top: 30px;
}

}




/* Style 2: 50/50 Layout */
.custom-modules--wrapper.style-2 {
	background: #fff; /* Change to desired background color */
	box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2); /* Add shadow effect */
}

.custom-modules--wrapper.style-2 .image-wrapper {
	position: relative;
	height: 200px; /* Adjust height as needed for your project */
	overflow: hidden;
}

.custom-modules--wrapper.style-2 .image-wrapper img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.custom-modules--wrapper.style-2 .custom-modules-content {
	padding: 32px; /* Adjust padding as needed for your project */
}

@media (min-width: 768px) {
	.custom-modules--wrapper.style-2 {
		display: flex;
		flex-direction: row-reverse; /*Change to row if you want the image on the left */
		align-items: center;
	}

	/*If you want a different ratio for the image and content, adjust the width percentage */
	.custom-modules--wrapper.style-2 .custom-modules-content,
	.custom-modules--wrapper.style-2 .image-wrapper {
		width: 50%;
	}

	.custom-modules--wrapper.style-2 .image-wrapper {
		height: auto;
		min-height: 250px; /* Adjust height as needed for your project */
	}
}

/* Style 3: Background color with Text No Image */

.custom-modules--wrapper.style-3 {
	background: linear-gradient(
		15deg,
		#142850,
		#14365f,
		#13476f,
		#125d80,
		#107792,
		#0d96a5,
		#09b8b4,
		#04ccb1
	); /* Change to desired gradient or solid color */
	box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2); /* Add shadow effect */
}

.custom-modules--wrapper.style-3 .custom-modules-content {
	padding: 32px; /* Adjust padding as needed for your project */
	text-align: center; /* Adjust text alignment as needed for your project */
}

.custom-modules--wrapper.style-3 .custom-modules-content h2,
.custom-modules--wrapper.style-3 .custom-modules-content h3,
.custom-modules--wrapper.style-3 .custom-modules-content p {
	color: #fff; /* Adjust font color to match the site. Add additional font styles if needed */
}
