/* Site: premium palette in :root (orange + ink / slate / warm paper).
   Header + notice bar: sitewide. Sections below marked .home-page are homepage-only. */

:root {
	--rg-brand: #e56500;
	--rg-brand-soft: #f28a2c;
	--rg-brand-deep: #c2410c;
	--rg-brand-rust: #9a3412;
	--rg-ink: #0f172a;
	--rg-ink-soft: #1e293b;
	--rg-navy: #1e3a5f;
	--rg-slate: #475569;
	--rg-muted: #64748b;
	--rg-paper: #ffffff;
	--rg-cream: #fafaf9;
	--rg-mist: #f1f5f9;
	--rg-line: rgba(15, 23, 42, 0.08);
	--rg-line-warm: rgba(229, 101, 0, 0.22);
	/* Main header nav: same tokens for default, hover, focus, and current route */
	--rg-nav-default: var(--rg-brand);
	--rg-nav-strong: var(--rg-brand-deep);
	--rg-nav-hover-bg: rgba(229, 101, 0, 0.08);
	/* Homepage vertical rhythm: outer gaps + section inner padding (one scale) */
	--rg-home-section-gap: clamp(2.75rem, 5.25vw, 4rem);
	/* Extra breathing room around testimonials band */
	--rg-home-testimonial-gap: clamp(3.5rem, 6.2vw, 5rem);
	/* Slimmer band between full-width content rows (e.g. portals) */
	--rg-home-section-gap-compact: clamp(1.35rem, 2.75vw, 2.1rem);
	/* Inner spacing rhythm inside homepage sections (titles/rows/controls) */
	--rg-home-content-gap: clamp(1rem, 2.2vw, 1.6rem);
	--rg-home-content-gap-lg: clamp(1.5rem, 3vw, 2.4rem);
}

/* ---------- Header stack: notice + branding + nav (sitewide, classic sapkalpharmacy-style) ---------- */
.notice-top-bar {
	position: relative;
	z-index: 1035;
	background: var(--rg-brand);
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: none;
	overflow: visible;
}

.notice-top-bar .container {
	cursor: pointer;
}

.notice-top-bar .row {
	align-items: center;
	min-height: 2.15rem;
}

.notice-top-bar .col-9,
.notice-top-bar .col-md-12,
.notice-top-bar .rg-notice-bar-text {
	color: #fff;
	font-weight: 600;
	font-size: 0.875rem;
	letter-spacing: 0.02em;
	text-shadow: none;
}

.notice-top-bar .rg-notice-bar-text {
	line-height: 1.35;
	overflow-wrap: anywhere;
	word-break: break-word;
	hyphens: auto;
}

.notice-top-bar .col-9 a,
.notice-top-bar .col-md-12 a,
.notice-top-bar .rg-notice-bar-text a {
	color: #fff !important;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: rgba(255, 255, 255, 0.55);
	transition: text-decoration-color 0.2s ease, color 0.2s ease;
}

.notice-top-bar .col-9 a:hover,
.notice-top-bar .col-md-12 a:hover,
.notice-top-bar .rg-notice-bar-text a:hover {
	text-decoration-color: #fff;
}

.notice-top-bar .notice-top-bar-close {
	position: absolute;
	top: 50% !important;
	right: 0.45rem !important;
	transform: translateY(-50%);
	z-index: 2;
	border-radius: 50%;
	transition: background-color 0.2s ease;
}

.notice-top-bar .notice-top-bar-close:hover {
	background-color: rgba(255, 255, 255, 0.15);
}

/* Branding strip — flat white (matches public site header) */
#header .header-top.header-top-small-minheight {
	background: #fff;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: none;
}

#header .rg-header-branding-inner {
	padding-top: 0.35rem !important;
	padding-bottom: 0.35rem !important;
	position: relative;
}

#header .rg-header-top-naac-wrap {
	position: absolute;
	/* Move badge left without affecting header layout (absolute). */
	right: 3.5rem;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
}

#header .header-top .header-row > .col > p.font-weight-light:first-of-type,
#header .rg-header-trust-line {
	letter-spacing: 0.08em;
	text-transform: none;
	font-size: clamp(0.82rem, 0.2vw + 0.76rem, 0.95rem) !important;
	color: var(--rg-muted) !important;
	font-weight: 500 !important;
	margin-bottom: 0.05rem !important;
	line-height: 1.2 !important;
	font-family: Poppins, sans-serif !important;
}

/* College name — original look: bold orange, sans-serif, all caps (matches theme text-color-primary) */
#header .header-top .header-row > .col > h2,
#header .rg-header-site-title {
	font-family: Poppins, sans-serif !important;
	font-weight: 800 !important;
	font-size: clamp(1.35rem, 1.35vw + 0.85rem, 2.05rem) !important;
	letter-spacing: 0.02em;
	line-height: 1.05 !important;
	text-transform: uppercase;
	color: var(--rg-brand) !important;
	-webkit-text-fill-color: var(--rg-brand);
	background: none !important;
	border: none !important;
	border-image: none !important;
	box-shadow: none !important;
	text-shadow: none !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* Affiliation — medium gray sans-serif */
#header .header-site-tagline,
#header .rg-header-tagline {
	max-width: 56rem;
	margin-left: auto;
	margin-right: auto;
	padding: 0.1rem 0.75rem 0 !important;
	font-family: Poppins, sans-serif !important;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0.02em;
	font-size: clamp(0.9rem, 0.32vw + 0.78rem, 1.08rem);
	text-wrap: balance;
	color: var(--rg-slate);
	border-top: none;
	margin-top: 0.1rem !important;
}

@media (min-width: 992px) {
	#header .header-site-tagline,
	#header .rg-header-tagline {
		font-size: clamp(0.92rem, 0.26vw + 0.8rem, 1.12rem);
		line-height: 1.38;
	}
}

/* Main nav row — flat white */
#header .header-body {
	background: #fff;
	box-shadow: none;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}

#header .header-logo img {
	transition: transform 0.2s ease;
	filter: none;
}

#header .header-logo:hover img {
	transform: none;
}

#header #mainNav > li > a,
#header .header-nav-main #mainNav > li > a.nav-link {
	letter-spacing: 0.03em;
	font-weight: 700 !important;
	transition: color 0.2s ease, background-color 0.2s ease;
	color: var(--rg-nav-default) !important;
}

#header #mainNav > li > a:hover,
#header #mainNav > li > a:focus-visible,
#header .header-nav-main #mainNav > li > a.nav-link:hover,
#header .header-nav-main #mainNav > li > a.nav-link:focus-visible,
#header #mainNav > li:hover > a,
#header #mainNav > li.open > a,
#header #mainNav > li.accessibility-open > a {
	color: var(--rg-nav-strong) !important;
	background-color: var(--rg-nav-hover-bg) !important;
}

#header #mainNav > li > a.active,
#header #mainNav > li > a.current-page-active,
#header .header-nav-main #mainNav > li > a.nav-link.active {
	color: var(--rg-nav-strong) !important;
	background-color: var(--rg-nav-hover-bg) !important;
}

#header #mainNav > li > a.active:hover,
#header #mainNav > li > a.active:focus-visible,
#header #mainNav > li > a.current-page-active:hover,
#header #mainNav > li > a.current-page-active:focus-visible,
#header .header-nav-main #mainNav > li > a.nav-link.active:hover,
#header .header-nav-main #mainNav > li > a.nav-link.active:focus-visible {
	color: var(--rg-nav-strong) !important;
	background-color: var(--rg-nav-hover-bg) !important;
}

/* Theme JS appends <i class="fas fa-chevron-down">; .header-nav-main-arrows also draws \f078 on
   a.dropdown-toggle::after — both read as two carets. Hide the <i> on desktop; keep icon on mobile. */
#header .header-nav-main nav .dropdown-toggle > i.fa-chevron-down ~ i,
#header .header-nav-main nav .dropdown-submenu > a > i.fa-chevron-down ~ i {
	display: none !important;
}

@media (min-width: 992px) {
	html #header .header-nav-main-arrows #mainNav > li.dropdown > a.dropdown-toggle > i.fa-chevron-down {
		display: none !important;
		width: 0 !important;
		height: 0 !important;
		overflow: hidden !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		clip: rect(0, 0, 0, 0) !important;
		position: absolute !important;
	}
}

#header .header-extra-info .header-extra-info-icon i {
	color: var(--rg-brand) !important;
}

#header .header-extra-info .text-4 a {
	color: var(--rg-ink-soft);
	transition: color 0.2s ease;
}

#header .header-extra-info .text-4 a:hover {
	color: var(--rg-brand) !important;
}

#header .header-extra-info .header-extra-info-text .text-1 {
	font-size: clamp(0.72rem, 0.15vw + 0.68rem, 0.82rem) !important;
}

#header .header-extra-info .header-extra-info-text .text-4,
#header .header-extra-info .header-extra-info-text .text-4 a {
	font-size: clamp(1rem, 0.35vw + 0.88rem, 1.2rem) !important;
}

#header .rg-header-naac-wrap {
	flex: 0 0 auto;
}

#header .rg-header-naac-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border-radius: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	transition: none;
}

#header .rg-header-naac-logo {
	/* Bigger + wider, but absolute-positioned so header height stays same. */
	width: auto;
	height: clamp(68px, 5.6vw, 110px);
	max-width: 210px;
	object-fit: contain;
	display: block;
	filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.14));
}

