/* ==========================================================================
   Techcoree — front-end styles
   Colors and fonts mirror Elementor → Site Settings (Global Colors / Fonts).
   ========================================================================== */

/* Self-hosted fonts (no Google request) ---------------------------------- */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Newsreader";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/newsreader-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--tc-navy: #04182c;
	--tc-navy-2: #16314f;
	--tc-ink: #0b1a2b;
	--tc-text: #4a5565;
	--tc-text-soft: #5b6577;
	--tc-muted-dark: #b6c0ce;
	--tc-panel: #eef2f5;
	--tc-border: #e6eaf0;
	--tc-page: #fcfcfc;
	--tc-radius: 8px;
	--tc-shadow: 0 8px 24px -6px rgba(16, 24, 40, 0.1);
	--tc-shadow-hover: 0 18px 40px -12px rgba(16, 24, 40, 0.22);
	--tc-header-h: 84px;
	--tc-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Base ------------------------------------------------------------------- */
html {
	scroll-behavior: smooth;
}
body.tc-site {
	background-color: var(--tc-page);
	color: var(--tc-text);
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
body.tc-site h1,
body.tc-site h2,
body.tc-site h3,
body.tc-site h4 {
	color: var(--tc-ink);
}
body.tc-site .entry-content h1,
body.tc-site .entry-content h2 {
	font-family: "Newsreader", Georgia, "Times New Roman", serif;
}
::selection {
	background: var(--tc-navy);
	color: #fff;
}
.tc-site :focus-visible {
	outline: 2px solid #3b82f6;
	outline-offset: 3px;
}
/* Anchored sections land below the sticky header. */
.tc-site [id] {
	scroll-margin-top: calc(var(--tc-header-h) + 24px);
}
.tc-site .elementor p:last-child {
	margin-bottom: 0;
}

/* Header (Astra Header Builder) ------------------------------------------ */
.tc-site #masthead {
	position: sticky;
	top: 0;
	z-index: 999;
	transition: box-shadow 0.25s var(--tc-ease);
}
.admin-bar.tc-site #masthead {
	top: 32px;
}
@media (max-width: 782px) {
	.admin-bar.tc-site #masthead {
		top: 46px;
	}
}
@media (max-width: 600px) {
	.admin-bar.tc-site #masthead {
		top: 0;
	}
}
.tc-site.tc-scrolled #masthead {
	box-shadow: 0 6px 24px -12px rgba(16, 24, 40, 0.18);
}
.tc-site .main-header-bar,
.tc-site .ast-primary-header-bar,
.tc-site .ast-mobile-header-wrap .ast-primary-header-bar {
	background: #fff;
}
.tc-site .ast-primary-header-bar .site-primary-header-wrap {
	max-width: calc(1280px + 64px);
	padding-left: 32px;
	padding-right: 32px;
}

/* Logo lockup: mark + TECHCOREE / DESIGN & DOCUMENTATION */
.tc-site .ast-site-identity {
	padding: 0;
}
.tc-site .site-branding .ast-site-title-wrap {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.tc-site .ast-logo-title-inline .ast-site-identity {
	gap: 12px;
}
.tc-site .ast-logo-title-inline .site-logo-img {
	padding-right: 0;
}
.tc-site .site-title,
.tc-site .site-title a,
.tc-site .site-title a:visited {
	font-family: "Inter", sans-serif;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.15em;
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--tc-ink);
	margin: 0;
}
.tc-site .site-title a:hover {
	color: var(--tc-navy-2);
}
.tc-site .site-header .site-description {
	font-family: "Inter", sans-serif;
	font-size: 9.5px;
	font-weight: 500;
	letter-spacing: 0.19em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--tc-text);
	margin: 4px 0 0;
}

/* Desktop menu */
.tc-site .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link {
	font-family: "Inter", sans-serif;
	font-size: 15px;
	font-weight: 500;
	color: var(--tc-ink);
	padding: 0 18px;
	position: relative;
}
.tc-site .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link::after {
	content: "";
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: calc(50% - 16px);
	height: 1.5px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s var(--tc-ease);
}
.tc-site .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link:hover::after {
	transform: scaleX(1);
}
.tc-site .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link:hover,
.tc-site .ast-builder-menu-1 .main-header-menu > .current-menu-item > .menu-link {
	color: var(--tc-navy);
}

