/* ─── Design Tokens ─────────────────────────────────────── */
:root {
	--blue: #5379cf;
	--blue-dark: #3a5ab5;
	--blue-deeper: #243980;
	--blue-light: #dde6f8;
	--blue-pale: #f0f4fc;
	--logo-t-blue: #217abe; /* sampled from the "T" in logo6-text.png */
	--off-white: #fafafa;
	--ink: #0e1520;
	--ink-mid: #3d4759;
	--ink-muted: #6b7a94;
	--border: #e2e8f4;
	--radius-sm: 6px;
	--radius-md: 12px;
	--radius-lg: 20px;
	--transition: 0.22s ease;
}

/* ─── Reset & Base ──────────────────────────────────────── */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}

body {
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	background: #fff;
	margin: 0;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
	line-height: 1.2;
	font-weight: 400;
}

a {
	text-decoration: none;
	color: var(--blue);
}
a:hover {
	color: var(--blue-dark);
}
img {
	max-width: 100%;
}

/* ─── Utilities ─────────────────────────────────────────── */
.label {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--blue);
	margin-bottom: 0.5rem;
}

.section-title {
	margin-bottom: 1rem;
	padding-left: 1rem;
	font-size: 1.28rem;
	font-weight: 700;
	color: #1b2152 !important;
}

.divider {
	width: 48px;
	height: 3px;
	background: var(--blue);
	margin: 1.25rem 0 2rem;
	border-radius: 2px;
}

.dividerSectionWithPhoto {
	margin: 1.25rem 0 0 0;
}

section {
	padding: 50px 0;
}

.section-alt {
	background: var(--off-white);
}

.section-dark {
	background: var(--ink);
}

/* ─── Preloader ─────────────────────────────────────────── */
#preloader {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: var(--ink);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.5s ease;
}
#preloader img {
	width: 240px;
	animation: pulse 1.6s infinite;
}
@keyframes pulse {
	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.5;
		transform: scale(0.92);
	}
}

/* ─── Navigation ────────────────────────────────────────── */
/* Logo */
.nav-logo {
	text-decoration: none !important;
	transition: opacity var(--transition);
	position: relative;
}

.nav-logo:hover {
	opacity: 0.88;
}

.nav-logo img {
	height: 112px;
}

#header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	padding: 0 2rem;
	transition:
		background var(--transition),
		box-shadow var(--transition),
		padding var(--transition);
}
#header.scrolled {
	background: rgba(255, 255, 255, 0.97);
	box-shadow: 0 1px 0 var(--border);
	padding: 0 2rem;
}
.nav-inner {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100px;
	gap: 1.5rem;
}

.main-nav {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: clamp(0.55rem, 1.1vw, 1.4rem);
	list-style: none;
	margin: 0;
	padding: 0;
	flex-shrink: 1;
	min-width: 0;
}
.main-nav li {
	flex-shrink: 0;
}
.main-nav a {
	font-size: 1rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.9);
	transition: color var(--transition);
	letter-spacing: 0.01em;
	white-space: nowrap;
}
#header.scrolled .main-nav a {
	color: var(--ink-mid);
}
.main-nav a:hover {
	color: #fff;
}
#header.scrolled .main-nav a:hover {
	color: var(--blue);
}

/* Logo when top of the page */
.logo-dark {
	display: none;
}

.logo-light {
	display: block;
}

/* Logo when page scrolled */
#header.scrolled .logo-light {
	display: none;
}

#header.scrolled .logo-dark {
	display: block;
}

/* Dropdown groups */
.nav-dropdown {
	position: relative;
}
.nav-dropdown-toggle {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 500;
	font-family: 'DM Sans', sans-serif;
	color: rgba(255, 255, 255, 0.9);
	letter-spacing: 0.01em;
	white-space: nowrap;
	padding: 0;
	transition: color var(--transition);
}
#header.scrolled .nav-dropdown-toggle {
	color: var(--ink-mid);
}
.nav-dropdown-toggle:hover {
	color: #fff;
}
#header.scrolled .nav-dropdown-toggle:hover {
	color: var(--blue);
}
.nav-dropdown-toggle i {
	font-size: 0.65rem;
	transition: transform var(--transition);
}
.nav-dropdown:hover .nav-dropdown-toggle i,
.nav-dropdown-toggle[aria-expanded='true'] i {
	transform: rotate(180deg);
}

.nav-dropdown-menu {
	position: absolute;
	top: calc(100% + 18px);
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: 0 16px 36px -12px rgba(14, 21, 32, 0.18);
	list-style: none;
	margin: 0;
	padding: 0.5rem;
	min-width: 210px;
	opacity: 0;
	visibility: hidden;
	transform: translateX(-50%) translateY(6px);
	transition:
		opacity var(--transition),
		transform var(--transition),
		visibility var(--transition);
	z-index: 1100;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu.open {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu li {
	margin: 0;
}
.nav-dropdown-menu a {
	display: block;
	padding: 9px 14px;
	font-size: 0.88rem;
	color: var(--ink-mid) !important;
	border-radius: var(--radius-sm);
	white-space: nowrap;
	transition:
		background var(--transition),
		color var(--transition);
}
.nav-dropdown-menu a:hover {
	background: var(--blue-pale);
	color: var(--blue) !important;
}

.nav-lang {
	font-size: 0.82rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.7);
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--radius-sm);
	padding: 4px 10px;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	transition: background var(--transition);
}
#header.scrolled .nav-lang {
	color: var(--ink-mid);
	background: var(--off-white);
	border-color: var(--border);
}
.nav-lang option {
	color: var(--ink);
	background: #fff;
}

.nav-cta {
	display: none; /* hidden — Contact Us already in nav; re-enable if nav is slimmed down */
}

/* Mobile nav toggle */
.nav-hamburger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
	color: #fff;
}
#header.scrolled .nav-hamburger {
	color: var(--ink);
}

/* ─── Hero ──────────────────────────────────────────────── */
#intro {
	min-height: auto;
	background: linear-gradient(145deg, var(--blue-deeper) 0%, var(--blue) 55%, #4a8fe8 100%);
	display: flex;
	align-items: center;
	padding: 160px 2rem 64px;
	position: relative;
	overflow: hidden;
}
#intro::before {
	content: '';
	position: absolute;
	top: -120px;
	right: -120px;
	width: 600px;
	height: 600px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.04);
}
#intro::after {
	content: '';
	position: absolute;
	bottom: -80px;
	left: 30%;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.03);
}

/* Background video — muted/looped, darkened and tinted blue so it reads
   as part of the gradient rather than a distinct video box */
.hero-video-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}
.hero-video-bg iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw; /* 16:9 */
	min-width: 177.78vh; /* 16:9, covers tall/narrow containers too */
	min-height: 100vh;
	transform: translate(-50%, -38%); /* nudged down so top of frame isn't cropped */
	filter: brightness(0.65) saturate(0.85);
	border: 0;
	pointer-events: none;
}
.hero-video-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: var(--logo-t-blue);
	opacity: 0.8;
	pointer-events: none;
}
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
	.hero-video-bg,
	.hero-video-overlay {
		display: none;
	}
}

.hero-inner {
	max-width: 1280px;
	margin: 0 auto;
	align-items: center;
	position: relative;
	z-index: 2;
	text-align: center;
}

.hero-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.65);
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	padding: 5px 14px;
	border-radius: 100px;
	margin-bottom: 1.25rem;
}
.hero-label span {
	color: rgba(255, 255, 255, 0.9);
}

