
/* Stable Scrollbar & Gutter (Prevents Header Width Jump on Modal Open) */
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

/* Footer compact bottom spacing */
footer .cist-footer-container {
  padding-top: 3.5rem;
  padding-bottom: 1.5rem;
}
@media (min-width: 640px) {
  footer .cist-footer-container {
    padding-top: 5rem;
    padding-bottom: 2rem;
  }
}

/* ==========================================================================
   Custom Interactive Magic Cursor (Desktop & Fine Pointer Only)
   ========================================================================== */
@media (min-width: 1024px) and (pointer: fine) {
  html.custom-cursor-active,
  html.custom-cursor-active body,
  html.custom-cursor-active body *,
  html.custom-cursor-active body *::before,
  html.custom-cursor-active body *::after,
  html.custom-cursor-active a,
  html.custom-cursor-active a:hover,
  html.custom-cursor-active a:active,
  html.custom-cursor-active a:focus,
  html.custom-cursor-active a *,
  html.custom-cursor-active a *:hover,
  html.custom-cursor-active button,
  html.custom-cursor-active button:hover,
  html.custom-cursor-active button:active,
  html.custom-cursor-active button:focus,
  html.custom-cursor-active button *,
  html.custom-cursor-active button *:hover,
  html.custom-cursor-active button.glass,
  html.custom-cursor-active button.glass:hover,
  html.custom-cursor-active button.glass *,
  html.custom-cursor-active button.glass *:hover,
  html.custom-cursor-active .cist-magnetic-btn,
  html.custom-cursor-active .cist-magnetic-btn:hover,
  html.custom-cursor-active .cist-magnetic-btn *,
  html.custom-cursor-active .cist-magnetic-btn *:hover,
  html.custom-cursor-active .cursor-pointer,
  html.custom-cursor-active .cursor-pointer:hover,
  html.custom-cursor-active .cursor-pointer *,
  html.custom-cursor-active .cursor-pointer *:hover,
  html.custom-cursor-active [role="button"],
  html.custom-cursor-active [role="button"]:hover,
  html.custom-cursor-active [role="button"] *,
  html.custom-cursor-active [role="button"] *:hover,
  html.custom-cursor-active input,
  html.custom-cursor-active textarea,
  html.custom-cursor-active select,
  html.custom-cursor-active [data-cist-lang-btn],
  html.custom-cursor-active [data-cist-lang-btn]:hover,
  html.custom-cursor-active [data-cist-lang-btn] *,
  html.custom-cursor-active [data-cist-lang-btn] *:hover,
  html.custom-cursor-active header button,
  html.custom-cursor-active header button:hover,
  html.custom-cursor-active header button *,
  html.custom-cursor-active header button *:hover,
  html.custom-cursor-active header a,
  html.custom-cursor-active header a:hover,
  html.custom-cursor-active header a *,
  html.custom-cursor-active header a *:hover,
  html.custom-cursor-active .marquee-track,
  html.custom-cursor-active .marquee-track *,
  html.custom-cursor-active .marquee-track img:hover,
  html.custom-cursor-active :hover,
  html.custom-cursor-active *:hover {
    cursor: none !important;
  }
}

/* Strictly Disable Magic Cursor on Mobile, Tablet & Touch Devices */
@media (max-width: 1023px), (pointer: coarse) {
  #cist-magic-cursor,
  .cist-magic-cursor,
  .cist-cursor-ring-wrap,
  .cist-cursor-dot-wrap,
  .cist-cursor-ring,
  .cist-cursor-dot,
  .cist-cursor-pointer-icon {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  html.custom-cursor-active,
  html.custom-cursor-active body,
  html.custom-cursor-active body *,
  html.custom-cursor-active *,
  html.custom-cursor-active :hover,
  html.custom-cursor-active *:hover {
    cursor: auto !important;
  }
}

/* Mobile Menu Button Icon Toggle */
#cist-mobile-menu-btn[aria-expanded="true"] .cist-menu-icon-open {
  display: none !important;
}
#cist-mobile-menu-btn[aria-expanded="true"] .cist-menu-icon-close {
  display: block !important;
}
#cist-mobile-menu-btn:not([aria-expanded="true"]) .cist-menu-icon-open {
  display: block !important;
}
#cist-mobile-menu-btn:not([aria-expanded="true"]) .cist-menu-icon-close {
  display: none !important;
}

/* Magic Cursor Container */
#cist-magic-cursor {
  pointer-events: none !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000000 !important;
  overflow: hidden !important;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cist-cursor-ring-wrap,
.cist-cursor-dot-wrap {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  pointer-events: none !important;
  will-change: transform !important;
}

/* Outer Spring Ring (Smooth Lag Follower) */
.cist-cursor-ring {
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  border: 1px solid rgba(15, 23, 42, 0.35);
  background-color: rgba(15, 23, 42, 0.05);
  transform: translate3d(-50%, -50%, 0);
  transition: width 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              border-radius 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s ease,
              background-color 0.2s ease,
              box-shadow 0.2s ease,
              transform 0.15s ease;
  will-change: width, height, border-radius, transform;
}

.dark .cist-cursor-ring {
  border-color: rgba(255, 255, 255, 0.35);
  background-color: rgba(255, 255, 255, 0.05);
}

/* Inner Follower Dot (Immediate Precision Follower) */
.cist-cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: #2563eb;
  transform: translate3d(-50%, -50%, 0);
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.45);
  transition: opacity 0.15s ease,
              transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1),
              background-color 0.2s ease,
              box-shadow 0.2s ease;
}

.dark .cist-cursor-dot {
  background-color: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

/* Mini Pointer Icon (Morphs on Hover) */
.cist-cursor-pointer-icon {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.4);
  color: #2563eb;
  filter: drop-shadow(0 0 4px rgba(37, 99, 235, 0.5));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease,
              transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1),
              color 0.2s ease;
}

.dark .cist-cursor-pointer-icon {
  color: #22d3ee;
  filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.6));
}

/* Interactive Hover States (Standard Links, Cards, Inputs) */
.cist-magic-cursor.is-hovering .cist-cursor-ring {
  width: 38px;
  height: 38px;
  border-width: 1px !important;
  border-color: rgba(37, 99, 235, 0.8);
  background-color: rgba(37, 99, 235, 0.12);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.25);
}

.dark .cist-magic-cursor.is-hovering .cist-cursor-ring {
  border-width: 1px !important;
  border-color: rgba(34, 211, 238, 0.8);
  background-color: rgba(34, 211, 238, 0.12);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.32);
}

.cist-magic-cursor.is-hovering .cist-cursor-dot,
.cist-magic-cursor.is-snapped .cist-cursor-dot {
  opacity: 1 !important;
  display: block !important;
  transform: translate3d(-50%, -50%, 0) scale(1) !important;
}

.cist-magic-cursor.is-hovering .cist-cursor-pointer-icon,
.cist-magic-cursor.is-snapped .cist-cursor-pointer-icon,
.cist-cursor-pointer-icon {
  opacity: 0 !important;
  display: none !important;
  transform: translate3d(-50%, -50%, 0) scale(0) !important;
}

/* Snapped to Button or Icon (Circle smoothly becomes the element's border) */
.cist-magic-cursor.is-snapped .cist-cursor-ring {
  border-width: 1px !important;
  border-style: solid !important;
  border-color: rgba(37, 99, 235, 0.88) !important;
  background-color: rgba(37, 99, 235, 0.04) !important;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.2), inset 0 0 4px rgba(37, 99, 235, 0.04) !important;
}

.dark .cist-magic-cursor.is-snapped .cist-cursor-ring {
  border-width: 1px !important;
  border-color: rgba(34, 211, 238, 0.95) !important;
  background-color: rgba(34, 211, 238, 0.06) !important;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.28), inset 0 0 4px rgba(34, 211, 238, 0.06) !important;
}

/* Active / Mousedown Squeeze Feedback */
.cist-magic-cursor.is-active .cist-cursor-ring {
  transform: translate3d(-50%, -50%, 0) scale(0.82);
}
.cist-magic-cursor.is-snapped.is-active .cist-cursor-ring {
  transform: translate3d(-50%, -50%, 0) scale(0.96) !important;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.45) !important;
}
.dark .cist-magic-cursor.is-snapped.is-active .cist-cursor-ring {
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.55) !important;
}
.cist-magic-cursor.is-active .cist-cursor-dot {
  transform: translate3d(-50%, -50%, 0) scale(0.75) !important;
}

