/* Eyebrow label tái sử dụng */
.cdet-section-eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--cdet-primary);
	margin-bottom: 8px;
}

/* Section title — mặc định căn giữa */
.cdet-section-title h2,
.cdet-section-title {
	font-size: 1.875rem;
	font-weight: 800;
	color: var(--cdet-text);
	letter-spacing: 0.03em;
	text-transform: uppercase;
	margin-bottom: 0;
}

.cdet-section-title--primary h2,
.cdet-section-title--primary {
	color: var(--cdet-primary);
	letter-spacing: 0.1em;
}

.cdet-section-title--center {
	text-align: center;
}

.cdet-section-title--left h2,
.cdet-section-title--left {
	text-align: left;
}

/* Link "xem thêm" dùng ở nhiều section */
.cdet-link-more {
	font-size: 1rem;
	font-weight: 700;
	color: var(--cdet-text-light);
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: color 0.2s;
}

.cdet-link-more:hover {
	color: var(--cdet-primary);
}

/* ─────────────────────────────────────────────────────────────
BUTTONS
───────────────────────────────────────────────────────────── */
.cdet-btn-primary.button {
	background: var(--cdet-primary);
	color: #fff;
	border-radius: var(--cdet-radius-lg);
	padding: 0 2.4em;
	font-weight: 800;
	border: none;
	box-shadow: 0 4px 14px 0 rgba(0, 74, 173, 0.35);
}

.cdet-btn-primary.button:hover {
	background: var(--cdet-navy);
	box-shadow: 0 6px 20px 0 rgba(0, 74, 173, 0.45);
}

.cdet-btn-outline-primary.button {
	background: transparent;
	color: var(--cdet-primary);
	border: 2px solid var(--cdet-primary);
	border-radius: var(--cdet-radius-lg);
	padding: 0 2em;
	font-weight: 800;
}

.cdet-btn-outline-primary.button:hover {
	background: rgba(0, 74, 173, 0.05);
	box-shadow: none;
	color: var(--cdet-primary);
}

/* ─────────────────────────────────────────────────────────────
SECTION 1: HERO
───────────────────────────────────────────────────────────── */
.cdet-hero {
	background: #fff;
	overflow: hidden;
}

.cdet-hero__title {
	font-size: clamp(2rem, 4vw, 3.375rem);
	font-weight: 800;
	color: var(--cdet-text);
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin-bottom: 0;
}

.cdet-hero__title-accent {
	color: var(--cdet-primary);
	font-style: italic;
}

.cdet-hero__desc {
	font-size: 1.0625rem;
	color: var(--cdet-text-muted);
	line-height: 1.7;
	max-width: 520px;
	margin: 0;
}

/* Stats */
.cdet-hero__stats > .col-inner {
	padding: 0;
}

.cdet-hero__stat-number {
	font-size: 1.75rem;
	font-weight: 800;
	color: var(--cdet-primary);
	margin: 0 0 4px;
}

.cdet-hero__stat-label {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--cdet-text-light);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin: 0;
}

/* Hero image */
.cdet-hero__img-col .col-inner {
	display: flex;
	align-items: center;
}

.cdet-hero__img img {
	border-radius: 40px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
	width: 100%;
	object-fit: cover;
}

/* ─────────────────────────────────────────────────────────────
SECTION 2: ABOUT
───────────────────────────────────────────────────────────── */
.cdet-about__img-col .col-inner {
	padding-right: 20px;
}

.cdet-about__img-wrap {
	position: relative;
}

.cdet-about__img-wrap::after {
	content: '';
	position: absolute;
	bottom: -24px;
	right: -24px;
	width: 100%;
	height: 100%;
	border: 2px dashed var(--cdet-border);
	border-radius: 40px;
	z-index: -1;
}

.cdet-about__img img {
	border-radius: 40px;
	width: 100%;
	object-fit: cover;
	display: block;
}

.cdet-about__title h2 {
	font-size: 2.5rem;
	font-weight: 800;
	color: var(--cdet-text);
	margin-bottom: 0;
	line-height: 1.15;
}

.cdet-about__desc {
	font-size: 1.0625rem;
	color: var(--cdet-text-muted);
	line-height: 1.7;
	margin: 0;
}

/* About cards */
.cdet-about__card > .col-inner {
	padding: 0;
}

.cdet-about__card-inner {
	background: var(--cdet-bg-white);
	border: 1px solid var(--cdet-border);
	border-radius: var(--cdet-radius-xl);
	padding: 28px;
	box-shadow: var(--cdet-shadow-card);
	height: 100%;
}

