/* Arc Card Carousel — structural styles.
   Visual styling (colors, size, typography, shadows) is controlled
   from the Elementor Style tab and injected as scoped selectors. */

.acc-carousel {
	position: relative;
	width: 100%;
	padding: 60px 0;
	box-sizing: border-box;
}

.acc-track {
	position: relative;
	height: 420px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.acc-card {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 320px;
	height: 420px;
	border-radius: 24px;
	overflow: hidden;
	cursor: pointer;
	transition: transform 600ms ease, opacity 600ms ease, filter 600ms ease;
	will-change: transform, opacity;
	backface-visibility: hidden;
	/* Centering + arc position both live in one transform string,
	   applied inline (server-render + JS) so custom widths/heights
	   set from the Style tab never break alignment. */
	transform: translate(-50%, -50%);
}

.acc-card.acc-is-active {
	cursor: default;
}

.acc-card.acc-is-hidden {
	pointer-events: none;
}

.acc-card-inner {
	position: relative;
	width: 100%;
	height: 100%;
}

.acc-card-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	user-select: none;
	-webkit-user-drag: none;
}

.acc-card-image-fallback {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #6b7280, #4b5563);
}

.acc-card-overlay {
	position: absolute;
	inset: 0;
	background-color: #000000;
	opacity: 0;
	transition: opacity 600ms ease;
	pointer-events: none;
}

.acc-card-content-overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 28px 26px;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0) 75%);
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 350ms ease, transform 350ms ease;
	pointer-events: none;
}

.acc-card.acc-content-visible .acc-card-content-overlay {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.acc-carousel.acc-content-hover .acc-card:hover .acc-card-content-overlay {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.acc-card-content {
	position: relative;
}

.acc-card-title {
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	color: #ffffff;
}

.acc-card-desc {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.85);
}

.acc-card-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: #ffffff;
	color: #1a1a2e;
	padding: 12px 22px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background-color 250ms ease, color 250ms ease, transform 200ms ease;
}

.acc-card-button:hover,
.acc-card-button:focus {
	transform: translateY(-2px);
	text-decoration: none;
}

.acc-card-button svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
	flex-shrink: 0;
}

.acc-card-button i {
	font-size: 14px;
}

/* Arrows */
.acc-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background-color: #ffffff;
	color: #1a1a2e;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 300;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
	transition: background-color 200ms ease, transform 200ms ease;
	padding: 0;
}

.acc-arrow:hover {
	transform: translateY(-50%) scale(1.08);
}

.acc-arrow svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.acc-arrow-prev {
	left: 10px;
}

.acc-arrow-next {
	right: 10px;
}

/* Dots */
.acc-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 24px;
}

.acc-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.2);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: width 250ms ease, border-radius 250ms ease, background-color 250ms ease;
}

.acc-dot.acc-is-active {
	width: 26px;
	border-radius: 5px;
	background-color: #1a1a2e;
}

@media (max-width: 767px) {
	.acc-carousel {
		padding: 30px 0;
	}

	.acc-arrow {
		width: 36px;
		height: 36px;
	}
}
