/* Innovitix — additions on top of the template (style.css) */

/* Hero: supporting line under each headline */
.owl-carousel.home-slider .slider-item .slider-text .hero-lead {
	font-size: 18px;
	line-height: 1.6;
	color: rgba(0, 0, 0, 0.65);
	max-width: 400px;
	margin-bottom: 28px;
}
@media (max-width: 991.98px) {
	.owl-carousel.home-slider .slider-item .slider-text .hero-lead {
		color: rgba(255, 255, 255, 0.85);
		font-size: 17px;
		max-width: none;
		margin-left: auto;
		margin-right: auto;
	}
}
.owl-carousel.home-slider .slider-item .slider-text h1 { font-size: 44px; }
@media (max-width: 767.98px) {
	.owl-carousel.home-slider .slider-item .slider-text h1 { font-size: 34px; }
}

/* Language switch in the navbar */
.navbar .lang-switch .nav-link span {
	border: 1px solid #5cb747;
	border-radius: 3px;
	padding: 3px 10px;
}

/* Font Awesome icons inside the template's round icon badges */
.services .icon .fa { font-size: 34px; color: #fff; }

/* Pillars section */
.pillars-section { background: #f8f9fa; }
.pillars-section .services { padding-top: 0; }
.pillars-section .services .media-body p { font-size: 15px; line-height: 1.7; }
.pillars-section .pillar-num {
	display: block;
	font-size: 12px;
	letter-spacing: 2px;
	color: #5cb747;
	font-weight: 600;
	margin-bottom: 6px;
}

/* How we work with you */
.steps-section .step {
	position: relative;
	padding: 30px 25px;
	background: #fff;
	border-top: 3px solid #5cb747;
	height: 100%;
	box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.15);
}
.steps-section .step .step-num {
	font-size: 40px;
	font-weight: 800;
	color: rgba(92, 183, 71, 0.45);
	line-height: 1;
	display: block;
	margin-bottom: 12px;
}
.steps-section .step h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.steps-section .step p { font-size: 15px; margin-bottom: 0; }

/* Contact: call-to-action intro */
.contact-section .start-now {
	font-size: 18px;
	color: #000;
	font-weight: 500;
}
.contact-form .form-note { font-size: 13px; color: #888; margin-top: 10px; }

/* Placeholder contact details still waiting for real values */
.todo-contact { background: #fff3cd; padding: 0 4px; }

/* Client logos: same box for every logo, whatever its shape */
.testimony-section .testimony-wrap .text {
	height: 110px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
}
.testimony-section .testimony-wrap img {
	max-height: 80px;
	max-width: 100%;
	width: auto !important;
	height: auto;
	object-fit: contain;
	margin: 0 auto;
}

/* Industry cards: name always visible on a dark band at the bottom */
.ftco-project .project { align-items: flex-end !important; }
.ftco-project .project .text {
	opacity: 1;
	max-width: 100%;
	width: 100%;
	padding: 60px 16px 18px !important;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 100%);
}
.ftco-project .project .text h3 { margin-bottom: 4px; }
.ftco-project .project .text span { font-size: 12px; color: rgba(255, 255, 255, 0.8); }

/* Phones/tablets: darken the hero photo so the headline is readable */
@media (max-width: 991.98px) {
	.owl-carousel.home-slider .slider-item .slider-text .one-third::before {
		content: '';
		position: absolute;
		top: 0; left: 0; right: 0; bottom: 0;
		background: rgba(0, 0, 0, 0.6);
		z-index: 0;
	}
	.owl-carousel.home-slider .slider-item .slider-text .subheading { color: #a8dc9b; }
	.owl-carousel.home-slider .slider-item .slider-text h1 span { color: #a8dc9b; }
}

/* Counters: number with an optional "+" after it */
.ftco-counter .text .num-line { display: block; margin-bottom: 4px; }
.ftco-counter .text .num-line .number { display: inline; margin-bottom: 0; }
.ftco-counter .text .number-plus { font-size: 30px; font-weight: 700; color: rgba(0, 0, 0, 0.8); line-height: 1; }


/* Large screens: keep the hero text inside the white area (photo keeps its original size) */
@media (min-width: 992px) {
	.owl-carousel.home-slider .slider-item .slider-text .one-forth { width: 100%; }
	.owl-carousel.home-slider .slider-item .slider-text .one-forth .text {
		left: 4vw;
		right: auto;
		max-width: clamp(390px, calc(25vw + 30px), 520px);
		padding-left: 0;
		padding-right: 0;
	}
	.owl-carousel.home-slider .slider-item .slider-text .hero-lead { max-width: 100%; }
}
@media (min-width: 992px) and (max-width: 1279.98px) {
	.owl-carousel.home-slider .slider-item .slider-text h1 { font-size: 38px; }
	.owl-carousel.home-slider .slider-item .slider-text .hero-lead { font-size: 16px; }
}

/* Close the hairline gap where the two halves of the white arrow meet */
.owl-carousel.home-slider .slider-item .slider-text .one-third .overlay,
.owl-carousel.home-slider .slider-item .slider-text .one-third .overlay-1 { height: calc(50% + 3px); width: 172px; }
@media (min-width: 992px) {
	.owl-carousel.home-slider .slider-item .slider-text .one-third::after {
		content: '';
		position: absolute;
		top: 44%; bottom: 44%; left: 0;
		width: 30px;
		background: #fff;
		opacity: 1;
	}
}

/* Contact form: country code + mobile on one line, status message */
.contact-form .phone-group { display: flex; gap: 8px; }
.contact-form .phone-group .cc-select { flex: 0 0 96px; padding-left: 8px; padding-right: 8px; }
.contact-form .phone-group input { flex: 1 1 auto; }
.contact-form .form-status { margin: 12px 0 0; font-size: 15px; min-height: 22px; }
.contact-form .form-status.ok { color: #4a7c3a; }
.contact-form .form-status.err { color: #b3261e; }
.contact-form button[disabled] { opacity: .7; }

/* Client logo dots: smaller on phones so all 23 fit on one line */
@media (max-width: 575.98px) {
	.carousel-testimony.owl-carousel .owl-dots .owl-dot { width: 7px; height: 7px; margin: 3px; }
}

/* Client logos: arrows on both sides of the logos */
.testimony-section .carousel-testimony.owl-carousel .owl-nav {
	position: absolute; top: 0; left: 0; right: 0; width: 100%; height: 0;
}
.testimony-section .carousel-testimony .owl-nav button.owl-prev,
.testimony-section .carousel-testimony .owl-nav button.owl-next {
	position: absolute;
	top: 96px;  /* middle of the logo cards (16px top padding + 160px card / 2) */
	transform: translateY(-50%);
	margin: 0 !important;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff !important;
	color: #4a9a37 !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
	opacity: 1 !important;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
}
.testimony-section .carousel-testimony .owl-nav button span:before { font-size: 17px; color: inherit !important; }
.testimony-section .carousel-testimony .owl-nav button:hover { background: #4a9a37 !important; color: #fff !important; }
.testimony-section .carousel-testimony .owl-nav button.owl-prev { left: -60px !important; right: auto !important; }
.testimony-section .carousel-testimony .owl-nav button.owl-next { right: -60px !important; left: auto !important; }
@media (max-width: 1199.98px) {
	.testimony-section .carousel-testimony .owl-nav button.owl-prev { left: -6px !important; }
	.testimony-section .carousel-testimony .owl-nav button.owl-next { right: -6px !important; }
	.testimony-section .carousel-testimony .owl-nav button.owl-prev,
	.testimony-section .carousel-testimony .owl-nav button.owl-next { width: 36px; height: 36px; }
	.testimony-section .carousel-testimony .owl-nav button span:before { font-size: 14px; }
}

/* Font Awesome icons in the counters */
.ftco-counter .icon .fa { font-size: 26px; color: #fff; }


/* ---- Brand palette roles (Innovitix Brand Guidelines 2024) ----
   Green #5cb747 (Pantone 7405 C) = first main colour: buttons, icon circles, accents.
   Blue Black #0e1d42 (Pantone 425 C) = second main colour: headings, links, dark bands.
   Green is light on white (2.5:1), so small green text uses the darker tone #34812a. */
h1, h2, h3, .heading-section h2 { color: #0e1d42; }
.subheading, .heading-section .subheading { color: #34812a !important; }
.owl-carousel.home-slider .slider-item .slider-text h1 span { color: #5cb747; }
a { color: #0e1d42; }
a:hover, a:focus { color: #34812a; }
.btn.btn-primary { background: #5cb747 !important; border-color: #5cb747 !important; color: #0e1d42 !important; font-weight: 600; }
.btn.btn-primary:hover, .btn.btn-primary:focus { background: #0e1d42 !important; border-color: #0e1d42 !important; color: #fff !important; }
.btn.btn-primary.btn-outline-primary { background: transparent !important; color: #0e1d42 !important; }
.ftco-navbar-light .navbar-nav > .nav-item.active > a span,
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover span { color: #0e1d42 !important; }
.ftco-hireme, .testimony-section.bg-primary { background: #0e1d42 !important; }
.ftco-hireme .btn.btn-white { background: #5cb747 !important; color: #0e1d42 !important; border-color: #5cb747 !important; font-weight: 600; }
.ftco-hireme .btn.btn-white:hover { background: #fff !important; color: #0e1d42 !important; border-color: #fff !important; }
.testimony-section .heading-section .subheading { color: #5cb747 !important; }
.services .icon, .block-18 .icon, .dbox .icon { background: #5cb747 !important; }
.services .icon .fa, .services .icon span:before, .ftco-counter .icon .fa, .block-18 .icon span:before,
.dbox .icon span, .dbox .icon .fa { color: #0e1d42 !important; }
.services:hover .icon .fa, .services:hover .icon span:before { color: #0e1d42 !important; }
.dbox .text a { color: #0e1d42; font-weight: 500; }
.ftco-footer { background: #0e1d42 !important; }
.ftco-footer a:hover { color: #5cb747; }
.contact-form .form-status.ok { color: #34812a; }
/* client-logo arrows */
.testimony-section .carousel-testimony .owl-nav button.owl-prev,
.testimony-section .carousel-testimony .owl-nav button.owl-next { color: #0e1d42 !important; }
.testimony-section .carousel-testimony .owl-nav button:hover { background: #5cb747 !important; color: #0e1d42 !important; }
/* the "+" next to the numbers and the step numbers */
.ftco-counter .text .number-plus { color: #0e1d42; }
.steps-section .step { border-top-color: #5cb747; }
.steps-section .step .step-num { color: rgba(92, 183, 71, 0.55); }
@media (max-width: 991.98px) {
	.owl-carousel.home-slider .slider-item .slider-text .btn.btn-primary.btn-outline-primary { color: #fff !important; }
}
