/* ==========================================================================
   Thirvusoft 3D theme — white & blue
   Loaded after bootstrap.min.css and style.css. Everything new is prefixed
   "tv-". The "Legacy components" section restyles the classes the existing
   pages already use, so every page picks up the new look without rewrites.
   ========================================================================== */

:root {
	--tv-50: #f3f8ff;
	--tv-100: #e4efff;
	--tv-200: #c6dcff;
	--tv-300: #98c0ff;
	--tv-400: #5e9cff;
	--tv-500: #2f7bf5;
	--tv-600: #1b63e0;
	--tv-700: #154fba;
	--tv-800: #133f8f;
	--tv-900: #0c2a63;
	--tv-950: #071a3f;
	--tv-cyan: #22b8f0;

	--tv-ink: #0b1736;
	--tv-text: #3d4d6d;
	--tv-muted: #6a7a99;
	--tv-line: rgba(21, 79, 186, .12);
	--tv-line-strong: rgba(21, 79, 186, .22);
	--tv-surface: #ffffff;
	--tv-surface-2: #f6f9ff;

	--tv-grad: linear-gradient(120deg, var(--tv-600) 0%, var(--tv-500) 45%, var(--tv-cyan) 100%);
	--tv-grad-deep: linear-gradient(135deg, var(--tv-950) 0%, var(--tv-800) 45%, var(--tv-600) 100%);

	--tv-radius-sm: 10px;
	--tv-radius: 18px;
	--tv-radius-lg: 28px;
	--tv-shadow-sm: 0 2px 8px rgba(12, 42, 99, .06);
	--tv-shadow: 0 10px 30px -10px rgba(12, 42, 99, .18), 0 2px 6px rgba(12, 42, 99, .05);
	--tv-shadow-lg: 0 30px 60px -20px rgba(12, 42, 99, .30), 0 10px 20px -10px rgba(27, 99, 224, .18);
	--tv-glow: 0 10px 30px -6px rgba(27, 99, 224, .55);

	--tv-font: "Plus Jakarta Sans", "Noto Sans Tamil", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--tv-mono: "JetBrains Mono", ui-monospace, monospace;
	--tv-header-h: 78px;
	--tv-ease: cubic-bezier(.2, .8, .2, 1);

	/* keep the old variables in step with the new palette */
	--primary: var(--tv-600);
	--dark: var(--tv-900);
	--lightdark: var(--tv-700);
	--light: var(--tv-50);
	--color-light: #f8fbff;
	--secondary: var(--tv-500);
}

/* ---------- Base ---------- */
/* Off-canvas menu and reveal animations must never create sideways scrolling */
html:has(.tv-site), html:has(.tv-header) { overflow-x: clip; }
body.tv-site {
	font-family: var(--tv-font);
	color: var(--tv-text);
	background: var(--tv-surface);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip; /* "hidden" would turn body into a scroll container and break position: sticky */
}
.tv-site h1, .tv-site h2, .tv-site h3, .tv-site h4, .tv-site h5, .tv-site h6,
.tv-site .h1, .tv-site .h2, .tv-site .h3, .tv-site .h4, .tv-site .h5, .tv-site .h6 {
	font-family: var(--tv-font);
	color: var(--tv-ink);
	letter-spacing: -.02em;
	line-height: 1.2;
}
.tv-site h1, .tv-site .h1 { font-weight: 800 !important; }
.tv-site h2, .tv-site .h2, .tv-site h3, .tv-site .h3 { font-weight: 700 !important; }
.tv-site h4, .tv-site h5, .tv-site h6 { font-weight: 700; }
.tv-site .display-1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.tv-site .display-3 { font-size: clamp(2rem, 4vw, 3.2rem); }
.tv-site .display-5 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
.tv-site .display-6 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.tv-site h1:not([class*="display"]) { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.tv-site h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.tv-site p { color: var(--tv-text); }
.tv-site a { color: var(--tv-600); text-decoration: none; transition: color .2s; }
.tv-site a:hover { color: var(--tv-800); }
.tv-site ::selection { background: var(--tv-200); color: var(--tv-ink); }
.tv-site img { max-width: 100%; }
.tv-site :focus-visible { outline: 3px solid var(--tv-400); outline-offset: 3px; border-radius: 6px; }
.tv-site .text-primary { color: var(--tv-600) !important; }
.tv-site .text-secondary { color: var(--tv-500) !important; }
.tv-site .bg-primary { background: var(--tv-grad-deep) !important; }
.tv-site .bg-light { background: var(--tv-surface-2) !important; }

.tv-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 575px) { .tv-container { padding: 0 16px; } }

.tv-skip { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--tv-600); color: #fff !important; padding: 8px 14px; border-radius: 8px; }
.tv-skip:focus { left: 12px; }

/* ---------- Buttons, chips, eyebrows ---------- */
.tv-btn {
	--_bg: var(--tv-600);
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
	font-family: var(--tv-font); font-weight: 700; font-size: .95rem; line-height: 1.2;
	cursor: pointer; white-space: nowrap; position: relative; isolation: isolate; overflow: hidden;
	transition: transform .25s var(--tv-ease), box-shadow .25s var(--tv-ease), background .25s, color .25s, border-color .25s;
}
.tv-btn i { transition: transform .25s var(--tv-ease); }
.tv-btn:hover i.fa-arrow-right { transform: translateX(4px); }
.tv-btn:hover { transform: translateY(-2px); }
.tv-btn:active { transform: translateY(0); }
.tv-btn--primary { background: var(--tv-grad); color: #fff !important; box-shadow: var(--tv-glow); }
.tv-btn--primary::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%);
	transform: translateX(-120%); transition: transform .7s var(--tv-ease);
}
.tv-btn--primary:hover::after { transform: translateX(120%); }
.tv-btn--primary:hover { box-shadow: 0 16px 36px -8px rgba(27, 99, 224, .6); }
.tv-btn--outline { background: #fff; color: var(--tv-700) !important; border-color: var(--tv-line-strong); box-shadow: var(--tv-shadow-sm); }
.tv-btn--outline:hover { border-color: var(--tv-500); color: var(--tv-600) !important; }
.tv-btn--white { background: #fff; color: var(--tv-700) !important; box-shadow: 0 12px 30px -10px rgba(0,0,0,.35); }
.tv-btn--ghost-light { background: rgba(255,255,255,.1); color: #fff !important; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.tv-btn--ghost-light:hover { background: rgba(255,255,255,.2); }
.tv-btn--sm { padding: .6rem 1.1rem; font-size: .875rem; }

.tv-chip {
	display: inline-flex; align-items: center; gap: .45rem;
	padding: .4rem .85rem; border-radius: 999px;
	background: rgba(255,255,255,.75); border: 1px solid var(--tv-line-strong);
	color: var(--tv-700); font-size: .8rem; font-weight: 700; letter-spacing: .01em;
	box-shadow: var(--tv-shadow-sm); backdrop-filter: blur(8px);
}
.tv-chip i { color: var(--tv-500); }
.tv-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: tv-ping 2s infinite; }
@keyframes tv-ping { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70%,100% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } }

.tv-eyebrow, .tv-site .section-title {
	display: inline-flex; align-items: center; gap: .6rem;
	font-family: var(--tv-mono); font-size: .78rem !important; font-weight: 500 !important;
	letter-spacing: .16em !important; text-transform: uppercase; color: var(--tv-600) !important;
	margin-bottom: 1rem;
}
.tv-eyebrow::before, .tv-site .section-title::before {
	content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--tv-grad);
}
.tv-eyebrow--light { color: var(--tv-200) !important; }
.tv-eyebrow--light::before { background: #fff; }

.tv-grad-text {
	background: var(--tv-grad); -webkit-background-clip: text; background-clip: text;
	color: transparent !important; -webkit-text-fill-color: transparent;
}

/* ---------- Section scaffolding ---------- */
.tv-section { position: relative; padding: clamp(64px, 9vw, 120px) 0; }
.tv-section--tint { background: linear-gradient(180deg, #fff 0%, var(--tv-50) 50%, #fff 100%); }
.tv-section__head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.tv-section__head h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); margin-bottom: .9rem; }
.tv-section__head p { font-size: 1.075rem; color: var(--tv-muted); margin: 0; }
.tv-section__head--left { text-align: left; margin-left: 0; }

/* ---------- Loader (3D cube) ---------- */
.tv-loader {
	position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center;
	background: #fff; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s;
}
.tv-loader.show { opacity: 1; visibility: visible; }
.tv-loader__cube { width: 46px; height: 46px; position: relative; transform-style: preserve-3d; animation: tv-cube-spin 1.6s var(--tv-ease) infinite; }
.tv-loader__cube span { position: absolute; inset: 0; border: 2px solid var(--tv-500); background: rgba(47,123,245,.12); }
.tv-loader__cube span:nth-child(1) { transform: translateZ(23px); }
.tv-loader__cube span:nth-child(2) { transform: rotateY(180deg) translateZ(23px); }
.tv-loader__cube span:nth-child(3) { transform: rotateY(90deg) translateZ(23px); }
.tv-loader__cube span:nth-child(4) { transform: rotateY(-90deg) translateZ(23px); }
.tv-loader__cube span:nth-child(5) { transform: rotateX(90deg) translateZ(23px); }
.tv-loader__cube span:nth-child(6) { transform: rotateX(-90deg) translateZ(23px); }
@keyframes tv-cube-spin { 0% { transform: rotateX(-25deg) rotateY(0); } 100% { transform: rotateX(-25deg) rotateY(360deg); } }

/* ---------- Scroll progress ---------- */
.tv-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1100; pointer-events: none; }
.tv-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--tv-grad); box-shadow: 0 0 12px rgba(47,123,245,.6); }

