/* ============================================================
   Course hero (animated entrance) + course content
   ============================================================ */
.chero {
	position: relative;
	overflow: hidden;
	padding-top: 9rem;
	padding-bottom: 2rem;
}
@media (min-width: 768px) { .chero { padding-top: 11rem; } }

/* soft background image (top half only) + radial fade to background colour */
.chero-bg { position: absolute; top: 0; left: 0; right: 0; height: 80%; z-index: -2; opacity: .18; }
.chero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.chero-fade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(125% 125% at 50% 10%, transparent 0%, var(--background) 70%);
}

.chero-inner { max-width: 60rem; margin: 0 auto; padding: 0 1.5rem; text-align: center; }

/* ---- Full-image hero variant ---- */
.chero--image { padding-top: 10rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .chero--image { padding-top: 12rem; padding-bottom: 7rem; } }
.chero--image .chero-bg { inset: 0; height: 100%; opacity: 1; z-index: -2; }
.chero--image .chero-bg img { object-position: center; }
.chero-overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .3) 45%, rgba(0, 0, 0, .92) 100%);
}
.chero--image .chero-title { color: #fff; }
.chero--image .chero-sub { color: rgba(255, 255, 255, .9); }

/* hero buttons */
.chero-pill-btn { border-radius: 9999px; }
.btn.chero-outline {
	border-radius: 9999px;
	background: transparent;
	border: 2px solid #fff;
	color: #fff;
}
.btn.chero-outline:hover { background: rgba(255, 255, 255, .15); border-color: #fff; transform: translateY(-2px); }

/* hero call line */
.chero-call {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin-top: 1.5rem;
	font-weight: 600;
	font-size: 1rem;
	color: #ff8cc2;
}
.chero-call svg { width: 1.05rem; height: 1.05rem; }
.chero-call:hover { color: #ffa6d1; }

/* Announcement pill */
.chero-pill {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	background: var(--accent);
	border: 1px solid var(--border);
	border-radius: 9999px;
	padding: .35rem .35rem .35rem 1rem;
	box-shadow: var(--shadow-sm);
	font-size: .85rem;
	color: var(--foreground);
	transition: background-color .3s, box-shadow .3s;
}
.chero-pill:hover { background: var(--background); box-shadow: var(--shadow); }
.chero-pill-sep { width: 1px; height: 1rem; background: var(--border); }
.chero-pill-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 9999px;
	background: var(--brand);
	color: #fff;
	overflow: hidden;
}
.chero-pill-arrow svg { width: .8rem; height: .8rem; transition: transform .4s ease; }
.chero-pill:hover .chero-pill-arrow svg { transform: translateX(2px); }

.chero-title {
	margin: 1.5rem auto 0;
	max-width: 42rem;
	font-size: 2.25rem;
	line-height: 1.08;
	letter-spacing: -0.02em;
	font-weight: 600;
	text-wrap: balance;
	color: var(--foreground);
}
@media (min-width: 768px) { .chero-title { margin-top: 1.75rem; font-size: 3rem; } }
@media (min-width: 1280px) { .chero-title { font-size: 3.5rem; } }

.chero-sub {
	margin: 1.25rem auto 0;
	max-width: 36rem;
	font-size: 1.05rem;
	line-height: 1.55;
	color: var(--muted-foreground);
	text-wrap: balance;
}

.chero-actions {
	margin-top: 1.75rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .75rem;
}
@media (min-width: 768px) { .chero-actions { flex-direction: row; } }
.chero-btn-wrap {
	background: color-mix(in srgb, var(--foreground) 8%, transparent);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 2px;
}
.chero-btn-wrap .btn { border-radius: 12px; }

/* Showcase framed image */
.chero-showcase { position: relative; margin: 3rem auto 0; max-width: 64rem; padding: 0 1rem; }
.chero-showcase-fade {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(to bottom, transparent 35%, var(--background) 100%);
	pointer-events: none;
}
.chero-frame {
	position: relative;
	background: var(--background);
	border: 1px solid var(--border);
	border-radius: 1rem;
	padding: .5rem;
	box-shadow: 0 25px 60px -20px color-mix(in srgb, var(--brand) 30%, rgba(0,0,0,.25));
	overflow: hidden;
}
.chero-frame img { display: block; width: 100%; border-radius: .65rem; aspect-ratio: 15 / 8; object-fit: cover; }

/* ---- Entrance animation (blur + rise) ---- */
@keyframes rise-blur {
	from { opacity: 0; filter: blur(12px); transform: translateY(16px); }
	to { opacity: 1; filter: blur(0); transform: translateY(0); }
}
.anim { opacity: 0; animation: rise-blur 1.1s cubic-bezier(.22, 1, .36, 1) forwards; }
.anim-1 { animation-delay: .05s; }
.anim-2 { animation-delay: .18s; }
.anim-3 { animation-delay: .31s; }
.anim-4 { animation-delay: .44s; }
.anim-5 { animation-delay: .6s; }
@media (prefers-reduced-motion: reduce) {
	.anim { opacity: 1; animation: none; }
}

/* Course detail body */
.course-detail {
	position: relative;
	padding: 4rem 0 5rem;
	background-image: url('../assets/img/imgi_34_bg-1.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.course-detail::before {
	content: '';
	position: absolute;
	inset: 0;
	background: color-mix(in srgb, var(--background) 70%, transparent);
}
.cd-inner { position: relative; z-index: 1; max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.cd-inner .section-eyebrow { display: inline-block; }
.cd-head { text-align: center; margin-bottom: 2.5rem; }
.cd-title { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.02em; color: var(--foreground); }
@media (min-width: 768px) { .cd-title { font-size: 2.75rem; } }
.cd-title span { color: var(--brand); }

/* leaf divider (shared) */
.leaf-divider { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: 1rem 0 0; color: var(--brand); }
.leaf-divider .ld-line { width: 3rem; height: 2px; background: color-mix(in srgb, var(--brand) 55%, transparent); }
.leaf-divider svg { width: 1.1rem; height: 1.1rem; flex: none; }
.cd-inner > h2 { margin: .5rem 0 1.5rem; font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; }
@media (min-width: 768px) { .cd-inner > h2 { font-size: 2.5rem; } }
.cd-inner p { font-size: 1.05rem; line-height: 1.75; color: var(--muted-foreground); margin-bottom: 1.25rem; }
.cd-inner p strong { color: var(--foreground); }
.cd-sub { margin-top: 2.5rem; font-size: 1.35rem; font-weight: 600; color: var(--foreground); }
.cd-list { margin: 1.25rem 0 2rem; display: grid; grid-template-columns: 1fr; gap: .75rem; }
@media (min-width: 640px) { .cd-list { grid-template-columns: 1fr 1fr; } }
.cd-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .98rem; color: var(--foreground); }
.cd-list svg { width: 1.15rem; height: 1.15rem; color: var(--brand); flex: none; margin-top: .15rem; }

/* Course modules (feature grid) */
.badge-pill {
	display: inline-block;
	padding: .3rem .85rem;
	border-radius: .5rem;
	background: var(--brand);
	color: #fff;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .02em;
}
.course-modules { padding: 4rem 0 5rem; }
.cm-inner { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.cm-head { display: flex; flex-direction: column; gap: .6rem; }
.cm-head h2 { font-size: 2rem; font-weight: 500; letter-spacing: -0.03em; color: var(--foreground); max-width: 36rem; }
@media (min-width: 768px) { .cm-head h2 { font-size: 3rem; } }
.cm-head p { font-size: 1.05rem; line-height: 1.6; color: var(--muted-foreground); max-width: 36rem; }
.cm-grid {
	margin-top: 1.25rem;
	width: 100%;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: .75rem;
}
@media (min-width: 1024px) { .cm-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }

/* module = card with icon chip */
.cm-item {
	display: flex;
	flex-direction: row;
	gap: .85rem;
	align-items: center;
	background: color-mix(in srgb, var(--brand) 3%, var(--background));
	border: 1px solid var(--border);
	border-radius: .8rem;
	padding: .9rem 1rem;
	transition: border-color .2s, box-shadow .2s, transform .2s, background-color .2s;
}
.cm-item:hover {
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--brand) 35%, transparent);
	box-shadow: 0 10px 22px -14px color-mix(in srgb, var(--brand) 45%, transparent);
	background: var(--background);
}
.cm-item svg {
	width: 2.5rem;
	height: 2.5rem;
	padding: .6rem;
	margin: 0;
	flex: none;
	box-sizing: border-box;
	border-radius: .6rem;
	background: var(--accent);
	color: var(--brand);
}
.cm-item p { font-size: .92rem; line-height: 1.35; color: var(--foreground); margin: 0; }

.cm-group { width: 100%; }
/* group header: dot + label + divider line */
.cm-subtitle {
	display: flex;
	align-items: center;
	gap: .6rem;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--brand);
}
.cm-subtitle::before { content: ''; width: .5rem; height: .5rem; border-radius: 50%; background: var(--brand); flex: none; }
.cm-subtitle::after { content: ''; flex: 1; height: 1px; background: color-mix(in srgb, var(--brand) 25%, var(--border)); }
.cm-group .cm-grid { margin-top: 1.25rem; }

/* certificate bar */
.cm-cert { padding: 0 1.5rem 4rem; }
.cm-cert-inner {
	max-width: 72rem;
	margin: 0 auto;
	background: color-mix(in srgb, var(--brand) 6%, var(--background));
	border: 1px solid var(--border);
	border-radius: .9rem;
	padding: 1.25rem 1.75rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}
.cm-cert-inner p { font-size: .95rem; color: var(--muted-foreground); }
.cm-cert-inner p strong { color: var(--foreground); font-weight: 700; }
.cm-cert-btn {
	flex: none;
	background: var(--background);
	border: 1px solid var(--border);
	border-radius: .5rem;
	padding: .65rem 1.4rem;
	font-weight: 600;
	font-size: .9rem;
	color: var(--foreground);
	transition: border-color .2s, color .2s, transform .15s;
}
.cm-cert-btn:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

/* FAQ accordion */
.faq { padding: 4rem 0 5rem; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--brand) 4%, var(--background)), transparent); }
.faq-inner { max-width: 44rem; margin: 0 auto; padding: 0 1.5rem; }
.faq-head { text-align: center; margin-bottom: 3rem; }
.faq-head h2 { font-size: 1.85rem; font-weight: 600; letter-spacing: -0.02em; color: var(--foreground); }
@media (min-width: 768px) { .faq-head h2 { font-size: 2.25rem; } }
.faq-head p { margin-top: .65rem; font-size: .95rem; color: var(--muted-foreground); }

