.cts-testimonial-container {
	display: flex;
	background-color: #EDF6FF;
	border-radius: 5px;
	align-items: center;
}

.cts-static-image {
	width: 50%;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	overflow: hidden;
}

.cts-static-image img {
	width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
	transition: all .3s;
}

.cts-static-image img:hover {
	transform: scale(1.03);
}

.cts-testimonial-label {
	font-size: 14px;
	font-weight: 600;
	color: #1E3055;
	text-transform: uppercase;
	margin-bottom: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.cts-testimonial-label::before {
	content: "";
	width: 11px;
	height: 11px;
	background-color: #4E80D3;
	display: inline-block;
}

.cts-swiper {
	width: 50%;
	position: relative;
}

.cts-testimonial-container .swiper-wrapper {
	align-items: center;
}
.swiper-slide {
	padding: 100px;
	font-family: "Instrument Sans", sans-serif;
	text-align: center;
}

.swiper-slide h4 {
	font-size: 36px;
	line-height: 46px;
	font-weight: 600;
	margin-top: 0;
	margin-bottom: 100px;
	color: #1E3055;
}

.swiper-slide .cts-testimonial-text {
	font-size: 24px;
	line-height: 34px;
	font-weight: 400;
	color: #1E3055;
	margin: 0 0 50px;
}

.swiper-slide .cts-client-name {
	font-size: 18px;
	line-height: 28px;
	font-weight: 500;
	color: #4E80D3;
}

.swiper-pagination {
	text-align: center;
}

.swiper-pagination .swiper-pagination-bullet {
	width: 6px;
	height: 6px;
	background-color: #1E3055;
	border-radius: 0;
	opacity: 1;
}

.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
	background-color: #4E80D3;
}

/* Team member css */
.team-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 42px 25px;
}

.team-member {
	border-radius: 5px;
/* 	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); */
	overflow: hidden;
}

.team-member:hover .team-card img{
	transform: scale(1.03);
}

.team-card .team-member-img{
	overflow: hidden;
}

.team-card img {
	width: 100%;
	display: block;
	object-fit: cover;
	transition: all .3s;
}

.team-card .team-card-inner{
	padding: 20px;
	background-color: #EDF6FF;
}

.team-card .team-card-inner h4{
	margin: 0;
	font-family: "Instrument Sans", Sans-serif;
	font-size: 16px;
	line-height: 26px;
	font-weight: 500;
	color: #1E3055;
}

.team-card .team-card-inner p{
	margin: 0 0 22px;
	font-family: "Instrument Sans", Sans-serif;
	font-size: 16px;
	line-height: 26px;
	font-weight: 500;
	color: #4E80D3;
}

.read-bio {
	font-family: "Instrument Sans", Sans-serif;
	font-size: 16px;
	line-height: 26px;
	font-weight: 500;
	color: #1E3055;
	background: none;
	border: none;
	border-radius: 0;
	text-align: left;
	padding: 0;
	width: 100%;
	display: block;
	outline: none !important;
	position: relative;
	cursor: pointer;
}

.read-bio::before{
	content: "";
  	position: absolute;
  	left: 0;
  	bottom: 0;
  	width: 65px;
  	height: 1px;
  	background: currentColor;
  	transform: scaleX(1);
  	transform-origin: left;
  	transition: transform 0.3s ease;
}

.read-bio:hover::before{
	transform: scaleX(0);
  	transform-origin: right;
}

.read-bio::after{
	content: '';
	width: 32px;
	height: 32px;
	background-color: #1E3055;
	border-radius: 100px;
	background-image: url(https://www.mclaughlinlawyers.com.au/wp-content/uploads/2025/09/right-arrow-white.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 11px;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translatey(-50%);
	transition: all .3s;
}

.read-bio:hover::after{
	background-color: #39527B;
}

.team-popup {
	display: none;
	position: fixed;
	z-index: 999;
	padding-top: 50px;
	padding-bottom: 50px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0, 0, 0);
	background-color: rgba(0, 0, 0, 0.4);

	opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.team-popup.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

/* Modal Content */
.team-popup .popup-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 74px;
	background-color: #F4F4F4;
	color: #1E3055;
	border-radius: 5px;
	margin: auto;
	padding: 100px;
	width: 80%;
}

