a:visited {
	color: aliceblue;
}


.slick-prev,
.slick-next {
	font-size: 24px;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background-color: #EEE9DC;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	position: fixed;
	top: -35%;
	transform: translateY(-50%);
	z-index: 9999;
}


.slick-prev {
	left: 1rem;
}

.slick-next {
	right: 1rem;
}


.testimonial-container {
	margin: auto;
	text-align: center;
}

#image-container {
	position: relative;
	width: 100%;
	height: 400px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 2rem;
}

.testimonial-image {
	position: absolute;
	width: 100%;
	max-width: 350px;
	height: auto;
	object-fit: contain;
	transition: all 0.6s ease;
}

.word {
	display: inline-block;
	transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
}

#designation {
	font-size: 1rem;
	color: #666;
}

.button-container {
	margin-top: 1rem;
}

.nav-button {
	padding: 0.5rem 1rem;
	margin: 0 1rem;
	font-size: 1rem;
	cursor: pointer;
	background-color: #333;
	color: white;
	border: none;
	border-radius: 5px;
	transition: background 0.3s ease;
}

.nav-button:disabled {
	background-color: #888;
	cursor: not-allowed;
}

@media screen and (max-width: 768px) {
	#image-container {
		height: 250px;
	}

	.testimonial-image {
		max-width: 200px;
	}

	.testimonial-grid {
		display: grid;
		gap: 0rem;
	}
}

.carousel {
	transform-style: preserve-3d;
	transition: transform 1s;
	user-select: none;
}

.carousel div {
	transform-style: preserve-3d;
}

.slide1 {
	transform: rotateY(0deg) translateZ(250px);
}

.slide2 {
	transform: rotateY(60deg) translateZ(250px) rotateY(-60deg);
}

.slide3 {
	transform: rotateY(120deg) translateZ(250px) rotateY(-120deg);
}

.slide4 {
	transform: rotateY(180deg) translateZ(250px) rotateY(-180deg);
}

.slide5 {
	transform: rotateY(240deg) translateZ(250px) rotateY(-240deg);
}

.slide6 {
	transform: rotateY(300deg) translateZ(250px) rotateY(-300deg);
}

.Dragonfly {
	position: relative;
	top: 206px;
	left: 40px;
}

@media (max-width: 768px) {

	.slide1,
	.slide2,
	.slide3,
	.slide4,
	.slide5,
	.slide6 {
		transform: none !important;
		position: static !important;
	}

	.carousel {
		transform: none !important;
		display: flex;
		flex-direction: row;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.item {
		min-width: 80vw;
		scroll-snap-align: center;
		margin-right: 1rem;
	}
}

.testimonial-grid {
	display: grid;
	gap: 1rem;
}

.image-container {
	position: relative;
	width: 100%;
	perspective: 1000px;
}

.testimonial-image {
	position: absolute;
	width: 400px;
	height: 300px;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
		opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
		left 0.6s cubic-bezier(0.23, 1, 0.32, 1),
		top 0.6s cubic-bezier(0.23, 1, 0.32, 1),
		right 0.6s cubic-bezier(0.23, 1, 0.32, 1),
		bottom 0.6s cubic-bezier(0.23, 1, 0.32, 1),
		z-index 0s;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* .testimonial-content {
display: flex;
flex-direction: column;
justify-content: space-between;
} */

.designation {
	font-size: 0.875rem;
	color: #6b7280;
	margin-bottom: 2rem;
}

.quote {
	font-size: -0.875rem;
	color: #4b5563;
	line-height: 1.75;
}

.arrow-buttons {
	display: flex;
	gap: 1rem;
	padding-top: 3rem;
}

.arrow-button {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background-color: #535F42;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	position: relative;
	top: 65px;
	right: 110px;
}

.arrow-button:hover {
	background-color: #00a6fb;
}


.arrow-button:hover {
	background-color: #535F4280;
}

.arrow-button svg {
	width: 1.25rem;
	height: 1.25rem;
	fill: #f1f1f7;
	transition: transform 0.3s;
}

.arrow-button:hover:not(:disabled) svg {
	fill: #ffffff;
}

.prev-button:hover:not(:disabled) svg {
	transform: rotate(-12deg);
}

.next-button:hover:not(:disabled) svg {
	transform: rotate(12deg);
}

.word {
	display: inline-block;
	transition: all 0.4s ease;
}

.custom-bg {
	background:
		linear-gradient(rgba(238, 233, 220, 0.6), rgba(238, 233, 220, 0.6)),
		url('http://kashi-ra.com/wp-content/uploads/2025/12/bg_pattern.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

@media (min-width: 768px) {
	.testimonial-grid {
		grid-template-columns: 1fr 1fr;
	}

	.arrow-buttons {
		padding-top: 0;
		padding-left: 110px;
	}
}

@keyframes cloudLeft {
	0% {
		transform: translateX(-100%);

	}

	100% {
		transform: translateX(-30%);
		visibility: hidden;
		opacity: 0.3;
	}
}

@keyframes cloudRight {
	0% {
		transform: translateX(100%);

	}

	100% {
		transform: translateX(30%);
		visibility: hidden;
		opacity: 0.3;
	}
}

.animate-cloud-left {
	animation: cloudLeft 5s linear forwards;
	bottom: -100px;
}

.animate-cloud-right {
	animation: cloudRight 5s linear forwards;
	bottom: -100px;
}


.carousel,
.item {
	transition: transform 0.5s ease-in-out;
	transform-style: preserve-3d;
	will-change: transform;
}

@media screen and (max-width: 768px) {
	.testimonial-grid {
		display: grid;
		gap: 0rem;
	}

	.testimonial-image {
		position: absolute;
		width: 400px;
		height: 150px;
	}

	#image-container {
		position: relative;
		align-items: center;
		margin-bottom: 9rem;
		margin-left: -3rem;
	}

	.arrow-button {
		position: relative;
		left: 70px;
		gap: 3rem;
		top: 10px;
	}

	.arrow-buttons {
		display: flex;
		gap: 2rem;
	}
}