.faq-list { display: flex; flex-direction: column; gap: .6rem; }
.faq-item {
	border: 1px solid var(--border);
	border-radius: .75rem;
	overflow: hidden;
	transition: background-color .2s, border-color .2s;
}
.faq-item:hover { background: var(--accent); }
.faq-item.open { background: var(--background); border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); }
.faq-q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	text-align: left;
	background: transparent;
	border: none;
	cursor: pointer;
	font-family: inherit;
	padding: 1.1rem 1.25rem;
	font-size: 1rem;
	font-weight: 500;
	color: var(--muted-foreground);
	transition: color .2s;
}
.faq-item.open .faq-q { color: var(--foreground); }
.faq-chevron { width: 1.1rem; height: 1.1rem; flex: none; color: var(--muted-foreground); transition: transform .25s ease, color .25s; }
.faq-item.open .faq-chevron { transform: rotate(180deg) scale(1.1); color: var(--brand); }

/* smooth auto-height via grid rows */
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { padding: 0 1.25rem 1.1rem; font-size: .92rem; line-height: 1.65; color: var(--muted-foreground); }

.faq-contact { max-width: 28rem; margin: 3rem auto 0; text-align: center; }
.faq-contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9999px;
	background: var(--accent);
	color: var(--brand);
	margin-bottom: 1rem;
}
.faq-contact-icon svg { width: 1.1rem; height: 1.1rem; }
.faq-contact-title { font-size: .95rem; font-weight: 600; color: var(--foreground); }
.faq-contact-desc { margin-top: .35rem; font-size: .85rem; color: var(--muted-foreground); margin-bottom: 1.25rem; }

/* ---- Design tokens (shadcn-inspired) ---- */
:root {
	--brand: #7F0047;
	--brand-hover: #66003a;
	--background: #ffffff;
	--foreground: #1f0613;
	--muted-foreground: #5f3a4c;
	--popover: #ffffff;
	--border: #f0dce7;
	--accent: #fbeef4;
	--accent-foreground: #7F0047;
	--primary: #7F0047;
	--primary-foreground: #ffffff;
	--radius: 0.625rem;
	--shadow: 0 4px 6px -1px rgb(127 0 71 / 0.10), 0 2px 4px -2px rgb(127 0 71 / 0.08);
	--shadow-sm: 0 1px 2px 0 rgb(127 0 71 / 0.06);
	color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
	font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	background: var(--background);
	color: var(--foreground);
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Header ---- */
.header {
	position: sticky;
	top: 0;
	z-index: 50;
	width: 100%;
	border-bottom: 1px solid transparent;
	transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.header.scrolled {
	background: color-mix(in srgb, var(--background) 50%, transparent);
	border-bottom-color: var(--border);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}
@supports not (backdrop-filter: blur(12px)) {
	.header.scrolled { background: color-mix(in srgb, var(--background) 95%, transparent); }
}

.nav {
	margin: 0 auto;
	display: flex;
	height: 4.5rem;
	width: 100%;
	max-width: 72rem;
	align-items: center;
	justify-content: space-between;
	padding: 0 1.5rem;
}

.nav-left { display: flex; align-items: center; gap: 2rem; }

.logo { display: inline-flex; padding: .5rem; border-radius: .375rem; transition: background-color .15s; }
.logo:hover { background: var(--accent); }
.logo img { height: 2.5rem; width: auto; display: block; }

/* ---- Desktop nav ---- */
.nav-menu { display: none; align-items: center; gap: .25rem; }
@media (min-width: 768px) { .nav-menu { display: flex; } }

.nav-item { position: relative; }

.nav-trigger,
.nav-link {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	font-size: 1rem;
	font-weight: 500;
	color: var(--foreground);
	background: transparent;
	border: none;
	cursor: pointer;
	padding: .55rem .85rem;
	border-radius: .375rem;
	font-family: inherit;
	transition: background-color .15s;
}
.nav-trigger:hover,
.nav-link:hover { background: var(--accent); }

.chevron { width: .75rem; height: .75rem; transition: transform .2s ease; }
.nav-item.open .chevron { transform: rotate(180deg); }

/* ---- Dropdowns ---- */
.dropdown {
	position: absolute;
	top: calc(100% + .5rem);
	left: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px) scale(.97);
	transform-origin: top left;
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
	z-index: 50;
}
.nav-item.open .dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}

.dropdown-panel {
	background: var(--background);
	padding: .25rem .375rem .25rem .25rem;
	border-radius: var(--radius);
}
.grid { display: grid; gap: .5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.dropdown-panel .grid-2,
.company-card {
	background: var(--popover);
	width: 32rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: .5rem;
	box-shadow: var(--shadow);
}
.dropdown-footer { padding: .5rem; }
.dropdown-footer p { font-size: .875rem; color: var(--muted-foreground); }
.dropdown-footer a { color: var(--foreground); font-weight: 500; }
.dropdown-footer a:hover { text-decoration: underline; }

.dropdown-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: .5rem;
	width: 36rem;
	background: var(--background);
	border-radius: var(--radius);
	padding: .25rem;
}
.company-card { width: auto; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .5rem; }
.company-list { display: flex; flex-direction: column; gap: .5rem; padding: .75rem; }

/* ---- List items ---- */
.list-item {
	display: flex;
	flex-direction: row;
	gap: .5rem;
	border-radius: .375rem;
	padding: .5rem;
	transition: background-color .15s, color .15s;
}
.list-item:hover { background: var(--accent); color: var(--accent-foreground); }

.list-item .icon-box {
	background: color-mix(in srgb, var(--background) 40%, transparent);
	display: flex;
	aspect-ratio: 1 / 1;
	width: 3rem;
	height: 3rem;
	flex: none;
	align-items: center;
	justify-content: center;
	border-radius: .375rem;
	border: 1px solid var(--border);
	box-shadow: var(--shadow-sm);
}
.list-item .icon-box svg { width: 1.25rem; height: 1.25rem; }
.list-item .text { display: flex; flex-direction: column; justify-content: center; }
.list-item .text .title { font-weight: 500; font-size: .875rem; }
.list-item .text .desc { color: var(--muted-foreground); font-size: .75rem; }

/* compact (company text-only links) */
.list-link {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: .5rem;
	padding: .5rem;
	border-radius: .375rem;
	transition: background-color .15s;
}
.list-link:hover { background: var(--accent); }
.list-link svg { width: 1rem; height: 1rem; flex: none; }
.list-link span { font-weight: 500; font-size: .875rem; }

/* ---- Buttons ---- */
.nav-actions { display: none; align-items: center; gap: .5rem; }
@media (min-width: 768px) { .nav-actions { display: flex; } }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	font-size: .875rem;
	font-weight: 500;
	height: 2.25rem;
	padding: 0 1rem;
	border-radius: .5rem;
	cursor: pointer;
	font-family: inherit;
	border: 1px solid transparent;
	transition: background-color .15s, opacity .15s, border-color .15s;
	white-space: nowrap;
}
.btn-outline { background: transparent; border-color: var(--border); color: var(--foreground); }
.btn-outline:hover { background: var(--accent); }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-block { width: 100%; }
.btn-icon { width: 2.25rem; padding: 0; }

.menu-toggle { display: inline-flex; }
@media (min-width: 768px) { .menu-toggle { display: none; } }

