/* Combined layout-cls, typography-system, mobile, and a11y so the homepage makes one request instead of four. */
/* Layout stability overrides (CLS) - load after main.css */

/* Sticky header: keep same look as default; disable slide-in animation (CLS) */
.tg-header__area.sticky-menu {
  background: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 5px 0px;
}

/* Homepage top bar: reserve space before fonts/metrics settle */
.transparent-header .tg-header__top {
  min-height: 46px;
}

/* Footer blog grid: reserve ~3 rows of thumbnails (85px + 13px gap) */
.footer-instagram .list-wrap {
  min-height: 281px;
}

.footer-blog-skeleton__thumb {
  display: block;
  width: 85px;
  height: 85px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
/* =================================================================
   DATOPIC TECHNOLOGIES - COMPREHENSIVE TYPOGRAPHY SYSTEM
   Modern, Responsive, Accessible Typography Scale
   ================================================================= */

:root {
  /* =================================================================
     TYPOGRAPHY SCALE - CSS CUSTOM PROPERTIES
     ================================================================= */
  
  /* Font Families */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'Outfit', 'Inter', sans-serif;
  --font-monospace: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;

  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-snug: 1.3;
  --line-height-normal: 1.4;
  --line-height-relaxed: 1.6;
  --line-height-loose: 1.8;

  /* Letter Spacing */
  --letter-spacing-tight: -0.025em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.025em;
  --letter-spacing-wider: 0.05em;
  --letter-spacing-widest: 0.1em;

  /* =================================================================
     RESPONSIVE FONT SIZES - USING CLAMP()
     ================================================================= */
  
  /* Display Sizes (Hero sections) */
  --font-size-display-lg: clamp(2.25rem, 3vw, 3.5rem); /* 36px - 56px */
  --font-size-display-md: clamp(1.875rem, 2.5vw, 3rem); /* 30px - 48px */
  --font-size-display-sm: clamp(1.625rem, 2vw, 2.5rem); /* 26px - 40px */

  /* Heading Sizes */
  --font-size-h1: clamp(1.75rem, 2.2vw, 2.5rem);      /* 28px - 40px */
  --font-size-h2: clamp(1.5rem, 1.8vw, 2.125rem);     /* 24px - 34px */
  --font-size-h3: clamp(1.375rem, 1.5vw, 1.875rem);   /* 22px - 30px */
  --font-size-h4: clamp(1.25rem, 1.2vw, 1.5rem);      /* 20px - 24px */
  --font-size-h5: clamp(1.125rem, 1vw, 1.25rem);      /* 18px - 20px */
  --font-size-h6: clamp(1rem, 0.8vw, 1.125rem);       /* 16px - 18px */

  /* Body Text Sizes */
  --font-size-body-xl: clamp(1.125rem, 0.8vw, 1.25rem); /* 18px - 20px */
  --font-size-body-lg: clamp(1rem, 0.5vw, 1.125rem);    /* 16px - 18px */
  --font-size-body-md: 1rem;                             /* 16px - Base size */
  --font-size-body-sm: 0.9375rem;                        /* 15px */
  --font-size-body-xs: 0.875rem;                         /* 14px */

  /* Caption and Small Text */
  --font-size-caption: 0.75rem;                        /* 12px */
  --font-size-micro: 0.6875rem;                        /* 11px */

  /* =================================================================
     SECTION-SPECIFIC TYPOGRAPHY
     ================================================================= */
  
  /* Hero Section */
  --hero-title-size: var(--font-size-display-sm);
  --hero-subtitle-size: var(--font-size-body-lg);
  --hero-description-size: var(--font-size-body-md);

  /* Section Headers */
  --section-badge-size: var(--font-size-body-xs);
  --section-title-size: var(--font-size-h2);
  --section-subtitle-size: var(--font-size-body-lg);

  /* Card Components */
  --card-title-size: var(--font-size-h5);
  --card-subtitle-size: var(--font-size-body-xs);
  --card-description-size: var(--font-size-body-xs);

  /* Navigation */
  --nav-link-size: var(--font-size-body-md);
  --nav-dropdown-size: var(--font-size-body-sm);

  /* Buttons */
  --btn-primary-size: var(--font-size-body-md);
  --btn-secondary-size: var(--font-size-body-sm);
  --btn-small-size: var(--font-size-body-xs);
}

/* =================================================================
   TYPOGRAPHY UTILITY CLASSES
   ================================================================= */

/* Display Text */
.text-display-lg {
  font-size: var(--font-size-display-lg);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
}

.text-display-md {
  font-size: var(--font-size-display-md);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
}

.text-display-sm {
  font-size: var(--font-size-display-sm);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-snug);
  letter-spacing: var(--letter-spacing-normal);
}

