/* =========================================================
   GLOBAL RESET & TYPOGRAPHY
========================================================= */

:root {
  --tv-color-ink: #121214;
  --tv-color-white: #ffffff;
  --tv-color-accent: #2ebec6;
  --tv-gray-100: #f9f9fb;
  --tv-gray-200: #e2e2e2;
  --tv-gray-250: #dedee2;
  --tv-gray-300: #cacaca;
  --tv-gray-400: #b9b9b9;
  --tv-gray-600: #707070;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background-color: var(--tv-gray-100) !important;
}

body {
  margin: 0;
  padding: 0;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 16px !important;
  font-weight: 400;
  line-height: 1.6;
  color: var(--tv-color-ink);
  background-color: var(--tv-gray-100) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", sans-serif;
  font-weight: 800 !important;
  color: var(--tv-color-ink) !important;
}

h1 {
  font-size: 60px !important;
  line-height: 120%;
  letter-spacing: 0;
  margin-bottom: 20px;
}

h2 {
  font-size: 45px !important;
  line-height: 120%;
  font-weight: 800;
  letter-spacing: 0;
}

p {
  font-family: "Inter", sans-serif;
  font-size: 16px !important;
  font-weight: 400;
  color: var(--tv-color-ink);
}

a,
button,
input,
textarea,
select {
  font-family: "Inter", sans-serif;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   GLOBAL SCROLL REVEAL ANIMATION
========================================== */

.tv-reveal {
  opacity: 0;
  transform: translate3d(0, 35px, 0);

  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);

  will-change: opacity, transform;
}

/* Visible State */

.tv-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Image Reveal */

img.tv-reveal {
  display: block;
}

/* Inline Element Reveal */

span.tv-reveal {
  display: inline-block;
}

/* Reduced Motion Accessibility */

@media (prefers-reduced-motion: reduce) {
  .tv-reveal {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

/* =========================================================
   HEADER
========================================================= */
/* .container {
    max-width: 1520px;
} */
.site-header {
  width: 100%;
  background-color: #f3f3f5;
  position: sticky;
  top: 0;
  z-index: 999;
}

.site-header .brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-header .logo-img {
  display: block;
  height: auto;
}

/* =========================================================
   HERO SECTION
========================================================= */

.tech-hero-section {
  width: 100%;
  background-image: url("../images/section-image-bg.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  color: var(--tv-color-ink);
}

.tech-hero-main {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 0px;
}

/* Sliding wordmark background.
   The layer is wider than the section; main.js sets --hero-bg-x on scroll
   so the wordmark glides from left to right. */
.tech-hero-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  aspect-ratio: 3523 / 419;
  background-image: url("../images/techvalens-wordmark-bg.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transform: translate3d(var(--hero-bg-x, 0px), 0, 0);
  will-change: transform;
  pointer-events: none;
  z-index: -1;
}

.tech-hero-col {
  padding-top: 50px !important;
  padding-bottom: 75px !important;
}

.tech-hero-top {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  padding-top: 40px;
  padding-bottom: 40px;
}

.tech-hero-top p {
  font-size: 15px;
  color: var(--tv-gray-600);
  margin: 0;
  letter-spacing: 0.1px;
}

.tech-hero-top p span {
  margin: 0 8px;
}

.tech-hero-main .row {
  min-height: 190px;
}

.tech-hero-col:first-child {
  border-right: 1px solid rgba(0, 0, 0, 0.12);
}

.tech-hero-content-2 h2,
.tech-hero-content-1 h1 {
  font-size: 60px !important;
  font-weight: 800;
  padding-bottom: 30px !important;
  margin-bottom: 0;
}

.tech-hero-content-2 {
  padding-left: 60px;
  padding-right: 30px;
}

.tech-hero-content-1 {
  padding-right: 155px;
}

.tech-hero-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  padding-top: 36px;
  padding-bottom: 36px;
}

.tech-hero-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px !important;
  flex-wrap: nowrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-btn-dark {
  background-color: var(--tv-color-ink);
  color: var(--tv-color-white);
  padding: 13px 32px 13px 32px !important;
}

.hero-btn-dark:hover {
  background-color: var(--tv-color-white);
  color: var(--tv-color-ink);
}

.hero-btn-light {
  background-color: var(--tv-color-white);
  color: var(--tv-color-ink);
  padding: 13px 49px 13px 49px !important;
}

.hero-btn-light:hover {
  background-color: var(--tv-color-ink);
  color: var(--tv-color-white);
}

/* =========================================================
   ACHIEVEMENTS & ISO IMAGES
========================================================= */

.tech-achievements {
  text-align: left;
  padding-left: 100px !important;
}

.achievement-item h3 {
  font-size: 24px;
  font-weight: 500 !important;
  margin: 0 0 2px;
}

.achievement-item p {
  font-size: 12px !important;
  line-height: 1.35;
  margin: 0;
}

.iso-image {
  /* width: 100%;
  max-width: 35px;
  height: 24px; */
  object-fit: contain;
  display: block;
  margin: 0 auto 5px 0;
}

.achievement-item {
  text-align: left;
  width: auto;
}

/* =========================================================
   ENGINEERING EXCELLENCE SECTION
========================================================= */

.engineering-section {
  padding-top: 77px;
  padding-bottom: 100px;
  border-bottom: 1px solid var(--tv-gray-300);
  overflow: hidden;
}

.engineering-content {
  max-width: 100%;
}

.engineering-content h2 {
  line-height: 1.22;
  margin: 0 0 22px;
  letter-spacing: -0.8px;
}

.engineering-description {
  line-height: 180%;
  margin-bottom: 30px;
}

.engineering-stats {
  margin-bottom: 40px;
}

.stat-item h4 {
  font-size: 24px;
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  white-space: nowrap;
}

.trusted-clients {
  position: relative;
  padding-top: 40px;
}

.trusted-clients::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 1px;
  background-color: var(--tv-gray-300);
}

.trusted-clients h5 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
}

.client-logos {
  width: 100%;
  max-width: 100%;
  flex-wrap: nowrap;
}

.client-item span {
  display: block;
  font-size: 14px;
  color: var(--tv-gray-600);
  padding-bottom: 10px;
}

.client-item img {
  display: block;
  max-width: 100%;
  width: auto;
  height: 30px;
  object-fit: contain;
  object-position: left center;
}

.engineering-award {
  display: flex;
  justify-content: right !important;
  align-items: center;
}

.engineering-award img {
  object-fit: cover;
  object-position: center;
}

/* Award trophy: stays still; main.js adds .is-shining each time it
   scrolls into view, which sweeps the shine below across it. */
.award-trophy {
  position: relative;
  display: block;
  max-width: 100%;
}

