/* AimAnalitica overrides — sits on top of the Doccure template styles.
   Keep template classes/mechanics; only adjust spacing and add the
   floating-badge effect (borrowed from banner-section-twelve) to the
   home hero image. */

/* 1) Reduce the empty space above the hero content, but keep clear of the header.
   Content and terminal are now vertically centered (row align-items-center in
   index.php), so padding is even top/bottom instead of bottom-heavy. */
.banner-section-two.banner-home {
	padding-top: 110px;
}
.banner-section-two.banner-home .banner-content {
	padding: 60px 0;
}
@media (max-width: 1199.98px) {
	.banner-section-two.banner-home {
		padding-top: 100px;
	}
	.banner-section-two.banner-home .banner-content {
		padding: 20px 0 40px;
	}
}
@media (max-width: 767.98px) {
	.banner-section-two.banner-home {
		padding-top: 90px;
	}
}

/* 4) Floating badges around the hero image.
   Badges are positioned absolutely against this wrapper, so it must match
   the terminal's own width/centering (not the wider column) or the badge
   percentages land over the terminal's code instead of its edges. */
.banner-people {
	position: relative;
	z-index: 1;
	max-width: 560px;
	margin: 0 auto;
}
.banner-people .badge {
	position: absolute;
	padding: 10px 20px;
	border-radius: 100px;
	font-size: 15px;
	font-weight: 600;
	color: var(--gray-900);
	text-align: center;
	background: var(--white);
	z-index: 2;
}
/* All four badges sit just outside the terminal's corners (or over its
   empty title bar) rather than mid-edge over the code area — the code's
   line count changes as the typed script is edited, so a badge parked
   over a specific line of text breaks the next time that script grows. */
.banner-people .badge.one {
	top: -18px;
	left: -10px;
	animation: float 4s ease-in-out infinite;
}
.banner-people .badge.two {
	top: 2%;
	right: -10px;
	animation: float 3.6s ease-in-out infinite;
}
.banner-people .badge.three {
	bottom: -18px;
	left: -10px;
	animation: float 3.3s ease-in-out infinite;
}
.banner-people .badge.four {
	bottom: -18px;
	right: -10px;
	animation: float 4.1s ease-in-out infinite;
}
@media (max-width: 991.98px) {
	.banner-people .badge {
		display: none;
	}
}

/* "How Our Process Works" — swap the vivid blue/teal gradient (poor
   contrast for dark text) for a light neutral background */
.works-section-twelve {
	background: var(--light);
}

/* Tech partners dark strip — square corners, tighter top/bottom padding */
.company-section {
	border-radius: 0 !important;
	padding: 32px 0 !important;
}

/* Circular badge text — the template hard-codes a fixed angle per
   character (tuned for its original "Play Video" string length), so
   any longer sentence overlaps. Switch to the JS-computed --angle
   variable (360 / character count), like other animate-button
   variants already do, so a full sentence fits evenly. */
.about-img-twelve .animate-button .button-text > span {
	transform: rotate(calc(var(--angle) * var(--index) * 1deg));
	font-size: 11px;
}

/* Testimonial avatars — the template ships tiny placeholder JPGs
   (labelled with their own pixel dimensions) instead of real stock
   photos, which render as ugly stand-ins until real photos are
   supplied. Use initials avatars instead until then. */
.avatar-initials {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--primary-gradient);
	color: #fff;
	font-weight: 700;
	font-size: 18px;
}

/* Inner-page header band — our header is transparent with white text
   (designed to sit over the homepage hero gradient), so every inner
   page needs a colored band directly beneath it for the nav to stay
   readable. Reused across all non-home pages. */
.page-hero-band {
	background: var(--secondary-gradient);
	padding-top: 110px;
	padding-bottom: 60px;
	text-align: center;
	color: #fff;
}
.page-hero-band h1 {
	color: #fff;
	margin-bottom: 8px;
}
.page-hero-band p {
	color: rgba(255, 255, 255, 0.9);
}
.page-hero-band .breadcrumb {
	justify-content: center;
	background: transparent;
	margin-bottom: 12px;
}
.page-hero-band .breadcrumb-item,
.page-hero-band .breadcrumb-item a {
	color: rgba(255, 255, 255, 0.85);
}
.page-hero-band .breadcrumb-item.active {
	color: #fff;
}
.page-hero-band .breadcrumb-item + .breadcrumb-item::before {
	color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 1199.98px) {
	.page-hero-band {
		padding-top: 100px;
	}
}
@media (max-width: 767.98px) {
	.page-hero-band {
		padding-top: 90px;
	}
}