/* ---- Animated menu icon ---- */
.menu-icon { width: 1.25rem; height: 1.25rem; }
.menu-icon .line { transition: transform .3s ease, opacity .2s ease; transform-origin: center; }
.menu-toggle[aria-expanded="true"] .line-top { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .line-mid { opacity: 0; }
.menu-toggle[aria-expanded="true"] .line-bot { transform: translateY(-6px) rotate(-45deg); }

/* ---- Mobile menu ---- */
.mobile-menu {
	position: fixed;
	inset: 4.5rem 0 0 0;
	z-index: 40;
	display: none;
	flex-direction: column;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	background: color-mix(in srgb, var(--background) 95%, transparent);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	overflow-y: auto;
}
.mobile-menu.open { display: flex; }
@media (min-width: 768px) { .mobile-menu, .mobile-menu.open { display: none; } }

.mobile-menu-inner {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: .5rem;
	min-height: 100%;
	padding: 1rem;
	animation: zoom-in .25s ease-out;
}
@keyframes zoom-in {
	from { opacity: 0; transform: scale(.97); }
	to { opacity: 1; transform: scale(1); }
}
.mobile-links { display: flex; flex-direction: column; gap: .5rem; }
.mobile-link {
	display: block;
	padding: .65rem .25rem;
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--foreground);
	border-bottom: 1px solid var(--border);
}
.mobile-link:hover { color: var(--brand); }
.mobile-section { font-size: .875rem; color: var(--muted-foreground); margin-top: .5rem; }
.mobile-actions { display: flex; flex-direction: column; gap: .5rem; padding-top: .5rem; }

/* ---- Hero ---- */
.btn-lg { height: 3rem; padding: 0 1.25rem; font-size: 1rem; border-radius: 9999px; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--foreground); }
.btn-ghost:hover { background: color-mix(in srgb, var(--foreground) 6%, transparent); }
.btn-lg svg { width: 1.15rem; height: 1.15rem; }

.hero-main { overflow-x: clip; }

/* ---- Hero (full background image) ---- */
.hero {
	position: relative;
	overflow: hidden;
	color: #fff;
}

/* full-bleed background banner (magenta panel + model on right) */
.hero-photo { position: absolute; inset: 0; z-index: 0; background: #8d0a5a; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
/* very subtle left scrim so headline stays crisp over the panel */
.hero-photo::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(74, 7, 38, .35), transparent 45%);
}

.hero-inner {
	position: relative;
	z-index: 2;
	margin: 0 auto;
	max-width: 80rem;
	width: 100%;
	padding: 3rem 1.5rem 4rem;
}
@media (min-width: 1024px) {
	.hero-inner { min-height: 88vh; display: flex; align-items: center; padding: 7rem 3rem; }
}

.hero-content { max-width: 36rem; text-align: left; }

/* eyebrow with line */
.hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .85);
}
.hero-eyebrow::after {
	content: '';
	width: 3.5rem;
	height: 1px;
	background: rgba(255, 255, 255, .5);
}

.hero-title {
	margin-top: 1.5rem;
	font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
	font-size: 1.75rem;
	line-height: 1.08;
	font-weight: 700;
	color: #fff;
	text-wrap: balance;
}
.hero-title em { font-style: italic; font-weight: 600; color: #f5c9dd; }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1280px) { .hero-title { font-size: 4.5rem; } }

.hero-sub {
	margin-top: 1.5rem;
	max-width: 34rem;
	font-size: 1.05rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, .8);
}

.hero-actions {
	margin-top: 2.5rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem;
}

.hero-btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

/* gold discover/explore button */
.hero-cta {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	background: #a9764f;
	color: #fff;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	font-size: .85rem;
	padding: 1rem 2rem;
	border: 1px solid rgba(255, 255, 255, .15);
	transition: background-color .2s, transform .15s;
}
.hero-cta:hover { background: #8f5f3c; transform: translateY(-2px); }
.hero-cta-alt { background: transparent; border-color: rgba(255, 255, 255, .6); }
.hero-cta-alt:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

/* appointment phone block */
.hero-appointment { display: inline-flex; align-items: center; gap: .85rem; }
.appt-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 9999px;
	background: #fff;
	color: var(--brand);
	flex: none;
}
.appt-icon svg { width: 1.25rem; height: 1.25rem; }
.appt-text { display: flex; flex-direction: column; line-height: 1.2; }
.appt-label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.appt-num { font-size: 1.05rem; font-weight: 600; color: #fff; }
.appt-num:hover { color: #f5c9dd; }

.hero-location {
	margin-top: 2rem;
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-size: .9rem;
	color: rgba(255, 255, 255, .7);
}
.hero-location svg { width: 1.05rem; height: 1.05rem; flex: none; }

/* ---- About / Courses ---- */
.about {
	position: relative;
	overflow: hidden;
	padding: 6rem 0;
	background: linear-gradient(to bottom, color-mix(in srgb, var(--brand) 5%, var(--background)), var(--background));
}
/* floral decoration behind the About Us button (full visibility) */
.about-col-left { position: relative; }
.about-col-left > :not(.about-flower) { position: relative; z-index: 1; }
.about-flower {
	position: absolute;
	top: 9rem;
	left: -3rem;
	width: 20rem;
	max-width: 80%;
	opacity: 1;
	pointer-events: none;
	z-index: 0;
}
@media (min-width: 768px) { .about-flower { top: 11rem; left: -2rem; } }
.about-inner {
	position: relative;
	z-index: 1;
	max-width: 72rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* About two-column ("Know more about us") */
.about-cols { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; margin-bottom: 4rem; }
/* tablet (769–1023) + desktop: neat two-column layout */
@media (min-width: 769px) { .about-cols { grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; } }
@media (min-width: 1024px) { .about-cols { gap: 4rem; } }

.about-eyebrow {
	display: inline-flex; align-items: center; gap: 1rem;
	font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brand);
}
.about-eyebrow::after { content: ''; width: 4rem; height: 1px; background: color-mix(in srgb, var(--brand) 50%, transparent); }
.about-title {
	margin-top: 1.25rem;
	font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
	font-size: 2.25rem; line-height: 1.12; font-weight: 700; color: var(--foreground);
}
@media (min-width: 768px) { .about-title { font-size: 2.75rem; } }
.about-col-left .about-text { margin-top: 1.25rem; max-width: 34rem; }
.about-btn {
	display: inline-block; margin-top: 1.75rem;
	background: var(--brand); color: #fff; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
	font-size: .82rem; padding: .9rem 2rem; border-radius: .25rem;
	transition: background-color .2s, transform .15s;
}
.about-btn:hover { background: var(--brand-hover); transform: translateY(-2px); }

/* small image + brown overlay card */
.about-feature { position: relative; margin-top: 3.5rem; max-width: 30rem; }
.about-feature-img { display: block; width: 80%; margin-left: auto; border-radius: .3rem; box-shadow: var(--shadow); }
.about-feature-card {
	background: #4a3231; color: #fff; padding: 1.6rem 1.75rem; border-radius: .3rem;
	margin-top: -3rem; position: relative; z-index: 2; width: 78%;
}
.about-feature-card h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.35rem; font-weight: 600; }
.about-feature-card p { margin-top: .65rem; font-size: .9rem; line-height: 1.6; color: rgba(255, 255, 255, .82); }
@media (min-width: 560px) {
	.about-feature-card { position: absolute; left: 0; bottom: -1.5rem; margin-top: 0; width: 62%; }
}

/* right framed portrait */
.about-col-right { position: relative; }
.about-photo { display: block; width: 100%; border-radius: .3rem; box-shadow: 0 25px 55px -20px rgba(0,0,0,.35); position: relative; z-index: 1; }
.about-photo-frame {
	position: absolute; top: -1.25rem; left: -1.25rem; width: 100%; height: 100%;
	border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); border-radius: .3rem; z-index: 0;
}

/* scroll reveal (slide in from sides) */
.reveal { opacity: 0; transition: opacity .8s ease, transform .8s cubic-bezier(.22, 1, .36, 1); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal-up { transform: translateY(40px); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

.about-head { max-width: 50rem; margin: 0 auto; text-align: center; }
.section-eyebrow {
	display: inline-block;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--brand);
}
.section-title {
	margin-top: .75rem;
	font-size: 2rem;
	line-height: 1.15;
	letter-spacing: -0.02em;
	font-weight: 600;
}
@media (min-width: 768px) { .section-title { font-size: 2.5rem; } }
.about-text {
	margin-top: 1.25rem;
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--muted-foreground);
}
.about-text strong { color: var(--foreground); font-weight: 600; }

.course-grid {
	margin-top: 4rem;
	display: grid;
	gap: 2.5rem;
	grid-template-columns: 1fr;
}
@media (min-width: 768px) { .course-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

@property --trace-angle {
	syntax: '<angle>';
	initial-value: 0deg;
	inherits: false;
}

.course-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 1.75rem 1.25rem;
	border-radius: 1rem;
	border: 1px solid transparent;
	transition: transform .35s ease, box-shadow .35s ease, background-color .35s ease;
}
/*
.course-card.featured {
	border-color: color-mix(in srgb, var(--brand) 30%, transparent);
	background: color-mix(in srgb, var(--background) 55%, transparent);
	box-shadow: var(--shadow);
	backdrop-filter: blur(4px);
}
*/

/* Animated gradient tracing border (revealed on hover) */
.course-card::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1.5px;
	background: conic-gradient(from var(--trace-angle),
		transparent 0deg,
		transparent 230deg,
		var(--brand) 300deg,
		var(--brand-hover) 330deg,
		#ff8cc2 350deg,
		transparent 360deg);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask-composite: exclude;
	opacity: 0;
	transition: opacity .3s ease;
	pointer-events: none;
}
.course-card:hover::before {
	opacity: 1;
	animation: trace-spin 2s linear infinite;
}
@keyframes trace-spin {
	to { --trace-angle: 360deg; }
}