/* "Get a Quote" header button */
.tc-site .ast-header-button-1 .ast-custom-button {
	font-family: "Inter", sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
	background: var(--tc-navy);
	border: 1px solid var(--tc-navy);
	border-radius: 4px;
	padding: 14px 28px;
	transition: background-color 0.2s, border-color 0.2s;
}
.tc-site .ast-header-button-1 .ast-custom-button:hover {
	color: #fff;
	background: var(--tc-navy-2);
	border-color: var(--tc-navy-2);
}

/* Mobile header + off-canvas menu */
.tc-site .ast-mobile-header-wrap .ast-primary-header-bar .site-primary-header-wrap {
	padding-left: 20px;
	padding-right: 20px;
}
.tc-site .ast-mobile-header-wrap .site-title,
.tc-site .ast-mobile-header-wrap .site-title a {
	font-size: 16px;
}
.tc-site .ast-mobile-header-wrap .site-description {
	font-size: 8.5px;
}
.tc-site .ast-button-wrap .menu-toggle.main-header-menu-toggle {
	background: transparent;
	color: var(--tc-ink);
	padding: 8px;
	border-radius: 4px;
}
.tc-site .ast-button-wrap .menu-toggle .ast-mobile-svg {
	width: 26px;
	height: 26px;
	fill: var(--tc-ink);
}
.tc-site .ast-mobile-popup-drawer .ast-mobile-popup-inner {
	background: #fff;
}
.tc-site .ast-mobile-popup-drawer .main-header-menu .menu-link {
	font-family: "Inter", sans-serif;
	font-size: 17px;
	font-weight: 500;
	color: var(--tc-ink);
	padding: 14px 24px;
	border-bottom: 1px solid var(--tc-border);
}
.tc-site .ast-mobile-popup-drawer .current-menu-item > .menu-link {
	color: var(--tc-navy);
	font-weight: 600;
}
.tc-site .ast-mobile-popup-drawer .ast-header-button-1 {
	padding: 24px;
}
.tc-site .ast-mobile-popup-drawer .ast-header-button-1 .ast-custom-button {
	display: block;
	text-align: center;
}

/* Section helpers -------------------------------------------------------- */
.tc-title-line .elementor-divider-separator {
	border-top-color: currentColor;
}

/* Service cards (Home) */
.tc-card {
	transition: transform 0.35s var(--tc-ease), box-shadow 0.35s var(--tc-ease);
}
.tc-card .elementor-widget-image {
	overflow: hidden;
}
.tc-card .elementor-widget-image img {
	transition: transform 0.6s var(--tc-ease);
}
@media (hover: hover) {
	.tc-card:hover {
		transform: translateY(-4px);
		box-shadow: var(--tc-shadow-hover) !important;
	}
	.tc-card:hover .elementor-widget-image img {
		transform: scale(1.04);
	}
}
.tc-card-badge .elementor-icon {
	box-shadow: 0 6px 16px -6px rgba(16, 24, 40, 0.25);
}
.tc-card .elementor-heading-title a {
	color: inherit;
}
/* Keep every card's "Learn More" on the same line, as in the design. */
.tc-card .tc-learn-more {
	margin-top: auto !important;
	padding-top: 14px;
}
.tc-service .elementor-widget-button:last-child {
	margin-top: auto !important;
	padding-top: 22px;
}
.tc-service {
	height: 100%;
}
.tc-learn-more .elementor-button-icon svg,
.tc-service .elementor-button-icon svg,
.tc-footer-cta .elementor-button-icon svg {
	transition: transform 0.25s var(--tc-ease);
}
.tc-learn-more .elementor-button:hover .elementor-button-icon svg,
.tc-service .elementor-button:hover .elementor-button-icon svg,
.tc-footer-cta .elementor-button:hover .elementor-button-icon svg {
	transform: translateX(3px);
}
/* The theme's icons (class "tc-icon") are line icons: colour the stroke, not the fill.
   Scoped to them so Font Awesome / library icons elsewhere keep their normal fill. */
.tc-site svg.tc-icon {
	fill: none !important;
	stroke: currentColor;
}
.elementor-button .elementor-button-icon svg.tc-icon {
	width: 1em;
	height: 1em;
}

/* Services page */
.tc-service .elementor-widget-image img {
	box-shadow: 0 10px 30px -14px rgba(16, 24, 40, 0.35);
}
.tc-service .elementor-icon-list-icon svg.tc-icon {
	stroke-width: 2.4;
}
.tc-service-custom .elementor-icon {
	color: var(--tc-navy);
}
.tc-included .elementor-icon-list-icon svg.tc-icon {
	stroke-width: 2.4;
}