/* Headings */
h1, .h1,
.text-h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-snug);
  letter-spacing: var(--letter-spacing-tight);
}

h2, .h2,
.text-h2 {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-snug);
  letter-spacing: var(--letter-spacing-normal);
}

h3, .h3,
.text-h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-normal);
}

h4, .h4,
.text-h4 {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-normal);
}

h5, .h5,
.text-h5 {
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-normal);
}

h6, .h6,
.text-h6 {
  font-size: var(--font-size-h6);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-normal);
}

/* Body Text */
.text-body-xl {
  font-size: var(--font-size-body-xl);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-relaxed);
  letter-spacing: var(--letter-spacing-normal);
}

.text-body-lg {
  font-size: var(--font-size-body-lg);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-relaxed);
  letter-spacing: var(--letter-spacing-normal);
}

.text-body-md {
  font-size: var(--font-size-body-md);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-relaxed);
  letter-spacing: var(--letter-spacing-normal);
}

.text-body-sm {
  font-size: var(--font-size-body-sm);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-relaxed);
  letter-spacing: var(--letter-spacing-normal);
}

.text-body-xs {
  font-size: var(--font-size-body-xs);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-wide);
}

/* Caption and Small Text */
.text-caption {
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-wider);
}

.text-micro {
  font-size: var(--font-size-micro);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-widest);
}

/* =================================================================
   SEMANTIC TYPOGRAPHY CLASSES
   ================================================================= */

/* Hero Section Typography */
.hero-title {
  font-size: var(--hero-title-size);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  font-family: var(--font-secondary);
}

.hero-subtitle {
  font-size: var(--hero-subtitle-size);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-snug);
  letter-spacing: var(--letter-spacing-normal);
  font-family: var(--font-secondary);
}

.hero-description {
  font-size: var(--hero-description-size);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-relaxed);
  letter-spacing: var(--letter-spacing-normal);
  font-family: var(--font-primary);
}

/* Section Typography */
.section-badge {
  font-size: var(--section-badge-size);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
  font-family: var(--font-primary);
}

.section-title {
  font-size: var(--section-title-size);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-snug);
  letter-spacing: var(--letter-spacing-tight);
  font-family: var(--font-secondary);
}

.section-subtitle {
  font-size: var(--section-subtitle-size);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-loose);
  letter-spacing: var(--letter-spacing-normal);
  font-family: var(--font-primary);
}

.section-description {
  font-size: var(--font-size-body-md);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-relaxed);
  letter-spacing: var(--letter-spacing-normal);
  font-family: var(--font-primary);
}

.small-title {
  font-size: var(--font-size-body-sm);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-wide);
  font-family: var(--font-primary);
}

.caption {
  font-size: var(--font-size-caption);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-wider);
  font-family: var(--font-primary);
}

/* Card Typography */
.card-title {
  font-size: var(--card-title-size);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-normal);
  font-family: var(--font-secondary);
}

.card-subtitle {
  font-size: var(--card-subtitle-size);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-wide);
  font-family: var(--font-primary);
}

.card-description {
  font-size: var(--card-description-size);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-relaxed);
  letter-spacing: var(--letter-spacing-normal);
  font-family: var(--font-primary);
}

/* Navigation Typography */
.nav-link {
  font-size: var(--nav-link-size);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-wide);
  font-family: var(--font-primary);
}

.nav-dropdown {
  font-size: var(--nav-dropdown-size);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-normal);
  font-family: var(--font-primary);
}

/* Button Typography */
.btn-text-primary {
  font-size: var(--btn-primary-size);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-wide);
  font-family: var(--font-primary);
}

.btn-text-secondary {
  font-size: var(--btn-secondary-size);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-wider);
  font-family: var(--font-primary);
}

.btn-text-small {
  font-size: var(--btn-small-size);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-wider);
  font-family: var(--font-primary);
}

/* =================================================================
   FONT WEIGHT UTILITIES
   ================================================================= */

.font-light { font-weight: var(--font-weight-light); }
.font-regular { font-weight: var(--font-weight-regular); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }
.font-extrabold { font-weight: var(--font-weight-extrabold); }

/* =================================================================
   LINE HEIGHT UTILITIES
   ================================================================= */

.leading-tight { line-height: var(--line-height-tight); }
.leading-snug { line-height: var(--line-height-snug); }
.leading-normal { line-height: var(--line-height-normal); }
.leading-relaxed { line-height: var(--line-height-relaxed); }
.leading-loose { line-height: var(--line-height-loose); }

