/* ==========================================================================
   Home page -- tech landing look
   Loaded only on the front page (see functions.php). Everything is scoped
   to body.home so no other page is affected.
   ========================================================================== */

body.home {
	--bct-glow-orange: rgba(251, 111, 17, 0.45);
	--bct-glow-navy: rgba(30, 88, 166, 0.45);
	--bct-tech-line: rgba(17, 46, 136, 0.07);
}

/* ---- Circuit-grid backdrop used by the light sections ------------------ */
body.home .bct-section-what-we-do,
body.home .elementor-section.bct-section-what-we-do {
	position: relative;
	isolation: isolate;
	background-color: #fbfcff;
	background-image:
		radial-gradient(circle at 12% 18%, rgba(30, 88, 166, 0.09), transparent 42%),
		radial-gradient(circle at 88% 82%, rgba(251, 111, 17, 0.08), transparent 40%),
		linear-gradient(var(--bct-tech-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--bct-tech-line) 1px, transparent 1px);
	background-size: auto, auto, 56px 56px, 56px 56px;
}

/* ---- Eyebrow: glowing tech pill with a pulsing dot --------------------- */
body.home .bct-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 16px 7px 12px;
	border-radius: 999px;
	background: rgba(17, 46, 136, 0.06);
	border: 1px solid rgba(17, 46, 136, 0.14);
	color: var(--bct-navy);
	font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
	font-size: 12px;
	letter-spacing: 2px;
	margin-bottom: 18px;
}
body.home .bct-eyebrow::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--bct-orange);
	box-shadow: 0 0 0 0 var(--bct-glow-orange);
	animation: bct-home-pulse 2.2s ease-out infinite;
}
@keyframes bct-home-pulse {
	0%   { box-shadow: 0 0 0 0 var(--bct-glow-orange); }
	70%  { box-shadow: 0 0 0 10px rgba(251, 111, 17, 0); }
	100% { box-shadow: 0 0 0 0 rgba(251, 111, 17, 0); }
}

/* ---- Section headings: tighter, more confident --------------------------- */
body.home h2.elementor-heading-title {
	letter-spacing: -0.02em;
	line-height: 1.15;
}

/* ---- Service / product cards: glass panel with a gradient edge --------- */
body.home .bct-card {
	position: relative;
	background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
	border: 1px solid rgba(17, 46, 136, 0.08);
	border-radius: 20px;
	box-shadow: 0 1px 2px rgba(17, 46, 136, 0.04), 0 12px 32px -18px rgba(17, 46, 136, 0.25);
	overflow: hidden;
}
/* Accent line that draws across the top on hover. */
body.home .bct-card::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--bct-orange), var(--bct-navy-light), var(--bct-navy));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s var(--bct-ease);
}
body.home .bct-card:hover::before { transform: scaleX(1); }
body.home .bct-card:hover {
	box-shadow: 0 1px 2px rgba(17, 46, 136, 0.06), 0 26px 50px -22px rgba(17, 46, 136, 0.42), 0 0 0 1px rgba(30, 88, 166, 0.12);
}
body.home .bct-card__title {
	font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
	letter-spacing: -0.01em;
}

/* ---- Icons: gradient tiles with a halo, not flat peach squares --------- */
body.home .bct-card__icon,
body.home .bct-service-grid--colorful .bct-card__icon {
	position: relative;
	width: 64px;
	height: 64px;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--bct-navy) 0%, var(--bct-navy-light) 55%, var(--bct-orange) 130%);
	color: #fff;
	box-shadow: 0 10px 24px -8px rgba(17, 46, 136, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
	font-size: 24px;
}
/* Outer halo ring that appears on hover. */
body.home .bct-card__icon::after {
	content: '';
	position: absolute;
	inset: -6px;
	border-radius: 24px;
	border: 1px dashed rgba(30, 88, 166, 0.35);
	opacity: 0;
	transform: scale(0.9);
	transition: opacity 0.4s ease, transform 0.5s var(--bct-ease);
}
body.home .bct-card:hover .bct-card__icon::after {
	opacity: 1;
	transform: scale(1);
	animation: bct-home-spin 14s linear infinite;
}
@keyframes bct-home-spin {
	to { transform: rotate(360deg) scale(1); }
}
body.home .bct-card__icon svg,
body.home .bct-card__icon i {
	color: #fff;
	fill: currentColor;
	stroke: currentColor;
	width: 28px;
	height: 28px;
	font-size: 26px;
	line-height: 1;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}
