/* ══════════════════════════════════════════════
   BANNER BLOCK
   ══════════════════════════════════════════════ */

/* ── HERO SECTION ── */
.hero-banner {
	position: relative;
	min-height: calc(100vh - 37px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding-top: 170px;
	padding-bottom: 0;
	pointer-events: none;
}

.hero-banner .ctas {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

/* Dot canvas — sits at body level, absolutely positioned over hero+bleed.
   top/height are set by JS after measuring the hero. */
#dot-canvas {
	position: absolute;
	left: 0;
	width: 100%;
	pointer-events: auto;
	z-index: -1;
}
@media (max-width: 991.98px) {
	#dot-canvas { display: none; }
}

/* Hero content sits above canvas. pointer-events: none on the container
   lets mouse events fall through to the canvas underneath. Only actual
   interactive elements get pointer-events restored. */
.hero .container { position: relative; z-index: 2; pointer-events: none; }
.hero .container a,
.hero .container button,
.hero .container .article-card,
.hero .container .cert-item,
.hero .container .slick-slider { pointer-events: auto; }

/* Scroll indicator also needs to pass through to canvas */
.scroll-indicator { pointer-events: none; }

/* Hero text block */
.hero-content {
	display: flex; 
	flex-direction: column;
	align-items: center; 
	text-align: center;
	width: 100%;
	max-width: 855px;
	margin-inline: auto;
}

.hero-banner .hero-content .eyebrow {
	display: inline-flex; 
	align-items: center; 
	gap: 8px;
	padding: 7px 16px;
	border: 1px solid var(--clr-primary); 
	border-radius: 100px;
	letter-spacing: 0.13em;
	text-transform: uppercase; 
	color: var(--clr-primary);
	background: transparent; 
	margin-bottom: 28px;
}
.hero-banner .hero-content .eyebrow i { 
	font-size: 8px; 
}

.hero-heading {
	color: var(--clr-white);
	font-family: var(--font-main);
	line-height: 1.06; 
	letter-spacing: -0.01em;
	margin-bottom: 0;
}

.hero-sub {
	line-height: 1.68; 
	color: var(--clr-white);
	max-width: 850px;
}

/* ── ARTICLE CARDS (Bootstrap grid) ── */
.articles-row {
	margin-top: 54px;
	position: relative; 
	z-index: 2;
}
.article-card-link {
	display: block;
	height: 100%;
	text-decoration: none;
}

.article-card {
	background: rgba(255,255,255,0.04); 
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 9px; 
	padding: 20px 22px; 
	cursor: pointer;
	transition: background 0.25s, border-color 0.25s, transform 0.2s;
	position: relative; 
	overflow: hidden;
	height: 100%;
}

.articles-row .cards:not(:first-child, :last-child) .article-card{
	border-radius: 0;
}

.articles-row .cards:first-child .article-card{
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.articles-row .cards:last-child .article-card{
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.article-card::before {
	content: ''; 
	position: absolute;
	top: 0; 
	left: 0; 
	right: 0; 
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(0,200,240,0.3), transparent);
	opacity: 0; 
	transition: opacity 0.3s;
}
.article-card:hover { 
	background: rgba(0,200,240,0.05); 
	border-color: rgba(0,200,240,0.18); 
}

.article-card:hover::before { opacity: 1; }

.article-card .eyebrow {
	font-size: 16px;
	letter-spacing: 0.96px;
	margin-bottom: 10px;
}
.card-text { font-size: 12px; line-height: 1.6; color: var(--clr-white); font-weight: bold; }

/* ── LOGOS SECTION ── */
/* margin-top = 22px (content pb from Figma) + 38px (outer flex gap from Figma) = 60px */
.hero-banner .logos-section {
	position: relative;
	z-index: 2;
	margin-top: 60px;
	width: 100%;
	flex: 0 0 100%;
}

/* Static flex row — matches Figma: all logos visible, vertically centred */
.hero-banner .logo-carousel {
	display: flex;
	align-items: center;
	margin: 0 auto;
}

/* Static mode (Keen Slider not active): center the logo group with Figma spacing */
.hero-banner .logo-carousel:not(.keen-slider) {
	justify-content: center;
	gap: 68.4px;
	overflow: visible;
}

.hero-banner .cert-item {
	background-color: var(--clr-white);
	border-radius: 7px;
	width: 143px !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	text-align: center;
	flex: 0 0 auto;
}

.hero-banner .cert-item .itm {
	display: flex !important;
	align-items: center;
	justify-content: center;
	height: 85px;
	padding: 10px;
	width: 100%;
}

.hero-banner .cert-item .itm:hover img {
	transform: scale(1.02);
}

.hero-banner .cert-item img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	transition: transform 0.3s ease;
}

/* ── SCROLL INDICATOR ── */
.scroll-indicator {
	position: relative; 
	z-index: 2;
	display: flex; 
	flex-direction: column;
	align-items: center; 
	gap: 8px;
	margin-top: 0px;
	font-family: var(--font-body);
	font-size: 12px;
	letter-spacing: 0.96px;
	text-transform: uppercase;
	color: var(--clr-white);
	background: transparent;
	font-weight: bold;
}
.scroll-indicator::after {
	content: '';
	display: block;
	width: 1px; height: 30px;
	background: linear-gradient(to bottom, rgba(0,200,240,0.6), transparent);
	animation: scroll-drop 1.9s ease-in-out infinite;
}
@keyframes scroll-drop {
	0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
	50%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
	100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ── RESPONSIVE ── */
@media (max-width: 767.98px) {
	.articles-row .col-12 + .col-12 { margin-top: 8px; }
	.articles-row .cards:is(:first-child, :last-child) .article-card{ border-radius: 9px; }
	.articles-row .cards:not(:first-child, :last-child) .article-card{ border-radius: 9px; }
}

@media (max-width: 575.98px) {
	.hero-banner { padding-bottom: 60px; }
	.hero-heading { font-size: clamp(36px, 10vw, 52px); }
	.hero-banner .hero-content .eyebrow { font-size: 10px; padding: 5px 12px; }
	.articles-row { margin-top: 36px; }
	.article-card { padding: 16px 16px; }
	.hero-banner .logo-carousel .cert-item { width: 100px !important; }
	.hero-banner .logo-carousel .cert-item a { height: 50px; padding: 8px; }
}

@media (min-width: 576px){
	.scroll-indicator { margin-top: 80px; }
}