/* =================================================================
   LETTER SPACING UTILITIES
   ================================================================= */

.tracking-tight { letter-spacing: var(--letter-spacing-tight); }
.tracking-normal { letter-spacing: var(--letter-spacing-normal); }
.tracking-wide { letter-spacing: var(--letter-spacing-wide); }
.tracking-wider { letter-spacing: var(--letter-spacing-wider); }
.tracking-widest { letter-spacing: var(--letter-spacing-widest); }

/* =================================================================
   ACCESSIBILITY ENHANCEMENTS
   ================================================================= */

/* Ensure minimum font size for accessibility */
@media (max-width: 576px) {
  :root {
    --font-size-body-md: 1rem; /* Never go below 16px */
    --font-size-body-sm: 0.9375rem; /* 15px minimum */
    --font-size-body-xs: 0.875rem; /* 14px minimum */
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --font-weight-regular: var(--font-weight-medium);
    --font-weight-medium: var(--font-weight-semibold);
    --font-weight-semibold: var(--font-weight-bold);
  }
}

/* Reduced motion preferences - Only apply to specific elements when user requests it */
@media (prefers-reduced-motion: reduce) {
  .hero-title,
  .section-title,
  .card-title {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =================================================================
   LEGACY COMPONENT OVERRIDES
   ================================================================= */

/* Override existing body text */
body, .body-text {
  font-family: var(--font-primary);
  font-size: var(--font-size-body-md);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-relaxed);
}

/* Override existing paragraph text */
p, .paragraph {
  font-family: var(--font-primary);
  font-size: var(--font-size-body-md);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-relaxed);
  margin-bottom: 1rem;
}

/* =================================================================
   RESPONSIVE TYPOGRAPHY ADJUSTMENTS
   ================================================================= */

/* Mobile-first responsive adjustments */
@media (max-width: 576px) {
  .hero-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: var(--line-height-tight);
  }
  
  .section-title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    line-height: var(--line-height-snug);
  }
  
  .card-title {
    font-size: clamp(1rem, 2vw, 1.125rem);
  }
  
  .section-description {
    font-size: clamp(0.875rem, 1vw, 1rem);
  }
  
  .card-description {
    font-size: clamp(0.8125rem, 1vw, 0.875rem);
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-title {
    font-size: clamp(1.875rem, 3vw, 2.5rem);
  }
  
  .section-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
  }
}

/* Large screen optimizations */
@media (min-width: 1440px) {
  .hero-title {
    font-size: clamp(2.5rem, 2.5vw, 3rem);
  }
  
  .section-title {
    font-size: clamp(2rem, 2vw, 2.5rem);
  }
}

/* Print styles */
@media print {
  * {
    font-family: Georgia, 'Times New Roman', serif !important;
    color: black !important;
    background: white !important;
  }
  
  .hero-title, .section-title {
    font-size: 24px !important;
    line-height: 1.4 !important;
  }
  
  .text-body-md, p {
    font-size: 12px !important;
    line-height: 1.6 !important;
  }
}  @media (max-width: 767px) {
      .blog-card-mobile-view {
          display: block;
          margin-bottom: 20px;
      }

      .blog-card-mobile-view .blog__post-two {
          height: auto !important;
          margin-bottom: 0;
      }

      .blog-card-mobile-view:last-child {
          margin-bottom: 0;
      }

      .blog-card-mobile-view-case{
        padding: 0;
      }
  }
/* Inline links keep the brand orange and a heavier weight so they
   are not identified by color alone. No underline. */

a.inline-text-link,
a.inline-text-link:hover,
.choose-area a.inline-text-link,
.choose-area a.inline-text-link:hover {
  color: #F7A400;
  font-weight: 600;
  text-decoration: none;
}