/* Process */
.tc-step .elementor-icon {
	transition: transform 0.3s var(--tc-ease);
}
@media (hover: hover) {
	.tc-step:hover .elementor-icon {
		transform: translateY(-3px);
	}
}
@media (max-width: 767px) {
	.tc-step-arrow {
		display: none !important;
	}
}

/* About values */
.tc-value {
	transition: border-color 0.25s, box-shadow 0.25s;
}
@media (hover: hover) {
	.tc-value:hover {
		box-shadow: var(--tc-shadow);
	}
}

/* Contact page */
.tc-contact-value a {
	color: var(--tc-ink);
	text-decoration: none;
	border-bottom: 1px solid rgba(11, 26, 43, 0.25);
}
.tc-contact-value a:hover {
	border-bottom-color: currentColor;
}
.tc-next-steps ol {
	margin: 0 0 0 1.2em;
	padding: 0;
}
.tc-next-steps li {
	margin-bottom: 4px;
	padding-left: 4px;
}

/* Footer ----------------------------------------------------------------- */
.tc-site-footer {
	margin: 0;
}
.tc-hide-footer-cta .tc-footer-cta {
	display: none !important;
}
.tc-footer-main a,
.tc-footer-main .elementor-icon-list-text {
	transition: color 0.2s;
}
.tc-footer-contact a {
	color: #c9d1dc;
	text-decoration: none;
}
.tc-footer-contact a:hover {
	color: #fff;
}
.tc-footer-contact p {
	margin: 0 0 8px;
}

/* Portfolio widget ------------------------------------------------------- */
.tc-portfolio {
	--tc-columns: 3;
	--tc-gap: 22px;
	--tc-ratio: 16 / 10;
	--tc-radius: 6px;
}
.tc-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}
/* Doubled class beats Elementor's kit-wide `button` styles. */
.tc-filters .tc-filter.tc-filter {
	font-family: "Inter", sans-serif;
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	padding: 9px 18px;
	border-radius: 4px;
	border: 1px solid var(--tc-border);
	background: #fff;
	color: var(--tc-ink);
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.tc-filters .tc-filter.tc-filter:hover,
.tc-filters .tc-filter.tc-filter:focus {
	border-color: var(--tc-navy);
	background: #fff;
	color: var(--tc-ink);
}
.tc-filters .tc-filter.tc-filter.is-active {
	background: var(--tc-navy);
	border-color: var(--tc-navy);
	color: #fff;
}
.tc-portfolio--dark .tc-filters .tc-filter.tc-filter {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.4);
	color: #fff;
}
.tc-portfolio--dark .tc-filters .tc-filter.tc-filter:hover,
.tc-portfolio--dark .tc-filters .tc-filter.tc-filter:focus {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}
.tc-portfolio--dark .tc-filters .tc-filter.tc-filter.is-active {
	background: #fff;
	border-color: #fff;
	color: var(--tc-navy);
}
.tc-portfolio__grid {
	display: grid;
	grid-template-columns: repeat(var(--tc-columns), minmax(0, 1fr));
	gap: calc(var(--tc-gap) + 6px) var(--tc-gap);
	list-style: none;
	margin: 0;
	padding: 0;
}
.tc-portfolio--full .tc-filters ~ .tc-portfolio__grid {
	margin-top: 28px;
}
.tc-portfolio__item {
	margin: 0;
	animation: tc-fade-in 0.35s var(--tc-ease);
}
.tc-portfolio__item[hidden] {
	display: none;
}
@keyframes tc-fade-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
.tc-portfolio__figure {
	margin: 0;
	position: relative;
}
.tc-portfolio__media {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: var(--tc-radius);
	aspect-ratio: var(--tc-ratio);
	background: #dfe5ec;
}
.tc-portfolio__img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform 0.6s var(--tc-ease);
}
@media (hover: hover) {
	.tc-portfolio__media:hover .tc-portfolio__img {
		transform: scale(1.04);
	}
}
.tc-portfolio__caption {
	margin-top: 12px;
}
.tc-portfolio__title {
	font-family: "Inter", sans-serif;
	font-size: 16.5px;
	font-weight: 500;
	line-height: 1.35;
	margin: 0;
	color: var(--tc-ink);
}
.tc-portfolio__meta {
	font-family: "Inter", sans-serif;
	font-size: 14px;
	line-height: 1.4;
	margin: 3px 0 0;
	color: var(--tc-text-soft);
}
.tc-portfolio--dark .tc-portfolio__title {
	color: #fff;
}
.tc-portfolio--dark .tc-portfolio__meta {
	color: var(--tc-muted-dark);
}