.cdet-about__card-icon {
	color: var(--cdet-primary);
	margin-bottom: 16px;
}

.cdet-about__card-title {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--cdet-text);
	margin: 0 0 10px;
}

.cdet-about__card-desc {
	font-size: 0.9375rem;
	color: var(--cdet-text-light);
	line-height: 1.6;
	margin: 0;
}

/* ─────────────────────────────────────────────────────────────
SECTION 3: GIÁ TRỊ CỐT LÕI
───────────────────────────────────────────────────────────── */
.cdet-values__grid > .col-inner {
	padding: 0;
}

.cdet-value {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 16px 8px;
}

.cdet-value__icon {
	color: var(--cdet-primary);
	margin-bottom: 20px;
}

.cdet-value__title {
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--cdet-text);
	margin: 0 0 10px;
}

.cdet-value__desc {
	font-size: 0.9375rem;
	color: var(--cdet-text-light);
	line-height: 1.6;
	max-width: 200px;
	margin: 0;
}

.cdet-values__tagline {
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--cdet-primary);
	letter-spacing: 0.05em;
	margin: 0;
}

/* ─────────────────────────────────────────────────────────────
SECTION 4: SẢN PHẨM & DỊCH VỤ
───────────────────────────────────────────────────────────── */
.cdet-services__grid > .col-inner {
	padding: 0;
}

.cdet-service-card > .col-inner {
	height: 100%;
}

.cdet-service {
	background: #fbfcfd;
	border: 1px solid var(--cdet-border);
	border-radius: 32px;
	padding: 36px 28px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	transition: box-shadow 0.3s, transform 0.3s;
}

.cdet-service:hover {
	box-shadow: var(--cdet-shadow-hover);
	transform: translateY(-4px);
}

.cdet-service__icon {
	color: var(--cdet-primary);
	margin-bottom: 24px;
}

.cdet-service__title {
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--cdet-text);
	margin: 0 0 14px;
	line-height: 1.3;
}

.cdet-service__desc {
	font-size: 0.9375rem;
	color: var(--cdet-text-light);
	line-height: 1.6;
	flex-grow: 1;
	margin: 0 0 20px;
}

.cdet-service__link {
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--cdet-primary);
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: gap 0.2s;
	margin-top: auto;
}

.cdet-service__link:hover {
	gap: 8px;
	color: var(--cdet-primary);
}

/* ─────────────────────────────────────────────────────────────
SECTION 5: KHÓA HỌC — TABS
───────────────────────────────────────────────────────────── */
/* Override Flatsome tab pills để match design */
.cdet-courses__tabs .nav-pills {
	background: #fff;
	border: 1px solid var(--cdet-border);
	border-radius: var(--cdet-radius-md);
	padding: 4px;
	display: inline-flex;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	width: auto !important;
	margin: auto;
    gap: 10px;
    margin-bottom: 20px;
}

.cdet-courses__tabs .nav-pills > li {
	margin: 0;
}

.cdet-courses__tabs .nav-pills > li > a {
	border-radius: 6px;
	padding: 8px 36px;
	font-size: 1rem;
	font-weight: 700;
	color: var(--cdet-text-light);
}

.cdet-courses__tabs .nav-pills > li.active > a,
.cdet-courses__tabs .nav-pills > li > a:hover {
	background: var(--cdet-primary);
	color: #fff;
}

/* Course cards */
.cdet-course-card > .col-inner {
	padding: 0;
	height: 100%;
}

.cdet-course {
	background: #fff;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	transition: box-shadow 0.3s;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.cdet-course:hover {
	box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.cdet-course__thumb img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	display: block;
	border-radius: 0;
}