.award-trophy::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(255, 255, 255, 0.35) 44%,
    var(--tv-color-white) 48%,
    var(--tv-color-white) 50%,
    rgba(255, 255, 255, 0.35) 54%,
    transparent 57%,
    transparent 58.5%,
    rgba(255, 255, 255, 0.8) 59.5%,
    transparent 60.5%
  );
  background-size: 300% 100%;
  background-repeat: no-repeat;

  background-position: 95% 0;
  -webkit-mask: url("../images/deloitte-technology-fast50-award.png") center /
    100% 100% no-repeat;
  mask: url("../images/deloitte-technology-fast50-award.png") center / 100% 100%
    no-repeat;
  mix-blend-mode: screen;
}

.award-trophy.is-shining::after {
  animation: award-shine 1.4s cubic-bezier(0.45, 0, 0.25, 1) both;
}

@keyframes award-shine {
  from {
    background-position: 95% 0;
  }
  to {
    background-position: 0% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .award-trophy::after {
    animation: none;
    display: none;
  }
}

/* =========================================================
   OUR SERVICES SECTION
========================================================= */

.our-services-section {
  padding-top: 80px;
  padding-right: 0;
  padding-bottom: 80px;
  padding-left: 0;
  overflow: hidden;
}

.services-header {
  padding-bottom: 40px;
}

.services-header h2 {
  margin: 0;
  padding-bottom: 24px;
}

.services-header p {
  line-height: 1.6;
  margin: 0;
}

.services-grid {
  border-top: 1px solid var(--tv-gray-250);
  border-bottom: 1px solid var(--tv-gray-250);
  padding-bottom: 80px;
  margin: 0;
}

.service-column {
  padding: 0;
  border-bottom: 1px solid var(--tv-gray-250);
}

.service-column:nth-child(odd) {
  border-right: 1px solid var(--tv-gray-250);
}

.service-column:nth-child(3),
.service-column:nth-child(4) {
  border-bottom: none;
}

.service-card {
  display: block;
  height: 100%;
  padding: 30px 21px 20px 0;
  text-decoration: none;
  color: inherit;
}

.service-column:nth-child(even) .service-card {
  padding-left: 20px;
  padding-right: 0;
}

.service-number {
  display: block;
  font-size: 14px;
  line-height: 1;
  color: var(--tv-gray-600);
  margin-bottom: 30px;
  font-weight: 400;
}

.service-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
  margin-bottom: 19px;
}

.service-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.service-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
  padding-top: 20px;
}

.service-title h3 {
  font-size: 20px;
  line-height: 100%;
  margin: 0;
}

.service-arrow {
  display: inline-block;
  font-size: 21px;
  line-height: 1;
  color: var(--tv-color-accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
}

img.service-arrow {
  width: 20px;
  height: 20px;
  display: inline-block;
  object-fit: contain;
  margin-top: 5px;
}

.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

.service-list {
  margin: 0;
}

.service-list ul {
  padding-left: 14px;
  margin: 0;
}

.service-list li {
  font-size: 16px;
  line-height: 36px;
  padding-left: 0;
  color: #121214;
}

/* =========================================================
   PRODUCTS SHOWCASE SECTION
========================================================= */

.products-showcase-section {
  padding-bottom: 100px;
  color: var(--tv-color-ink);
  overflow-x: hidden;
}

.product-icon-img {
  width: 75px;
  height: 58px;
  object-fit: contain;
  display: block;
}

/* "Products we're proud of" stays stuck to the top while the products
   scroll / crossfade below it (tablet + desktop; phones turn it off in
   responsive.css). The background hides products passing under it, and
   main.js pins the products below its height. */
.products-showcase-section .container.products-header {
  position: sticky;
  top: 30px;
  z-index: 10;
  background: var(--tv-gray-100);
}

.showcase-main-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #141414;
}

.product-feature-block {
  max-width: 450px;
}
.product-feature-block strong {
  font-size: 18px;
}

.product-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--tv-color-ink);
  margin-bottom: 0.9rem;
  letter-spacing: -0.02em;
}

.product-description {
  font-size: 18px !important;
  line-height: 1.65;
  color: var(--tv-color-ink);
  margin-bottom: 1.75rem;
}

.explore-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 500;
  color: var(--tv-color-ink);
  text-decoration: none;
  transition:
    transform 0.25s ease,
    color 0.25s ease;
}

.explore-link img {
  transition: transform 0.25s ease;
}

.explore-link:hover {
  color: var(--tv-color-accent);
}

.explore-link:hover img {
  transform: translateX(6px);
}

.checkerboard-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.side-floating-label {
  width: 140px;
  height: 185px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 22px;
  text-align: right;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--tv-color-ink);
  flex-shrink: 0;
}

.checkerboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 185px);
  grid-template-rows: repeat(3, 185px);
  gap: 0;
}

.grid-cell {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.image-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.image-cell:hover img {
  transform: scale(1.05);
}

.text-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #141414;
  transition: background-color 0.25s ease;
}

.text-cell:hover {
  background-color: #f1f5f9;
}
/* 
.smart-addon, */
/* .smart-logger {
  padding-top: 60px !important;
} */
/* PRODUCTS RESPONSIVE */

.products-showcase-section {
  position: relative;
  width: 100%;
  overflow: clip;
}
/* Products fade in as they come into view (.tv-reveal on the rows and
   their content, random tile reveal on the grids - see main.js). */
.products-showcase-section .ai-wrap,
.products-showcase-section .addon-wrap,
.products-showcase-section .logger-wrap {
  position: relative;
  background: var(--tv-gray-100);
}

/* Crossfade stage (tablet/desktop, see "PRODUCTS SHOWCASE: crossfade"
   in main.js). Only active once main.js adds .is-crossfade - it checks
   the products fit on screen first - otherwise these two wrappers are
   plain blocks and the products scroll normally (phones, small screens,
   reduced motion, no JS).
   The three products sit on top of each other in one grid cell of a
   sticky "pin"; main.js sets the stage's height (scroll room) and each
   product's opacity as you scroll. */
.products-stage.is-crossfade .products-stage-pin {
  position: sticky;
  top: var(--products-pin-top, 0px);
  display: grid;
}

.products-stage.is-crossfade .products-stage-pin > * {
  grid-area: 1 / 1;
  align-self: center;
  will-change: opacity, transform;
}

/* Stacked, Evaluate AI's bottom margin would push it off-centre */
.products-stage.is-crossfade .evaluate-ai {
  margin-bottom: 0;
}

/* Pinned, the products are centred by main.js, so they only need to be
   as tall as their content. Their usual near-full-screen min-height
   would stop them fitting under the sticky heading, and main.js would
   then switch the crossfade off. */
.products-stage.is-crossfade .evaluate-ai,
.products-stage.is-crossfade .smart-addon,
.products-stage.is-crossfade .smart-logger {
  min-height: 0;
}

/* Same for the padding around Store Agent / Store Monitor (44px each
   side): pinned it only adds height, and without it the products fit
   under the sticky heading on laptop-height screens (~690px and up) */
