/* Service Hero */
.service-hero {
	position: relative;
	width: 100%;
	height: 70vh;
	margin-top: 0;
	padding-top: 155px;
	overflow: hidden;
	z-index: 1;
}

.service-hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	z-index: 0;
}

.service-hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1;
}

.service-hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	color: white;
	padding: 155px 0 0;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.service-hero-title {
	color: var(--primary-color);
	font-size: var(--font-size-h1);
	font-weight: var(--font-weight-h1);
	line-height: calc(var(--line-height-h1) / var(--font-size-h1));
	letter-spacing: var(--letter-spacing-h1);
	text-transform: uppercase;
	margin-bottom: 36px !important;
	text-align: center;
}

.service-hero-subtitle {
	color: #f9f8f6;
	font-size: 20px;
	font-weight: 500;
	line-height: 28px;
	text-align: center;
	margin-bottom: 40px !important;
	width: 60%;
}

.service-hero-ctas {
	display: flex;
	gap: 15px;
	justify-content: center;
	flex-wrap: wrap;
}

/* How It Works Section */
.service-how-it-works {
	background: #f9f8f6;
	padding: 80px 0 120px;
}

.service-steps {
	gap: 0;
}

.service-step-card {
	background: white;
	overflow: hidden;
	padding: 0;
	border-radius: 0;
	transition: all 0.3s ease;
	position: relative;
	box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
}

.service-step-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	transform: translateY(-4px);
}

.content-bottom-top {
	display: flex;
	gap: 10px;
	justify-content: flex-start;
	align-items: center;
	margin-bottom: 10px;
}

.service-step-image {
	width: 100%;
	height: 300px;
	overflow: hidden;
	object-fit: cover;
	border-radius: 0;
}

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

.content-bottom {
	position: absolute;
	z-index: 100;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(12px);
	bottom: 0;
	padding: 12px;
	width: 100%;
	left: 0;
	width: 100%;
}

.service-step-number {
	color: #4d403a;
	text-align: center;
	font-family: Inter;
	font-size: 12px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	width: 20px;
	height: 20px;
	background: #dedacf;
	text-align: center;
	line-height: 22px;
}

.service-step-title {
	color: #4d403a;
	text-align: center;
	font-family: Inter;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}

.service-step-description {
	color: #4d403a;
	font-family: Inter;
	font-size: 14px;
	font-style: normal;
	font-weight: 300;
	line-height: normal;
	text-align: left;
}

/* Materials Section */
.service-materials {
	background: #f9f8f6;
	box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.1);
	padding: 80px 0 40px;
}

.material-section {
	padding: 80px 0;
	margin-top: 40px;
	box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.1);
	background-image: url("../images/featured-bg.png");
	background-size: cover;
	background-position: center;
	position: relative;
	background-repeat: no-repeat;
}

.material-section:first-of-type {
	border-top: none;
	box-shadow: none !important;
}

.service-materials > .material-section:first-of-type {
	border-top: none;
	box-shadow: none !important;
}

.service-materials > .container + .material-section {
	border-top: none;
	box-shadow: none !important;
	box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.1) !important;
	padding-top: 20px;
}

.material-section-title {
	color: #262626;
	text-align: center;
	font-family: Inter;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	margin-bottom: 15px;
}

.service-materials .main-section-title {
	margin-bottom: 32px;
}

.material-section-divider {
	width: 100%;
	height: 1px;
	background: #262626;
	margin-bottom: 64px;
}

.service-material-cards {
	gap: 0;
	--bs-gutter-y: 27px;
}

.service-material-cards .col-lg {
	flex: 0 0 20%;
	max-width: 20%;
}

.material-card {
	border-radius: 0;
	overflow: hidden;
	box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
	height: 100%;
	width: 100%;
	display: flex;
	flex-direction: column;
	max-width: 230px;
	height: 230px;
	position: relative;
}

.material-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.material-card-image {
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	height: 230px;
	position: relative;
}