/* ==========================================================================
   Circular Header Action Buttons: Search, Theme Toggle, Language Selector
   Displays an elegant 1px circular border contour matching the design
   ========================================================================== */
.cist-circle-btn,
[data-cist-lang-btn],
header button[data-cist-lang-btn],
header button[aria-label="Change language"],
header button[aria-label="Toggle theme"],
header button[aria-label="Search"] {
  background: rgba(255, 255, 255, 0.5) !important;
  background-color: rgba(255, 255, 255, 0.5) !important;
  border: 1px solid rgba(203, 213, 225, 0.8) !important; /* sleek 1px circle border */
  outline: none !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
  border-radius: 9999px !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  color: #475569 !important; /* text-slate-600 */
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  width: 2.125rem !important;  /* 34px circle */
  height: 2.125rem !important;
  min-width: 2.125rem !important;
  min-height: 2.125rem !important;
  max-width: 2.125rem !important;
  max-height: 2.125rem !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

.dark .cist-circle-btn,
.dark [data-cist-lang-btn],
.dark header button[data-cist-lang-btn],
.dark header button[aria-label="Change language"],
.dark header button[aria-label="Toggle theme"],
.dark header button[aria-label="Search"] {
  background: rgba(255, 255, 255, 0.04) !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #cbd5e1 !important; /* text-slate-300 */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.cist-circle-btn:hover,
[data-cist-lang-btn]:hover,
header button[data-cist-lang-btn]:hover,
header button[aria-label="Change language"]:hover,
header button[aria-label="Toggle theme"]:hover,
header button[aria-label="Search"]:hover {
  background-color: #f1f5f9 !important; /* hover:bg-slate-100 */
  border-color: rgba(148, 163, 184, 0.9) !important;
  color: #0f172a !important; /* hover:text-slate-900 */
}

.dark .cist-circle-btn:hover,
.dark [data-cist-lang-btn]:hover,
.dark header button[data-cist-lang-btn]:hover,
.dark header button[aria-label="Change language"]:hover,
.dark header button[aria-label="Toggle theme"]:hover,
.dark header button[aria-label="Search"]:hover {
  background-color: rgba(255, 255, 255, 0.1) !important; /* dark:hover:bg-white/10 */
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important; /* dark:hover:text-white */
}

.cist-circle-btn svg,
[data-cist-lang-btn] svg,
header button[data-cist-lang-btn] svg,
header button[aria-label="Change language"] svg,
header button[aria-label="Toggle theme"] svg,
header button[aria-label="Search"] svg {
  width: 0.9375rem !important; /* 15px */
  height: 0.9375rem !important;
}

[data-cist-lang-label] {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  overflow: hidden !important;
}

/* Search button in header: strictly hidden on mobile & tablet, visible on desktop */
@media (max-width: 1023px) {
  header button[aria-label="Search"],
  header button[title*="Search"] {
    display: none !important;
  }
}
@media (min-width: 1024px) {
  .lg\:grid {
    display: grid !important;
  }
  header button[aria-label="Search"],
  header button[title*="Search"] {
    display: grid !important;
  }
}

/* Mobile Header Elements Sizing (< 640px) */
@media (max-width: 639px) {
  header a img {
    height: 2.125rem !important;       /* ~34px */
    max-height: 2.125rem !important;
    max-width: 175px !important;
  }
  /* Scoped strictly to header icon buttons - DOES NOT touch drawer CTA button */
  header .shrink-0 > button.grid:not([aria-label="Search"]):not([title*="Search"]),
  header .shrink-0 > button[aria-label]:not([aria-label="Search"]):not([title*="Search"]),
  header button[aria-label="Toggle theme"],
  header button[data-cist-lang-btn],
  header button[aria-label="Change language"],
  header button[aria-label="Menu"] {
    height: 2.25rem !important;        /* 36px circle */
    width: 2.25rem !important;
    min-height: 2.25rem !important;
    min-width: 2.25rem !important;
    max-height: 2.25rem !important;
    max-width: 2.25rem !important;
    border-radius: 9999px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    flex-shrink: 0 !important;
  }
  header .shrink-0 > button:not([aria-label="Search"]):not([title*="Search"]) svg,
  header button[aria-label="Toggle theme"] svg,
  header button[data-cist-lang-btn] svg,
  header button[aria-label="Change language"] svg,
  header button[aria-label="Menu"] svg {
    height: 1.125rem !important;       /* 18px icon */
    width: 1.125rem !important;
  }
}

/* ==========================================================================
   Brand Logo (Header & Footer): Strictly NO Zoom or Hover Effects
   ========================================================================== */
#cist-main-header a[href="/"],
#cist-main-header a[href="/"] img,
#cist-main-header .cist-brand-logo,
#cist-main-header .cist-brand-logo img,
footer a[href="/"],
footer a[href="/"] img,
footer .cist-brand-logo,
footer .cist-brand-logo img,
.cist-brand-logo,
.cist-brand-logo img {
  transform: none !important;
  -webkit-transform: none !important;
  transition: none !important;
  -webkit-transition: none !important;
  filter: none !important;
  opacity: 1 !important;
  scale: 1 !important;
}

#cist-main-header a[href="/"]:hover,
#cist-main-header a[href="/"]:hover img,
#cist-main-header .cist-brand-logo:hover,
#cist-main-header .cist-brand-logo:hover img,
footer a[href="/"]:hover,
footer a[href="/"]:hover img,
footer .cist-brand-logo:hover,
footer .cist-brand-logo:hover img,
.cist-brand-logo:hover,
.cist-brand-logo:hover img {
  transform: none !important;
  -webkit-transform: none !important;
  transition: none !important;
  -webkit-transition: none !important;
  filter: none !important;
  opacity: 1 !important;
  scale: 1 !important;
}


/* Mobile Menu Drawer CTA Button ("Get Quote") - Full Width & Prominent */
#cist-mobile-drawer div.border-t a,
#cist-mobile-drawer div.border-t button,
#cist-mobile-drawer .cist-drawer-cta,
#cist-main-header [class*="max-h-"] div.border-t a,
#cist-main-header [class*="max-h-"] div.border-t button,
header:not(#admin-top-header) .lg\:hidden div.border-t a,
header:not(#admin-top-header) .lg\:hidden div.border-t button {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 2.85rem !important;
  max-height: none !important;
  padding: 0.75rem 1.25rem !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.025em !important;
  line-height: 1.25 !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}
#cist-mobile-drawer div.border-t a svg,
#cist-mobile-drawer div.border-t button svg,
#cist-main-header [class*="max-h-"] div.border-t a svg,
#cist-main-header [class*="max-h-"] div.border-t button svg,
header:not(#admin-top-header) .lg\:hidden div.border-t a svg,
header:not(#admin-top-header) .lg\:hidden div.border-t button svg {
  width: 1rem !important;
  height: 1rem !important;
  min-width: 1rem !important;
  min-height: 1rem !important;
  display: inline-block !important;
}

/* Desktop Header Navigation Size Increase (Very Little Bit) */
@media (min-width: 1024px) {
  header nav a {
    font-size: 13px !important;
    padding: 5px 14px !important;
    line-height: 1.25 !important;
  }
  header nav a svg.lucide-chevron-down {
    width: 13px !important;
    height: 13px !important;
  }
}



/* Mobile Hero Section Spacing Refinement (Mobile Only: < 640px) */
@media (max-width: 639px) {
  .hero-home-section,
  main > div > section:first-of-type {
    padding-top: 7.75rem !important;
    padding-bottom: 3.5rem !important;
  }
  .hero-home-section h1,
  main > div > section:first-of-type h1 {
    margin-top: 1.75rem !important;
    line-height: 1.15 !important;
  }
  .hero-home-section p,
  main > div > section:first-of-type p {
    margin-top: 1.75rem !important;
    line-height: 1.65 !important;
  }
  .hero-home-section .hero-cta-group,
  .hero-cta-group {
    margin-top: 2.25rem !important;
  }
  .hero-home-section .hero-scroll-indicator,
  .hero-scroll-indicator {
    margin-top: 2.75rem !important;
  }
}

      /* Headless Google Translate: Suppress Native Banners, Frames, and Tooltips */
      .goog-te-banner-frame,
      .goog-te-banner-frame.skiptranslate,
      iframe.goog-te-banner-frame {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
      }
      body {
        top: 0px !important;
        position: static !important;
      }
      .skiptranslate {
        display: none !important;
      }
      #google_translate_element {
        display: none !important;
      }
      .goog-tooltip, 
      #goog-gt-tt, 
      .goog-te-balloon-frame {
        display: none !important;
      }
      .goog-text-highlight {
        background-color: transparent !important;
        box-shadow: none !important;
      }
      font[style] {
        background-color: transparent !important;
        box-shadow: none !important;
      }
      .no-scrollbar::-webkit-scrollbar {
        display: none;
      }
      .no-scrollbar {
        -ms-overflow-style: none;
        scrollbar-width: none;
      }

      /* High-contrast Blog Card Category Badges over image thumbnails in both Light & Dark modes */
      .blog-card-cat-badge,
      [data-blog-card] span.absolute,
      .aspect-\[16\/10\] span.absolute,
      .aspect-\[16\/10\] span.absolute.top-3.right-3,
      .aspect-\[16\/10\] span.absolute.top-2\.5.right-2\.5,
      div.aspect-\[16\/10\] > span,
      :root:not(.dark) .blog-card-cat-badge,
      :root:not(.dark) [data-blog-card] span.absolute,
      :root:not(.dark) .aspect-\[16\/10\] span.absolute,
      :root:not(.dark) .aspect-\[16\/10\] span.absolute.top-3.right-3,
      :root:not(.dark) .aspect-\[16\/10\] span.absolute.top-2\.5.right-2\.5,
      :root:not(.dark) [class~=glass].blog-card-cat-badge,
      :root:not(.dark) [class~=glass].absolute.top-3.right-3,
      :root:not(.dark) [class~=glass].absolute.top-2\.5.right-2\.5 {
        background: rgba(15, 23, 42, 0.85) !important;
        background-color: rgba(15, 23, 42, 0.85) !important;
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        backdrop-filter: blur(8px) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6) !important;
        letter-spacing: 0.06em !important;
      }
    
      /* Editorial Blog Article Typography Styles */
      .blog-article-content,
      .blog-reader-content {
        font-size: 1.125rem;
        line-height: 1.85;
        color: hsl(var(--foreground));
        word-break: break-word;
      }
      .blog-article-content p,
      .blog-reader-content p {
        margin-top: 0;
        margin-bottom: 1.5rem;
        line-height: 1.85;
      }
      .blog-article-content h1,
      .blog-reader-content h1 {
        font-size: 2.25rem;
        font-weight: 900;
        line-height: 1.2;
        margin-top: 2.75rem;
        margin-bottom: 1rem;
        color: hsl(var(--foreground));
        letter-spacing: -0.025em;
      }
      .blog-article-content h2,
      .blog-reader-content h2 {
        font-size: 1.75rem;
        font-weight: 800;
        line-height: 1.25;
        margin-top: 2.5rem;
        margin-bottom: 0.875rem;
        color: hsl(var(--foreground));
        letter-spacing: -0.02em;
      }
      .blog-article-content h3,
      .blog-reader-content h3 {
        font-size: 1.35rem;
        font-weight: 700;
        line-height: 1.35;
        margin-top: 2rem;
        margin-bottom: 0.75rem;
        color: hsl(var(--foreground));
        letter-spacing: -0.01em;
      }
      .blog-article-content h4,
      .blog-reader-content h4 {
        font-size: 1.15rem;
        font-weight: 700;
        line-height: 1.4;
        margin-top: 1.75rem;
        margin-bottom: 0.5rem;
        color: hsl(var(--foreground));
      }
      .blog-article-content ul,
      .blog-reader-content ul {
        list-style-type: disc;
        padding-left: 1.75rem;
        margin-top: 0.5rem;
        margin-bottom: 1.5rem;
      }
      .blog-article-content ol,
      .blog-reader-content ol {
        list-style-type: decimal;
        padding-left: 1.75rem;
        margin-top: 0.5rem;
        margin-bottom: 1.5rem;
      }
      .blog-article-content li,
      .blog-reader-content li {
        margin-bottom: 0.5rem;
        line-height: 1.75;
      }
      .blog-article-content blockquote,
      .blog-reader-content blockquote {
        border-left: 3px solid hsl(var(--primary, 221 83% 53%));
        padding: 0.75rem 0 0.75rem 1.5rem;
        font-style: italic;
        font-size: 1.125rem;
        line-height: 1.75;
        margin: 2rem 0;
        color: hsl(var(--muted-foreground));
        background: hsla(var(--primary, 221 83% 53%) / 0.04);
        border-radius: 0 0.75rem 0.75rem 0;
      }
      .blog-article-content a,
      .blog-reader-content a {
        color: hsl(var(--primary, 221 83% 53%));
        text-decoration: underline;
        text-underline-offset: 3px;
        font-weight: 600;
        transition: opacity 0.15s ease;
      }
      .blog-article-content a:hover,
      .blog-reader-content a:hover {
        opacity: 0.8;
      }
      .blog-article-content strong,
      .blog-article-content b,
      .blog-reader-content strong,
      .blog-reader-content b {
        font-weight: 700;
        color: hsl(var(--foreground));
      }
      .blog-article-content code,
      .blog-reader-content code {
        background: hsla(var(--foreground) / 0.07);
        padding: 0.2em 0.4em;
        border-radius: 0.375rem;
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        font-size: 0.875em;
        border: 1px solid hsla(var(--foreground) / 0.08);
      }
      .blog-article-content pre,
      .blog-reader-content pre {
        background: #0f172a;
        color: #f8fafc;
        padding: 1.25rem 1.5rem;
        border-radius: 1rem;
        overflow-x: auto;
        margin: 1.75rem 0;
        font-size: 0.9rem;
        line-height: 1.6;
        border: 1px solid rgba(255, 255, 255, 0.1);
      }
      .blog-article-content pre code,
      .blog-reader-content pre code {
        background: transparent;
        padding: 0;
        border: none;
        color: inherit;
      }
      .blog-article-content img,
      .blog-reader-content img {
        border-radius: 1rem;
        max-width: 100%;
        height: auto;
        margin: 2rem auto;
        display: block;
        box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.15);
      }
      .blog-article-content hr,
      .blog-reader-content hr {
        border: 0;
        border-top: 1px solid hsl(var(--border));
        margin: 2.5rem 0;
      }

    
      /* Core Spacing Utilities for Blog and Article Views */
      .my-6 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
      .my-8 { margin-top: 2rem !important; margin-bottom: 2rem !important; }
      .my-10 { margin-top: 2.5rem !important; margin-bottom: 2.5rem !important; }
      .my-12 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
      .my-14 { margin-top: 3.5rem !important; margin-bottom: 3.5rem !important; }
      .my-16 { margin-top: 4rem !important; margin-bottom: 4rem !important; }

      .mb-10 { margin-bottom: 2.5rem !important; }
      .mb-12 { margin-bottom: 3rem !important; }
      .mb-14 { margin-bottom: 3.5rem !important; }
      .mb-16 { margin-bottom: 4rem !important; }

      .mt-10 { margin-top: 2.5rem !important; }
      .mt-12 { margin-top: 3rem !important; }
      .mt-14 { margin-top: 3.5rem !important; }
      .mt-16 { margin-top: 4rem !important; }
      .mt-20 { margin-top: 5rem !important; }

      /* Infinite Seamless Non-stop Client Logos Marquee */
      @keyframes marquee {
        0% {
          transform: translate3d(0, 0, 0);
        }
        100% {
          transform: translate3d(-50%, 0, 0);
        }
      }

      .marquee-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 0 !important;
        width: max-content !important;
        will-change: transform;
        animation: 80s linear infinite marquee !important;
        animation-play-state: running !important;
      }

      .marquee-track:hover,
      .marquee-track:focus,
      .marquee-track:active {
        animation-play-state: running !important;
      }

      /* Ensure each logo item has exact consistent trailing padding for 0px seam */
      .marquee-track > div,
      .marquee-track > a,
      .marquee-track > * {
        flex-shrink: 0 !important;
        padding-right: 3.5rem !important; /* 56px on mobile */
        box-sizing: content-box !important;
      }

      @media (min-width: 640px) {
        .marquee-track > div,
        .marquee-track > a,
        .marquee-track > * {
          padding-right: 5rem !important; /* 80px on desktop */
        }
      }

      /* ============================================================
         Sticky Header Dynamic Scroll & Docking System
         ============================================================ */
      #cist-main-header {
        transition: padding 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s ease !important;
      }

      #cist-main-header #cist-header-wrapper {
        transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
      }

      #cist-main-header #cist-header-nav {
        transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
      }

      /* Scrolled / Docked State (window.scrollY > 12) */
      #cist-main-header.is-scrolled {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
      }

      #cist-main-header.is-scrolled #cist-header-wrapper {
        width: 100% !important;
        max-width: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
      }

      #cist-main-header.is-scrolled #cist-header-nav {
        width: 100% !important;
        border-radius: 0 !important;
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;
        background-color: rgba(255, 255, 255, 0.88) !important;
        padding-left: clamp(1rem, 2.5vw, 1.75rem) !important;
        padding-right: clamp(1rem, 2.5vw, 1.75rem) !important;
        padding-top: 0.65rem !important;
        padding-bottom: 0.65rem !important;
        box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.08) !important;
        backdrop-filter: blur(24px) saturate(150%) !important;
        -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
      }

      @media (min-width: 640px) {
        #cist-main-header.is-scrolled #cist-header-nav {
          padding-top: 0.75rem !important;
          padding-bottom: 0.75rem !important;
          padding-left: 1.5rem !important;
          padding-right: 1.5rem !important;
        }
      }

      .dark #cist-main-header.is-scrolled #cist-header-nav {
        border-bottom-color: rgba(255, 255, 255, 0.1) !important;
        background-color: rgba(18, 19, 26, 0.88) !important;
        box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.5) !important;
      }

      /* ============================================================
         Mega Dropdown Panels (Centered & Hover Bridge with Soft Blur)
         ============================================================ */
      .cist-mega-panel {
        display: block !important;
        position: absolute !important;
        left: 50% !important;
        top: 0 !important;
        translate: none !important;
        transform: translateX(-50%) translateY(-10px) scale(0.98) !important;
        opacity: 0 !important;
        filter: blur(8px) !important;
        pointer-events: none !important;
        visibility: hidden !important;
        transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                    filter 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                    visibility 0.28s !important;
        will-change: opacity, transform, filter;
      }

      /* Hover bridge over the gap between header and dropdown */
      .cist-mega-panel::before {
        content: "" !important;
        position: absolute !important;
        top: -18px !important;
        left: 0 !important;
        right: 0 !important;
        height: 24px !important;
        display: block !important;
        background: transparent !important;
        z-index: 10 !important;
      }

      .cist-mega-panel.is-active {
        display: block !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        visibility: visible !important;
        transform: translateX(-50%) translateY(0) scale(1) !important;
        filter: blur(0px) !important;
      }

      /* Dark mode styles for Mega Menu Dropdowns */
      .dark .cist-mega-panel > div {
        background-color: rgba(14, 15, 22, 0.97) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75) !important;
      }
      .dark .cist-mega-panel a.group.relative {
        background-color: rgba(24, 27, 38, 0.75) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
      }
      .dark .cist-mega-panel a.group.relative:hover {
        background-color: rgba(30, 34, 48, 0.95) !important;
      }
      .dark .cist-mega-panel a.group.relative .text-slate-900 {
        color: #f8fafc !important;
      }
      .dark .cist-mega-panel a.group.relative .text-slate-600 {
        color: #94a3b8 !important;
      }
      .dark .cist-mega-panel a.group:hover {
        background-color: rgba(255, 255, 255, 0.05) !important;
      }
      .dark .cist-mega-panel .text-slate-900 {
        color: #f1f5f9 !important;
      }
      .dark .cist-mega-panel a.group:hover .text-slate-900 {
        color: #60a5fa !important;
      }
      .dark .cist-mega-panel .text-slate-500 {
        color: #94a3b8 !important;
      }
      .dark .cist-mega-panel .text-slate-400 {
        color: #64748b !important;
      }
      .dark .cist-mega-panel .h-8\.5 {
        background-color: rgba(30, 35, 48, 0.9) !important;
        color: #94a3b8 !important;
      }
      .dark .cist-mega-panel a.group:hover .h-8\.5 {
        background-color: #2563eb !important;
        color: #ffffff !important;
      }
      .dark .cist-mega-panel span.bg-blue-100 {
        background-color: rgba(30, 58, 138, 0.7) !important;
        color: #93c5fd !important;
      }
      .dark #cist-mobile-drawer {
        background-color: rgba(14, 15, 22, 0.98) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
      }

      /* ============================================================
         Soft Mobile Navigation Drawer Animation
         ============================================================ */
      #cist-mobile-drawer {
        transform-origin: top center;
        transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                    filter 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: opacity, transform, filter;
      }
      #cist-mobile-drawer.cist-drawer-entering {
        display: flex !important;
        opacity: 0 !important;
        transform: translateY(-14px) scale(0.97) !important;
        filter: blur(10px) !important;
        pointer-events: none !important;
      }
      #cist-mobile-drawer.cist-drawer-open {
        display: flex !important;
        opacity: 1 !important;
        transform: translateY(0) scale(1) !important;
        filter: blur(0px) !important;
        pointer-events: auto !important;
      }
      #cist-mobile-drawer.cist-drawer-closing {
        display: flex !important;
        opacity: 0 !important;
        transform: translateY(-10px) scale(0.98) !important;
        filter: blur(8px) !important;
        pointer-events: none !important;
      }

      /* ============================================================
         Mobile Submenu Accordions (Clean Left-Aligned Style)
         ============================================================ */
      #cist-mobile-drawer .cist-mobile-accordion-item,
      .cist-mobile-accordion-item {
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
      }
      #cist-mobile-drawer .cist-mobile-accordion-btn,
      #cist-mobile-drawer button.cist-mobile-accordion-btn,
      .cist-mobile-accordion-btn {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        text-align: left !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: unset !important;
        max-height: unset !important;
        padding: 0.625rem 0.875rem !important; /* py-2.5 px-3.5 */
        border-radius: 0.75rem !important;     /* rounded-xl */
        font-size: 0.875rem !important;        /* text-sm */
        font-weight: 600 !important;
        box-shadow: none !important;
        border: none !important;
        cursor: pointer !important;
        touch-action: manipulation;
        box-sizing: border-box !important;
        margin: 0 !important;
      }
      #cist-mobile-drawer .cist-mobile-accordion-btn:not([aria-expanded="true"]):not(.bg-primary\/10) {
        background: transparent !important;
      }
      #cist-mobile-drawer .cist-mobile-accordion-btn[aria-expanded="true"] {
        background-color: rgba(59, 130, 246, 0.1) !important;
        color: #2563eb !important;
        font-weight: 700 !important;
      }
      .dark #cist-mobile-drawer .cist-mobile-accordion-btn[aria-expanded="true"] {
        background-color: rgba(255, 255, 255, 0.05) !important;
        color: #60a5fa !important;
      }
      #cist-mobile-drawer .cist-mobile-accordion-btn .cist-accordion-arrow {
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease !important;
        transform-origin: center center !important;
        width: 0.875rem !important;
        height: 0.875rem !important;
        min-width: 0.875rem !important;
        min-height: 0.875rem !important;
      }
      #cist-mobile-drawer .cist-mobile-accordion-btn[aria-expanded="true"] .cist-accordion-arrow {
        transform: rotate(90deg) !important;
        color: #2563eb !important;
      }
      .dark #cist-mobile-drawer .cist-mobile-accordion-btn[aria-expanded="true"] .cist-accordion-arrow {
        color: #60a5fa !important;
      }
      .cist-mobile-submenu {
        animation: cistAccordionSlideDown 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
      }
      @keyframes cistAccordionSlideDown {
        from {
          opacity: 0;
          transform: translateY(-4px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      /* ============================================================
         Smooth Scroll-Reveal Section Animations (Soft Blur Entrance)
         ============================================================ */
      [data-reveal] {
        opacity: 0;
        transform: translateY(32px);
        filter: blur(10px);
        transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
                    filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: opacity, transform, filter;
      }
      [data-reveal="fade-up"] {
        transform: translateY(32px);
        filter: blur(10px);
      }
      [data-reveal="fade-down"] {
        transform: translateY(-32px);
        filter: blur(10px);
      }
      [data-reveal="slide-left"] {
        transform: translateX(-40px);
        filter: blur(8px);
      }
      [data-reveal="slide-right"] {
        transform: translateX(40px);
        filter: blur(8px);
      }
      [data-reveal="scale-up"] {
        transform: scale(0.92);
        filter: blur(10px);
      }
      [data-reveal="blur-in"] {
        transform: none;
        filter: blur(16px);
      }
      [data-reveal].is-revealed {
        opacity: 1 !important;
        transform: translate(0, 0) scale(1) !important;
        filter: blur(0px) !important;
      }

      /* Stagger delays */
      [data-reveal-delay="100"] { transition-delay: 0.1s; }
      [data-reveal-delay="200"] { transition-delay: 0.2s; }
      [data-reveal-delay="300"] { transition-delay: 0.3s; }
      [data-reveal-delay="400"] { transition-delay: 0.4s; }
      [data-reveal-delay="500"] { transition-delay: 0.5s; }

      /* ============================================================
         Action & Magnetic Buttons Hover Animations
         ============================================================ */
      .cist-magnetic-btn,
      a > button.glass.rounded-full,
      button.glass.rounded-full {
        cursor: pointer;
        transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
                    box-shadow 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
                    border-color 0.28s ease,
                    background-color 0.28s ease,
                    color 0.28s ease !important;
        will-change: transform, box-shadow;
      }

      /* 1. Primary Action Buttons (e.g. "Book a call" in Hero and Bottom CTA) */
      .cist-magnetic-btn.bg-primary,
      .cist-magnetic-btn.bg-blue-600,
      a[data-open-booking] .cist-magnetic-btn,
      a[data-open-call] .cist-magnetic-btn,
      a[data-open-quote] .cist-magnetic-btn,
      button.cist-btn-primary {
        background-color: #2563eb !important;
        color: #ffffff !important;
        border: 1px solid rgba(59, 130, 246, 0.3) !important;
        box-shadow: 0 10px 24px -4px rgba(37, 99, 235, 0.38) !important;
      }
      .cist-magnetic-btn.bg-primary *,
      .cist-magnetic-btn.bg-blue-600 *,
      a[data-open-booking] .cist-magnetic-btn *,
      a[data-open-call] .cist-magnetic-btn *,
      a[data-open-quote] .cist-magnetic-btn *,
      button.cist-btn-primary * {
        color: #ffffff !important;
        stroke: #ffffff !important;
      }

      /* Hover state for Primary Action Buttons - EXACTLY matching 2nd image */
      .cist-magnetic-btn.bg-primary:hover,
      .cist-magnetic-btn.bg-blue-600:hover,
      a:hover > .cist-magnetic-btn.bg-primary,
      a[data-open-booking]:hover .cist-magnetic-btn,
      a[data-open-call]:hover .cist-magnetic-btn,
      a[data-open-quote]:hover .cist-magnetic-btn,
      button.cist-btn-primary:hover {
        transform: translateY(-3px) scale(1.03);
        background-color: #1d4ed8 !important; /* Rich Royal Blue matching image 2 */
        color: #ffffff !important;
        border-color: rgba(96, 165, 250, 0.6) !important;
        box-shadow: 0 14px 30px -4px rgba(29, 78, 216, 0.55), 0 0 24px rgba(37, 99, 235, 0.35) !important;
      }
      .cist-magnetic-btn.bg-primary:hover *,
      .cist-magnetic-btn.bg-blue-600:hover *,
      a:hover > .cist-magnetic-btn.bg-primary *,
      a[data-open-booking]:hover .cist-magnetic-btn *,
      a[data-open-call]:hover .cist-magnetic-btn *,
      a[data-open-quote]:hover .cist-magnetic-btn *,
      button.cist-btn-primary:hover * {
        color: #ffffff !important;
        stroke: #ffffff !important;
      }

      .dark .cist-magnetic-btn.bg-primary:hover,
      .dark .cist-magnetic-btn.bg-blue-600:hover,
      .dark a:hover > .cist-magnetic-btn.bg-primary,
      .dark a[data-open-booking]:hover .cist-magnetic-btn,
      .dark a[data-open-call]:hover .cist-magnetic-btn,
      .dark a[data-open-quote]:hover .cist-magnetic-btn,
      .dark button.cist-btn-primary:hover {
        background-color: #2563eb !important;
        color: #ffffff !important;
        border-color: rgba(147, 197, 253, 0.8) !important;
        box-shadow: 0 14px 32px -4px rgba(37, 99, 235, 0.65), 0 0 28px rgba(59, 130, 246, 0.45) !important;
      }
      .dark .cist-magnetic-btn.bg-primary:hover *,
      .dark .cist-magnetic-btn.bg-blue-600:hover *,
      .dark a:hover > .cist-magnetic-btn.bg-primary *,
      .dark a[data-open-booking]:hover .cist-magnetic-btn *,
      .dark a[data-open-call]:hover .cist-magnetic-btn *,
      .dark a[data-open-quote]:hover .cist-magnetic-btn *,
      .dark button.cist-btn-primary:hover * {
        color: #ffffff !important;
        stroke: #ffffff !important;
      }

      /* 2. Secondary / Outline / Glass Buttons (e.g. "View our work", "See pricing") */
      .cist-magnetic-btn.glass,
      a > button.glass.rounded-full,
      button.glass.rounded-full {
        color: #0f172a !important;
        border: 1px solid rgba(226, 232, 240, 0.8) !important;
        background-color: rgba(255, 255, 255, 0.7) !important;
        box-shadow: 0 4px 14px -2px rgba(0, 0, 0, 0.04) !important;
      }
      .cist-magnetic-btn.glass *,
      a > button.glass.rounded-full *,
      button.glass.rounded-full * {
        color: #0f172a !important;
      }

      .dark .cist-magnetic-btn.glass,
      .dark a > button.glass.rounded-full,
      .dark button.glass.rounded-full {
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.12) !important;
        background-color: rgba(255, 255, 255, 0.05) !important;
      }
      .dark .cist-magnetic-btn.glass *,
      .dark a > button.glass.rounded-full *,
      .dark button.glass.rounded-full * {
        color: #ffffff !important;
      }

      .cist-magnetic-btn.glass:hover,
      a:hover > button.glass.rounded-full,
      button.glass.rounded-full:hover {
        transform: translateY(-3px) scale(1.03);
        border-color: rgba(59, 130, 246, 0.65) !important;
        box-shadow: 0 12px 28px -6px rgba(59, 130, 246, 0.2), 0 0 16px rgba(59, 130, 246, 0.1) !important;
        background-color: rgba(255, 255, 255, 0.95) !important;
        color: #0f172a !important;
      }
      .cist-magnetic-btn.glass:hover *,
      a:hover > button.glass.rounded-full *,
      button.glass.rounded-full:hover * {
        color: #0f172a !important;
      }

      .dark .cist-magnetic-btn.glass:hover,
      .dark a:hover > button.glass.rounded-full,
      .dark button.glass.rounded-full:hover {
        border-color: rgba(96, 165, 250, 0.75) !important;
        box-shadow: 0 12px 28px -6px rgba(59, 130, 246, 0.4), 0 0 20px rgba(59, 130, 246, 0.25) !important;
        background-color: rgba(255, 255, 255, 0.12) !important;
        color: #ffffff !important;
      }
      .dark .cist-magnetic-btn.glass:hover *,
      .dark a:hover > button.glass.rounded-full *,
      .dark button.glass.rounded-full:hover * {
        color: #ffffff !important;
      }

      .cist-magnetic-btn:active,
      a > button.glass.rounded-full:active,
      button.glass.rounded-full:active {
        transform: translateY(0) scale(0.97) !important;
      }

      /* Arrow icon translation on button hover */
      .cist-magnetic-btn svg.lucide-arrow-up-right,
      a > button.glass.rounded-full svg.lucide-arrow-up-right,
      button.glass.rounded-full svg.lucide-arrow-up-right {
        transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
        will-change: transform;
      }

      .cist-magnetic-btn:hover svg.lucide-arrow-up-right,
      a:hover > button.glass.rounded-full svg.lucide-arrow-up-right,
      button.glass.rounded-full:hover svg.lucide-arrow-up-right {
        transform: translate(3px, -3px) scale(1.12) !important;
      }

      /* ============================================================
         Custom Budget Range Slider (Contact Page)
         ============================================================ */
      .cist-custom-range {
        -webkit-appearance: none;
        appearance: none;
        width: 100%;
        height: 28px;
        background: transparent;
        cursor: pointer;
        outline: none;
        margin: 0;
        padding: 0;
        display: block;
      }

      .cist-custom-range:focus {
        outline: none;
      }

      /* WebKit Track */
      .cist-custom-range::-webkit-slider-runnable-track {
        height: 10px;
        border-radius: 9999px;
        background: linear-gradient(
          to right,
          #2563eb 0%,
          #7c3aed var(--cist-slider-pct, 5.05%),
          #e2e8f0 var(--cist-slider-pct, 5.05%),
          #e2e8f0 100%
        );
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
        border: none;
      }

      .dark .cist-custom-range::-webkit-slider-runnable-track {
        background: linear-gradient(
          to right,
          #2563eb 0%,
          #8b5cf6 var(--cist-slider-pct, 5.05%),
          rgba(255, 255, 255, 0.12) var(--cist-slider-pct, 5.05%),
          rgba(255, 255, 255, 0.12) 100%
        );
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
      }

      /* WebKit Thumb */
      .cist-custom-range::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 22px;
        height: 22px;
        border-radius: 9999px;
        background: #2563eb;
        border: 2.5px solid #ffffff;
        box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.25), 0 3px 10px rgba(37, 99, 235, 0.45);
        cursor: grab;
        margin-top: -6px;
        transition: transform 0.15s ease, box-shadow 0.15s ease;
      }

      .dark .cist-custom-range::-webkit-slider-thumb {
        background: #3b82f6;
        border: 2.5px solid #ffffff;
        box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.35), 0 3px 12px rgba(37, 99, 235, 0.6);
      }

      .cist-custom-range:hover::-webkit-slider-thumb {
        box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.3), 0 4px 12px rgba(37, 99, 235, 0.5);
      }

      .cist-custom-range:active::-webkit-slider-thumb {
        cursor: grabbing;
        transform: scale(1.18);
        box-shadow: 0 0 0 7px rgba(59, 130, 246, 0.35), 0 4px 16px rgba(37, 99, 235, 0.65);
      }

      /* Firefox Track & Progress */
      .cist-custom-range::-moz-range-track {
        height: 10px;
        border-radius: 9999px;
        background: #e2e8f0;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
        border: none;
      }

      .dark .cist-custom-range::-moz-range-track {
        background: rgba(255, 255, 255, 0.12);
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
      }

      .cist-custom-range::-moz-range-progress {
        height: 10px;
        border-radius: 9999px;
        background: linear-gradient(to right, #2563eb, #7c3aed);
      }

      .dark .cist-custom-range::-moz-range-progress {
        background: linear-gradient(to right, #2563eb, #8b5cf6);
      }

      /* Firefox Thumb */
      .cist-custom-range::-moz-range-thumb {
        width: 22px;
        height: 22px;
        border-radius: 9999px;
        background: #2563eb;
        border: 2.5px solid #ffffff;
        box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.25), 0 3px 10px rgba(37, 99, 235, 0.45);
        cursor: grab;
        transition: transform 0.15s ease, box-shadow 0.15s ease;
      }

      .cist-custom-range:active::-moz-range-thumb {
        cursor: grabbing;
        transform: scale(1.18);
        box-shadow: 0 0 0 7px rgba(59, 130, 246, 0.35), 0 4px 16px rgba(37, 99, 235, 0.65);
      }

      /* ============================================================
         FAQ Accordion Styles
         ============================================================ */
      .cist-faq-item,
      .cist-faq-page-item {
        transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
      }

      .cist-faq-item.is-open,
      .cist-faq-page-item.is-open {
        border-color: rgba(59, 130, 246, 0.5) !important;
        box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.1), 0 8px 10px -6px rgba(59, 130, 246, 0.05);
      }

      .cist-faq-content,
      .cist-faq-page-body {
        transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        will-change: max-height, opacity;
      }

      /* ============================================================
         Modal Containers & Z-Index
         ============================================================ */
      #cist-booking-strategy-modal,
      #cist-html-quote-modal,
      #cist-search-modal {
        z-index: 999999 !important;
      }

      /* ============================================================
         Modal Scrolling (Scrollbar Completely Hidden)
         ============================================================ */
      .cist-modal-card,
      #cist-booking-strategy-modal .cist-modal-card,
      #cist-html-quote-modal .cist-modal-card,
      #career-apply-modal .cist-modal-card,
      #cist-search-modal .cist-modal-card {
        max-height: calc(100dvh - 2rem) !important;
        max-height: min(92vh, 780px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: contain !important;
        touch-action: pan-y !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
      }

      .dark .cist-modal-card,
      .dark #cist-booking-strategy-modal .cist-modal-card,
      .dark #cist-html-quote-modal .cist-modal-card,
      .dark #career-apply-modal .cist-modal-card,
      .dark #cist-search-modal .cist-modal-card {
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
      }

      .cist-modal-card::-webkit-scrollbar,
      #cist-booking-strategy-modal .cist-modal-card::-webkit-scrollbar,
      #cist-html-quote-modal .cist-modal-card::-webkit-scrollbar,
      #career-apply-modal .cist-modal-card::-webkit-scrollbar,
      #cist-search-modal .cist-modal-card::-webkit-scrollbar {
        display: none !important;
        width: 0px !important;
        height: 0px !important;
        background: transparent !important;
      }

      .cist-modal-card::-webkit-scrollbar-track,
      #cist-booking-strategy-modal .cist-modal-card::-webkit-scrollbar-track,
      #cist-html-quote-modal .cist-modal-card::-webkit-scrollbar-track,
      #career-apply-modal .cist-modal-card::-webkit-scrollbar-track,
      #cist-search-modal .cist-modal-card::-webkit-scrollbar-track {
        display: none !important;
        background: transparent !important;
      }

      .cist-modal-card::-webkit-scrollbar-thumb,
      #cist-booking-strategy-modal .cist-modal-card::-webkit-scrollbar-thumb,
      #cist-html-quote-modal .cist-modal-card::-webkit-scrollbar-thumb,
      #career-apply-modal .cist-modal-card::-webkit-scrollbar-thumb,
      #cist-search-modal .cist-modal-card::-webkit-scrollbar-thumb {
        display: none !important;
        background: transparent !important;
      }

