/**
 * ApexHR — Flatsome child component styles (Phase 0–1)
 */

:root {
	--apex-primary: #0d3b7a;
	--apex-secondary: #1e6fd9;
	--apex-success: #2ecc71;
	--apex-body-bg: #f5f7fa;
	--apex-text: #333333;
	--apex-text-muted: #666666;
	--apex-radius: 4px;
	--apex-container: 1200px;
}

/* Stats bar */
.apex-stats-bar {
	background-color: var(--apex-primary) !important;
}

.apex-stats-bar .apex-stat-number {
	display: block;
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.1;
	color: #ffffff;
	margin-bottom: 0.35rem;
}

.apex-stats-bar .apex-stat-label {
	display: block;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
}

.apex-stats-bar .col-inner {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

/* Stats overlap hero (Phase 2+) */
.apex-stats-overlap {
	margin-top: -4rem;
	position: relative;
	z-index: 2;
}

.apex-stats-overlap .col-inner {
	background: #ffffff;
	border-radius: var(--apex-radius);
	box-shadow: 0 8px 32px rgba(13, 59, 122, 0.12);
	padding: 1.5rem 1rem;
}

/* CTA strip */
.apex-cta-strip {
	background: linear-gradient(135deg, var(--apex-secondary) 0%, var(--apex-primary) 100%) !important;
}

.apex-cta-strip h3,
.apex-cta-strip p {
	color: #ffffff;
	margin-bottom: 0;
}

.apex-cta-strip .button.white {
	border-color: #ffffff;
	color: var(--apex-primary);
	background: #ffffff;
}

.apex-cta-strip .button.white:hover {
	background: rgba(255, 255, 255, 0.9);
}

/* Footer block */
.apex-footer {
	background-color: var(--apex-primary);
	color: rgba(255, 255, 255, 0.9);
}

.apex-footer h3,
.apex-footer .widget-title {
	color: #ffffff;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 1rem;
}

.apex-footer a {
	color: rgba(255, 255, 255, 0.85);
}

.apex-footer a:hover {
	color: #ffffff;
}

.apex-footer-copyright {
	background-color: #0a3268;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.875rem;
}

.apex-footer-copyright a {
	color: rgba(255, 255, 255, 0.85);
}

.apex-footer-newsletter input[type="email"],
.apex-footer-newsletter input[type="text"] {
	border-radius: var(--apex-radius);
	border: none;
}

/* Header phone highlight */
.header-contact .apex-header-phone {
	font-weight: 600;
	color: var(--apex-primary);
}

/* Section alternate background */
.apex-section-alt {
	background-color: var(--apex-body-bg) !important;
}

/* Logo grid placeholder (Phase 2) */
.apex-logo-grid .col-inner {
	border: 1px solid #e8ecf1;
	border-radius: var(--apex-radius);
	padding: 1rem;
	background: #ffffff;
	transition: filter 0.25s ease;
}

.apex-logo-grid img {
	filter: grayscale(100%);
	opacity: 0.7;
	transition: filter 0.25s ease, opacity 0.25s ease;
}

.apex-logo-grid .col-inner:hover img {
	filter: grayscale(0%);
	opacity: 1;
}

@media only screen and (max-width: 849px) {
	.apex-stats-bar .apex-stat-number {
		font-size: 2rem;
	}

	.apex-cta-strip .text-right {
		text-align: left !important;
		margin-top: 1rem;
	}

	.apex-stats-overlap {
		margin-top: -2rem;
	}
}