.products-stage.is-crossfade .ai-sec .evaluate-ai,
.products-stage.is-crossfade .addon-sec .smart-addon,
.products-stage.is-crossfade .logger-sec .smart-logger {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Hidden products: out of the way of clicks/hover on the visible one */
.products-stage.is-crossfade .products-stage-pin > .is-xfade-hidden {
  visibility: hidden;
  pointer-events: none;
}

.products-showcase-section .ai-wrap {
  z-index: 1;
}

.products-showcase-section .addon-wrap {
  z-index: 2;
}

.products-showcase-section .logger-wrap {
  z-index: 3;
}

/* Figma spacing (tablet + desktop; phones keep their own spacing) */
@media (min-width: 768px) {
  /* Store Agent's grey band runs edge to edge */
  .products-showcase-section .ai-wrap,
  .products-showcase-section .addon-wrap,
  .products-showcase-section .logger-wrap {
    padding-left: 0;
    padding-right: 0;
  }

  /* Band hugs the grid: 44px above and below */
  .products-showcase-section .addon-sec .smart-addon {
    min-height: 0;
    padding-top: 44px !important;
    padding-bottom: 44px !important;
  }

  /* Store Monitor starts 44px below the band */
  .products-showcase-section .logger-sec .smart-logger {
    min-height: 0;
    padding-top: 44px !important;
  }
}
/*
.products-showcase-section .container {
  position: relative;
} */

.products-showcase-section .evaluate-ai,
.products-showcase-section .smart-addon,
.products-showcase-section .smart-logger {
  /* position: sticky;
  top: 140px; */
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-bottom: 60px;
  margin-top: 0 !important;
  background: var(--tv-gray-100);
}

/* Stacking order */
.products-showcase-section .evaluate-ai {
  z-index: 1;
}
/* 
.products-showcase-section .addon-sec,
.products-showcase-section .addon-sec .smart-addon {
  background-color: #f0f0f0;
} */
.logger-sec {
  background-color: var(--tv-gray-100);
}
.products-showcase-section .smart-addon {
  z-index: 2;

  margin-bottom: 0;
}

.products-showcase-section .smart-logger {
  z-index: 3;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Keep content visible */
.products-showcase-section .showcase-left-content,
.products-showcase-section .checkerboard-wrapper {
  position: relative;
}

/* Images */
.products-showcase-section .image-cell img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Grid cells (image + text): random one-by-one reveal (driven by main.js).
   The hidden state only exists once JS adds .tv-cell-reveal, so the
   cells stay visible if the script never runs. Only opacity and
   transform animate (a 30px fade-up plus a scale from 0.9), so there is
   no layout shift; transforms never change the page width. The image
   hover zoom is on the <img>, so it doesn't clash with this transform;
   the text-cell hover background keeps its own 0.25s transition. */
.products-showcase-section .grid-cell.tv-cell-reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(0.9); /* fade up + scale in */
  transition:
    opacity 1s ease,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.25s ease;
}

.products-showcase-section .grid-cell.tv-cell-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .products-showcase-section .grid-cell.tv-cell-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   INDUSTRY SECTION
========================================================= */

.industry-section {
  width: 100%;
  border-top: 1px solid var(--tv-gray-300);
  border-bottom: 1px solid var(--tv-gray-300);
  padding-bottom: 80px;
  padding-top: 80px;
}

.industry-header {
  margin-bottom: 24px;
}

.industry-header h2 {
  font-size: 45px;
  line-height: 1.2;
  margin: 0 0 15px;
}

.industry-header p {
  line-height: 1.5;
  margin: 0;
  padding-bottom: 40px;
}

.industry-grid {
  margin: 0;
}

.industry-col {
  border-right: 1px solid #dedee1;
  border-bottom: 1px solid #dedee1;
  padding: 30px 32px 17px;
}

.industry-item {
  display: block;
  width: 100%;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  padding-right: 50px;
  padding-left: 50px;
}

.industry-number {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--tv-gray-600);
  margin-bottom: 30px;
  line-height: 1;
  transition: color 0.3s ease;
}

.industry-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}

.industry-item:hover .industry-image {
  filter: grayscale(0%);
}

.industry-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 30px;
}

.industry-title h4 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  transition: color 0.3s ease;
  color: var(--tv-color-ink);
}

.industry-arrow {
  width: 16px;
  height: 16px;
  object-fit: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

.industry-item:hover .industry-arrow {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.industry-item:hover .industry-title h4 {
  color: var(--tv-color-accent);
}

.industry-item:hover .industry-number {
  color: var(--tv-color-accent);
}

/* =========================================================
   CASE STUDIES SECTION
========================================================= */

.case-studies-section {
  /* 55px + the header's 45px padding-top = the original 100px spacing */
  padding-top: 55px !important;
  padding-bottom: 100px !important;
}
/* The header pins at the very top with a solid page-coloured background
   (padding-top keeps the text at the same 45px position). At the end of
   the stack the cards slide up *under* it instead of over its text. */
.case-studies-section .section-header {
  position: sticky;
  top: 0;
  padding-top: 30px;
  background-color: var(--tv-gray-100);
  z-index: 10;
}
.case-studies-section .case-card {
  top: 170px;
}
.section-header {
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--tv-color-ink);
  margin-bottom: 10px;
}

.section-header p {
  font-size: 15px;
  color: var(--tv-color-ink);
}

/* STACKING CARDS */

.cards-stack {
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: relative;
}

/* INDIVIDUAL STICKY CARD */

.case-card {
  position: sticky;
  top: 80px;
  background-color: var(--tv-color-white);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
  border-radius: 25px;
  transform-origin: top center;
  transition:
    transform 0.25s ease-out,
    filter 0.25s ease-out,
    opacity 0.25s ease-out; /* smooths the scroll-linked fade in main.js */
  will-change: transform, filter, opacity;
}

.case-card:nth-child(1) {
  z-index: 1;
}

.case-card:nth-child(2) {
  z-index: 2;
}

.case-card:nth-child(3) {
  z-index: 3;
}

.case-card:nth-child(4) {
  z-index: 4;
}

.case-card:nth-child(5) {
  z-index: 5;
}

.case-card:nth-child(6) {
  z-index: 6;
}

.case-card:nth-child(7) {
  z-index: 7;
}

.visual-photo {
  width: 100%;
  height: 100%;
  display: block;
}

.card-content {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--tv-color-white);
}

.card-number {
  font-size: 15px;
  font-weight: 400;
  color: var(--tv-color-ink);
  margin-bottom: 20px;
  display: block;
}

.card-title {
  font-size: 24px;
  font-weight: 800;
  color: #111827;
  padding-bottom: 20px;
}

.card-subtitle {
  font-size: 15px;
  font-weight: 600;
  color: #27272a;
  padding-bottom: 20px;
}