/* ========================================================
   1. About Page Values Icons Optimization (Dark & Light Mode)
   ======================================================== */
.cist-about-value-icon {
  background: rgba(37, 99, 235, 0.1) !important;
  color: #2563eb !important;
  border: 1px solid rgba(37, 99, 235, 0.22) !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.dark .cist-about-value-icon {
  background: rgba(59, 130, 246, 0.16) !important;
  color: #60a5fa !important;
  border: 1px solid rgba(96, 165, 250, 0.38) !important;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.25), inset 0 0 8px rgba(59, 130, 246, 0.12) !important;
}

/* On card hover: icon illuminates brilliantly */
.glass:hover .cist-about-value-icon,
.group:hover .cist-about-value-icon {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  color: #ffffff !important;
  border-color: #3b82f6 !important;
  transform: scale(1.1) rotate(3deg);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.45) !important;
}

.dark .glass:hover .cist-about-value-icon,
.dark .group:hover .cist-about-value-icon {
  background: linear-gradient(135deg, #3b82f6, #0284c7) !important;
  color: #ffffff !important;
  border-color: #93c5fd !important;
  transform: scale(1.1) rotate(3deg);
  box-shadow: 0 0 22px rgba(59, 130, 246, 0.6), inset 0 0 8px rgba(255, 255, 255, 0.25) !important;
}

/* ========================================================
   2. Projects Section & Portfolio Cards: Full-Page Screenshot Scroll
   ======================================================== */
.cist-portfolio-scroll-card {
  --card-h: 270px;
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

@media (min-width: 640px) {
  .cist-portfolio-scroll-card {
    --card-h: 310px;
  }
}

.cist-portfolio-img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  background-color: #020617;
}

.cist-portfolio-scroll-img {
  width: 100%;
  height: auto;
  min-height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: top;
  will-change: transform;
  transform: translateY(0);
  transition: transform 2.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* When hovering or clicking on the card: smoothly scroll from top (header/hero) to bottom (footer) */
.cist-portfolio-scroll-card:hover .cist-portfolio-scroll-img,
.cist-portfolio-scroll-card:focus-within .cist-portfolio-scroll-img,
.cist-portfolio-scroll-card.is-scrolling .cist-portfolio-scroll-img {
  transform: translateY(calc(-100% + var(--card-h, 310px)));
  transition: transform 5.5s cubic-bezier(0.2, 0.7, 0.35, 1);
}

/* Active animation state: card glows softly and overlay softens to reveal design */
.cist-portfolio-scroll-card.is-scrolling {
  border-color: rgba(59, 130, 246, 0.85) !important;
  box-shadow: 0 12px 36px -4px rgba(37, 99, 235, 0.38) !important;
}

.cist-portfolio-scroll-card.is-scrolling .cist-portfolio-overlay {
  opacity: 0.45 !important;
}

/* Marked External Link Button (top-right round arrow button) */
.cist-portfolio-ext-link {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cist-portfolio-ext-link:hover {
  transform: scale(1.15) !important;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.6) !important;
}

.cist-portfolio-ext-link:active {
  transform: scale(0.92) !important;
}

/* Process styles moved to line 1586+ */


/* ============================================================
   Smooth Open & Close Animations for All Popup Forms / Modals
   ============================================================ */

/* 1. Modal Container: flex display when not hidden */
#cist-html-quote-modal:not(.hidden),
#cist-booking-strategy-modal:not(.hidden),
#career-apply-modal:not(.hidden),
#cist-search-modal:not(.hidden) {
  display: flex !important;
  animation: cistModalContainerIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 2. Modal Backdrop Overlay: smooth fade & blur */
#cist-html-quote-modal:not(.hidden) > div:first-child,
#cist-booking-strategy-modal:not(.hidden) > div:first-child,
#career-apply-modal:not(.hidden) > div:first-child,
#cist-search-modal:not(.hidden) > div:first-child {
  animation: cistBackdropIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, backdrop-filter;
}

/* 3. Modal Card: soft spring pop-in with blur reveal */
#cist-html-quote-modal:not(.hidden) .cist-modal-card,
#cist-booking-strategy-modal:not(.hidden) .cist-modal-card,
#career-apply-modal:not(.hidden) .cist-modal-card,
#career-apply-modal:not(.hidden) > div:nth-child(2),
#cist-search-modal:not(.hidden) .cist-modal-card {
  animation: cistModalCardIn 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity, filter;
  transform-origin: center center;
}

