/* Services Scroll Block Styles */

/* Main Container */
.services-scroll-block {
	background-color: var(--color-neutral, #edeef2);
	color: var(--color-neutral-content, #3e3f3d);
}

/* Scroll Container */
.services-scroll-container {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.services-scroll-wrapper {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-behavior: smooth;
	padding: 0 0px 16px 0;
	-webkit-overflow-scrolling: touch;
}

/* Desktop scrollbar styling */
.services-scroll-wrapper::-webkit-scrollbar {
	height: 8px;
}

.services-scroll-wrapper::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.1);
	border-radius: 4px;
}

.services-scroll-wrapper::-webkit-scrollbar-thumb {
	background: var(--color-primary, #e74c3c);
	border-radius: 4px;
}

.services-scroll-wrapper::-webkit-scrollbar-thumb:hover {
	background: var(--color-primary-dark, #c0392b);
}

/* Firefox scrollbar */
.services-scroll-wrapper {
	scrollbar-width: thin;
	scrollbar-color: var(--color-primary, #e74c3c) rgba(0, 0, 0, 0.1);
}

/* Service Box */
.service-box {
	flex: 0 0 auto;
	width: 320px;
	max-width: 320px;
	height: 100%;
	display: flex;
}

.service-box-inner {
	background: var(--color-base-100, #f9fafb);
	border-radius: 0;
	padding: 32px 24px 40px 24px;
	width: 100%;
	min-height: 360px;
	display: flex;
	flex-direction: column;
	position: relative;
	transition: all 0.3s ease;
	border: 1px solid var(--color-base-300, #e5e7eb);
}

.service-box-inner:hover {
	transform: translateY(-4px);
}

/* Clickable Box Link */
.service-box-link {
	display: block;
	text-decoration: none;
	color: inherit;
	transition: all 0.3s ease;
}

.service-box-link:hover {
	text-decoration: none;
	color: inherit;
}

/* Bottom Icons Container */
.service-bottom-icons {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-top: auto;
	padding-top: 16px;
}

/* Service Icon */
.service-icon {
	display: flex;
	justify-content: center;
	align-items: flex-end;
}

.service-icon img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 0;
}

/* Service Content */
.service-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.service-title {
	font-size: 27px;
	font-weight: 700;
	color: var(--color-neutral-content, #3e3f3d);
	line-height: 1.3;
	margin: 0;
	text-align: left;
}

.service-description {
	font-size: 18px;
	line-height: 1.6;
	color: var(--color-neutral-content, #3e3f3d);
	margin: 0;
	text-align: left;
	flex: 1;
}

/* Service Link Arrow */
.service-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	background-color: var(--color-primary, #e74c3c);
	color: white;
	border-radius: 0;
	text-decoration: none;
	transition: all 0.3s ease;
}

.service-arrow svg {
	width: 16px;
	height: 16px;
}

/* Scroll Hint */
.scroll-hint {
	margin-top: 32px;
}

.scroll-hint p {
	font-size: 14px;
	color: var(--color-neutral-content, #3e3f3d);
	opacity: 0.6;
	margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
	.service-box {
		width: 280px;
		max-width: 280px;
	}

	.service-box-inner {
		padding: 28px 20px 40px 20px;
		min-height: 260px;
	}

	.service-title {
		font-size: 22px;
	}

	.service-description {
		font-size: 15px;
	}
}

@media (max-width: 768px) {
	.services-scroll-wrapper {
		gap: 16px;
		padding: 0 0px 16px 0px;
		/* Hide scrollbar on mobile */
		scrollbar-width: none;
		-ms-overflow-style: none;
	}

	.services-scroll-wrapper::-webkit-scrollbar {
		display: none;
	}

	.service-box {
		width: 260px;
		max-width: 260px;
	}

	.service-box-inner {
		padding: 24px 18px 40px 18px;
		min-height: 260px;
	}

	.service-title {
		font-size: 20px;
	}

	.service-description {
		font-size: 14px;
	}

	.service-arrow {
		width: 20px;
		height: 20px;
	}

	.service-arrow svg {
		width: 14px;
		height: 14px;
	}
}

@media (max-width: 480px) {
	.service-box {
		width: 240px;
		max-width: 240px;
	}

	.service-box-inner {
		padding: 20px 16px 40px 16px;
		min-height: 260px;
	}

	.service-title {
		font-size: 18px;
	}

	.service-description {
		font-size: 13px;
		line-height: 1.5;
	}
}

/* Focus States for Accessibility */
.service-arrow:focus {
	outline: 2px solid var(--color-primary, #e74c3c);
	outline-offset: 2px;
}

.service-arrow:focus:not(:focus-visible) {
	outline: none;
}