/* "How We Actually Build Software" — icon-font glyphs instead of images */
.work-item .work-icon i {
	font-size: 28px;
	color: #475569;
	transition: color 0.5s;
}
.work-item:hover .work-icon i {
	color: #fff;
}

/* Process steps — icon-font glyphs instead of lab-icon images */
.works-item-twelve .booking-icon i {
	position: relative;
	z-index: 1;
	font-size: 30px;
}


/* Bottom slider — keep it parallel like the top one, no diagonal tilt */
.slider-section-twelve {
	transform: none !important;
}

/* Services page stats band — pb-0 keeps it flush against the next section
   on desktop, but the stacked mobile layout needs breathing room after the
   last stat before the gray services section starts. */
@media (max-width: 767.98px) {
	.services-stats-section.pb-0 {
		padding-bottom: 30px !important;
	}
}

/* Tech partners strip — icon + label pairs instead of image logos */
.tech-partners .slide-item {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 0 24px;
}
.tech-partners .slide-item i {
	font-size: 26px;
	color: var(--primary);
}
.tech-partners .slide-item span {
	font-size: 18px;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
}

/* Services hero — same style as index-7's banner-section-seven, minus the
   overlapping photo (no matching transparent cutout asset for it), so the
   big heading doesn't need the large gap it normally reserves underneath. */
.services-hero-seven .banner-content h1 {
	margin-bottom: 24px;
}
@media (max-width: 575.98px) {
	.services-hero-seven .banner-content h1 {
		margin-bottom: 16px;
	}
}

/* Services page process steps — parallax section borrowed from index-7's
   appointment section. background-attachment: fixed only reads as parallax
   when there's a detailed image to track, so use the engineer photo instead
   of a flat gradient; the template's existing ::before dark overlay already
   keeps the step text readable over it. Disable the fixed attachment on
   mobile, where it's a known Safari/perf issue and the effect is lost anyway
   since the section fills the whole viewport there. */
.engagement-steps-section {
	background-image: url("../img/Services/engineering-team-seo-analytics-client-presentation.webp");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
}
@media (max-width: 767.98px) {
	.engagement-steps-section {
		background-attachment: scroll;
	}
}

/* About page "Why Work With Me" cards — icon-font glyph instead of the
   template's custom SVG icon files, matching the pattern already used for
   .work-item and .works-item-twelve elsewhere on the site. */
.choose-item-five .choose-icon i {
	font-size: 32px;
	color: var(--primary);
	transition: color 0.4s;
}
.choose-item-five:hover .choose-icon i {
	color: #fff;
}

/* About page bio bullets — icon-font glyph inside the circular badge,
   same reasoning as the choose-icon override above. */
.about-item-five .about-icon i {
	font-size: 28px;
	color: var(--primary);
}

/* About page hero — our header is transparent and overlays the hero (see
   the page-hero-band note below), but banner-section-five only ships 24px
   of top padding, so the nav collides with the hero content. Match the
   same clearance used for the home hero and page-hero-band. It also has no
   section-level background of its own (only the inner banner-content-five
   card does, inset below the padding), so the white nav text has nothing
   but the white page background behind it and disappears; extend the same
   gradient to the full section so the header has a colored backdrop. */
.banner-section-five {
	padding-top: 110px;
	background: var(--primary-gradient);
}
@media (max-width: 1199.98px) {
	.banner-section-five {
		padding-top: 100px;
	}
}
@media (max-width: 767.98px) {
	.banner-section-five {
		padding-top: 90px;
	}
}

/* About page client-logo strip — the template ships this with real SVG
   client logos we don't have; use icon + name placeholders in the same slot
   until real logos are supplied. */
.company-slider-five .slide-item {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 18px;
	font-weight: 600;
	color: var(--gray-900);
}
.company-slider-five .slide-item i {
	font-size: 22px;
	color: var(--primary);
}