/* Overlay captions (Portfolio page) */
.tc-caption--overlay .tc-portfolio__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 40px 18px 16px;
	border-radius: 0 0 var(--tc-radius) var(--tc-radius);
	background: linear-gradient(180deg, rgba(4, 24, 44, 0) 0%, rgba(4, 24, 44, 0.85) 100%);
	pointer-events: none;
	transition: opacity 0.3s var(--tc-ease), transform 0.3s var(--tc-ease);
}
.tc-caption--overlay .tc-portfolio__title {
	color: #fff;
	font-size: 16.5px;
}
.tc-caption--overlay .tc-portfolio__meta {
	color: #d3dae4;
}
@media (hover: hover) {
	.tc-caption--overlay .tc-portfolio__caption {
		opacity: 0;
		transform: translateY(6px);
	}
	.tc-caption--overlay .tc-portfolio__item:hover .tc-portfolio__caption,
	.tc-caption--overlay .tc-portfolio__item:focus-within .tc-portfolio__caption {
		opacity: 1;
		transform: none;
	}
}

/* Quote form ------------------------------------------------------------- */
.tc-quote-form .tc-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.tc-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 20px;
}
.tc-field--full {
	grid-column: 1 / -1;
}
.tc-field label {
	display: block;
	font-family: "Inter", sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: var(--tc-ink);
	margin-bottom: 7px;
}
.tc-req {
	color: #b42318;
}
.tc-quote-form input[type="text"],
.tc-quote-form input[type="email"],
.tc-quote-form input[type="tel"],
.tc-quote-form select,
.tc-quote-form textarea {
	width: 100%;
	font-family: "Inter", sans-serif;
	font-size: 16px;
	line-height: 1.4;
	color: var(--tc-ink);
	background: #fff;
	border: 1px solid #d6dce4;
	border-radius: 6px;
	padding: 12px 14px;
	box-shadow: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.tc-quote-form input[type="text"],
.tc-quote-form input[type="email"],
.tc-quote-form input[type="tel"],
.tc-quote-form select {
	height: auto;
	min-height: 48px;
}
.tc-quote-form select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230b1a2b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
}
.tc-quote-form textarea {
	min-height: 140px;
	resize: vertical;
}
.tc-quote-form input:focus,
.tc-quote-form select:focus,
.tc-quote-form textarea:focus {
	outline: none;
	border-color: var(--tc-navy);
	box-shadow: 0 0 0 3px rgba(4, 24, 44, 0.12);
}
.tc-quote-form ::placeholder {
	color: #6b7280;
	opacity: 1;
}
.tc-field.has-error input,
.tc-field.has-error select,
.tc-field.has-error textarea {
	border-color: #b42318;
}
.tc-field-error {
	font-size: 13px;
	color: #b42318;
	margin: 6px 0 0;
}
.tc-form-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 20px;
	margin-top: 24px;
}
.tc-quote-form .tc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: "Inter", sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	border-radius: 4px;
	padding: 16px 32px;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s;
}
.tc-quote-form .tc-btn--primary {
	background: var(--tc-navy);
	border: 1px solid var(--tc-navy);
	color: #fff;
}
.tc-quote-form .tc-btn--primary:hover,
.tc-quote-form .tc-btn--primary:focus {
	background: var(--tc-navy-2);
	border-color: var(--tc-navy-2);
	color: #fff;
}
.tc-form-note {
	flex: 1 1 220px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--tc-text-soft);
	margin: 0;
}
.tc-form-notice {
	font-size: 15px;
	line-height: 1.55;
	border-radius: 6px;
	padding: 14px 16px;
	margin-bottom: 22px;
}
.tc-form-notice strong {
	display: block;
	margin-bottom: 2px;
}
.tc-form-notice--success {
	background: #ecfdf3;
	border: 1px solid #abefc6;
	color: #05603a;
}
.tc-form-notice--error {
	background: #fef3f2;
	border: 1px solid #fecdca;
	color: #912018;
}
@media (max-width: 767px) {
	.tc-form-grid {
		grid-template-columns: 1fr;
	}
	.tc-quote-form .tc-btn {
		width: 100%;
	}
}

/* Motion preferences ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.tc-site *,
	.tc-site *::before,
	.tc-site *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}
