/* ============================================================
   FOY Synergy Ltd — Custom Demo Styles
   ============================================================ */

/* ---- Heading Colours ---- */
/* Light backgrounds → deep navy */
h1, h2, h3, h4, h5, h6 {
	color: #002391;
}

/* Dark / primary backgrounds → white
   Covers Porto utility classes + our custom sections */
.bg-color-primary h1, .bg-color-primary h2, .bg-color-primary h3,
.bg-color-primary h4, .bg-color-primary h5, .bg-color-primary h6,
.bg-color-dark h1,    .bg-color-dark h2,    .bg-color-dark h3,
.bg-color-dark h4,    .bg-color-dark h5,    .bg-color-dark h6,
.bg-dark h1,          .bg-dark h2,          .bg-dark h3,
.bg-dark h4,          .bg-dark h5,          .bg-dark h6,
.section-dark h1,     .section-dark h2,     .section-dark h3,
.section-dark h4,     .section-dark h5,     .section-dark h6,
.foy-page-header h1,  .foy-page-header h2,  .foy-page-header h3,
.foy-page-header h4,  .foy-page-header h5,  .foy-page-header h6,
.foy-counter-section h1, .foy-counter-section h2, .foy-counter-section h3,
.foy-counter-section h4, .foy-counter-section h5, .foy-counter-section h6,
.foy-cta-gradient h1, .foy-cta-gradient h2, .foy-cta-gradient h3,
.foy-cta-gradient h4, .foy-cta-gradient h5, .foy-cta-gradient h6,
#home-intro h1,       #home-intro h2,       #home-intro h3,
#home-intro h4,       #home-intro h5,       #home-intro h6 {
	color: #fff;
}

/* Font sizing helper */
.custom-font-size-1 {
	font-size: 12.8px;
	font-size: 0.8rem;
}

/* ---- Header ---- */
/* White header */
#header .header-body {
	background-color: #fff !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
	box-shadow: 0 2px 12px rgba(0, 35, 145, 0.08) !important;
}

#header .header-nav-main nav > ul > li > a {
	color: var(--dark) !important;
	font-size: 15px;
}

#header .header-nav-main nav > ul > li > a:hover,
#header .header-nav-main nav > ul > li.active > a,
#header .header-nav-main nav > ul > li > a.active {
	color: var(--primary) !important;
}

/* Mobile nav light background */
@media (max-width: 991px) {
	#header .header-nav-main {
		background-color: #fff !important;
	}
	#header .header-nav-main nav > ul > li > a {
		border-bottom-color: rgba(0, 0, 0, 0.08) !important;
		color: var(--dark) !important;
	}
}

/* Collapse button */
#header .header-btn-collapse-nav {
	color: var(--primary) !important;
}

/* ---- Logo ---- */
.header-logo a {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 4px;
	line-height: 0;
}

.header-logo img {
	border-radius: 2px;
	display: block;
}

/* ---- Hero Slider ---- */
.foy-hero-caption {
	padding: 2rem;
	background: rgba(10, 22, 40, 0.65);
	border-radius: 4px;
}

/* ---- Intro / Tagline Bar ---- */
#home-intro {
	background-color: var(--primary) !important;
}

#home-intro p {
	color: #fff !important;
}

/* ---- Split Sections (About / Services) ---- */
.custom-parallax-bg-pos-left {
	background-position-x: 0% !important;
}

/* ---- Overlay ---- */
.custom-overlay-opacity-95:before {
	opacity: 0.95 !important;
}

/* ---- Stats Counter Section ---- */
.foy-counter-section {
	background: var(--primary);
}

/* ---- Process / Why Choose Us ---- */
.process.custom-process .process-step:hover .process-step-circle .process-step-circle-content svg path,
.process.custom-process .process-step:hover .process-step-circle .process-step-circle-content svg polyline,
.process.custom-process .process-step:hover .process-step-circle .process-step-circle-content svg line {
	stroke: #FFF !important;
}

.process.custom-process .process-step .process-step-circle {
	width: 115px;
	height: 115px;
}

