/**
 * Brand color palette – CSS custom properties
 * High contrast for accessibility. Loads after theme color/style to override.
 */

:root {
	--primary-navy: #1A4A7D;
	--accent-teal: #4A8C9A;
	--highlight-gold: #FFD700;
	--primary-navy-rgb: 26, 74, 125;
	--accent-teal-rgb: 74, 140, 154;
	--bg-main: #F5F5F7;
	--text-main: #333333;
	--border-color: #E5E7EB;
}

/* ========== Menu: Active state = Gold background, Navy text ========== */
.navbar-default #main_nav .navbar-nav li a:hover,
.navbar-default #main_nav .navbar-nav li.current-menu-item > a,
.navbar-default #main_nav .navbar-nav li.current-menu-parent > a,
.navbar-default #main_nav .navbar-nav li.active > a {
	background-color: #FFD700 !important;
	color: #1A4A7D !important;
}

.nav-header-custom.stick.sticky #main_nav .navbar-nav li a:hover,
.nav-header-custom.stick.sticky #main_nav .navbar-nav li.current-menu-item > a,
.nav-header-custom.stick.sticky #main_nav .navbar-nav li.current-menu-parent > a {
	background-color: #FFD700 !important;
	color: #1A4A7D !important;
}

/* ========== Icons inside blue circles: all white (fill/stroke/color) ========== */
/* Service cards shortcode */
.probiz-service-card-icon,
.probiz-service-card-icon *,
.probiz-service-card-icon i,
.probiz-service-card-icon svg,
.probiz-service-card-icon svg path,
.probiz-service-card-icon svg use,
.probiz-service-card-icon .fa,
.probiz-service-card-icon .ti,
.probiz-service-card-icon .pe-7s-,
.probiz-service-card-icon [class^="pe-"],
.probiz-service-card-icon [class*=" pe-"] {
	color: #FFFFFF !important;
	fill: #FFFFFF !important;
	stroke: #FFFFFF !important;
}

/* Services section (3 cards below hero) */
.probiz-services-section-card-icon,
.probiz-services-section-card-icon *,
.probiz-services-section-card-icon i,
.probiz-services-section-card-icon svg,
.probiz-services-section-card-icon svg path,
.probiz-services-section-card-icon svg use,
.probiz-services-section-card-icon .fa,
.probiz-services-section-card-icon .ti,
.probiz-services-section-card-icon .pe-7s-,
.probiz-services-section-card-icon [class^="pe-"],
.probiz-services-section-card-icon [class*=" pe-"] {
	color: #FFFFFF !important;
	fill: #FFFFFF !important;
	stroke: #FFFFFF !important;
}

/* Legacy promo / sppb-section-promo icon circles */
.promo-section .promo-content span[class*="ti-"],
.promo-section .promo-content span[class*="fa-"],
.promo-section .promo-content span[class*="pe-"],
.sppb-section-promo .promo-content span[class*="ti-"],
.sppb-section-promo .promo-content span[class*="fa-"],
.sppb-section-promo .promo-content span[class*="pe-"],
.promo-section .promo-content span[class*="ti-"] *,
.promo-section .promo-content span[class*="fa-"] *,
.sppb-section-promo .promo-content span[class*="ti-"] *,
.sppb-section-promo .promo-content span[class*="fa-"] * {
	color: #FFFFFF !important;
	fill: #FFFFFF !important;
	stroke: #FFFFFF !important;
}

/* Circle backgrounds: Primary Navy */
.probiz-service-card-icon,
.probiz-services-section-card-icon {
	background-color: #1A4A7D !important;
}

.promo-section .promo-content span[class*="ti-"],
.promo-section .promo-content span[class*="fa-"],
.sppb-section-promo .promo-content span[class*="ti-"],
.sppb-section-promo .promo-content span[class*="fa-"] {
	background-color: #1A4A7D !important;
	color: #FFFFFF !important;
}

/* ========== Hero Section (2 columns: copy left, image right) – high-end, responsive ========== */
.probiz-hero-engineering {
	background-color: var(--bg-main);
	padding: 4rem 1rem;
	min-height: 0;
}

.probiz-hero-engineering-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

.probiz-hero-engineering-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2.5rem;
}

.probiz-hero-engineering-col {
	flex: 1 1 100%;
	min-width: 0;
}

/* Copy column */
.probiz-hero-engineering-title {
	color: var(--primary-navy);
	font-weight: 700;
	font-size: 1.75rem;
	line-height: 1.25;
	margin: 0 0 1.25rem;
}