.course-card:hover {
	transform: translateY(-6px);
	background: color-mix(in srgb, var(--background) 70%, transparent);
	box-shadow: 0 20px 40px -16px color-mix(in srgb, var(--brand) 35%, transparent);
}

/* Fallback for browsers without @property: static glow border on hover */
@supports not (background: conic-gradient(from var(--trace-angle), red, blue)) {
	.course-card:hover { border-color: color-mix(in srgb, var(--brand) 45%, transparent); }
	.course-card::before { display: none; }
}

.course-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 6rem;
	height: 6rem;
	border-radius: .75rem;
	background: linear-gradient(160deg, #3a2230, var(--brand-hover));
	color: #fff;
	box-shadow: var(--shadow);
	transition: transform .35s ease, box-shadow .35s ease;
}
.course-icon svg { width: 2.5rem; height: 2.5rem; transition: transform .35s ease; }
.course-card:hover .course-icon {
	transform: scale(1.06) rotate(-3deg);
	box-shadow: 0 14px 28px -10px color-mix(in srgb, var(--brand) 55%, transparent);
}
.course-card:hover .course-icon svg { transform: scale(1.1); }

.course-title {
	margin-top: 1.5rem;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--foreground);
}
.course-desc {
	margin-top: .75rem;
	max-width: 22rem;
	font-size: .95rem;
	line-height: 1.6;
	color: var(--muted-foreground);
}

/* ---- Top Courses (image cards) ---- */
.courses { padding: 0rem 0 4rem; background: linear-gradient(to bottom, var(--background), color-mix(in srgb, var(--brand) 4%, var(--background))); }
.courses-inner { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }

.feature-grid {
	margin-top: 3.5rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.75rem;
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.course-img-card {
	display: flex;
	flex-direction: column;
	background: var(--background);
	border: 1px solid var(--border);
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.course-img-card:hover {
	transform: translateY(-6px);
	border-color: color-mix(in srgb, var(--brand) 35%, transparent);
	box-shadow: 0 22px 45px -20px color-mix(in srgb, var(--brand) 45%, transparent);
}

.cic-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.cic-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.course-img-card:hover .cic-media img { transform: scale(1.08); }
.cic-media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, .35), transparent 55%);
}
.cic-icon {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 9999px;
	background: var(--brand);
	color: #fff;
	box-shadow: var(--shadow);
	transition: transform .35s ease;
}
.course-img-card:hover .cic-icon { transform: scale(1.1) rotate(-4deg); }
.cic-icon svg { width: 1.4rem; height: 1.4rem; }

.cic-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.cic-body h3 { font-size: 1.25rem; font-weight: 700; color: var(--foreground); }
.cic-body p { margin-top: .55rem; font-size: .9rem; line-height: 1.6; color: var(--muted-foreground); flex: 1; }
.cic-link {
	margin-top: 1.1rem;
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-size: .85rem;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--brand);
}
.cic-link svg { width: 1rem; height: 1rem; transition: transform .25s ease; }
.course-img-card:hover .cic-link svg { transform: translateX(4px); }

/* ---- Why Choose Us ---- */
.why { padding: 4rem 0 2rem; }
.why-head { max-width: 50rem; margin: 0 auto; text-align: center; padding: 0 1.5rem; }

/* Pinned scroll stage: heading + reveal + reasons stay together while scrolling */
.why-track { position: relative; height: 220vh; }
.why-stage {
	position: sticky;
	top: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	padding: 2rem 0;
}

/* Scroll text reveal */
.text-reveal { position: relative; z-index: 0; max-width: 64rem; margin: 0 auto; padding: 0 1.5rem; }
.tr-text {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	text-align: center;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.25;
	font-size: 1.5rem;
}
@media (min-width: 768px) { .tr-text { font-size: 2rem; } }
@media (min-width: 1280px) { .tr-text { font-size: 2.25rem; } }
.tr-word { position: relative; margin: 0 .25rem; }
@media (min-width: 1024px) { .tr-word { margin: 0 .4rem; } }
.tr-word .tr-base { color: color-mix(in srgb, var(--foreground) 18%, transparent); }
.tr-word .tr-fill {
	position: absolute;
	inset: 0;
	color: var(--foreground);
	opacity: 0;
}
.tr-word .tr-fill.brand { color: var(--brand); }

/* Mobile: no pinning / scroll reveal — show everything plainly */
@media (max-width: 640px) {
	.why-track { height: auto; }
	.why-stage { position: static; min-height: 0; gap: 1.5rem; padding: 1rem 0; }
	/* show the fully-revealed styled text (keeps brand-word highlighting) */
	.tr-word .tr-fill { opacity: 1 !important; }
}

/* Reasons grid */
.why-inner { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.why-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-item {
	display: flex;
	align-items: center;
	gap: .85rem;
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--border);
	border-radius: .9rem;
	background: var(--background);
	transition: border-color .25s, box-shadow .25s, transform .25s;
}
.why-item:hover {
	border-color: color-mix(in srgb, var(--brand) 40%, transparent);
	box-shadow: 0 12px 28px -16px color-mix(in srgb, var(--brand) 40%, transparent);
	transform: translateY(-3px);
}
.why-check {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 9999px;
	background: color-mix(in srgb, var(--brand) 12%, transparent);
	color: var(--brand);
}
.why-check svg { width: 1.15rem; height: 1.15rem; }
.why-item span { font-size: .98rem; font-weight: 500; color: var(--foreground); }

/* ---- Career Opportunities ---- */
.career {
	position: relative;
	overflow: hidden;
	padding: 6rem 0;
	background: linear-gradient(to bottom, color-mix(in srgb, var(--brand) 5%, var(--background)), var(--background));
}
.co-blur { position: absolute; border-radius: 9999px; filter: blur(60px); z-index: 0; }
.co-blur-1 { top: 5rem; left: 2rem; width: 16rem; height: 16rem; background: color-mix(in srgb, var(--brand) 8%, transparent); }
.co-blur-2 { bottom: 5rem; right: 2rem; width: 20rem; height: 20rem; background: color-mix(in srgb, var(--brand) 7%, transparent); }
.co-dot { position: absolute; border-radius: 9999px; z-index: 0; }
.co-dot-1 { top: 40%; left: 22%; width: 1rem; height: 1rem; background: color-mix(in srgb, var(--brand) 35%, transparent); animation: co-float 3s ease-in-out infinite; }
.co-dot-2 { bottom: 30%; right: 24%; width: 1.4rem; height: 1.4rem; background: color-mix(in srgb, var(--brand) 25%, transparent); animation: co-float 4s ease-in-out 1s infinite; }
@keyframes co-float { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-15px); opacity: 1; } }

.career-inner { position: relative; z-index: 1; max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.career-head { text-align: center; max-width: 42rem; margin: 0 auto 4rem; }
.co-eyebrow { display: inline-flex; align-items: center; gap: .4rem; color: var(--brand); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.co-eyebrow svg { width: 1rem; height: 1rem; }
.career-title { margin-top: .75rem; font-size: 2.25rem; font-weight: 300; letter-spacing: -0.01em; color: var(--foreground); }
@media (min-width: 768px) { .career-title { font-size: 2.75rem; } }
.co-underline { width: 6rem; height: 3px; border-radius: 2px; margin: 1.25rem auto 0; background: var(--brand); }
.career-sub { margin-top: 1.5rem; font-size: 1rem; line-height: 1.7; color: var(--muted-foreground); }

.co-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .co-grid { grid-template-columns: 1fr 1fr 1fr; gap: 2.5rem; align-items: center; } }
.co-col { display: flex; flex-direction: column; gap: 2.5rem; }

.co-item { transition: transform .25s ease; }
.co-item:hover { transform: translateY(-5px); }
.co-item-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .6rem; }
.co-chip {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: .75rem;
	background: color-mix(in srgb, var(--brand) 10%, transparent);
	color: var(--brand);
	transition: background-color .3s;
}
.co-item:hover .co-chip { background: color-mix(in srgb, var(--brand) 20%, transparent); }
.co-chip svg { width: 1.35rem; height: 1.35rem; }
.co-item-head h3 { font-size: 1.15rem; font-weight: 600; color: var(--foreground); transition: color .3s; }
.co-item:hover .co-item-head h3 { color: var(--brand); }
.co-item p { font-size: .88rem; line-height: 1.6; color: var(--muted-foreground); padding-left: 3.5rem; }