@media (min-width: 992px) {
	.process .process-step:before {
		background-color: #d6dde5;
	}
}

/* ---- Values / Icon Boxes ---- */
.foy-value-box {
	border: 1px solid var(--grey-300);
	border-radius: 8px;
	padding: 2rem 1.5rem;
	height: 100%;
	transition: all 0.3s ease;
}

.foy-value-box:hover {
	border-color: var(--primary);
	box-shadow: 0 8px 30px var(--primary-rgba-10);
	transform: translateY(-4px);
}

.foy-value-box .foy-value-icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--primary-rgba-10);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.25rem;
}

.foy-value-box .foy-value-icon i {
	font-size: 1.5rem;
	color: var(--primary);
}

/* ---- Service Cards ---- */
.foy-service-card {
	border: 1px solid var(--grey-300);
	border-radius: 8px;
	padding: 2.5rem 2rem;
	height: 100%;
	transition: all 0.3s ease;
	text-decoration: none !important;
	display: block;
	color: inherit;
}

.foy-service-card:hover {
	border-color: var(--primary);
	box-shadow: 0 10px 40px var(--primary-rgba-15);
	transform: translateY(-6px);
	color: inherit;
}

.foy-service-card .foy-service-icon {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background: var(--primary-rgba-10);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
}

.foy-service-card .foy-service-icon i {
	font-size: 1.75rem;
	color: var(--primary);
}

.foy-service-card:hover .foy-service-icon {
	background: var(--primary);
}

.foy-service-card:hover .foy-service-icon i {
	color: #fff;
}

/* ---- Page Header / Banner ---- */
.foy-page-header {
	background: linear-gradient(135deg, var(--dark) 0%, #1e3558 100%);
	padding: 80px 0 60px;
	position: relative;
	overflow: hidden;
}

.foy-page-header::before {
	content: '';
	position: absolute;
	top: 0; right: 0;
	width: 50%;
	height: 100%;
	background: var(--primary-rgba-10);
	clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.foy-page-header h1 {
	color: #fff;
	font-weight: 700;
}

.foy-page-header .breadcrumb {
	background: transparent;
	padding: 0;
	margin: 0;
}

.foy-page-header .breadcrumb-item,
.foy-page-header .breadcrumb-item a {
	color: rgba(255, 255, 255, 0.7);
}

.foy-page-header .breadcrumb-item.active {
	color: var(--primary);
}

.foy-page-header .breadcrumb-item + .breadcrumb-item::before {
	color: rgba(255, 255, 255, 0.4);
}

/* ---- Testimonials ---- */
.custom-testimonial-style-1.testimonial-style-2 .testimonial-author > img {
	max-width: 120px;
	max-height: none;
	height: auto;
	object-fit: cover;
}

.custom-testimonial-style-1.testimonial-with-quotes blockquote:before {
	top: -15px;
}

/* ---- CTA Section ---- */
.foy-cta-gradient {
	background: linear-gradient(135deg, var(--primary) 0%, #001466 100%);
}

/* ---- Footer ---- */
#footer p,
#footer span,
#footer li,
#footer a:not(.btn):not(.no-footer-css) {
	color: #888888;
}

#footer p:hover,
#footer span:hover,
#footer li:hover,
#footer a:not(.btn):not(.no-footer-css):hover {
	color: var(--primary);
}

#footer .footer-copyright p {
	color: #888888;
}

/* ---- Step Process Feature Boxes ---- */
.foy-step-box {
	position: relative;
	padding: 2rem;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.06);
	height: 100%;
}

.foy-step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--primary);
	color: #fff;
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 1.25rem;
}

/* ---- Social Icons on Dark Background ---- */
.foy-social-on-dark li a {
	transition: opacity 0.2s ease !important;
}

.foy-social-on-dark li a:hover,
.foy-social-on-dark li:hover a {
	background: transparent !important;
	opacity: 0.45 !important;
	color: var(--light) !important;
}

/* ---- Misc ---- */
@media (max-width: 767px) {
	.custom-mobile-remove-divider-left-border {
		border-left: 0;
	}
}
