/**
 * NineSigma Services Carousel - styles.
 * Reproduit les cartes "Related services / How else we can help" :
 * carte navy foncé arrondie, illustration en filigrane, titre blanc,
 * description claire, lien "Learn more" souligné.
 */

.ns-scs {
	position: relative;
	padding: 8px 0;
}

.ns-scs__swiper {
	overflow: hidden;
}

/* Cartes de même hauteur */
.ns-scs--equal .ns-scs__slide {
	height: auto;
	display: flex;
}

.ns-scs--equal .ns-scs__card {
	width: 100%;
}

/* Carte */
.ns-scs__card {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 44px 40px;
	border-radius: 24px;
	background-color: #0A2239;
}

/* Image de fond en filigrane */
.ns-scs__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.35;
	pointer-events: none;
	transition: opacity 0.4s ease, transform 0.6s ease;
}

.ns-scs__card:hover .ns-scs__bg {
	transform: scale(1.03);
}

/* Contenu au-dessus de l'image */
.ns-scs__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

/* Titre */
.ns-scs__title {
	margin: 0 0 18px;
	font-size: 30px;
	line-height: 1.2;
	font-weight: 600;
	color: #ffffff;
}

/* Description */
.ns-scs__text {
	margin: 0 0 28px;
	font-size: 17px;
	line-height: 1.65;
	color: #E4EBF5;
}

/* Lien "Learn more" */
.ns-scs__link {
	margin-top: auto;
	align-self: flex-start;
	color: #AFC3F7;
	font-size: 16px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 4px;
	transition: color 0.25s ease;
}

.ns-scs__link:hover,
.ns-scs__link:focus {
	color: #ffffff;
	text-decoration: underline;
}

/* Pagination (points) */
.ns-scs__pagination {
	position: static;
	margin-top: 28px;
	text-align: center;
}

.ns-scs .swiper-pagination-bullet {
	width: 9px;
	height: 9px;
	background: #ffffff;
	opacity: 0.35;
	transition: opacity 0.25s ease, width 0.25s ease;
}

.ns-scs .swiper-pagination-bullet-active {
	opacity: 1;
	width: 24px;
	border-radius: 5px;
}

/* Flèches */
.ns-scs__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.55);
	background: rgba(0, 0, 0, 0.15);
	color: #ffffff;
	cursor: pointer;
	transition: background-color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.ns-scs__arrow:hover {
	background: #ffffff;
	border-color: #ffffff;
	color: #1B2559;
}

.ns-scs__arrow--prev {
	left: -10px;
}

.ns-scs__arrow--next {
	right: -10px;
}

.ns-scs__arrow.swiper-button-disabled {
	opacity: 0.25;
	cursor: default;
}

/* Responsive */
@media (max-width: 1024px) {
	.ns-scs__title {
		font-size: 26px;
	}
	.ns-scs__card {
		padding: 36px 30px;
	}
	.ns-scs__arrow--prev {
		left: 4px;
	}
	.ns-scs__arrow--next {
		right: 4px;
	}
}

@media (max-width: 767px) {
	.ns-scs__title {
		font-size: 24px;
	}
	.ns-scs__arrow {
		display: none;
	}
}