.hero-title {
	font-size: clamp(2.4rem, 4.2vw, 3.4rem);
	color: #fff;
	margin-bottom: 0;
	line-height: 1.1;
}
.hero-title em {
	font-style: italic;
	color: rgba(255, 255, 255, 0.75);
}
.hero-reg {
	font-size: 0.55em;
	vertical-align: super;
	font-family: 'DM Sans', sans-serif;
	font-weight: 400;
}

.hero-sub {
	font-size: 1.6rem;
	color: rgba(255, 255, 255, 0.72);
	margin: 1.25rem 0 2rem;
	font-family: 'DM Sans', sans-serif;
}

.hero-actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	justify-content: center;
}

.btn-primary-hero {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	color: var(--blue-deeper) !important;
	font-weight: 600;
	font-size: 1rem;
	padding: 14px 28px;
	border-radius: var(--radius-sm);
	transition: all var(--transition);
}

.btn-primary-hero:hover {
	background: var(--blue-light);
	transform: translateY(-1px);
}

.btn-ghost-hero {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff !important;
	font-weight: 500;
	font-size: 1rem;
	padding: 14px 28px;
	border-radius: var(--radius-sm);
	transition: all var(--transition);
}

.btn-ghost-hero:hover {
	background: rgba(255, 255, 255, 0.2);
}

/* Stats now live beside the hero copy, not below a removed image */
.hero-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.hero-stat {
	padding: 1.75rem 1.25rem;
	background: rgba(255, 255, 255, 0.07);
	text-align: center;
}
.hero-stat-num {
	font-size: 2.4rem;
	color: #fff;
	line-height: 1;
	margin-bottom: 4px;
}
.hero-stat-label {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.6);
	font-weight: 400;
}

/* ─── Clients ticker strip ─────────────────────────────── */
#clients-strip {
	background: var(--off-white);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding: 36px 0;
	overflow: hidden;
}

.clients-strip-label {
	text-align: center;
	font-size: 1.28rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-muted);
	margin-bottom: 1.75rem;
}

.clients-track {
	display: flex;
	gap: 3.5rem;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	padding: 0 2rem;
}

.clients-track a {
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.92;
	transition:
		opacity var(--transition),
		transform var(--transition);
}

.clients-track a:hover {
	opacity: 1;
	transform: scale(1.18) translateY(-2px);
	z-index: 1;
}

.clients-track img {
	height: 48px;
	width: auto;
	max-width: 150px;
	object-fit: contain;
	transition: transform var(--transition);
}

/* ─── About ─────────────────────────────────────────────── */
#about .about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5rem;
	align-items: grid-start;
}
#about .about-img {
	border-radius: var(--radius-lg);
	overflow: hidden;
}
#about .about-img img {
	width: 100%;
	display: block;
}

.key-exp-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 0;
	border-top: 1px solid var(--border);
	color: var(--ink-mid);
	font-weight: 400;
}
.key-exp-item i {
	color: var(--blue);
	margin-top: 3px;
	flex-shrink: 0;
}

/* ─── Services ───────────────────────────────────────────── */
#services .services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 3rem;
}
.service-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 2rem;
	transition:
		border-color var(--transition),
		transform var(--transition);
}
.service-card:hover {
	border-color: var(--blue);
	transform: translateY(-3px);
}
.service-icon {
	width: 44px;
	height: 44px;
	background: var(--blue-pale);
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--blue);
	font-size: 1.2rem;
	margin-bottom: 1.25rem;
}
.service-card h4 {
	font-family: 'DM Sans', sans-serif;
	font-size: 1rem;
	font-weight: 600;
	color: var(--ink);
	margin-bottom: 0.5rem;
}
.service-card p {
	font-size: 0.88rem;
	color: var(--ink-muted);
	margin: 0;
}

/* ─── Cooperation / Models ───────────────────────────────── */
#cooperation {
	background: var(--blue-pale);
	padding: 96px 0;
}
#cooperation .label {
	color: var(--blue);
}
#cooperation .section-title {
	color: var(--ink);
}
#cooperation .divider {
	background: var(--blue);
}
#cooperation .section-subtitle {
	color: var(--ink-muted);
}

.models-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-top: 3rem;
}
.model-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 2.5rem;
	transition:
		border-color var(--transition),
		transform var(--transition),
		box-shadow var(--transition);
}

.model-card:hover {
	border-color: var(--blue-light);
	transform: translateY(-3px);
	box-shadow: 0 12px 28px -10px rgba(36, 57, 128, 0.15);
}

.model-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	font-size: 1.3rem;
	color: var(--blue);
	background: var(--blue-pale);
	border-radius: var(--radius-sm);
	margin-bottom: 1.25rem;
}

.model-card h4 {
	font-weight: 600;
	font-size: 1rem;
	color: var(--ink);
	margin-bottom: 0.75rem;
}

.model-card p {
	font-size: 1rem;
	color: var(--ink-muted);
	margin: 0;
}

/* Process steps — numbered badges with connecting line, not a button or scroller */
.steps-list {
	display: flex;
	gap: 1.5rem;
	margin-top: 3.5rem;
	position: relative;
}
.step-item {
	flex: 1;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 1.75rem 1.5rem;
	position: relative;
	transition:
		border-color var(--transition),
		transform var(--transition),
		box-shadow var(--transition);
}
.step-item:hover {
	border-color: var(--blue-light);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px -10px rgba(36, 57, 128, 0.12);
}

.step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	font-size: 0.95rem;
	color: #fff;
	background: var(--blue);
	border-radius: 50%;
	margin-bottom: 1rem;
}

.step-item h4 {
	font-weight: 600;
	font-size: 1rem;
	color: var(--ink);
	margin-bottom: 0.75rem;
}

.step-item p {
	font-size: 1rem;
	color: var(--ink-muted);
	margin: 0;
}

/* connecting line between step badges, desktop only */
@media (min-width: 769px) {
	.steps-list::before {
		content: '';
		position: absolute;
		top: 38px;
		left: calc(16.5% + 1.5rem);
		right: calc(16.5% + 1.5rem);
		height: 1px;
		background: var(--border);
		z-index: 0;
	}
}

.btn-cooperation {
	align-items: center;
	gap: 8px;
	background: var(--blue);
	color: #fff !important;
	font-weight: 600;
	font-size: 1rem;
	padding: 14px 28px;
	border-radius: var(--radius-sm);
	transition:
		background var(--transition),
		transform var(--transition);
}
.btn-cooperation:hover {
	background: var(--blue-dark);
	transform: translateY(-1px);
}

/* ─── Consultancy ────────────────────────────────────────── */
.subtitle-margin {
	margin-bottom: 1rem;
}

#consultancy-table-block {
	margin-top: 1rem;
}

/* ─── Benefits ───────────────────────────────────────────── */
#benefits .benefits-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	margin-top: 3rem;
}
.benefit-item {
	padding: 1.5rem;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: #fff;
	text-align: center;
	transition: border-color var(--transition);
}
.benefit-item:hover {
	border-color: var(--blue);
}
.benefit-item img {
	width: 44px;
	height: 44px;
	object-fit: contain;
	margin: 0 auto 0.75rem;
	display: block;
}
.benefit-item p {
	font-size: 0.88rem;
	color: var(--ink-mid);
	margin: 0;
	line-height: 1.5;
}