/* Center image */
.co-center { display: flex; justify-content: center; align-items: center; order: -1; }
@media (min-width: 900px) { .co-center { order: 0; } }
.co-figure { position: relative; width: 100%; max-width: 20rem; }
.co-frame { position: absolute; inset: -.75rem; border: 4px solid color-mix(in srgb, var(--brand) 35%, transparent); border-radius: .75rem; z-index: 0; }
.co-image { position: relative; z-index: 1; border-radius: .5rem; overflow: hidden; box-shadow: 0 20px 40px -16px rgba(0,0,0,.4); }
.co-image img { display: block; width: 100%; height: 26rem; object-fit: cover; }
.co-image-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 1.25rem; background: linear-gradient(to top, rgba(0,0,0,.5), transparent); }
.co-portfolio { display: inline-flex; align-items: center; gap: .4rem; background: #fff; color: #1a1a1a; padding: .5rem 1rem; border-radius: 9999px; font-size: .85rem; font-weight: 600; transition: transform .15s; }
.co-portfolio:hover { transform: scale(1.05); }
.co-portfolio svg { width: 1rem; height: 1rem; }
.co-accent { position: absolute; border-radius: 9999px; z-index: 0; }
.co-accent-1 { top: -1rem; right: -2rem; width: 4rem; height: 4rem; background: color-mix(in srgb, var(--brand) 10%, transparent); }
.co-accent-2 { bottom: -1.5rem; left: -2.5rem; width: 5rem; height: 5rem; background: color-mix(in srgb, var(--brand) 14%, transparent); }

/* Stats */
.co-stats { margin-top: 5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 1024px) { .co-stats { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.stat-card {
	background: color-mix(in srgb, var(--background) 60%, transparent);
	backdrop-filter: blur(6px);
	border: 1px solid var(--border);
	padding: 1.5rem;
	border-radius: 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition: transform .25s, box-shadow .25s;
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stat-icon {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: color-mix(in srgb, var(--brand) 8%, transparent);
	color: var(--brand);
	margin-bottom: 1rem;
	transition: transform .6s;
}
.stat-card:hover .stat-icon { transform: rotate(360deg); }
.stat-icon svg { width: 1.5rem; height: 1.5rem; }
.stat-value { font-size: 2rem; font-weight: 700; color: var(--foreground); }
.stat-card p { margin-top: .25rem; font-size: .85rem; color: var(--muted-foreground); }
.stat-bar { width: 2.5rem; height: 2px; background: var(--brand); margin-top: .75rem; transition: width .3s; }
.stat-card:hover .stat-bar { width: 4rem; }

/* Reveal animation */
.reveal-root .co-item,
.reveal-root .stat-card { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal-root.in .co-item,
.reveal-root.in .stat-card { opacity: 1; transform: translateY(0); }
.reveal-root .co-col:first-child .co-item { transform: translate(-24px, 0); }
.reveal-root .co-col:last-child .co-item { transform: translate(24px, 0); }
.reveal-root.in .co-col .co-item { transform: translate(0, 0); }
.reveal-root .co-col:first-child .co-item:nth-child(2) { transition-delay: .1s; }
.reveal-root .co-col:first-child .co-item:nth-child(3) { transition-delay: .2s; }
.reveal-root .co-col:first-child .co-item:nth-child(4) { transition-delay: .3s; }
.reveal-root .co-col:last-child .co-item:nth-child(2) { transition-delay: .1s; }
.reveal-root .co-col:last-child .co-item:nth-child(3) { transition-delay: .2s; }
.reveal-root .co-col:last-child .co-item:nth-child(4) { transition-delay: .3s; }
.reveal-root .stat-card:nth-child(2) { transition-delay: .1s; }
.reveal-root .stat-card:nth-child(3) { transition-delay: .2s; }
.reveal-root .stat-card:nth-child(4) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
	.reveal-root .co-item, .reveal-root .stat-card { opacity: 1 !important; transform: none !important; }
}

/* ---- Placement Support (container scroll) ---- */
.placement { overflow-x: clip; }
.container-scroll {
	position: relative;
	height: 200vh;
}
.cs-perspective {
	position: sticky;
	top: 0;
	height: 100vh;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	perspective: 1000px;
	padding: 1rem;
}

.cs-header { max-width: 64rem; margin: 0 auto 1rem; text-align: center; will-change: transform; }
.cs-header .section-title { margin-top: .5rem; }

.cs-card {
	max-width: 64rem;
	margin: 0 auto;
	height: 26rem;
	width: 100%;
	border: 4px solid #6c6c6c;
	padding: .5rem;
	background: #222222;
	border-radius: 30px;
	box-shadow: 0 0 #0000004d, 0 9px 20px #0000004a, 0 37px 37px #00000042, 0 84px 50px #00000026, 0 149px 60px #0000000a, 0 233px 65px #00000003;
	will-change: transform;
}
@media (min-width: 768px) { .cs-card { height: 34rem; padding: 1.25rem; } }

/* Mobile: no sticky/3D, let the card grow so all 6 items show */
@media (max-width: 767px) {
	.container-scroll { height: auto; }
	.cs-perspective { position: static; height: auto; perspective: none; padding: 3rem 1rem; }
	.cs-card { height: auto; transform: none !important; }
	.cs-card-inner { height: auto; }
	.cs-header { transform: none !important; }
}
.cs-card-inner {
	height: 100%;
	width: 100%;
	overflow: hidden;
	border-radius: 1rem;
	background: color-mix(in srgb, var(--foreground) 4%, var(--background));
}

.placement-grid {
	display: grid;
	grid-template-columns: 1fr;
	height: 100%;
}
@media (min-width: 640px) { .placement-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .placement-grid { grid-template-columns: repeat(3, 1fr); } }
.placement-item {
	padding: 1.5rem;
	border-bottom: 1px solid var(--border);
	border-right: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: .5rem;
	transition: background-color .25s;
}
.placement-item:hover { background: color-mix(in srgb, var(--brand) 5%, transparent); }
.pi-head { display: flex; align-items: center; gap: .55rem; color: var(--brand); }
.pi-head svg { width: 1.15rem; height: 1.15rem; flex: none; }
.pi-head h3 { font-size: .98rem; font-weight: 600; color: var(--foreground); }
.placement-item p { font-size: .85rem; line-height: 1.55; color: var(--muted-foreground); }
@media (min-width: 768px) { .placement-item { padding: 2rem; } }

/* ---- 3D Circular Gallery (auto-rotate + drag) ---- */
.gallery { padding: 0rem 0 7rem; overflow-x: clip; }
.gallery-head { max-width: 50rem; margin: 0 auto; text-align: center; padding: 0 1.5rem; }

.hgallery {
	position: relative;
	width: 100%;
	max-width: 76rem;
	margin: 3rem auto 0;
	padding: 0 1.5rem;
	display: flex;
	align-items: center;
	gap: .75rem;
}
.hg-track {
	display: flex;
	gap: 1.25rem;
	overflow-x: auto;
	padding: .5rem .25rem 1.25rem;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.hg-track::-webkit-scrollbar { display: none; }
.hg-item {
	flex: 0 0 auto;
	width: 280px;
	scroll-snap-align: start;
}
.hg-card {
	position: relative;
	width: 100%;
	height: 380px;
	border-radius: .9rem;
	overflow: hidden;
	box-shadow: 0 20px 45px -22px rgba(0, 0, 0, .55);
	background: #000;
}
.hg-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
.hg-card:hover img { transform: scale(1.05); }
.hg-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 1rem;
	color: #fff;
	background: linear-gradient(to top, rgba(0, 0, 0, .82), transparent);
}
.hg-caption h3 { font-size: 1.1rem; font-weight: 700; }
.hg-caption p { font-size: .72rem; margin-top: .35rem; opacity: .75; }

.hg-btn {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 9999px;
	border: 1px solid var(--border);
	background: var(--background);
	color: var(--foreground);
	cursor: pointer;
	box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .4);
	transition: background-color .2s, color .2s, opacity .2s, transform .2s;
}
.hg-btn:hover:not(:disabled) { background: var(--brand); color: #fff; transform: scale(1.06); }
.hg-btn:disabled { opacity: .35; cursor: default; }
.hg-btn svg { width: 1.25rem; height: 1.25rem; }

@media (max-width: 640px) {
	.hgallery { padding: 0 .4rem; gap: .25rem; }
	.hg-track { gap: .6rem; }
	.hg-item { width: 40vw; }
	.hg-card { height: auto; aspect-ratio: 3 / 4; }
	.hg-caption { padding: .65rem; }
	.hg-caption h3 { font-size: .9rem; }
	.hg-caption p { font-size: .65rem; }
	.hg-btn { width: 2rem; height: 2rem; }
	.hg-btn svg { width: 1rem; height: 1rem; }
}

/* ---- Testimonials ---- */
.testimonials {
	padding: 4rem 0 5rem;
	background: linear-gradient(to bottom, color-mix(in srgb, var(--brand) 5%, var(--background)), var(--background));
	overflow: hidden;
}
.t-inner { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }

.t-head { text-align: center; margin-bottom: 3rem; }
.t-eyebrow {
	display: inline-block;
	padding: .3rem .85rem;
	border-radius: 9999px;
	background: color-mix(in srgb, var(--brand) 12%, transparent);
	color: var(--brand);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.t-title {
	margin-top: 1rem;
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	background: linear-gradient(to right, var(--brand), color-mix(in srgb, var(--brand) 60%, var(--foreground)));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
@media (min-width: 768px) { .t-title { font-size: 2.25rem; } }
.t-underline {
	width: 5rem;
	height: 3px;
	border-radius: 2px;
	margin: 1.25rem auto 0;
	background: linear-gradient(to right, var(--brand), color-mix(in srgb, var(--brand) 50%, transparent));
}

.t-wrap { position: relative; }

.t-nav {
	display: flex;
	justify-content: center;
	gap: .5rem;
	margin-bottom: 1rem;
}
/* Mobile: stack the arrows below the cards */
@media (max-width: 639px) {
	.t-wrap { display: flex; flex-direction: column; }
	.t-viewport { order: 1; }
	.t-nav { order: 2; margin-bottom: 0; margin-top: 1.25rem; }
	.t-dots { order: 3; }
}
@media (min-width: 640px) {
	.t-nav { position: absolute; top: -3.75rem; right: 0; justify-content: flex-end; margin-bottom: 0; }
}
.t-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9999px;
	border: 1px solid var(--border);
	background: var(--background);
	color: var(--brand);
	cursor: pointer;
	box-shadow: var(--shadow-sm);
	transition: background-color .25s, transform .15s, opacity .25s;
}
.t-btn:hover { background: var(--accent); transform: scale(1.08); }
.t-btn:active { transform: scale(.95); }
.t-btn:disabled { opacity: .4; cursor: not-allowed; color: var(--muted-foreground); }
.t-btn svg { width: 1.15rem; height: 1.15rem; }

.t-viewport { overflow: hidden; }
.t-track {
	display: flex;
	--visible: 3;
	transform: translateX(0);
	transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}
.t-card-wrap {
	flex: 0 0 calc(100% / var(--visible));
	max-width: calc(100% / var(--visible));
	padding: .5rem;
	box-sizing: border-box;
}
.t-card {
	position: relative;
	overflow: hidden;
	height: 100%;
	padding: 1.5rem;
	border-radius: 1rem;
	background: var(--background);
	border: 1px solid var(--border);
	box-shadow: 0 10px 25px -12px color-mix(in srgb, var(--brand) 20%, transparent);
	transition: transform .3s ease, box-shadow .3s ease;
}
.t-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 18px 35px -14px color-mix(in srgb, var(--brand) 35%, transparent);
}
.t-quote-mark {
	position: absolute;
	top: -.5rem;
	left: -.25rem;
	font-size: 5rem;
	line-height: 1;
	font-family: Georgia, serif;
	color: color-mix(in srgb, var(--brand) 12%, transparent);
	pointer-events: none;
}
.t-quote {
	position: relative;
	z-index: 1;
	font-size: .95rem;
	font-weight: 500;
	line-height: 1.65;
	color: var(--foreground);
}
.t-foot {
	position: relative;
	z-index: 1;
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--border);
	display: flex;
	align-items: center;
	gap: .75rem;
}
.t-avatar {
	flex: none;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: .9rem;
	color: #fff;
	background: linear-gradient(140deg, var(--brand), var(--brand-hover));
	box-shadow: 0 0 0 2px var(--background);
}
.t-name { font-weight: 700; font-size: .95rem; color: var(--foreground); }
.t-role { font-size: .8rem; color: var(--muted-foreground); }

.t-dots { display: flex; justify-content: center; gap: .4rem; margin-top: 2rem; }
.t-dot {
	width: .5rem;
	height: .5rem;
	border-radius: 9999px;
	border: none;
	padding: 0;
	background: color-mix(in srgb, var(--foreground) 25%, transparent);
	cursor: pointer;
	transition: background-color .25s, transform .25s, width .25s;
}
.t-dot.active { background: var(--brand); width: 1.4rem; }

/* ---- Contact Us (DesignAgency style) ---- */
.contact { padding: 4rem 0 5rem; }
.contact-container {
	max-width: 72rem;
	margin: 0 auto;
	padding: 2.5rem;
	border: 1px solid var(--border);
	border-radius: 1.75rem;
	background: linear-gradient(160deg, var(--background), color-mix(in srgb, var(--brand) 4%, var(--background)));
}
@media (min-width: 640px) { .contact { padding: 3rem 1.5rem 5rem; } }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }

.da-badge {
	display: inline-block;
	padding: .35rem .9rem;
	border-radius: 9999px;
	background: color-mix(in srgb, var(--brand) 12%, transparent);
	color: var(--brand);
	font-size: .8rem;
	font-weight: 600;
}
.da-h2 { margin-top: 1rem; font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--foreground); }
@media (min-width: 768px) { .da-h2 { font-size: 2.25rem; } }
.da-lead { margin-top: 1rem; font-size: 1.05rem; line-height: 1.6; color: var(--muted-foreground); }

.da-info { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.da-info-row { display: flex; gap: 1rem; align-items: flex-start; }
.da-chip {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 1rem;
	background: color-mix(in srgb, var(--brand) 10%, transparent);
	color: var(--brand);
}
.da-chip svg { width: 1.25rem; height: 1.25rem; }
.da-info-row h3 { font-size: 1rem; font-weight: 600; color: var(--foreground); }
.da-info-row p { margin-top: .2rem; font-size: .9rem; line-height: 1.55; color: var(--muted-foreground); }
.da-info-row a { color: var(--muted-foreground); }
.da-info-row a:hover { color: var(--brand); }

.da-social { margin-top: 2rem; display: flex; gap: .65rem; }
.da-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9999px;
	border: 1px solid var(--border);
	color: var(--muted-foreground);
	transition: color .2s, border-color .2s, transform .15s;
}
.da-social a:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.da-social svg { width: 1.05rem; height: 1.05rem; }

/* Form card */
.contact-right {
	border: 1px solid var(--border);
	border-radius: 1.5rem;
	background: var(--background);
	padding: 2rem;
	box-shadow: var(--shadow);
}
.da-form-title { font-size: 1.25rem; font-weight: 700; color: var(--foreground); }
.da-form-sub { margin-top: .35rem; font-size: .9rem; color: var(--muted-foreground); }
.da-form { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.da-grid-2 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 480px) { .da-grid-2 { grid-template-columns: 1fr 1fr; } }
.da-group { display: flex; flex-direction: column; gap: .4rem; }
.da-group label { font-size: .82rem; font-weight: 500; color: var(--foreground); }
.da-group input,
.da-group select,
.da-group textarea {
	width: 100%;
	font-family: inherit;
	font-size: .95rem;
	color: var(--foreground);
	background: var(--background);
	border: 1px solid var(--border);
	border-radius: 9999px;
	padding: .7rem 1rem;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
}
.da-group select {
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	padding-right: 2.5rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a2046' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
}
.da-group textarea { border-radius: 1.25rem; resize: vertical; min-height: 7rem; }
.da-group input:focus,
.da-group select:focus,
.da-group textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent); }
.da-submit { width: 100%; border-radius: 9999px; height: 2.75rem; }

