/**
 * TalentLeap – global layout, spacing & alignment
 */

:root {
	--tlh-section-y: clamp(56px, 7vw, 96px);
	--tlh-gutter: clamp(20px, 3vw, 40px);
	--tlh-radius: 20px;
	--tlh-max: 1180px;
}

/* Unified container */
.tlh-container,
.header .container-fluid.tlh-container,
#header-wrap .container-fluid.tlh-container {
	width: 100%;
	max-width: var(--tlh-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--tlh-gutter);
	padding-right: var(--tlh-gutter);
}

.tlh-section {
	padding-top: var(--tlh-section-y);
	padding-bottom: var(--tlh-section-y);
}

.tlh-section--first {
	padding-top: clamp(24px, 3vw, 40px);
}

.tlh-section--cta {
	padding-top: 0;
	padding-bottom: clamp(24px, 3vw, 40px);
}

.tlh-page-cta {
	border-radius: var(--tlh-radius);
	padding: clamp(40px, 5vw, 56px) clamp(28px, 4vw, 40px);
	box-sizing: border-box;
}

.tlh-page-cta__text {
	opacity: 0.88;
	font-size: 1.05rem;
	line-height: 1.6;
}

/* Footer */
.tlh-footer.footer.primary-bg {
	margin: 0;
	border-radius: 0;
	margin-top: clamp(24px, 3vw, 40px);
}

.tlh-footer__main {
	padding: clamp(48px, 6vw, 72px) 0 clamp(32px, 4vw, 48px);
}

.tlh-footer__title {
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 1.25rem;
}

.tlh-footer__tagline {
	font-size: 15px;
	line-height: 1.65;
	opacity: 0.88;
	margin-bottom: 1.25rem;
	max-width: 320px;
}

.tlh-footer__links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.tlh-footer__links li {
	margin-bottom: 0.65rem;
}

.tlh-footer__links a {
	font-size: 15px;
	text-decoration: none;
}

.tlh-footer__contact {
	list-style: none;
	padding: 0;
	margin: 0;
}

.tlh-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 0.85rem;
	font-size: 15px;
}

.tlh-footer__contact i {
	color: var(--themeht-secondary-color);
	flex-shrink: 0;
	margin-top: 3px;
}

.tlh-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	font-size: 16px;
	transition: background 0.2s ease;
}

.tlh-footer__social a:hover {
	background: rgba(255, 255, 255, 0.2);
}

.tlh-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 20px 0;
}

.tlh-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
	opacity: 0.75;
}

.tlh-footer__credit {
	font-size: 13px;
}

@media (max-width: 767px) {
	.tlh-footer__bottom-inner {
		flex-direction: column;
		text-align: center;
	}
}

.page-content.tlh-front,
.page-content.tlh-about-page,
.page-content.tlh-services-page,
.page-content.tlh-contact-page {
	margin: 0;
	padding: 0;
}

/* Inner page hero — same container width as homepage hero card */
.tlh-page-hero {
	padding-bottom: 0;
}

.tlh-page-hero__card {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(200px, 28vw, 280px);
	border-radius: var(--tlh-radius);
	background: var(--themeht-primary-color);
	overflow: hidden;
}

.tlh-page-hero__body {
	position: relative;
	z-index: 2;
	flex: 1;
	min-width: 0;
	max-width: 720px;
	padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 48px);
}

.tlh-page-hero__label {
	display: inline-block;
	margin: 0 0 14px;
	padding: 8px 14px;
	background: rgba(255, 255, 255, 0.12);
	border-radius: 6px;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--themeht-secondary-color);
}

.tlh-page-hero__title {
	margin: 0 0 12px;
	color: #fff !important;
	font-size: clamp(2rem, 4.5vw, 2.75rem);
	line-height: 1.12;
	font-weight: 700;
}

.tlh-page-hero .tlh-breadcrumb {
	margin: 0;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.78);
}

.tlh-page-hero .tlh-breadcrumb a {
	color: #fff;
	text-decoration: none;
}

.tlh-page-hero .tlh-breadcrumb a:hover {
	color: var(--themeht-secondary-color);
}