/* ─── Testimonials ───────────────────────────────────────── */
#testimonials {
	background: var(--logo-t-blue);
	overflow: hidden;
	padding: 5rem 0 4.5rem;
}
#testimonials .section-title {
	color: #fff !important;
}
#testimonials .divider {
	background: rgba(255, 255, 255, 0.2);
}

/* ── Every card absolutely positioned in the stage ── */
.testi-card {
	position: absolute;
	width: min(560px, 90vw);
	background: rgba(20, 35, 90, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 22px;
	padding: 2.5rem;
	display: flex;
	gap: 2rem;
	align-items: flex-start;
	opacity: 0;
	transform: translateX(0) scale(0.72) translateZ(-220px);
	transition:
		transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.45s ease,
		box-shadow 0.45s ease,
		height 0.4s ease;
	pointer-events: none;
	will-change: transform, opacity;
	box-shadow: none;
	overflow: hidden;
}

/* ── Active card — solid, fully opaque, no bleed-through ── */
.testi-card.tc-active {
	opacity: 1;
	transform: translateX(0) scale(1) translateZ(0);
	pointer-events: auto;
	box-shadow: 0 32px 64px -16px rgba(4, 10, 40, 0.65);
	z-index: 3;
	background: rgba(14, 24, 72, 0.97);
	border-color: rgba(255, 255, 255, 0.22);
}

/* ── Card to the left (prev) ── */
.testi-card.tc-prev {
	opacity: 0.45;
	transform: translateX(-55%) scale(0.78) translateZ(-100px) rotateY(14deg);
	pointer-events: auto;
	z-index: 2;
	cursor: pointer;
}

/* ── Card to the right (next) ── */
.testi-card.tc-next {
	opacity: 0.45;
	transform: translateX(55%) scale(0.78) translateZ(-100px) rotateY(-14deg);
	pointer-events: auto;
	z-index: 2;
	cursor: pointer;
}

/* ── Card further back ── */
.testi-card.tc-far-prev {
	opacity: 0.18;
	transform: translateX(-80%) scale(0.62) translateZ(-200px) rotateY(20deg);
	z-index: 1;
}
.testi-card.tc-far-next {
	opacity: 0.18;
	transform: translateX(80%) scale(0.62) translateZ(-200px) rotateY(-20deg);
	z-index: 1;
}

/* ── Card content ── */
.testi-card-avatar {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid rgba(255, 255, 255, 0.3);
	flex-shrink: 0;
}
.testi-card-body {
	flex: 1;
	min-width: 0;
}

.testi-card-quote {
	font-size: 3.5rem;
	color: rgba(255, 255, 255, 0.15);
	line-height: 0.7;
	margin-bottom: 0.4rem;
	user-select: none;
}

/* Inactive cards: clamp text to 3 lines */
.testi-card-text {
	font-style: italic;
	font-size: clamp(0.9rem, 1.6vw, 1.05rem);
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.75;
	margin: 0 0 0.5rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Active card: limited height with fade, no line-clamp */
.testi-card.tc-active .testi-card-text {
	display: block;
	overflow: hidden;
	-webkit-line-clamp: unset;
	max-height: 9.5rem; /* ~5 lines */
}

/* Fade overlay at bottom of active card text */
.testi-card-fade {
	display: none;
	height: 3rem;
	margin-top: -3rem;
	background: linear-gradient(to bottom, transparent, rgba(14, 24, 72, 0.97));
	position: relative;
	z-index: 1;
	pointer-events: none;
}
.testi-card.tc-active .testi-card-fade {
	display: block;
}

/* Read more button — only visible on active card */
.testi-read-more {
	display: none;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.82rem;
	font-weight: 600;
	padding: 6px 16px;
	border-radius: 100px;
	cursor: pointer;
	margin: 0.5rem 0 1rem;
	transition:
		background 0.2s,
		border-color 0.2s;
	position: relative;
	z-index: 2;
}
.testi-read-more:hover {
	background: rgba(255, 255, 255, 0.22);
	border-color: rgba(255, 255, 255, 0.5);
}
.testi-card.tc-active .testi-read-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.testi-card-name {
	font-weight: 700;
	font-size: 0.92rem;
	color: #fff;
	margin: 0 0 2px;
}
.testi-card-role {
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.5);
	margin: 0;
}

/* ── Full-quote modal ── */
.testi-modal-content {
	background: #0e1848;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 18px;
	overflow: hidden;
	color: #fff;
}
.testi-modal-header {
	background: rgba(255, 255, 255, 0.06);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1.25rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.testi-modal-author {
	display: flex;
	align-items: center;
	gap: 1rem;
}
.testi-modal-avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(255, 255, 255, 0.3);
	flex-shrink: 0;
}
.testi-modal-name {
	font-weight: 700;
	font-size: 1rem;
	color: #fff;
	margin: 0 0 2px;
}
.testi-modal-role {
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.5);
	margin: 0;
}
.testi-modal-body {
	padding: 2rem 2rem 2rem;
	background: #0e1848;
}
.testi-modal-quote {
	font-size: 4rem;
	color: rgba(255, 255, 255, 0.12);
	line-height: 0.7;
	margin-bottom: 0.5rem;
	user-select: none;
}
.testi-modal-body p {
	font-style: italic;
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.8;
	margin: 0 0 1rem;
}
.testi-modal-body p:last-child {
	margin-bottom: 0;
}

/* ── Stage — height driven by sizer ── */
.testi-stage {
	position: relative;
	min-height: 300px;
	height: auto;
	margin: 3rem 0;
	display: flex;
	align-items: center;
	justify-content: center;
	perspective: 1200px;
}
.testi-stage-sizer {
	visibility: hidden;
	pointer-events: none;
	position: relative;
	width: min(560px, 90vw);
	padding: 2.5rem;
	display: flex;
	gap: 2rem;
	align-items: flex-start;
	flex-shrink: 0;
}
.testi-stage-sizer .testi-card-text {
	display: block;
	max-height: 9.5rem;
	overflow: hidden;
}
.testi-stage-sizer .testi-card-fade {
	display: block;
}
.testi-stage-sizer .testi-read-more {
	display: inline-flex;
}

/* ── Dot indicators ── */
.testi-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-bottom: 1.5rem;
}
.testi-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.25);
	border: none;
	cursor: pointer;
	padding: 0;
	transition:
		background 0.3s,
		transform 0.3s;
}
.testi-dot.active {
	background: #fff;
	transform: scale(1.3);
}

/* ── Prev / Next nav ── */
.testi-nav {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
}
.testi-nav-btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.88rem;
	transition:
		background 0.2s,
		border-color 0.2s,
		transform 0.2s;
}
.testi-nav-btn:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.5);
	transform: scale(1.08);
}

@media (max-width: 768px) {
	.testi-stage {
		display: block;
		perspective: none;
		min-height: unset;
		height: auto;
		margin: 2rem 0 1.5rem;
	}
	.testi-stage-sizer {
		display: none !important;
	}
	.testi-card {
		display: none;
		position: relative;
		width: 100%;
		transform: none !important;
		opacity: 1 !important;
	}
	.testi-card.tc-active {
		display: flex;
		flex-direction: column;
		gap: 1rem;
		padding: 1.5rem;
		box-shadow: 0 8px 24px -8px rgba(4, 10, 40, 0.4);
		background: rgba(14, 24, 72, 0.97);
	}
	.testi-card-avatar {
		width: 52px;
		height: 52px;
	}
	.testi-card-text {
		font-size: 0.92rem;
	}
	.testi-card.tc-active .testi-card-text {
		max-height: none;
	}
	.testi-card.tc-active .testi-card-fade {
		display: none;
	}
}