/* Desktop: match main logo size (100x100) */
@media (min-width: 992px) {
	#header .rg-header-naac-logo {
		height: 120px;
	}
}

#header .rg-header-naac-link:hover,
#header .rg-header-naac-link:focus-visible {
	transform: none;
	box-shadow: none;
	border-color: transparent;
	outline: none;
}

.rg-mobile-naac-float {
	display: none;
}

/* Main nav: single row, menu centered between logo and phone */
@media (min-width: 992px) {
	/* Ensure header grows if nav wraps (prevents line 2 looking like a new section) */
	/* demo-auto-services.css forces height:110px; override hard */
	html #header .header-container {
		height: auto !important;
		max-height: none !important;
		min-height: 0 !important;
		overflow: visible !important;
		padding-top: 0.25rem;
		padding-bottom: 0.15rem;
		align-items: flex-start !important;
	}

	/* Don't vertically center a tall header row (removes the big middle gap) */
	html #header .header-container > .header-row {
		align-items: flex-start !important;
		align-self: auto !important;
		max-height: none !important;
	}

	/* Theme sets header columns/rows to stretch; disable to avoid vertical slack */
	html #header .header-column,
	html #header .header-row {
		align-self: flex-start !important;
	}

	/* Remove theme vertical padding/min-height so row-2 sits tight */
	#header .header-nav-links,
	#header .header-nav-main,
	#header .header-nav-main nav {
		min-height: 0 !important;
		width: 100% !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	/* Force the actual nav wrapper to size to content (removes reserved height) */
	html #header .header-nav-links,
	html #header .header-nav-main,
	html #header .header-nav-main nav,
	html #header #rg-main-nav-collapse {
		height: auto !important;
	}

	/* Bootstrap collapse can keep height/overflow while "shown" by theme JS */
	html #header #rg-main-nav-collapse.collapse,
	html #header #rg-main-nav-collapse.collapse.show,
	html #header #rg-main-nav-collapse.collapsing {
		display: block !important;
		height: auto !important;
		overflow: visible !important;
	}

	#header .header-column.w-100 > .header-row.rg-header-main-row {
		flex-wrap: nowrap;
		align-items: flex-start;
		gap: 0.25rem;
	}

	#header .rg-header-nav-center {
		flex: 1 1 auto;
		min-width: 0;
		max-width: 100%;
		margin-left: 0;
		display: flex;
		justify-content: center;
		align-items: flex-start;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	#header .rg-header-nav-center .header-nav-main {
		display: flex;
		justify-content: center;
		align-items: flex-start;
		min-width: 0;
	}

	#header .header-nav-main nav > ul.nav {
		flex-wrap: wrap;
		/* Center the whole block, but left-align each wrapped line (row-2 starts under HOME) */
		justify-content: flex-start !important;
		align-content: flex-start;
		column-gap: 0.2rem;
		row-gap: 0.05rem;
		margin: 0 !important;
		padding: 0 !important;
		/* Center the whole 2-line block; row-2 starts inline under row-1 */
		width: fit-content !important;
		margin-left: auto !important;
		margin-right: auto !important;
		line-height: 1.1;
	}

	#header .header-nav-main nav > ul.nav > li {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	#header .header-nav-main nav > ul.nav > li > a {
		white-space: nowrap;
		padding-top: 0.32rem !important;
		padding-bottom: 0.32rem !important;
		padding-left: 0.65rem !important;
		padding-right: 0.65rem !important;
		font-size: clamp(0.86rem, 0.24vw + 0.76rem, 1rem) !important;
		color: var(--rg-nav-default) !important;
	}

	/* Desktop dropdown caret (Font Awesome glyph in ::after) follows link color */
	#header .header-nav-main-arrows #mainNav > li > a.dropdown-toggle:after {
		color: currentColor;
	}

	/* Burger is mobile-only; keep it hidden on desktop */
	#header .rg-header-burger {
		display: none !important;
	}

	/* Force Gallery/ERP/Contact to start on row 2 (same navbar) */
	#header .header-nav-main nav > ul.nav > li.rg-nav-desktop-break {
		flex: 0 0 100%;
		width: 100%;
		height: 0;
		margin: -0.6rem 0 0;
		padding: 0;
		border: 0;
	}

	/* Make 2nd-row items visually tighter */
	#header .header-nav-main nav > ul.nav > li.rg-nav-secondary > a.nav-link {
		padding-top: 0.18rem !important;
		padding-bottom: 0.18rem !important;
	}

	/* Extra breathing room between RFA and ERP only */
	#header .header-nav-main nav > ul.nav > li.rg-nav-after-rfa {
		margin-left: 0.4rem !important;
	}
}

@media (max-width: 991.98px) {
	/* Mobile menu is vertical; don't waste a row on the break element */
	#header .header-nav-main nav > ul.nav > li.rg-nav-desktop-break {
		display: none !important;
	}
}

/* Tablet/small-desktop: allow nav to wrap to next line (same header section) */
@media (min-width: 992px) and (max-width: 1199.98px) {
	#header .header-column.w-100 > .header-row.rg-header-main-row {
		flex-wrap: wrap;
		row-gap: 0.25rem;
	}

	/* Make the nav take full width on the next line */
	#header .rg-header-nav-center {
		order: 3;
		flex: 1 0 100%;
		justify-content: center;
	}

	#header .header-logo,
	#header .rg-header-logo {
		order: 1;
	}

	#header .header-extra-info {
		order: 2;
	}

	#header .header-nav-main nav > ul.nav {
		flex-wrap: wrap;
		justify-content: center;
		row-gap: 0.15rem;
	}

	#header .header-nav-main nav > ul.nav > li > a {
		white-space: normal;
	}
}

@media (min-width: 992px) and (max-width: 1399.98px) {
	#header .header-nav-main nav > ul.nav {
		column-gap: 0.18rem;
	}

	#header .header-nav-main nav > ul > li > a {
		padding-left: 0.52rem !important;
		padding-right: 0.52rem !important;
		font-size: clamp(0.84rem, 0.2vw + 0.74rem, 0.94rem) !important;
	}
}

@media (min-width: 1400px) {
	#header .header-nav-main nav > ul.nav {
		column-gap: 0.38rem;
	}

	#header .header-nav-main nav > ul > li > a {
		padding-left: 0.82rem !important;
		padding-right: 0.82rem !important;
		font-size: clamp(0.95rem, 0.22vw + 0.82rem, 1.07rem) !important;
	}
}

/* ---------- Header: mobile & tablet (≤991px) — no desktop (≥992px) layout changes ---------- */
@media (max-width: 991.98px) {
	.rg-mobile-naac-float {
		position: fixed;
		right: 0.85rem;
		bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
		z-index: 1200;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		gap: 0.42rem;
		padding: 0.36rem 0.62rem 0.36rem 0.4rem;
		background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
		border: 1px solid rgba(229, 101, 0, 0.42);
		border-radius: 999px;
		box-shadow: 0 12px 28px rgba(15, 23, 42, 0.24);
		text-decoration: none;
		opacity: 1;
		visibility: visible;
	}

	.rg-mobile-naac-float img {
		width: 2.25rem;
		height: 2.25rem;
		flex: 0 0 2.25rem;
		object-fit: contain;
	}

	.rg-mobile-naac-float span {
		font-family: Poppins, sans-serif;
		font-size: 0.72rem;
		line-height: 1;
		font-weight: 700;
		letter-spacing: 0.02em;
		color: var(--rg-brand-deep);
		white-space: nowrap;
	}

	.rg-mobile-naac-float:hover,
	.rg-mobile-naac-float:focus-visible {
		transform: translateY(-1px);
		border-color: rgba(229, 101, 0, 0.4);
		box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
		text-decoration: none;
		outline: none;
	}

	.rg-mobile-naac-float:active {
		transform: translateY(0);
	}

	.notice-top-bar .rg-notice-bar-text {
		font-size: clamp(0.78rem, 0.5vw + 0.7rem, 0.9rem);
	}

	/* Tighter stack: branding block → logo row (remove big white flex gap) */
	#header .header-body {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	#header .header-top.header-top-small-minheight {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	#header .rg-header-branding-inner {
		padding-top: 0.3rem !important;
		padding-bottom: 0.3rem !important;
	}

	#header .rg-header-trust-line {
		margin-bottom: 0.05rem !important;
	}

	#header .rg-header-tagline {
		margin-top: 0.15rem !important;
		padding-bottom: 0 !important;
	}

	/* demo-auto-services.css fixes header-container to 110px — too tight on phones and can clip the mobile menu */
	#header .header-container {
		max-width: 100%;
		/* overflow-x:hidden makes overflow-y compute to auto → can clip the Porto mobile dropdown (position:absolute; top:100%) */
		overflow-x: clip;
		overflow-y: visible;
		height: auto !important;
		min-height: 0 !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	#header .rg-header-main-row {
		min-height: 0 !important;
		gap: 0.25rem;
		margin-bottom: 0 !important;
		margin-top: 0 !important;
		padding-top: 0.15rem !important;
		padding-bottom: 0 !important;
		align-items: center !important;
	}

	/* Remove theme default spacing so row height follows logo only */
	#header .header-logo,
	#header .rg-header-logo {
		margin: 0 !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		line-height: 0;
	}

/* Shift the main logo slightly right without resizing it.
   Use transform so layout/nav spacing stays unchanged. */