/* ---- CTA bar (image banner, content on right) ---- */
.cta-bar { padding: 0 1.5rem 1.5rem; }
.cta-inner {
	max-width: 72rem;
	margin: 0 auto;
	border-radius: 1.75rem;
	overflow: hidden;
	color: #fff;
	/* mobile: plain wine-gradient banner (no image) */
	background: linear-gradient(120deg, var(--brand), color-mix(in srgb, var(--brand) 70%, #ff7ab0));
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: flex-start;
	justify-content: space-between;
	text-align: left;
	padding: 1.75rem 2rem;
}
/* tablet & desktop: image banner, content beside the photo, nudged down */
@media (min-width: 768px) {
	.cta-inner {
		background:  url('../assets/img/Group 48096128.png') no-repeat left center / cover;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 1.5rem;
		aspect-ratio: 1920 / 397;
		padding: 6.5rem 3rem 1.5rem 30%;
	}
	.cta-text h2 { white-space: nowrap; }
}
@media (min-width: 1100px) { .cta-inner { padding-left: 28%; } }

.cta-text h2 { font-size: 1.05rem; font-weight: 700; text-transform: uppercase; line-height: 1.15; }
.cta-text p { margin-top: .4rem; font-size: .95rem; opacity: .92; }
.cta-btn {
	flex: none;
	display: inline-flex;
	align-items: center;
	background: #2b2b2b;
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	font-size: .85rem;
	padding: .9rem 1.75rem;
	border-radius: 9999px;
	transition: background-color .2s, transform .15s;
}
.cta-btn:hover { background: #000; transform: translateY(-2px); }

/* ---- Footer (DesignAgency style) ---- */
.footer { border-top: 1px solid var(--border); background: color-mix(in srgb, var(--brand) 3%, var(--background)); }
.footer-grid {
	max-width: 72rem;
	margin: 0 auto;
	padding: 3.5rem 1.5rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}
/* mobile: brand + newsletter full width, the two link columns side by side */
.footer-grid > .f-brand,
.footer-grid > .f-subscribe { grid-column: 1 / -1; }
@media (min-width: 1024px) {
	.footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 3rem; }
	.footer-grid > .f-brand,
	.footer-grid > .f-subscribe { grid-column: auto; }
}

.f-logo { display: inline-block; background: #fff; border: 1px solid var(--border); border-radius: .75rem; padding: .85rem 1.1rem; }
.f-logo img { height: 2.5rem; width: auto; display: block; }
.f-desc { margin-top: 1rem; font-size: .9rem; line-height: 1.6; color: var(--muted-foreground); max-width: 22rem; }
.f-social { margin-top: 1.25rem; display: flex; gap: .6rem; }
.f-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 9999px;
	border: 1px solid var(--border);
	color: var(--muted-foreground);
	transition: color .2s, border-color .2s, transform .15s;
}
.f-social a:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.f-social svg { width: 1.05rem; height: 1.05rem; }

.f-col h3 { font-size: 1rem; font-weight: 700; color: var(--foreground); margin-bottom: 1rem; }
.f-col nav { display: flex; flex-direction: column; gap: .6rem; }
.f-col nav a { font-size: .9rem; color: var(--muted-foreground); transition: color .2s; }
.f-col nav a:hover { color: var(--brand); }

.f-subscribe p { font-size: .9rem; color: var(--muted-foreground); margin-bottom: 1rem; line-height: 1.5; }
.f-sub-form { display: flex; gap: .5rem; flex-wrap: wrap; }
.f-sub-form input {
	flex: 1;
	min-width: 0;
	font-family: inherit;
	font-size: .9rem;
	color: var(--foreground);
	background: var(--background);
	border: 1px solid var(--border);
	border-radius: 9999px;
	padding: .6rem 1rem;
	outline: none;
}
.f-sub-form input:focus { border-color: var(--brand); }
.f-sub-form .btn { border-radius: 9999px; }

/* Popular searches (SEO links) */
.f-tags-wrap { border-top: 1px solid var(--border); }
.f-tags {
	max-width: 72rem;
	margin: 0 auto;
	padding: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: .15rem .4rem;
	align-items: baseline;
}
.f-tags-label { font-size: .85rem; font-weight: 600; color: var(--foreground); margin-right: .25rem; }
.f-tags a { font-size: .85rem; line-height: 1.9; color: var(--brand); transition: color .2s; }
.f-tags a:hover { color: var(--foreground); text-decoration: underline; }
.f-tags a:not(:last-child)::after { content: ' |'; color: var(--muted-foreground); margin-left: .4rem; }

/* Bottom bar */
.footer-bottom {
	border-top: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: .75rem;
	align-items: center;
	justify-content: space-between;
	max-width: 72rem;
	margin: 0 auto;
	padding: 1.5rem;
	font-size: .82rem;
	color: var(--muted-foreground);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-legal { display: flex; align-items: center; gap: .6rem; }
.footer-legal a { color: var(--muted-foreground); transition: color .2s; }
.footer-legal a:hover { color: var(--brand); }
.footer-legal span { color: var(--border); }

/* ============================================================
   Unified section eyebrows (icon + label) + headings
   ============================================================ */
.section-eyebrow,
.about-eyebrow,
.t-eyebrow,
.da-badge,
.badge-pill {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	background: transparent;
	border: 0;
	padding: 0;
	border-radius: 0;
	color: var(--brand);
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.section-eyebrow::before,
.about-eyebrow::before,
.t-eyebrow::before,
.da-badge::before,
.badge-pill::before {
	content: '';
	width: .95rem;
	height: .95rem;
	flex: none;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* drop the trailing line on the about eyebrow for a consistent look */
.about-eyebrow::after { display: none; }

/* Unified section headings (matches "From training to your first job — we've got you") */
.section-title,
.about-title,
.career-title,
.t-title,
.da-h2,
.cd-title,
.contact-title,
.cm-head h2,
.faq-head h2 {
	font-family: inherit !important;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: var(--foreground) !important;
	background: none !important;
	-webkit-text-fill-color: currentColor;
	font-size: 2rem;
}
@media (min-width: 768px) {
	.section-title,
	.about-title,
	.career-title,
	.t-title,
	.da-h2,
	.cd-title,
	.contact-title,
	.cm-head h2,
	.faq-head h2 { font-size: 2.5rem; }
}
/* keep the two-tone brand word on split headings */
.cd-title span,
.contact-title span { color: var(--brand) !important; -webkit-text-fill-color: var(--brand); }

/* ============================================================
   Decorative line-art illustrations on section sides
   ============================================================ */
.course-modules,
.testimonials,
.faq {
	position: relative;
	overflow: clip;
}
.course-modules::before,
.course-modules::after,
.testimonials::before,
.testimonials::after,
.faq::before,
.faq::after {
	content: '';
	position: absolute;
	z-index: 0;
	pointer-events: none;
	width: 20rem;
	height: 20rem;
	background: url('../assets/img/imgi_12_backgroundflower11.png') no-repeat center / contain;
	opacity: .07;
}
.course-modules::before,
.testimonials::before,
.faq::before { left: -5rem; top: 2.5rem; }
.course-modules::after,
.testimonials::after,
.faq::after { right: -5rem; bottom: 2.5rem; transform: scaleX(-1); }
@media (max-width: 768px) {
	.course-modules::before, .course-modules::after,
	.testimonials::before, .testimonials::after,
	.faq::before, .faq::after { width: 11rem; height: 11rem; opacity: .05; }
}

/* keep content above the decorations */
.cm-inner,
.testimonials .t-inner,
.faq-inner { position: relative; z-index: 1; }

/* Course Modules: faint beauty illustration behind the content (right side) */
.course-modules::after {
	background-image: url('../assets/img/imgi_311_beauty-floral-woman-23197926.png');
	background-position: center;
	width: 22rem;
	height: 28rem;
	top: 50%;
	right: 0;
	bottom: auto;
	transform: translateY(-50%);
	opacity: .32;
	z-index: 0;
}
@media (max-width: 768px) { .course-modules::after { width: 14rem; height: 18rem; opacity: .08; } }

/* ============================================================
   Mobile spacing/size tweaks (home page)
   ============================================================ */
@media (max-width: 768px) {
	/* 1) smaller About portrait */
	.about-col-right { display: flex; justify-content: center; }
	.about-photo { max-width: 17rem; }
	.about-photo-frame { display: none; }

	/* 2) compact course cards (icon + card take less space) */
	.about { padding: 3rem 0 2rem; }
	.course-grid { margin-top: 2rem; gap: 1.25rem; }
	.course-card { padding: 1rem .75rem; }
	.course-icon { width: 3.75rem; height: 3.75rem; border-radius: .6rem; }
	.course-icon svg { width: 1.6rem; height: 1.6rem; }
	.course-title { margin-top: .9rem; font-size: 1.05rem; }
	.course-desc { margin-top: .5rem; }

	/* 3) reduce empty gap before the Courses section */
	.courses { padding: 2.5rem 0 3.5rem; }
}


/* ============================================================
   About page
   ============================================================ */
.about-hero { position: relative; display: flex; align-items: center; min-height: 58vh; overflow: hidden; color: #fff; }
.about-hero .ah-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.about-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(0,0,0,.78), rgba(0,0,0,.45) 60%, rgba(0,0,0,.25)); }
.about-hero-inner { max-width: 72rem; width: 100%; margin: 0 auto; padding: 9rem 1.5rem 5rem; }
.ah-eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #f5c9dd; }
.ah-eyebrow::before { content: ''; width: 2rem; height: 1px; background: #f5c9dd; }
.about-hero h1 { margin-top: 1.25rem; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.08; max-width: 28ch; }
.about-hero h1 em { font-style: italic; color: #f5c9dd; }
.about-hero p { margin-top: 1.25rem; max-width: 42rem; font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,.85); }

.ab-section { padding: 4rem 0; }
.ab-section.tint { background: linear-gradient(to bottom, color-mix(in srgb, var(--brand) 5%, var(--background)), var(--background)); }
.ab-wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.ab-head { text-align: center; max-width: 46rem; margin: 0 auto 3rem; }
.ab-head p { margin-top: 1rem; color: var(--muted-foreground); line-height: 1.7; }

.ab-split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
	.ab-split { grid-template-columns: 1fr 1fr; gap: 4rem; }
	.ab-split.reverse .ab-text { order: 2; }
}
.ab-text p { margin-top: 1.1rem; color: var(--muted-foreground); line-height: 1.75; }
.ab-img { position: relative; border-radius: 1rem; overflow: hidden; box-shadow: 0 25px 55px -22px color-mix(in srgb, var(--brand) 40%, rgba(0,0,0,.3)); }
.ab-img img { display: block; width: 100%; }
.ab-img.framed::before { content: ''; position: absolute; inset: -1.1rem; border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); border-radius: 1rem; z-index: -1; }

/* powder banner band */
.ab-band { position: relative; overflow: hidden; color: #fff; text-align: center; }
.ab-band .abb-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ab-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.55); }
.ab-band-inner { max-width: 48rem; margin: 0 auto; padding: 5rem 1.5rem; }
.ab-band-inner h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1.2; }
.ab-band-inner p { margin-top: 1rem; color: rgba(255,255,255,.85); line-height: 1.7; }

/* course chips */
.ab-chips { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.ab-chip { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--border); border-radius: 9999px; padding: .7rem 1.4rem; font-weight: 600; font-size: .95rem; color: var(--foreground); background: var(--background); transition: border-color .2s, color .2s, transform .15s, background-color .2s; }
.ab-chip::before { content: ''; width: .5rem; height: .5rem; border-radius: 50%; background: var(--brand); }
.ab-chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); background: color-mix(in srgb, var(--brand) 5%, var(--background)); }