/* ─── Team & Videos ──────────────────────────────────────── */
.mgmt-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	margin: 2rem 0;
}
.mgmt-card {
	display: flex;
	gap: 1.5rem;
	background: var(--off-white);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 2rem;
	align-items: flex-start;
}
.mgmt-card img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	border: 3px solid var(--blue-light);
}
.mgmt-name {
	font-size: 1rem;
	font-weight: 600;
	color: var(--ink);
	margin: 0 0 2px;
	font-family: 'DM Sans', sans-serif;
}
.mgmt-pos {
	font-size: 0.82rem;
	color: var(--blue);
	margin: 0 0 0.75rem;
	font-weight: 500;
}
.mgmt-card ul {
	padding-left: 1rem;
	margin: 0;
}
.mgmt-card li {
	font-size: 0.82rem;
	color: var(--ink-muted);
	margin-bottom: 2px;
}

/* Tab buttons */
.team-tabs {
	display: flex;
	gap: 0.5rem;
	margin: 2rem 0 2.5rem;
}
.team-tab {
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	padding: 0.6rem 1.5rem;
	font-family: 'DM Sans', sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--ink-muted);
	cursor: pointer;
	transition:
		color 0.2s,
		border-color 0.2s;
}
.team-tab:hover {
	color: var(--blue);
}
.team-tab.active {
	color: var(--blue);
	border-bottom-color: var(--blue);
}

/* Tab panels */
.team-tab-panel {
	display: none;
}
.team-tab-panel.active {
	display: block;
}

/* Circle member grid */
.team-circles-grid {
	display: flex;
	gap: 2.5rem;
	flex-wrap: wrap;
	justify-content: center;
	padding: 1rem 0 2rem;
}
.team-member {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 160px;
}
.team-avatar {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid var(--blue-light);
	box-shadow: 0 8px 24px -6px rgba(36, 57, 128, 0.18);
	margin-bottom: 1rem;
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}
.team-member:hover .team-avatar {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px -8px rgba(36, 57, 128, 0.25);
}
.team-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.team-member-name {
	font-weight: 700;
	font-size: 0.92rem;
	color: var(--ink);
	margin: 0 0 3px;
}
.team-member-role {
	font-size: 0.78rem;
	color: var(--blue);
	font-weight: 500;
	margin: 0;
}

.videos-label {
	margin-top: 3rem;
	margin-bottom: 1.5rem;
}
.videos-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}
.video-wrap {
	border-radius: var(--radius-md);
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--ink);
}
.video-wrap iframe {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

/* ─── History Carousel ─────────────────────────────────────── */
#history-section {
	background: var(--blue-pale);
}
#history-section .section-title {
	color: var(--ink);
}
#history-section .divider {
	background: var(--blue);
}

/* ── Timeline bar ── */
.tl-bar-wrap {
	position: relative;
	margin: 2.5rem 0 2.5rem;
	padding: 2rem 0 0.5rem;
	user-select: none;
}

/* Base grey line */
.tl-bar-line {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--border);
	transform: translateY(-50%);
	border-radius: 100px;
}

/* Blue progress line that grows to active node */
.tl-bar-progress {
	position: absolute;
	top: 50%;
	left: 0;
	height: 2px;
	width: 0%;
	background: var(--blue);
	transform: translateY(-50%);
	border-radius: 100px;
	transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
	z-index: 1;
}

/* Row of nodes */
.tl-bar-nodes {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 2;
}

/* Each node button */
.tl-bar-node {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	position: relative;
}

/* The dot on the line */
.tl-bar-node-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--border);
	display: block;
	transition:
		background 0.3s,
		border-color 0.3s,
		transform 0.3s;
	position: relative;
	z-index: 1;
}
.tl-bar-node.past .tl-bar-node-dot {
	background: var(--blue-light);
	border-color: var(--blue);
}
.tl-bar-node.active .tl-bar-node-dot {
	background: var(--blue);
	border-color: var(--blue-deeper);
	transform: scale(1.5);
	box-shadow: 0 0 0 4px rgba(83, 121, 207, 0.2);
}

/* Year label below dot */
.tl-bar-node-label {
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--ink-muted);
	transition:
		color 0.3s,
		font-weight 0.3s;
	white-space: nowrap;
	letter-spacing: 0.03em;
	margin-top: 2px;
}
.tl-bar-node.past .tl-bar-node-label {
	color: var(--blue);
}
.tl-bar-node.active .tl-bar-node-label {
	color: var(--blue-deeper);
	font-weight: 700;
	font-size: 0.75rem;
}

/* Current year reference node — not clickable, visually distinct */
.tl-bar-node-ref {
	cursor: default;
	pointer-events: none;
}
.tl-bar-node-ref .tl-bar-node-dot {
	background: transparent;
	border-color: var(--ink-muted);
	border-style: dashed;
}
.tl-bar-node-ref .tl-bar-node-label {
	color: var(--ink-muted);
	font-style: italic;
}

/* Mobile: shrink labels, allow horizontal scroll if needed */
@media (max-width: 768px) {
	.tl-bar-wrap {
		overflow-x: auto;
		padding-bottom: 1rem;
	}
	.tl-bar-nodes {
		min-width: 560px;
	}
	.tl-bar-line,
	.tl-bar-progress {
		left: 0;
		right: 0;
	}
	.tl-bar-node-label {
		font-size: 0.62rem;
	}
}

.tl-stage {
	position: relative;
	min-height: 200px;
	height: auto;
	margin: 3rem 0 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	perspective: 1200px;
}

.tl-stage-sizer {
	visibility: hidden;
	pointer-events: none;
	position: relative;
	width: min(520px, 90vw);
	padding: 2.5rem;
	flex-shrink: 0;
}

/* Each history card */
.tl-card {
	position: absolute;
	width: min(520px, 90vw);
	background: #fff;
	border: 1px solid var(--border);
	border-top: 4px solid var(--blue);
	border-radius: 18px;
	padding: 2.5rem;
	opacity: 0;
	transform: translateX(0) scale(0.72) translateZ(-220px);
	transition:
		transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.45s ease,
		box-shadow 0.45s ease;
	pointer-events: none;
	will-change: transform, opacity;
	box-shadow: none;
}
.tl-card.tl-active {
	opacity: 1;
	transform: translateX(0) scale(1) translateZ(0);
	pointer-events: auto;
	box-shadow: 0 24px 48px -12px rgba(36, 57, 128, 0.18);
	z-index: 3;
}
.tl-card.tl-prev {
	opacity: 0.4;
	transform: translateX(-55%) scale(0.78) translateZ(-100px) rotateY(14deg);
	pointer-events: auto;
	z-index: 2;
	cursor: pointer;
}
.tl-card.tl-next {
	opacity: 0.4;
	transform: translateX(55%) scale(0.78) translateZ(-100px) rotateY(-14deg);
	pointer-events: auto;
	z-index: 2;
	cursor: pointer;
}
.tl-card.tl-far-prev {
	opacity: 0.15;
	transform: translateX(-80%) scale(0.62) translateZ(-200px) rotateY(20deg);
	z-index: 1;
}
.tl-card.tl-far-next {
	opacity: 0.15;
	transform: translateX(80%) scale(0.62) translateZ(-200px) rotateY(-20deg);
	z-index: 1;
}