body.home .bct-card:hover .bct-card__icon {
	transform: translateY(-2px) scale(1.04);
	box-shadow: 0 16px 30px -10px var(--bct-glow-navy), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

body.home .bct-card__link {
	font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
	letter-spacing: 0.01em;
}

/* ---- About teaser: framed media with corner brackets -------------------- */
body.home .bct-showcase__media {
	position: relative;
	padding: 14px;
	border-radius: 24px;
	background: linear-gradient(135deg, rgba(17, 46, 136, 0.08), rgba(251, 111, 17, 0.08));
}
body.home .bct-showcase__media img {
	position: relative;
	border-radius: 16px;
	box-shadow: 0 30px 60px -28px rgba(12, 31, 96, 0.55);
}
body.home .bct-showcase__media::before,
body.home .bct-showcase__media::after {
	content: '';
	position: absolute;
	width: 46px;
	height: 46px;
	border: 2px solid var(--bct-orange);
	pointer-events: none;
}
body.home .bct-showcase__media::before {
	top: 0;
	left: 0;
	border-right: 0;
	border-bottom: 0;
	border-radius: 14px 0 0 0;
}
body.home .bct-showcase__media::after {
	bottom: 0;
	right: 0;
	border-left: 0;
	border-top: 0;
	border-radius: 0 0 14px 0;
}
body.home .bct-showcase__title {
	font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
	letter-spacing: -0.02em;
}
/* Feature checks become small gradient discs. */
body.home .bct-showcase__features li {
	align-items: center;
}
body.home .bct-showcase__features svg {
	width: 30px;
	height: 30px;
	padding: 6px;
	box-sizing: border-box;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--bct-navy), var(--bct-navy-light));
	color: #fff;
	margin-top: 0;
	box-shadow: 0 6px 14px -6px var(--bct-glow-navy);
}

/* ---- Products grid: subtle dotted field behind the cards ---------------- */
body.home .elementor-section[style*="F8FAFC"],
body.home .elementor-section[style*="f8fafc"] {
	background-image: radial-gradient(rgba(17, 46, 136, 0.09) 1px, transparent 1.2px) !important;
	background-size: 22px 22px !important;
}

/* ---- FAQ accordion: tidy tech panels ------------------------------------ */
body.home .eael-accordion-tab {
	border: 1px solid rgba(17, 46, 136, 0.1) !important;
	border-radius: 14px !important;
	margin-bottom: 12px !important;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 6px 18px -14px rgba(17, 46, 136, 0.35);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
body.home .eael-accordion-tab.active,
body.home .eael-accordion-tab:hover {
	border-color: rgba(30, 88, 166, 0.35) !important;
	box-shadow: 0 14px 30px -18px rgba(17, 46, 136, 0.45);
}
body.home .eael-accordion-tab-title {
	font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
	font-weight: 700 !important;
	color: var(--bct-navy) !important;
}

/* ---- CTA banner: layered navy with a moving light sweep ---------------- */
body.home .bct-cta-banner {
	background:
		radial-gradient(circle at 15% 20%, rgba(251, 111, 17, 0.28), transparent 38%),
		radial-gradient(circle at 85% 85%, rgba(30, 88, 166, 0.55), transparent 45%),
		linear-gradient(135deg, var(--bct-navy-dark) 0%, var(--bct-navy) 100%);
	box-shadow: 0 40px 80px -40px rgba(12, 31, 96, 0.7);
}
body.home .bct-cta-banner__pattern {
	opacity: 1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
	mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
body.home .bct-cta-banner::after {
	content: '';
	position: absolute;
	top: 0;
	left: -60%;
	width: 50%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.07), transparent);
	transform: skewX(-18deg);
	animation: bct-home-sweep 7s ease-in-out infinite;
	pointer-events: none;
}
@keyframes bct-home-sweep {
	0%, 35% { left: -60%; }
	100%    { left: 130%; }
}