p a,
p a:hover {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
a:has(h1),
a:has(h2),
a:has(h3),
a:has(h4),
a:has(h5),
a:has(h6),
.banner-content a,
.section-title a,
.services-content .title,
.services-content .title a,
.product-card-title,
.fw-title,
.about-list .title,
.about-list .title a {
  text-decoration: none !important;
}

/* Keep animated images on the compositor. height: auto plus contain
   stops a max-height rule from stretching the picture. */
img,
.img {
  height: auto;
  object-fit: contain;
  transition-property: opacity, transform;
}

.rightToLeft,
.ribbonRotate,
.rotateme,
.alltuchtopdown {
  will-change: transform;
  backface-visibility: hidden;
}

/* "Follow us" is a paragraph so it does not skip heading levels.
   Match the previous h5 look. */
.banner-social p.title {
  font-family: var(--tg-heading-font-family);
  font-weight: var(--tg-fw-bold);
  line-height: var(--tg-heading-line-height);
  margin-top: 0;
}

/* Product names stay at the h5 size (1.25rem) after the level change. */
.product-card-title {
  font-size: 1.25rem;
  margin-bottom: 0;
}

/* About photo keeps the original portrait frame (1600×2000). */
.about-area .about-img-wrap img {
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: 4 / 5;
  object-fit: cover !important;
}

/* Match the Innovate heading inset. The services row margin cancels
   the container padding, so this padding is the visible side space. */
@media (max-width: 991.98px) {
  .services-area .section-title {
    box-sizing: border-box;
    width: 100%;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@media (max-width: 767.98px) {
  .services-area .section-title {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
}

/*
 * Mobile: every public page uses the same 1rem left/right inset.
 * The section shell (.container, or a bare .container-fluid) owns that gutter.
 * Full-bleed bands that wrap a .container must not add a second inset.
 */
@media (max-width: 767.98px) {
  body:not(:has(.admin-root)) .container,
  body:not(:has(.admin-root)) .container-sm,
  body:not(:has(.admin-root)) .container-md,
  body:not(:has(.admin-root)) .container-lg,
  body:not(:has(.admin-root)) .container-xl,
  body:not(:has(.admin-root)) .container-xxl,
  body:not(:has(.admin-root)) .custom-container,
  body:not(:has(.admin-root)) .blog-details-container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  body:not(:has(.admin-root)) .container-fluid:has(.container) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body:not(:has(.admin-root)) .container-fluid:not(:has(.container)) {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* A container inside a container must not add a second 1rem */
  body:not(:has(.admin-root)) .container .container,
  body:not(:has(.admin-root)) .container .container-sm,
  body:not(:has(.admin-root)) .container .container-md,
  body:not(:has(.admin-root)) .container .container-lg,
  body:not(:has(.admin-root)) .container .container-xl,
  body:not(:has(.admin-root)) .container .container-xxl {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Hero image wrappers that add px-1 on top of the shell gutter */
  .product-hero-visual.px-1,
  .quameet-feature-visual.px-1 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Listing intro sits outside .container — match the same 1rem, no extra on the paragraph */
  .stay-update-blog-mobile-view {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .stay-update-blog-mobile-view p {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Callback band used 2rem on all sides, which stacked on the container gutter */
  .call-back-area {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .swiper-container.brand-active {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Offices, contact rows, and Top Links pick up extra side padding that
     the blog grid does not. Keep their text on the same 1rem inset. */
  .footer-area .footer-info-list .content,
  .footer-area .footer-info-list-m {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .footer-area .top-link-block > div {
    width: 100%;
  }

  /* Footer blogs sit inside stacked footer + container padding, so the
     side inset was much wider than the tile gap. Pull the block to the
     viewport and use one gap for the sides and between the tiles. */
  .footer-area .tablet-view-column-center {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .footer-area .tablet-view-column-center .footer-widget {
    --footer-blog-gap: 1rem;
    box-sizing: border-box;
    width: 100vw;
    max-width: 100vw;
    margin-bottom: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: var(--footer-blog-gap);
    padding-right: var(--footer-blog-gap);
  }

  .footer-area .footer-top {
    padding-bottom: 0;
  }

  .footer-area .footer-bottom {
    padding-top: 1.5rem;
  }

  .footer-instagram .list-wrap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--footer-blog-gap, 1rem);
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
  }

  .footer-instagram .list-wrap li {
    width: 100%;
    min-width: 0;
    aspect-ratio: 1;
    margin: 0;
  }

  .footer-instagram .list-wrap li a {
    display: block;
    width: 100%;
    height: 100%;
  }

  .footer-instagram .list-wrap li a img,
  .footer-instagram .list-wrap li .footer-blog-skeleton__thumb {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    border-radius: 10px;
  }
}

/* Privacy, cookie, and disclaimer: tighter banner and footer gap on phones only */
@media (max-width: 767.98px) {
  .breadcrumb__bg.breadcrumb--compact {
    padding: 24px 0 12px;
  }

  .policy-page-content.services__details-area {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .policy-page-content .blog__details-inner {
    margin-top: 16px;
    margin-bottom: 16px;
  }

  .policy-page-content .blog__details-inner > :last-child {
    margin-bottom: 0;
  }
}