.tlh-page-hero .tlh-breadcrumb span[aria-hidden="true"] {
	margin: 0 8px;
	opacity: 0.55;
}

.tlh-page-hero__accent {
	position: absolute;
	right: clamp(24px, 6vw, 72px);
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
	width: clamp(140px, 22vw, 220px);
	height: clamp(140px, 22vw, 220px);
	pointer-events: none;
}

.tlh-page-hero__ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid rgba(249, 214, 123, 0.35);
}

.tlh-page-hero__ring--sm {
	inset: 18%;
	border-color: rgba(249, 214, 123, 0.2);
}

.tlh-page-hero__card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		105deg,
		rgba(1, 78, 78, 1) 0%,
		rgba(1, 78, 78, 0.98) 55%,
		rgba(1, 78, 78, 0.88) 100%
	);
	z-index: 0;
}

@media (max-width: 767px) {
	.tlh-page-hero__accent {
		opacity: 0.45;
		right: 16px;
		width: 100px;
		height: 100px;
	}

	.tlh-page-hero__body {
		padding: clamp(28px, 6vw, 40px) clamp(22px, 5vw, 28px);
	}
}

/* Inner pages use section + container */
.page-content .section-padding,
.page-content .tlh-section {
	padding-left: 0;
	padding-right: 0;
}

.page-content > .section-padding,
.page-content > .tlh-section {
	padding-top: var(--tlh-section-y);
	padding-bottom: var(--tlh-section-y);
}

.page-content .tlh-container .theme-title {
	margin-bottom: 2rem;
}

.page-content .tlh-container .theme-title.text-center {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.tlh-lead {
	font-size: 1.125rem;
	line-height: 1.7;
	color: #555;
}

.tlh-media {
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* Hero card */
.tlh-hero-card__inner {
	position: relative;
	min-height: clamp(420px, 54vh, 560px);
	border-radius: var(--tlh-radius);
	background-size: cover;
	background-position: center center;
	overflow: hidden;
}

.tlh-hero-card__inner::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		115deg,
		rgba(1, 78, 78, 0.94) 0%,
		rgba(1, 78, 78, 0.82) 42%,
		rgba(1, 78, 78, 0.65) 68%,
		rgba(1, 78, 78, 0.45) 100%
	);
	z-index: 0;
}

.tlh-hero-card__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	min-height: clamp(420px, 54vh, 560px);
}

@media (min-width: 992px) {
	.tlh-hero-card__grid {
		grid-template-columns: 1.05fr 0.95fr;
		gap: 16px 32px;
	}
}

.tlh-hero-card__content {
	padding: clamp(32px, 5vw, 56px);
	color: #fff;
}

@media (min-width: 992px) {
	.tlh-hero-card__content {
		padding-right: 16px;
	}
}

.tlh-hero-card__visual {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
	padding: 0 clamp(24px, 4vw, 40px) clamp(32px, 4vw, 48px);
}

@media (min-width: 992px) {
	.tlh-hero-card__visual {
		padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) clamp(32px, 4vw, 48px) 0;
		align-items: flex-end;
	}
}

.tlh-hero-card__art {
	width: 100%;
	max-width: 340px;
	line-height: 0;
}

.tlh-hero-card__illustration {
	width: 100%;
	height: auto;
	display: block;
	filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.2));
}

.tlh-hero-card__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	width: 100%;
	max-width: 340px;
}

@media (min-width: 992px) {
	.tlh-hero-card__pills {
		justify-content: flex-end;
	}
}

.tlh-hero-card__pills li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: rgba(255, 255, 255, 0.96);
	border-radius: 50px;
	font-size: 12px;
	font-weight: 600;
	color: var(--themeht-primary-color);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.tlh-hero-card__pills li i {
	font-size: 15px;
	flex-shrink: 0;
}

/* Illustration blocks (homepage + inner pages) */
.tlh-who-visual,
.tlh-inner-visual {
	position: relative;
	border-radius: var(--tlh-radius);
	overflow: hidden;
	box-shadow: 0 24px 56px rgba(1, 78, 78, 0.1);
	background: var(--themeht-light-color);
}