@media (prefers-reduced-motion: reduce) {
	body.home .bct-eyebrow::before,
	body.home .bct-card:hover .bct-card__icon::after,
	body.home .bct-cta-banner::after { animation: none; }
}

@media (max-width: 640px) {
	body.home .bct-card { border-radius: 16px; }
	body.home .bct-card__icon { width: 56px; height: 56px; border-radius: 16px; }
	body.home .bct-cta-banner { border-radius: 18px; padding: 48px 24px; }
}

/* FAQ question rows: white panels rather than the default grey title bar. */
body.home .eael-accordion-tab .eael-accordion-tab-title,
body.home .eael-accordion-tab .eael-accordion-tab-title-wrap {
	background: #fff !important;
}

/* ---- Testimonial slider ------------------------------------------------- */
body.home .bct-testimonials {
	position: relative;
	max-width: 880px;
	margin: 0 auto;
	padding: 8px 56px 0;
	outline: none;
}
body.home .bct-tm__viewport {
	position: relative;
	min-height: 260px;
}
body.home .bct-tm__slide {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	opacity: 0;
	visibility: hidden;
	transform: translateY(16px);
	transition: opacity 0.6s var(--bct-ease), transform 0.6s var(--bct-ease), visibility 0.6s;
}
body.home .bct-tm__slide.is-active {
	opacity: 1;
	visibility: visible;
	transform: none;
	position: relative;
}
body.home .bct-tm__mark {
	font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
	font-size: 64px;
	line-height: 0.6;
	height: 30px;
	color: var(--bct-orange);
	opacity: 0.85;
	margin-bottom: 18px;
}
body.home .bct-tm__quote {
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	line-height: 1.65;
	color: var(--bct-ink);
	margin: 0 0 26px;
	font-weight: 500;
}
body.home .bct-tm__author { display: flex; flex-direction: column; align-items: center; gap: 4px; }
body.home .bct-tm__photo {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 8px;
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(30, 88, 166, 0.35);
}
body.home .bct-tm__name {
	font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
	font-weight: 700;
	color: var(--bct-navy);
	font-size: 16px;
}
body.home .bct-tm__role { font-size: 14px; color: var(--bct-muted); }

body.home .bct-tm__arrow {
	position: absolute;
	top: 42%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(17, 46, 136, 0.18);
	background: #fff;
	color: var(--bct-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 8px 20px -10px rgba(17, 46, 136, 0.45);
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
body.home .bct-tm__arrow:hover,
body.home .bct-tm__arrow:focus-visible {
	background: linear-gradient(135deg, var(--bct-navy), var(--bct-navy-light));
	color: #fff;
	border-color: transparent;
	outline: none;
}
body.home .bct-tm__prev { left: 0; }
body.home .bct-tm__next { right: 0; }

body.home .bct-tm__dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 28px;
}
body.home .bct-tm__dot {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	border: 0;
	padding: 0;
	background: rgba(17, 46, 136, 0.2);
	cursor: pointer;
	transition: width 0.35s var(--bct-ease), background 0.35s ease;
}
body.home .bct-tm__dot.is-active {
	width: 28px;
	background: linear-gradient(90deg, var(--bct-orange), var(--bct-navy-light));
}

@media (max-width: 640px) {
	body.home .bct-testimonials { padding: 8px 0 0; }
	body.home .bct-tm__arrow { top: auto; bottom: -62px; transform: none; }
	body.home .bct-tm__prev { left: 20%; }
	body.home .bct-tm__next { right: 20%; }
	body.home .bct-tm__viewport { min-height: 300px; }
	body.home .bct-tm__dots { margin-top: 80px; }
}