.card-desc p {
  font-size: 16px !important;
  color: var(--tv-color-ink);
  margin-bottom: 14px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 28px;
}

.tag {
  font-size: 12px;
  font-weight: 500;
  color: #3f3f46;
  background-color: var(--tv-color-white);
  border: 1px solid #d4d4d8;
  padding: 5px 14px;
  border-radius: 999px;
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  color: var(--tv-color-ink);
  text-decoration: none;
  width: fit-content;
  transition: gap 0.2s ease;
}

.case-link:hover {
  gap: 10px;
}

/* =========================================================
   FAQ SECTION
========================================================= */

.tv-faq-section {
  color: var(--tv-color-ink);
  border-top: 1px solid var(--tv-gray-300);
  padding-top: 80px;
  padding-bottom: 80px;
}

.tv-faq-heading {
  font-size: 45px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 56px;
  text-align: left;
}

.tv-faq-list {
  max-width: 1100px;
  margin: 0 auto;
}

.tv-faq-item {
  border-bottom: 1px solid #e2e2e6;
}

.tv-faq-question {
  display: flex;
  align-items: flex-start;
  padding: 28px 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
  gap: 32px;
}

/* Bootstrap accordion: reset its default look so the FAQ keeps
   the original design (no borders, chevron, tinted active state or focus glow) */
.tv-faq-list.accordion {
  --bs-accordion-color: var(--tv-color-ink);
  --bs-accordion-bg: transparent;
  --bs-accordion-border-width: 0;
  --bs-accordion-border-radius: 0;
  --bs-accordion-inner-border-radius: 0;
  --bs-accordion-btn-color: var(--tv-color-ink);
  --bs-accordion-btn-bg: transparent;
  --bs-accordion-active-color: var(--tv-color-ink);
  --bs-accordion-active-bg: transparent;
  --bs-accordion-btn-focus-box-shadow: none;
}

.tv-faq-list .accordion-header {
  font-size: inherit;
  line-height: inherit;
  margin: 0;
}

.tv-faq-question.accordion-button {
  font-family: inherit;
  font-size: inherit;
  text-align: start;
}

.tv-faq-question.accordion-button::after {
  display: none;
}

.tv-faq-question.accordion-button:not(.collapsed) {
  box-shadow: none;
}

.tv-faq-question:focus-visible {
  outline: 2px solid var(--tv-color-ink);
  outline-offset: 2px;
}

/* Same easing as the site's scroll reveals */
.tv-faq-list .collapsing {
  transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .tv-faq-list .collapsing {
    transition: none;
  }
}

.tv-faq-number {
  font-size: 18px;
  font-weight: 600;
  color: var(--tv-color-ink);
  min-width: 24px;
  padding-top: 4px;
}

.tv-faq-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  flex: 1;
}

.tv-faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 5px;
}

.tv-faq-icon::before,
.tv-faq-icon::after {
  content: "";
  position: absolute;
  background-color: var(--tv-color-ink);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.tv-faq-icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.tv-faq-icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

.tv-faq-question:not(.collapsed) .tv-faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.tv-faq-answer {
  padding: 0 48px 28px 56px;
}

.tv-faq-answer p {
  font-size: 16px !important;
  line-height: 1.65;
  margin: 0;
}

/* =========================================================
   HOW WE WORK SECTION - VERTICAL STEP SLIDER
========================================================= */

.how-we-work-section {
  --hww-accent: var(--tv-color-accent);
  --hww-gap: 40px;
  position: relative;
  color: var(--tv-color-ink);
  border-top: 1px solid var(--tv-gray-300);
  padding: 80px 0;
}

/* LEFT INTRO */

.hww-intro {
  max-width: 520px;
}

.hww-title {
  margin: 0 0 40px;
}

.hww-subheading {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 10px;
}

.hww-description {
  line-height: 1.6;
  margin: 0 0 30px;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.btn-strategy {
  background-color: var(--tv-color-ink);
  color: var(--tv-color-white);
  padding: 9px 32px !important;
  border: 1px solid var(--tv-color-ink);
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.btn-strategy:hover {
  background-color: var(--tv-color-white);
  color: var(--tv-color-ink);
  border: 1px solid var(--tv-gray-300);
}

.btn-services {
  background-color: var(--tv-color-white);
  color: var(--tv-color-ink);
  padding: 9px 70px !important;
  border: 1px solid var(--tv-gray-300);
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.btn-services:hover {
  background-color: var(--tv-color-ink);
  color: var(--tv-color-white);
}

/* STEP TRACK */

.hww-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--hww-gap);
}

.hww-step {
  display: flex;
  align-items: stretch;
  gap: 22px;
  transition: opacity 0.4s ease;
}

/* Static mode: dim everything except the active step */
.how-we-work-section.is-enhanced .hww-step:not(.is-active) {
  opacity: 0.3;
}

.hww-step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 44px;
}

.hww-step-badge {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--tv-color-white);
  border: 1.5px solid transparent;
  color: #9a9aa1;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition:
    border-color 0.35s ease,
    color 0.35s ease;
}

.hww-step.is-active .hww-step-badge {
  border-color: var(--hww-accent);
  color: var(--hww-accent);
}

.hww-step-line {
  position: relative;
  flex: 1;
  width: 1.5px;
  min-height: 40px;
  margin-top: 10px;
  background-color: #d4d4d8;
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.hww-step.is-active .hww-step-line {
  opacity: 1;
}

.hww-step-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #00c4cc;
  transform: scaleY(0);
  transform-origin: top center;
  will-change: transform;
}

/* Static mode updates less often, so smooth the steps a little */
.how-we-work-section:not(.is-pinned) .hww-step-line-fill {
  transition: transform 0.15s linear;
}

/* Step content */

.hww-step-body {
  flex: 1;
  min-width: 0;
  max-width: 420px;
  padding-top: 9px;
  padding-bottom: 12px;
}

.hww-step-title {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 18px;
}

.hww-step-text {
  line-height: 1.6;
  margin: 0 0 28px;
}

.hww-step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 30px;
}

.hww-step-list li {
  position: relative;
  padding-left: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.hww-step-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--tv-color-ink);
}

/* PINNED MODE (desktop, set by main.js) */

.how-we-work-section.is-pinned {
  --hww-gap: 90px;
  /* 80vh of scrolling per step + one screen for the pinned frame */
  height: calc(var(--hww-steps, 5) * 80vh + 100vh);
  padding: 0;
}

.how-we-work-section.is-pinned .hww-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.how-we-work-section.is-pinned .hww-sticky > .container,
.how-we-work-section.is-pinned .hww-row {
  height: 100%;
}

.how-we-work-section.is-pinned .hww-viewport {
  position: relative;
  height: 100vh;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 12%,
    #000 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 12%,
    #000 88%,
    transparent 100%
  );
}

.how-we-work-section.is-pinned .hww-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  will-change: transform;
}