.probiz-hero-engineering-subtitle {
	color: var(--text-main);
	font-size: 1rem;
	line-height: 1.7;
	margin: 0 0 1.75rem;
	max-width: 32em;
}

.probiz-hero-engineering-cta {
	display: inline-block;
	background-color: var(--highlight-gold);
	color: var(--primary-navy);
	font-weight: 700;
	font-size: 0.875rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.875rem 1.75rem;
	border-radius: 8px;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
	border: none;
	cursor: pointer;
}

.probiz-hero-engineering-cta:hover,
.probiz-hero-engineering-cta:focus {
	background-color: var(--accent-teal);
	color: #fff;
	text-decoration: none;
}

/* Image column */
.probiz-hero-engineering-img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
	object-fit: cover;
	max-height: 420px;
}

.probiz-hero-engineering-placeholder {
	background: #E5E7EB;
	border-radius: 8px;
	min-height: 280px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	text-align: center;
	color: var(--text-main);
	font-size: 0.9375rem;
}

.probiz-hero-engineering-placeholder-icon {
	display: block;
	width: 64px;
	height: 64px;
	margin-bottom: 1rem;
	background: var(--accent-teal);
	opacity: 0.2;
	border-radius: 8px;
}

/* Desktop: two columns */
@media (min-width: 992px) {
	.probiz-hero-engineering {
		padding: 5rem 1.5rem;
	}
	.probiz-hero-engineering-grid {
		flex-wrap: nowrap;
		gap: 3.5rem;
	}
	.probiz-hero-engineering-copy {
		flex: 0 1 50%;
	}
	.probiz-hero-engineering-media {
		flex: 0 1 50%;
	}
	.probiz-hero-engineering-title {
		font-size: 2.25rem;
	}
	.probiz-hero-engineering-subtitle {
		font-size: 1.0625rem;
	}
}

@media (min-width: 1200px) {
	.probiz-hero-engineering {
		padding: 6rem 2rem;
	}
	.probiz-hero-engineering-title {
		font-size: 2.5rem;
	}
	.probiz-hero-engineering-subtitle {
		font-size: 1.125rem;
	}
}

/* ========== Services Section (3 cards below Hero) – grid, white cards, teal icons ========== */
.probiz-services-section {
	padding: 4rem 1rem;
	background-color: var(--bg-main);
}

.probiz-services-section-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

.probiz-services-section-title {
	text-align: center;
	color: var(--primary-navy);
	font-size: 1.875rem;
	font-weight: 700;
	margin: 0 0 2.5rem;
	line-height: 1.3;
}

.probiz-services-section-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 576px) {
	.probiz-services-section-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 992px) {
	.probiz-services-section {
		padding: 5rem 1.5rem;
	}
	.probiz-services-section-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}
	.probiz-services-section-title {
		font-size: 2.25rem;
		margin-bottom: 3rem;
	}
}

/* Cards: white, subtle border, soft shadow on hover */
.probiz-services-section-card {
	background: #fff;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	padding: 2rem;
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.probiz-services-section-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	border-color: #D1D5DB;
}

/* Icons: accent-teal (override navy circle for this section) */
.probiz-services-section .probiz-services-section-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	color: var(--accent-teal);
	font-size: 1.5rem;
	margin-bottom: 1.25rem;
	background-color: transparent !important;
}

.probiz-services-section .probiz-services-section-card-icon i,
.probiz-services-section .probiz-services-section-card-icon svg,
.probiz-services-section .probiz-services-section-card-icon use {
	color: var(--accent-teal) !important;
	fill: var(--accent-teal) !important;
	stroke: var(--accent-teal) !important;
}

.probiz-services-section-card-title {
	color: var(--primary-navy);
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 0.75rem;
	line-height: 1.3;
}

.probiz-services-section-card-desc {
	color: var(--text-main);
	font-size: 1rem;
	line-height: 1.65;
	margin: 0 0 1.25rem;
}

/* Learn more: accent-teal, underline on hover */
.probiz-services-section-learn {
	color: var(--accent-teal);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: text-decoration 0.2s ease;
}

.probiz-services-section-learn:hover,
.probiz-services-section-learn:focus {
	text-decoration: underline;
	color: var(--accent-teal);
}

.probiz-services-section-learn-placeholder {
	cursor: default;
	opacity: 0.85;
}

.probiz-services-section-learn-placeholder:hover {
	text-decoration: none;
}