.tl-card-body {
	width: 100%;
}

.tl-card-date {
	font-size: 1.6rem;
	color: var(--blue);
	font-weight: 700;
	margin-bottom: 1rem;
	line-height: 1;
}

.tl-card-content p {
	font-size: 1rem;
	color: var(--ink-mid);
	line-height: 1.7;
	margin: 0 0 0.6rem;
}
.tl-card-content p:last-child {
	margin-bottom: 0;
}
.tl-card-content strong {
	color: var(--ink);
	font-weight: 600;
}

/* Dots */
.tl-dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-bottom: 1.25rem;
	flex-wrap: wrap;
}
.tl-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--blue-light);
	border: none;
	cursor: pointer;
	padding: 0;
	transition:
		background 0.3s,
		transform 0.3s;
}
.tl-dot.active {
	background: var(--blue);
	transform: scale(1.35);
}

/* Nav */
.tl-nav {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
}
.tl-nav-btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--border);
	background: #fff;
	color: var(--blue);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.88rem;
	transition:
		background 0.2s,
		border-color 0.2s,
		transform 0.2s;
	box-shadow: 0 2px 8px rgba(36, 57, 128, 0.1);
}
.tl-nav-btn:hover {
	background: var(--blue-pale);
	border-color: var(--blue);
	transform: scale(1.08);
}

@media (max-width: 768px) {
	/* History — same pattern as testimonials mobile */
	.tl-stage {
		display: block;
		perspective: none;
		min-height: unset;
		height: auto;
		margin: 2rem 0 1.5rem;
	}
	.tl-stage-sizer {
		display: none !important;
	}
	.tl-card {
		display: none;
		position: relative;
		width: 100%;
		transform: none !important;
		opacity: 1 !important;
	}
	.tl-card.tl-active {
		display: block;
		padding: 1.5rem;
		box-shadow: 0 8px 24px -8px rgba(36, 57, 128, 0.2);
	}
	.tl-card-date {
		font-size: 1.3rem;
	}
}

/* ─── Location ───────────────────────────────────────────── */
#location {
	background: #fff;
}
.location-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: start;
}
.location-img {
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.location-img img {
	width: 100%;
	display: block;
}
.location-facts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-top: 2rem;
}
.location-fact {
	background: var(--off-white);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 1.25rem;
}
.location-fact-num {
	font-size: 2rem;
	color: var(--blue);
}
.location-fact p {
	font-size: 0.82rem;
	color: var(--ink-muted);
	margin: 0;
}

/* ─── Projects / Accordion ───────────────────────────────── */
#projects-section {
	background: var(--off-white);
}
.projects-accordion {
	margin-top: 3rem;
}
.pa-sector {
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	margin-bottom: 1rem;
	overflow: hidden;
	background: #fff;
}
.pa-sector-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.25rem 1.5rem;
	cursor: pointer;
	user-select: none;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--ink);
	transition: background var(--transition);
}
.pa-sector-header:hover {
	background: var(--blue-pale);
}
.pa-sector-header i {
	color: var(--ink-muted);
	transition: transform var(--transition);
}
.pa-sector-header.open i {
	transform: rotate(180deg);
}
.pa-sector-body {
	padding: 0 1.5rem 1.5rem;
	display: none;
}
.pa-sector-body.open {
	display: block;
}
.pa-project {
	border-top: 1px solid var(--border);
	padding: 1rem 0;
}
.pa-project-title {
	font-weight: 600;
	font-size: 0.88rem;
	color: var(--ink);
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.pa-project-title i {
	color: var(--ink-muted);
	font-size: 0.75rem;
}
.pa-project-body {
	display: none;
	padding-top: 0.75rem;
}
.pa-project-body.open {
	display: block;
}
.pa-project-body p {
	font-size: 0.85rem;
	color: var(--ink-mid);
	margin: 0 0 0.5rem;
}
.pa-project-body ul {
	padding-left: 1.2rem;
	margin: 0.5rem 0;
}
.pa-project-body li {
	font-size: 0.85rem;
	color: var(--ink-muted);
}
.pa-tag {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--blue-deeper);
	background: var(--blue-pale);
	padding: 3px 10px;
	border-radius: 100px;
	margin: 0.25rem 0.25rem 0 0;
}

/* ─── News / Info ────────────────────────────────────────── */
#news-section {
	background: linear-gradient(180deg, #f5f7fc 0%, #edf0f9 100%);
	padding: 4rem 0 5rem;
}
.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.75rem;
	margin-top: 2.5rem;
}
.news-grid > div {
	padding: 0;
}

/* ── Card base ── */
#news-section .card {
	border: none;
	border-radius: 16px;
	box-shadow: 0 4px 18px rgba(28, 38, 120, 0.08);
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease;
	background: #fff;
}
#news-section .card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 36px rgba(28, 38, 120, 0.16);
}

/* ── Image area ── */
#news-section .card-title-container {
	padding: 0 !important;
	width: 100%;
	background: #eef1f9;
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
}
#news-section .card-title-container img.infoCardImgTop {
	width: 100% !important;
	/* A fixed aspect ratio (not a fixed pixel height) keeps the crop
	   proportion constant as the card grows/shrinks across the 3/2/1
	   column breakpoints. A fixed height would make the effective
	   crop window get relatively wider — and so crop more aggressively
	   — every time the card gets wider than it is on desktop. */
	aspect-ratio: 2.2 / 1 !important;
	height: auto !important;
	max-width: 100% !important;
	/* Logos/text graphics: show the whole image centered, never
	   cropped and never spilling past the thumbnail's edges. */
	object-fit: contain !important;
	object-position: center !important;
	padding: 0 !important;
	margin: 0 !important;
	display: block !important;
	flex-shrink: 0;
}

/* Real photos of people/teams — fill the frame (cover) and bias the
   crop upward so faces stay in view instead of being cut off.
   (Selectors include #news-section so specificity beats the base
   rule above — a lone #id + element selector loses a specificity
   tie against #id + 2 classes + element.) */
#news-section #interpolatedNewsEvent02 img.infoCardImgTop,
#news-section #interpolatedNewsEvent10 img.infoCardImgTop,
#news-section #interpolatedNewsEvent12 img.infoCardImgTop,
#news-section #interpolatedNewsEvent13 img.infoCardImgTop,
#news-section #interpolatedNewsEvent16 img.infoCardImgTop {
	object-fit: cover !important;
}
#news-section #interpolatedNewsEvent02 img.infoCardImgTop {
	object-position: center 25% !important; /* ICT Cluster ceremony */
}
#news-section #interpolatedNewsEvent10 img.infoCardImgTop {
	object-position: center 38% !important; /* Christmas party */
}
#news-section #interpolatedNewsEvent12 img.infoCardImgTop {
	object-position: center 20% !important; /* 2024 team overview */
}
#news-section #interpolatedNewsEvent13 img.infoCardImgTop {
	object-position: center 25% !important; /* Ambassador meeting */
}
#news-section #interpolatedNewsEvent16 img.infoCardImgTop {
	object-position: center 25% !important; /* 2025 team overview */
}

/* Text/photo banners whose own aspect ratio is much narrower than the
   card — under contain they left letterbox bars on both sides. Cover
   makes them fill the full card width instead, cropping top/bottom. */
