/* Tech Stack Logo Slider v1.1 */
.tls-section {
	background: var(--tls-bg, transparent);
	padding: var(--tls-pad-top, 60px) 20px var(--tls-pad-bot, 80px);
	text-align: center;
	box-sizing: border-box;
}
.tls-section *,
.tls-section *::before,
.tls-section *::after { box-sizing: border-box; }

.tls-inner { max-width: var(--tls-max-w, 1000px); margin: 0 auto; }

/* Heading block */
.tls-bar {
	display: block;
	width: 34px;
	height: 4px;
	margin: 0 auto 18px;
	border-radius: 4px;
	background: var(--tls-accent, #f5a623);
}
.tls-heading {
	margin: 0 0 18px;
	color: var(--tls-heading, #014141);
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 700;
	line-height: 1.25;
}
.tls-subheading {
	margin: 0 auto 50px;
	max-width: 760px;
	color: var(--tls-text, #333);
	font-size: 16px;
	line-height: 1.6;
}

/* ---------- Shared slide + logo box ---------- */
.tls-slider { position: relative; }
.tls-viewport { overflow: hidden; }
.tls-track { display: flex; align-items: var(--tls-valign, center); }

.tls-slide {
	flex: 0 0 auto;
	display: flex;
	align-items: var(--tls-valign, center);
	justify-content: var(--tls-halign, center);
	padding: 6px calc(var(--tls-gap, 20px) / 2);
	min-width: 0;
}

.tls-logo {
	display: inline-flex;
	align-items: center;
	justify-content: var(--tls-halign, center);
	max-width: 100%;
	line-height: 0;
	transition: transform .3s ease, opacity .3s ease, box-shadow .3s ease;
}
.tls-logo img,
.tls-section img.tls-logo-img {
	display: block;
	max-width: 100%;
	margin: 0;
	border: 0;
	box-shadow: none;
	user-select: none;
	-webkit-user-drag: none;
	transition: filter .3s ease, opacity .3s ease;
}

/* Width + height set: fixed box, image fitted inside */
.tls-size-both .tls-logo { width: var(--tls-img-w); height: var(--tls-img-h); }
.tls-size-both .tls-logo img { width: 100% !important; height: 100% !important; object-fit: var(--tls-fit, contain); }
/* Width only: height follows the image's own ratio */
.tls-size-w .tls-logo { width: var(--tls-img-w); }
.tls-size-w .tls-logo img { width: 100% !important; height: auto !important; }
/* Height only: width follows the image's own ratio */
.tls-size-h .tls-logo img { height: var(--tls-img-h) !important; width: auto !important; max-width: 100%; object-fit: var(--tls-fit, contain); }
/* Auto: natural size, never wider than the column */
.tls-size-auto .tls-logo img { width: auto !important; height: auto !important; }

/* Cards */
.tls-cards .tls-logo {
	background: #fff;
	padding: var(--tls-card-pad, 14px);
	border-radius: var(--tls-radius, 8px);
	box-shadow: 0 2px 10px rgba(16, 40, 60, .08);
	box-sizing: content-box;
	max-width: calc(100% - var(--tls-card-pad, 14px) * 2);
}

/* Effects */
.tls-grayscale .tls-logo img { filter: grayscale(1); opacity: .65; }
.tls-grayscale .tls-logo:hover img,
.tls-grayscale .tls-logo:focus img { filter: none; opacity: 1; }
.tls-hover-zoom .tls-logo:hover { transform: scale(1.08); }
.tls-hover-lift .tls-logo:hover { transform: translateY(-5px); }
.tls-cards.tls-hover-lift .tls-logo:hover { box-shadow: 0 10px 22px rgba(16, 40, 60, .14); }
.tls-hover-fade .tls-track:hover .tls-logo { opacity: .4; }
.tls-hover-fade .tls-track:hover .tls-logo:hover { opacity: 1; }

/* ---------- Slider layout ---------- */
.tls-layout-slider .tls-slider { padding: 0 34px; }
.tls-layout-slider .tls-viewport { touch-action: pan-y; }
.tls-layout-slider .tls-track {
	will-change: transform;
	transition: transform var(--tls-speed, 800ms) var(--tls-easing, ease);
}
.tls-track.tls-no-anim { transition: none !important; }
.tls-slider.tls-static .tls-track { justify-content: center; }

/* Arrows */
.tls-arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 30px;
	height: 30px;
	padding: 4px;
	margin: 0;
	transform: translateY(-50%);
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--tls-arrow, #0f8c8c) !important;
	cursor: pointer;
	line-height: 0;
	opacity: .9;
}
.tls-arrow:hover,
.tls-arrow:focus-visible { opacity: 1; }
.tls-arrow:focus-visible { outline: 2px solid var(--tls-arrow, #0f8c8c); outline-offset: 2px; border-radius: 4px; }
.tls-arrow svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tls-arrow[disabled] { opacity: .3; cursor: default; }
.tls-prev { left: 0; }
.tls-next { right: 0; }

.tls-layout-slider .tls-arrows-bottom { padding: 0 0 46px; }
.tls-arrows-bottom .tls-arrow { top: auto; bottom: 0; transform: none; }
.tls-arrows-bottom .tls-prev { left: calc(50% - 38px); }
.tls-arrows-bottom .tls-next { right: calc(50% - 38px); }

.tls-slider.tls-static .tls-arrow,
.tls-slider.tls-no-arrows .tls-arrow { display: none; }
.tls-layout-slider .tls-slider.tls-no-arrows { padding: 0; }

/* Dots */
.tls-dots { display: none; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tls-slider.tls-has-dots .tls-dots { display: flex; }
.tls-dot {
	width: 9px;
	height: 9px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50%;
	background: var(--tls-arrow, #0f8c8c) !important;
	opacity: .25;
	cursor: pointer;
}
.tls-dot[aria-selected="true"] { opacity: 1; }

/* ---------- Marquee layout ---------- */
.tls-layout-marquee .tls-track {
	width: max-content;
	animation: tls-marquee var(--tls-marquee-dur, 30s) linear infinite;
	animation-play-state: paused;
}
.tls-layout-marquee .tls-slider.tls-running .tls-track { animation-play-state: running; }
.tls-layout-marquee .tls-slider.tls-dir-right .tls-track { animation-direction: reverse; }
.tls-layout-marquee .tls-slider.tls-pause-hover:hover .tls-track { animation-play-state: paused; }
@keyframes tls-marquee {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(calc(var(--tls-marquee-dist, 0px) * -1), 0, 0); }
}
.tls-layout-marquee .tls-viewport {
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

/* ---------- Grid layout ---------- */
.tls-layout-grid .tls-viewport { overflow: visible; }
.tls-layout-grid .tls-track {
	display: grid;
	grid-template-columns: repeat(var(--tls-cols, 4), minmax(0, 1fr));
	row-gap: var(--tls-row-gap, 30px);
}
.tls-layout-grid .tls-slide { width: auto; }

@media (max-width: 640px) {
	.tls-section { padding-left: 16px; padding-right: 16px; }
	.tls-subheading { margin-bottom: 32px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
	.tls-track { transition: none !important; }
	.tls-layout-marquee .tls-track { animation: none; }
}