.tlh-inner-visual--plain,
.tlh-inner-visual--compact {
	box-shadow: 0 16px 40px rgba(1, 78, 78, 0.08);
}

.tlh-inner-visual--compact {
	max-width: 420px;
}

.tlh-who-visual__svg,
.tlh-inner-visual__svg {
	width: 100%;
	height: auto;
	display: block;
	vertical-align: middle;
}

.tlh-who-visual__tags,
.tlh-inner-visual__tags {
	position: absolute;
	left: 16px;
	bottom: 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tlh-who-visual__tags li,
.tlh-inner-visual__tags li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: rgba(255, 255, 255, 0.96);
	border-radius: 50px;
	font-size: 12px;
	font-weight: 600;
	color: var(--themeht-primary-color);
	box-shadow: 0 6px 20px rgba(1, 78, 78, 0.12);
}

.tlh-who-visual__tags li i,
.tlh-inner-visual__tags li i {
	color: var(--themeht-secondary-color);
	font-size: 15px;
}

/* Team + testimonial cards */
.tlh-team-card {
	height: 100%;
	padding: 28px 22px;
	text-align: center;
	border-radius: var(--tlh-radius);
	background: #fff;
	border: 1px solid #eee;
}

.tlh-team-card__avatar {
	width: 72px;
	height: 72px;
	margin: 0 auto 16px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--themeht-primary-color);
	background: var(--themeht-secondary-color);
}

.tlh-team-card h4 {
	font-size: 1.1rem;
	margin-bottom: 6px;
}

.tlh-team-card p {
	color: #666;
	font-size: 15px;
}

.page-content .tlh-testimonial-section {
	padding-top: 0;
	padding-bottom: 0;
	background: none;
}

.tlh-testimonial-box {
	position: relative;
	padding: clamp(48px, 6vw, 72px) clamp(20px, 4vw, 40px);
	border-radius: var(--tlh-radius);
	overflow: hidden;
	background: var(--themeht-primary-color) url('../images/testimonial-bg.jpg') center / cover no-repeat;
}

.tlh-testimonial-box::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(1, 78, 78, 0.94) 0%, rgba(1, 78, 78, 0.88) 100%);
	z-index: 0;
}

.tlh-testimonial-box > * {
	position: relative;
	z-index: 1;
}

.tlh-testimonial-box .theme-title p,
.tlh-testimonial-box .theme-title h2 {
	color: #fff;
}

.tlh-testimonial-box .section-desc {
	color: rgba(255, 255, 255, 0.85);
}

.tlh-testimonial-card {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
	color: #fff;
	padding: 8px 24px 24px;
}

.tlh-testimonial-card__avatar {
	width: 64px;
	height: 64px;
	margin: 0 auto 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: 700;
	color: var(--themeht-primary-color);
	background: var(--themeht-secondary-color);
}

.tlh-testimonial-card__quote {
	margin: 0 0 20px;
	border: 0;
}

.tlh-testimonial-card__quote p {
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	line-height: 1.65;
	font-style: italic;
	opacity: 0.95;
}

.tlh-testimonial-card__meta {
	display: block;
	font-style: normal;
}

.tlh-testimonial-card__meta strong {
	display: block;
	font-size: 1rem;
	margin-bottom: 4px;
}

.tlh-testimonial-card__meta span {
	font-size: 14px;
	opacity: 0.8;
}

.tlh-testimonial-box .testimonial-swiper {
	padding-bottom: 48px;
}

.tlh-testimonial-box .swiper-button-prev,
.tlh-testimonial-box .swiper-button-next {
	color: #fff;
}

.tlh-testimonial-box .swiper-button-prev::after,
.tlh-testimonial-box .swiper-button-next::after {
	font-size: 22px;
}

.tlh-empty-state {
	max-width: 520px;
	margin: 0 auto;
}

.tlh-empty-state .tlh-lead {
	margin-bottom: 1.5rem;
}

