/* =============================================================================
   Elementor Late Overrides — v1.1.5
   Loaded via the `elementor/frontend/after_enqueue_styles` hook so it always
   comes AFTER Elementor's per-post CSS file. Every rule is prefixed with
   body.webtech to beat Elementor's (0,3,0) specificity ceiling.
   ========================================================================== */

/* ---------- HERO (wt-two-col + wt-mesh-gradient--strong) ---------- */
body.webtech .e-con.wt-mesh-gradient--strong,
body.webtech .elementor .e-con.wt-mesh-gradient--strong {
	padding: 96px 32px !important;
	background:
		radial-gradient(at 12% 15%, #c8d0ff 0%, transparent 55%),
		radial-gradient(at 88% 20%, #a8b8ff 0%, transparent 55%),
		radial-gradient(at 45% 100%, #dde1ff 0%, transparent 60%),
		linear-gradient(180deg, #eef1ff 0%, #f6f4ff 100%) !important;
}

body.webtech .e-con.wt-two-col > .e-con-inner {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 48px !important;
	align-items: center !important;
	max-width: 1280px !important;
	margin: 0 auto !important;
	width: 100% !important;
	flex-direction: initial !important;
}
body.webtech .e-con.wt-two-col > .e-con-inner > .e-con {
	min-width: 0 !important;
	max-width: 100% !important;
	width: auto !important;
	flex: 0 1 auto !important;
}
@media (max-width: 900px) {
	body.webtech .e-con.wt-two-col > .e-con-inner {
		grid-template-columns: 1fr !important;
	}
}

/* Left column inside hero — text stack */
body.webtech .e-con.wt-two-col > .e-con-inner > .e-con:first-child > .e-con-inner {
	display: flex !important;
	flex-direction: column !important;
	gap: 20px !important;
	align-items: flex-start !important;
}

/* Right column — hero chips holder — no padding, absolute children */
body.webtech .e-con.wt-two-col > .e-con-inner > .e-con:last-child > .e-con-inner {
	position: relative !important;
	min-height: 480px !important;
}

/* ---------- BENTO GRID (2 x 2) ---------- */
body.webtech .e-con.wt-bento-grid > .e-con-inner {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 32px !important;
	align-items: stretch !important;
	max-width: 1280px !important;
	margin: 0 auto !important;
	width: 100% !important;
	flex-direction: initial !important;
}
body.webtech .e-con.wt-bento-grid > .e-con-inner > .elementor-widget {
	min-width: 0 !important;
	max-width: 100% !important;
	width: auto !important;
	flex: 0 1 auto !important;
	height: 100% !important;
}
@media (max-width: 900px) {
	body.webtech .e-con.wt-bento-grid > .e-con-inner {
		grid-template-columns: 1fr !important;
	}
}

/* ---------- STATS BAND — 4 columns, deep blue bg ---------- */
body.webtech .e-con.wt-stats-band {
	background: var(--wt-primary) !important;
	color: #ffffff !important;
	padding: 96px 32px !important;
	position: relative !important;
	overflow: hidden !important;
	--flex-direction: column !important;
	--gap: 32px !important;
	--align-items: center !important;
}
body.webtech .e-con.wt-stats-band::before {
	content: '' !important;
	position: absolute !important;
	inset: 0 !important;
	pointer-events: none !important;
	background:
		radial-gradient(at 20% 30%, rgba(30, 64, 175, 0.9) 0%, transparent 60%),
		radial-gradient(at 80% 70%, rgba(59, 130, 246, 0.4) 0%, transparent 55%) !important;
	z-index: 0 !important;
}
body.webtech .e-con.wt-stats-band > * {
	position: relative !important;
	z-index: 1 !important;
}
body.webtech .e-con.wt-stats-band .wt-stats-band__title .elementor-heading-title,
body.webtech .e-con.wt-stats-band > .elementor-widget-heading .elementor-heading-title {
	color: rgba(255, 255, 255, 0.85) !important;
	text-align: center !important;
	font-family: var(--wt-font-display) !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.1em !important;
}

body.webtech .e-con.wt-grid-4 > .e-con-inner {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 24px !important;
	max-width: 1280px !important;
	margin: 0 auto !important;
	width: 100% !important;
	align-items: start !important;
	flex-direction: initial !important;
}
body.webtech .e-con.wt-grid-4 > .e-con-inner > .elementor-widget {
	min-width: 0 !important;
	max-width: 100% !important;
	width: auto !important;
	flex: 0 1 auto !important;
	text-align: center !important;
}
@media (max-width: 900px) {
	body.webtech .e-con.wt-grid-4 > .e-con-inner {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}
@media (max-width: 600px) {
	body.webtech .e-con.wt-grid-4 > .e-con-inner {
		grid-template-columns: 1fr !important;
	}
}

/* Stat counter widget */
body.webtech .wt-stat {
	text-align: center !important;
	padding: 8px !important;
}
body.webtech .wt-stat__value {
	display: block !important;
	font-family: var(--wt-font-display) !important;
	font-size: clamp(48px, 6vw, 84px) !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	color: var(--wt-amber) !important;
	margin-bottom: 8px !important;
	letter-spacing: -0.02em !important;
}
body.webtech .wt-stat__label {
	display: block !important;
	font-family: var(--wt-font-display) !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	color: rgba(255, 255, 255, 0.85) !important;
	text-transform: uppercase !important;
	letter-spacing: 0.1em !important;
}

/* ---------- CTA BAND — deep blue bg, centered content ---------- */
body.webtech .e-con.wt-cta-band {
	background: var(--wt-primary) !important;
	color: #ffffff !important;
	padding: 96px 32px !important;
	position: relative !important;
	overflow: hidden !important;
	text-align: center !important;
	--flex-direction: column !important;
	--gap: 24px !important;
	--align-items: center !important;
	--justify-content: center !important;
}
body.webtech .e-con.wt-cta-band::before {
	content: '' !important;
	position: absolute !important;
	inset: 0 !important;
	pointer-events: none !important;
	background:
		radial-gradient(at 20% 30%, rgba(30, 64, 175, 0.85) 0%, transparent 60%),
		radial-gradient(at 80% 70%, rgba(59, 130, 246, 0.55) 0%, transparent 55%) !important;
	z-index: 0 !important;
}
body.webtech .e-con.wt-cta-band > * {
	position: relative !important;
	z-index: 1 !important;
}
body.webtech .e-con.wt-cta-band .elementor-heading-title,
body.webtech .e-con.wt-cta-band .elementor-widget-text-editor p {
	color: #ffffff !important;
	text-align: center !important;
}

/* ---------- ROW (buttons side-by-side, not stacked) ---------- */
body.webtech .e-con.wt-row > .e-con-inner {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	gap: 16px !important;
	align-items: center !important;
	width: auto !important;
	max-width: none !important;
}
body.webtech .e-con.wt-row-center > .e-con-inner {
	justify-content: center !important;
}
body.webtech .e-con.wt-row > .e-con-inner > .elementor-widget {
	flex: 0 0 auto !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
}

/* ---------- BUTTON WIDGET — pill styling, inline width ---------- */
body.webtech .elementor-widget-button .elementor-button-wrapper {
	text-align: inherit !important;
}
body.webtech .elementor-widget-button .elementor-button,
body.webtech .elementor-widget-button a.elementor-button-link {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	padding: 14px 30px !important;
	border-radius: 999px !important;
	font-family: var(--wt-font-body) !important;
	font-weight: 700 !important;
	font-size: 15px !important;
	line-height: 1 !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
	width: auto !important;
	max-width: 100% !important;
	box-shadow: none !important;
	border: 0 !important;
	white-space: nowrap !important;
}
body.webtech .wt-btn-primary .elementor-button,
body.webtech .wt-btn-primary a.elementor-button-link {
	background-color: var(--wt-primary) !important;
	color: #ffffff !important;
}
body.webtech .wt-btn-primary .elementor-button:hover,
body.webtech .wt-btn-primary a.elementor-button-link:hover {
	background-color: var(--wt-primary-container) !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 12px 32px rgba(0, 40, 142, 0.24) !important;
}
body.webtech .wt-btn-secondary .elementor-button,
body.webtech .wt-btn-secondary a.elementor-button-link {
	background-color: transparent !important;
	color: var(--wt-primary) !important;
	box-shadow: inset 0 0 0 1.5px var(--wt-primary) !important;
}
body.webtech .wt-btn-secondary .elementor-button:hover {
	background-color: rgba(0, 40, 142, 0.05) !important;
}
body.webtech .wt-btn-amber .elementor-button,
body.webtech .wt-btn-amber a.elementor-button-link {
	background-color: var(--wt-amber) !important;
	color: #0F172A !important;
}
body.webtech .wt-btn-amber .elementor-button:hover {
	background-color: #ffbb52 !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 12px 32px rgba(255, 169, 41, 0.32) !important;
}
body.webtech .wt-btn-ghost-light .elementor-button,
body.webtech .wt-btn-ghost-light a.elementor-button-link {
	background-color: transparent !important;
	color: #ffffff !important;
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7) !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}
body.webtech .wt-btn-ghost-light .elementor-button:hover,
body.webtech .wt-btn-ghost-light a.elementor-button-link:hover {
	background-color: #ffffff !important;
	color: #00288e !important;
	box-shadow: inset 0 0 0 1.5px #ffffff !important;
}
body.webtech .wt-btn-ghost-light .elementor-button:hover .elementor-button-text {
	color: #00288e !important;
}

/* ---------- HEADING WIDGET COLOR OVERRIDES ---------- */
body.webtech .elementor-widget-heading.wt-display-hero .elementor-heading-title {
	font-family: var(--wt-font-display) !important;
	font-size: clamp(40px, 6vw, 72px) !important;
	font-weight: 800 !important;
	line-height: 1.05 !important;
	letter-spacing: -0.02em !important;
	color: var(--wt-primary) !important;
	margin: 0 !important;
}
body.webtech .elementor-widget-heading.wt-headline-lg .elementor-heading-title {
	font-family: var(--wt-font-display) !important;
	font-size: clamp(32px, 4vw, 48px) !important;
	font-weight: 700 !important;
	line-height: 1.1 !important;
	color: var(--wt-primary) !important;
	margin: 0 !important;
	text-align: center !important;
}
body.webtech .elementor-widget-heading.wt-headline-md .elementor-heading-title {
	font-family: var(--wt-font-display) !important;
	font-size: clamp(28px, 3.2vw, 38px) !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
	color: var(--wt-primary) !important;
	margin: 0 !important;
}
body.webtech .elementor-widget-heading.wt-label-caps .elementor-heading-title {
	font-family: var(--wt-font-display) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.14em !important;
	color: var(--wt-primary) !important;
	line-height: 1 !important;
	margin: 0 !important;
}
body.webtech .elementor-widget-heading.wt-text-white .elementor-heading-title {
	color: #ffffff !important;
}

/* ---------- PILL — the "Enterprise Intelligence" chip ---------- */
body.webtech .elementor-widget-heading.wt-pill .elementor-heading-title {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 8px 20px !important;
	background: rgba(0, 40, 142, 0.08) !important;
	border: 1px solid rgba(0, 40, 142, 0.15) !important;
	border-radius: 999px !important;
	color: var(--wt-primary) !important;
	font-family: var(--wt-font-display) !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.1em !important;
	line-height: 1 !important;
	width: auto !important;
	margin: 0 !important;
	text-align: left !important;
}
body.webtech .elementor-widget-heading.wt-pill--live .elementor-heading-title::before {
	content: '' !important;
	display: inline-block !important;
	width: 8px !important;
	height: 8px !important;
	border-radius: 50% !important;
	background: var(--wt-amber) !important;
	box-shadow: 0 0 0 0 rgba(255, 169, 41, 0.7) !important;
	animation: wt-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
	flex-shrink: 0 !important;
}
@keyframes wt-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(255, 169, 41, 0.7); }
	50%      { box-shadow: 0 0 0 8px rgba(255, 169, 41, 0); }
}

/* ---------- TEXT EDITOR — hero subhead ---------- */
body.webtech .elementor-widget-text-editor p.wt-body-lg {
	font-family: var(--wt-font-body) !important;
	font-size: 18px !important;
	line-height: 1.6 !important;
	color: var(--wt-on-surface) !important;
	max-width: 560px !important;
	margin: 0 !important;
}

/* ---------- HERO CHIPS — glass card positioning ---------- */
body.webtech .wt-hero-chips {
	position: relative !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 480px !important;
}
body.webtech .wt-hero-chips__viz {
	position: absolute !important;
	inset: 0 !important;
	background:
		radial-gradient(circle at 55% 45%, rgba(59,130,246,0.35) 0%, transparent 55%),
		radial-gradient(circle at 40% 60%, rgba(30,64,175,0.30) 0%, transparent 50%) !important;
	filter: blur(20px) !important;
	pointer-events: none !important;
	z-index: 0 !important;
}
body.webtech .wt-hero-chips .wt-glass-card {
	position: absolute !important;
	background: rgba(255, 255, 255, 0.85) !important;
	backdrop-filter: blur(12px) !important;
	-webkit-backdrop-filter: blur(12px) !important;
	border: 1px solid rgba(255, 255, 255, 0.6) !important;
	border-radius: 16px !important;
	box-shadow: 0 8px 32px rgba(0, 40, 142, 0.12) !important;
	padding: 14px 18px !important;
	min-width: 200px !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 4px !important;
	z-index: 2 !important;
	animation: wt-float 6s ease-in-out infinite !important;
}
@keyframes wt-float {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-8px); }
}
/* :nth-child(1) is .wt-hero-chips__viz (skip). Cards are 2, 3, 4 */
body.webtech .wt-hero-chips .wt-glass-card:nth-child(2) {
	top: 4% !important;
	left: 0 !important;
	right: auto !important;
	bottom: auto !important;
	animation-delay: 0s !important;
}
body.webtech .wt-hero-chips .wt-glass-card:nth-child(3) {
	top: 42% !important;
	right: 0 !important;
	left: auto !important;
	bottom: auto !important;
	animation-delay: -2s !important;
}
body.webtech .wt-hero-chips .wt-glass-card:nth-child(4) {
	bottom: 4% !important;
	left: 12% !important;
	right: auto !important;
	top: auto !important;
	animation-delay: -4s !important;
}
body.webtech .wt-hero-chips .wt-glass-card__label {
	font-family: var(--wt-font-display) !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	color: var(--wt-primary) !important;
	text-transform: uppercase !important;
	letter-spacing: 0.1em !important;
}
body.webtech .wt-hero-chips .wt-glass-card__value {
	font-family: var(--wt-font-display) !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	color: var(--wt-on-surface) !important;
}

/* ---------- BENTO CARD — CTA link colors ---------- */
body.webtech .wt-bento-card .wt-bento-card__cta {
	color: var(--wt-primary) !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
}
body.webtech .wt-bento-card--inverted .wt-bento-card__cta {
	color: var(--wt-amber) !important;
}

/* ---------- SECTION PADDING for boxed containers ---------- */
body.webtech .e-con.e-parent {
	padding-left: 32px !important;
	padding-right: 32px !important;
}
body.webtech .e-con.e-parent.wt-stats-band,
body.webtech .e-con.e-parent.wt-cta-band {
	padding: 96px 32px !important;
}
@media (max-width: 768px) {
	body.webtech .e-con.e-parent {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
}
