.phuongphap-section {
	width: 100%;
	box-sizing: border-box;
}

.phuongphap-container {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 33px;
	margin: 0 auto;
}

.phuongphap-card-wrapper {
	display: flex;
	flex: 1;
	position: relative;
}

.phuongphap-card {
	background-color: var(--color-white);
	border: 1px solid var(--color-light-blue);
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 10px 30px rgba(27, 42, 78, 0.04);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	min-height: 320px;
	box-sizing: border-box;
	position: relative;
	z-index: 2;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; 
}

/* Dải màu Gradient phía trên */
.phuongphap-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: linear-gradient(90deg, var(--color-indigo), var(--color-teal));
	z-index: 1;
}

/* --- Hiệu ứng HOVER khung chính --- */
.phuongphap-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(27, 42, 78, 0.08);
	border-color: var(--color-teal);
}

.phuongphap-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	margin-top: 4px;
}

.phuongphap-number {
	background: linear-gradient(135deg, var(--color-teal), var(--color-indigo));
	color: var(--color-white);
	font-size: 14px;
	font-weight: 700;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Khung chứa SVG mặc định */
.phuongphap-icon {
	background-color: var(--color-brand-white);
	color: var(--color-indigo);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.3s ease, color 0.3s ease; 
}

.phuongphap-icon svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}

/* --- Hiệu ứng HOVER cho Icon & SVG khi rê chuột vào khung chính --- */
.phuongphap-card:hover .phuongphap-icon {
	background-color: var(--color-teal);
	color: var(--color-white);
}

.phuongphap-step-label {
	font-family: 'Inter 24';
	color: var(--color-teal);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 8px;
	display: none;
}

.phuongphap-title {
	font-family: 'Inter 24';
	color: var(--color-deep-navy);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 12px 0;
}

.phuongphap-desc {
	color: var(--color-slate-gray);
	font-size: 18px;
	line-height: 1.6;
	margin: 0 0 24px 0;
	flex-grow: 1;
}

.phuongphap-footer {
	border-top: 1px solid var(--color-brand-white);
	padding-top: 16px;
	display: flex;
	align-items: center;
	gap: 8px;
	display: none;
}

.phuongphap-footer-icon {
	color: var(--color-teal);
	display: flex;
	align-items: center;
}

.phuongphap-footer-icon svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.5;
}

.phuongphap-footer-text {
	font-family: 'Inter 24';
	color: var(--color-deep-navy);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

/* --- Mũi tên và đường gạch nối --- */
.phuongphap-next-arrow {
	position: absolute;
	right: -14px;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background-color: var(--color-white);
	border: 1px solid var(--color-light-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(27, 42, 78, 0.08);
	z-index: 3;
}

.phuongphap-next-arrow svg {
	width: 12px;
	height: 12px;
	fill: none;
	stroke: var(--color-slate-gray);
	stroke-width: 3;
}

@media (min-width: 1025px) {
	.phuongphap-card-wrapper:not(:last-child)::after {
		content: '';
		position: absolute;
		left: 100%;
		width: 36px;
		top: 50%;
		transform: translateY(-50%);
		border-top: 2px solid var(--color-light-blue);
		z-index: 1;
	}
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
	.phuongphap-container {
		flex-wrap: wrap;
		gap: 24px;
	}
	.phuongphap-card-wrapper {
		flex: 0 0 calc(50% - 12px);
	}
	.phuongphap-next-arrow {
		display: none;
	}
}

@media (max-width: 768px) {
	.phuongphap-card-wrapper {
		flex: 0 0 100%;
	}
	.phuongphap-card {
		min-height: auto;
	}
}