.material-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.material-card:hover .material-card-image img {
	transform: scale(1.05);
}

/* Sale Badge */
.sale-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 70px;
	height: 70px;
	background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
	z-index: 2;
}

.sale-badge::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, 0.3);
	box-sizing: border-box;
}

.sale-badge-content {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: white;
	font-weight: 700;
}

.sale-label {
	font-size: 11px;
	letter-spacing: 0.5px;
	line-height: 1;
	margin-bottom: 2px;
}

.sale-percent {
	font-size: 20px;
	line-height: 1;
}

.material-card-info {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 20px;
	display: flex;
	flex-direction: column;
	z-index: 100;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(12px);
	transform: translateY(calc(100% - 0px));
	transition: transform 0.4s ease;
	overflow-y: auto;
}

.material-card:hover .material-card-info {
	transform: translateY(0);
}

.material-card-title {
	font-size: 1rem;
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 10px;
}

.material-card-description {
	color: #4d403a;
	font-family: Inter;
	font-size: 14px;
	font-style: normal;
	font-weight: 300;
	line-height: normal;
	text-align: left;
	flex-grow: 1;
	display: flex;
	align-items: end;
}

/* Technologies Section */
.technologies-section {
	background: #f9f8f6;
	padding: 80px 0 120px;
}

.tech-cards {
	gap: 0;
}

.tech-card {
	position: relative;
	background: white;
	overflow: hidden;
	box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
	transition: all 0.3s ease;
	border-radius: 0;
	height: 500px;
}

.tech-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.tech-card-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 1;
}

.tech-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.tech-card:hover .tech-card-image img {
	transform: scale(1.05);
}

.tech-card-content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	z-index: 10;
	transform: translateY(calc(100% - 80px));
	transition: transform 0.4s ease;
	background: rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(18px);
}

.tech-card:hover .tech-card-content {
	transform: translateY(0);
}

.tech-card-top {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 20px;
	min-height: 80px;
	flex-shrink: 0;
}

.tech-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	background: #dedacf;
	border-radius: 0;
	flex-shrink: 0;
	color: #4d403a;
	text-align: center;
	font-family: Inter;
	font-size: 12px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
}

.tech-title {
	color: #4d403a;
	text-align: center;
	font-family: Inter;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	margin: 0;
	text-align: left;
}

.tech-card-bottom {
	padding: 0 20px 20px;
	flex: 1;
	overflow-y: auto;
}

.tech-description {
	color: #4d403a;
	font-family: Inter;
	font-size: 14px;
	font-style: normal;
	font-weight: 300;
	line-height: normal;
	margin: 0;
	text-align: left;
}

.tech-description p {
	color: #4d403a;
	font-size: 13px;
	font-weight: 300;
	line-height: 1.6;
	margin: 0 0 10px 0;
	text-align: left;
}

.tech-description p:last-child {
	margin-bottom: 0;
}

.tech-description strong {
	font-weight: 600;
}

.tech-description em {
	font-style: italic;
}

.tech-description ul,
.tech-description ol {
	margin: 10px 0;
	padding-left: 20px;
}

.tech-description li {
	margin: 5px 0;
}

/* Responsive */
@media (max-width: 1024px) {
	.service-material-cards .col-lg {
		flex: 0 0 25%;
		max-width: 25%;
	}
}

@media (max-width: 768px) {
	.service-hero-title {
		font-size: 30px;
		line-height: 32px;
	}

	.service-hero-subtitle {
		font-size: 16px;
		line-height: 22px;
	}

	.service-hero-ctas {
		gap: 10px;
	}

	.service-hero-ctas .btn {
		padding: 10px 25px;
		font-size: 0.9rem;
	}

	/* .service-step-card {
	  padding: 20px 15px;
	} */
	.material-section-title {
		font-size: 1.4rem;
	}

	.service-material-cards .col-lg {
		flex: 0 0 33.333%;
		max-width: 33.333%;
	}

	.service-material-cards .col-md-4 {
		flex: 0 0 33.333%;
		max-width: 33.333%;
	}

	.tech-card {
		height: 280px;
	}

	.tech-card-content {
		transform: translateY(calc(100% - 70px));
	}

	.tech-card-top {
		padding: 15px;
		min-height: 70px;
	}

	.tech-title {
		font-size: 13px;
	}

	.tech-number {
		width: 24px;
		height: 24px;
		font-size: 11px;
	}

	.main-header .navbar-nav .sub-menu a:hover {
		color: #262626 !important;
	}
}