.cdet-course__body {
	padding: 20px 20px 24px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.cdet-course__name {
	font-size: 20px;
    font-weight: 800;
    color: var(--cdet-primary);
    margin: 0 0 12px;
    line-height: 1.3;
}

.cdet-course__meta {
	display: flex;
	justify-content: space-between;
	margin-bottom: 14px;
}

.cdet-course__meta-item {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--cdet-navy);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.cdet-course__meta-item svg {
	color: var(--cdet-navy);
}

.cdet-course__desc {
	font-size: 0.9375rem;
	color: var(--cdet-text-light);
	line-height: 1.6;
	margin: 0 0 16px;
	flex-grow: 1;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cdet-course__link {
	font-size: 0.9rem;
	font-weight: 800;
	color: var(--cdet-primary);
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: auto;
	transition: gap 0.2s;
}

.cdet-course__link:hover {
	gap: 8px;
	color: var(--cdet-primary);
}

/* ─────────────────────────────────────────────────────────────
SECTION 6: QUY TRÌNH DỊCH VỤ
───────────────────────────────────────────────────────────── */
.cdet-process__steps {
	position: relative;
}

/* Đường nối dashed giữa các bước (desktop) */
@media screen and (min-width: 850px) {
	.cdet-process__steps::before {
		content: '';
		position: absolute;
		top: 24px;
		left: 15%;
		width: 70%;
		height: 0;
		border-top: 2px dashed var(--cdet-border);
		z-index: 0;
	}
}

.cdet-process__step > .col-inner {
	padding: 0;
	position: relative;
	z-index: 1;
}

.cdet-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 0 16px;
}

.cdet-step__num {
	width: 48px;
	height: 48px;
	background: var(--cdet-primary);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 1rem;
	margin-bottom: 24px;
	flex-shrink: 0;
}

.cdet-step__icon {
	color: var(--cdet-primary);
	margin-bottom: 20px;
}

.cdet-step__desc {
	font-size: 1rem;
	color: var(--cdet-text-muted);
	line-height: 1.6;
	font-weight: 500;
	max-width: 240px;
	margin: 0;
}

/* ─────────────────────────────────────────────────────────────
SECTION 7: SỰ KHÁC BIỆT
───────────────────────────────────────────────────────────── */
.cdet-diff-card > .col-inner {
	padding: 0;
	height: 100%;
}

.cdet-diff {
	background: var(--cdet-bg-white);
	border: 1px solid var(--cdet-border);
	border-radius: 32px;
	padding: 36px 28px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	height: 100%;
	transition: box-shadow 0.3s;
}

.cdet-diff:hover {
	box-shadow: var(--cdet-shadow-hover);
}

.cdet-diff__icon-wrap {
	width: 64px;
	height: 64px;
	background: #EFF4FF;
	color: var(--cdet-primary);
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
	flex-shrink: 0;
}

.cdet-diff__title {
	font-size: 1rem;
	font-weight: 800;
	color: var(--cdet-text);
	margin: 0 0 14px;
	line-height: 1.3;
}

.cdet-diff__desc {
	font-size: 0.9375rem;
	color: var(--cdet-text-light);
	line-height: 1.6;
	margin: 0;
}

/* ─────────────────────────────────────────────────────────────
SECTION 8: TIN TỨC & BLOG
───────────────────────────────────────────────────────────── */
.cdet-post .box-image {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    margin-bottom: 20px;
}
.cdet-post .box-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.cdet-post .box:hover .box-image img {
	transform: scale(1.05);
}
.cdet-post .box-text{
    position: unset;
}

.cdet-post .box-text .cat-label {
	position: absolute;
	top: 16px;
	left: 16px;
	font-size: 0.75rem;
	font-weight: 800;
	color: #fff;
	padding: 5px 14px;
	border-radius: 99px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
    z-index: 5;
    background: var(--cdet-primary);
    opacity: 1;
    margin: 0;
}

.cdet-post .box-text .post-title a {
	font-size: 18px;
	color: var(--cdet-text);
	line-height: 1.35;
	margin: 0 0 12px;
	transition: color 0.2s;
}

.cdet-post .box:hover .box-text .post-title a {
	color: var(--cdet-primary);
}
.cdet-post .box-text .post-meta {
	font-size: 15px;
	font-weight: 700;
	color: var(--cdet-text-light);
}
.cdet-post .box-text .is-divider{display: none;}


/* ─────────────────────────────────────────────────────────────
RESPONSIVE — Mobile (max 549px)
───────────────────────────────────────────────────────────── */
@media screen and (max-width: 549px) {

	.cdet-hero__title {
		font-size: 1.875rem;
	}

	.cdet-about__img-col .col-inner {
		padding-right: 0;
	}

	.cdet-about__img-wrap::after {
		display: none;
	}

	.cdet-about__title h2 {
		font-size: 1.75rem;
	}

	.cdet-process__steps::before {
		display: none;
	}

	.cdet-step {
		padding: 0;
	}

	.cdet-footer__bottom {
		flex-direction: column;
		text-align: center;
	}

	.cdet-footer__bottom-links {
		gap: 16px;
	}
}

/* ─────────────────────────────────────────────────────────────
RESPONSIVE — Tablet (549px – 849px)
───────────────────────────────────────────────────────────── */
@media screen and (min-width: 550px) and (max-width: 849px) {

	.cdet-about__img-col .col-inner {
		padding-right: 0;
	}

	.cdet-hero__title {
		font-size: 2.25rem;
	}

	.cdet-process__steps::before {
		display: none;
	}
}