@media (max-width: 575px) {
	.tlh-hero-card__lead {
		max-width: none;
	}

	.tlh-who-visual__tags,
	.tlh-inner-visual__tags {
		position: static;
		padding: 12px 16px 16px;
		background: #fff;
	}
}

.tlh-hero-card__brand {
	display: inline-block;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 13px;
	color: var(--themeht-secondary-color);
	margin-bottom: 12px;
}

.tlh-hero-card__title {
	color: #fff !important;
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	line-height: 1.12;
	margin-bottom: 16px;
}

.tlh-hero-card__lead {
	font-size: clamp(1rem, 2vw, 1.2rem);
	opacity: 0.92;
	margin-bottom: 28px;
	max-width: 36em;
}

.tlh-hero-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

/* Hero secondary CTA — no outline border */
.tlh-hero-card .themeht-btn.outline-btn {
	background: transparent;
	border: none;
	color: #fff;
}

.tlh-hero-card .themeht-btn.outline-btn .btn-text {
	background: rgba(255, 255, 255, 0.14);
	border: none;
	color: #fff;
}

.tlh-hero-card .themeht-btn.outline-btn .btn-icon1,
.tlh-hero-card .themeht-btn.outline-btn .btn-icon2 {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.tlh-hero-card .themeht-btn.outline-btn .btn-icon1 i,
.tlh-hero-card .themeht-btn.outline-btn .btn-icon2 i {
	color: #fff;
}

.tlh-hero-card .themeht-btn.outline-btn:hover .btn-text {
	background: #fff;
	color: var(--themeht-primary-color);
}

.tlh-hero-card .themeht-btn.outline-btn:hover .btn-icon1,
.tlh-hero-card .themeht-btn.outline-btn:hover .btn-icon2 {
	background: #fff;
}

.tlh-hero-card .themeht-btn.outline-btn:hover .btn-icon1 i,
.tlh-hero-card .themeht-btn.outline-btn:hover .btn-icon2 i {
	color: var(--themeht-primary-color);
}

/* Value & service cards */
.tlh-value-card,
.tlh-service-card {
	height: 100%;
	padding: 28px 24px;
	border-radius: var(--tlh-radius);
	background: #fff;
	border: 1px solid #eee;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.tlh-value-card:hover,
.tlh-service-card:hover {
	box-shadow: 0 16px 48px rgba(1, 78, 78, 0.08);
	transform: translateY(-2px);
}

.tlh-value-card__icon,
.tlh-service-card__icon {
	width: 52px;
	height: 52px;
	line-height: 52px;
	text-align: center;
	border-radius: 12px;
	background: var(--themeht-light-color);
	color: var(--themeht-primary-color);
	font-size: 22px;
	margin-bottom: 18px;
}

.tlh-value-card h4,
.tlh-service-card h4 {
	margin-bottom: 10px;
	font-size: 1.15rem;
}

.tlh-value-card p,
.tlh-service-card p {
	color: #666;
	font-size: 15px;
	line-height: 1.6;
}

/* Entry content width on inner pages */
.tlh-entry {
	max-width: 760px;
}

.tlh-entry.entry-content--wide {
	max-width: none;
}

.tlh-single-post {
	max-width: 760px;
}

/* Blog grid alignment */
.tlh-blog-grid {
	--bs-gutter-x: 1.5rem;
	--bs-gutter-y: 1.5rem;
}

/* Header uses same tlh-container as page content */
#header-wrap > .tlh-container {
	padding-left: var(--tlh-gutter);
	padding-right: var(--tlh-gutter);
}

/* Legacy footer containers (unused) */
.footer .container-fluid {
	max-width: var(--tlh-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--tlh-gutter);
	padding-right: var(--tlh-gutter);
}

/* Reveal */
.tlh-reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.tlh-reveal.tlh-visible {
	opacity: 1;
	transform: none;
}

@media (max-width: 991px) {
	.tlh-hero-card__actions {
		flex-direction: column;
		align-items: flex-start;
	}
}

[id] {
	scroll-margin-top: 100px;
}

html {
	scroll-behavior: smooth;
}