#header .rg-header-logo .rg-header-logo-img {
	transform: translateX(0.6rem);
}

	/*
	 * Middle column must keep real width: theme mobile .header-nav-main is width:100% of this flex item.
	 * flex:0 + width:auto shrank it to ~0px so the open menu looked “empty” / links invisible.
	 */
	#header .rg-header-main-row .header-nav-links,
	#header .rg-header-nav-center {
		flex: 1 1 0 !important;
		min-width: 0 !important;
		justify-content: flex-end !important;
		padding-left: 0.25rem !important;
		padding-right: 0.25rem !important;
	}

	#header .rg-header-nav-center .header-nav-main {
		z-index: 1004;
	}

	/* Theme sets min-height: 70px here — leaves a wide invisible strip that can steal taps before they reach the burger */
	#header .header-nav.header-nav-links {
		min-height: 0 !important;
	}

	#header .rg-header-logo .rg-header-logo-img {
		width: 3.6rem !important;
		height: auto !important;
		max-width: 3.6rem;
		display: block;
	}

	#header .rg-header-burger {
		margin-left: auto !important;
		min-width: 2.35rem;
		min-height: 2.35rem;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		padding: 0 !important;
		position: relative;
		z-index: 1005;
	}

	/*
	 * Porto theme (theme.css) sets a visible 5px webkit scrollbar on this nav.
	 * !important + thumb/track overrides so the bar stays scrollable but no grey rail shows.
	 */
	#header .header-nav-main nav,
	#header .header-nav-main nav.collapse,
	#header .header-nav-main nav.collapsing,
	#header .header-nav-main nav.collapse.show {
		scrollbar-width: none !important;
		-ms-overflow-style: none !important;
		-webkit-overflow-scrolling: touch;
		padding-left: 1rem !important;
		padding-right: 1rem !important;
		max-height: min(72vh, 26rem) !important;
		box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.08);
		border-radius: 0 0 0.5rem 0.5rem;
	}

	#header .header-nav-main nav::-webkit-scrollbar,
	#header .header-nav-main nav.collapse::-webkit-scrollbar,
	#header .header-nav-main nav.collapsing::-webkit-scrollbar,
	#header .header-nav-main nav.collapse.show::-webkit-scrollbar {
		width: 0 !important;
		height: 0 !important;
		display: none !important;
		background: transparent !important;
	}

	#header .header-nav-main nav::-webkit-scrollbar-thumb,
	#header .header-nav-main nav.collapse::-webkit-scrollbar-thumb,
	#header .header-nav-main nav.collapsing::-webkit-scrollbar-thumb,
	#header .header-nav-main nav.collapse.show::-webkit-scrollbar-thumb {
		background: transparent !important;
	}

	#header .header-nav-main nav::-webkit-scrollbar-track,
	#header .header-nav-main nav.collapse::-webkit-scrollbar-track,
	#header .header-nav-main nav.collapsing::-webkit-scrollbar-track,
	#header .header-nav-main nav.collapse.show::-webkit-scrollbar-track {
		background: transparent !important;
	}

	/* Open sub-menus on mobile can also get a scrollbar from the theme */
	#header .header-nav-main nav .dropdown-menu {
		scrollbar-width: none !important;
		-ms-overflow-style: none !important;
	}

	#header .header-nav-main nav .dropdown-menu::-webkit-scrollbar {
		width: 0 !important;
		height: 0 !important;
		display: none !important;
	}

	/* Avoid 100vw horizontal bleed that can introduce a stray vertical scrollbar on narrow viewports */
	#header .header-nav-main:before {
		width: 100%;
		max-width: 100vw;
	}

	#header .header-nav-main nav > ul > li > a,
	#header .header-nav-main nav > ul li a {
		color: var(--rg-nav-default) !important;
	}

	#header .header-nav-main nav > ul > li > a.active,
	#header .header-nav-main nav > ul > li > a.current-page-active {
		color: #fff !important;
		background: var(--rg-brand) !important;
	}

	#header .header-nav-main nav > ul > li > a:active {
		color: var(--rg-nav-strong) !important;
		background-color: rgba(229, 101, 0, 0.1) !important;
	}

	.home-announce.section,
	.home-page .home-announce.section,
	.home-announce-inner,
	.home-page .home-announce-inner {
		margin-top: 0 !important;
	}
}

@media (max-width: 575.98px) {
	.rg-mobile-naac-float {
		right: 0.6rem;
		bottom: calc(0.72rem + env(safe-area-inset-bottom, 0px));
		gap: 0.34rem;
		padding: 0.3rem 0.5rem 0.3rem 0.34rem;
	}

	.rg-mobile-naac-float img {
		width: 2rem;
		height: 2rem;
		flex-basis: 2rem;
	}

	.rg-mobile-naac-float span {
		font-size: 0.66rem;
	}

	#header .header-top .header-row > .col > h2.rg-header-site-title,
	#header .rg-header-site-title {
		font-size: clamp(1.05rem, 1.1vw + 0.82rem, 1.65rem) !important;
	}

	#header .header-site-tagline,
	#header .rg-header-tagline {
		font-size: clamp(0.78rem, 0.4vw + 0.7rem, 0.95rem) !important;
	}
}

/* ---------- Hero + CMS slider: natural imagery, taller stage, centered nav arrows ---------- */
.home-page .home-hero {
	min-height: 0;
	margin-top: 0 !important;
	padding-top: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
}

.home-page .home-hero-carousel .owl-stage-outer {
	border: 0 !important;
	box-shadow: none !important;
}

/* Taller hero so slides feel substantial (not letterboxed) */
.home-page .home-hero-carousel-wrap {
	--home-hero-min-h: min(88vh, 1040px);
	position: relative;
	z-index: 0;
	min-height: var(--home-hero-min-h);
	overflow: hidden;
}

@media (max-width: 767.98px) {
	.home-page .home-hero-carousel-wrap {
		--home-hero-min-h: min(72vh, 820px);
	}
}

/* Let slider chrome (.owl-nav) size to the wrap, not a short inner box (Porto theme uses top:50% + transform on .owl-nav) */
.home-page .home-hero-carousel.owl-carousel {
	position: static !important;
	z-index: auto;
	min-height: var(--home-hero-min-h, min(88vh, 1040px));
}

.home-page .home-hero-carousel .owl-stage-outer,
.home-page .home-hero-carousel .owl-stage,
.home-page .home-hero-carousel .owl-item {
	min-height: var(--home-hero-min-h, min(88vh, 1040px));
}

.home-page .home-hero-slide {
	min-height: var(--home-hero-min-h, min(88vh, 1040px));
}

/*
 * Mobile (≤991px): keep copy toward the top — unchanged behaviour from prior layout.
 * Desktop (≥992px): vertically centre the hero copy block; copy aligns left (not centred in the slide).
 */
@media (max-width: 991.98px) {
	.home-page .home-hero-slide.d-flex.align-items-center {
		align-items: flex-start !important;
	}

	.home-page .home-hero-slide > .container.home-hero-copy-shell {
		padding-top: 0.45rem !important;
		padding-bottom: 1.25rem !important;
	}

	.home-page .home-hero-slide .row.mb-2,
	.home-page .home-hero-slide .row.mb-md-4 {
		margin-bottom: 0.35rem !important;
	}
}

@media (min-width: 992px) {
	.home-page .home-hero-slide.d-flex.align-items-center {
		align-items: center !important;
		justify-content: flex-start !important;
	}

	.home-page .home-hero-slide > .container.home-hero-copy-shell {
		padding-top: clamp(1rem, 2vw, 2rem) !important;
		padding-bottom: clamp(1.5rem, 3vw, 2.75rem) !important;
	}
}

.home-page .home-hero-slide > .container.home-hero-copy-shell {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* Background photos: no filter, blend, or motion — photo as captured */
.home-page .home-hero-slide-bg {
	z-index: 0;
	transform: none !important;
	transition: none;
	will-change: auto;
	filter: none !important;
	opacity: 1 !important;
	mix-blend-mode: normal !important;
	-webkit-backface-visibility: visible;
	backface-visibility: visible;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	pointer-events: none;
}

.home-page .home-hero-copy-shell {
	position: relative;
	z-index: 2;
	pointer-events: auto;
}

/* Owl Carousel sets user-select:none on .owl-item — re-enable selection on real hero text */
.home-page .home-hero-caption-block,
.home-page .home-hero-caption-block .home-hero-kicker,
.home-page .home-hero-caption-block .home-hero-title,
.home-page .home-hero-caption-block a {
	user-select: text !important;
	-webkit-user-select: text !important;
	cursor: default;
}

.home-page .home-hero-caption-block a.home-hero-skh-link {
	cursor: pointer;
}

.home-page .home-hero-carousel .owl-item.active .home-hero-slide-bg {
	animation: none;
}

.home-page .home-hero-caption {
	max-width: 52rem;
	margin-left: 0;
	margin-right: auto;
	padding: 0 0.25rem;
}

.home-page .home-hero .z-index-2,
.home-page .home-hero [class*='z-index-2'] {
	z-index: 2;
}

/*
 * Slider arrows: Porto theme-elements sets .owl-nav { top:50%; transform: translateY(-50%) } and
 * absolute buttons — that stacks wrong with a tall hero. Fill the wrap and flex-center one control per side.
 */
.home-page .home-hero-carousel-wrap .home-hero-carousel .owl-nav {
	position: absolute;
	left: 0;
	right: 0;
	top: 0 !important;
	bottom: 0 !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	margin-top: 0 !important;
	padding: 0 clamp(0.65rem, 2.5vw, 1.75rem);
	z-index: 4;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	pointer-events: none;
	transform: none !important;
}

.home-page .home-hero-carousel-wrap .home-hero-carousel .owl-nav button.owl-prev,
.home-page .home-hero-carousel-wrap .home-hero-carousel .owl-nav button.owl-next {
	pointer-events: auto;
	position: relative !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	transform: none !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	width: 3rem !important;
	height: 3rem !important;
	min-width: 3rem;
	min-height: 3rem;
	border-radius: 50%;
	background: var(--rg-brand) !important;
	color: #fff !important;
	border: 2px solid rgba(255, 255, 255, 0.45) !important;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
	font-size: 1.5rem;
	line-height: 1;
	font-weight: 700;
	transition:
		background 0.18s ease,
		color 0.18s ease,
		transform 0.18s ease,
		box-shadow 0.18s ease;
}

.home-page .home-hero-carousel-wrap .home-hero-carousel .owl-nav button.owl-prev:hover,
.home-page .home-hero-carousel-wrap .home-hero-carousel .owl-nav button.owl-next:hover {
	background: var(--rg-brand-deep) !important;
	color: #fff !important;
	transform: scale(1.06) !important;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
}

.home-page .home-hero-carousel .owl-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 1rem;
	z-index: 3;
	margin: 0 !important;
	pointer-events: auto;
}