@keyframes cistModalContainerIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes cistBackdropIn {
  0% {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }
  100% {
    opacity: 1;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}

@keyframes cistModalCardIn {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(28px);
    filter: blur(8px);
  }
  60% {
    opacity: 1;
    filter: blur(0px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0px);
  }
}

/* Modal Smooth Closing States */
.cist-modal-closing {
  pointer-events: none !important;
}

.cist-modal-closing > div:first-child {
  animation: cistBackdropOut 0.24s cubic-bezier(0.2, 0.8, 0.2, 1) forwards !important;
}

.cist-modal-closing .cist-modal-card,
.cist-modal-closing > div:nth-child(2) {
  animation: cistModalCardOut 0.24s cubic-bezier(0.2, 0.8, 0.2, 1) forwards !important;
}

@keyframes cistBackdropOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes cistModalCardOut {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0px);
  }
  100% {
    opacity: 0;
    transform: scale(0.94) translateY(18px);
    filter: blur(4px);
  }
}

/* Multi-step transitions inside Quote Modal */
.cist-step-fade-in {
  animation: cistStepFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cistStepFadeIn {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   Smooth FAQ & Accordion Card Animations
   ============================================================ */
.cist-faq-item,
.cist-faq-page-item,
.job-accordion-item {
  transition: border-color 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.28s ease,
              transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cist-faq-item:hover,
.cist-faq-page-item:hover,
.job-accordion-item:hover {
  transform: translateY(-1px);
}

.cist-faq-item.is-open,
.cist-faq-page-item.is-open,
.job-accordion-item.is-open {
  border-color: rgba(59, 130, 246, 0.65) !important;
  box-shadow: 0 10px 28px -4px rgba(59, 130, 246, 0.14), 0 0 0 1px rgba(59, 130, 246, 0.2) !important;
  transform: translateY(-1px);
}

.dark .cist-faq-item.is-open,
.dark .cist-faq-page-item.is-open,
.dark .job-accordion-item.is-open {
  border-color: rgba(96, 165, 250, 0.65) !important;
  box-shadow: 0 10px 28px -4px rgba(37, 99, 235, 0.32), 0 0 0 1px rgba(96, 165, 250, 0.25) !important;
}

/* Content expansion transition */
.cist-faq-content,
.cist-faq-page-body,
.job-details-pane {
  transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: max-height, opacity;
}

/* Chevron & icon rotation transition */
.cist-faq-icon,
.cist-faq-page-icon,
.job-chevron-icon {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.2s ease,
              background-color 0.2s ease !important;
  will-change: transform;
}

/* ============================================================
   Hide Scrollbars from All Popup Forms & Modals
   ============================================================ */

/* 1. Hide scrollbar for Chrome, Safari, Edge, Opera, WebKit */
.cist-modal-card::-webkit-scrollbar,
.cist-modal-card *::-webkit-scrollbar,
#cist-html-quote-modal::-webkit-scrollbar,
#cist-html-quote-modal *::-webkit-scrollbar,
#cist-booking-strategy-modal::-webkit-scrollbar,
#cist-booking-strategy-modal *::-webkit-scrollbar,
#career-apply-modal::-webkit-scrollbar,
#career-apply-modal *::-webkit-scrollbar,
[role="dialog"]::-webkit-scrollbar,
[role="dialog"] *::-webkit-scrollbar,
.cist-hide-scrollbar::-webkit-scrollbar,
.no-scrollbar::-webkit-scrollbar,
.cist-no-scrollbar::-webkit-scrollbar {
  display: none !important;
  width: 0px !important;
  height: 0px !important;
  background: transparent !important;
  -webkit-appearance: none !important;
}

.cist-modal-card::-webkit-scrollbar-thumb,
.cist-modal-card *::-webkit-scrollbar-thumb,
#cist-html-quote-modal *::-webkit-scrollbar-thumb,
#cist-booking-strategy-modal *::-webkit-scrollbar-thumb,
#career-apply-modal *::-webkit-scrollbar-thumb,
[role="dialog"] *::-webkit-scrollbar-thumb,
.no-scrollbar::-webkit-scrollbar-thumb,
.cist-no-scrollbar::-webkit-scrollbar-thumb {
  display: none !important;
  background: transparent !important;
}

.cist-modal-card::-webkit-scrollbar-track,
.cist-modal-card *::-webkit-scrollbar-track,
#cist-html-quote-modal *::-webkit-scrollbar-track,
#cist-booking-strategy-modal *::-webkit-scrollbar-track,
#career-apply-modal *::-webkit-scrollbar-track,
[role="dialog"] *::-webkit-scrollbar-track,
.no-scrollbar::-webkit-scrollbar-track,
.cist-no-scrollbar::-webkit-scrollbar-track {
  display: none !important;
  background: transparent !important;
}

/* 2. Hide scrollbar for Firefox, IE, Edge */
.cist-modal-card,
.cist-modal-card *,
#cist-html-quote-modal,
#cist-html-quote-modal *,
#cist-booking-strategy-modal,
#cist-booking-strategy-modal *,
#career-apply-modal,
#career-apply-modal *,
[role="dialog"],
[role="dialog"] *,
.cist-hide-scrollbar,
.no-scrollbar,
.cist-no-scrollbar {
  -ms-overflow-style: none !important;  /* IE and Edge */
  scrollbar-width: none !important;  /* Firefox */
}

/* ============================================================
   Quick Search Modal Light & Dark Theme Support
   ============================================================ */
#cist-search-modal .cist-modal-card {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(226, 232, 240, 0.9) !important;
}

.dark #cist-search-modal .cist-modal-card {
  background-color: #111218 !important;
  color: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.dark #cist-search-modal input#cist-search-input {
  color: #ffffff !important;
}

.dark #cist-search-modal input#cist-search-input::placeholder {
  color: #94a3b8 !important;
}