.how-we-work-section.is-pinned .hww-step {
  transition: none;
}

/* =========================================================
   FOOTER SECTION
========================================================= */

.tv-footer-wrapper {
  color: var(--tv-color-ink);
  overflow-x: hidden;
  /* clip (unlike hidden) leaves vertical overflow visible, so the
     "Creating Excellence" text isn't cut off at the top when it lifts
     40px above the footer edge. Older browsers keep "hidden" above. */
  overflow-x: clip;
  padding-top: 100px;
}

.tv-watermark-wrap {
  position: relative;
  z-index: 2;
  margin-bottom: -30px;
  pointer-events: none;
}

/* 4-step reveal, played forward when the footer comes into view and in
   reverse when scrolling back up (see "FOOTER WATERMARK" in main.js):
   1. rises from fully hidden behind the footer panel to its place
   2. rises a further 40px
   3. comes in front of the panel (.is-front)
   4. slides 40px down, back to its original position
   main.js sets transform/opacity inline on every frame, so there is no
   CSS transition here. This is the starting state: one full
   text-height (+20px) lower, hidden behind the panel. */
.tv-watermark-wrap {
  opacity: 0;
  transform: translate3d(0, calc(100% + 20px), 0) scale(0.8);
  /* Scales up from its bottom centre, so it grows upward off the panel */
  transform-origin: center bottom;
  transition: none;
  will-change: opacity, transform;
}

/* Layering: until step 3 it sits behind the grey footer panel
   (.tv-footer-main, z-index 1), so it emerges from behind the panel's
   top edge. main.js then adds .is-front and it comes to the foreground
   (z-index 2, as in the original design). */
.tv-watermark-wrap {
  z-index: 0;
}