.home-page .home-hero-carousel .owl-dots .owl-dot span {
	background: rgba(255, 255, 255, 0.38) !important;
	width: 10px;
	height: 10px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	transition:
		width 0.25s ease,
		background 0.25s ease,
		border-radius 0.25s ease,
		opacity 0.25s ease;
}

.home-page .home-hero-carousel .owl-dots .owl-dot.active span {
	background: #fff !important;
	border-color: rgba(255, 255, 255, 0.95);
	width: 32px;
	border-radius: 999px;
	opacity: 1;
}

/* Hero copy: Poppins like header/nav — readable, not a second “display” font */
.home-page .home-hero-kicker {
	font-family: Poppins, sans-serif !important;
	font-weight: 700 !important;
	font-style: normal !important;
	font-size: clamp(1.02rem, 1.75vw + 0.58rem, 1.32rem);
	letter-spacing: 0.06em;
	line-height: 1.35;
	opacity: 1;
}

.home-page .home-hero-kicker-lead {
	color: var(--rg-brand) !important;
	-webkit-text-fill-color: var(--rg-brand);
	text-shadow:
		0 1px 2px rgba(0, 0, 0, 0.35),
		0 2px 10px rgba(0, 0, 0, 0.2);
}

.home-page .home-hero-kicker-rest {
	color: #fff !important;
	-webkit-text-fill-color: #fff;
	text-shadow:
		0 1px 2px rgba(0, 0, 0, 0.45),
		0 2px 12px rgba(0, 0, 0, 0.25);
}

.home-page .home-hero-title {
	font-family: Poppins, sans-serif !important;
	font-weight: 800 !important;
	font-size: clamp(2.05rem, 4.1vw + 0.88rem, 3.45rem);
	line-height: 1.12;
	letter-spacing: 0.02em;
	text-shadow:
		0 1px 3px rgba(0, 0, 0, 0.45),
		0 4px 20px rgba(0, 0, 0, 0.28);
}

.home-page .home-hero-apply-wrap {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.home-page .home-hero-apply-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.85rem;
	padding: 0.7rem 1.5rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.65) !important;
	background: linear-gradient(180deg, #f49a4c 0%, #f58634 48%, #ea7428 100%) !important;
	color: #fff !important;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.home-page .home-hero-apply-btn:hover,
.home-page .home-hero-apply-btn:focus-visible {
	color: #fff !important;
	transform: translateY(-1px);
	filter: brightness(1.03);
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
	outline: none;
}

/* ---------- Section bands (rhythm & separation) ---------- */
/* Welcome — match public site: white band, bold ink title, short orange bar, slate copy, orange CTA */
.home-page .home-section--welcome {
	background: #ffffff;
}

.home-page .home-section--welcome .home-welcome {
	padding-top: clamp(0.35rem, 1vw, 0.7rem) !important;
	padding-bottom: var(--rg-home-section-gap) !important;
}

.home-page .home-welcome-title {
	font-family: Poppins, sans-serif;
	font-weight: 800 !important;
	color: var(--rg-ink) !important;
	font-size: clamp(1.12rem, 0.65vw + 0.88rem, 1.58rem);
	line-height: 1.24;
	letter-spacing: -0.02em;
	margin-top: 0.5rem;
}

.home-page .home-welcome-accent.divider.divider-small {
	margin: 0.65rem 0 1rem;
	text-align: left;
}

.home-page .home-welcome-accent.divider.divider-small hr {
	width: 3.75rem;
	height: 4px;
	border: 0;
	border-radius: 2px;
	background: var(--rg-brand) !important;
	margin: 0;
}

.home-page .home-welcome-prose {
	max-width: none;
	width: 100%;
}

.home-page .home-welcome-prose p {
	color: var(--rg-slate);
	font-size: clamp(0.96rem, 0.22vw + 0.9rem, 1.06rem);
	font-weight: 400;
	line-height: 1.78;
	text-align: justify;
	hyphens: auto;
}

.home-page .home-welcome-prose p a {
	color: var(--rg-brand);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.home-page .home-welcome-prose p a:hover,
.home-page .home-welcome-prose p a:focus-visible {
	color: var(--rg-brand-deep);
}

.home-page .home-welcome-cta.btn-primary {
	background: var(--rg-brand) !important;
	border-color: var(--rg-brand) !important;
	color: #fff !important;
	border-radius: 0.375rem;
	text-transform: uppercase;
	letter-spacing: 0.055em;
	box-shadow: 0 2px 10px rgba(229, 101, 0, 0.28);
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.home-page .home-welcome-cta.btn-primary:hover,
.home-page .home-welcome-cta.btn-primary:focus-visible {
	background: var(--rg-brand-deep) !important;
	border-color: var(--rg-brand-deep) !important;
	color: #fff !important;
	box-shadow: 0 4px 16px rgba(194, 65, 12, 0.32);
}

.home-page .home-welcome-phone {
	border-color: rgba(15, 23, 42, 0.12) !important;
}

.home-page .home-welcome-phone .feature-box-info .text-1 {
	color: var(--rg-muted) !important;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	font-size: 0.7rem !important;
}

.home-page .home-welcome-phone .icons {
	color: var(--rg-brand) !important;
}

.home-page .home-welcome-phone strong,
.home-page .home-welcome-phone strong a {
	color: var(--rg-ink) !important;
	font-weight: 700;
}

.home-page .home-welcome-phone strong a:hover,
.home-page .home-welcome-phone strong a:focus-visible {
	color: var(--rg-brand) !important;
}

.home-page .home-section--portals {
	background: #ffffff;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	position: relative;
	overflow: hidden;
}

.home-page .home-portals-container {
	position: relative;
	padding-top: var(--rg-home-section-gap-compact) !important;
	padding-bottom: var(--rg-home-section-gap-compact) !important;
}

/* Keep the portal band clean (no decorative background textures/waves). */
.home-page .home-portals-container::before,
.home-page .home-section--portals::before,
.home-page .home-section--portals::after {
	content: none !important;
	background: none !important;
}

.home-page .home-portals-container > * {
	position: relative;
	z-index: 1;
}

.home-page .home-portals-row {
	padding-top: 0.5rem;
	padding-bottom: 0.75rem;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* Fluid grid: any number of portal cards from CMS — equal columns, wraps cleanly */
.home-page .home-portals-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr));
	gap: clamp(0.9rem, 2.2vw, 1.35rem);
	align-items: stretch;
	width: 100%;
}

@media (min-width: 480px) {
	.home-page .home-portals-grid {
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.75rem), 1fr));
	}
}

@media (min-width: 1200px) {
	.home-page .home-portals-grid {
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 14.5rem), 1fr));
	}
}

.home-page .home-portal-tile {
	display: flex;
	min-width: 0;
	min-height: 100%;
}

.home-page .home-portal-tile .home-portal-card {
	flex: 1 1 auto;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding: clamp(1.2rem, 2.8vw, 1.7rem) clamp(1.05rem, 2vw, 1.4rem) clamp(1.3rem, 2.5vw, 1.58rem);
}

/* Academic & Infrastructure — minimal, borderless cards; petrol complements orange */
.home-page .home-section--infra {
	--infra-charcoal: #18181b;
	--infra-petrol: #0c4a6e;
	--infra-line: rgba(15, 23, 42, 0.06);
	background: linear-gradient(180deg, #fdfcfb 0%, #f8fafc 55%, #f1f5f9 100%);
	border-top: 1px solid var(--infra-line);
}

.home-page .home-section--infra > .container {
	padding-top: var(--rg-home-section-gap) !important;
	padding-bottom: var(--rg-home-section-gap) !important;
}

.home-page .home-section--infra h2.font-weight-bold {
	font-family: Poppins, sans-serif;
	font-weight: 800 !important;
	letter-spacing: -0.02em;
	color: var(--infra-charcoal, #18181b) !important;
	font-size: clamp(1.2rem, 0.9vw + 0.95rem, 1.65rem);
	line-height: 1.2 !important;
}

.home-page .home-section--infra .divider.divider-primary.divider-small hr {
	width: 3.5rem;
	height: 3px;
	border: 0;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--rg-brand) 0%, var(--rg-brand-soft) 42%, var(--infra-petrol) 100%) !important;
	opacity: 1;
	box-shadow: 0 2px 14px rgba(229, 101, 0, 0.22), 0 2px 12px rgba(12, 74, 110, 0.12);
	margin-left: auto;
	margin-right: auto;
}

