/**
 * Rakonex – Clients & Partners Logo Carousel Styles
 */

.rkx-clients-section {
	position: relative;
	background-color: #F8FBFB;
	padding: 80px 24px;
	overflow: hidden;
	box-sizing: border-box;
	width: 100%;
}

.rkx-clients-section * {
	box-sizing: border-box;
}

/* Decorative Corner Dot Patterns */
.rkx-clients-dots {
	position: absolute;
	pointer-events: none;
	z-index: 1;
	user-select: none;
}

.rkx-clients-dots--top-left {
	top: 30px;
	left: 30px;
}

.rkx-clients-dots--bottom-right {
	bottom: 30px;
	right: 30px;
}

.rkx-clients-dots-grid {
	display: block;
	opacity: 0.55;
	transition: opacity 0.3s ease;
}

/* Container */
.rkx-clients-container {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
}

/* Eyebrow */
.rkx-clients-eyebrow-wrap {
	text-align: center;
	margin-bottom: 18px;
}

.rkx-clients-eyebrow {
	display: inline-block;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 3.5px;
	text-transform: uppercase;
	color: #2BB673;
	line-height: 1.4;
	margin: 0;
	padding: 0;
}

/* Heading */
.rkx-clients-title {
	font-family: inherit;
	font-size: clamp(24px, 3.8vw, 36px);
	font-weight: 800;
	line-height: 1.32;
	color: #111827;
	text-align: center;
	max-width: 840px;
	margin: 0 auto 54px;
	letter-spacing: -0.02em;
}

/* Carousel Outer Wrap */
.rkx-clients-carousel-wrap {
	position: relative;
	width: 100%;
}

/* Swiper Container */
.rkx-clients-carousel.swiper {
	width: 100%;
	overflow: hidden;
	position: relative;
	padding: 10px 4px 18px;
	/* Allow card hover lift without clipping */
	margin: -10px -4px -18px;
}

.rkx-clients-carousel .swiper-wrapper {
	display: flex;
	align-items: stretch;
	box-sizing: border-box;
}

/* Slide */
.rkx-clients-slide.swiper-slide {
	height: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	transition: opacity 0.3s ease;
}

/* Card */
.rkx-clients-card {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #FFFFFF;
	border: 1px solid #E5E7EB;
	border-radius: 18px;
	height: 125px;
	min-height: 125px;
	padding: 20px 24px;
	text-decoration: none;
	outline: none;
	width: 100%;
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
		box-shadow 0.25s ease,
		border-color 0.25s ease,
		background-color 0.25s ease;
	position: relative;
	cursor: default;
	transform: translateY(0px);
}

.rkx-clients-card--link {
	cursor: pointer;
}

/* .rkx-clients-card:hover {
	transform: translateY(-4px);
	border-color: #D1D5DB;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
} */

.rkx-clients-card__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.rkx-clients-card__img {
	max-width: 140px;
	max-height: 45px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	margin: 0 auto;
	transition: opacity 0.25s ease, transform 0.25s ease;
	user-select: none;
	pointer-events: none;
}

.rkx-clients-card:hover .rkx-clients-card__img {
	transform: scale(1.02);
}

.rkx-clients-card__text {
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	color: #111827;
	text-align: center;
}

/* Navigation Arrows */
.rkx-clients-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background-color: #FFFFFF;
	border: 1px solid #E5E7EB;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #111827;
	cursor: pointer;
	transition: all 0.2s ease;
	padding: 0;
	outline: none;
}

.rkx-clients-arrow:hover {
	background-color: #F9FAFB;
	border-color: #D1D5DB;
	color: #2BB673;
	transform: translateY(-50%) scale(1.06);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.09);
}

.rkx-clients-arrow--prev {
	left: -22px;
}

.rkx-clients-arrow--next {
	right: -22px;
}

.rkx-clients-arrow.swiper-button-disabled {
	opacity: 0.35;
	cursor: not-allowed;
	pointer-events: none;
}

/* Pagination Dots */
.rkx-clients-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 32px;
	position: static !important;
	width: 100% !important;
}

.rkx-clients-carousel .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background: #D1D5DB;
	border-radius: 50%;
	opacity: 1;
	margin: 0 !important;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	cursor: pointer;
}

.rkx-clients-carousel .swiper-pagination-bullet-active {
	width: 24px;
	border-radius: 6px;
	background: #2BB673;
}

/* Responsive Styles */
@media (max-width: 1024px) {
	.rkx-clients-section {
		padding: 60px 20px;
	}

	.rkx-clients-title {
		margin-bottom: 40px;
	}

	.rkx-clients-card {
		height: 115px;
		min-height: 115px;
		border-radius: 16px;
		padding: 18px 20px;
	}

	.rkx-clients-card__img {
		max-width: 125px;
		max-height: 40px;
	}

	.rkx-clients-arrow--prev {
		left: -10px;
	}

	.rkx-clients-arrow--next {
		right: -10px;
	}

	.rkx-clients-dots {
		display: none;
		/* Hide dense decorative dots on smaller screens to prevent clutter */
	}
}

@media (max-width: 640px) {
	.rkx-clients-section {
		padding: 48px 16px;
	}

	.rkx-clients-eyebrow-wrap {
		margin-bottom: 14px;
	}

	.rkx-clients-eyebrow {
		font-size: 11.5px;
		letter-spacing: 2.5px;
	}

	.rkx-clients-title {
		font-size: 22px;
		line-height: 1.35;
		margin-bottom: 32px;
	}

	.rkx-clients-card {
		height: 100px;
		min-height: 100px;
		border-radius: 14px;
		padding: 14px 16px;
	}

	.rkx-clients-card__img {
		max-width: 105px;
		max-height: 35px;
	}

	.rkx-clients-arrow {
		display: none;
		/* Mobile swipe gesture preferred */
	}
}