/* ==========================================================
   BFMS - Industries page
   (hero, intro, service cards and CTA come from services.css)
   ========================================================== */

/* ---------- Intro black band ---------- */
.industry-intro-band {
	background: var(--black);
	padding: 56px 0 50px;
}

.industry-intro-band p {
	color: var(--white);
	font-size: 30px;
	line-height: 40px;
	max-width: 1190px;
}

/* ---------- Industry sections ---------- */
.industry-section {
	padding: 90px 0 90px;
	overflow: hidden;
	scroll-margin-top: 40px;
}

.industry-light {
	background: var(--white);
}

.industry-dark {
	background: var(--black);
}

.industry-block {
	display: grid;
	margin-bottom: 64px;
}

.industry-text h2 {
	font-size: 52px;
	font-weight: 500;
	line-height: 68px;
	color: var(--black);
	margin-bottom: 34px;
}

.industry-text p {
	font-size: 22px;
	line-height: 30px;
	color: var(--text);
}

.industry-dark .industry-text h2,
.industry-dark .industry-text p {
	color: var(--white);
}

.industry-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Text left, image right (Healthcare) */
.layout-split-right {
	grid-template-columns: 1fr 692px;
	gap: 120px;
	align-items: center;
}

.layout-split-right .industry-image img {
	height: 474px;
}

/* Image left, text right (Engineering, Professional) */
.layout-split-left {
	grid-template-columns: 683px 1fr;
	gap: 45px;
	align-items: center;
}

.layout-split-left .industry-image {
	order: -1;
}

.layout-split-left .industry-image img {
	height: 490px;
}

#professional-services .layout-split-left {
	grid-template-columns: 560px 1fr;
}

#professional-services .layout-split-left .industry-image img {
	height: 382px;
}

#professional-services .industry-text p {
	font-size: 24px;
	color: #666;
}

/* Title and text on top, wide image below (Technology) */
.layout-text-top .industry-text p {
	max-width: 1140px;
	margin-bottom: 48px;
}

.layout-text-top .industry-image img {
	height: 490px;
}

/* Wide image on top, text below (Real Estate, Logistics) */
.layout-image-top .industry-image {
	order: -1;
	margin-bottom: 50px;
}

.layout-image-top .industry-image img {
	height: 606px;
}

#logistics-automotive .layout-image-top .industry-image img {
	height: 490px;
}

.layout-image-top .industry-text p {
	max-width: 1200px;
}

/* Small title beside text, wide image below (BFSI) */
.layout-inline-title .industry-text {
	display: flex;
	align-items: flex-start;
	gap: 55px;
	padding-left: 48px;
	margin-bottom: 46px;
}

.layout-inline-title .industry-text h2 {
	font-size: 42px;
	line-height: 1;
	margin: 12px 0 0;
	flex-shrink: 0;
}

.layout-inline-title .industry-image img {
	height: 525px;
}

/* ---------- Solutions carousel ---------- */
.solutions-carousel {
	overflow: hidden;
}

.solutions-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
}

/* .solutions-carousel .section-title {
	font-size: 36px;
	padding-bottom: 28px;
	margin-bottom: 26px;
} */

.carousel-arrows {
	display: flex;
	gap: 44px;
	padding-right: 2px;
}

.carousel-arrows button {
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	cursor: pointer;
	transition: opacity .25s ease, transform .25s ease;
}

.carousel-arrows button:hover {
	transform: scale(1.08);
}

.carousel-arrows button:disabled {
	opacity: .35;
	cursor: default;
	transform: none;
}

.carousel-arrows img {
	width: 40px;
	height: 40px;
}

.solutions-track {
	display: flex;
	gap: 38px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	margin-right: calc((100% - 100vw) / 2);
	padding-right: 40px;
}

.solutions-track::-webkit-scrollbar {
	display: none;
}

.solutions-track .service-card {
	flex: 0 0 522px;
	scroll-snap-align: start;
}

.carousel-progress {
	position: relative;
	height: 3px;
	margin: 28px 0 28px;
	background: #4a4a4a;
	overflow: hidden;
}

.carousel-progress span {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 15%;
	background: #bdbdbd;
	transition: transform .3s ease, width .3s ease;
}

.industry-dark .carousel-progress {
	background: #5a5a5a;
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
	.layout-split-right {
		grid-template-columns: 1fr 1.3fr;
		gap: 60px;
	}

	.layout-split-left,
	#professional-services .layout-split-left {
		grid-template-columns: 1.2fr 1fr;
	}
}

@media (max-width: 991px) {
	.industry-intro-band p {
		font-size: 22px;
		line-height: 32px;
	}

	.industry-section {
		padding: 70px 0;
	}

	.industry-text h2 {
		font-size: 40px;
		line-height: 50px;
		margin-bottom: 20px;
	}

	.industry-text p,
	#professional-services .industry-text p {
		font-size: 18px;
		line-height: 27px;
	}

	.layout-split-right,
	.layout-split-left,
	#professional-services .layout-split-left {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.layout-split-right .industry-image,
	.layout-split-left .industry-image {
		order: -1;
	}

	.layout-split-right .industry-image img,
	.layout-split-left .industry-image img,
	#professional-services .layout-split-left .industry-image img,
	.layout-text-top .industry-image img,
	.layout-image-top .industry-image img,
	#logistics-automotive .layout-image-top .industry-image img,
	.layout-inline-title .industry-image img {
		height: 380px;
	}

	.layout-inline-title .industry-text {
		flex-direction: column;
		gap: 16px;
		padding-left: 0;
	}

	.layout-inline-title .industry-text h2 {
		font-size: 40px;
		margin: 0;
	}
}

@media (max-width: 767px) {
	.industry-intro-band {
		padding: 40px 0;
	}

	.industry-intro-band p {
		font-size: 18px;
		line-height: 27px;
	}

	.industry-section {
		padding: 56px 0;
	}

	.industry-block {
		margin-bottom: 44px;
	}

	.industry-text h2,
	.layout-inline-title .industry-text h2 {
		font-size: 30px;
		line-height: 38px;
	}

	.industry-text p,
	#professional-services .industry-text p {
		font-size: 16px;
		line-height: 24px;
	}

	.layout-image-top .industry-image {
		margin-bottom: 26px;
	}

	.layout-text-top .industry-text p {
		margin-bottom: 26px;
	}

	.layout-split-right .industry-image img,
	.layout-split-left .industry-image img,
	#professional-services .layout-split-left .industry-image img,
	.layout-text-top .industry-image img,
	.layout-image-top .industry-image img,
	#logistics-automotive .layout-image-top .industry-image img,
	.layout-inline-title .industry-image img {
		height: 240px;
	}

	.solutions-carousel .section-title {
		font-size: 26px;
		padding-bottom: 20px;
	}

	.carousel-arrows {
		gap: 12px;
	}

	.carousel-arrows button,
	.carousel-arrows img {
		width: 34px;
		height: 34px;
	}

	.solutions-track {
		gap: 16px;
		padding-right: 16px;
	}

	.solutions-track .service-card {
		flex-basis: 82%;
		height: 300px;
	}
}