@media (max-width: 680px) {
	.main-section-title {
		font-size: 30px;
		line-height: 32px;
	}

	.service-hero {
		min-height: 400px;
	}

	.tech-cards {
		gap: 20px;
	}

	.material-items {

	}

	.service-hero-content {
		padding: 90px 0 0;
	}

	.service-hero-title {
		font-size: 1.8rem;
		margin-bottom: 20px !important;
	}


	.service-hero-subtitle {
		width: 90%;
		margin-bottom: 20px !important;
	}

	.service-hero-ctas {
		flex-direction: column;
		gap: 12px;
	}

	.service-hero-ctas .btn {
		width: 100%;
	}

	.service-step-image {
		height: 250px;
	}

	.service-hero {
		height: 80vh;
	}

	.service-how-it-works,
	.why-choose-us-section,
	.about-us-section,
	.homepage-featured-materials,
	.technologies-section,
	.service-materials {
		padding: 40px 0;
	}

	.service-materials {
		padding-bottom: 0;
	}

	.material-section {
		margin-top: 0;
	}

	.service-material-cards {
		gap: 0;
		justify-content: space-between;
		--bs-gutter-y: 20px;

	}

	.service-material-cards .col-lg {
		flex: 0 0 50%;
		max-width: 50%;
	}

	.service-material-cards .col-md-4, .row.material-items .col-sm-4 {
		flex: 0 0 50%;
		max-width: 50%;
	}

	.row.material-items .col-6 {
		flex: 0 0 46%;
		max-width: 46%;
		padding: 0 !important;
	}

	.service-material-cards .col-sm-6 {
		flex: 0 0 46%;
		max-width: 46%;
		padding: 0 !important;
	}

	.material-card, .material-item {
		max-width: 160px !important;
		height: 160px !important;
	}

	.material-card-image, .material-item-image {
		height: 160px !important;
		width: 160px !important;
		margin: 0;
	}

	.d-flex {
		justify-content: center;
	}

	.main-header.scrolled .nav-link.account-link svg,
	.main-header .account-link svg {
		stroke: #fff !important;
	}

	.material-section-divider {
		margin-bottom: 40px;
	}

	.material-section {
		background-size: 160% 120%;
	}

	.footer-main {
		padding-top: 40px !important;
	}

	.footer-main .mb-lg-0,
	.footer-bottom .col-md-6 {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.footer-bottom .row {
		padding: 20px 0 !important;
	}

	.footer-copyright {
		text-align: left;
	}

	.get-inspired-section {
		background-size: 110% !important;
	}

	.material-card-title {
		font-size: 0.9rem;
	}

	.footer-widgets {
		gap: 5px;
	}

	.footer-main {
		padding-bottom: 20px !important;
	}

	.tech-card {
		height: 250px;
	}

	.tech-card-content {
		transform: translateY(calc(100% - 60px));
	}

	.tech-card-top {
		padding: 12px;
		gap: 10px;
		min-height: 60px;
	}

	.tech-number {
		width: 24px;
		height: 24px;
		font-size: 11px;
	}

	.tech-title {
		font-size: 12px;
	}

	.tech-description {
		font-size: 12px !important;
	}

	.sale-percent {
		font-size: 14px !important;
	}

	.sale-badge {
		width: 52px !important;
		height: 52px !important;
	}

	.sale-label {
		font-size: 9px !important;
	}
}
