/*============================================*/
/*       DAYTHREE VOICES (MOVING CARDS)		  */
/*       Created: 2026/01/29                  */
/*       Version: 1.0.0                       */
/*============================================*/

.voices-section {
	padding: 90px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
	position: relative;
	gap: 40px;
}

/* Fade Overlays */
.voices-section::before,
.voices-section::after {
	content: "";
	position: absolute;
	top: 0;
	width: 200px;
	height: 100%;
	z-index: 5;
	pointer-events: none;
}

.voices-section::before {
	left: 0;
	background: linear-gradient(to right, rgba(255, 255, 255, 1), transparent);
}

.voices-section::after {
	right: 0;
	background: linear-gradient(to left, rgba(255, 255, 255, 1), transparent);
}

/* Header */
.voices-header {
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-align: center;
	padding: 0 24px;
	z-index: 6;
}

.voices-header h2,
.voices-header h1,
.voices-header h3,
.voices-header h4,
.voices-header h5,
.voices-header h6 {
	font-family: "Rubik", sans-serif;
	font-weight: bold;
	font-size: 48px;
	color: #4d4d4d;
	line-height: 1.5;
	text-align: center;
}

.highlight-purple {
	background: linear-gradient(90deg, #c8102e 0%, #5d3fd3 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	display: inline-block;
}

.voices-header p {
	font-family: "Poppins", sans-serif;
	color: #4d4d4d;
	font-size: 16px;
	line-height: 1.5;
	max-width: 820px;
	margin: 0 auto;
}

/* Carousel Container */
.voices-experience-container {
	width: 100%;
	display: flex;
	align-items: center;
}

/* Carousel Track */
.experience-track {
	display: flex;
	gap: 40px;
	width: max-content;
	animation: scroll 25s linear infinite;
}

.experience-track.pause-on-hover:hover {
	animation-play-state: paused;
	cursor: pointer;
}

/* Voice Card Base */
.voice-card {
	width: 723px;
	height: 350px;
	border-radius: 24px;
	flex-shrink: 0;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	position: relative;
	overflow: hidden;
	background-color: #e1e5e8;
}

/* Quote Card */
.voice-card.type-quote {
	display: flex;
	flex-direction: row;
}

.quote-content-side {
	width: 64%;
	height: 100%;
	padding: 50px 0 50px 50px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	z-index: 2;
}

.quote-image-side {
	width: 36%;
	height: 100%;
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	position: relative;
}

/* Image Card */
.voice-card.type-image {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* Quote Text */
.quote-text {
	font-family: "Poppins", sans-serif;
	font-size: 20px;
	line-height: 1.5;
	color: #4d4d4d;
	margin-bottom: 28px;
	font-weight: normal;
}

/* Author Info */
.author-info h4 {
	color: #4d4d4d;
	font-weight: normal;
	font-size: 20px;
	display: flex;
	align-items: center;
}

.red-dot {
	height: 8px;
	width: 8px;
	background-color: #e84142;
	border-radius: 50%;
	display: inline-block;
	margin-left: 8px;
	margin-top: 4px;
}

.author-info span {
	font-family: "Poppins", sans-serif;
	font-weight: normal;
	font-size: 20px;
	color: #4d4d4d;
}

/* Scroll Animation */
@keyframes scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* --- Mobile Breakpoint (≤ 768px) --- */
@media (max-width: 768px) {
	.experience-track {
		height: 100%;
	}

	.voices-experience-container {
		height: 600px;
	}

	.voices-header h2,
	.voices-header h1,
	.voices-header h3,
	.voices-header h4,
	.voices-header h5,
	.voices-header h6 {
		font-size: 36px;
		line-height: 1.5;
	}

	.voice-card {
		width: 350px;
	}

	.voice-card.type-quote {
		flex-direction: column;
		height: auto;
		min-height: 520px;
	}

	.voice-card.type-quote .quote-image-side {
		width: 100%;
		height: 275px;
	}

	.voice-card.type-quote .quote-content-side {
		width: 100%;
		height: auto;
		padding: 30px 25px;
		flex-grow: 1;
	}

	.voice-card.type-image {
		height: 100%;
	}
}