/* success roles */
.ab-roles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .ab-roles { grid-template-columns: repeat(3, 1fr); } }
.ab-role { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: .8rem; background: color-mix(in srgb, var(--brand) 3%, var(--background)); font-weight: 600; color: var(--foreground); }
.ab-role svg { width: 1.5rem; height: 1.5rem; color: var(--brand); flex: none; }

/* Contact page map */
.contact-map-section { padding: 0 0 5rem; }
.contact-map { border-radius: 1rem; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); height: 24rem; }
.contact-map iframe { display: block; width: 100%; height: 100%; }

/* ============================================================
   Blog page
   ============================================================ */
.blog-head { padding: 9rem 0 2.5rem; text-align: center; background: linear-gradient(to bottom, color-mix(in srgb, var(--brand) 6%, var(--background)), var(--background)); }
.blog-head .section-title { margin-top: .75rem; }
.blog-head .blog-lead { max-width: 38rem; margin: 1rem auto 0; color: var(--muted-foreground); line-height: 1.7; }
.blog-cats { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.75rem; }
.blog-cat { padding: .5rem 1.15rem; border: 1px solid var(--border); border-radius: 9999px; font-size: .85rem; font-weight: 600; color: var(--foreground); background: var(--background); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.blog-cat:hover { border-color: var(--brand); color: var(--brand); }
.blog-cat.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.blog-section { padding: 3.5rem 0 5rem; }

/* featured post */
.blog-featured { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; margin-bottom: 4rem; }
@media (min-width: 900px) { .blog-featured { grid-template-columns: 1.15fr 1fr; gap: 3rem; } }
.bf-media { position: relative; border-radius: 1.25rem; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 25px 55px -24px color-mix(in srgb, var(--brand) 40%, rgba(0,0,0,.3)); }
.bf-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-featured:hover .bf-media img { transform: scale(1.05); }
.bf-tag { position: absolute; top: 1rem; left: 1rem; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .4rem .85rem; border-radius: 9999px; }
.bf-body .post-meta { margin-bottom: .9rem; }
.bf-title { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: clamp(1.6rem, 3.5vw, 2.5rem); line-height: 1.15; color: var(--foreground); }
.bf-title a { color: inherit; }
.bf-title a:hover { color: var(--brand); }
.bf-excerpt { margin-top: 1rem; color: var(--muted-foreground); line-height: 1.7; max-width: 36rem; }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; font-size: .82rem; color: var(--muted-foreground); }
.post-meta .pm-item { display: inline-flex; align-items: center; gap: .35rem; }
.post-meta svg { width: .95rem; height: .95rem; }
.post-meta .pm-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-foreground); }