/* No box frame: theme adds hover border on .custom-thumb-info-style-1 — neutralize in this section */
.home-page .home-section--infra .custom-thumb-info-style-1 .thumb-info-wrapper,
.home-page .home-section--infra .custom-thumb-info-style-1:hover .thumb-info-wrapper {
	border: none !important;
	box-shadow: none !important;
}

.home-page .home-section--infra .thumb-info.thumb-info-lighten .thumb-info-wrapper:after {
	display: none !important;
}

.home-page .home-section--gallery {
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	background: #fff;
	/* Space above marquee (after CTA) and below strip before testimonials */
	padding-top: var(--rg-home-section-gap) !important;
	padding-bottom: var(--rg-home-testimonial-gap) !important;
}

.home-page .home-section--placement {
	margin: 0 !important;
	padding: 0 !important;
}

.kr-placement-board {
    --kr-red:   #a90016;
    --kr-red2:  #df1728;
    --kr-navy:  #18164f;
    --kr-gold:  #ffd321;
    --kr-ink:   #161616;
    position: relative;
    overflow: hidden;
    padding: 0 0 20px;
    font-family: 'Poppins', system-ui, sans-serif;
    background:
        radial-gradient(circle at 8% 28%,  rgba(255,226,196,.8)  0 12%, transparent 24%),
        radial-gradient(circle at 85% 32%, rgba(244,210,80,.32)  0 16%, transparent 34%),
        linear-gradient(180deg, #fff 0%, #fff 52%, #fff4d9 100%);
}

/* diagonal warm stripe at bottom */
.kr-placement-board::before {
    content: "";
    position: absolute;
    inset: auto -8% 18px -8%;
    height: 170px;
    pointer-events: none;
    background: linear-gradient(10deg, rgba(232,73,31,.18), rgba(255,196,61,.2));
    transform: rotate(5deg);
}

.kr-placement-board::after { display: none; content: none; }

@media (max-width: 640px) {
    .kr-placement-board { padding-bottom: 34px; }
}

.home-page .kr-placement-board > .container,
.training-placement-page .kr-placement-board > .container {
	position: relative;
	z-index: 2;
	padding-top: 0.55rem;
	padding-bottom: 0.6rem;
}

.home-page .kr-placement-ribbon,
.training-placement-page .kr-placement-ribbon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1.35rem;
	border-radius: 0.7rem;
	background: linear-gradient(180deg, #bc001a 0%, #9b0014 100%);
	color: #fff;
	box-shadow: 0 10px 18px rgba(151, 0, 21, 0.28);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	font-weight: 900;
	line-height: 1.1;
	font-size: clamp(1.1rem, 2.8vw, 2.2rem);
	position: sticky;
	top: 0;
	z-index: 3;
}

.home-page .kr-placement-ribbon span,
.training-placement-page .kr-placement-ribbon span {
	color: #ffe11f;
	-webkit-text-stroke: 0 transparent;
}

.home-page .kr-placement-subtitle,
.training-placement-page .kr-placement-subtitle {
	color: #5f2a17;
	font-weight: 600;
}

.home-page .kr-placement-strip,
.training-placement-page .kr-placement-strip {
	position: relative;
}

.home-page .kr-placement-strip__viewport,
.training-placement-page .kr-placement-strip__viewport {
	overflow: hidden;
	width: 100%;
	touch-action: pan-x;
	cursor: grab;
	user-select: none;
}

.home-page .kr-placement-strip__viewport:active,
.training-placement-page .kr-placement-strip__viewport:active {
	cursor: grabbing;
}

.home-page .kr-placement-strip__track,
.training-placement-page .kr-placement-strip__track {
	display: flex;
	flex-wrap: nowrap;
}

.home-page .kr-placement-strip__chunk,
.training-placement-page .kr-placement-strip__chunk {
	display: flex;
	flex-wrap: nowrap;
	gap: clamp(0.65rem, 1.6vw, 1rem);
	width: max-content;
	padding: 0.2rem 0.15rem;
}

.home-page .kr-placement-slot,
.training-placement-page .kr-placement-slot {
	flex: 0 0 clamp(10.6rem, 18vw, 12.4rem);
	min-width: 0;
}

.home-page .kr-placement-strip:not(.is-marquee) .kr-placement-strip__viewport,
.training-placement-page .kr-placement-strip:not(.is-marquee) .kr-placement-strip__viewport {
	cursor: default;
}

.home-page .kr-placement-strip:not(.is-marquee) .kr-placement-strip__track,
.training-placement-page .kr-placement-strip:not(.is-marquee) .kr-placement-strip__track {
	display: block;
}

.home-page .kr-placement-strip:not(.is-marquee) .kr-placement-strip__chunk,
.training-placement-page .kr-placement-strip:not(.is-marquee) .kr-placement-strip__chunk {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: clamp(0.65rem, 1.6vw, 1rem);
	width: 100%;
}

.home-page .kr-placement-strip:not(.is-marquee) .kr-placement-slot,
.training-placement-page .kr-placement-strip:not(.is-marquee) .kr-placement-slot {
	flex: none;
}

@media (max-width: 991.98px) {
	.home-page .kr-placement-strip:not(.is-marquee) .kr-placement-strip__chunk,
	.training-placement-page .kr-placement-strip:not(.is-marquee) .kr-placement-strip__chunk {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 575.98px) {
	.home-page .kr-placement-strip:not(.is-marquee) .kr-placement-strip__chunk,
	.training-placement-page .kr-placement-strip:not(.is-marquee) .kr-placement-strip__chunk {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.home-page .kr-placement-strip.is-marquee .kr-placement-strip__viewport,
.training-placement-page .kr-placement-strip.is-marquee .kr-placement-strip__viewport {
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.home-page .kr-placement-strip.is-marquee .kr-placement-strip__viewport::-webkit-scrollbar,
.training-placement-page .kr-placement-strip.is-marquee .kr-placement-strip__viewport::-webkit-scrollbar {
	display: none;
}

.home-page .kr-placement-card,
.training-placement-page .kr-placement-card {
	background: transparent;
	border: 0;
	border-radius: 0.75rem;
	padding: 0.12rem 0.2rem 0.22rem;
	box-shadow: none;
	text-align: center;
}

.home-page .kr-placement-card__amount,
.training-placement-page .kr-placement-card__amount {
	font-weight: 900;
	font-style: italic;
	color: #1b1b62;
	font-size: clamp(1.5rem, 1.7vw + 0.9rem, 2.2rem);
	line-height: 1;
	letter-spacing: 0.01em;
}

.home-page .kr-placement-card__amount span,
.training-placement-page .kr-placement-card__amount span {
	font-size: 0.52em;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.home-page .kr-placement-card__avatar-wrap,
.training-placement-page .kr-placement-card__avatar-wrap {
	width: min(100%, 122px);
	aspect-ratio: 1 / 1;
	margin: 0.18rem auto 0.22rem;
	border-radius: 0.9rem;
	overflow: hidden;
	background: linear-gradient(180deg, #c6001f 0%, #8c0014 100%);
	box-shadow: 0 8px 20px rgba(161, 8, 25, 0.22);
}

.home-page .kr-placement-card__avatar,
.training-placement-page .kr-placement-card__avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.home-page .kr-placement-card__avatar--fallback,
.training-placement-page .kr-placement-card__avatar--fallback {
	display: grid;
	place-items: center;
	font-size: 2.4rem;
	font-weight: 900;
	color: #fff;
}

.home-page .kr-placement-card__link,
.training-placement-page .kr-placement-card__link {
	display: block;
	color: #1a1a1a;
	font-weight: 800;
	font-size: 0.84rem;
	text-decoration: none;
	line-height: 1.2;
	text-transform: uppercase;
}

.home-page a.kr-placement-card__link:hover,
.home-page a.kr-placement-card__link:focus-visible,
.training-placement-page a.kr-placement-card__link:hover,
.training-placement-page a.kr-placement-card__link:focus-visible {
	color: var(--kr-red2);
	text-decoration: none;
}

.home-page .kr-placement-card__student,
.training-placement-page .kr-placement-card__student {
	color: #8f1140;
	font-weight: 800;
	font-size: 0.77rem;
	line-height: 1.15;
	text-transform: uppercase;
	margin-top: 0.1rem;
}

.home-page .kr-placement-card__role,
.training-placement-page .kr-placement-card__role {
	color: var(--kr-ink);
	opacity: 0.8;
	font-weight: 600;
	line-height: 1.2;
	margin-top: 0.08rem;
	font-size: 0.72rem;
}

.home-page .kr-placement-card__year,
.training-placement-page .kr-placement-card__year {
	font-size: 0.68rem;
	color: #6f6f6f;
	margin-top: 0.04rem;
}

.home-page .kr-placement-cta,
.training-placement-page .kr-placement-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 0.7rem 1.4rem;
	border-radius: 999px;
	background: linear-gradient(180deg, #df1728 0%, #bd1020 100%);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	box-shadow: 0 10px 24px rgba(189, 16, 32, 0.3);
}

.home-page .home-section--placement .row.mt-4,
.training-placement-page .home-section--placement .row.mt-4 {
	margin-top: 0.55rem !important;
}

.home-page .kr-placement-cta:hover,
.home-page .kr-placement-cta:focus-visible,
.training-placement-page .kr-placement-cta:hover,
.training-placement-page .kr-placement-cta:focus-visible {
	color: #fff;
	filter: brightness(1.03);
	transform: translateY(-1px);
}

.home-page .home-gallery-tile {
	display: block;
	overflow: hidden;
}

.home-page .home-gallery-tile img {
	transition: transform 0.45s ease;
}

.home-page .home-gallery-tile:hover img {
	transform: scale(1.05);
}

/* Home photo strip — infinite horizontal marquee (two identical chunks, translate -50%) */
.home-page .home-photo-marquee {
	overflow: hidden;
	position: relative;
	width: 100%;
}

.home-page .home-photo-marquee__track {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	width: max-content;
	animation: homePhotoMarqueeX 48s linear infinite;
	will-change: transform;
}

.home-page .home-photo-marquee:hover .home-photo-marquee__track {
	animation-play-state: paused;
}

.home-page .home-photo-marquee__chunk {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	flex-shrink: 0;
	align-items: stretch;
}

.home-page .home-photo-marquee__item {
	flex: 0 0 clamp(11rem, 26vw, 18rem);
	min-width: 0;
}

.home-page .home-photo-marquee__link {
	overflow: hidden;
}

.home-page .home-photo-marquee__img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	vertical-align: middle;
}

@keyframes homePhotoMarqueeX {
	from {
		transform: translate3d(0, 0, 0);
	}

	to {
		transform: translate3d(-50%, 0, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-page .home-photo-marquee__track {
		animation: none !important;
	}
}

/* Announcement strip — same scrolling marquee & links; slimmer bar (less vertical space) */
.home-announce.section,
.home-page .home-announce.section {
	margin: 0 !important;
	padding: 0 !important;
}

.home-announce-inner,
.home-page .home-announce-inner {
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
	border-top: 3px solid var(--primary, #e56500);
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	padding: 0.4rem 0 !important;
	position: relative;
	z-index: 2;
	min-height: 2.2rem;
	display: flex;
	align-items: center;
}

.home-announce-track,
.home-page .home-announce-track {
	font-size: 0.875rem !important;
	line-height: 1.4 !important;
	letter-spacing: 0.01em;
	padding: 0.2rem 0 !important;
	white-space: nowrap;
	display: inline-block;
	vertical-align: middle;
}

.home-announce-link,
.home-page .home-announce-link {
	color: #0f172a;
	text-decoration: none;
	font-weight: 600;
	padding: 0.08rem 0.28rem;
	border-radius: 0.2rem;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.home-announce-link:hover,
.home-announce-link:focus-visible,
.home-page .home-announce-link:hover,
.home-page .home-announce-link:focus-visible {
	color: var(--primary, #e56500);
	background-color: rgba(229, 101, 0, 0.08);
}

.home-announce-sep,
.home-page .home-announce-sep {
	color: #94a3b8;
	margin: 0 0.35rem;
	font-weight: 400;
}

.home-announce .marquee,
.home-page .home-announce .marquee {
	display: block;
	width: 100%;
	overflow: hidden;
	line-height: 1.4 !important;
}

/* Dynamic CMS fallback pages: keep announcement strip fully visible under sticky header. */
.cms-dynamic-page .home-announce.section,
.cms-dynamic-page .home-announce-inner {
	position: relative;
	z-index: 3;
}

.cms-dynamic-page .main {
	padding-top: 0.35rem;
}

.cms-dynamic-page .main > .section.section-height-1 {
	margin-top: 0 !important;
}

@media (max-width: 767.98px) {
	.home-announce-inner,
	.home-page .home-announce-inner {
		padding: 0.5rem 0 !important;
		min-height: 2.25rem;
	}

	.home-announce-track,
	.home-page .home-announce-track {
		font-size: 0.82rem !important;
		line-height: 1.5 !important;
		padding: 0.12rem 0 !important;
		display: inline-block;
	}

	.home-announce-link,
	.home-page .home-announce-link {
		padding: 0.1rem 0.24rem;
	}
}

/* Portal tiles — CMS-driven count; grid above handles layout */
.home-page .home-portal-card {
	position: relative;
	background:
		linear-gradient(#ffffff, #ffffff) padding-box,
		linear-gradient(115deg, #0f172a 0%, #1e3a5f 36%, var(--rg-brand-deep) 72%, var(--rg-brand) 100%) border-box;
	border: 1px solid transparent;
	border-top-width: 3px;
	border-radius: 0.9rem !important;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.95) inset,
		0 8px 20px rgba(15, 23, 42, 0.05);
	transition:
		box-shadow 0.24s ease,
		border-color 0.24s ease,
		transform 0.24s ease,
		border-top-color 0.24s ease;
}

.home-page .home-portal-card:hover {
	background:
		linear-gradient(#ffffff, #ffffff) padding-box,
		linear-gradient(115deg, #0f172a 0%, #1e3a5f 30%, var(--rg-brand-deep) 66%, var(--rg-brand) 100%) border-box;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.98) inset,
		0 12px 24px rgba(15, 23, 42, 0.08),
		0 4px 12px rgba(229, 101, 0, 0.07);
	transform: translateY(-1.5px);
}

.home-page .home-portal-icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: clamp(4.25rem, 22vw, 5.75rem);
	height: clamp(4.25rem, 22vw, 5.75rem);
	margin-bottom: 0.95rem;
	border-radius: 1.05rem;
	background: linear-gradient(155deg, #ffffff 0%, rgba(255, 249, 243, 0.95) 100%);
	border: 1px solid rgba(229, 101, 0, 0.09);
	box-shadow: 0 4px 12px rgba(229, 101, 0, 0.05);
}

.home-page .home-portal-icon {
	display: block;
	width: clamp(3.1rem, 16vw, 4.25rem);
	height: clamp(3.1rem, 16vw, 4.25rem);
	object-fit: contain;
	vertical-align: middle;
}

.home-page .home-portal-card .home-portal-icon[src*="upload"],
.home-page .home-portal-card .home-portal-icon[src*="documents"] {
	object-fit: cover;
	border-radius: 0.5rem;
}


.home-page .home-portal-heading {
	font-family: Poppins, sans-serif;
	font-size: clamp(0.92rem, 0.33vw + 0.83rem, 1.02rem);
	line-height: 1.32;
	max-width: 100%;
}

.home-page .home-portal-title {
	color: var(--rg-brand) !important;
	text-decoration: none;
	font-weight: 700 !important;
	letter-spacing: 0.01em;
	text-transform: none;
	display: inline-block;
	transition:
		color 0.18s ease,
		text-decoration-color 0.18s ease;
}

.home-page .home-portal-title:hover,
.home-page .home-portal-title:focus-visible {
	color: var(--rg-brand-deep) !important;
	text-decoration: none;
	outline: none;
}

.home-page .home-portal-title:focus-visible {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(229, 101, 0, 0.45);
	border-radius: 0.2rem;
}

.home-page .home-infra-tile-link {
	cursor: pointer;
	color: inherit;
	border-radius: 0.875rem;
	padding: 0.35rem 0.25rem 0.5rem;
	transition: color 0.2s ease;
}

.home-page .home-infra-tile-link:focus-visible {
	outline: 2px solid var(--infra-petrol, #0c4a6e);
	outline-offset: 3px;
}

.home-page .home-infra-card {
	position: relative;
	background: #fff;
	border: none !important;
	border-radius: 1rem;
	box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);
	padding: 0.6rem 0.6rem 0.95rem;
	transition:
		transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.28s ease;
}

.home-page .home-infra-tile-link:hover .home-infra-card,
.home-page .home-infra-tile-link:focus-visible .home-infra-card {
	transform: translateY(-4px);
	box-shadow:
		0 20px 50px rgba(12, 74, 110, 0.08),
		0 12px 28px rgba(229, 101, 0, 0.07);
}

.home-page .home-infra-card__img {
	border-radius: 0.75rem;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #f1f5f9;
	box-shadow: none;
}

.home-page .home-section--infra .custom-thumb-info-style-1 .thumb-info-wrapper {
	border: 0 !important;
	border-radius: 0.625rem !important;
	transition: box-shadow 0.25s ease;
}

.home-page .home-infra-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.home-page .home-infra-tile-link:hover .home-infra-card__img img,
.home-page .home-infra-tile-link:focus-visible .home-infra-card__img img {
	transform: scale(1.03);
}

.home-page .home-infra-tile-title {
	font-family: Poppins, sans-serif;
	font-weight: 600 !important;
	letter-spacing: 0.01em;
	color: var(--infra-petrol, #0c4a6e) !important;
	transition: color 0.22s ease;
}

.home-page .home-infra-tile-link:hover .home-infra-tile-title,
.home-page .home-infra-tile-link:focus-visible .home-infra-tile-title {
	color: var(--rg-brand) !important;
}

@media (prefers-reduced-motion: reduce) {
	.home-page .home-infra-card,
	.home-page .home-infra-card__img img {
		transition: none !important;
	}

	.home-page .home-infra-tile-link:hover .home-infra-card,
	.home-page .home-infra-tile-link:focus-visible .home-infra-card,
	.home-page .home-infra-tile-link:hover .home-infra-card__img img,
	.home-page .home-infra-tile-link:focus-visible .home-infra-card__img img {
		transform: none;
	}
}

/* CTA band */
.home-page .home-section--cta {
	margin: 0 !important;
	padding-top: var(--rg-home-section-gap-compact) !important;
	padding-bottom: var(--rg-home-section-gap-compact) !important;
	min-height: 0 !important;
}

.home-page .home-section--cta .row {
	margin-bottom: 0 !important;
}

.home-page .home-section--cta .col-lg-6.col-xl-7 {
	margin-bottom: var(--rg-home-content-gap) !important;
}

@media (min-width: 992px) {
	.home-page .home-section--cta .col-lg-6.col-xl-7 {
		margin-bottom: 0 !important;
	}
}

.home-page .home-cta h2,
.home-page .home-cta h3,
.home-page .home-cta p,
.home-page .home-cta a {
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

/* Utility-class normalization: keep visual style, unify rhythm scale */
.home-page .home-section--infra > .container > .row.row-gutter-sm.mb-5 {
	margin-bottom: var(--rg-home-content-gap-lg) !important;
}

.home-page .home-section--recruiters .row.justify-content-center.text-center.mb-4 {
	margin-bottom: var(--rg-home-content-gap) !important;
}

.home-page .home-section--testimonials .home-testimonial-slider__nav {
	margin-top: var(--rg-home-content-gap) !important;
	padding-top: 0 !important;
}

/* ---------- Testimonials — full-bleed photo + blue gradient overlay + white type (reference-style hero) ---------- */
.home-page .home-section--testimonials {
	overflow: hidden;
	margin-top: 0 !important;
	margin-bottom: var(--rg-home-testimonial-gap) !important;
	border-top: 1px solid rgba(15, 23, 42, 0.2);
	background: #0c1929;
}

.home-page .home-testimonials-hero {
	position: relative;
	min-height: clamp(20rem, 52vw, 34rem);
	background: #0c1929;
}

/* Photo fills section; slightly desaturated like professional reference */
.home-page .home-testimonials-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	opacity: 1;
	filter: saturate(0.62) contrast(1.06) brightness(0.98);
	pointer-events: none;
}

/* Navy → teal/cyan: strong enough for white text everywhere */
.home-page .home-testimonials-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		118deg,
		rgba(12, 30, 62, 0.94) 0%,
		rgba(30, 58, 95, 0.9) 38%,
		rgba(8, 100, 120, 0.82) 72%,
		rgba(6, 130, 140, 0.76) 100%
	);
}

.home-page .home-testimonials-hero__content {
	position: relative;
	z-index: 2;
}

.home-page .home-testimonials-hero > .home-testimonials-hero__content {
	padding-top: var(--rg-home-section-gap) !important;
	padding-bottom: var(--rg-home-section-gap) !important;
}

.home-page .home-testimonials-hero__kicker {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	color: rgba(255, 255, 255, 0.88);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.home-page .home-testimonials-hero__title {
	color: #fff;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.home-page .home-testimonials-hero__rule {
	width: 3.25rem;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--rg-brand), var(--rg-brand-soft));
	opacity: 1;
	box-shadow: 0 2px 14px rgba(229, 101, 0, 0.45);
}

.home-page .home-section-kicker {
	letter-spacing: 0.14em;
}

.home-page .home-testimonial-slider {
	min-height: 0;
}

.home-page .home-testimonial-film {
	max-width: 42rem;
}

.home-page .home-testimonial-film__avatar {
	width: 5.5rem;
	height: 5.5rem;
	object-fit: cover;
	border: 3px solid rgba(255, 255, 255, 0.95);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.home-page .home-testimonial-film__quote {
	border: 0;
	padding: 0;
	color: #ffffff !important;
	font-size: clamp(1.06rem, 0.55vw + 0.94rem, 1.22rem);
	line-height: 1.72;
	font-weight: 600;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
}

.home-page .home-testimonial-film__quote p {
	white-space: pre-wrap;
	color: #ffffff !important;
}

.home-page .home-testimonial-film__quote p::before,
.home-page .home-testimonial-film__quote p::after {
	color: rgba(255, 255, 255, 0.75);
}

.home-page .home-testimonial-film__quote p::before {
	content: '\201C';
}

.home-page .home-testimonial-film__quote p::after {
	content: '\201D';
}

.home-page .home-testimonial-film__star {
	font-size: 0.9rem;
	margin: 0 0.1rem;
}

.home-page .home-testimonial-film__star--on {
	color: #fbbf24;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.home-page .home-testimonial-film__star--off {
	color: rgba(255, 255, 255, 0.32);
}

.home-page .home-testimonial-film__name {
	font-style: normal;
	color: #fff;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.home-page .home-testimonial-slider__btn {
	width: 2.75rem;
	height: 2.75rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 0.2rem;
	border: 1px solid rgba(255, 255, 255, 0.85);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	padding: 0;
	cursor: pointer;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.home-page .home-testimonial-slider__btn:hover,
.home-page .home-testimonial-slider__btn:focus-visible {
	background: rgba(255, 255, 255, 0.18);
	border-color: #fff;
	color: #fff;
	outline: none;
}

@media (prefers-reduced-motion: reduce) {
	.home-page .home-testimonial-slider__btn {
		transition: none;
	}

	.home-page .home-testimonials-hero__bg {
		filter: none;
	}
}

/* ---------- Recruiters / partners ---------- */
.home-page .home-section--recruiters {
	margin-bottom: var(--rg-home-section-gap) !important;
}

.home-page .home-recruiters-bg {
	/* Match admin sidebar orange gradient */
	position: relative;
	isolation: isolate;
	padding-top: var(--rg-home-section-gap-compact) !important;
	padding-bottom: var(--rg-home-section-gap-compact) !important;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.04) 44%, rgba(255, 255, 255, 0) 72%),
		url('https://lh3.googleusercontent.com/aida-public/AB6AXuAZ9eCxqdCB2Kx78pvhIUVHKkqJLbrqu-r3fgG1DLyztFO8U7NLwi9Rr50x-PMEycSPPYHo2qn4ZfuF1FzbfOWaeilY75v5I4KwE_wgFep76JYEapdET0G6cVJ-Pc-fkmFEeaD0mMrFLTaOIJmGW6r9UVLUBUUK7klJfPZH7BECKZkFsjr6UQTh2mHBq6vF8Dy72TZpWOA9mGaNzKosO4yI06J6flGE0WBa3otn1kh82OO6qCLDDPnlQn8K7K9VG2gB3omGPYkM2O2a'),
		linear-gradient(180deg, #f49a4c 0%, #f58634 48%, #ea7428 100%);
	background-size:
		cover,
		cover,
		cover;
	background-position:
		center,
		center,
		center;
	background-repeat:
		no-repeat,
		no-repeat,
		no-repeat;
	background-blend-mode:
		soft-light,
		soft-light,
		normal;
	border-top: 1px solid rgba(217, 93, 37, 0.45);
	border-bottom: 1px solid rgba(141, 58, 14, 0.3);
}

.home-page .home-recruiters-bg::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.18) 100%);
	pointer-events: none;
}

.home-page .home-recruiters-bg .container {
	position: relative;
	z-index: 1;
}

.home-page .home-section--recruiters h2,
.home-page .home-section--recruiters p {
	color: #fff !important;
	text-shadow: 0 2px 10px rgba(94, 40, 5, 0.35);
}

.home-page .home-recruiter-marquee {
	overflow: hidden;
	width: 100%;
}

.home-page .home-recruiter-marquee__track {
	display: flex;
	width: max-content;
	animation: home-recruiter-marquee-scroll 30s linear infinite;
	will-change: transform;
}

.home-page .home-recruiter-marquee:hover .home-recruiter-marquee__track {
	animation-play-state: paused;
}

.home-page .home-recruiter-marquee__chunk {
	display: flex;
	align-items: center;
	gap: clamp(0.75rem, 1.8vw, 1.6rem);
	padding: 0.25rem 0.2rem;
}

.home-page .home-recruiter-marquee__item {
	flex: 0 0 auto;
}

.home-page .home-recruiter-cell {
	display: inline-flex;
}

.home-page .home-recruiter-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 4.75rem;
	min-width: clamp(8.6rem, 16vw, 10.8rem);
	padding: 0.45rem 0.8rem;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 0.45rem;
	box-shadow: 0 8px 22px rgba(121, 50, 8, 0.2);
	color: #7a3410;
	transition:
		transform 0.2s ease,
		opacity 0.2s ease,
		box-shadow 0.2s ease;
}

.home-page a.home-recruiter-pill:hover,
.home-page a.home-recruiter-pill:focus {
	transform: translateY(-2px);
	opacity: 1;
	box-shadow: 0 10px 26px rgba(121, 50, 8, 0.26);
	color: #7a3410;
}

.home-page .home-recruiter-name {
	font-weight: 700;
	font-size: 0.86rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff4e8;
	text-shadow: 0 1px 2px rgba(94, 40, 5, 0.35);
	text-align: center;
	line-height: 1.3;
}

.home-page .home-recruiter-logo {
	max-height: 54px;
	width: auto;
	max-width: 132px;
	object-fit: contain;
	filter: none;
}

@keyframes home-recruiter-marquee-scroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-page .home-recruiter-marquee__track {
		animation: none;
	}
}

/* ---------- FAQ + Vision column (two-column FAQ + media; Bootstrap accordion) ---------- */
.home-page .home-section--faq-vision {
	background: #ffffff;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Training & Placement page */
.tp-team-card {
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.tp-team-card__media {
	background: #f8fafc;
}

.tp-team-card__img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: contain;
	object-position: center top;
	display: block;
	background: #f8fafc;
}

.tp-team-card__img--placeholder {
	background: linear-gradient(180deg, #f58634 0%, #ea7428 100%);
}

.tp-team-card__body {
	padding: 0.95rem 1rem 1rem;
}

.tp-team-card__name {
	font-size: 1.02rem;
	line-height: 1.3;
}

.tp-team-card__list li {
	display: flex;
	gap: 0.45rem;
	align-items: flex-start;
	font-size: 0.9rem;
	line-height: 1.5;
	color: #334155;
}

.tp-team-card__list li + li {
	margin-top: 0.32rem;
}

.tp-team-card__list i {
	margin-top: 0.22rem;
	color: #f58634;
	font-size: 0.76rem;
	flex: 0 0 auto;
}

.tp-about {
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 0.75rem;
	padding: 1rem 1.1rem;
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.tp-about__content p {
	margin-bottom: 0;
	font-size: 0.98rem;
	line-height: 1.72;
	color: #334155;
}

.home-page .home-section--faq-vision > .container {
	padding-top: var(--rg-home-section-gap) !important;
	padding-bottom: var(--rg-home-section-gap) !important;
}

/* Keep spacing rhythm equivalent: Recruiters→Vision/Mission and Vision/Mission→FAQ */
.home-page .home-vm-row {
	margin-top: 0 !important;
}

.home-page .home-faq-row-after-vm {
	margin-top: var(--rg-home-section-gap) !important;
}

/* Mobile: stacked; short image uses 16:9. Desktop: image column stretches to match FAQ height. */
.home-page .home-faq-split-row {
	align-items: flex-start;
}

@media (min-width: 992px) {
	.home-page .home-faq-split-row {
		align-items: stretch;
	}

	.home-page .home-faq-split__media {
		display: flex;
		flex-direction: column;
		align-self: stretch;
		min-height: 0;
	}

	.home-page .home-faq-split__media .home-faq-media {
		flex: 1 1 auto;
		display: flex;
		flex-direction: column;
		min-height: 0;
		width: 100%;
	}

	/* Drop fixed aspect ratio so frame can grow with the accordion column */
	.home-page .home-faq-media__frame.ratio::before {
		display: none !important;
	}

	.home-page .home-faq-media__frame {
		flex: 1 1 auto;
		min-height: 17rem;
		height: 100%;
		width: 100%;
	}
}

.home-page .home-faq-media__frame {
	position: relative;
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
}

.home-page .home-faq-media__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.home-page .home-faq-media__play {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: rgba(15, 23, 42, 0.28);
	transition: background 0.25s ease;
}

.home-page .home-faq-media__play:hover,
.home-page .home-faq-media__play:focus-visible {
	background: rgba(15, 23, 42, 0.4);
}

.home-page .home-faq-media__play-btn {
	width: 4rem;
	height: 4rem;
	background: rgba(255, 255, 255, 0.95);
	color: var(--rg-brand);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-page .home-faq-media__play:hover .home-faq-media__play-btn,
.home-page .home-faq-media__play:focus-visible .home-faq-media__play-btn {
	transform: scale(1.06);
	box-shadow: 0 8px 28px rgba(229, 101, 0, 0.35);
}

/* Accordion: collapsed = light card; open = ink → orange gradient (on-brand) */
.home-page .home-faq-accordion__item {
	margin-bottom: 0.65rem;
}

.home-page .home-faq-accordion__item:last-child {
	margin-bottom: 0;
}

.home-page .home-faq-accordion__btn {
	font-family: Poppins, sans-serif;
	font-size: clamp(0.9rem, 0.35vw + 0.82rem, 1rem);
	font-weight: 600 !important;
	line-height: 1.35;
	border-radius: 0.5rem !important;
	border: 1px solid rgba(15, 23, 42, 0.14) !important;
	background: #fff !important;
	color: var(--rg-ink) !important;
	box-shadow: none !important;
	padding: 0.95rem 2.75rem 0.95rem 1rem !important;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	text-align: left;
}

.home-page .home-faq-accordion__btn.collapsed {
	color: var(--rg-ink) !important;
}

.home-page .home-faq-accordion__btn:not(.collapsed) {
	background: linear-gradient(90deg, #0f172a 0%, #1e3a5f 38%, var(--rg-brand-deep) 72%, var(--rg-brand) 100%) !important;
	border-color: transparent !important;
	color: #fff !important;
	border-radius: 0.5rem 0.5rem 0 0 !important;
}

.home-page .home-faq-accordion__btn::after {
	margin-left: auto;
	flex-shrink: 0;
	opacity: 0.75;
}

.home-page .home-faq-accordion__btn:not(.collapsed)::after {
	filter: invert(1) grayscale(1) brightness(1.2);
	opacity: 1;
}

.home-page .home-faq-accordion__num {
	flex-shrink: 0;
	font-weight: 700;
	opacity: 0.9;
	min-width: 1.5rem;
}

.home-page .home-faq-accordion__q {
	flex: 1;
	min-width: 0;
}

.home-page .home-faq-accordion__body {
	padding: 1.15rem 1.2rem 1.35rem !important;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-top: none;
	border-radius: 0 0 0.5rem 0.5rem;
	border-left: 3px solid rgba(229, 101, 0, 0.45);
}

.home-page .home-faq-answer {
	display: block;
}

.home-page .home-faq-answer--with-thumb {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 1.1rem;
	min-width: 0;
}

.home-page .home-faq-answer__thumb {
	flex: 0 0 auto;
	width: 140px;
	max-width: 36%;
	height: auto;
	border-radius: 0.4rem;
	object-fit: cover;
	aspect-ratio: 4 / 3;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.home-page .home-faq-answer__text {
	flex: 1 1 auto;
	min-width: 0;
	color: var(--rg-ink-soft);
	font-size: 0.97rem;
	line-height: 1.65;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.home-page .home-faq-answer:not(.home-faq-answer--with-thumb) .home-faq-answer__text {
	max-width: 100%;
}

@media (max-width: 575.98px) {
	.home-page .home-faq-answer--with-thumb {
		flex-direction: column;
	}

	.home-page .home-faq-answer__thumb {
		max-width: 100%;
		width: 100%;
	}
}

.home-page .home-vision-mission-card {
	position: relative;
	overflow: hidden;
	padding: clamp(1.3rem, 3vw, 1.95rem) clamp(1.2rem, 2.9vw, 1.75rem);
	border-radius: 1rem;
	background: linear-gradient(165deg, #ffffff 0%, #fffdf9 100%);
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.92) inset,
		0 14px 34px rgba(15, 23, 42, 0.09);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.home-page .home-vision-mission-card:hover {
	transform: translateY(-2px);
	border-color: rgba(15, 23, 42, 0.16);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.95) inset,
		0 18px 42px rgba(15, 23, 42, 0.13);
}

/* Unique split identity: Vision (orange) vs Mission (navy) */
.home-page .row > .col-md-6:first-child .home-vision-mission-card {
	background:
		linear-gradient(90deg, rgba(229, 101, 0, 0.92) 0 4px, transparent 4px),
		radial-gradient(140% 70% at -10% -8%, rgba(245, 134, 52, 0.14) 0%, rgba(245, 134, 52, 0) 55%),
		linear-gradient(165deg, #ffffff 0%, #fffaf4 100%);
}

.home-page .row > .col-md-6:last-child .home-vision-mission-card {
	background:
		linear-gradient(90deg, rgba(30, 58, 95, 0.9) 0 4px, transparent 4px),
		radial-gradient(140% 70% at -10% -8%, rgba(30, 58, 95, 0.12) 0%, rgba(30, 58, 95, 0) 58%),
		linear-gradient(165deg, #ffffff 0%, #f8fbff 100%);
}

.home-page .home-vision-mission-card::before {
	content: '\201C';
	position: absolute;
	top: 0.4rem;
	right: 0.75rem;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 3.2rem;
	line-height: 1;
	color: rgba(15, 23, 42, 0.08);
	pointer-events: none;
}

.home-page .home-vision-mission-card h3 {
	font-family: Poppins, sans-serif;
	font-weight: 800 !important;
	font-size: clamp(1.2rem, 0.7vw + 1rem, 1.5rem);
	letter-spacing: -0.01em;
	color: var(--rg-ink) !important;
	margin-bottom: 0.65rem !important;
}

.home-page .home-vision-mission-card p {
	color: var(--rg-slate);
	font-size: clamp(0.98rem, 0.3vw + 0.92rem, 1.06rem);
	line-height: 1.75;
	margin-bottom: 0.8rem !important;
}

.home-page .home-vision-mission-card a.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.2rem 0.1rem;
	font-weight: 700;
	color: var(--rg-brand-deep) !important;
	text-decoration: none;
}

.home-page .row > .col-md-6:last-child .home-vision-mission-card a.btn {
	color: #1e3a5f !important;
}

.home-page .home-vision-mission-card a.btn:hover,
.home-page .home-vision-mission-card a.btn:focus-visible {
	color: var(--rg-brand) !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 991.98px) {
	.home-page .home-vision-mission-card {
		margin-top: 0.25rem;
		padding: 1.25rem 1rem;
	}
}