#news-section #interpolatedNewsEvent05 img.infoCardImgTop {
	object-fit: cover !important;
	object-position: center !important;
}
#news-section #interpolatedNewsEvent14 img.infoCardImgTop {
	object-fit: cover !important;
	object-position: center 100% !important; /* crop entirely from the blank top margin, keeping the paragraph text and the speaker photo at the bottom intact */
}
/* ICT Cluster's mark is almost square (1.3:1) — forcing it to cover a
   2.2:1 box needs a ~40% crop, which is enough to cut either the icon
   or the "VARNA" line no matter where it's positioned. Contain is the
   only option that shows the whole mark; it keeps a small amount of
   background on the sides instead. */
#news-section #interpolatedNewsEvent08 img.infoCardImgTop {
	object-fit: contain !important;
	object-position: center !important;
}
/* The logo's own canvas is white, but the letterbox strips contain
   leaves on the sides showed the card's lavender background instead —
   two different tones side by side. Matching the container's own
   background to white makes the white stretch the full card width. */
#news-section #interpolatedNewsEvent08 .card-title-container {
	background: #fff !important;
}

/* ── Title ── */
/* No truncation: how many lines a title needs shifts with card width
   (3/2/1-column breakpoints), so a fixed line-clamp count that looked
   right on desktop started cutting titles off at tablet width. A
   min-height (not height) instead keeps the divider below at a
   consistent position for every title that fits within it, while a
   rare longer title still overflows downward instead of truncating. */
#news-section .newsITRM {
	font-size: 1.28rem !important;
	font-weight: 700 !important;
	color: #1b2152 !important;
	text-align: center !important;
	padding: 0.9rem 1.25rem !important;
	margin: 0 !important;
	line-height: 1.4 !important;
	min-height: 7.3rem !important; /* room for 4 lines — covers all but the rare longest title at any breakpoint */
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

/* ── Accent line ── */
#news-section .topBorder {
	border-top: 3px solid #4472ca !important;
	border-right: none !important;
	border-bottom: none !important;
	border-left: none !important;
	margin: 0.55rem 1.25rem 0 !important;
	width: calc(100% - 2.5rem) !important;
}

/* ── Card body ── */
#news-section .card-body.newsCard {
	padding: 0.6rem 1.25rem 0.5rem !important;
	flex: 1;
	display: flex;
	flex-direction: column;
}

/* ── Date ── */
#news-section .card-body small.text-muted {
	font-size: 0.72rem !important;
	font-weight: 600 !important;
	color: #8693ab !important;
	text-transform: uppercase !important;
	letter-spacing: 0.06em !important;
	display: block !important;
	margin-bottom: 0.35rem !important;
}

/* ── Preview text ── */
#news-section .normalizedParagraph {
	font-size: 0.875rem;
	color: #4a5568;
	line-height: 1.6;
	flex: 1;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	margin-bottom: 0;
}
#news-section .normalizedParagraph ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* ── Read more ── */
#news-section .justifiedParagraph {
	padding: 0.5rem 1.25rem 1.25rem !important;
	margin: 0 !important;
}
#news-section .justifiedParagraph a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.83rem !important;
	font-weight: 600 !important;
	color: #4472ca !important;
	text-decoration: none !important;
	transition:
		gap 0.18s ease,
		color 0.18s ease;
}
#news-section .justifiedParagraph a:hover {
	gap: 0.6rem;
	color: #2d59a8 !important;
	text-decoration: none !important;
}

/* ── Modal ── */
/* Bootstrap's raw .modal-content/-header/-body render as plain,
   square-cornered defaults with no relationship to the rest of the
   site — see .card above and .testi-modal-* (the testimonials
   full-quote modal) for the surface language this brings them in
   line with: soft blue-tinted shadow, generous radius, DM Serif
   Display for the heading.
   Scoped by the modal's own id (every news modal is `id="news-{id}"`,
   see newsModal.hbs), not by an #news-section ancestor: additional.js
   moves every modal to a direct child of <body> the moment
   show.bs.modal fires (a stacking-context fix, see "Modal
   stacking-context fix" there), so by the time a modal is actually
   visible it is a sibling of #news-section, not a descendant — an
   ancestor-based selector would silently never match. The id-prefix
   selector matches regardless of where in the DOM the element
   currently sits. Confirmed no collision with other modals' ids:
   product modals use e.g. "smart360News1" (products.js), job-vacancy
   modals use "fullstack"/"itse" (jobVacancies.js), the privacy modal
   uses "GDPR" (gdpr.js) — none start with "news-". Those modals reuse
   the same generic .modal-content/-header/-body classes but weren't
   part of this pass and their inner content uses a different set of
   bespoke classes (.vacancyParagraph, .boldModalText, etc.) that
   this change hasn't been checked against, so left untouched.
   Product modals (productCard.hbs) *are* included here, via the
   `.product-modal` class added alongside each `[id^='news-']`
   selector below — the product id can't get a "news-"-style prefix
   (its id is also used for hash-based deep-linking, see products.js,
   and must stay exactly the product's own `id` field), so a plain
   class hook is used instead. Product markup only reuses the
   content/header/title/body structure, not the newsParagraph/
   newsList/newsModalImageWrap block classes, so those rules further
   below stay news-only. */
.modal[id^='news-'] .modal-content,
.product-modal .modal-content {
	border: none;
	border-radius: var(--radius-lg);
	box-shadow: 0 24px 64px rgba(28, 38, 120, 0.22);
	overflow: hidden;
	background: #fff;
	font-family: 'DM Sans', sans-serif;
	color: var(--ink);
}
.modal[id^='news-'] .modal-header,
.product-modal .modal-header {
	padding: 1.75rem 2.25rem 1.5rem;
	gap: 1.25rem;
	background: var(--blue-pale);
	border-bottom: 1px solid var(--border);
}
.modal[id^='news-'] .modal-title,
.product-modal .modal-title {
	font-family: 'DM Sans', sans-serif;
	font-size: 1.6rem;
	font-weight: 400;
	color: #1b2152;
	line-height: 1.3;
	margin: 0;
}
.modal[id^='news-'] .modal-title b,
.product-modal .modal-title b {
	/* DM Serif Display ships a single weight (see the font <link> in
	   index.html) — left alone, the template's <b> wrapper triggers a
	   browser-synthesized "fake bold", which looks rough on a display
	   serif. Match the surrounding regular weight instead. */
	font-weight: 400;
}

/* Close button — the same circular icon-button treatment as
   .back-to-top, sized down for a modal header. Left unscoped
   (unlike the rest of this section): this exact class already
   labels the close button on the GDPR notice modal and one
   job-vacancy modal too (gdpr.js, jobVacancies.js), reusing the same
   bare, unstyled rule this replaces. A small circular icon button is
   low-risk to improve everywhere at once — restyling it here fixes
   it in those places for free instead of leaving it inconsistent. */
.news-dialog-close {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 50%;
	color: var(--ink-mid);
	font-size: 0.95rem;
	opacity: 1;
	cursor: pointer;
	transition:
		background var(--transition),
		color var(--transition),
		border-color var(--transition),
		transform var(--transition);
}
.news-dialog-close:hover {
	background: var(--blue);
	border-color: var(--blue);
	color: #fff;
	transform: rotate(90deg);
}

