:root {
	--transition-fast: 320ms;
	--transition-medium: 480ms;
	--accent: #0ea5a4;
	--card-radius: 12px;
	--card-shadow: 0 12px 40px rgba(2, 6, 23, 0.07);
	--img-scale: 1.06;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.container-fluid h3 {
	font-size: 30px;
	text-transform: uppercase;
	color: #2798cc;
	/* margin-left: -100px; */
	line-height: 22px;
	margin-top: 10px;
}

#knee-replacement-section {
	padding: 100px 0px;
}

#knee-replacement-section .object-fit-cover {
	width: 100%;
	display: block;
	object-fit: cover; /* ensure image fills box */
}

#knee-replacement-section img {
	border-radius: 10px;
	transition: transform var(--transition-medium) ease,
		filter var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
	will-change: transform, filter;
	/* slightly muted by default to show effect clearly on hover */
	filter: grayscale(12%) contrast(0.98) brightness(0.98);
}

/* #knee-replacement-section .row:hover {
	transform: translateY(-8px);
	box-shadow: var(--card-shadow);
} */

#knee-replacement-section .row:hover img {
	transform: scale(var(--img-scale));
	filter: none; /* remove muted effect */
	box-shadow: 0 8px 30px rgba(2, 6, 23, 0.06);
}

/* #knee-replacement-section .row:hover .kn-replace-title {
	color: var(--accent);
} */
/* #knee-replacement-section .row:hover .kn-replace-title::after {
	transform: scaleX(1);
	background-color: var(--accent);
} */

/* Image column hover gives a stronger local zoom (if user hovers over each image) */
#knee-replacement-section .col-md-4:hover img,
#knee-replacement-section .col-md-2:hover img {
	transform: scale(calc(var(--img-scale) + 0.04));
}

/* subtle cursor change for interactive feel (for clickable images) */
#knee-replacement-section img {
	cursor: zoom-in;
}

#knee-replacement-section img.h-100 {
	height: auto;
}

#knee-replacement-section .row.gx-2 {
	align-items: stretch;
	/* gap: 0.5rem; */
}

.kn-replace-title {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	margin-bottom: 1rem;
	color: var(--primary-color);
	padding-left: 50px;
}

.knee-replacement-details p {
	color: #505050;
	font-weight: normal;
	font-size: 17px;
	line-height: 25px;
	margin: 0 0 10px;
	padding-left: 50px;
	padding-top: 20px;
}

#item-section {
	padding: 60px 0;
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto,
		'Helvetica Neue', Arial;
	color: #1f2937;
}

.container {
	/* max-width: 1100px; */
	margin: 0 auto;
	/* padding: 0 20px; */
}

.item-content-1 {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(31, 41, 55, 0.06);
	padding: 28px;
	max-width: 1060px;
	border-left: 4px solid var(--secondary-color);
	margin: 20px auto;
}

.item-content-1 h2 {
	margin: 0 0 18px;
	font-size: 28px;
	letter-spacing: -0.02em;
	color: var(--primary-color);
	text-align: left;
}

.item-content-1 p {
	margin: 0;
	font-size: 1rem;
	color: #505050;
	text-align: left;
}

.knee-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.knee-list li {
	padding: 14px 16px;
	border-radius: 8px;
	background: linear-gradient(
		90deg,
		rgba(14, 165, 164, 0.03),
		rgba(249, 250, 251, 0)
	);
	border: 1px solid rgba(15, 23, 42, 0.04);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	display: block;
}

.knee-list li strong {
	color: var(--secondary-color);
}

.knee-list li:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
}

.item-content-1 .price {
	margin-top: 12px;
	display: inline-block;
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--secondary-color);
	background: rgba(14, 165, 164, 0.06);
	padding: 8px 12px;
	border-radius: 8px;
	border: 1px solid rgba(6, 78, 82, 0.06);
}

.item-content-1 .note {
	margin-top: 10px;
	font-size: 0.875rem;
	color: #6b7280;
}

.item-content-1 .duration-time {
	display: inline-block;
	margin-top: 10px;
	padding: 8px 12px;
	background: rgba(14, 165, 164, 0.06);
	border-radius: 8px;
	border: 1px solid rgba(6, 78, 82, 0.06);
	color: var(--secondary-color);
	font-weight: 600;
}

.item-content-1 .percent {
	display: inline-block;
	font-weight: 800;
	color: var(--secondary-color);
	font-size: 1.05rem;
	margin: 0 6px;
}

.item-content-1:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 36px rgba(2, 6, 23, 0.06);
}

.contact-cta {
	max-width: 1060px;
	margin: 22px auto;
	padding: 18px 20px;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial,
		sans-serif;
	color: #1f2937;
	line-height: 1.65;
}

.contact-cta p {
	margin: 0 0 12px;
	font-size: 1rem;
	color: #374151;
}

.contact-cta .cta-em {
	font-weight: 700;
	color: var(--secondary-color);
}

.contact-cta strong {
	color: var(--primary-color);
	font-weight: 700;
}

.contact-cta .cta-btn {
	display: inline-block;
	padding: 10px 16px;
	border-radius: 10px;
	text-decoration: none;
	background: var(--secondary-color);
	color: #ffffff;
	font-weight: 600;
	box-shadow: 0 6px 18px rgba(14, 165, 164, 0.14);
	transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.contact-cta .cta-btn:hover,
.contact-cta .cta-btn:focus {
	transform: translateY(-3px);
	box-shadow: 0 14px 36px rgba(2, 6, 23, 0.06);
	outline: none;
}

/* ----hip-replacement---- */

.factor-list {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	display: grid;
	gap: 10px;
}
.factor-list li {
	position: relative;
	padding: 10px 12px 10px 42px; /* room for the check icon */
	border-radius: 8px;
	background: linear-gradient(
		90deg,
		rgba(14, 165, 164, 0.03),
		rgba(249, 250, 251, 0)
	);
	border: 1px solid rgba(15, 23, 42, 0.04);
	color: #505050;
	font-size: 0.98rem;
}

/* check icon */
.factor-list li::before {
	content: '✓';
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--secondary-color);
	color: #fff;
	border-radius: 50%;
	font-weight: 700;
	box-shadow: 0 6px 14px rgba(14, 165, 164, 0.12);
}