.tv-watermark-wrap.is-front {
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .tv-watermark-wrap {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

.tv-watermark-img {
  width: 100%;
  height: auto;
  display: inline-block;
}

/* MAIN FOOTER */

.tv-footer-main {
  background-color: #f3f3f3;
  padding-top: 60px;
  position: relative;
  z-index: 1;
}

.tv-discuss-heading {
  font-weight: 800;
  line-height: 120%;
  margin-bottom: 25px;
  padding-top: 35px !important;
}

.tv-divider {
  border: 0;
  border-top: 1px solid #dcdce0;
  opacity: 1;
  margin: 0 0 28px;
}

.tv-flag-img {
  width: 34px;
  height: 22px;
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.india-flag {
  padding-left: 100px !important;
}

.tv-loc-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.tv-loc-sub {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.tv-connect-box {
  margin-top: 50px;
  margin-bottom: 50px;
}

.tv-connect-label {
  font-size: 12px;
  font-weight: 700;
  color: #2b2b30;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.tv-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.tv-social-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
  filter: brightness(0) saturate(100%) invert(75%);
  transition: filter 0.3s ease;
}

.tv-social-icon:hover img {
  filter: none;
}

.tv-badges-row {
  padding-top: 8px;
}

.tv-rank-num {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.tv-rank-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--tv-color-ink);
  line-height: 1.3;
  margin-top: 2px;
}

.tv-iso-code {
  font-size: 13px;
  font-weight: 600;
  line-height: normal;
  margin-top: 5px;
}

.tv-form-label {
  display: block;
  font-size: 14px;
  color: var(--tv-gray-400) !important;
  margin-bottom: 5px;
}

.star-required {
  color: #f00c0c;
}

.tv-form-card {
  background-color: var(--tv-color-white);
  padding-bottom: 40px;
  padding-top: 60px;
  padding-left: 40px;
  padding-right: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
}

.tv-input-line {
  border: none !important;
  border-bottom: 1px solid var(--tv-gray-300) !important;
  border-radius: 0 !important;
  padding: 0px 0px 0px 0px !important;
  font-size: 14px !important;
  color: var(--tv-gray-400) !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.tv-input-line::placeholder {
  color: var(--tv-gray-400) !important;
  font-size: 14px !important;
}

.tv-input-line:focus {
  border-bottom-color: var(--tv-gray-300) !important;
  background-color: transparent !important;
}

.tv-select-box {
  border: 1px solid var(--tv-gray-400) !important;
  border-radius: 0 !important;
  padding: 11px 14px !important;
  font-size: 15px !important;
  font-weight: 400;
  color: var(--tv-color-ink);
  background-color: var(--tv-color-white);
  box-shadow: none !important;
  cursor: pointer;
}

.tv-select-box:focus {
  border-color: var(--tv-gray-300);
}

.tv-textarea-box {
  border: 1px solid var(--tv-gray-300);
  border-radius: 0 !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  color: var(--tv-gray-400) !important;
  box-shadow: none !important;
}

.tv-textarea-box::placeholder {
  color: var(--tv-gray-400) !important;
  font-size: 14px !important;
}

.tv-textarea-box:focus {
  border-color: var(--tv-color-ink);
}

.tv-submit-btn {
  background-color: var(--tv-color-ink) !important;
  color: var(--tv-color-white) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 90px !important;
  border-radius: 0 !important;
  border: 1px solid var(--tv-color-ink);
  transition: all 0.3s ease;
  margin-top: 20px;
  margin-bottom: 10px;
}

.tv-submit-btn:hover {
  background-color: transparent !important;
  color: var(--tv-color-ink) !important;
  border: 1px solid var(--tv-gray-400) !important;
}

.tv-submit-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* Contact form: spam-trap field, off screen for people (bots still see
   and fill it, and contact.php then ignores the submission) */
.tv-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Contact form: success / error message under the button (main.js) */
.tv-form-status {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.tv-form-status.is-success {
  color: #1e8a4c;
}

.tv-form-status.is-error {
  color: #017900;
}

.tv-contact-form .is-invalid {
  border-color: #d11a1a !important;
}

.tv-footer-links-row {
  padding-top: 100px;
  padding-bottom: 30px;
  column-gap: 0px !important;
}

.tv-col-heading {
  font-size: 18px;
  font-weight: 700 !important;
  color: #121214b2 !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.tv-link-list li {
  margin-bottom: 14px;
}

.tv-link-list a {
  font-size: 16px;
  font-weight: 400;
  color: var(--tv-color-ink);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  line-height: 1.4;
}

.tv-link-list a:hover {
  color: var(--tv-gray-600);
}

.tv-link-subtext {
  font-size: 11.5px;
  color: #4a4a52;
  font-weight: 400;
}

.tv-copyright-bar {
  border-top: 1px solid #e2e2e6;
  padding: 20px 0;
}

.tv-copyright-bar p {
  font-size: 15px !important;
  color: var(--tv-color-ink);
}

/* new-header-css  */

/* ==============================
   HEADER
================================ */

.site-header {
  width: 100%;
  position: relative;
  z-index: 1000;
}

.header-container {
  padding: 22px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  width: 100%;
}

/* Hamburger Button */
.menu-toggle-btn {
  width: 35px;
  height: 35px;
  padding: 5px;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle-btn span {
  display: block;
  width: 26px;
  height: 2px;
  background: #222;
}

/* ==============================
   FULL SCREEN OFFCANVAS
================================ */

.main-menu-offcanvas {
  width: 100% !important;
  max-width: 100% !important;
  height: 100vh !important;
  border: 0 !important;
  background: transparent;
  overflow-x: hidden;
  overflow-y: auto;
}

.main-menu-offcanvas,
.main-menu-offcanvas * {
  box-sizing: border-box;
}

.main-menu-offcanvas .menu-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

/* ==============================
   LEFT NAVIGATION PANEL
================================ */

.menu-left-panel {
  width: 100%;
  min-width: 0;
  background: #ebebeb;
  padding: 60px 13%;
  display: flex;
  align-items: flex-start;
}

.main-navigation {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.nav-link-item {
  color: var(--tv-color-ink);
  text-decoration: none;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.nav-link-item:hover,
.nav-link-item.active {
  color: var(--tv-color-accent);
}

.submenu {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 17px 0 0 22px;
}

.submenu a {
  font-size: 16px;
  color: var(--tv-color-ink);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.submenu a:hover {
  color: #00c5d3;
}

/* ==============================
   RIGHT CONTACT PANEL
================================ */

.menu-right-panel {
  width: 100%;
  min-width: 0;
  background: #363636;
  color: var(--tv-color-white);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Right Header */

.menu-right-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-logo img {
  width: 165px;
  max-width: 100%;
  height: auto;
}

.menu-close-btn {
  position: relative;
  width: 20px;
  height: 25px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-close-btn span {
  position: absolute;
  top: 12px;
  left: -10px;
  width: 26px;
  height: 1px;
  background: var(--tv-color-white);
}

.menu-close-btn span:first-child {
  transform: rotate(45deg);
}

.menu-close-btn span:last-child {
  transform: rotate(-45deg);
}

/* Welcome Section */

.menu-welcome {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  padding: 94px 0 60px;
}

.menu-welcome p {
  font-size: 20px !important;
  margin-bottom: 5px;
  color: var(--tv-color-white);
}

.menu-welcome h5 {
  font-size: 20px;
  line-height: 140%;
  color: var(--tv-color-white) !important;
  font-weight: 400 !important;
  margin: 0;
}

.get-touch-btn {
  background: #111;
  color: var(--tv-color-white);
  padding: 7px 13px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.get-touch-btn:hover {
  background: #00c5d3;
  color: var(--tv-color-white);
}

/* Common Heading */

.menu-small-heading {
  display: block;
  font-weight: 700;
  margin-bottom: 15px;
  color: #d4d4d4;
}

/* Contact Number */

.menu-contact-block {
  border-top: 1px solid #fdfdfd;

  border-bottom: 1px solid #fdfdfd;
  padding: 60px 0;
}

.menu-contact-link {
  color: var(--tv-color-white);
  font-size: 20px;
  text-decoration: none;
}

/* Location & Email */

.menu-info-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 15px;
  padding: 60px 0;
  border-bottom: 1px solid #fdfdfd;
}

.menu-info-block p,
.menu-info-block a {
  font-size: 18px;
  color: var(--tv-color-white);
  margin: 0;
  text-decoration: none;
  overflow-wrap: anywhere;
}

/* Social Media */

.menu-social-block {
  padding-top: 60px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 50px;
}

/* Normal State - White */

.menu-social-block .social-links a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;

  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

/* Hover State - Original Colors */

.menu-social-block .social-links a:hover img {
  filter: none;
}

/* =====================================
   AI DELIVER SECTION
===================================== */
.ai-tech-hero-top {
  padding-top: 40px;
  padding-bottom: 40px;
}

.ai-tech-hero-top p {
  font-size: 15px;
  color: var(--tv-gray-600);
  margin: 0;
  letter-spacing: 0.1px;
}

.ai-tech-hero-top p span {
  margin: 0 8px;
}

.tv-ai-deliver-section {
  position: relative;
  width: 100%;
  background-image: url("../images/section-image-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Main Content */

.tv-ai-deliver-content {
  position: relative;
  z-index: 2;
  padding: 25px 0;
}

.tv-ai-deliver-content p {
  font-size: 11px;
  line-height: 1.5;
  color: var(--tv-color-ink);
  margin: 0;
}

/* Right Side Image */

.tv-ai-deliver-main {
  position: relative;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--tv-gray-400);
  border-bottom: 1px solid var(--tv-gray-400);
}

.tv-ai-deliver-main .row {
  align-items: center;
}

.tv-ai-deliver-image {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -35px;
  margin-bottom: -35px;
}

/* Bottom CTA */

.tv-ai-deliver-bottom {
  position: relative;
  z-index: 2;
  padding: 40px 0;
}

.tv-ai-deliver-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.tv-ai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tv-ai-btn-dark {
  background-color: var(--tv-color-ink);
  color: var(--tv-color-white);
  padding: 13px 65px 13px 65px !important;
}

.tv-ai-btn-dark:hover {
  background-color: var(--tv-color-white);
  color: var(--tv-color-ink);
}

.tv-ai-btn-light {
  background-color: var(--tv-color-white);
  color: var(--tv-color-ink);
  padding: 13px 34px 13px 34px !important;
}

.tv-ai-btn-light:hover {
  background-color: var(--tv-color-ink);
  color: var(--tv-color-white);
}

/* ==========================================
   AI BUILD SECTION
========================================== */

.ai-build-section {
  padding-top: 100px;
  padding-bottom: 100px;
}

/* Section Header */

.ai-build-header {
  margin-bottom: 35px;
}

.ai-build-header h2 {
  margin-bottom: 10px;
}

.ai-build-header p {
  margin-bottom: 0;
  max-width: 950px;
}

/* Services Grid */

.ai-build-grid {
  border-top: 0;
}

/* Grid Items */

.ai-build-item {
  border-right: 1px solid var(--tv-gray-200);
  border-bottom: 1px solid var(--tv-gray-200);
}

/* Card Content */

.ai-build-card {
  padding: 30px;
  height: 100%;
}

.ai-build-card h3 {
  margin-bottom: 12px;
}

.ai-build-card p {
  margin-bottom: 0;
}

/* ==========================================
   AI CONTACT SECTION
========================================== */

.ai-contact-section {
  background-color: #111111;
  padding: 60px 0;
  width: 100%;
}

.ai-contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ai-contact-content h2 {
  color: var(--tv-color-white) !important;
  padding-bottom: 24px;
}

.ai-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--tv-color-white);
  color: var(--tv-color-ink);
  font-size: 18px;
  padding: 9px 100px;
  text-decoration: none;
  border: 1px solid var(--tv-color-white);
  transition: all 0.3s ease;
}

.ai-contact-btn:hover {
  background-color: transparent;
  color: var(--tv-color-white);
}

.ai-contact-content p {
  color: var(--tv-color-white);
  font-size: 22px !important;
  line-height: 120%;
  padding-top: 30px;
  margin-bottom: 0;
}

/* =========================================
   How We Deliver AI Sticky Horizontal Scroll SLIDE
   ========================================= */

.deliver-ai-scroll-wrapper {
  position: relative;
  height: 300vh;
  background-color: var(--tv-color-white);
  border-top: 1px solid var(--tv-color-white);
  border-bottom: 1px solid var(--tv-color-white);
}

.deliver-ai-sticky {
  position: sticky;
  top: 0;
  /* height: 100vh; */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 100px;
  padding-bottom: 100px;
  background-color: #f8f8f8;
  overflow: hidden;
}

/* Fixed Header Block */
.deliver-header-fixed {
  flex: 0 0 auto;
  width: 100%;
  margin-bottom: 54px;
}

.deliver-header-fixed .section-title {
  margin-bottom: 16px;
}

.deliver-header-fixed .section-subtitle {
  margin-bottom: 0;
}

.deliver-slider-viewport {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  padding-left: calc((100vw - 1320px) / 2 + 12px);
  overflow: visible;
}

.deliver-slider-track {
  display: flex;
  align-items: center;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* =========================================
   Slide States: Active vs Waiting
   ========================================= */

.deliver-slide {
  flex: 0 0 auto;
  width: 490px;
  transition:
    width 0.55s ease,
    opacity 0.45s ease;
}

.deliver-slide .slide-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Waiting Slide Image: Smaller & Grayscale */
.deliver-slide .slide-img-box {
  flex: 0 0 auto;
  width: 245px;
  height: 170px;
  overflow: hidden;
  background-color: #cbcbcd;
  transition:
    width 0.55s ease,
    height 0.55s ease;
}

.deliver-slide .slide-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.82;
  transition:
    filter 0.55s ease,
    opacity 0.55s ease;
}

.deliver-slide .slide-content-box {
  flex: 1;
  min-width: 0;
}

.deliver-slide .slide-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #cbcbcd;
  line-height: 1.1;
  margin-bottom: 10px;
  transition:
    font-size 0.45s ease,
    color 0.45s ease;
}

.deliver-slide .slide-heading {
  font-size: 18px !important;
  font-weight: 700 !important;
  margin-bottom: 10px;
}

.deliver-slide .slide-text {
  margin-bottom: 0;
}

/* ACTIVE SLIDE: Larger Image, Full Color, Cyan Number */
.deliver-slide.active {
  opacity: 1;
}

.deliver-slide.active .slide-inner {
  gap: 36px;
}

.deliver-slide.active .slide-img-box {
  width: 410px;
  height: 295px;
}

.deliver-slide.active .slide-img-box img {
  filter: grayscale(0%);
  opacity: 1;
}

.deliver-slide.active .slide-number {
  font-size: 28px;
  color: var(--tv-color-accent);
  margin-bottom: 12px;
}

.deliver-slide.active .slide-heading {
  font-size: 18px;
  margin-bottom: 12px;
}

/* Next waiting slide visible at right edge */
.deliver-slide.next-waiting {
  opacity: 1;
}

/* Past & far-future slides hidden */
.deliver-slide.is-past,
.deliver-slide.is-future {
  opacity: 0;
  pointer-events: none;
}

/* ======================================= */
/* AI-real-use-slide-section-css */

/* ============================================= */
.ai-use-cases-section {
  padding: 100px 6%;
  border-top: 1px solid var(--tv-gray-300);
  border-bottom: 1px solid var(--tv-gray-300);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

.ai-use-cases-section * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.ai-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  margin-bottom: 60px;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}

/* Left Image Container */
.image-stage {
  position: relative;
  width: 100%;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.use-case-img {
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: translateY(45px);
  transition:
    transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.3s ease;
  pointer-events: none;
}

.use-case-img.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.use-case-img.exit {
  opacity: 0;
  transform: translateY(-35px);
}

/* Right List Items */
.use-cases-list {
  display: flex;
  flex-direction: column;
}

.use-case-item {
  padding: 40px 0;
  border-bottom: 1px solid #8f8f8f;
  cursor: pointer;
  transition: all 0.25s ease;
}

.use-case-item:first-child {
  padding-top: 0;
}

.use-case-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.use-case-item h3 {
  font-size: 18px !important;
  font-weight: 600;
  color: #12121466 !important;
  margin-bottom: 6px;
  transition: color 0.25s ease;
}

.use-case-item p {
  color: #12121466 !important;
  line-height: 1.5;
  transition: color 0.25s ease;
}

/* Active & Hover State */
.use-case-item.active h3,
.use-case-item:hover h3 {
  color: var(--tv-color-ink) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

.use-case-item.active p,
.use-case-item:hover p {
  color: var(--tv-color-ink) !important;
}

/* =========================================
   AI Technology Stack Section
   ========================================= */

.custom-gap {
  --bs-gutter-y: 30px !important;
}

.ai-tech-stack-section {
  background-color: #f8f8f8;
  padding-top: 100px;
  padding-bottom: 100px;
  border-top: 1px solid var(--tv-gray-200);
  border-bottom: 1px solid var(--tv-gray-200);
}

.ai-tech-stack-section .section-title {
  margin-bottom: 30px;
}

.ai-tech-stack-section .section-subtitle {
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.65;
  max-width: 1120px;
  margin-bottom: 42px;
}

.ai-tech-stack-section .tech-card {
  background-color: var(--tv-color-white);
  border: 1px solid var(--tv-gray-400);
  border-radius: 0px;
  padding: 45px 32px 45px;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.ai-tech-stack-section .tech-card:hover {
  border-color: #bcbcbc;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.ai-tech-stack-section .tech-card-title {
  font-size: 20px;
  font-weight: 700 !important;
  margin-bottom: 30px;
  line-height: 150%;
}

.ai-tech-stack-section .tech-items-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px 38px;
}

.ai-tech-stack-section .tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 72px;
}

.ai-tech-stack-section .tech-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.ai-tech-stack-section .tech-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ai-tech-stack-section .tech-label {
  font-size: 18px;
  color: var(--tv-color-ink);
  line-height: 150%;
}

/* PRIVATE-AI-CONTACT-BANNER-CSS */

.private-ai p {
  padding-top: 0px !important;
  padding-bottom: 40px !important;
}

/* =========================================
   Why Techvalens Section Styles
   ========================================= */

.why-techvalens-section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.why-techvalens-section .section-title {
  margin-bottom: 60px;
}

/* Individual Feature Block */
.why-techvalens-section .why-item {
  margin-bottom: 40px;
}

/* .why-techvalens-section .col-lg-6 .why-item:last-child {
  margin-bottom: 0;
} */

.why-techvalens-section .why-item-title {
  font-size: 20px;
  line-height: 120%;
  margin-bottom: 20px;
  padding-top: 0px;
}

.why-techvalens-section .why-item-desc {
  line-height: 35px;
  margin-bottom: 0;
  max-width: 530px;
}

.why-item.custom-padding {
  padding-top: 72px !important;
}
/* ==============================================
Talent-services-page-css
=============================================== */

.hire-hero-btn {
  padding: 13px 75px !important;
}

.custom-subheading {
  padding-bottom: 30px;
}

/* Hero feature line: "18+ Years | India & USA | ..."
   Each separator sits 15px left of its item and is clipped by the
   list's overflow when that item starts a row, so a wrapped row
   never begins with a stray "|". */
.talent-hero-features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 29px;
  row-gap: 8px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.2;
  color: var(--tv-color-ink);
}

.talent-hero-features li {
  margin-left: -15px;
  padding-left: 14px;
  border-left: 1px solid var(--tv-color-ink);
}
.tv-ai-deliver-main.talent-hero-main {
  border-bottom: none;
}

/* <!-- =============================================== -->
    <!-- FLEXIBLE-HIRING-SECTION 02-CSS -->
<!-- ======================================== --> */

.hiring-section {
  border-bottom: 1px solid var(--tv-gray-300);
  padding: 100px 0;
}

.hiring-box {
  padding: 2rem 2.25rem;
}

.border-bottom-cacaca {
  border-bottom: 1px solid var(--tv-gray-300);
}

/* geographical-boundaries-section-css */

.talent-solutions-section {
  padding: 60px 0;
  background: #f8f8fa;
}

.talent-solutions-heading {
  margin-bottom: 50px;
}

.talent-solutions-heading h2 {
  margin-bottom: 8px;
}

.talent-solutions-heading p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: #222;
}

/* Talent Card */

.talent-solution-card {
  display: grid;
  grid-template-columns: 36.5% 1fr;
  background: var(--tv-color-white);
  border: 1px solid #dedede;
  margin-bottom: 24px;
  overflow: hidden;
}

/* Card Image */

.talent-solution-image {
  width: 100%;
  overflow: hidden;
}

.talent-solution-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Card Content */

.talent-solution-content {
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Header */

.talent-solution-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.talent-solution-header h3 {
  font-size: 34px;
  font-weight: 700;
  color: #171717;
  margin: 0 0 8px;
}

.talent-solution-header p {
  font-size: 13px;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.talent-country-flag {
  flex-shrink: 0;
  height: auto;
}

/* Services Grid */

.talent-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 20px;
}

.talent-service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.talent-service-item img {
  width: 11px;
  height: 11px;
  object-fit: contain;
  flex-shrink: 0;
}

.talent-service-item span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: #171717;
}

/* =====================================
   RECRUITMENT SOURCER SECTION
===================================== */

.recruitment-sourcer-section {
  width: 100%;
  background-color: var(--tv-color-ink);
  color: var(--tv-color-white) !important;
}

.recruitment-sourcer-content h2 {
  color: var(--tv-color-white) !important;
}

.recruitment-sourcer-section .container {
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
  margin-left: auto;
  margin-right: auto;
}

/* Main Wrapper */

.recruitment-sourcer-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  min-height: 484px;
  align-items: stretch;
}

/* =====================================
   LEFT CONTENT
===================================== */

.recruitment-sourcer-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 115px 130px 0px;
  min-width: 0;
}

.recruitment-sourcer-price {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--tv-color-white);
  margin-bottom: 14px;
}

.recruitment-sourcer-content h2 {
  color: var(--tv-color-white);
}

.recruitment-sourcer-divider {
  width: 100%;
  height: 1px;
  background-color: var(--tv-gray-600);
  margin: 40px 0;
}

.recruitment-sourcer-description {
  color: #eeeeee;
  margin: 0 0 50px;
}

/* =====================================
   CTA BUTTON
===================================== */

.recruitment-sourcer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  padding: 13px 0px;
  background-color: var(--tv-color-white);
  color: var(--tv-color-ink);
  font-size: 18px;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--tv-color-white);
  transition: all 0.3s ease;
}

.recruitment-sourcer-btn:hover {
  background-color: transparent;
  color: var(--tv-gray-300);
}

/* =====================================
   RIGHT CONTENT
   WHAT'S INCLUDED
===================================== */

.recruitment-sourcer-included {
  background-color: #1a1a1a;
  padding: 140px 0px 140px 60px;
}

.recruitment-sourcer-included-title {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  color: #858585;
  margin: 0 0 22px;
}

.recruitment-sourcer-list {
  padding-left: 17px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 75px;
}

.recruitment-sourcer-list li {
  font-size: 20px;
  font-weight: 600;
  line-height: 35px;
  color: var(--tv-color-white);
  padding-left: 0;
}

section.why-techvalens-section.talent-service-page {
  border-top: 1px solid var(--tv-gray-300);
}

.evaluat-text {
  padding: 30px 0;
}

.evluate-section {
  min-height: 100vh;
  padding: 60px 0;
  overflow-x: hidden;
}

.evluate-btn:hover {
  background-color: var(--tv-color-white) !important;
  color: var(--tv-color-ink) !important;
  border: 1px solid var(--tv-gray-300);
}

.evluate-btn,
.evluate-btn:visited,
.evluate-btn:focus,
.evluate-btn:active {
  background-color: var(--tv-color-ink);
  padding: 13px 65px !important;
  border: none;
  transition: background-color 0.3s ease;
  text-decoration: none !important;
  color: var(--tv-color-white) !important;
}

.circles-wrapper {
  position: relative;
  width: 100%;
  max-width: 620px;
  height: 760px;
  margin: 0 auto;
}

.feature-circle {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.feature-circle:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 229, 255, 0.15);
}

.border-dark-cyan {
  border: 2px solid #00f2ff;
}

.border-medium-cyan {
  border: 2px solid #00f2ff40;
}

.border-light-cyan {
  border: 2px solid #00f2ff40;
}

.circle-ats {
  width: 195px;
  height: 195px;
  top: 0px;
  left: 225px;
}

.circle-crm {
  width: 112px;
  height: 112px;
  top: 145px;
  left: 138px;
}

.circle-video {
  width: 170px;
  height: 170px;
  top: 180px;
  left: 348px;
}

.circle-resume {
  width: 172px;
  height: 172px;
  top: 250px;
  left: 175px;
}

.circle-vendor {
  width: 176px;
  height: 176px;
  top: 358px;
  left: 362px;
}

.circle-proctoring {
  width: 164px;
  height: 164px;
  top: 390px;
  left: 52px;
}

.circle-career {
  width: 150px;
  height: 150px;
  top: 462px;
  left: 218px;
}

.circle-analytics {
  width: 170px;
  height: 170px;
  top: 605px;
  left: 122px;
}