.modal[id^='news-'] .modal-body,
.product-modal .modal-body {
	padding: 2rem 2.25rem 2.25rem;
	color: var(--ink-mid);
	font-size: 1rem;
	line-height: 1.75;
}

/* ── Modal blocks (static/templates/newsModal.hbs) ── */
.modal[id^='news-'] .newsParagraph {
	margin: 0 0 1.25rem;
	color: var(--ink-mid);
}
.modal[id^='news-'] .newsParagraph:last-child {
	margin-bottom: 0;
}

.modal[id^='news-'] .newsModalImageWrap {
	display: flex;
	justify-content: center;
	margin: 1.75rem 0;
}
.modal[id^='news-'] .newsModalImageWrap img {
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: var(--radius-md);
	box-shadow: 0 6px 20px rgba(28, 38, 120, 0.1);
}

.modal[id^='news-'] .newsList {
	padding-left: 1.35rem;
	margin: 0 0 1.25rem;
	color: var(--ink-mid);
}
.modal[id^='news-'] .newsList li {
	margin-bottom: 0.5rem;
	line-height: 1.65;
}
.modal[id^='news-'] .newsList li:last-child {
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.modal[id^='news-'] .modal-header,
	.product-modal .modal-header {
		padding: 1.25rem 1.5rem 1rem;
	}
	.modal[id^='news-'] .modal-title,
	.product-modal .modal-title {
		font-size: 1.3rem;
	}
	.modal[id^='news-'] .modal-body,
	.product-modal .modal-body {
		padding: 1.5rem 1.5rem 1.75rem;
	}
}

/* ─── Partners & Memberships ─────────────────────────────── */
#partners-section {
	background: var(--off-white);
}
.partners-row {
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	margin-top: 2rem;
}
.partner-item {
	display: flex;
	align-items: center;
	padding: 1rem 1.5rem;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	transition: border-color var(--transition);
}
.partner-item:hover {
	border-color: var(--blue);
}
.partner-item img {
	height: 36px;
	width: auto;
	filter: grayscale(40%);
}

/* ─── Products ───────────────────────────────────────────── */
#products-section {
	background: #fff;
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.75rem;
	margin-top: 2.5rem;
}

.product-card {
	background: var(--off-white);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 3rem;
	text-align: center;
}

.product-card img {
	margin: 1rem 0;
}

/* ─── Jobs ───────────────────────────────────────────────── */
#jobs-section {
	background: var(--off-white);
}

.jobs-inner {
	max-width: 680px;
}

.positionIcon {
	display: flex;
}

.positionIcon .icon {
	margin-right: 1rem;
}

/* ─── Contact ────────────────────────────────────────────── */
#contact-section {
	background: var(--logo-t-blue);
}
#contact-section .label {
	color: rgba(255, 255, 255, 0.85);
}
#contact-section .section-title {
	color: #fff !important;
}
#contact-section .divider {
	background: rgba(255, 255, 255, 0.2);
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 4rem;
	align-items: start;
	margin-top: 3rem;
}
.contact-info-item {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 1.5rem;
	color: #fff;
	font-size: 1rem;
}
.contact-info-item i {
	width: 36px;
	height: 36px;
	background: rgba(255, 255, 255, 0.15);
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	flex-shrink: 0;
}

.contact-form-card {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: var(--radius-lg);
	padding: 2.5rem;
}
.contact-form-card .form-control {
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: var(--radius-sm);
	color: #fff;
	padding: 12px 16px;
	font-size: 1rem;
	transition: border-color var(--transition);
}
.contact-form-card .form-control:focus {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.3);
	box-shadow: none;
	color: #fff;
}
.contact-form-card .form-control::placeholder {
	color: rgba(255, 255, 255, 0.75);
}
.contact-form-card textarea.form-control {
	resize: none;
}

.contact-form-card .form-check-label {
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.9);
}
.contact-form-card .form-check-input {
	background: rgba(255, 255, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.5);
}

.btn-submit {
	display: inline-block;
	background: #fff;
	color: var(--logo-t-blue);
	font-weight: 600;
	font-size: 1rem;
	padding: 13px 32px;
	border-radius: var(--radius-sm);
	border: none;
	cursor: pointer;
	transition: background var(--transition);
	width: 100%;
}
.btn-submit:hover {
	background: var(--blue-pale);
}

.btn-submit:disabled {
	background: rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.75);
	cursor: not-allowed;
}

.btn-submit:disabled:hover {
	background: rgba(255, 255, 255, 0.2);
}

#contactFormMessage {
	display: none;
	align-items: center;
	gap: 10px;
	width: 100%;
	margin-bottom: 20px;
	padding: 13px 16px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 500;
	box-sizing: border-box;
}

#contactFormMessage.success {
	color: #155724;
	background: #d4edda;
	border: 1px solid #b7dfc1;
}

#contactFormMessage.error {
	color: #721c24;
	background: #f8d7da;
	border: 1px solid #edb8be;
}

.form-message-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	font-weight: 700;
	line-height: 1;
}

#contactFormMessage.success .form-message-icon {
	color: #fff;
	background: #28a745;
}

#contactFormMessage.error .form-message-icon {
	color: #fff;
	background: #dc3545;
}

/* Countries list dropdown */
.country-dropdown {
	position: relative;
}

.country-input-wrapper {
	position: relative;
}

.country-input-wrapper input {
	padding-right: 40px;
}

.country-chevron {
	position: absolute;
	top: 50%;
	right: 16px;
	width: 9px;
	height: 9px;
	border-right: 2px solid rgba(255, 255, 255, 0.7);
	border-bottom: 2px solid rgba(255, 255, 255, 0.7);
	transform: translateY(-65%) rotate(45deg);
	pointer-events: none;
	transition:
		transform 0.2s ease,
		border-color 0.2s ease;
}

.country-dropdown:hover .country-chevron {
	border-color: #fff;
}

.country-dropdown.open .country-chevron {
	transform: translateY(-35%) rotate(225deg);
}

.dropdown-content {
	display: none;
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	max-height: 250px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 6px;
	z-index: 1000;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dropdown-content.show {
	display: block;
}

.dropdown-content a {
	display: block;
	padding: 8px 12px;
	color: #333;
	text-decoration: none;
	cursor: pointer;
}

.dropdown-content a:hover {
	background: #f1f1f1;
}

.dropdown-content a.keyboard-selected {
	background: var(--blue);
	color: #fff;
}

/* ─── GDPR Modal ─────────────────────────────────────────── */
.gdpr-link {
	font-size: 0.82rem;
}

.form-check-input:checked {
	background-image: var(--bs-form-check-bg-image);
}

.btn-submit.is-loading {
	opacity: 0.7;
	cursor: wait;
}

.validate-input {
	position: relative;
}

.validate-input.alert-validate .form-control {
	border-color: #dc3545;
	box-shadow: 0 0 0 1px rgba(220, 53, 69, 0.15);
}

.validate-input.alert-validate::after {
	content: attr(validation-error);
	display: block;
	margin-top: 6px;
	color: #dc3545;
	font-size: 0.875rem;
	line-height: 1.3;
}

.alert-validate-gdpr.alert-validate::after {
	margin-top: 6px;
}

/* Lighter error red so validation stays readable on the blue contact section */
.contact-form-card .validate-input.alert-validate .form-control {
	border-color: #ffb3ba;
}
.contact-form-card .validate-input.alert-validate::after {
	color: #ffd9dd;
	font-weight: 500;
}

/* ─── Footer ─────────────────────────────────────────────── */
#footer {
	background: var(--logo-t-blue);
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	padding: 64px 0 32px;
	color: #fff;
}
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1.5fr 1.5fr;
	gap: 3rem;
	margin-bottom: 3rem;
}
.footer-brand img {
	height: 108px;
	margin-bottom: 1rem;
}
.footer-brand p {
	color: #fff;
	max-width: 260px;
	line-height: 1.7;
}
.footer-col h5 {
	font-family: 'DM Sans', sans-serif;
	font-weight: 600;
	color: #fff;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}
.footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.footer-col li {
	margin-bottom: 0.5rem;
}
.footer-col a {
	color: #fff;
	transition: color var(--transition);
}
.footer-col a:hover {
	color: #fff;
	text-decoration: underline;
}

.footer-col p {
	color: #fff;
	margin: 0 0 0.35rem;
	line-height: 1.6;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	padding-top: 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}
.footer-bottom p {
	color: #fff;
	margin: 0;
}

.linkedin-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.82rem;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: var(--radius-sm);
	padding: 6px 14px;
	transition: all var(--transition);
}
.linkedin-link:hover {
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.7);
}