.dark #cist-search-modal .cist-search-btn {
  background-color: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.dark #cist-search-modal div.border-b {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background-color: rgba(255, 255, 255, 0.02) !important;
}

.dark #cist-search-modal div.border-t {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background-color: rgba(12, 13, 18, 0.9) !important;
}

/* ==========================================================================
   Client Logo Marquee Ticker (Speed, Pause on Hover, True Brand Color)
   ========================================================================== */
.marquee-track {
  animation-duration: 55s !important;
}

.marquee-track:hover,
.marquee-track:focus-within,
.marquee-track > *:hover,
section:has(.marquee-track):hover .marquee-track {
  animation-play-state: paused !important;
}

/* Default state: subtle grayscale so client logos appear consistent & sleek */
.marquee-track img {
  filter: grayscale(100%) !important;
  opacity: 0.65 !important;
  transition: filter 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: filter, opacity, transform;
}

:root.dark .marquee-track img,
.dark .marquee-track img {
  filter: grayscale(100%) brightness(1.2) !important;
  opacity: 0.55 !important;
}

/* Hover: Stop and reveal 100% original true brand colors */
.marquee-track img:hover,
.marquee-track a:hover img,
.marquee-track div:hover > img {
  filter: none !important;
  opacity: 1 !important;
  transform: scale(1.08) !important;
  cursor: pointer;
}

