/* =========================================================
   RESPONSIVE DESIGN - Bootstrap 5 breakpoints
   ---------------------------------------------------------
   xs  < 576px  |  sm >= 576px  |  md >= 768px
   lg >= 992px  |  xl >= 1200px |  xxl >= 1400px
   Large screens: >= 1920px (Full HD), >= 2560px (QHD)

   max-width values end in .98 so there is no gap between
   e.g. max-width: 767.98px and min-width: 768px.
========================================================= */

/* =========================================================
   1. DESKTOP-FIRST BREAKPOINTS (max-width)
========================================================= */

/* ---------- Below xxl: <= 1399.98px ---------- */
@media (max-width: 1399.98px) {
  .tech-hero-main {
    padding-bottom: 20px !important;
    background-size: contain;
  }

  .deliver-slider-viewport {
    padding-left: calc((100vw - 960px) / 2 + 12px);
  }

  .deliver-slide.active .slide-img-box {
    width: 325px;
    height: 235px;
  }

  .deliver-slide .slide-img-box {
    width: 200px;
    height: 145px;
  }

  .checkerboard-grid {
    grid-template-columns: repeat(3, 155px);
    grid-template-rows: repeat(3, 155px);
  }

  .side-floating-label {
    height: 155px;
    width: 120px;
    padding-right: 16px;
  }

  .ai-tech-stack-section .tech-items-wrapper {
    gap: 24px 26px;
  }
}

/* ---------- Tablet & below: <= 991.98px ---------- */
@media (max-width: 991.98px) {
  .header-container {
    padding: 18px 0;
  }
  .site-header .logo-img {
    width: 175px;
  }
  /* HERO MOBILE CSS */
  .tech-achievements {
    gap: 15px;
    padding-top: 20px;
    padding-left: 0px !important;
  }

  /* SERVICES SECTION CSS */

  .engineering-section,
  .our-services-section,
  .how-we-work-section,
  .industry-section,
  .tv-faq-section,
  .tv-footer-links-row,
  .hiring-section,
  .evluate-section,
  .why-techvalens-section {
    padding: 40px 0;
  }

  .case-studies-section.container {
    padding: 40px 20px !important;
  }
  .tv-footer-links-row {
    /* margin-top: 48px; */
  }

  .products-showcase-section {
    padding-bottom: 40px;
  }
  .engineering-content {
    max-width: 100%;
  }

  .engineering-description {
    max-width: 100%;
    font-size: 12px;
  }

  .engineering-award {
    height: 280px;
    margin-top: 30px;
  }

  .service-image {
    height: 100px;
  }

  .service-card {
    padding-right: 15px;
  }

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

  .service-list li {
    font-size: 16px;
  }

  .engineering-award.tv-reveal.is-visible {
    justify-content: center !important;
  }

  /* PRODUCTS RESPONSIVE */

  .showcase-main-title {
    margin-bottom: 30px !important;
  }
  .product-title {
    font-size: 1.2rem;
  }

  .checkerboard-wrapper {
    justify-content: center;
    margin-top: 1.5rem;
  }

  /* FOOTER MOBILE CSS */

  .tv-watermark-wrap {
    margin-bottom: -10px;
  }

  .tv-footer-main {
    padding-top: 52px;
  }

  .tv-form-card {
    padding: 32px 24px;
  }
  .service-column:nth-child(odd),
  .service-column {
    border-right: none;
    border-bottom: none;
  }
  .engineering-award {
    height: auto;
  }
  .products-showcase-section .evaluate-ai,
  .products-showcase-section .smart-addon,
  .products-showcase-section .smart-logger {
    min-height: 80vh;
    padding-top: 0px !important;
    padding-bottom: 50px;
  }

  /* .recruitment-sourcer-section {
    padding: 45px 0;
  } */

  .recruitment-sourcer-section .container {
    /* max-width: 960px; */
    padding-left: 25px;
    padding-right: 25px;
  }

  .recruitment-sourcer-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 450px;
  }

  .recruitment-sourcer-content {
    padding: 35px 30px 35px 0;
  }

  .recruitment-sourcer-included {
    padding: 65px 25px 40px;
  }

  .recruitment-sourcer-list {
    gap: 32px;
  }

  .talent-solutions-section {
    padding: 45px 0;
  }

  .talent-solution-card {
    grid-template-columns: 35% 1fr;
  }

  .talent-solution-image {
    height: 100%;
    min-height: 230px;
  }

  .talent-solution-content {
    padding: 22px 20px;
  }

  .talent-service-list {
    column-gap: 15px;
    row-gap: 16px;
  }

  .talent-service-item span {
    font-size: 12px;
  }

  .why-techvalens-section .why-item-desc {
    max-width: 100%;
  }

  .ai-tech-stack-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .ai-tech-stack-section .section-title {
    font-size: 34px;
  }

  .ai-tech-stack-section .tech-items-wrapper {
    gap: 28px 36px;
  }

  .deliver-ai-sticky {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .deliver-header-fixed {
    margin-bottom: 36px;
  }

  .deliver-header-fixed .section-title {
    font-size: 34px;
  }

  .deliver-slide.active .slide-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .deliver-slide.active .slide-img-box {
    width: 100%;
    height: 230px;
  }

  .deliver-slide .slide-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .deliver-slide .slide-img-box {
    width: 100%;
    height: 150px;
  }

  .deliver-slider-viewport {
    padding-left: calc((100vw - 720px) / 2 + 12px);
    height: auto;
  }

  .tv-ai-deliver-image {
    width: 100%;
    height: 100%;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 30px 0;
  }

  .hww-intro {
    max-width: 100%;
    margin-bottom: 50px;
  }

  .hww-title {
    margin-bottom: 24px;
  }

  .ai-use-cases-section {
    padding: 70px 5%;
  }

  .use-cases-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .image-stage {
    height: 320px;
  }
  .case-card {
    grid-template-columns: 1fr;
    top: 20px;
    min-height: auto;
  }

  .card-visual {
    height: 260px;
  }

  .card-content {
    padding: 28px 24px;
  }
}