/* ==========================================================================
   Header & navigation
   ========================================================================== */
/* The glass effect lives on ::before: a backdrop-filter on the header itself
   would make it the containing block for the fixed mobile drawer. */
.tv-header {
	position: sticky; top: 0; z-index: 1000; height: var(--tv-header-h); isolation: isolate;
	border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
	font-family: var(--tv-font);
}
.tv-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: rgba(255,255,255,.8); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
	transition: background .3s;
}
.tv-header.is-scrolled { border-color: var(--tv-line); box-shadow: 0 8px 30px -12px rgba(12,42,99,.18); }
.tv-header.is-scrolled::before { background: rgba(255,255,255,.93); }
.tv-header__inner { max-width: 1320px; height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 24px; }
.tv-brand { flex-shrink: 0; display: flex; align-items: center; }
.tv-brand img { height: 56px; width: auto; display: block; }

.tv-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.tv-nav__list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.tv-nav__item { position: relative; }
.tv-nav__link {
	display: inline-flex; align-items: center; gap: .35rem;
	padding: .55rem .85rem; border-radius: 999px; border: 0; background: transparent;
	color: var(--tv-ink) !important; font-family: var(--tv-font); font-weight: 600; font-size: .93rem;
	cursor: pointer; transition: background .2s, color .2s; position: relative;
}
.tv-nav__link i { font-size: .65rem; opacity: .6; transition: transform .25s; }
.tv-nav__link:hover, .tv-nav__item.is-open > .tv-nav__link { background: var(--tv-50); color: var(--tv-700) !important; }
.tv-nav__link.is-active { color: var(--tv-600) !important; }
.tv-nav__link.is-active::after {
	content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 3px; margin-left: -9px; border-radius: 3px; background: var(--tv-grad);
}
.tv-nav__cta { padding: .7rem 1.25rem; }

/* dropdown panels */
.tv-menu {
	position: absolute; top: calc(100% + 14px); left: 50%; z-index: 20;
	min-width: 280px; padding: 14px; border-radius: var(--tv-radius);
	background: rgba(255,255,255,.97); border: 1px solid var(--tv-line); box-shadow: var(--tv-shadow-lg);
	opacity: 0; visibility: hidden; transform: translate(-50%, 10px) rotateX(-8deg); transform-origin: 50% 0;
	transition: opacity .22s var(--tv-ease), transform .3s var(--tv-ease), visibility .22s;
}
.tv-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge */
.tv-nav__item.is-open > .tv-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0) rotateX(0); }
.tv-nav__item.is-open > .tv-nav__link i { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 1200px) {
	.tv-nav__item:hover > .tv-menu, .tv-nav__item:focus-within > .tv-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0) rotateX(0); }
	.tv-nav__item:hover > .tv-nav__link i { transform: rotate(180deg); }
}
.tv-menu--services { width: 620px; }
.tv-menu--mega { width: min(940px, 92vw); display: grid; grid-template-columns: 260px 1fr; gap: 14px; left: 0; transform: translate(-35%, 10px) rotateX(-8deg); }
.tv-nav__item.is-open > .tv-menu--mega { transform: translate(-35%, 0) rotateX(0); }
@media (hover: hover) and (min-width: 1200px) {
	.tv-nav__item:hover > .tv-menu--mega, .tv-nav__item:focus-within > .tv-menu--mega { transform: translate(-35%, 0) rotateX(0); }
}
.tv-menu--small { width: 250px; }
.tv-menu__grid { display: grid; gap: 4px; }
.tv-menu__grid--2 { grid-template-columns: 1fr 1fr; }
.tv-menu__grid--3 { grid-template-columns: repeat(3, 1fr); }
.tv-menu__item {
	display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 12px;
	color: var(--tv-ink) !important; transition: background .2s, transform .2s;
}
.tv-menu__item:hover, .tv-menu__item.is-active { background: var(--tv-50); transform: translateX(2px); }
.tv-menu__item strong { display: block; font-size: .9rem; font-weight: 700; color: var(--tv-ink); line-height: 1.3; }
.tv-menu__item small { display: block; font-size: .78rem; color: var(--tv-muted); line-height: 1.4; margin-top: 2px; }
.tv-menu__item--compact { align-items: center; padding: 8px 10px; }
.tv-menu__item--compact strong { font-size: .86rem; font-weight: 600; }
.tv-menu__icon {
	flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
	background: linear-gradient(145deg, var(--tv-100), #fff); border: 1px solid var(--tv-line); color: var(--tv-600); font-size: .95rem;
	box-shadow: inset 0 -2px 0 rgba(21,79,186,.06); transition: background .25s, color .25s, transform .25s;
}
.tv-menu__item--compact .tv-menu__icon { width: 30px; height: 30px; font-size: .8rem; border-radius: 9px; }
.tv-menu__item:hover .tv-menu__icon { background: var(--tv-grad); color: #fff; transform: rotate(-6deg) scale(1.05); }
.tv-menu__footer { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 10px; padding: 10px; border-radius: 12px; background: var(--tv-50); font-weight: 700; font-size: .875rem; color: var(--tv-700) !important; }
.tv-menu__feature {
	position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 14px;
	background: var(--tv-grad-deep); color: #fff !important;
}
.tv-menu__feature::after { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; bottom: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(34,184,240,.55), transparent 70%); }
.tv-menu__feature .tv-chip { align-self: flex-start; background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.25); }
.tv-menu__feature .tv-chip i { color: #fff; }
.tv-menu__feature strong { font-size: 1.15rem; line-height: 1.3; color: #fff; }
.tv-menu__feature small { color: rgba(255,255,255,.78); font-size: .84rem; line-height: 1.5; }
.tv-menu__cta { margin-top: auto; font-weight: 700; font-size: .875rem; display: inline-flex; gap: .45rem; align-items: center; position: relative; z-index: 1; }

/* burger */
.tv-burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--tv-line); background: #fff; padding: 0; position: relative; cursor: pointer; box-shadow: var(--tv-shadow-sm); }
.tv-burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--tv-ink); transition: transform .3s var(--tv-ease), opacity .2s; }
.tv-burger span:nth-child(1) { top: 16px; } .tv-burger span:nth-child(2) { top: 22px; } .tv-burger span:nth-child(3) { top: 28px; }
.tv-nav-open .tv-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.tv-nav-open .tv-burger span:nth-child(2) { opacity: 0; }
.tv-nav-open .tv-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1199.98px) {
	.tv-burger { display: block; }
	.tv-nav {
		position: fixed; top: var(--tv-header-h); right: 0; bottom: 0; width: min(420px, 100vw);
		flex-direction: column; align-items: stretch; gap: 16px; padding: 18px 18px 32px; overflow-y: auto;
		background: #fff; border-left: 1px solid var(--tv-line); box-shadow: -30px 0 60px -30px rgba(12,42,99,.35);
		transform: translateX(105%); visibility: hidden; transition: transform .4s var(--tv-ease), visibility 0s linear .4s; margin: 0;
	}
	.tv-nav-open .tv-nav { transform: translateX(0); visibility: visible; transition: transform .4s var(--tv-ease), visibility 0s; }
	.tv-nav-open::after { content: ""; position: fixed; inset: var(--tv-header-h) 0 0 0; background: rgba(7,26,63,.35); backdrop-filter: blur(2px); z-index: 999; }
	.tv-nav-open { overflow: hidden; }
	.tv-header { z-index: 1001; }
	.tv-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
	.tv-nav__link { width: 100%; justify-content: space-between; padding: .85rem 1rem; border-radius: 12px; font-size: 1rem; }
	.tv-nav__link.is-active::after { display: none; }
	.tv-nav__link.is-active { background: var(--tv-50); }
	.tv-menu, .tv-menu--mega, .tv-menu--services, .tv-menu--small {
		position: static; width: auto; min-width: 0; transform: none !important; box-shadow: none; border: 0; padding: 0 0 0 8px;
		display: none; opacity: 1; visibility: visible; background: transparent;
	}
	.tv-nav__item.is-open > .tv-menu { display: block; }
	.tv-menu__feature { display: none; }
	.tv-menu__grid--2, .tv-menu__grid--3 { grid-template-columns: 1fr; }
	.tv-menu__item small { display: none; }
	.tv-nav__cta { width: 100%; }
}
@media (max-width: 575px) { .tv-brand img { height: 46px; } .tv-header__inner { padding: 0 16px; } }