:root.dark .marquee-track img:hover,
:root.dark .marquee-track a:hover img,
:root.dark .marquee-track div:hover > img,
.dark .marquee-track img:hover,
.dark .marquee-track a:hover img,
.dark .marquee-track div:hover > img {
  filter: none !important;
  opacity: 1 !important;
  transform: scale(1.08) !important;
  cursor: pointer;
}

/* ------------------------------------------------------------- */
/* PROCESS PAGE: Bullet Box Border, Connecting Line & Card Backside Shade */
/* ------------------------------------------------------------- */
.cist-process-wrapper {
  position: relative;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.cist-process-timeline-track,
.cist-process-timeline-progress {
  position: absolute;
  left: 1.625rem;
  top: 3rem;
  height: calc(100% - 6rem);
  width: 2px;
  transform: translateX(-50%);
  pointer-events: none;
  border-radius: 9999px;
}
@media (min-width: 640px) {
  .cist-process-timeline-track,
  .cist-process-timeline-progress {
    left: 2rem;
    top: 3.5rem;
    height: calc(100% - 7rem);
  }
}
.cist-process-timeline-track {
  background: #e2e8f0 !important;
  z-index: 1;
}
:root.dark .cist-process-timeline-track,
.dark .cist-process-timeline-track {
  background: #1e293b !important;
}
.cist-process-timeline-progress {
  background: #2563eb !important;
  z-index: 2;
  transform-origin: top center;
  transform: translateX(-50%) scaleY(0);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
  will-change: transform;
}
:root.dark .cist-process-timeline-progress,
.dark .cist-process-timeline-progress {
  background: #3b82f6 !important;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
}

.cist-process-step-row {
  position: relative;
  display: flex !important;
  align-items: center !important;
  gap: 1.25rem !important;
  margin-bottom: 1.75rem !important;
  z-index: 2;
}
@media (min-width: 640px) {
  .cist-process-step-row {
    gap: 2rem !important;
    margin-bottom: 2rem !important;
  }
}
.cist-process-step-row:last-child {
  margin-bottom: 0 !important;
}

.cist-process-num-box {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: 3.25rem;
  height: 3.25rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 18px !important;
  background: #ffffff !important;
  border: 1px solid #93c5fd !important;
  box-shadow: 0 6px 20px -3px rgba(37, 99, 235, 0.14), 0 2px 6px -1px rgba(0, 0, 0, 0.04) !important;
  z-index: 5;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
@media (min-width: 640px) {
  .cist-process-num-box {
    width: 4rem;
    height: 4rem;
    border-radius: 20px !important;
  }
}
:root.dark .cist-process-num-box,
.dark .cist-process-num-box {
  background: #0f1422 !important;
  border: 1px solid #3b82f6 !important;
  box-shadow: 0 6px 20px -3px rgba(59, 130, 246, 0.22), 0 2px 6px -1px rgba(0, 0, 0, 0.4) !important;
}
.cist-process-num-box.cist-step-active {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16), 0 8px 24px -4px rgba(37, 99, 235, 0.25) !important;
}
:root.dark .cist-process-num-box.cist-step-active,
.dark .cist-process-num-box.cist-step-active {
  border-color: #60a5fa !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25), 0 8px 24px -4px rgba(59, 130, 246, 0.4) !important;
}
.cist-process-num-box:hover {
  transform: scale(1.05);
  border-color: #2563eb !important;
  box-shadow: 0 12px 28px -4px rgba(37, 99, 235, 0.24) !important;
}
.cist-process-num-box .num-text {
  color: #0256d0 !important;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
@media (min-width: 640px) {
  .cist-process-num-box .num-text {
    font-size: 1.45rem;
  }
}
:root.dark .cist-process-num-box .num-text,
.dark .cist-process-num-box .num-text {
  color: #60a5fa !important;
}

/* Process Card Backside Shade Effect */
.cist-card-wrapper {
  position: relative !important;
  flex: 1 !important;
  min-width: 0 !important;
}
.cist-card-backside-shade {
  position: absolute;
  inset: -4px -6px -6px -4px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.10) 0%, rgba(99, 102, 241, 0.07) 50%, rgba(6, 182, 212, 0.08) 100%);
  filter: blur(14px);
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}
:root.dark .cist-card-backside-shade,
.dark .cist-card-backside-shade {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.16) 0%, rgba(99, 102, 241, 0.12) 50%, rgba(14, 165, 233, 0.14) 100%);
  filter: blur(16px);
  opacity: 0.85;
}
.cist-card-wrapper:hover .cist-card-backside-shade {
  opacity: 1;
  filter: blur(18px);
  transform: scale(1.012);
}