/* ---------- Tablet only: 768px - 991.98px ---------- */
@media (min-width: 768px) and (max-width: 991.98px) {
  .industry-col:nth-child(2n) {
    border-right: none;
  }

  .tech-hero-content-2 h2,
  .tech-hero-content-1 h1 {
    font-size: 36px !important;
  }

  /* Hero columns are only ~360px wide here; the desktop side padding
     (155px / 60px) squeezed the text, so use an even 30px each side of the divider */
  .tech-hero-content-1 {
    padding-right: 30px;
  }

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

  .industry-col:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .industry-col {
    padding: 20px 25px;
  }
  .ai-build-item:nth-child(2n) {
    border-right: none;
  }

  .ai-build-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }
  .engineering-content h2,
  .services-header h2,
  .showcase-main-title,
  .hww-title,
  .industry-header h2,
  .section-header h2,
  .tv-faq-heading,
  .tv-discuss-heading {
    font-size: 28px !important;
  }
  .tv-faq-heading {
    margin-bottom: 20px !important;
  }
  .tv-footer-links-row .col-6 {
    padding-right: 0px !important;
  }
  .tv-footer-links-row .tv-col-heading {
    font-size: 16px;
  }
  .tv-footer-links-row li {
    margin-bottom: 10px;
  }
  .tv-footer-links-row a {
    font-size: 14px;
  }
  .tv-copyright-bar p {
    font-size: 12px !important;
  }

  .tv-ai-deliver-content h1 {
    font-size: 28px !important;
  }
  .hiring-section h2,
  .tv-ai-deliver-content h1,
  .ai-build-header h2,
  .talent-solutions-heading h2,
  .evluate-section .evaluat-tittle,
  .why-techvalens-section .section-title {
    font-size: 28px !important;
  }
  .why-techvalens-section .section-title {
    margin-bottom: 10px !important;
  }
  .tv-watermark-wrap {
    margin-bottom: -15px;
  }
  .tv-footer-main .tv-top-section .col-lg-5 {
    margin-top: 0px;
  }
  .recruitment-sourcer-content h2 {
    font-size: 28px !important;
  }
  .recruitment-sourcer-btn,
  .recruitment-sourcer-list li {
    font-size: 16px;
  }
  .recruitment-sourcer-list {
    gap: 24px;
  }
  .recruitment-sourcer-divider {
    margin: 20px 0;
  }
  .why-techvalens-section .why-item {
    margin-bottom: 15px;
  }
}