/* About page "About Us" photo — the template ships this as a pre-composited
   diamond-cropped placeholder graphic (decorative accents baked into the
   image file itself), which can't be reused with a different photo. A CSS
   clip-path gets the same diamond silhouette with our own image instead. */
.about-img-diamond {
	max-width: 460px;
	margin: 0 auto;
}
.about-img-diamond .img-1 {
	clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
	aspect-ratio: 1 / 1;
	width: 100%;
	object-fit: cover;
}

/* About page "Ready to Build Something That Ships?" section — the template
   points at a 1600x838 placeholder background image, so use a purpose-built
   wide photo instead (the tall engineer-reviewing-system-architecture shot
   cropped down to nearly nothing legible at this aspect ratio). */
.experience-section-five {
	background-image: url("../img/about/experience-section-bg.jpg");
	background-size: cover;
	background-position: center;
}

/* About page closing tagline — the template's 90px size was tuned for a
   shorter line and wraps our copy onto 3 lines (the natural wrap plus the
   markup's own <br> before "Modern Technology."). Scale it down so the
   first line fits on one row and the <br> is the only break, matching the
   same breakpoints as the base rule in style.css. */
.video-section-five .title {
	font-size: 56px;
}
@media (max-width: 1399.98px) {
	.video-section-five .title {
		font-size: 42px;
	}
}
@media (max-width: 991.98px) {
	.video-section-five .title {
		font-size: 32px;
	}
}

/* Header/footer logo — the source SVG's intrinsic size (429x254) is far
   bigger than a navbar/footer logo needs; without a height cap it renders
   at full size and overflows the header. */
.header-two .header-nav .logo img,
.header-two .header-nav .menu-logo img {
	height: 40px;
	width: auto;
}
.footer-logo img {
	height: 48px;
	width: auto;
}

/* About page marquee — slider-section-five's -1deg rotated band relies on
   overflow: unset (see style.css) to bleed slightly outside its own box by
   design, but that leaves it sitting right on top of the About section
   above it instead of reading as a standalone strip. Nudge it down to clear. */
.slider-section-five {
	margin-top: 50px;
}

/* About page closing heading — the pt-0 class zeroes out the section's
   normal top padding, leaving the heading flush against the section above. */
.video-section-five {
	padding-top: 50px;
}

/* Reusable dark "code window" chrome (traffic-light dots + title bar) —
   used by the home hero terminal and the About section's file-tree
   mockup below, so both read as the same engineering-first visual
   language instead of a code block next to a stock photo. */
.code-window {
	width: 100%;
	background: #0d1117;
	border-radius: 16px;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
	overflow: hidden;
}
.code-window-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 16px;
	background: #161b22;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.code-window-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	display: inline-block;
}
.code-window-dot.dot-red {
	background: #ff5f56;
}
.code-window-dot.dot-yellow {
	background: #ffbd2e;
}
.code-window-dot.dot-green {
	background: #27c93f;
}
.code-window-title {
	margin-left: 8px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
	font-family: "Courier New", monospace;
}
.code-window-body {
	padding: 24px 20px;
}
.code-window-text {
	font-family: "Courier New", monospace;
	font-size: 14px;
	line-height: 1.8;
	color: #c9d1d9;
}
.term-line {
	white-space: pre;
	min-height: 1.8em;
}
.term-line--success {
	color: #3fb950;
}
.term-line--success::before {
	content: "\2713  ";
}
.term-caret {
	display: inline-block;
	width: 8px;
	height: 16px;
	margin-left: 2px;
	background: #58a6ff;
	vertical-align: text-bottom;
	animation: term-blink 1s step-end infinite;
}
@keyframes term-blink {
	50% {
		opacity: 0;
	}
}

/* Home hero terminal — sized to fit the typed deploy script (hero-terminal.js) */
.hero-terminal .code-window-body {
	min-height: 380px;
}

/* .header-two sits at z-index: 1050 (style.css), the same value Bootstrap
   gives .modal-backdrop, so the header stayed visible above the dimmed
   backdrop instead of being covered by it. Push the modal stack above it. */
.modal-backdrop {
	z-index: 1060;
}
.modal {
	z-index: 1065;
}