.cist-process-card {
  position: relative;
  border-radius: 24px !important;
  padding: 1.35rem 1.6rem !important;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 4px 12px -2px rgba(37, 99, 235, 0.03) !important;
  z-index: 1;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
@media (min-width: 640px) {
  .cist-process-card {
    padding: 1.65rem 2.25rem !important;
  }
}
:root.dark .cist-process-card,
.dark .cist-process-card {
  background: #0f1422 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.45) !important;
}
.cist-card-wrapper:hover .cist-process-card {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.45) !important;
  box-shadow: 0 16px 36px -8px rgba(37, 99, 235, 0.15), 0 6px 14px -3px rgba(0, 0, 0, 0.04) !important;
}
:root.dark .cist-card-wrapper:hover .cist-process-card {
  border-color: rgba(59, 130, 246, 0.55) !important;
  box-shadow: 0 16px 36px -8px rgba(37, 99, 235, 0.28), 0 6px 14px -3px rgba(0, 0, 0, 0.4) !important;
}

.cist-process-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0;
}
@media (min-width: 640px) {
  .cist-process-title {
    font-size: 1.35rem;
  }
}
:root.dark .cist-process-title,
.dark .cist-process-title {
  color: #ffffff;
}

.cist-process-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
  margin-top: 0.45rem;
  margin-bottom: 0;
}
@media (min-width: 640px) {
  .cist-process-desc {
    font-size: 0.95rem;
  }
}
:root.dark .cist-process-desc,
.dark .cist-process-desc {
  color: #94a3b8;
}