/* ---------- Mobile: <= 767.98px ---------- */
@media (max-width: 767.98px) {
  .tv-ai-deliver-content h1,
  .ai-build-header h2 {
    font-size: 24px !important;
  }
  .ai-build-card h3 {
    font-size: 21px !important;
  }
  .why-techvalens-section .why-item {
    margin-bottom: 26px !important;
  }
  .why-techvalens-section .col-lg-6:last-child .why-item:last-child {
    margin-bottom: 0px !important;
  }
  .tv-faq-question {
    align-items: baseline;
  }

  .hiring-section .hiring-box h3 {
    font-size: 21px !important;
    font-weight: 600 !important;
  }
  .why-techvalens-section .section-title {
    font-size: 24px;
    margin-bottom: 20px !important;
  }
  /* FAQ, footer & misc */

  .tv-faq-heading {
    font-size: 24px !important;
    margin-bottom: 26px;
  }

  .tv-faq-question {
    padding: 22px 0;
    gap: 16px;
  }

  .tv-faq-answer {
    padding: 0 24px 22px 40px;
  }
  .tv-link-list li {
    margin-bottom: 10px;
  }
  .tv-link-list a {
    font-size: 12px;
  }

  .tv-col-heading {
    margin-bottom: 14px;
  }
  .tv-copyright-bar {
    padding: 10px 0;
  }
  .tv-copyright-bar p {
    font-size: 9px !important;
  }
  .card-desc p {
    font-size: 14px !important;
  }
  .private-ai p {
    padding-bottom: 20px !important;
  }
  /* header-responsive-css */

  h1,
  h2 {
    font-size: 24px !important;
  }

  p {
    font-size: 14px !important;
  }

  .main-menu-offcanvas .menu-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .menu-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
  }

  .menu-close-btn span {
    background: #000;
  }

  .menu-left-panel {
    padding: 35px 30px;
  }

  .menu-right-panel {
    padding: 50px 25px 20px;
  }

  .main-navigation {
    gap: 18px;
  }

  .menu-welcome {
    padding: 30px 0;
  }

  .social-links {
    gap: 25px;
  }
  .social-links a {
    max-width: 25px;
  }
  .menu-welcome p {
    font-size: 16px !important;
    margin-bottom: 5px;
    color: var(--tv-color-white);
  }

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

  .menu-welcome {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-contact-block {
    padding: 30px 0;
  }
  .menu-info-block {
    flex-direction: column;
    display: flex;
    padding: 30px 0;
  }
  .menu-social-block {
    padding-top: 30px;
  }

  .submenu a {
    font-size: 14px !important;
  }
  .engineering-content h2 {
    font-size: 24px !important;
  }

  .nav-link-item {
    font-size: 16px !important;
  }
  .menu-contact-link {
    font-size: 14px;
  }
  .menu-small-heading {
    font-size: 14px;
  }
  .menu-info-block p,
  .menu-info-block a {
    font-size: 14px !important;
  }
  /* hero-section-mobile-css */

  .tech-hero-top {
    padding: 20px 0;
  }

  .tech-hero-top p {
    font-size: 14px !important;
  }

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

  .tech-hero-content-2 h2,
  .tech-hero-content-1 h1 {
    font-size: 26px !important;
    padding-bottom: 20px !important;
    margin-bottom: 0;
  }

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

  .tech-achievements {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding-top: 40px;
    padding-left: 0px !important;
  }

  .row.align-items-center.tech-achievements > div {
    width: 100%;
    max-width: 100%;
  }

  .tech-hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 12px;
    flex-wrap: nowrap;
  }

  .tech-hero-col {
    padding-top: 30px !important;
    padding-bottom: 0px !important;
  }

  .tech-hero-main {
    padding-bottom: 20px !important;
    background-size: contain;
  }
  .hww-title {
    font-size: 24px !important;
  }
  .showcase-main-title {
    font-size: 24px !important;
  }
  /* Keep the sliding wordmark a readable size when the columns stack */
  .tech-hero-main::before {
    top: 50%;
    height: 180px;
    margin-top: -90px;
  }

  .services-header h2 {
    font-size: 24px !important;
  }
  /* industry-mobile-css */

  .industry-header {
    margin-bottom: 0px !important;
  }

  .industry-image {
    width: 100%;
    height: 100%;
  }

  .industry-header h2 {
    font-size: 24px !important;
  }

  .industry-header p {
    font-size: 12px;
  }

  .industry-col {
    border-right: none;
    padding: 18px 15px;
  }

  .industry-col:last-child {
    border-bottom: none;
    padding-bottom: 0px;
  }
  .industry-col:last-child .industry-title {
    padding-bottom: 0px;
  }

  .industry-title h4 {
    font-size: 18px;
  }

  .industry-item {
    padding-right: 0px !important;
    padding-left: 0px !important;
  }

  /* services-section-mobile-css */
  .services-grid {
    padding-bottom: 40px;
  }

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

  .services-header p {
    font-size: 12px;
    line-height: 1.7;
  }

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

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

  .service-card,
  .service-column:nth-child(even) .service-card {
    padding: 18px 0 22px;
  }
  .services-grid .service-column:last-child .service-card {
    padding-bottom: 0px;
  }
  .service-number {
    margin-bottom: 14px;
  }

  .service-image {
    height: 140px;
    margin-bottom: 15px;
  }

  .service-title h3 {
    font-size: 18px;
  }

  .service-list li {
    line-height: 1.6;
    margin-bottom: 8px;
  }

  .section-header h2 {
    font-size: 24px !important;
  }

  .col-6.india-flag {
    padding-left: 0px !important;
  }

  .tv-social-links.d-flex.align-items-center.gap-5 {
    gap: 15px !important;
  }

  .row.g-4.tv-footer-links-row .col-6.col-md-3 {
    width: 100%;
  }

  /* prdocut-section-mobile-css */
  .smart-addon {
    padding-top: 50px !important;
  }

  .row.align-items-center.gy-5.smart-addon {
    flex-direction: column-reverse !important;
    padding-bottom: 50px !important;
  }

  .checkerboard-wrapper {
    flex-direction: column;
    align-items: center;
    margin-top: 0;
  }

  .side-floating-label {
    width: 100%;
    max-width: 450px;
    height: auto;
    justify-content: center;
    text-align: center;
    padding: 16px;
    background-color: var(--tv-color-white);
    border-bottom: 1px solid #f0f0f0;
  }

  .side-floating-label br {
    display: none;
  }

  .checkerboard-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 140px);
    width: 100%;
    max-width: 450px;
  }

  .tv-discuss-heading {
    padding-top: 0px !important;
    font-size: 24px !important;
  }
  .product-description {
    font-size: 14px !important;
  }

  .stat-item p {
    font-size: 14px !important;
    white-space: normal;
  }

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

  .smart-logger {
    padding-top: 40px !important;
  }

  .card-visual {
    height: auto;
  }

  .tv-faq-title {
    font-size: 14px;
  }
  .tv-faq-number {
    font-size: 14px;
  }
  .tv-faq-answer p {
    font-size: 12px !important;
  }

  .tech-hero-col:first-child {
    border-right: none;
  }
  .trusted-clients::before {
    width: 100%;
  }
  .engineering-award img {
    object-fit: cover;
    object-position: center;
    width: 200px;
  }

  /* Mobile: no sticky stacking - products scroll normally.
     The sticky elements are the full-width wrappers, so switch those off
     (a product is taller than a phone screen, so stacking would cover
     part of it before it could be read) */
  .products-showcase-section .ai-wrap,
  .products-showcase-section .addon-wrap,
  .products-showcase-section .logger-wrap {
    position: relative;
    top: auto;
  }
  .products-showcase-section .evaluate-ai,
  .products-showcase-section .smart-addon,
  .products-showcase-section .smart-logger {
    position: relative;
    top: auto;
    min-height: auto;
    padding-top: 0px !important;
    padding-bottom: 40px;
    gap: 30px;
    margin-bottom: 30px;
  }
  .products-showcase-section .smart-addon {
    flex-direction: column-reverse;
    padding-top: 40px !important;
  }
  .product-feature-block strong {
    font-size: 16px;
  }
  /* .row / .container outrank the base sticky header rule in style.css
     (the header is a .container in the current layout) */
  .products-showcase-section .row.products-header,
  .products-showcase-section .container.products-header {
    position: relative;
    top: auto;
  }
  .products-showcase-section .gy-5 {
    --bs-gutter-y: 1rem;
  }

  .tv-watermark-wrap {
    transform: translate3d(0, calc(100% + 20px), 0);
  }

  .tv-watermark-wrap.is-visible {
    transform: translate3d(0, 0, 0);
  }

  /* Mobile: no sticky stacking - heading and cards scroll normally.
     (Cards no longer overlap, so the scale/darken script in main.js
     leaves them at their normal size.) */
  .case-studies-section .section-header,
  .case-studies-section .case-card {
    position: relative;
    top: auto;
  }

  /* Header isn't pinned on mobile, so it doesn't need the mask */
  .case-studies-section .section-header {
    padding-top: 0;
    background-color: transparent;
    z-index: auto;
  }

  .deliver-slide.active .slide-img-box {
    height: 185px;
  }

  .deliver-slide .slide-img-box {
    height: 120px;
  }

  .deliver-slider-viewport {
    padding-left: calc((100vw - 540px) / 2 + 12px);
  }

  .tv-ai-deliver-top {
    padding: 15px 0;
  }

  .tv-ai-deliver-main {
    min-height: auto;
    padding: 30px 10px 10px 10px !important;
  }

  .tv-ai-deliver-content {
    padding: 0;
  }

  .tv-ai-deliver-content p {
    font-size: 12px;
    line-height: 1.6;
  }

  .tv-ai-deliver-image {
    position: relative;
    width: 100%;
    height: 100%;
    transform: none;
  }

  .tv-ai-deliver-bottom {
    padding: 20px 10px !important;
  }

  .tv-ai-deliver-buttons {
    flex-wrap: wrap;
    gap: 15px;
  }

  .tv-ai-btn {
    min-height: 38px;
    font-size: 14px;
  }

  /* AI-build-section-css */

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

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

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

  .ai-build-item:last-child {
    border-bottom: none;
  }

  .ai-build-card {
    padding: 25px 15px;
  }

  /* Contact-banner-csss */

  .ai-contact-section {
    padding: 30px 15px;
  }
  .ai-contact-btn {
    font-size: 14px;
  }

  .ai-contact-content h2 {
    margin-bottom: 0px;
    font-size: 21px !important;
    padding-bottom: 20px;
  }

  .ai-contact-content p {
    font-size: 13px !important;
    line-height: 1.5;
    padding-top: 20px;
  }
  .border-right-cacaca {
    border-bottom: 1px solid var(--tv-gray-300);
  }

  .talent-solutions-section {
    padding: 35px 0;
  }

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

  .talent-solutions-heading p {
    font-size: 14px;
  }

  .talent-solution-card {
    grid-template-columns: 1fr;
    margin-bottom: 20px;
  }

  .talent-solution-image {
    height: 220px;
    min-height: auto;
  }

  .talent-solution-content {
    padding: 22px 18px;
  }

  .talent-solution-header {
    gap: 12px;
    margin-bottom: 22px;
  }

  .talent-solution-header h3 {
    font-size: 18px;
  }

  .talent-solution-header p {
    font-size: 13px;
  }

  .talent-country-flag {
    width: 34px;
  }

  .talent-service-list {
    grid-template-columns: 1fr;
    row-gap: 15px;
  }

  .talent-service-item span {
    font-size: 13px;
  }

  .recruitment-sourcer-section {
    padding: 35px 0;
  }

  .recruitment-sourcer-section .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .recruitment-sourcer-wrapper {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .recruitment-sourcer-content {
    padding: 20px 0 35px;
  }

  .recruitment-sourcer-price {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .recruitment-sourcer-content h2 {
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .recruitment-sourcer-description {
    font-size: 13px;
    line-height: 1.7;
  }

  .recruitment-sourcer-btn {
    width: 180px;
    min-height: 36px;
    font-size: 11px;
  }

  .recruitment-sourcer-included {
    padding: 30px 25px;
  }

  .recruitment-sourcer-included-title {
    font-size: 13px;
    margin-bottom: 22px;
  }

  .recruitment-sourcer-list {
    gap: 22px;
    padding-left: 18px;
  }

  .recruitment-sourcer-list li {
    font-size: 13px;
    line-height: 1.6;
  }

  .circles-wrapper {
    position: static;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .feature-circle {
    position: static;
    width: 155px !important;
    height: 155px !important;
    font-size: 0.8rem;
  }
  .why-techvalens-section .why-item-title {
    font-size: 16px;
    margin-bottom: 8px;
    padding-top: 0px !important;
  }
  .why-techvalens-section .why-item {
    margin-bottom: 26px;
    padding-top: 0px !important;
  }
  .tv-badges-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .tv-iso-badge {
    text-align: start !important;
  }
}

/* ---------- Small mobile: <= 575.98px ---------- */
@media (max-width: 575.98px) {
  .engineering-description {
    font-size: 12px;
    line-height: 1.7;
  }

  .engineering-stats {
    row-gap: 22px;
    padding-bottom: 30px;
  }

  .stat-item h4 {
    font-size: 14px;
  }

  .trusted-clients {
    max-width: 100%;
    margin-top: 10px;
  }

  .client-logos {
    width: 100%;
  }

  .client-item img {
    max-width: 90%;
    height: 18px;
  }

  /* FOOTER MOBILE CSS */

  .tv-watermark-wrap {
    margin-bottom: -6px;
  }

  .ai-tech-stack-section {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .ai-tech-stack-section .section-title {
    font-size: 28px;
    margin-bottom: 14px;
  }

  .ai-tech-stack-section .section-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .ai-tech-stack-section .tech-card {
    padding: 22px 18px 24px;
  }

  .ai-tech-stack-section .tech-card-title {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .ai-tech-stack-section .tech-items-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 14px;
  }

  .ai-tech-stack-section .tech-item {
    min-width: unset;
  }

  .deliver-ai-scroll-wrapper {
    height: 380vh;
  }

  .deliver-header-fixed .section-title {
    font-size: 28px;
  }

  .deliver-header-fixed {
    margin-bottom: 28px;
  }

  .deliver-slide.active .slide-img-box {
    height: 165px;
  }

  .deliver-slide .slide-img-box {
    height: 105px;
  }

  .deliver-slider-viewport {
    padding-left: 15px;
    padding-right: 0;
  }

  .why-techvalens-section .why-item-desc {
    font-size: 13.5px;
    line-height: 1.65;
  }

  /* How We Work */
  .how-we-work-section {
    --hww-gap: 32px;
  }

  .hww-step {
    gap: 16px;
  }

  .hww-step-marker {
    width: 38px;
  }

  .hww-step-badge {
    width: 38px;
    height: 38px;
    font-size: 12px;
  }

  .hww-step-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* header-mobile-css */

  .menu-left-panel {
    padding: 30px 25px;
  }

  .menu-info-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  /* === PRODUCTS-SECTION ==== */

  .checkerboard-grid {
    grid-template-rows: repeat(3, 115px);
  }

  .text-cell,
  .side-floating-label {
    font-size: 12px;
    padding: 10px;
  }

  .tv-faq-answer {
    padding: 0 0 20px;
  }

  .tv-ai-deliver-buttons {
    gap: 8px;
  }

  .tv-ai-btn {
    min-width: 0;
    padding: 10px 12px;
  }

  .recruitment-sourcer-content h2 {
    font-size: 24px;
  }

  .recruitment-sourcer-included {
    padding: 25px 20px;
  }

  .talent-solution-image {
    height: 190px;
  }

  .talent-solution-content {
    padding: 20px 15px;
  }

  .talent-solutions-heading p {
    font-size: 13px;
  }
}

/* =========================================================
   2. DESKTOP & LARGE SCREENS (min-width)
========================================================= */
@media (min-width: 768px) {
  .border-right-cacaca {
    border-right: 1px solid var(--tv-gray-300);
  }
}
/* ---------- Desktop: >= 992px ---------- */
@media (min-width: 992px) {
  .ai-build-item:nth-child(3n) {
    border-right: none;
  }

  .ai-build-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .industry-col:nth-child(3n) {
    border-right: none;
  }

  .industry-col:nth-last-child(-n + 3) {
    border-bottom: none;
  }
}

/* ---------- Desktop: 992px - 1399.98px ---------- */
@media (min-width: 992px) and (max-width: 1399.98px) {
  .menu-welcome,
  .menu-contact-block,
  .menu-info-block {
    padding: 20px 0;
  }
  .tech-achievements {
    text-align: left;
    padding-left: 30px !important;
  }
  .menu-welcome p,
  .menu-welcome h5 {
    font-size: 18px !important;
  }
  .menu-small-heading,
  .menu-contact-link {
    font-size: 16px;
  }
  .menu-info-block p,
  .menu-info-block a {
    font-size: 14px !important;
  }
}
@media (min-width: 1399.98px) and (max-width: 1650px) {
  .menu-right-panel {
    padding: 50px 40px;
  }
  .menu-welcome {
    padding: 40px 0 30px;
  }
  .menu-contact-block,
  .menu-info-block {
    padding: 30px 0;
  }
  .menu-social-block {
    padding-top: 30px;
  }
  .case-studies-section .case-card {
    top: 140px;
    min-height: 465px !important;
    max-height: calc(-200px + 100vh);
  }
  .card-content {
    padding: 20px 44px;
  }
  .card-number {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .card-title {
    font-size: 24px;
    margin-bottom: 10px;
  }
  .card-subtitle {
    padding-bottom: 10px;
  }
  .card-desc p {
    margin-bottom: 8px;
  }
  .tech-tags {
    margin: 15px 0;
  }
  .case-studies-section .section-header p {
    padding-bottom: 0px;
  }
}
@media (min-width: 1500px) and (max-width: 1899px) {
  p {
    font-size: 18px !important;
  }
  .case-studies-section .section-header p {
    padding-bottom: 10px;
  }
}
/* ---------- Large screens (Full HD): >= 1920px ---------- */
@media (min-width: 1900px) {
  .container {
    max-width: 85%;
  }
  .submenu a {
    font-size: 30px;
  }
  .nav-link-item {
    font-size: 35px;
  }
  .get-touch-btn {
    font-size: 15px;
  }
  .menu-logo img {
    width: 325px;
  }
  .menu-close-btn span {
    width: 40px;
  }
  .menu-welcome p {
    font-size: 30px !important;
  }
  .menu-welcome h5 {
    font-size: 30px;
  }
  .menu-small-heading {
    font-size: 20px;
  }
  .menu-contact-link,
  .menu-info-block p,
  .menu-info-block a {
    font-size: 30px !important;
  }
  .tech-hero-section .tech-hero-container {
    display: flex;
    min-height: 55vh;
    justify-content: center;
    align-items: center;
  }
  .tech-hero-section .tech-hero-container .tech-hero-content-2 h2,
  .tech-hero-section .tech-hero-container .tech-hero-content-1 h1,
  .tv-ai-deliver-content h1 {
    font-size: 78px !important;
  }
  h2 {
    font-size: 60px !important;
  }
  p {
    font-size: 18px !important;
  }
  .tech-hero-section .tech-hero-buttons {
    gap: 20px !important;
  }
  .tech-hero-section .tech-hero-buttons .hero-btn {
    font-size: 20px !important;
  }
  .tech-hero-section .achievement-item h3 {
    font-size: 30px;
  }
  .tech-hero-section .achievement-item p {
    font-size: 16px !important;
  }
  .tv-watermark-wrap {
    margin-bottom: -35px !important;
  }
  .service-list li {
    font-size: 18px;
  }
  .products-showcase-section .evaluate-ai,
  .products-showcase-section .smart-addon,
  .products-showcase-section .smart-logger {
    min-height: calc(100vh - 410px);
  }
  .tv-faq-answer p {
    font-size: 18px !important;
  }
  .case-studies-section .case-card {
    top: 190px;
  }
  .ai-contact-content p {
    font-size: 30px !important;
  }
  .why-techvalens-section .why-item-title {
    font-size: 24px;
  }
  .tv-faq-title {
    font-size: 24px;
  }
  .tv-locations-row p,
  .tv-connect-label,
  .tv-col-heading,
  .tv-link-list a {
    font-size: 20px !important;
  }
  .ai-build-section,
  .deliver-ai-sticky,
  .why-techvalens-section,
  .hiring-section {
    padding-top: 120px;
  }
  .tv-ai-deliver-content {
    padding: 30px 0;
  }
  .tv-ai-deliver-content p.custom-subheading {
    font-size: 24px !important;
    font-weight: 600;
  }
  .hiring-box h3 {
    font-size: 30px !important;
  }
  .talent-solutions-section {
    padding: 100px 0;
  }
  .talent-service-item span {
    font-size: 22px;
  }
  .talent-solution-content {
    padding: 50px 40px 50px 60px;
  }
  .recruitment-sourcer-description {
    font-size: 22px !important;
  }
  .recruitment-sourcer-included {
    padding: 222px 0px 222px 60px;
  }
  .recruitment-sourcer-included-title {
    font-size: 24px !important;
  }
  .recruitment-sourcer-list li {
    font-size: 26px;
  }
  .why-techvalens-section .col-lg-6.col-md-12:last-child .why-item {
    margin-bottom: 0px;
  }
  .menu-social-block .social-links a img {
    min-width: 50px;
    min-height: 50px;
  }
  .main-navigation {
    gap: 60px;
  }
  .submenu {
    gap: 40px;
  }
}
/* ---------- Extra large screens (QHD): >= 2560px ---------- */
@media (min-width: 2500px) {
  .tech-hero-section .tech-hero-container {
    display: flex;
    min-height: 55vh;
    justify-content: center;
    align-items: center;
  }
  .tech-hero-section .tech-hero-container .tech-hero-content-2 h2,
  .tech-hero-section .tech-hero-container .tech-hero-content-1 h1 {
    font-size: 84px !important;
  }
  p {
    font-size: 24px !important;
  }
  .tech-hero-section .tech-hero-buttons {
    gap: 24px !important;
  }
  .tech-hero-section .tech-hero-buttons .hero-btn {
    font-size: 24px !important;
  }
  .tech-hero-section .achievement-item h3 {
    font-size: 32px;
  }
  .tech-hero-section .achievement-item p {
    font-size: 18px !important;
  }
  .tech-hero-section .achievement-item .iso-image {
    min-width: 70px;
  }
  .tv-watermark-wrap {
    margin-bottom: -50px !important;
  }
}