.team-popup .popup-inner .left-side{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
	height: 100%;
}

.team-popup .popup-close {
	display: block;
	max-width: fit-content;
	font-family: "Instrument Sans", Sans-serif;
	font-size: 18px;
	line-height: 28px;
	font-weight: 400;
	color: #1E3055;
	position: relative;
	padding-bottom: 1px;
}

.team-popup .popup-close::after{
	content: "";
  	position: absolute;
  	left: 0;
  	bottom: 0;
  	width: 100%;
  	height: 1px;
  	background: currentColor;
  	transform: scaleX(1);
  	transform-origin: left;
  	transition: transform 0.3s ease;
}

.team-popup .popup-close:hover::after{
	transform: scaleX(0);
  	transform-origin: right;
}

.team-popup .member-name {
	margin: 0;
	font-family: "Instrument Sans", Sans-serif;
	font-size: 24px;
	line-height: 34px;
	font-weight: 500;
	color: #1E3055;
}

.team-popup .member-role {
	color: #4E80D3;
	margin: 0;
	font-family: "Instrument Sans", Sans-serif;
	font-size: 24px;
	line-height: 34px;
	font-weight: 500;
}

.team-popup .bio-text p{
	font-family: "Instrument Sans", Sans-serif;
	font-size: 18px;
	line-height: 28px;
	font-weight: 400;
	color: #1E3055;
}

.team-popup .social-connect{
    display: flex;
    gap: 25px;
}

.team-popup .details{
	border-top: 0.5px solid #4E80D3;
	padding-top: 10px;
	width: 170px;
}

.team-popup .details h5{
	margin: 0 0 15px;
	font-family: "Instrument Sans", Sans-serif;
	font-size: 18px;
	line-height: 28px;
	font-weight: 400;
	color: #1E305566;
}

.team-popup .details p{
	margin: 0;
}

.team-popup .details p a{
	font-family: "Instrument Sans", Sans-serif;
	font-size: 18px;
	line-height: 28px;
	font-weight: 400;
	color: #1E3055;
	display: block;
	text-decoration: none;
	max-width: fit-content;
	position: relative;
}

.team-popup .details p a::after{
	content: '';
	width: 12px;
	height: 12px;
	background-image: url(https://www.mclaughlinlawyers.com.au/wp-content/uploads/2025/09/up-right-arrow.svg);
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	right: -20px;
	top: 50%;
	transform: translatey(-50%);
	transition: all .3s;
}

.team-popup .details p a:hover::after{
	right: -25px;
}

.team-popup .details .social-icon{
	display: block;
}

.team-popup .details .social-icon img{
	transition: all .3s;
}

.team-popup .details .social-icon img:hover{
	transform: scale(1.07);
}

.team-popup .right-side img{
	width: 100%;
	object-fit: cover;
	display: block;    
	max-width: 70%;
}
@media screen and (min-width: 650px) and (max-width: 1200px) {
	.team-popup .right-side img{ 
		max-width: 50%;
	}
}

@media(max-width: 1199px){
	.team-popup .popup-inner{
		grid-template-columns: 1fr;
	}
	
	.team-popup .popup-inner .left-side{
		grid-row: 2;
	}
	
	.team-popup .popup-inner .right-side{
		grid-row: 1;
	}
}

@media(max-width: 1024px) {
	.cts-testimonial-container {
		flex-direction: column;
	}

	.cts-static-image,
	.cts-swiper {
		width: 100%;
		border-radius: 0;
	}
	
	.team-grid{
		grid-template-columns: 1fr 1fr;
	}
}

@media(max-width: 767px) {
	.swiper-slide {
		padding: 50px 20px;
	}

	.swiper-slide h4 {
		font-size: 28px;
		line-height: 38px;
		margin-bottom: 30px;
	}

	.swiper-slide .cts-testimonial-text {
		font-size: 20px;
		line-height: 30px;
		margin: 0 0 30px;
	}
	
	.team-grid{
		grid-template-columns: 1fr;
	}
	
	.team-popup .popup-inner{
		gap: 25px;
		padding: 20px;
	}
	
	.team-popup .social-connect{
		flex-direction: column;
	}
}