/* ─── Back to top ────────────────────────────────────────── */
.back-to-top {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 40px;
	height: 40px;
	background: var(--blue);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 1rem;
	opacity: 0;
	pointer-events: none;
	transition:
		opacity var(--transition),
		transform var(--transition);
	z-index: 500;
}
.back-to-top.visible {
	opacity: 1;
	pointer-events: auto;
}
.back-to-top:hover {
	transform: translateY(-2px);
	color: #fff;
}

/* ─── Memberships ────────────────────────────────────────── */
.memberships-row {
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 2rem;
}
.membership-item {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	padding: 1.5rem 2rem;
	text-align: center;
	max-width: 280px;
}
.membership-item img {
	height: 60px;
	object-fit: contain;
	margin-bottom: 0.75rem;
}
.membership-item p {
	font-size: 0.85rem;
	color: var(--ink-muted);
	margin: 0;
}

/* ─── Mobile nav (slide-in) ──────────────────────────────── */
.mobile-nav-overlay {
	position: fixed;
	inset: 0;
	z-index: 2000;
	background: rgba(0, 0, 0, 0.6);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--transition);
}
.mobile-nav-panel {
	position: fixed;
	top: 0;
	right: 0;
	width: 280px;
	height: 100%;
	background: var(--ink);
	z-index: 2001;
	transform: translateX(100%);
	transition: transform 0.3s ease;
}
.mobile-nav-panel.open {
	transform: translateX(0);
}
.mobile-nav-overlay.open {
	opacity: 1;
	pointer-events: auto;
}
.mobile-nav-close {
	background: none;
	border: none;
	color: #fff;
	font-size: 1.2rem;
	cursor: pointer;
	float: right;
	margin-bottom: 2rem;
}
.mobile-nav-panel ul {
	list-style: none;
	padding: 0;
	margin: 0;
	clear: both;
}
.mobile-nav-panel li {
	margin-bottom: 1rem;
}
.mobile-nav-panel a {
	color: rgba(255, 255, 255, 0.8);
	font-size: 1rem;
	font-weight: 500;
}
.mobile-lang {
	margin-bottom: 2rem;
}
.mobile-lang select {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
	padding: 8px 12px;
	border-radius: var(--radius-sm);
	width: 100%;
	font-size: 1rem;
}
.mobile-lang select option {
	color: var(--ink);
	background: #fff;
}

.mobile-nav-wrapper {
	position: relative;
	overflow-y: auto;
	height: 100%;
	width: 100%;
	padding: 2rem;
}

.heading-container {
	background-image: var(--consultancy-bg-url, var(--history-bg-url, var(--services-bg-url, var(--cooperation-bg-url, var(--aboutUs-bg-url, var(--contacts-bg-url))))));
	background-size: cover;
	background-position: center 40%;
	background-repeat: no-repeat;
	height: 20rem;
	z-index: 0;
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	flex-direction: column;
	position: relative;
	margin-bottom: 2rem;
}

/*.boldModalText,
.boldModalHeader,
.jboldModalText,
.justifiedParagraph {
	font-size: 21px;
}

.boldModalText {
	font-size: 21px;
}*/

#aboutUsContainer {
	background-image: var(--aboutUs-bg-url);
	background-position: center 54%;
}

.heading-container h2 {
	position: relative;
	z-index: 1; /* Ensures text stays in front */
	margin: 0; /* Adjust spacing as needed */
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 992px) {
	#intro {
		padding: 100px 2rem 64px;
	}

	.hero-inner {
		grid-template-columns: 1fr;
	}
	.hero-stats {
		margin-top: 2rem;
	}
	#about .about-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	.services-grid {
		grid-template-columns: 1fr 1fr !important;
	}
	.benefits-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	.testi-grid {
		grid-template-columns: 1fr !important;
	}
	.mgmt-grid {
		grid-template-columns: 1fr;
	}
	.models-grid {
		grid-template-columns: 1fr;
	}
	.steps-list {
		flex-direction: column;
	}
	.contact-grid {
		grid-template-columns: 1fr;
	}
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
	.location-grid {
		grid-template-columns: 1fr;
	}
	.videos-grid {
		grid-template-columns: 1fr 1fr !important;
	}
	.news-grid {
		grid-template-columns: 1fr 1fr !important;
	}
	.products-grid {
		grid-template-columns: 1fr 1fr !important;
	}
}
/* Switch to hamburger on laptops — many nav items need wide screens */
@media (max-width: 1340px) {
	.main-nav {
		display: none !important;
	}
	.nav-hamburger {
		display: flex !important;
	}
	.nav-cta {
		display: none !important;
	}
}
@media (max-width: 768px) {
	.nav-logo img {
		height: 36px;
	}
	.nav-logo .nav-brand {
		display: none !important;
	}
	.nav-logo {
		padding: 4px 8px;
	}
	.nav-inner {
		height: 68px;
	}
	.nav-hamburger {
		display: flex !important;
		color: #fff;
	}
	#header.scrolled .nav-hamburger {
		color: var(--ink);
	}
}
@media (max-width: 600px) {
	section {
		padding: 64px 0;
	}
	.benefits-grid {
		grid-template-columns: 1fr 1fr !important;
	}
	.footer-grid {
		grid-template-columns: 1fr;
	}
	.key-exp-grid {
		grid-template-columns: 1fr;
	}
	.videos-grid {
		grid-template-columns: 1fr !important;
	}
	.news-grid {
		grid-template-columns: 1fr !important;
	}
	.products-grid {
		grid-template-columns: 1fr !important;
	}
	.hero-stats {
		grid-template-columns: 1fr 1fr;
	}
	.tl-item {
		flex: 0 0 220px;
	}
}

/* News cards get their own, earlier column-count breakpoints than the
   shared ones above (992px/600px) — placed last so they win the
   cascade over those same-specificity !important rules. Right above
   each of the shared breakpoints, .news-grid columns get too narrow
   for a comfortably short title, forcing far more lines than at any
   other width; dropping a column earlier keeps every card's title
   column wide enough. */
@media (max-width: 1230px) {
	.news-grid {
		grid-template-columns: 1fr 1fr !important;
	}
}
@media (max-width: 800px) {
	.news-grid {
		grid-template-columns: 1fr !important;
	}
}
