.testimonial-section {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  background: #484468;
  overflow: hidden;
}

/* The image+gradient overlay only covers the right 40% */
.testimonial-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to left,
      rgba(72,68,104,0) 60%,
      #484468 100%
    ),
    url('https://uat-www.aclsmedicaltraining.com/wp-content/uploads/2025/07/Bkgd-Img-2.png') 35% center no-repeat;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
}

/* Content and model image above overlays */
.testimonial-content,
.testimonial-image-wrapper {
  position: relative;
  z-index: 4;
}
.testimonial-content-wrapper {
		width: 100%;
		position: absolute;
}
	.testimonial-arrow svg {
		outline: none;
	}
/* Content (left) */
.testimonial-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 900px;
  margin: 0 auto;
  min-width: 0;
  z-index: 4; 
	padding: 38px 0 38px 0;
	left: -150px;
}

.testimonial-header-row {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 24px;
  align-self: flex-start;
}

body #content h2.testimonial-heading {
  color: #fff;
  font-family: 'Martel', serif;
  font-weight: 900;
  margin: 0;
  font-size: 32px;
  font-style: normal;
  line-height: 42px; /* 131.25% */	
  padding-bottom: 0;
}

.testimonial-read-more {
  background: none;
  border: 3px solid #fff;
  color: #fff;
  border-radius: 21px;
  width: 240px;
  height: 42px;
  padding: 0;
  font-weight: 700;
  margin-left: 54px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;	
  display: flex;
    justify-content: center;
    align-items: center;	
}
.testimonial-read-more:hover {
	color: #fff !important;
	text-decoration: none !important;
	background-color: #333;
}

.testimonial-cards {
  display: flex;
  gap: 32px;
  flex-wrap: nowrap;
}

.testimonial-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(72, 68, 104, 0.08);
  padding: 18px 24px;
  max-width: 272px;
  min-height: 260px;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: auto;
}

.testimonial-stars {
  color: #FFC107;
  font-size: 28px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-text {
	color: #000;
	font-family: "Open Sans";
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 22px; /* 137.5% */	
}

.testimonial-author {
color: #000;
text-align: right;
font-family: "Open Sans";
font-size: 16px;
font-style: normal;
font-weight: 600;
line-height: 22px; /* 137.5% */
	margin-top: auto;
}

/* Foreground model image */
.testimonial-image-wrapper {
  flex: 1 0 40%;
  display: flex;
  align-items: flex-end; /* Align to bottom */
  justify-content: flex-end;
  z-index: 3;
  position: relative;
  min-width: 400px;
  padding-right: 10vw;
  height: 100%;
}

.testimonial-model-img {
  max-width: 431px;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  display: block;
  align-self: flex-end;
}

/* Responsive adjustments */
	@media (min-width: 1200px) {
		body .new-carousel-controls {
		    display: none !important;			
		}
		.mobile-only {
			display: none !important;
		}
		body .extra-padding-top {
			padding-bottom: 46px;
		}
		body .extra-top {
			top: 46px;
		}
		body .testimonial-content-wrapper {
			top: 50%;
			transform: translate(-50%, -50%);
			left: 50%;
			z-index: 5;			
		}
	}
	@media (max-width: 767px) {
		body .testimonial-card {
			width: 272px;
		}
		body #content .new-carousel-wrapper {
			max-width: 280px;
		}
		body .testimonial-arrow {
  			padding: 0 2px;
		}		
		body div #content h2.testimonial-heading {
			text-align: center;
			font-size: 28px;
			font-weight: 900;
			line-height: 37px;		
			max-width: 90%;
		}
		body .testimonial-header-row {
			width: 100%;
		}
	}	