/* ==========================================================================
   Inner page header — deep blue with a 3D grid floor, orbs and a glass cube
   ========================================================================== */
.tv-site .page-header {
	position: relative; overflow: hidden; isolation: isolate;
	background: radial-gradient(900px 420px at 85% -10%, rgba(34,184,240,.45), transparent 60%), var(--tv-grad-deep) !important;
	padding: clamp(70px, 9vw, 120px) 0 clamp(90px, 11vw, 150px) !important;
	margin-bottom: 0 !important; border: 0;
}
.tv-site .page-header > .container { position: relative; z-index: 3; }
.tv-site .page-header h1 {
	color: #fff !important; font-size: clamp(2.1rem, 5vw, 3.8rem) !important; font-weight: 800 !important;
	letter-spacing: -.03em; margin: 0; max-width: 760px; text-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.tv-site .page-header .breadcrumb, .tv-site .page-header nav[aria-label^="breadcrumb"] { display: none; }
.tv-crumbs { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1.1rem; font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.75); }
.tv-crumbs a { color: rgba(255,255,255,.85) !important; }
.tv-crumbs a:hover { color: #fff !important; }
.tv-crumbs i { font-size: .6rem; opacity: .6; }
.tv-ph__lead { color: rgba(255,255,255,.8) !important; font-size: 1.1rem; max-width: 620px; margin: 1rem 0 0; }
.tv-ph__floor {
	position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70%; z-index: 0; pointer-events: none;
	background-image:
		linear-gradient(rgba(152,192,255,.35) 1px, transparent 1px),
		linear-gradient(90deg, rgba(152,192,255,.35) 1px, transparent 1px);
	background-size: 64px 64px;
	transform: perspective(500px) rotateX(62deg); transform-origin: 50% 100%;
	-webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); mask-image: linear-gradient(to top, #000 10%, transparent 85%);
	animation: tv-floor 6s linear infinite;
}
@keyframes tv-floor { to { background-position: 0 64px, 0 0; } }
.tv-ph__orb { position: absolute; border-radius: 50%; filter: blur(2px); z-index: 1; pointer-events: none; animation: tv-float 9s ease-in-out infinite; }
.tv-ph__orb--a { width: 260px; height: 260px; right: 8%; top: -60px; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), rgba(94,156,255,.35) 40%, transparent 70%); }
.tv-ph__orb--b { width: 140px; height: 140px; left: 6%; bottom: 10%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.4), rgba(34,184,240,.35) 45%, transparent 70%); animation-delay: -3s; }
@keyframes tv-float { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-18px,0); } }
.tv-ph__canvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .9; }
.tv-ph__wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; z-index: 2; pointer-events: none; }
.tv-ph__wave path { fill: #fff; }

/* glass 3D cube used in page headers and the homepage */
.tv-cube-wrap { position: absolute; right: clamp(24px, 9vw, 160px); top: 50%; z-index: 2; perspective: 900px; transform: translateY(-50%); pointer-events: none; }
.tv-cube { --s: 150px; width: var(--s); height: var(--s); position: relative; transform-style: preserve-3d; animation: tv-cube-rot 18s linear infinite; }
.tv-cube__face {
	position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: calc(var(--s) * .3);
	background: linear-gradient(145deg, rgba(255,255,255,.28), rgba(94,156,255,.12));
	border: 1px solid rgba(255,255,255,.45); border-radius: 18px;
	box-shadow: inset 0 0 40px rgba(152,192,255,.35), 0 0 30px rgba(34,184,240,.2);
	backdrop-filter: blur(2px);
}
.tv-cube__face:nth-child(1) { transform: translateZ(calc(var(--s) / 2)); }
.tv-cube__face:nth-child(2) { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.tv-cube__face:nth-child(3) { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.tv-cube__face:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.tv-cube__face:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.tv-cube__face:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
@keyframes tv-cube-rot { from { transform: rotateX(-22deg) rotateY(0deg); } to { transform: rotateX(-22deg) rotateY(360deg); } }
@media (max-width: 991px) { .tv-site .page-header .tv-cube-wrap { display: none; } }

.tv-page-header--compact { padding: 60px 0 90px !important; }
.tv-page-header--compact h1 { font-size: clamp(1.9rem, 4vw, 2.8rem) !important; }

/* ==========================================================================
   Legacy components (classes used across the existing pages)
   ========================================================================== */
.tv-site .page_content > .container-xxl,
.tv-site .page_content > .container-fluid:not(.page-header) { position: relative; }
.tv-site .about, .tv-site .choose, .tv-site .feature-a, .tv-site .Service, .tv-site .project { background: none !important; }

/* buttons */
.tv-site .btn { border-radius: 999px; font-weight: 700; font-family: var(--tv-font); transition: transform .25s var(--tv-ease), box-shadow .25s, background .25s, color .25s; }
.tv-site .btn-primary { background: var(--tv-grad) !important; border: 0 !important; color: #fff !important; box-shadow: var(--tv-glow); }
.tv-site .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(27,99,224,.6); }
.tv-site .btn-light { background: #fff; border: 1px solid var(--tv-line); color: var(--tv-700); }
.tv-site .btn-outline-light:hover { color: var(--tv-700); }
.tv-site .btn-square, .tv-site .btn-sm-square, .tv-site .btn-lg-square { border-radius: 12px; }

/* fact cards */
.tv-site .fact-item {
	position: relative; border-radius: var(--tv-radius-lg); background: #fff !important; border: 1px solid var(--tv-line);
	box-shadow: var(--tv-shadow); padding: 2.25rem 2rem 2rem !important; margin-top: 40px;
	transition: box-shadow .35s var(--tv-ease), border-color .35s;
}
.tv-site .fact-item:hover { box-shadow: var(--tv-shadow-lg); border-color: var(--tv-line-strong); }
.tv-site .fact-item .fact-icon {
	width: 96px; height: 96px; margin-top: -84px; border-radius: 28px;
	background: linear-gradient(145deg, #fff, var(--tv-100)); border: 1px solid var(--tv-line); box-shadow: var(--tv-shadow);
	transform: rotate(-6deg); transition: transform .5s var(--tv-ease), background .4s;
}
.tv-site .fact-item:hover .fact-icon { background: var(--tv-grad); transform: rotate(0) translateY(-4px); }
.tv-site .fact-item:hover .fact-icon img { filter: brightness(0) invert(1); }
.tv-site .icon-size { width: 52px; height: 52px; object-fit: contain; }
.tv-site .icon-size-f { width: 56px; height: 56px; padding: 12px; border-radius: 16px; background: var(--tv-50); border: 1px solid var(--tv-line); object-fit: contain; }

/* service cards (image + text panel) */
.tv-site .service-item { border-radius: var(--tv-radius-lg); overflow: hidden; isolation: isolate; box-shadow: var(--tv-shadow); transition: box-shadow .35s; }
.tv-site .service-item:hover { box-shadow: var(--tv-shadow-lg); }
.tv-site .service-item .bg-img { border-radius: 0; box-shadow: none; transform: scale(1.05); transition: transform .8s var(--tv-ease); }
.tv-site .service-item:hover .bg-img { transform: scale(1.15); }
.tv-site .service-item .service-text { background: rgba(255,255,255,.96); border-radius: 0; transition: background .45s; }
.tv-site .service-item:hover .service-text { background: linear-gradient(160deg, rgba(12,42,99,.88), rgba(27,99,224,.82)); border-radius: 0; }
.tv-site .service-item .service-text .icon-size { padding: 12px; width: 72px; height: 72px; border-radius: 20px; background: var(--tv-50); border: 1px solid var(--tv-line); }
.tv-site .service-item:hover .service-text .icon-size { background: rgba(255,255,255,.95); }
.tv-site .service-item .btn { border-radius: 999px; color: var(--tv-700); box-shadow: var(--tv-shadow-sm); }

/* module tiles */
.tv-site .module-service::before { background: linear-gradient(180deg, var(--tv-50), #fff) !important; clip-path: none !important; }
.tv-site .module-item {
	border-radius: var(--tv-radius); background: #fff; border: 1px solid var(--tv-line); box-shadow: var(--tv-shadow-sm); overflow: hidden;
	transition: box-shadow .35s, border-color .35s;
}
.tv-site .module-item::before { background: var(--tv-grad) !important; }
.tv-site .module-item:hover { box-shadow: var(--tv-glow); border-color: transparent; }
.tv-site .module-item:hover h6, .tv-site .module-item:hover h5, .tv-site .module-item:hover p { color: #fff !important; }
.tv-site .icon-box-primary::before { background: var(--tv-200) !important; }
.tv-site .module-item:hover .icon-box-primary::before { background: rgba(255,255,255,.3) !important; }
.tv-site .icons-color { color: var(--tv-700) !important; }
.tv-site .module-item:hover .icons-color { color: #fff !important; }
.tv-site .other-module { width: auto; height: auto; min-height: 130px; }
.tv-site .other-module > a { display: block; height: 100%; }
.tv-site .other-module .module-item { padding: 22px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tv-site .other-module .module-item h6 { margin: 0 !important; font-weight: 700; color: var(--tv-ink); }
.tv-site .other-module .icon-box-primary { margin-bottom: 14px !important; }

/* feature / about split sections */
.tv-site .feature-a-text, .tv-site .about-text-a { padding: clamp(8px, 3vw, 40px) !important; }
.tv-site .feature-a-text > h6, .tv-site .about-text-a > h6 {
	font-family: var(--tv-mono); font-size: .78rem; letter-spacing: .16em; color: var(--tv-600) !important;
}
.tv-site .feature-a-text .d-flex > i.fa-3x, .tv-site .feature-a-text .d-flex > i[class*="fa-hand-point-right"] {
	font-size: 1.15rem !important; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px;
	background: var(--tv-grad); color: #fff !important; box-shadow: var(--tv-glow);
}
.tv-site .about-text-a i.fa-3x { font-size: 1.4rem !important; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: var(--tv-50); border: 1px solid var(--tv-line); }
.tv-site .container-fluid.overflow-hidden .position-relative.h-100 { border-radius: var(--tv-radius-lg); overflow: hidden; box-shadow: var(--tv-shadow-lg); transform: perspective(1200px) rotateY(-4deg); transition: transform .8s var(--tv-ease); }
.tv-site .container-fluid.overflow-hidden .ps-lg-0 .position-relative.h-100 { transform: perspective(1200px) rotateY(4deg); }
.tv-site .container-fluid.overflow-hidden .position-relative.h-100:hover { transform: perspective(1200px) rotateY(0) translateY(-4px); }
@media (min-width: 992px) {
	.tv-site .container-fluid.overflow-hidden .col-lg-6[style*="min-height"] { padding: 24px; }
}

.tv-site .about-img img, .tv-site .feature-img img { border-radius: var(--tv-radius-lg); box-shadow: var(--tv-shadow-lg); transition: transform .8s var(--tv-ease); }
.tv-site .about-img:hover img:first-child, .tv-site .feature-img:hover img:first-child { transform: translate(-8px, -8px) rotate(-2deg); }
.tv-site .about-img:hover img:last-child, .tv-site .feature-img:hover img:last-child { transform: translate(8px, 8px) rotate(2deg); }
.tv-site .about-img::before, .tv-site .feature-img::before { border: 0 !important; border-radius: var(--tv-radius-lg); background: var(--tv-grad); opacity: .14; }

/* industry tabs */
.tv-site .project .nav .nav-link { background: #fff !important; border: 1px solid var(--tv-line); border-radius: var(--tv-radius) !important; box-shadow: var(--tv-shadow-sm); transition: all .3s var(--tv-ease); }
.tv-site .project .nav .nav-link h3 { color: var(--tv-ink); font-size: 1.1rem; }
.tv-site .project .nav .nav-link:hover { transform: translateX(6px); border-color: var(--tv-line-strong); }
.tv-site .project .nav .nav-link.active { background: var(--tv-grad) !important; border-color: transparent; box-shadow: var(--tv-glow); transform: translateX(10px); }
.tv-site .tab-pane .position-relative.h-100 { border-radius: var(--tv-radius-lg); overflow: hidden; box-shadow: var(--tv-shadow); }

/* testimonials / clients */
.tv-site .testimonial { background: var(--tv-grad-deep) !important; border-radius: var(--tv-radius-lg); }
.tv-site .testimonial-item { border-radius: var(--tv-radius) !important; background: rgba(255,255,255,.08) !important; border-color: rgba(255,255,255,.2) !important; backdrop-filter: blur(6px); }
.tv-site .testimonial-item img { border-radius: 14px; object-fit: contain; }
.tv-site .client-item img, .tv-site .client-logo { border-radius: 20px; object-fit: contain; background: #fff !important; box-shadow: var(--tv-shadow); }
.tv-site .client-carousel .owl-nav .owl-prev, .tv-site .client-carousel .owl-nav .owl-next { border-radius: 50% !important; background: var(--tv-grad) !important; color: #fff !important; }

/* products */
.tv-site .products .products-item { border-radius: var(--tv-radius-lg) !important; background: #fff !important; border-width: 0 !important; border: 1px solid var(--tv-line) !important; box-shadow: var(--tv-shadow); }
.tv-site .products .products-item:hover { box-shadow: var(--tv-shadow-lg); }
.tv-site .products-img img { border-radius: 16px !important; }

/* gallery tiles */
.tv-site .animal-item { display: block; border-radius: var(--tv-radius); overflow: hidden; box-shadow: var(--tv-shadow); }
.tv-site .animal-item img { transition: transform .8s var(--tv-ease); }
.tv-site .animal-item:hover img { transform: scale(1.08); }
.tv-site .animal-item .animal-text { background: linear-gradient(to top, rgba(7,26,63,.85), transparent) !important; }
.tv-site .team-item { border-radius: var(--tv-radius); overflow: hidden; box-shadow: var(--tv-shadow); }

/* ERPNext module sub-nav (#naverp) */
.tv-site #naverp {
	position: sticky; top: calc(var(--tv-header-h) + 10px); z-index: 50; max-width: 1240px; margin: -48px auto 24px !important; padding: 10px !important;
	display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin;
	background: rgba(255,255,255,.92); border: 1px solid var(--tv-line); border-radius: 20px; box-shadow: var(--tv-shadow-lg); backdrop-filter: blur(12px);
}
.tv-site #naverp a {
	flex-shrink: 0; display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .95rem !important; border-radius: 12px;
	font-weight: 600; font-size: .86rem; color: var(--tv-text) !important; background: transparent !important; white-space: nowrap; float: none !important;
}
.tv-site #naverp a i { color: var(--tv-500); margin: 0 !important; }
.tv-site #naverp a:hover { background: var(--tv-50) !important; color: var(--tv-700) !important; }
.tv-site #naverp a.active { background: var(--tv-grad) !important; color: #fff !important; box-shadow: var(--tv-glow); }
.tv-site #naverp a.active i { color: #fff; }
.tv-site .naverpsticky { position: sticky !important; top: calc(var(--tv-header-h) + 8px) !important; }

/* misc bootstrap bits */
.tv-site .form-control, .tv-site .form-select { border-radius: 12px; border-color: var(--tv-line-strong); }
.tv-site .modal-content { border-radius: var(--tv-radius-lg); border: 0; box-shadow: var(--tv-shadow-lg); }
.tv-site .card { border-radius: var(--tv-radius); border-color: var(--tv-line); }
.tv-site .rounded { border-radius: var(--tv-radius-sm) !important; }
.tv-site .back-to-top, .tv-site #id01 { display: none !important; }

/* ==========================================================================
   Homepage
   ========================================================================== */
.tv-hero {
	position: relative; overflow: hidden; isolation: isolate;
	min-height: calc(100vh - var(--tv-header-h)); min-height: calc(100svh - var(--tv-header-h));
	display: flex; align-items: center; padding: 48px 0 110px;
	background:
		radial-gradient(800px 500px at 78% 40%, rgba(94,156,255,.22), transparent 65%),
		radial-gradient(600px 400px at 8% 10%, rgba(34,184,240,.12), transparent 60%),
		linear-gradient(180deg, #ffffff 0%, var(--tv-50) 100%);
}
.tv-hero__grid {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: linear-gradient(var(--tv-line) 1px, transparent 1px), linear-gradient(90deg, var(--tv-line) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.tv-hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 40px; position: relative; z-index: 2; }
.tv-hero__copy h1 { font-size: clamp(2.2rem, 4.1vw, 3.45rem) !important; line-height: 1.07 !important; letter-spacing: -.035em !important; margin: 1.25rem 0 1.25rem; }
.tv-hero__copy > p { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--tv-muted); max-width: 560px; margin-bottom: 1.25rem; }
.tv-rotator { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-family: var(--tv-mono); font-size: .95rem; color: var(--tv-700); margin-bottom: 2rem; }
.tv-rotator__word { display: inline-block; min-width: 1ch; padding: .2rem .6rem; border-radius: 8px; background: var(--tv-100); color: var(--tv-700); font-weight: 500; }
.tv-rotator__word::after { content: "▍"; margin-left: 2px; color: var(--tv-500); animation: tv-blink 1s steps(1) infinite; }
@keyframes tv-blink { 50% { opacity: 0; } }
.tv-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2.25rem; }
.tv-trust { display: flex; align-items: center; gap: 14px; }
.tv-trust__logos { display: flex; }
.tv-trust__logos img { width: 42px; height: 42px; border-radius: 50%; object-fit: contain; background: #fff; border: 3px solid #fff; box-shadow: var(--tv-shadow-sm); margin-left: -12px; }
.tv-trust__logos img:first-child { margin-left: 0; }
.tv-trust strong { display: block; color: var(--tv-ink); font-size: .98rem; }
.tv-trust span { font-size: .85rem; color: var(--tv-muted); }

.tv-hero__visual { position: relative; height: clamp(380px, 48vw, 600px); }
#tvHero3d { position: absolute; inset: -10% -18% -10% -10%; width: 128%; height: 120%; display: block; }
.tv-hero__fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.tv-hero__fallback .tv-cube { --s: 200px; }
.tv-hero__fallback .tv-cube__face { color: var(--tv-600); background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(196,220,255,.6)); border-color: var(--tv-200); }
.tv-has-webgl .tv-hero__fallback { display: none; }

.tv-glass {
	position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
	padding: 12px 16px; border-radius: 16px;
	background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9);
	box-shadow: 0 20px 40px -18px rgba(12,42,99,.35), inset 0 1px 0 #fff;
	backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
	animation: tv-float 7s ease-in-out infinite; font-size: .86rem; color: var(--tv-ink);
	transform-style: preserve-3d;
}
.tv-glass__icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--tv-grad); color: #fff; flex-shrink: 0; }
.tv-glass__icon--green { background: linear-gradient(135deg, #16a34a, #22c55e); }
.tv-glass strong { display: block; font-size: .88rem; }
.tv-glass small { display: block; color: var(--tv-muted); font-size: .76rem; font-family: var(--tv-mono); }
.tv-glass--a { top: 8%; left: -2%; animation-delay: -1s; }
.tv-glass--b { top: 44%; right: -4%; animation-delay: -3s; }
.tv-glass--c { bottom: 6%; left: 8%; animation-delay: -5s; }
.tv-glass__bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.tv-glass__bars i { width: 7px; border-radius: 3px; background: var(--tv-grad); animation: tv-bar 2.4s ease-in-out infinite; }
.tv-glass__bars i:nth-child(1) { height: 40%; } .tv-glass__bars i:nth-child(2) { height: 70%; animation-delay: -.4s; }
.tv-glass__bars i:nth-child(3) { height: 55%; animation-delay: -.8s; } .tv-glass__bars i:nth-child(4) { height: 90%; animation-delay: -1.2s; }
.tv-glass__bars i:nth-child(5) { height: 65%; animation-delay: -1.6s; }
@keyframes tv-bar { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(.6); } }
.tv-glass__bars i { transform-origin: bottom; }

.tv-scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--tv-muted); font-size: .72rem; font-family: var(--tv-mono); letter-spacing: .14em; text-transform: uppercase; }
.tv-scroll-cue span { width: 24px; height: 38px; border: 2px solid var(--tv-300); border-radius: 14px; position: relative; }
.tv-scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--tv-500); animation: tv-wheel 1.6s infinite; }
@keyframes tv-wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(12px); } }

@media (max-width: 991px) {
	.tv-hero { min-height: 0; padding: 40px 0 80px; }
	.tv-hero__inner { grid-template-columns: 1fr; text-align: left; }
	.tv-hero__visual { height: 400px; order: -1; margin: 0 -16px; }
	.tv-glass--a { left: 4%; } .tv-glass--b { right: 4%; } .tv-scroll-cue { display: none; }
}
@media (max-width: 575px) {
	.tv-hero__visual { height: 320px; }
	.tv-glass { font-size: .78rem; padding: 9px 12px; }
	.tv-glass--c { display: none; }
	.tv-hero__actions .tv-btn { flex: 1 1 100%; }
}

/* stats strip */
.tv-stats { position: relative; z-index: 4; margin-top: -70px; }
.tv-stats__card {
	display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--tv-radius-lg); overflow: hidden;
	background: rgba(255,255,255,.9); border: 1px solid var(--tv-line); box-shadow: var(--tv-shadow-lg); backdrop-filter: blur(16px);
}
.tv-stat { padding: 28px 24px; text-align: center; position: relative; }
.tv-stat + .tv-stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--tv-line); }
.tv-stat__num { display: block; font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; }
.tv-stat__label { font-size: .9rem; color: var(--tv-muted); font-weight: 600; }
@media (max-width: 767px) {
	.tv-stats { margin-top: -40px; }
	.tv-stats__card { grid-template-columns: repeat(2, 1fr); }
	.tv-stat:nth-child(3)::before { display: none; }
	.tv-stat:nth-child(n+3) { border-top: 1px solid var(--tv-line); }
}

/* cards */
.tv-card {
	position: relative; height: 100%; padding: 30px; border-radius: var(--tv-radius-lg);
	background: #fff; border: 1px solid var(--tv-line); box-shadow: var(--tv-shadow);
	transition: box-shadow .35s var(--tv-ease), border-color .35s; overflow: hidden; isolation: isolate;
	color: var(--tv-text) !important; display: flex; flex-direction: column;
}
.tv-card::before {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
	background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(94,156,255,.14), transparent 45%);
}
.tv-card:hover { box-shadow: var(--tv-shadow-lg); border-color: var(--tv-line-strong); }
.tv-card:hover::before { opacity: 1; }
.tv-card__icon {
	width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px;
	background: linear-gradient(145deg, var(--tv-100), #fff); border: 1px solid var(--tv-line); color: var(--tv-600); font-size: 1.45rem;
	box-shadow: inset 0 -3px 0 rgba(21,79,186,.07), var(--tv-shadow-sm);
	transform: translateZ(40px); transition: background .35s, color .35s, transform .35s;
}
.tv-card:hover .tv-card__icon { background: var(--tv-grad); color: #fff; }
.tv-card__icon img { width: 32px; height: 32px; object-fit: contain; }
.tv-card:hover .tv-card__icon img { filter: brightness(0) invert(1); }
.tv-card h3 { font-size: 1.2rem !important; margin-bottom: .6rem; transform: translateZ(25px); }
.tv-card p { font-size: .95rem; color: var(--tv-muted); margin-bottom: 1.25rem; }
.tv-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .9rem; color: var(--tv-600); }
.tv-card__link i { transition: transform .25s; }
.tv-card:hover .tv-card__link i { transform: translateX(4px); }
.tv-card--feature { background: var(--tv-grad-deep); border: 0; color: rgba(255,255,255,.85) !important; }
.tv-card--feature h3 { color: #fff !important; font-size: 1.55rem !important; }
.tv-card--feature p { color: rgba(255,255,255,.8); }
.tv-card--feature .tv-card__icon { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
.tv-card--feature .tv-card__link { color: #fff; }
.tv-card--feature::after { content: ""; position: absolute; width: 300px; height: 300px; right: -100px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(34,184,240,.5), transparent 70%); z-index: -1; }
.tv-card--feature ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .5rem; }
.tv-card--feature li { display: flex; gap: .6rem; align-items: center; color: #fff; font-weight: 600; font-size: .92rem; }
.tv-card--feature li i { color: var(--tv-cyan); }

.tv-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tv-bento > .tv-bento__wide { grid-column: span 1; grid-row: span 2; }
@media (max-width: 991px) { .tv-bento { grid-template-columns: repeat(2, 1fr); } .tv-bento > .tv-bento__wide { grid-column: span 2; grid-row: auto; } }
@media (max-width: 575px) { .tv-bento { grid-template-columns: 1fr; } .tv-bento > .tv-bento__wide { grid-column: auto; } }

/* about split */
.tv-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 991px) { .tv-split { grid-template-columns: 1fr; } }
.tv-stack { position: relative; height: 460px; perspective: 1400px; }
.tv-stack img {
	position: absolute; width: 68%; height: 74%; object-fit: cover; border-radius: var(--tv-radius-lg);
	box-shadow: var(--tv-shadow-lg); border: 6px solid #fff; transition: transform .9s var(--tv-ease);
}
.tv-stack img:first-child { left: 0; top: 0; transform: rotateY(12deg) rotateX(4deg); }
.tv-stack img:last-of-type { right: 0; bottom: 0; transform: rotateY(-12deg) rotateX(-4deg) translateZ(40px); }
.tv-stack:hover img:first-child { transform: rotateY(4deg) translate(-10px, -6px); }
.tv-stack:hover img:last-of-type { transform: rotateY(-4deg) translate(10px, 6px) translateZ(40px); }
.tv-stack__badge {
	position: absolute; left: 4%; bottom: 2%; transform: translateZ(80px); z-index: 3;
	padding: 18px 22px; border-radius: 20px; text-align: center; background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
	border: 1px solid #fff; box-shadow: var(--tv-shadow-lg);
}
.tv-stack__badge b { display: block; font-size: 2rem; line-height: 1; font-weight: 800; }
.tv-stack__badge span { font-size: .8rem; color: var(--tv-muted); font-weight: 600; }
@media (max-width: 575px) { .tv-stack { height: 340px; } }
.tv-tamil { font-size: 1.1rem; color: var(--tv-ink); font-weight: 600; }
.tv-tamil b { font-size: 1.35rem; }
.tv-checks { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .9rem; }
.tv-checks li { display: flex; gap: .85rem; align-items: flex-start; }
.tv-checks li > i { flex-shrink: 0; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--tv-100); color: var(--tv-600); font-size: .8rem; margin-top: 2px; }
.tv-checks strong { display: block; color: var(--tv-ink); }
.tv-checks span { font-size: .93rem; color: var(--tv-muted); }

/* 3D module ring */
.tv-ring-section { overflow: hidden; background: radial-gradient(900px 400px at 50% 60%, rgba(94,156,255,.16), transparent 70%), linear-gradient(180deg, #fff, var(--tv-50)); }
.tv-ring { position: relative; height: 460px; perspective: 1300px; cursor: grab; touch-action: pan-y; user-select: none; }
.tv-ring.is-dragging { cursor: grabbing; }
.tv-ring__stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(-10deg); }
.tv-ring__card {
	position: absolute; left: 50%; top: 50%; width: 172px; height: 128px; margin: -64px 0 0 -86px;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
	border-radius: 20px; background: rgba(255,255,255,.92); border: 1px solid var(--tv-line);
	box-shadow: var(--tv-shadow); color: var(--tv-ink) !important; font-weight: 700; font-size: .92rem; line-height: 1.25; padding: 12px;
	backface-visibility: hidden; will-change: transform, opacity; transition: box-shadow .3s, background .3s;
}
.tv-ring__card i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--tv-grad); color: #fff; font-size: 1.1rem; box-shadow: var(--tv-glow); }
.tv-ring__card:hover { background: #fff; box-shadow: var(--tv-shadow-lg); color: var(--tv-600) !important; }
.tv-ring__core {
	position: absolute; left: 50%; top: 50%; width: 210px; height: 210px; margin: -105px 0 0 -105px; border-radius: 50%;
	display: grid; place-items: center; text-align: center; pointer-events: none;
	background: radial-gradient(circle at 35% 30%, #fff 0%, var(--tv-200) 35%, var(--tv-500) 75%, var(--tv-700) 100%);
	box-shadow: 0 40px 80px -20px rgba(27,99,224,.55), inset -18px -24px 50px rgba(7,26,63,.35), inset 14px 14px 30px rgba(255,255,255,.7);
	color: #fff; font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; text-shadow: 0 2px 12px rgba(7,26,63,.45);
	transform: translateZ(0);
}
.tv-ring__core small { display: block; font-size: .7rem; font-family: var(--tv-mono); font-weight: 500; letter-spacing: .14em; color: rgba(255,255,255,.92); }
.tv-ring__hint { text-align: center; font-size: .82rem; color: var(--tv-muted); font-family: var(--tv-mono); margin: 18px 0 0; }
.tv-ring-grid { display: none; }
@media (max-width: 767px) {
	.tv-ring, .tv-ring__hint { display: none; }
	.tv-ring-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.tv-ring-grid a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--tv-line); box-shadow: var(--tv-shadow-sm); font-weight: 700; font-size: .85rem; color: var(--tv-ink) !important; }
	.tv-ring-grid i { color: var(--tv-600); }
}
.tv-ring-grid a[hidden] { display: none; }
/* ring tabs: ERPNext modules / apps & integrations */
.tv-ring__tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: -10px 0 22px; }
.tv-ring__tab {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--tv-line); background: #fff;
	color: var(--tv-text); font-family: var(--tv-font); font-weight: 700; font-size: .92rem; cursor: pointer; box-shadow: var(--tv-shadow-sm); transition: all .25s var(--tv-ease);
}
.tv-ring__tab i { color: var(--tv-500); }
.tv-ring__tab b { font-family: var(--tv-mono); font-weight: 500; font-size: .7rem; padding: 2px 7px; border-radius: 999px; background: var(--tv-50); color: var(--tv-600); }
.tv-ring__tab:hover { border-color: var(--tv-500); color: var(--tv-700); transform: translateY(-1px); }
.tv-ring__tab.is-active { background: var(--tv-grad); color: #fff; border-color: transparent; box-shadow: var(--tv-glow); }
.tv-ring__tab.is-active i { color: #fff; }
.tv-ring__tab.is-active b { background: rgba(255,255,255,.22); color: #fff; }
.tv-ring__card.is-hidden { display: none; }
.tv-ring__card small { display: block; font-weight: 500; font-size: .74rem; color: var(--tv-muted); line-height: 1.3; }
.tv-ring__card[data-ring-set="apps"] { width: 206px; height: 152px; margin: -76px 0 0 -103px; gap: 8px; }
.tv-ring__stage.is-swap .tv-ring__card:not(.is-hidden) { animation: tv-ring-in .6s var(--tv-ease) both; }
@keyframes tv-ring-in { from { opacity: 0; filter: blur(6px); } }
@media (prefers-reduced-motion: reduce) { .tv-ring__stage.is-swap .tv-ring__card { animation: none; } }

/* industries tabs */
.tv-tabs { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: stretch; }
.tv-tabs__list { display: flex; flex-direction: column; gap: 12px; }
.tv-tab {
	display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 20px; text-align: left;
	border-radius: var(--tv-radius); border: 1px solid var(--tv-line); background: #fff; box-shadow: var(--tv-shadow-sm);
	font-family: var(--tv-font); font-weight: 700; font-size: 1.02rem; color: var(--tv-ink); cursor: pointer;
	transition: transform .35s var(--tv-ease), box-shadow .35s, background .35s, color .35s;
}
.tv-tab span { font-family: var(--tv-mono); font-size: .8rem; color: var(--tv-500); font-weight: 500; }
.tv-tab i { margin-left: auto; opacity: 0; transform: translateX(-6px); transition: all .3s; }
.tv-tab:hover { transform: translateX(6px); }
.tv-tab.active { background: var(--tv-grad); color: #fff; border-color: transparent; box-shadow: var(--tv-glow); transform: translateX(12px); }
.tv-tab.active span { color: rgba(255,255,255,.8); }
.tv-tab.active i { opacity: 1; transform: none; }
.tv-tabs__panel { border-radius: var(--tv-radius-lg); background: #fff; border: 1px solid var(--tv-line); box-shadow: var(--tv-shadow-lg); padding: 18px; }
.tv-tabs__panel .tab-pane > div { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.tv-tabs__media { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--tv-50); }
.tv-tabs__media img { width: 100%; height: 100%; object-fit: cover; }
.tv-tabs__panel h3 { font-size: 1.45rem !important; margin-bottom: .75rem; }
.tv-tabs__panel p { color: var(--tv-muted); }
.tv-tabs__panel ul { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .55rem; }
.tv-tabs__panel li { display: flex; gap: .6rem; align-items: center; font-weight: 600; color: var(--tv-ink); font-size: .95rem; }
.tv-tabs__panel li i { color: var(--tv-500); }
@media (max-width: 991px) {
	.tv-tabs { grid-template-columns: 1fr; }
	.tv-tabs__list { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
	.tv-tab { flex-shrink: 0; width: auto; }
	.tv-tab:hover, .tv-tab.active { transform: none; }
	.tv-tabs__panel .tab-pane > div { grid-template-columns: 1fr; }
}

/* process timeline */
.tv-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; counter-reset: step; }
.tv-steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 34px; height: 2px; background: linear-gradient(90deg, var(--tv-200), var(--tv-500), var(--tv-200)); background-size: 200% 100%; animation: tv-flow 4s linear infinite; }
@keyframes tv-flow { to { background-position: -200% 0; } }
.tv-step { position: relative; text-align: center; padding: 0 8px; }
.tv-step__num {
	width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 22px; display: grid; place-items: center; position: relative;
	background: #fff; border: 1px solid var(--tv-line-strong); box-shadow: var(--tv-shadow); color: var(--tv-600); font-size: 1.4rem;
	transform: rotate(45deg); transition: transform .5s var(--tv-ease), background .4s, color .4s;
}
.tv-step__num i { transform: rotate(-45deg); }
.tv-step:hover .tv-step__num { transform: rotate(45deg) scale(1.08); background: var(--tv-grad); color: #fff; }
.tv-step h3 { font-size: 1.1rem !important; margin-bottom: .4rem; }
.tv-step p { font-size: .9rem; color: var(--tv-muted); margin: 0; }
@media (max-width: 767px) { .tv-steps { grid-template-columns: 1fr 1fr; } .tv-steps::before { display: none; } }

/* client marquee */
.tv-marquee { position: relative; overflow: hidden; padding: 10px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tv-marquee__track { display: flex; gap: 18px; width: max-content; animation: tv-marquee 60s linear infinite; }
.tv-marquee--rev .tv-marquee__track { animation-direction: reverse; animation-duration: 70s; }
.tv-marquee:hover .tv-marquee__track { animation-play-state: paused; }
@keyframes tv-marquee { to { transform: translateX(-50%); } }
.tv-logo-card {
	flex-shrink: 0; display: flex; align-items: center; gap: 14px; width: 270px; padding: 14px 18px;
	border-radius: 18px; background: #fff; border: 1px solid var(--tv-line); box-shadow: var(--tv-shadow-sm);
	transition: transform .3s var(--tv-ease), box-shadow .3s;
}
.tv-logo-card:hover { transform: translateY(-4px); box-shadow: var(--tv-shadow); }
.tv-logo-card img { width: 58px; height: 58px; border-radius: 14px; object-fit: contain; background: #fff; flex-shrink: 0; }
.tv-logo-card strong { display: block; color: var(--tv-ink); font-size: .95rem; line-height: 1.25; }
.tv-logo-card span { font-size: .8rem; color: var(--tv-muted); }
.tv-partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tv-partners a, .tv-partners div { display: grid; place-items: center; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--tv-line); box-shadow: var(--tv-shadow-sm); height: 130px; }
.tv-partners img { max-height: 96px; max-width: 100%; object-fit: contain; }
@media (max-width: 767px) { .tv-partners { grid-template-columns: repeat(2, 1fr); } }

/* gallery */
.tv-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.tv-gallery a { position: relative; border-radius: var(--tv-radius); overflow: hidden; box-shadow: var(--tv-shadow); isolation: isolate; }
.tv-gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.tv-gallery a:nth-child(4) { grid-row: span 2; }
.tv-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--tv-ease); }
.tv-gallery a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,26,63,.8), transparent 55%); opacity: .7; transition: opacity .4s; }
.tv-gallery a:hover img { transform: scale(1.08); }
.tv-gallery a:hover::after { opacity: 1; }
.tv-gallery figcaption { position: absolute; left: 18px; bottom: 14px; z-index: 2; color: #fff; }
.tv-gallery figcaption small { display: block; font-family: var(--tv-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.tv-gallery figcaption b { font-size: 1rem; }
@media (max-width: 767px) { .tv-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } .tv-gallery a:nth-child(1) { grid-column: span 2; } }

/* ==========================================================================
   CTA band & footer
   ========================================================================== */
.tv-cta-band { position: relative; z-index: 2; padding: 40px 0 0; margin-bottom: -90px; }
.tv-cta-band__card {
	position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
	padding: clamp(32px, 5vw, 56px); border-radius: var(--tv-radius-lg); background: var(--tv-grad-deep); box-shadow: var(--tv-shadow-lg);
	transform-style: preserve-3d;
}
.tv-cta-band__glow { position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(34,184,240,.55), transparent 65%); animation: tv-float 8s ease-in-out infinite; }
.tv-cta-band__card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .25; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.tv-cta-band__text { max-width: 640px; }
.tv-cta-band h2 { color: #fff !important; font-size: clamp(1.6rem, 3vw, 2.3rem) !important; margin: 0 0 .75rem; font-weight: 800; letter-spacing: -.02em; font-family: var(--tv-font); line-height: 1.2; }
.tv-cta-band p { color: rgba(255,255,255,.8) !important; margin: 0; font-size: 1.02rem; }
.tv-cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.tv-footer { position: relative; overflow: hidden; isolation: isolate; padding: 160px 0 0; background: linear-gradient(180deg, var(--tv-900), var(--tv-950)); color: rgba(255,255,255,.72); font-family: var(--tv-font); }
.tv-footer__wave { position: absolute; top: 0; left: 0; width: 100%; height: 90px; }
.tv-footer__wave path { fill: #fff; }
.tv-footer__grid-bg { position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(152,192,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(152,192,255,.08) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 50% 100%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 50% 100%, #000, transparent 70%); }
.tv-footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.tv-footer h3 { color: #fff !important; font-size: .95rem !important; font-weight: 700; letter-spacing: .02em; margin: 0 0 1.1rem; font-family: var(--tv-font); }
.tv-footer h3.mt { margin-top: 1.75rem; }
.tv-footer__col a { display: block; color: rgba(255,255,255,.68) !important; font-size: .92rem; padding: .3rem 0; transition: color .2s, transform .2s; }
.tv-footer__col a:hover { color: #fff !important; transform: translateX(4px); }
.tv-footer__logo { display: inline-flex; align-items: center; gap: 12px; color: #fff !important; font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; margin-bottom: 1rem; }
.tv-footer__logo img { background: #fff; border-radius: 14px; padding: 4px; }
.tv-footer__brand p { color: rgba(255,255,255,.68); font-size: .93rem; max-width: 380px; }
.tv-footer__contact { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .7rem; }
.tv-footer__contact li { display: flex; gap: .75rem; font-size: .9rem; }
.tv-footer__contact i { color: var(--tv-400); margin-top: 5px; width: 16px; }
.tv-footer__contact a { color: rgba(255,255,255,.8) !important; }
.tv-footer__contact a:hover { color: #fff !important; }
.tv-social { display: flex; gap: 10px; }
.tv-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #fff !important; transition: background .25s, transform .25s; }
.tv-social a:hover { background: var(--tv-grad); transform: translateY(-3px); }
.tv-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: rgba(255,255,255,.55); }
@media (max-width: 991px) { .tv-footer__inner { grid-template-columns: 1fr 1fr; } .tv-footer__brand { grid-column: span 2; } }
@media (max-width: 575px) { .tv-footer__inner { grid-template-columns: 1fr; } .tv-footer__brand { grid-column: auto; } .tv-cta-band__actions .tv-btn { flex: 1 1 100%; } }

/* floating contact buttons, back-to-top, popup */
.tv-float { position: fixed; left: 18px; bottom: 18px; z-index: 900; display: flex; flex-direction: column; gap: 10px; }
.tv-float__btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff !important; font-size: 1.35rem; box-shadow: 0 12px 26px -8px rgba(0,0,0,.35); transition: transform .25s var(--tv-ease); position: relative; }
.tv-float__btn:hover { transform: scale(1.08); }
.tv-float__btn--wa { background: linear-gradient(135deg, #1faa53, #25d366); }
.tv-float__btn--wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: tv-ring-pulse 2.2s infinite; }
.tv-float__btn--call { background: var(--tv-grad); font-size: 1.1rem; }
@keyframes tv-ring-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.tv-top { position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 48px; height: 48px; border-radius: 16px; border: 0; background: #fff; color: var(--tv-600); box-shadow: var(--tv-shadow-lg); cursor: pointer; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s; }
.tv-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.tv-top:hover { background: var(--tv-grad); color: #fff; }

.tv-popup { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; background: rgba(7,26,63,.45); backdrop-filter: blur(6px); }
.tv-popup[hidden] { display: none; }
.tv-popup__card { position: relative; width: min(420px, 100%); padding: 40px 32px 32px; border-radius: var(--tv-radius-lg); background: #fff; text-align: center; box-shadow: var(--tv-shadow-lg); animation: tv-pop .5s var(--tv-ease); font-family: var(--tv-font); }
.tv-popup__card h3 { font-size: 1.5rem !important; margin: 0 0 .5rem; color: var(--tv-ink); font-weight: 800; }
.tv-popup__card p { color: var(--tv-muted); margin-bottom: 1.5rem; }
.tv-popup__orb { width: 76px; height: 76px; margin: -78px auto 18px; border-radius: 24px; display: grid; place-items: center; background: var(--tv-grad); color: #fff; font-size: 1.8rem; box-shadow: var(--tv-glow); transform: rotate(-8deg); }
.tv-popup__close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--tv-50); color: var(--tv-ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
@keyframes tv-pop { from { opacity: 0; transform: translateY(24px) scale(.96) rotateX(10deg); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Forms (contact & careers)
   ========================================================================== */
.tv-form-card { position: relative; padding: clamp(24px, 4vw, 40px); border-radius: var(--tv-radius-lg); background: #fff; border: 1px solid var(--tv-line); box-shadow: var(--tv-shadow-lg); }
.tv-form-card::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--tv-grad); opacity: .35; filter: blur(24px); }
.tv-form-card h2 { font-size: 1.6rem !important; margin-bottom: .35rem; }
.tv-form-card > p { color: var(--tv-muted); margin-bottom: 1.5rem; }
.tv-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.tv-form .is-full { grid-column: 1 / -1; }
.tv-field { position: relative; display: flex; flex-direction: column; gap: 6px; }
.tv-field label { font-size: .84rem; font-weight: 700; color: var(--tv-ink); }
.tv-field label .req { color: #e11d48; }
.tv-field input, .tv-field select, .tv-field textarea {
	width: 100%; padding: .8rem 1rem; border-radius: 12px; border: 1px solid var(--tv-line-strong); background: var(--tv-surface-2);
	font-family: var(--tv-font); font-size: .95rem; color: var(--tv-ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.tv-field textarea { min-height: 120px; resize: vertical; }
.tv-field input:focus, .tv-field select:focus, .tv-field textarea:focus { outline: none; border-color: var(--tv-500); background: #fff; box-shadow: 0 0 0 4px rgba(47,123,245,.15); }
.tv-field small { font-size: .76rem; color: var(--tv-muted); }
.tv-field.has-error input, .tv-field.has-error select, .tv-field.has-error textarea { border-color: #e11d48; box-shadow: 0 0 0 4px rgba(225,29,72,.1); }
.tv-field__error { font-size: .78rem; color: #e11d48; font-weight: 600; }
.tv-hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.tv-captcha { display: flex; align-items: center; gap: 10px; }
.tv-captcha__code {
	flex-shrink: 0; min-width: 132px; padding: .7rem 1rem; border-radius: 12px; text-align: center; user-select: none;
	font-family: var(--tv-mono); font-size: 1.2rem; letter-spacing: .3em; color: var(--tv-800); font-style: italic;
	background: repeating-linear-gradient(-45deg, var(--tv-100), var(--tv-100) 6px, #fff 6px, #fff 12px); border: 1px dashed var(--tv-300);
	text-decoration: line-through rgba(27,99,224,.35);
}
.tv-captcha__reload { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--tv-line-strong); background: #fff; color: var(--tv-600); cursor: pointer; }
.tv-captcha__reload:hover i { animation: tv-spin .6s; }
@keyframes tv-spin { to { transform: rotate(360deg); } }
.tv-file { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; border: 2px dashed var(--tv-300); background: var(--tv-50); cursor: pointer; transition: border-color .2s, background .2s; }
.tv-file:hover, .tv-file.is-drag { border-color: var(--tv-500); background: var(--tv-100); }
.tv-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tv-file i { font-size: 1.5rem; color: var(--tv-600); }
.tv-file strong { display: block; color: var(--tv-ink); font-size: .92rem; }
.tv-file span { font-size: .8rem; color: var(--tv-muted); }
.tv-form__submit { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.tv-form__submit .tv-btn[disabled] { opacity: .7; pointer-events: none; }
.tv-alert { grid-column: 1 / -1; display: none; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-size: .92rem; font-weight: 600; }
.tv-alert.is-shown { display: flex; animation: tv-pop .4s var(--tv-ease); }
.tv-alert--ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.tv-alert--err { background: #fff1f2; color: #be123c; border: 1px solid #fecdd3; }
.tv-spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; animation: tv-spin .7s linear infinite; display: none; }
.is-loading .tv-spinner { display: inline-block; }
@media (max-width: 575px) { .tv-form { grid-template-columns: 1fr; } }

.tv-contact-list { display: grid; gap: 14px; margin-top: 2rem; }
.tv-contact-item { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--tv-radius); background: #fff; border: 1px solid var(--tv-line); box-shadow: var(--tv-shadow-sm); color: var(--tv-text) !important; transition: transform .3s var(--tv-ease), box-shadow .3s; }
.tv-contact-item:hover { transform: translateX(6px); box-shadow: var(--tv-shadow); }
.tv-contact-item i { flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--tv-grad); color: #fff; font-size: 1.15rem; box-shadow: var(--tv-glow); }
.tv-contact-item strong { display: block; color: var(--tv-ink); }
.tv-contact-item span { font-size: .92rem; }

/* ==========================================================================
   3D tilt + reveal helpers
   ========================================================================== */
[data-tilt] { transform-style: preserve-3d; will-change: transform; transition: transform .5s var(--tv-ease); }
[data-tilt].is-tilting { transition: transform .08s linear; }
.tv-tilt-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5; opacity: 0; transition: opacity .3s; background: radial-gradient(300px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.45), transparent 50%); mix-blend-mode: soft-light; }
[data-tilt].is-tilting .tv-tilt-glare { opacity: 1; }

[data-reveal] { opacity: 0; transform: perspective(900px) translate3d(0, 40px, 0) rotateX(12deg); transition: opacity .9s var(--tv-ease), transform .9s var(--tv-ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: perspective(900px) translate3d(-40px, 0, 0) rotateY(-10deg); }
[data-reveal="right"] { transform: perspective(900px) translate3d(40px, 0, 0) rotateY(10deg); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal].is-in { opacity: 1; transform: none; }
.tv-no-js [data-reveal] { opacity: 1; transform: none; }

/* ==========================================================================
   Frappe pages (blog / case study) using the Thirvusoft header & footer
   ========================================================================== */
.tv-site--frappe { font-family: var(--tv-font); }
.tv-site--frappe .page-header { margin-bottom: 32px !important; }
body:has(.tv-site--frappe) { font-family: var(--tv-font); background: #fff; }
body:has(.tv-site--frappe) .page-content-wrapper, body:has(.tv-site--frappe) main.container { position: relative; }
body:has(.tv-site--frappe) .blog-card .card { border-radius: var(--tv-radius); border: 1px solid var(--tv-line); box-shadow: var(--tv-shadow); overflow: hidden; transition: transform .35s var(--tv-ease), box-shadow .35s; }
body:has(.tv-site--frappe) .blog-card .card:hover { transform: translateY(-6px); box-shadow: var(--tv-shadow-lg); }
body:has(.tv-site--frappe) .blog-card .card-img-top img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
body:has(.tv-site--frappe) .hero h1, body:has(.tv-site--frappe) .blog-title { font-family: var(--tv-font); font-weight: 800; letter-spacing: -.02em; color: var(--tv-ink); }
body:has(.tv-site--frappe) .tv-footer { margin-top: 0; }
body:has(.tv-site--frappe) .web-footer, body:has(.tv-site--frappe) .navbar.navbar-expand-lg:not(.tv-header) { display: none; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	[data-reveal] { opacity: 1; transform: none; }
	.tv-marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* footer wave matches the light section above it */
.tv-footer__wave path { fill: #fbfdff; }