/* ==========================================================================
   FINAL OVERRIDE: Eliminate OS Hand/Pointer Cursor Across All Interactive Elements
   ========================================================================== */
html.custom-cursor-active,
html.custom-cursor-active body,
html.custom-cursor-active body *,
html.custom-cursor-active body *::before,
html.custom-cursor-active body *::after,
html.custom-cursor-active a,
html.custom-cursor-active a:hover,
html.custom-cursor-active a:active,
html.custom-cursor-active a:focus,
html.custom-cursor-active a *,
html.custom-cursor-active a *:hover,
html.custom-cursor-active button,
html.custom-cursor-active button:hover,
html.custom-cursor-active button:active,
html.custom-cursor-active button:focus,
html.custom-cursor-active button *,
html.custom-cursor-active button *:hover,
html.custom-cursor-active button.glass,
html.custom-cursor-active button.glass:hover,
html.custom-cursor-active button.glass *,
html.custom-cursor-active button.glass *:hover,
html.custom-cursor-active .cist-magnetic-btn,
html.custom-cursor-active .cist-magnetic-btn:hover,
html.custom-cursor-active .cist-magnetic-btn *,
html.custom-cursor-active .cist-magnetic-btn *:hover,
html.custom-cursor-active .cursor-pointer,
html.custom-cursor-active .cursor-pointer:hover,
html.custom-cursor-active .cursor-pointer *,
html.custom-cursor-active .cursor-pointer *:hover,
html.custom-cursor-active [role="button"],
html.custom-cursor-active [role="button"]:hover,
html.custom-cursor-active [role="button"] *,
html.custom-cursor-active [role="button"] *:hover,
html.custom-cursor-active input,
html.custom-cursor-active textarea,
html.custom-cursor-active select,
html.custom-cursor-active [data-cist-lang-btn],
html.custom-cursor-active [data-cist-lang-btn]:hover,
html.custom-cursor-active [data-cist-lang-btn] *,
html.custom-cursor-active [data-cist-lang-btn] *:hover,
html.custom-cursor-active header button,
html.custom-cursor-active header button:hover,
html.custom-cursor-active header button *,
html.custom-cursor-active header button *:hover,
html.custom-cursor-active header a,
html.custom-cursor-active header a:hover,
html.custom-cursor-active header a *,
html.custom-cursor-active header a *:hover,
html.custom-cursor-active .marquee-track,
html.custom-cursor-active .marquee-track *,
html.custom-cursor-active .marquee-track img,
html.custom-cursor-active .marquee-track img:hover,
html.custom-cursor-active :hover,
html.custom-cursor-active *:hover {
  cursor: none !important;
}