.read-more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.4rem; font-size: .85rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--brand); }
.read-more svg { width: 1rem; height: 1rem; transition: transform .25s ease; }
.read-more:hover svg { transform: translateX(4px); }

/* blog grid */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { display: flex; flex-direction: column; background: var(--background); border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.blog-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--brand) 35%, transparent); box-shadow: 0 22px 45px -22px color-mix(in srgb, var(--brand) 45%, transparent); }
.bc-media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; }
.bc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .bc-media img { transform: scale(1.08); }
.bc-tag { position: absolute; top: .85rem; left: .85rem; background: rgba(255,255,255,.92); color: var(--brand); font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 9999px; }
.bc-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.bc-title { font-size: 1.15rem; font-weight: 700; line-height: 1.3; color: var(--foreground); }
.bc-title a { color: inherit; }
.bc-title a:hover { color: var(--brand); }
.bc-excerpt { margin-top: .6rem; font-size: .9rem; line-height: 1.6; color: var(--muted-foreground); flex: 1; }
.bc-foot { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--border); }

/* ============================================================
   Single blog post (inner page)
   ============================================================ */
.post-hero { padding: 8.5rem 0 0; }
.post-hero-inner { max-width: 52rem; margin: 0 auto; padding: 0 1.5rem; text-align: center; }
.post-tagline { display: inline-block; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .4rem .9rem; border-radius: 9999px; }
.post-hero h1 { margin-top: 1.25rem; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: clamp(1.9rem, 4.5vw, 3.1rem); line-height: 1.15; color: var(--foreground); }
.post-hero .post-meta { justify-content: center; margin-top: 1.25rem; }

.post-cover { max-width: 64rem; margin: 2.5rem auto 0; padding: 0 1.5rem; }
.post-cover img { width: 100%; border-radius: 1.25rem; aspect-ratio: 16 / 8; object-fit: cover; box-shadow: 0 30px 60px -28px color-mix(in srgb, var(--brand) 45%, rgba(0,0,0,.35)); }

.post-body { max-width: 46rem; margin: 3rem auto 0; padding: 0 1.5rem; }
.post-body > p { font-size: 1.075rem; line-height: 1.85; color: var(--muted-foreground); margin: 1.2rem 0; }
.post-body > p:first-child { font-size: 1.2rem; color: var(--foreground); }
.post-body h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.7rem; font-weight: 700; color: var(--foreground); margin: 2.5rem 0 .5rem; }
.post-body h3 { font-size: 1.2rem; font-weight: 700; color: var(--foreground); margin: 1.75rem 0 .25rem; }
.post-body ul { margin: 1rem 0 1.5rem; padding-left: 1.25rem; }
.post-body ul li { position: relative; list-style: none; padding-left: 1.5rem; margin: .55rem 0; color: var(--muted-foreground); line-height: 1.7; }
.post-body ul li::before { content: ''; position: absolute; left: 0; top: .55rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--brand); }
.post-body blockquote { margin: 2rem 0; padding: .25rem 0 .25rem 1.5rem; border-left: 3px solid var(--brand); font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: 1.3rem; line-height: 1.5; color: var(--foreground); }
.post-body figure { margin: 1.75rem 0; }
.post-body figure img { width: 100%; border-radius: .9rem; }
.post-body figure figcaption { margin-top: .6rem; text-align: center; font-size: .82rem; color: var(--muted-foreground); }

.post-tags { display: flex; flex-wrap: wrap; gap: .6rem; max-width: 46rem; margin: 2.5rem auto 0; padding: 0 1.5rem; }
.post-tag { font-size: .8rem; font-weight: 600; color: var(--brand); background: var(--accent); border-radius: 9999px; padding: .4rem .9rem; }

.author-box { display: flex; align-items: center; gap: 1.1rem; max-width: 46rem; margin: 2.5rem auto 0; padding: 1.5rem; border: 1px solid var(--border); border-radius: 1rem; background: color-mix(in srgb, var(--brand) 3%, var(--background)); }
.author-avatar { flex: none; width: 3.5rem; height: 3.5rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; background: linear-gradient(140deg, var(--brand), var(--brand-hover)); }
.author-box h4 { font-weight: 700; color: var(--foreground); }
.author-box p { font-size: .88rem; color: var(--muted-foreground); margin-top: .15rem; }

.related { padding: 4rem 0 5rem; }
.related .ab-wrap > h2 { margin-bottom: 2rem; }

/* ============================================================
   Tablet (iPad) tidy-up for Career Opportunities
   ============================================================ */
@media (min-width: 700px) and (max-width: 1023px) {
	.co-grid {
		grid-template-columns: 1fr 1fr;
		gap: 1.75rem 2.5rem;
		align-items: start;
	}
	.co-center { grid-column: 1 / -1; order: -1; margin-bottom: 1.5rem; }
	.co-figure { max-width: 22rem; margin: 0 auto; }
	.co-col { display: flex; flex-direction: column; gap: 1.75rem; }
}

/* ============================================================
   Placements page gallery
   ============================================================ */
.pl-gallery { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 600px) { .pl-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .pl-gallery { grid-template-columns: repeat(3, 1fr); } }
.pl-item {
	position: relative;
	overflow: hidden;
	border-radius: 1rem;
	aspect-ratio: 4 / 3;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--border);
}
.pl-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pl-item:hover img { transform: scale(1.06); }
.pl-item::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(20, 4, 13, .8), transparent 55%);
	opacity: 0;
	transition: opacity .3s ease;
}
.pl-item:hover::after { opacity: 1; }
.pl-cap {
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	z-index: 1;
	color: #fff;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .3s ease, transform .3s ease;
}
.pl-item:hover .pl-cap { opacity: 1; transform: translateY(0); }
.pl-cap strong { display: block; font-size: 1rem; font-weight: 700; }
.pl-cap span { font-size: .82rem; color: rgba(255, 255, 255, .85); }

/* Placements page — tighter spacing */
.pl-page .blog-head { padding-bottom: 1rem; }
.pl-page .career { padding: 2.25rem 0; }
.pl-page .career .career-inner { padding-top: 0; padding-bottom: 0; }
.pl-page .co-stats { margin-top: 0; }
.pl-page .ab-section { padding: 3rem 0; }

/* Placements — mobile: smaller gallery images + compact stats */
@media (max-width: 600px) {
	.pl-gallery { grid-template-columns: repeat(2, 1fr); gap: .65rem; }
	.pl-item { border-radius: .65rem; }
	.pl-cap strong { font-size: .82rem; }
	.pl-cap span { font-size: .7rem; }

	.pl-page .co-stats { gap: .65rem; }
	.pl-page .stat-card { padding: 1rem .6rem; }
	.pl-page .stat-icon { width: 2.5rem; height: 2.5rem; margin-bottom: .6rem; }
	.pl-page .stat-icon svg { width: 1.1rem; height: 1.1rem; }
	.pl-page .stat-value { font-size: 1.5rem; }
	.pl-page .stat-card p { font-size: .75rem; }
}