@media (max-width: 1199px) {
	body #content .testimonial-read-more.mobile-only {
		margin: 0 auto;
	}
	.cards-list {
		transition: transform 500ms;
	}
	.new-prev, .new-next {
		background: none !important;
	}
  body .testimonial-arrow {
    display: block;
	box-shadow: none;
  }
  body .testimonial-section {
    flex-direction: column;
    padding: 0 0 24px 0;
    min-height: unset;
	  height: auto;
  }
  body .testimonial-content {
      width: 100%;
	  position: relative;
	  left: 0;
  }
  body .testimonial-cards {
    flex-direction: row;
    gap: 24px;
  }
  .testimonial-image-wrapper {
    display: none;
  }
  .testimonial-section::after {
    width: 100vw;
    min-width: 0;
    opacity: 0.25;
  }
  .testimonial-header-row {
    flex-direction: column;
    align-self: center;
    gap: 16px;
  }
  .testimonial-bg-image {
    display: none;
  }
	body .testimonial-content-wrapper {
		position: relative;
	}
	body .new-carousel-dots {
		display: flex;
		gap: 10px;
	}
	body .testimonial-cards-wrapper {
		overflow: hidden;
		justify-content: center;
	}
	body .desktop-only {
		display: none;
	}

	body .new-carousel-dots {
		display: flex;
		align-self: center;
	}	
	body .new-carousel-wrapper {
		overflow: hidden;
		max-width: 85%
	}	

	body .testimonial-read-more-mobile-wrapper {
		margin-top: 14px;
	}
	body .testimonial-content {
		padding: 24px 0 16px 0;
	}	
}
.testimonial-cards-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

.testimonial-arrow {
  background: none !important;
  border: none;
  padding: 0 8px;
  cursor: pointer;
  display: none; /* Hidden by default, shown on tablet */
  z-index: 5;
  transition: background 0.2s;
}
.testimonial-arrow svg {
  display: block;
  width: 32px;
  height: 32px;
}
.testimonial-arrow:focus {
  outline: 2px solid #484468;
}
	
	.new-carousel-dots {
		display: none;
	}	

@media (min-width: 768px) and (max-width: 1199px) {
  .testimonial-cards {
    flex: 1 1 0;
  }
  .testimonial-cards-wrapper {
	  overflow: hidden;
  }
	body .testimonial-card {
		width: 272px;
	}	
	body .cards-list {
      padding-left: 12px;
	}	
	body #content .new-carousel-wrapper {
		max-width: 600px;
	}
}	
	@media (min-width: 1200px) and (max-width: 1439px) {
		body .testimonial-image-wrapper {
			padding-right: 0;
			margin-right: -50px;
		}
	}
	@media (min-width: 1400px) and (max-width: 1699px) {
		body .testimonial-image-wrapper {
			padding-right: 1%;
		}
	}	
	@media (min-width: 1700px) and (max-width: 1849px) {
		body .testimonial-image-wrapper {
			padding-right: 5%;
		}
	}	
	@media (min-width: 1850px) {
		body .testimonial-image-wrapper {
			padding-right: 12%
		}
	}	
	.cards-list {
		display: flex;
		gap: 32px;
	}


.new-carousel-dots button.active {
    background: #fff;
}
.new-carousel-dots button {
    border: none;
    background: rgba(255, 255, 255, 0.80);
    border-radius: 50%;
    width: 2px !important;
    height: 2px !important;
    cursor: pointer;
    transition: background 0.3s;
    padding: 6px;
}	
body #content .new-prev.inactive, body #content .new-next.inactive {
    background: none;
    color: rgba(255, 255, 255, 0.40);
    cursor: not-allowed;
}
	body #content button.inactive svg path {
		stroke: rgba(255, 255, 255, 0.40);
	}
	.testimonial-read-more-mobile-wrapper {
		text-align: center;
		width: 100%;
		margin-top: 16px;
	}
	
	@media (min-width: 1200px) and (max-width: 1250px) {
		body .testimonial-content {
			left: -120px;
		}
	}
.noSelect {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.noSelect:focus {
    outline: none !important;
}
.testimonial-cards-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.testimonial-arrow {
  position: static !important;
  background: none !important;
  border: none;
  padding: 0 8px;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s;
  /* Optionally, add margin or padding for spacing */
}

@media (min-width: 1200px) {
  .testimonial-arrow {
    display: none;
  }
}