/* ==========================================================================
   ExoGrow Production — performance, blogs, mobile polish
   ========================================================================== */

/* --- Form anti-spam (honeypot field styling only) --- */
.exo-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* --- Cloudflare Turnstile Widget spacing --- */
.exo-turnstile-wrap {
  margin-top: 1rem !important;
  margin-bottom: 1.5rem !important;
  display: flex !important;
  justify-content: flex-start !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 65px;
}

/* --- Global Variables & Section Rhythm --- */
:root {
  --_spacing---medium: clamp(2.5rem, 5vw, 4.5rem) !important;
  --_spacing---large: clamp(4rem, 8vw, 6.5rem) !important;
}

/* Force critical UI and text elements to render immediately to prevent loading delays / flashes while JS loads */
html.w-mod-js:not(.w-mod-ix3) :is(.button-text, .icon-button, .about-text) {
  visibility: visible !important;
  opacity: 1 !important;
}

/* Force hero content to render immediately in its final layout state to eliminate Cumulative Layout Shift (CLS) */
.page-home .hero-heading-main,
.page-home .subheading-text.hero,
.page-home .button-wrap-1,
.page-home .button-wrap-1 .button {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.section {
  scroll-margin-top: 5.5rem;
}

.padding-global {
  padding-left: clamp(1.25rem, 4vw, 3rem) !important;
  padding-right: clamp(1.25rem, 4vw, 3rem) !important;
}

.container-base {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.heading-layout {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.subheading-text {
  max-width: 42rem;
}

/* --- Services Pages Hero: remove excessive height and vertical white space --- */
.premium-hero-page .section.hero {
  min-height: 0 !important;
  height: auto !important;
}

.premium-hero-page .hero-section-wrap {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding-top: clamp(6.5rem, 12vw, 9rem) !important;
  padding-bottom: clamp(3.5rem, 8vw, 5.5rem) !important;
  display: block !important;
  background-image: linear-gradient(165deg, #fff 0%, #fafafa 45%, #f7f7f7 100%) !important;
}

.premium-hero-page .container-base.hero {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* --- Navigation polish --- */
.uui-navbar08_component {
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
  will-change: transform;
}

.uui-navbar08_component.nav-hidden {
  transform: translateY(-110%);
}

.navbar-container-p {
  transition: 
    background-color 0.35s ease,
    transform 0.35s ease !important;
  will-change: background-color, transform;
}

/* Nav Scrolled State (glassmorphism enhancement) */
.uui-navbar08_component.nav-scrolled .navbar-container-p {
  background-color: rgba(20, 20, 20, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
  margin-top: 0.75rem !important;
}

/* Mobile menu glassmorphism dropdown */
@media screen and (max-width: 991px) {
  .uui-navbar08_menu {
    background-color: rgba(20, 20, 20, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 1.5rem !important;
    border-radius: 0 0 20px 20px !important;
  }

  /* Make all link and heading colors white by default inside mobile menu */
  .uui-navbar08_menu .uui-navbar08_link,
  .uui-navbar08_menu .uui-navbar08_dropdown-toggle,
  .uui-navbar08_menu .uui-navbar08_item-heading {
    color: rgba(255, 255, 255, 0.9) !important;
  }

  /* Make icons inherit the parent text color */
  .uui-navbar08_menu .uui-dropdown-icon-2 {
    color: currentColor !important;
  }

  /* Hover and active states (orange) */
  .uui-navbar08_menu .uui-navbar08_link:hover,
  .uui-navbar08_menu .uui-navbar08_link.w--current,
  .uui-navbar08_menu .uui-navbar08_dropdown-toggle:hover,
  .uui-navbar08_menu .uui-navbar08_dropdown-toggle.w--open,
  .uui-navbar08_menu .uui-navbar08_dropdown-link:hover .uui-navbar08_item-heading {
    color: var(--exo-1) !important;
  }

  /* Ensure transparent background for dropdown list on mobile */
  .uui-navbar08_dropdown-list,
  .uui-navbar08_dropdown-list.w--open {
    background-color: transparent !important;
  }
}

.uui-navbar08_link,
.uui-navbar08_dropdown-toggle {
  transition: color 0.25s ease, opacity 0.25s ease;
  position: relative;
}

.uui-navbar08_link::after {
  content: "";
  position: absolute;
  bottom: 0.5rem;
  left: 1.25rem;
  right: 1.25rem;
  height: 2px;
  background-color: var(--_color---primary--01, #ff7224);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.uui-navbar08_link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.uui-navbar08_link:hover,
.uui-navbar08_dropdown-toggle:hover {
  opacity: 0.85;
}

/* Contact page: dark canvas behind fixed nav (no white strip) */
body.page-contact {
  background-color: var(--_color---black--01, #141414);
}

body.page-contact .page-wrapper,
body.page-contact .main-wrapper {
  background-color: inherit;
}

body.page-contact .footer-top {
  padding-top: max(6.5rem, calc(5rem + env(safe-area-inset-top, 0px)));
}

/* About: remove duplicate navbar embedded in founders section */
.page-about .testimonial-item-wrap > .uui-navbar08_component.w-nav {
  display: none !important;
}

/* Home hero: full viewport height + edge-to-edge marquee */
.page-home .section.hero {
  min-height: 100vh;
}

.page-home .hero-section-wrap {
  min-height: 100vh;
  min-height: 100svh;
  height: auto;
  max-height: none;
  display: flex;
  flex-direction: column;
  padding-top: 5rem;
  padding-bottom: 0 !important;
  box-sizing: border-box;
  background-image: linear-gradient(165deg, #fff 0%, #fafafa 45%, #f7f7f7 100%);
  overflow-x: clip;
  overflow-y: visible;
}

.page-home .hero-section-wrap > .padding-global {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}

.page-home .container-base.hero {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  overflow: visible;
  padding-bottom: 0 !important;
}

.page-home .hero-layout {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none !important;
}

/* Scale the heading so 4-line text + subtext + buttons all fit in one viewport */
.page-home .hero-heading-main {
  font-size: clamp(3rem, 4.5vw, 5rem) !important;
  line-height: 0.95 !important;
}

.page-home .section.hero .statics-marquee {
  flex: 0 0 auto;
  flex-shrink: 0;
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: auto !important;
  margin-bottom: 0 !important;
  padding: 0.35rem 0 1.25rem !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  min-height: 1.15em;
  line-height: 1.08 !important;
  align-items: center;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  z-index: 6;
}

.page-home .section.hero .statics-item,
.page-home .section.hero .statics-item-name,
.page-home .section.hero .statics-item-number {
  line-height: 1.08 !important;
}

.page-home .container-base.hero::after {
  bottom: 0 !important;
  height: 5rem !important;
  pointer-events: none;
}

.page-home .statics-marquee-list {
  padding-right: 2em;
}

/* Home hero: Spline robot aligned to copy block (heading top → CTA bottom) */
@media screen and (min-width: 992px) {
  .page-home .section.hero .hero-layout {
    align-items: stretch;
  }

  .page-home .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    transform: translateY(-3.5rem);
  }

  .page-home .hero-heading-wrap {
    margin-bottom: 0 !important;
  }

  .page-home .hero-bottom-wrap {
    margin-top: 0 !important;
    gap: 0.75rem;
  }

  .page-home .subheading-text.hero {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
  }

  .page-home .hero-animation {
    align-self: stretch;
    height: auto;
    max-height: none;
    min-height: 0;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-5.5rem) scale(0.9);
  }

  .page-home .hero-animation .spline-scene {
    height: 100%;
    max-height: 100%;
    min-height: 0;
    width: 100%;
    max-width: 48rem !important;
  }

  .page-home .hero-animation .spline-scene canvas {
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
    transform-origin: center center;
  }
}

.uui-blog03_menu-link {
  transition: color 0.25s ease, border-color 0.25s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.65rem;
}

.uui-blog03_menu-link:hover {
  border-bottom-color: var(--_color---primary--01, #ff7224);
  color: var(--_color---grey--04, #161616);
}

/* --- Main service pages: equal-size cards + centered heading --- */
.w-layout-grid.services-grid {
  align-items: stretch;
}

/* Left and right card columns: stretch to fill grid row, cards split equally */
.services-grid .div-block-230,
.services-grid .div-block-222 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.services-grid .fancy-box-1 {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Middle heading column: vertically centered between the two card rows */
.services-grid .div-block-223 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.fancy-box-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--_color---primary--01, #ff7224);
  line-height: 1.2;
}

.fancy-box-learn-more-arrow {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.fancy-box-1:hover .fancy-box-learn-more-arrow {
  transform: translateX(3px);
}

/* --- Scroll-to-top rail --- */
.exo-scroll-top {
  position: fixed;
  right: 1.15rem;
  bottom: 5.5rem;
  z-index: 9990;
  width: 2.75rem;
  height: 3.25rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.exo-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.exo-scroll-top-rail {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 114, 36, 0.15), #e8edf3 35%, #e8edf3 100%);
  overflow: hidden;
}

.exo-scroll-top-thumb {
  position: absolute;
  left: 50%;
  top: calc(var(--exo-scroll-p, 0) * (100% - 28px));
  width: 2px;
  height: 28px;
  margin-left: -1px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9500, #ff7224);
  box-shadow: 0 0 12px rgba(255, 114, 36, 0.45);
  transition: top 0.12s linear;
}

.exo-scroll-top-icon {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e6ebf2;
  color: #161616;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 10px 24px -10px rgba(16, 24, 40, 0.2);
  transition:
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.exo-scroll-top:hover .exo-scroll-top-icon {
  border-color: rgba(255, 114, 36, 0.5);
  color: var(--_color---primary--01, #ff7224);
  box-shadow: 0 14px 28px -10px rgba(255, 114, 36, 0.35);
}

/* --- Floating chat menu --- */
.exo-chat {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 9991;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.exo-chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  width: min(18rem, calc(100vw - 2rem));
  padding: 0.85rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e8edf3;
  box-shadow:
    0 24px 48px -20px rgba(16, 24, 40, 0.22),
    0 0 0 1px rgba(255, 114, 36, 0.04);
  animation: exo-chat-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes exo-chat-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.exo-chat-panel-header {
  padding: 0.35rem 0.5rem 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 0.5rem;
}

.exo-chat-panel-header strong {
  display: block;
  font-size: 0.95rem;
  color: #161616;
}

.exo-chat-panel-header span {
  font-size: 0.75rem;
  color: #64748b;
}

.exo-chat-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.65rem 0.55rem;
  margin-bottom: 0.2rem;
  border: none;
  border-radius: 12px;
  background: transparent;
  text-decoration: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

.exo-chat-option:hover {
  background: #f8fafc;
}

.exo-chat-option-icon {
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: #f1f5f9 center / 55% no-repeat;
}

.exo-chat-icon-wa {
  background-color: #e8f8ee;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2325D366'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347'/%3E%3C/svg%3E");
}

.exo-chat-icon-mail {
  background-color: #fff4eb;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7224' stroke-width='2'%3E%3Cpath d='M4 6h16v12H4z'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E");
}

.exo-chat-icon-brief {
  background-color: #eef2ff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e2f3f' stroke-width='2'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3C/svg%3E");
}

.exo-chat-option-text {
  flex: 1;
  min-width: 0;
}

.exo-chat-option-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #161616;
}

.exo-chat-option-sub {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exo-chat-chevron {
  color: #94a3b8;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.exo-chat-services-toggle[aria-expanded="true"] .exo-chat-chevron {
  transform: rotate(90deg);
}

.exo-chat-services-list {
  padding: 0.25rem 0 0.35rem 2.75rem;
}

.exo-chat-service-link {
  display: block;
  padding: 0.4rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--_color---primary--01, #ff7224);
  text-decoration: none;
  border-radius: 8px;
}

.exo-chat-service-link:hover {
  background: rgba(255, 114, 36, 0.08);
}

.exo-chat-fab {
  width: 3.25rem;
  height: 3.25rem;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: linear-gradient(135deg, #ff7224, #ff9500);
  color: #fff;
  box-shadow: 0 14px 32px -10px rgba(255, 114, 36, 0.55);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

.exo-chat-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 18px 36px -10px rgba(255, 114, 36, 0.6);
}

.exo-chat-fab-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.exo-chat-fab-close {
  display: none;
  font-size: 1.6rem;
}

.exo-chat.is-open .exo-chat-fab-open {
  display: none;
}

.exo-chat.is-open .exo-chat-fab-close {
  display: block;
}

/* --- Blog featured thumb (trends guide) --- */
.exo-blog-featured-thumb {
  max-width: 56rem;
  margin: -1rem auto 2rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.exo-blog-featured-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  border: 1px solid #eef2f6;
  box-shadow: 0 20px 40px -24px rgba(16, 24, 40, 0.14);
}

@media screen and (max-width: 767px) {
  .exo-scroll-top {
    right: 0.85rem;
    bottom: 5rem;
  }

  .exo-chat {
    right: 0.85rem;
    bottom: 0.85rem;
  }
}

/* --- About hero: refined editorial shimmer (subtle, not flashy) --- */
.section-hero-about {
  position: relative;
  overflow: hidden;
}

.section-hero-about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(255, 114, 36, 0.06), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.section-hero-about .about-hero-wrap {
  position: relative;
  z-index: 1;
  min-height: clamp(300px, 44vh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.exogrow-pure-css-canvas {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent !important;
}

.exogrow-shimmer-text {
  position: relative;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(3rem, 12vw, 9.5rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  line-height: 0.95;
  text-align: center;
  user-select: none;
  cursor: default;
  color: #141414;
  -webkit-text-fill-color: #141414;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: letter-spacing 0.7s cubic-bezier(0.22, 1, 0.36, 1), color 0.5s ease;
}

.exogrow-shimmer-text::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0.06em;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 114, 36, 0.35) 50%,
    transparent
  );
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity 0.55s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .exogrow-shimmer-text:hover {
    letter-spacing: -0.045em;
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(
      100deg,
      #141414 0%,
      #2c2c2c 22%,
      #5c5c5c 38%,
      #c96a3a 46%,
      #ff7224 50%,
      #c96a3a 54%,
      #5c5c5c 62%,
      #2c2c2c 78%,
      #141414 100%
    );
    background-size: 220% 100%;
    background-position: 100% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: exoRefinedShimmer 2.2s cubic-bezier(0.4, 0, 0.2, 1) 1 forwards;
  }

  .exogrow-shimmer-text:hover::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .exogrow-shimmer-text:not(:hover) {
    animation: none;
    background-image: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    color: #141414;
    -webkit-text-fill-color: #141414;
  }
}

@media (hover: none) {
  .exogrow-shimmer-text:active {
    letter-spacing: -0.045em;
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(
      100deg,
      #141414 0%,
      #ff7224 50%,
      #141414 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: exoRefinedShimmer 1.8s ease 1 forwards;
  }
}

@keyframes exoRefinedShimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* --- Blogs page: premium square card grid --- */
body.page-blogs .uui-blog03_component,
.blogs-refined .uui-blog03_component {
  margin-top: clamp(2rem, 5vw, 4rem);
}

.blogs-refined .uui-heading-large,
body.page-blogs .uui-heading-large {
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.blogs-refined .uui-text-size-large-2,
body.page-blogs .uui-text-size-large-2 {
  max-width: 40rem;
  line-height: 1.6;
  color: var(--_color---grey--03, #4b5563);
}

/* Featured post — balanced split */
.blogs-refined .uui-blog03_featured-item,
body.page-blogs .uui-blog03_featured-item {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: 24px;
  border: 1px solid #eef2f6;
  background: linear-gradient(165deg, #fff 0%, #fafafa 100%);
  box-shadow: 0 20px 48px -24px rgba(16, 24, 40, 0.12);
}

.blogs-refined .uui-blog03_featured-item-content,
body.page-blogs .uui-blog03_featured-item-content {
  padding: clamp(1rem, 2vw, 2rem) 0 clamp(1rem, 2vw, 2rem) clamp(0rem, 2vw, 2rem);
}

/* Square thumbnails — full image visible, no crop */
.blogs-refined .uui-blog03_image-wrapper.is-featured,
body.page-blogs .uui-blog03_image-wrapper.is-featured,
.blogs-refined .uui-blog03_image-wrapper:not(.is-featured),
body.page-blogs .uui-blog03_image-wrapper:not(.is-featured) {
  width: 100%;
  padding-top: 0;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(165deg, #f9fafb 0%, #f1f4f8 100%);
  border: 1px solid #e8edf3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.5rem, 1.5vw, 0.75rem);
  box-sizing: border-box;
}

.blogs-refined .uui-blog03_image-wrapper.is-featured,
body.page-blogs .uui-blog03_image-wrapper.is-featured {
  border-radius: 20px;
  max-width: 100%;
}

/* Grid cards — square image, compact content */
.blogs-refined .uui-blog03_list,
body.page-blogs .uui-blog03_list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column-gap: clamp(1.25rem, 2.5vw, 1.75rem);
  grid-row-gap: clamp(1.75rem, 3vw, 2.5rem);
  align-items: stretch;
}

.blogs-refined .uui-blog03_item,
body.page-blogs .uui-blog03_item {
  background: #fff;
  border: 1px solid #eef2f6;
  border-radius: 20px;
  padding: 1.15rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
}

.blogs-refined .uui-blog03_item:hover,
body.page-blogs .uui-blog03_item:hover {
  transform: translateY(-6px);
  border-color: #dce5ed;
  box-shadow: 0 24px 40px -20px rgba(16, 24, 40, 0.14);
}

.blogs-refined .uui-blog03_image-link,
body.page-blogs .uui-blog03_image-link {
  margin-bottom: 1rem;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  flex-shrink: 0;
}

.blogs-refined .uui-blog03_image-link.is-featured,
body.page-blogs .uui-blog03_image-link.is-featured {
  border-radius: 20px;
}

.blogs-refined .uui-blog03_image,
body.page-blogs .uui-blog03_image {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center center;
  display: block;
}

.blogs-refined .uui-blog03_item:hover .uui-blog03_image,
body.page-blogs .uui-blog03_item:hover .uui-blog03_image {
  transform: none;
}

.blogs-refined .blog-category-heading,
body.page-blogs .blog-category-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--_color---primary--01, #ff7224);
}

.blogs-refined .uui-heading-xsmall,
body.page-blogs .uui-heading-xsmall {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.blogs-refined .uui-text-size-medium-2,
body.page-blogs .uui-text-size-medium-2 {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #4b5563;
  margin-bottom: 0.75rem;
}

.blogs-refined .uui-blog03_title-link,
body.page-blogs .uui-blog03_title-link {
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.blogs-refined .uui-blog03_icon,
body.page-blogs .uui-blog03_icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}

.blogs-refined .uui-blog03_item:hover .uui-blog03_icon,
body.page-blogs .uui-blog03_item:hover .uui-blog03_icon {
  background: rgba(255, 114, 36, 0.12);
  transform: translate(2px, -2px);
}

.blogs-refined .uui-blog03_author-wrapper,
body.page-blogs .uui-blog03_author-wrapper {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
}

/* --- Home blog marquee: premium editorial cards (same layout) --- */
.page-home #FAQ-section.faq {
  background: linear-gradient(180deg, #fafbfc 0%, #fff 42%, #fff 100%);
}

.page-home .blogs-wrapper.home-blog-marquee {
  position: relative;
  padding-bottom: clamp(1rem, 3vw, 2rem);
}

.page-home .blogs-wrapper.home-blog-marquee .heading-layout {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.page-home .blogs-wrapper.home-blog-marquee .heading-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.page-home .home-blog-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid #e6ebf2;
  background: #fff;
  color: #161616;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px -16px rgba(16, 24, 40, 0.14);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    color 0.3s ease;
}

.page-home .home-blog-view-all:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 114, 36, 0.45);
  color: var(--_color---primary--01, #ff7224);
  box-shadow: 0 16px 32px -14px rgba(255, 114, 36, 0.28);
}

.page-home .home-blog-view-all-arrow {
  transition: transform 0.3s ease;
}

.page-home .home-blog-view-all:hover .home-blog-view-all-arrow {
  transform: translateX(3px);
}

.home-blog-marquee-mask {
  -webkit-mask-image: none;
  mask-image: none;
}

.home-blog-marquee .rl_blog33_item {
  position: relative;
  width: min(340px, 86vw);
  max-width: 340px;
  flex: 0 0 auto;
  background: linear-gradient(165deg, #fff 0%, #f8fafc 100%);
  border: 1px solid #e8edf3;
  border-radius: 22px;
  padding: 1.1rem;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
}

.home-blog-marquee .rl_blog33_item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(255, 114, 36, 0.35), transparent 40%, transparent 60%, rgba(255, 149, 0, 0.2));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 2;
}

.home-blog-marquee .rl_blog33_item:hover {
  transform: translateY(-8px);
  border-color: #dce5ed;
  box-shadow:
    0 28px 48px -22px rgba(16, 24, 40, 0.16),
    0 0 0 1px rgba(255, 114, 36, 0.06);
}

.home-blog-marquee .rl_blog33_item:hover::before {
  opacity: 1;
}

.home-blog-marquee .rl_blog33_image-link {
  display: block;
  border-radius: 16px;
  overflow: hidden;
}

.home-blog-marquee .rl_blog33_image-wrapper {
  padding-top: 72%;
  border-radius: 16px;
  overflow: hidden;
}

.home-blog-marquee .rl_blog33_image {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-blog-marquee .rl_blog33_item:hover .rl_blog33_image {
  transform: scale(1.06);
}

.home-blog-marquee .blog-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--_color---primary--01, #ff7224);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 114, 36, 0.1);
}

.home-blog-marquee .blog-title {
  font-size: 1.08rem;
  line-height: 1.32;
  letter-spacing: -0.025em;
}

.home-blog-marquee .rl_blog33_item:hover .blog-title {
  color: var(--_color---primary--01, #ff7224);
}

.home-blog-marquee .blog-text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #4b5563;
}

.home-blog-marquee .rl_blog33_author-wrapper {
  padding-top: 0.85rem;
  margin-top: 0.25rem;
  border-top: 1px solid #eef2f6;
}

/* --- Home / About spacing --- */
.section.about .about-layout,
.section.service .capabilities-layout {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.section.hero .hero-bottom-wrap {
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

.about-text {
  max-width: 52rem;
  line-height: 1.55;
  text-align: center;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* --- Reduced motion --- */
.exo-reduce-motion *,
.exo-reduce-motion *::before,
.exo-reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

.home-blog-marquee-track {
  animation-duration: 56s;
}

/* --- Mobile --- */
@media screen and (max-width: 991px) {
  .blogs-refined .uui-blog03_list,
  body.page-blogs .uui-blog03_list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blogs-refined .uui-blog03_featured-item,
  body.page-blogs .uui-blog03_featured-item {
    grid-template-columns: 1fr;
  }

  .blogs-refined .uui-blog03_featured-item-content,
  body.page-blogs .uui-blog03_featured-item-content {
    padding: 1.25rem 0 0;
  }

  .uui-blog03_category-menu.no-scrollbar {
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .section.hero .statics-marquee {
    position: relative !important;
    bottom: auto !important;
    margin-top: 3.5rem !important;
    margin-bottom: 2rem !important;
    font-size: clamp(2rem, 8vw, 3.5rem) !important;
  }
}

@media screen and (max-width: 767px) {
  .blogs-refined .uui-blog03_list,
  body.page-blogs .uui-blog03_list {
    grid-template-columns: 1fr;
  }

  .home-blog-marquee .rl_blog33_item {
    width: min(280px, 88vw);
  }

  .button-wrap-1 {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .button-wrap-1 .button {
    width: 100%;
    justify-content: center;
  }

  .hero-layout {
    grid-row-gap: 1.5rem;
  }
}

@media screen and (max-width: 479px) {
  .blogs-refined .uui-blog03_item,
  body.page-blogs .uui-blog03_item {
    padding: 1rem;
  }
}

/* --- Performance: content-visibility on below-fold sections --- */
@media screen and (min-width: 992px) {
  .section.service,
  .section.faq,
  #FAQ-section,
  .section.about,
  #process-section,
  .home-our-work-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
  }
}

/* --- Footer EXOGROW hover: premium editorial --- */
.footer-svg-text-base {
  stroke: rgba(255, 255, 255, 0.07) !important;
  stroke-width: 0.75px !important;
}

.footer-svg-text-animated {
  fill: #e8a07a !important;
  opacity: 0.95;
  filter: drop-shadow(0 0 24px rgba(255, 114, 36, 0.12));
}

#footer-hover-svg {
  opacity: 0.92;
  transition: opacity 0.45s ease, transform 0.45s ease;
  transform: translateY(35px);
}

.footer-bottom:hover #footer-hover-svg {
  opacity: 1;
}

.footer-bottom-row-text a {
  transition: color 0.25s ease, opacity 0.25s ease;
}

.footer-bottom-row-text a:hover {
  color: var(--_color---primary--01, #ff7224);
}

/* --- Breadcrumbs --- */
.exo-breadcrumb {
  padding: 0.65rem clamp(1.25rem, 4vw, 3rem) 0;
  max-width: 80rem;
  margin: 0 auto;
  margin-top: 5rem;
}

.exo-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #64748b;
}

.exo-breadcrumb-item:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: #cbd5e1;
  font-weight: 400;
}

.exo-breadcrumb-item a {
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
}

.exo-breadcrumb-item a:hover {
  color: var(--_color---primary--01, #ff7224);
}

.exo-breadcrumb-item:last-child {
  color: #161616;
  font-weight: 600;
}

/* --- Mobile UI polish (no layout break) --- */
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.uui-navbar08_menu-left .uui-navbar08_link,
.uui-navbar08_menu-left .uui-navbar08_dropdown-toggle,
.footer-link-list .footer-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.form_input,
.w-input,
.w-select,
textarea {
  font-size: 16px;
}

@media screen and (max-width: 767px) {
  .exo-breadcrumb {
    padding-top: 0.5rem;
  }

  .exo-scroll-top {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: calc(5rem + env(safe-area-inset-bottom));
  }

  .exo-chat {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
  }

  .footer-svg-text-base,
  .footer-svg-text-animated {
    font-size: 72px !important;
  }

  #footer-hover-svg {
    width: 92% !important;
    transform: translateY(0px) !important;
  }

  .padding-global {
    padding-left: max(1rem, env(safe-area-inset-left)) !important;
    padding-right: max(1rem, env(safe-area-inset-right)) !important;
  }

  .section-description {
    margin-top: 1.25rem;
    text-align: left !important;
  }

  .section-heading {
    text-align: left !important;
  }
}

/* ==========================================================================
   Blog single pages: fix button text (no IX2 animation on these pages)
   ========================================================================== */
.blog-single .button-text {
  text-shadow: none !important;
  overflow: visible !important;
  color: inherit !important;
}

.blog-single .button-text-wrap {
  overflow: visible !important;
}

.blog-single .button .icon-button {
  visibility: visible !important;
}

.blog-single .button-inner {
  overflow: visible !important;
}

/* --- Services / Industries Cards Clickability & Pointers --- */
.single-service-card,
.single-industry-card,
.integration-card,
.combine-feature-card,
.integration_card,
.small-card {
  cursor: pointer !important;
}

/* --- Timeline Left Alignment on Desktop --- */
.journey-item:nth-child(odd) .journey-item-row {
  text-align: left !important;
}

/* ==========================================================================
   Mobile Performance & UX Overrides (<= 991px)
   ========================================================================== */
@media screen and (max-width: 991px) {
  /* Disable background stars rendering */
  #star-container {
    display: none !important;
  }

  /* Reset 3D Card Hover Transformations and Shadows, but add subtle active states for mobile premium feel */
  .single-service-card:hover,
  .counter-content-wrap:hover,
  .single-industry-card:hover,
  .integration-card:hover,
  .combine-feature-card:hover,
  .integration_card:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  /* Mobile tap feedback: slight scale down and shadow for active state */
  .single-service-card:active,
  .counter-content-wrap:active,
  .single-industry-card:active,
  .integration-card:active,
  .combine-feature-card:active,
  .integration_card:active {
    transform: scale(0.98) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
    transition: transform 0.1s ease-out, box-shadow 0.1s ease-out !important;
  }

  /* Disable hover glow and light tracking effects on mobile */
  .single-service-card:hover::before,
  .single-service-card:hover::after,
  .counter-content-wrap:hover::before,
  .counter-content-wrap:hover::after,
  .single-industry-card:hover::before,
  .single-industry-card:hover::after,
  .integration-card:hover::before,
  .integration-card:hover::after,
  .combine-feature-card:hover::before,
  .combine-feature-card:hover::after,
  .integration_card:hover::before,
  .integration_card:hover::after {
    opacity: 0 !important;
  }

  /* Force about-us section images and videos to show on mobile (prevents Webflow scroll animations from leaving them invisible) */
  .box-banner-image-1,
  .box-banner-image-2 {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }

  /* Premium tactile active/tap states for mobile cards */
  .single-service-card:active,
  .counter-content-wrap:active,
  .single-industry-card:active,
  .integration-card:active,
  .combine-feature-card:active,
  .integration_card:active {
    transform: scale(0.98) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.1s ease, background-color 0.1s ease !important;
  }

  /* Disable Button Hover Actions on Mobile & Add Premium Tactile Tap Feedback */
  .button:hover {
    transform: none !important;
  }

  .button:active {
    transform: scale(0.97) !important;
    opacity: 0.9 !important;
    transition: transform 0.1s ease, opacity 0.1s ease !important;
  }

  .footer-bottom {
    display: flex !important;
    flex-direction: column !important;
  }

  .footer-link-wrap {
    order: 1 !important;
  }

  .footer-animation {
    order: 2 !important;
    position: relative !important;
    inset: auto !important;
    height: 120px !important;
    padding: 0 !important;
    z-index: 0 !important;
  }

  .footer-bottom-row {
    order: 3 !important;
  }

  .footer-hover-container {
    position: relative !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #footer-hover-svg {
    transform: translateY(0px) !important;
  }
}

/* Only show the preloader on the homepage (page-home) */
html:not(.page-home) .preloader {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ==========================================================================
   Desktop Preloader — 0→100% Counter (≥ 992px only)
   ========================================================================== */

/* On desktop, override the Webflow default opacity:0 so the preloader is visible */
@media screen and (min-width: 992px) {
  .preloader {
    opacity: 1 !important;
    pointer-events: all !important;
    height: 100vh !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }
}

/* Counter element */
.preload-counter {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 200;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.preload-counter-pct {
  font-size: 0.55em;
  opacity: 0.5;
  margin-left: 0.05em;
}

/* Smooth fade-out state */
.preloader.preloader-done {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important;
  visibility: hidden !important;
}

/* Mobile: hide preloader + counter entirely — no delay */
@media screen and (max-width: 991px) {
  .preloader {
    display: none !important;
  }
  .preload-counter {
    display: none !important;
  }
}



/* ==========================================================================
   Mobile Testimonials Sizing Fix (Standard & Founder cards uniform size, matching James Whitfield)
   ========================================================================== */
@media screen and (max-width: 767px) {
  .testimonial-card[data-wf--testimonial-card--variant="base"],
  .testimonial-card:not(.w-variant-65afc4f9-031d-a5f3-faf2-831aa3d6a53a),
  .founder-card-glow-wrapper {
    width: 65vw !important;
    flex: 0 0 65vw !important;
  }
}

@media screen and (max-width: 479px) {
  .testimonial-card[data-wf--testimonial-card--variant="base"],
  .testimonial-card:not(.w-variant-65afc4f9-031d-a5f3-faf2-831aa3d6a53a),
  .founder-card-glow-wrapper {
    width: 80vw !important;
    flex: 0 0 80vw !important;
  }
}

/* Ensure contact form button is centered on all devices */
.form-button {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.form-button .submit-button {
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
}

/* Center Cloudflare Turnstile widget above the submit button */
.cf-turnstile {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin-top: 1.5rem !important;
  margin-bottom: 0.5rem !important;
}

/* ==========================================================================
   Responsive Home Hero Section Layout (Desktop Spline / Mobile Centered Grid)
   ========================================================================== */
@media screen and (min-width: 992px) {
  .page-home .desktop-hero-layout {
    display: flex !important;
  }
  .page-home .mobile-hero-layout {
    display: none !important;
  }
  .page-home .hero-bg-animation {
    display: none !important;
  }
}

@media screen and (max-width: 991px) {
  .page-home .desktop-hero-layout {
    display: none !important;
  }
  .page-home .mobile-hero-layout {
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    flex-flow: column !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 0 !important;
  }
  .page-home .hero-bg-animation {
    display: block !important;
  }
  
  /* Centered mobile-hero-layout elements */
  .page-home .mobile-hero-layout .hero-content,
  .page-home .mobile-hero-layout .hero-content.full-width,
  .page-home .mobile-hero-layout .hero-heading-wrap,
  .page-home .mobile-hero-layout .hero-bottom-wrap {
    width: 100% !important;
    max-width: none !important;
    align-items: center !important;
    padding-right: 0 !important;
    display: flex !important;
    flex-direction: column !important;
  }
  
  .page-home .mobile-hero-layout .hero-heading-wrap {
    justify-content: center !important;
  }
  
  .page-home .mobile-hero-layout .content-wrap-2 {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
  
  .page-home .mobile-hero-layout .hero-heading-main {
    width: 100% !important;
    max-width: min(28ch, 1200px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    font-weight: 900 !important;
    line-height: 0.9 !important;
    letter-spacing: -0.04em !important;
  }
  
  .page-home .mobile-hero-layout .subheading-text.hero {
    max-width: 700px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }
  
  .page-home .mobile-hero-layout .button-wrap-1 {
    display: flex !important;
    flex-flow: row wrap !important;
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  /* Reset page-home hero-section-wrap on mobile to act like premium-hero-page */
  .page-home .section.hero {
    min-height: 0 !important;
    height: auto !important;
  }
  .page-home .hero-section-wrap {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding-top: clamp(6.5rem, 12vw, 9rem) !important;
    padding-bottom: 0 !important;
    display: block !important;
  }
  .page-home .container-base.hero {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: block !important;
  }

  /* Override absolute positioning and auto margins for marquee on mobile */
  .page-home .section.hero .statics-marquee {
    position: relative !important;
    bottom: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
    padding-top: 0.35rem !important;
    padding-bottom: 1rem !important;
  }

  @media screen and (max-width: 767px) {
    .page-home .section.hero .statics-marquee {
      margin-top: 2rem !important;
      margin-bottom: 2rem !important;
    }
  }
}

/* --- Center the Contact Form Submit Button --- */
body form .form-button {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}
body form .form-button .submit-button,
body form .submit-button {
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
  align-self: center !important;
  float: none !important;
}

/* ====== FOUNDERS CARDS FIX ====== */
.testimonial-image { width: 200px !important; height: 200px !important; max-width: 100%; object-fit: cover !important; object-position: center top !important; border-radius: 65px !important; margin-left: auto !important; margin-right: auto !important; }

/* ==========================================================================
   Services Cards Image Aesthetic Enhancements & Refinements
   ========================================================================== */

/* Override service cards grid: 2 columns × 2 rows on desktop/tablet */
@media screen and (min-width: 768px) {
  .service-cards-home {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* 1 column on mobile grid */
@media screen and (max-width: 767px) {
  .service-cards-home {
    grid-template-columns: 1fr !important;
  }
}

/* 1. Add a tiny soft gray gradient behind the cards section */
.capabilities-bottom {
  background: radial-gradient(circle at top, rgba(240, 242, 245, 0.5) 0%, transparent 60%);
}

/* 4. Increase border radius of images slightly more to match modern SaaS trends */
.service-cards-home .single-service-card img {
  border-radius: 16px 16px 0 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Slightly reduce thumbnail black levels by ~5% (using slightly lower brightness) */
.service-cards-home .single-service-card:nth-child(1) img {
  filter: brightness(1.2) contrast(1.15) saturate(1.15) drop-shadow(0px 4px 12px rgba(255, 100, 0, 0.15));
}

.service-cards-home .single-service-card:nth-child(2) img {
  filter: brightness(1.35) contrast(1.1) saturate(1.2) drop-shadow(0px 6px 16px rgba(255, 140, 0, 0.2));
}

.service-cards-home .single-service-card:nth-child(3) img {
  filter: brightness(1.28) contrast(1.15) saturate(1.15) drop-shadow(0px 5px 14px rgba(255, 120, 0, 0.15));
}

/* 6. The ERP card made slightly brighter to balance out */
.service-cards-home .single-service-card:nth-child(4) img {
  filter: brightness(1.35) contrast(1.12) saturate(1.25) drop-shadow(0px 8px 20px rgba(255, 160, 0, 0.25));
}

/* Container relative for overlay and base transition */
.service-cards-home .single-service-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Soft orange haze in corners and gradient lighting over the image area */
.service-cards-home .single-service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: radial-gradient(circle at 15% 15%, rgba(255, 130, 0, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 85% 85%, rgba(255, 90, 0, 0.12) 0%, transparent 50%),
              radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
}

/* 3 & 5. Desktop-only hover zoom and soft orange ambient glow beneath cards */
@media screen and (min-width: 992px) {
  .service-cards-home .single-service-card:hover img {
    transform: scale(1.04);
  }
  
  .service-cards-home .single-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(255, 120, 0, 0.08), 0 4px 12px rgba(0,0,0,0.05);
    border-color: rgba(255, 120, 0, 0.15); /* Adds to the premium feel */
  }
}

/* Global Heading Capitalization */
h1, h2, h3, h4, h5, h6 {
  text-transform: capitalize;
}

/* Exclude hero sections from heading capitalization */
.hero h1, .hero h2, .hero h3, .hero h4, .hero h5, .hero h6,
.hero-section h1, .hero-section h2, .hero-section h3, .hero-section h4, .hero-section h5, .hero-section h6,
[class*="hero"] h1, [class*="hero"] h2, [class*="hero"] h3, [class*="hero"] h4, [class*="hero"] h5, [class*="hero"] h6,
h1[class*="hero"], h2[class*="hero"], h3[class*="hero"], h4[class*="hero"], h5[class*="hero"], h6[class*="hero"] {
  text-transform: none !important;
}

/* Remove excessive top white space on mobile inner hero pages */
@media screen and (max-width: 767px) {
  body.premium-hero-page .section.hero {
    padding-top: 1rem !important; /* Minimal breathing room */
  }
  body.premium-hero-page .hero-layout {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  body.premium-hero-page .hero-heading-wrap,
  body.premium-hero-page .hero-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}

/* Make footer ExoGrow text glow permanently on mobile by bypassing the JS mask */
@media screen and (max-width: 991px) {
  .footer-svg-text-base {
    fill: #ff7224 !important;
    stroke: none !important;
  }
}
