/* =============================================
   AVERONEX — Shared Stylesheet
   Fonts: Plus Jakarta Sans, Poppins
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700&family=Poppins:wght@300;400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
  --bg-page: #fbfbfb;
  --bg-nav: #f8f8f8;
  --bg-footer: #f5f5f5;
  --bg-card: #ffffff;
  --bg-card-alt: #f2f2f2;
  --bg-dark: #161616;

  --color-primary: #171715;
  --color-heading: #161616;
  --color-body: #4f4f4f;
  --color-muted: #5f6368;
  --color-subtle: #484848;
  --color-footer-text: #262626;

  --color-orange: #fa7404;
  --color-orange-dark: #d94507;
  --color-gold-start: #ffcf4a;
  --color-gold-end: #d9b85b;

  --border-light: #e4e4e4;
  --border-nav: #c4c4c4;
  --border-card: #d8d8d8;

  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-alt: 'Poppins', sans-serif;

  --nav-h: 72px;
  --container-max: 1280px;
  --container-maxx: 1120px;
  --page-px: 80px;
  --radius-card: 10px;
  --radius-lg: 20px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--bg-page);
  color: var(--color-heading);
  line-height: 1.5;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Container ---- */
.container {
  max-width: calc(var(--container-max) + var(--page-px) * 2);
  margin: 0 auto;
  padding: 0 var(--page-px);
}
.container-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border-nav);
  display: flex;
  align-items: center;
  padding: 0 var(--page-px);
}
.navbar__inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.navbar__logo-img {
  width: 190px;
  height: auto;
  display: block;
}
.navbar__logo-text {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 2.16px;
}
.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.navbar__link {
  font-size: 14px;
  font-weight: 600;
  color: #454545;
  position: relative;
  padding-bottom: 6px;
  transition: color 0.2s;
}
.navbar__link:hover { color: var(--color-primary); }
.navbar__link--active {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-orange);
}
.navbar__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid var(--color-primary);
  border-radius: 3px;
  font-size: 16px;
  font-weight: 600;
  color: #242424;
  transition: background 0.2s, color 0.2s;
}


/* Hover state for the button */
.navbar__cta:hover { 
  background: var(--color-primary); 
  color: #fff; 
}

/* Base state for the arrow image */
.navbar__cta img { 
  width: 20px; 
  height: 20px; 
  transition: filter 0.2s ease; /* Makes the image color change smoothly */
}

/* NEW: Turn the image icon white when the parent button is hovered */
.navbar__cta:hover img {
  filter: brightness(0) invert(1);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: 0.3s;
}

 
    /* Industries trigger */
    .navbar__industries-trigger {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      padding-bottom: 6px;
      cursor: pointer;
    }
    .navbar__industries-trigger span {
      font-size: 14px;
      font-weight: 600;
      color: #000;
      white-space: nowrap;
      user-select: none;
    }

    .navbar__industries-trigger:hover { color: var(--color-primary); }
    .navbar__industries-trigger--active {
      color: var(--color-primary);
      border-bottom: 2px solid var(--color-orange);
    }
 
 
   .mega-dropdown {
  position: absolute;
  top: calc(100% + 10px);  /* Flush below navbar border */
  left: 50%;
  width: 1180px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 10px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
  padding: 20px;
  display: flex; 
  gap: 0;
  z-index: 999;

  /* --- REVERSED DIRECTION: SLIDES DOWN FROM TOP --- */
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px); /* Starts 10px higher up */
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
              visibility 0.3s;
  pointer-events: none; 
}

/* Transitions beautifully into place when triggered */
.mega-dropdown--show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important; /* Glides downward into place */
  pointer-events: auto !important;
}

/* Base structural wrapper element */
.navbar__industries-wrap {
  position: static;
}
    .mega-dropdown:hover {
      display: flex;
    }
 
    /* Wrapper so the dropdown can stay open when mouse moves into it */
    .navbar__industries-wrap {
      position: static;
    }
 
    /* ── Left image stack ── */
    .mega-left {
      flex: 0 0 360px;
      width: 20px;
      border-radius: 10px;
      overflow: hidden;
      display: grid;
      grid-template-rows: repeat(6, 1fr);
      gap: 0;
      height: 415px;
      margin-right: 10px;
    }
 
    .mega-left__img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
 
    /* Each row is a thin horizontal slice */
    .mega-left__slice {
      overflow: hidden;
      position: relative;
    }
    .mega-left__slice img {
      width: 100%;
      height: 100%; /* original image height – let CSS crop via overflow */
      object-fit: cover;
      object-position: center;
      display: block;
    }
 
    /* ── Right industries grid ── */
    .mega-right {
      flex: 1;
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: repeat(3, auto);
      gap: 0;
      align-content: start;
    }
 
    .mega-item {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      padding: 20px 14px;
      border-radius: 8px;
      text-decoration: none;
      transition: background 0.15s;
      cursor: pointer;
    }
    .mega-item:hover {
      background: #fafafa;
    }
 
    .mega-item__icon {
      flex-shrink: 0;
      width: 32px;
      height: 32px;
      object-fit: contain;
      margin-top: 2px;
    }
 
    .mega-item__body {}
 
    .mega-item__title {
      font-size: 18px;
      font-weight: 500;
      color: #131313;
      text-transform: capitalize;
      line-height: 1.3;
      margin-bottom: 6px;
    }
 
    .mega-item__desc {
      font-size: 14px;
      font-weight: 500;
      color: #868686;
      line-height: 1.7;
    }
 
    /* Mobile toggle – hidden by default on desktop */
    .navbar__toggle { display: none; }
 
    /* ─── DEMO PAGE CONTENT ───────────────────────────────────── */
    .demo-hero {
      margin-top: 82px;
      height: 500px;
      background: linear-gradient(89deg, rgba(0,0,0,0.6) 50%, rgba(102,102,102,0) 100%),
                  url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1440&q=80') center/cover no-repeat;
      display: flex;
      align-items: center;
      padding: 0 80px;
    }
    .demo-hero p {
      color: #fff;
      font-size: 18px;
      opacity: 0.7;
    }
/* ============================================
   NAVBAR RESPONSIVE
   ============================================ */

/* ── 1100px – 1280px ── */
@media (max-width: 1280px) and (min-width: 1101px) {
  .navbar { padding: 0 40px; }

  .mega-dropdown {
    width: 1000px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
  }

  .mega-dropdown--show {
    transform: translateX(-50%) translateY(0) !important;
  }

  .mega-left { flex: 0 0 280px; height: 360px; }
  .mega-item__title { font-size: 16px; }
  .mega-item__desc { font-size: 13px; }
}

/* ── 1100px ── */
@media (max-width: 1100px) {
  .navbar { padding: 0 24px; }

  .mega-dropdown {
    width: calc(100vw - 48px);
    left: 24px;
    transform: translateY(-10px);
  }

  .mega-dropdown--show {
    transform: translateY(0) !important;
  }

  .mega-left { display: none; }

  .mega-right {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .mega-item { padding: 16px 12px; }
  .mega-item__title { font-size: 15px; }
  .mega-item__desc { font-size: 13px; }
}

/* ── TABLET (769px – 1024px) ── */
@media (max-width: 1024px) and (min-width: 769px) {
  .navbar { padding: 0 24px; }

  .mega-dropdown {
    width: calc(100vw - 48px);
    left: 24px;
    transform: translateY(-10px);
    padding: 16px;
  }

  .mega-dropdown--show {
    transform: translateY(0) !important;
  }

  .mega-left { display: none; }

  .mega-right {
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 0;
  }

  .mega-item {
    padding: 14px 10px;
    gap: 12px;
  }

  .mega-item__icon { width: 28px; height: 28px; }
  .mega-item__title { font-size: 14px; }
  .mega-item__desc { font-size: 12px; line-height: 1.5; }
}

/* ── MOBILE (≤ 768px) ── */
@media (max-width: 768px) {

  .navbar__toggle { display: flex; }

  .navbar__links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    
    /* ── DYNAMIC HEIGHT ADJUSTMENT ── */
    height: 30vh; /* Base height when industries dropdown is closed */
    transition: height 0.35s ease-in-out; /* Smooth transition when opening dropdown */
    
    background: #fff;
    flex-direction: column;
    align-items: center; 
    justify-content: start; 
    padding: 10px 24px 12px;
    gap: 0;
    z-index: 998;
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
  }

  .navbar__links--open { display: flex; }

  /* ── WHEN INDUSTRIES IS OPEN: EXPAND MENUBAR TO 100VH ── */
  has(#industriesWrap.is-open), /* Modern CSS approach if applicable */
  .navbar__links:has(.is-open) { 
    height: 100vh; 
  }
  
  /* Fallback selector paired with your existing JS logic */
  .navbar__industries-wrap.is-open ~ .navbar__links, 
  .navbar__links {
    /* Handled safely via a utility class or parent wrapper if needed, 
       but if .industriesWrap is INSIDE .navbar__links, use this below: */
  }

  /* If industriesWrap is a CHILD of navbar__links (Standard structure): */
  .navbar__links:has(.navbar__industries-wrap.is-open) {
    height: 100vh;
  }

  .navbar__industries-wrap {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center; 
  }

  .navbar__industries-trigger {
    width: 100%;
    margin-top: -10px;
    padding: 16px 0;
    justify-content: center; 
    text-align: center;
  }

  .navbar__industries-trigger span {
    font-size: 16px;
    font-weight: 600;
    color: #131313;
    text-align: center;
  }

  .mega-dropdown {
    position: static !important;
    opacity: 1 !important;
    visibility: hidden;
    transform: none !important;
    box-shadow: none !important;
    border-radius: 0;
    padding: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, visibility 0.35s;
    display: block;
    pointer-events: none;
  }

  .navbar__industries-wrap.is-open .mega-dropdown {
    visibility: visible;
    max-height: 600px;
    pointer-events: auto;
  }

  .mega-left { display: none; }

  .mega-right {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 0;
    align-items: center; 
  }

  .mega-item {
    padding: 10px 0;
    border-radius: 0;
    gap: 12px;
    width: 100%;
    background-color: #f8f8f8;
    justify-content: center; 
  }

  .mega-item:last-child { border-bottom: none; }
  .mega-item:hover { background: none; }

  .mega-item__icon { width: 20px; height: 20px; }

  .mega-item__title {
    font-size: 14px;
    font-weight: 600;
    text-align: center; 
  }

  .mega-item__desc { display: none; }

  /* Who we are link */
  .navbar__link {
    padding: 16px 0;
    margin-top: -10px;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center; 
    display: block;
  }

  .navbar__cta {
    width: auto;
    justify-content: center;
    padding: 10px 20px;
    font-size: 15px;
    text-align: center;
  }
}

/* ── SMALL MOBILE (≤ 480px) ── */
@media (max-width: 480px) {
  .navbar { padding: 0 20px; height: 72px; }
  .navbar__logo-img { width: 160px; }
  .navbar__links { padding: 70px 20px 32px; }
  .mega-item__title { font-size: 13px; }
}

/* ── 375px ── */
@media (max-width: 375px) {
  .navbar { padding: 0 16px; height: 72px; }
  .navbar__logo-img { width: 150px; }
  .navbar__links { padding: 64px 16px 28px; }
  .navbar__industries-trigger span,
  .navbar__link { font-size: 15px; }
  .mega-item { padding: 12px 0; }
  .mega-item__title { font-size: 13px; }
}

@media (max-width: 768px) {
  .navbar__industries-trigger--active {
    border-bottom: none;
  }
}

/* ============================================
   NAVBAR HAMBURGER TOGGLE ANIMATION
   ============================================ */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
  z-index: 999; /* Ensures the hamburger stays clickable on top of the layout drawer */
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: 1px center; /* Perfect structural rotational axis point */
}

/* --- ANIMATION TRIGGERS ON ACTIVE STATE --- */

/* Top Line rotates down 45 degrees */
.navbar__toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(2px, 1px);
}

/* Middle Line fades completely out */
.navbar__toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

/* Bottom Line rotates up 45 degrees */
.navbar__toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(1px, -1px);
}

/* Ensure the display rules are respected inside media queries */
@media (max-width: 768px) {
  .navbar__toggle {
    display: flex;
  }
}


/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: fit-content;
  padding: 16px 30px;
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 5px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}
.btn-primary:hover { background: #333; transform: translateY(-1px); }
.btn-primary img { width: 24px; height: 24px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--color-primary);
  border-radius: 3px;
  font-size: 16px;
  font-weight: 600;
  color: #242424;
}

@media (max-width: 1024px) {
  .btn-primary {
    font-size: 16px;
    padding: 14px 22px;
  }
}

@media (max-width: 767px) {
  .btn-primary {
    font-size: 15px;
    padding: 10px 20px;
    width: 100%;
    justify-content: center;
  }
  .btn-outline {
    font-size: 14px;
    padding: 9px 16px;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .btn-primary {
    font-size: 14px;
    padding: 10px 20px;
    gap: 8px;
  }
  .btn-primary img { width: 20px; height: 20px; }
  .btn-outline {
    font-size: 13px;
    padding: 8px 14px;
  }
}

@media (max-width: 375px) {
  .btn-primary {
    font-size: 13px;
    padding: 10px 16px;
    gap: 6px;
  }
  .btn-primary img { width: 18px; height: 18px; }
  .btn-outline {
    font-size: 12px;
    padding: 7px 12px;
  }
}



/* ============================================
    HERO SECTION (ORIGINAL DESIGN PRESERVED)
   ============================================ */
.hero {
  position: relative;
  height: 864px;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}
.hero__slide--active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(89deg, rgba(0,0,0,0.55) 45%, rgba(102,102,102,0.05) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 906px;
  padding: 142px 0 0 var(--page-px);
}
.hero__tag {
  display: inline-flex;
  align-items: start;
  padding: 8px 35px;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 30px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  width: fit-content;
}
.hero__title {
  font-size: 64px;
  font-weight: 700;
  color: #fff;
  line-height: 80px;
}
.hero__title-gradient {
  background: linear-gradient(90deg, var(--color-gold-start), var(--color-gold-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  line-height: 35px;
  max-width: 680px;
}
.hero__subtitle1 {
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  line-height: 35px;
  max-width: 700px;
}
.hero__dots {
  position: absolute;
  bottom: 40px;
  right: var(--page-px);
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.3);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 18px;
  z-index: 10;
}
.hero__dot {
  width: 60px;
  height: 8px;
  border-radius: 10px;
  background: #a2a2a2;
  cursor: pointer;
}
.hero__dot--active {
  background: linear-gradient(90deg, #2d2d2d, rgba(147,147,147,0.5));
}

/* ============================================
   HERO SECTION: TABLET VIEW (≤ 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .hero {
    height: 680px; /* Reduced container height to sit better on medium screens */
  }

  .hero__content {
    max-width: 100%;
    padding: 100px var(--page-px) 0 var(--page-px); /* Adds side padding safe boundaries */
    gap: 24px;
    margin-top: 50px;
  }

  .hero__tag {
    font-size: 14px;
    padding: 6px 24px;
  }

  .hero__title {
    font-size: 46px; /* Scaled down header sizes */
    line-height: 58px;
  }

  .hero__subtitle, 
  .hero__subtitle1 {
    font-size: 18px;
    line-height: 28px;
    max-width: 90%;
  }

  /* Compact navigation dot controller tray positioning */
  .hero__dots {
    bottom: 24px;
    padding: 12px;
  }
  .hero__dot {
    width: 45px;
    height: 6px;
  }
}

/* ============================================
   HERO SECTION: MOBILE VIEW (≤ 767px)
   ============================================ */
@media (max-width: 767px) {
  .hero {
    height: 560px; /* Perfectly frames above-the-fold contents on mobile viewports */
  }

  .hero__overlay {
    /* Slightly darkened fallback gradient over backgrounds for higher reading contrast */
    background: linear-gradient(180deg, rgba(0,0,0,0.65) 60%, rgba(0,0,0,0.4) 100%);
  }

  .hero__content {
    padding: 80px var(--page-px) 0 var(--page-px);
    gap: 18px;
    margin-top: 50px;
  }

  .hero__tag {
    font-size: 12px;
    padding: 6px 16px;
    line-height: 1.3;
    max-width: 100%;
  }

  .hero__title {
    font-size: clamp(28px, 7.5vw, 36px); /* Fluid typography scales header context cleanly */
    line-height: 1.25;
  }

  .hero__subtitle, 
  .hero__subtitle1 {
    font-size: clamp(14px, 4vw, 16px);
    line-height: 24px;
    max-width: 100%;
  }

  /* Moves navigational touch bars to bottom center for premium application feel */
  .hero__dots {
    right: 50%;
    transform: translateX(50%);
    bottom: 20px;
    padding: 10px;
    gap: 6px;
  }

  .hero__dot {
    width: 35px;
    height: 5px;
  }
}

/* Extra Small Mobile Devices (≤ 390px) */
@media (max-width: 390px) {
  .hero {
    height: 510px;
  }

  .hero__content {
    padding-top: 60px;
    gap: 14px;
    margin-top: 50px;
  }

  .hero__title {
    font-size: 26px;
  }

  .hero__subtitle, 
  .hero__subtitle1 {
    font-size: 13px;
    line-height: 20px;
  }
  
  .hero__dots {
    bottom: 14px;
  }
}

/* ============================================
   SECTION: Intro headline (Center & Responsive)
   ============================================ */
.section-intro {
  padding: 80px var(--page-px);
  text-align: center;
  overflow: hidden;
}

.section-intro__content {
  max-width: 1251px;
  margin: 0 auto;
  overflow: hidden; /* Clips the horizontal track safely */
  position: relative;
  width: 100%;
}

.section-intro__track {
  display: flex;
  /* Remove width: 100% restriction so the track can expand to hold the new clone slide */
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.section-intro__slide {
  min-width: 100%;
  max-width: 100%;
  flex-shrink: 0; /* Critical: prevents slides from squishing horizontally */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  box-sizing: border-box;
}

.section-intro__heading {
  font-size: 39px;
  font-weight: 600;
  color: #434343;
  line-height: 1.4;
  letter-spacing: -0.2px;
}

.section-intro__body {
  font-size: 22px;
  font-weight: 500;
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 1038px;
}

/* Dots Navigation */
.section-intro__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
}

.section-intro__dot {
  height: 13px;
  border-radius: 10px;
  background: #d6d6d6;
  transition: all 0.3s ease;
  cursor: pointer;
}

.section-intro__dot--active {
  width: 45px;
  background: #000;
}

.section-intro__dot--sm { 
  width: 20px; 
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .section-intro {
    padding: 60px 24px;
  }
  .section-intro__heading {
    font-size: 28px;
    line-height: 1.3;
  }
  .section-intro__body {
    font-size: 18px;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .section-intro__heading {
    font-size: 22px;
  }
  .section-intro__body {
    font-size: 16px;
  }
}


/* ============================================
   SECTION: Growth Complexity
   ============================================ */
.section-complexity {
  padding: 40px var(--page-px);
}
.section-complexity__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* ============================================
   SECTION: Growth Complexity
   ============================================ */
.section-complexity {
  padding: 40px var(--page-px);
}
.section-complexity__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}
.section-complexity__heading {
  font-size: 44px;
  line-height: 64px;
  letter-spacing: -0.22px;
  margin-bottom: 24px;
}
.section-complexity__heading span.normal { font-weight: 400; color: #4f4f4f; }
.section-complexity__heading span.italic-bold { font-weight: 600; font-style: italic; color: var(--color-heading); }
.section-complexity__body {
  font-size: 22px;
  font-weight: 500;
  color: var(--color-muted);
  line-height: 38px;
  max-width: 1031px;
}
/* ============================================
   SECTION: Problem Cards Grid
   ============================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0px var(--page-px) 80px;
  max-width: calc(var(--container-max) + var(--page-px)*2);
  margin: 0 auto;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 32px 25px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.problem-card--alt {
  background: var(--bg-card-alt);
  border-color: #cdcdcd;
}
.problem-card__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.problem-card__title {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-heading);
  line-height: normal;
  max-width: 402px;
}
.problem-card__body {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-muted);
  line-height: 24px;
  max-width: 312px;
}

/* ============================================
   SECTION: Understanding Operations (split)
   ============================================ */
.section-ops {
  padding: 80px 0 80px var(--page-px); /* ← remove right padding */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 100%; /* ← full width */
  margin: 0 auto;
  overflow: hidden;
}

.section-ops__image-wrap {
  position: relative;
  width: 100%;
  height: 700px;
  border-radius: 30px 0 0 30px; /* ← only left corners rounded */
  overflow: hidden;
  margin-right: 0; /* flush right */
}
.section-ops__text {}
.section-ops__heading {
  font-size: 42px;
  line-height: 66px;
  letter-spacing: -0.22px;
  margin-bottom: 20px;
  max-width: 587px;
}
.section-ops__heading .normal { font-weight: 400; color: #4e4e4e; }
.section-ops__heading .italic-bold { font-weight: 600; font-style: italic; color: #272626; }
.section-ops__body {
  font-size: 28px;
  font-weight: 500;
  color: var(--color-muted);
  line-height: 48px;
  max-width: 598px;
  margin-bottom: 90px;
}

.section-ops__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section-ops__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(39,39,39,0.8) 0%, rgba(36,36,36,0) 62%);
}

/* Steps track — inside left col */
.op-steps-track {
  position: relative;
  height: 150px;
  overflow: hidden;
}

.op-step {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 25px;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.5s ease;
  pointer-events: none;
}

.op-step--active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.op-step--exit {
  transform: translateY(-100%);
  opacity: 0;
}

.op-step__img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Right image — flush to edge */
.section-ops__image-wrap {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 30px 0 0 30px;
  overflow: hidden;
}

.section-ops__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-ops__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(39,39,39,0.8) 0%, rgba(36,36,36,0) 62%);
}
.op-step__number { font-size: 20px; font-weight: 600; color: var(--color-orange); margin-bottom: 4px; }
.op-step__title { font-size: 26px; font-weight: 700; color: var(--color-heading); margin-bottom: 8px; }
.op-step__body { font-size: 18px; font-weight: 500; color: var(--color-muted); line-height: 24px; max-width: 429px; }

/* Tech tagline */
.tech-tagline {
  text-align: center;
  padding: 0px var(--page-px) 80px;
  font-size: 28px;
  font-weight: 500;
  color: var(--color-muted);
  line-height: 48px;
  max-width: calc(945px + var(--page-px)*2);
  margin: 0 auto;
}

/* ============================================
   MOBILE & TABLET OVERRIDES (Focusing on Track)
   ============================================ */
@media (max-width: 1024px) {
  /* Your existing section layout preferences kept exactly as requested */
  .section-ops { 
    grid-template-columns: 1fr; 
    padding: 40px 20px; 
    gap: 32px; 
  }
  .section-ops__heading { font-size: 28px; line-height: 42px; }
  .section-ops__body { font-size: 18px; line-height: 32px; }
  .section-ops__image-wrap { height: 300px; border-radius: 16px; }
  .tech-tagline { font-size: 18px; line-height: 32px; padding: 30px 20px; }

  /* ============================================
     MAX BOOST: IMAGE & CONTENT SIZES
     ============================================ */
  .op-steps-track {
    position: relative;
    height: 165px; /* Expanded height to safely hold larger text blocks */
    overflow: hidden;
    background: transparent !important;
  }

  .op-step {
    display: flex !important;
    flex-direction: row !important; 
    align-items: center !important; 
    gap: 24px !important; /* Wider spacing to match larger elements */
    
    padding: 0 !important; 
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
  }

  /* Maximum size for step illustration image */
  .op-step__img {
    width: 110px !important;   /* Max size to match your original graphic assets */
    height: 110px !important;  
    object-fit: contain !important;
    flex-shrink: 0 !important; 
    margin-right: 0 !important;
    margin-bottom: 0 !important;
  }

  .op-step__info {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* Highly visible typography scaling */
  .op-step__number { 
    font-size: 14px; 
    margin-bottom: 4px; 
  }
  
  .op-step__title { 
    font-size: 23px; /* Strong, bold header footprint */
    margin-bottom: 6px; 
    line-height: 1.25; 
  }
  
  .op-step__body { 
    font-size: 16px; /* Highly readable body copy scale */
    line-height: 23px; 
    max-width: 100%; 
  }
}

/* ============================================
   EXTRA SMALL MOBILE VIEW RESCALE (≤ 480px)
   ============================================ */
@media (max-width: 480px) {
  .op-steps-track {
    height: 155px; /* Adjusts slightly for narrow screen line-wraps */
  }
  .op-step {
    gap: 16px !important;
  }
  .op-step__img {
    width: 90px !important;  
    height: 90px !important;
  }
  .op-step__title { font-size: 20px; }
  .op-step__body  { font-size: 14px; line-height: 20px; }
}


/* ============================================
   SECTION: Industries Challenges
   ============================================ */
.section-industries-cta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  padding: 80px var(--page-px);
  max-width: calc(var(--container-max) + var(--page-px)*2);
  margin: 0 auto;
}
.section-industries-cta__heading {
  font-size: 44px;
  font-weight: 400;
  line-height: 66px;
  letter-spacing: -0.22px;
  color: #4e4e4e;
  max-width: 511px;
}
.section-industries-cta__heading .orange-italic {
  font-weight: 600;
  font-style: italic;
  color: var(--color-orange);
}
.section-industries-cta__right {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 551px;
}
.section-industries-cta__sub {
  font-size: 28px;
  font-weight: 500;
  color: var(--color-muted);
  line-height: 48px;
}

.industry-cards-section {
  padding: 0 var(--page-px) 40px;
  overflow: hidden;
  max-width: calc(var(--container-maxx) + var(--page-px)*5);
  margin: 0 0px 0 80px;
}

.industry-cards-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.industry-card {
  flex-shrink: 0;
  width: 440px;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

/* Image has padding inside card */
.industry-card__img-wrap {
  position: relative;
  margin: 12px 12px 0 12px; /* padding inside card */
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
}

.industry-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.industry-card:hover .industry-card__img {
  transform: scale(1.04);
}

.industry-card__img-overlay { display: none; }

.industry-card__body {
  padding: 16px 20px 22px;
}

.industry-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  letter-spacing: -0.1px;
}

/* Hover — white bg, title + text only, no button */
.industry-card__hover {
  position: absolute;
  inset: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 20px;
}

.industry-card:hover .industry-card__hover {
  opacity: 1;
}

.industry-card__hover-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.industry-card__hover-text {
  font-size: 14px;
  font-weight: 400;
  color: #666;
  line-height: 22px;
}

/* Dots */
.industry-dots {
  display: flex;
  gap: 8px;
  padding: 10px var(--page-px) 80px;
  max-width: calc(var(--container-max) + var(--page-px)*2);
  margin: 0 auto;
}

.industry-dot {
  height: 13px;
  border-radius: 10px;
  background: #d6d6d6;
  transition: all 0.3s;
  cursor: pointer;
}

.industry-dot--active {
  width: 50px;
  background: var(--color-orange);
}

.industry-dot--sm { width: 20px; }

/* ============================================
   INDUSTRY CARDS: RESPONSIVE LOOP FIX (CLEAN CARDS)
   ============================================ */
@media (max-width: 1024px) {
  .industry-cards-section {
    padding: 0 0 40px 80px !important;
    margin: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .industry-cards-track {
    display: flex !important;
    overflow: visible !important; 
    -webkit-overflow-scrolling: auto !important;
    scroll-snap-type: none !important; 
  }

  .industry-card {
    flex: 0 0 360px !important;
    width: 360px !important;
  }
}

@media (max-width: 767px) {
  .industry-cards-section {
    padding: 0 0 32px 24px !important; 
  }

  .industry-card {
    flex: 0 0 280px !important;
    width: 280px !important;
  }

  .industry-card__img-wrap {
    height: 160px !important;
    margin: 8px 8px 0 8px !important;
  }

  /* REMOVED force opacity: 1 -> Now it only shows content when tapped/active */
  .industry-card__hover {
    background: #ffffff !important;
    justify-content: center !important;
    padding: 20px !important;
    border-radius: 20px !important;
  }
  
  /* Triggers the hover overlay state smoothly upon mobile screen tap gestures */
  .industry-card:active .industry-card__hover,
  .industry-card:focus .industry-card__hover {
    opacity: 1 !important;
  }
  
  .industry-card__hover-title { font-size: 18px !important; margin-bottom: 4px !important; }
  .industry-card__hover-text { font-size: 13px !important; line-height: 18px !important; }

  .industry-dots {
    padding: 10px 24px 40px !important;
    justify-content: center !important;
  }
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  padding: 0 var(--page-px) 80px;
  max-width: calc(var(--container-max) + var(--page-px)*2);
  margin: 0 auto;
}
.cta-banner__inner {
  background: #f1f1f1;
  border-radius: var(--radius-card);
  padding: 80px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.cta-banner__title {
  font-size: 44px;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 36px;
  letter-spacing: -0.22px;
}
.cta-banner__body {
  font-size: 24px;
  font-weight: 400;
  color: var(--color-subtle);
  line-height: 36px;
  letter-spacing: -0.12px;
  max-width: 970px;
}

/* ============================================
       CTA BANNER — TABLET  (≤ 1024px)
       ============================================ */
    @media (max-width: 1024px) {
      :root {
        --page-px: 32px;
      }

      .cta-banner {
        padding: 0 var(--page-px) 60px;
      }

      .cta-banner__inner {
        padding: 60px 32px;
        gap: 20px;
        border-radius: 20px;
      }

      .cta-banner__title {
        font-size: 36px;
        line-height: 1.2;
      }

      .cta-banner__body {
        font-size: 20px;
        line-height: 32px;
        max-width: 680px;
      }
    }

    /* ============================================
       CTA BANNER — MOBILE  (≤ 767px)
       ============================================ */
    @media (max-width: 767px) {
      :root {
        --page-px: 20px;
      }

      .cta-banner {
        padding: 0 var(--page-px) 48px;
      }

      .cta-banner__inner {
        padding: 48px 24px;
        gap: 16px;
        border-radius: 16px;
      }

      .cta-banner__title {
        font-size: 28px;
        line-height: 1.25;
        letter-spacing: -0.14px;
      }

      .cta-banner__body {
        font-size: 16px;
        line-height: 26px;
        letter-spacing: -0.08px;
        max-width: 100%;
      }

      .btn-primary {
        font-size: 15px;
        padding: 13px 22px;
        width: 100%;
        justify-content: center;
      }
    }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-footer);
  padding: 60px var(--page-px) 110px; /* ← bottom padding replaces fixed height */
  overflow: hidden;
  width: 100%;
  max-width: 1440px;
  height: auto; /* ← remove fixed 400px */
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}

.footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1.2fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: none;
}

.footer__brand {}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer__logo-text {
  font-size: 24px;
  font-weight: 600;
  color: #262626;
  letter-spacing: 2.16px;
}

.footer__logo-img {
  width: 53px;
  height: 42px;
  object-fit: contain;
}

.footer__brand-desc {
  font-size: 16px;
  font-weight: 400;
  color: #262626;
  line-height: 30px;
  max-width: 90%;
  margin-bottom: 15px;
}

.footer__col-squiggle {
  display: block;
  width: 40px;
  height: auto;
  margin-bottom: 1px;
}

.footer__col-title::after { display: none; }

.footer__social {
  width: 35px;
  height: 35px;
  position: relative;
}

.footer__social img { width: 100%; }

.footer__col-title {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  margin-bottom: 10px;
  text-transform: capitalize;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.footer__link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-alt);
  font-size: 16px;
  color: #262626;
  text-decoration: none;
  text-transform: capitalize;
  cursor: pointer;
  transition: color 0.2s;
}

.footer__link:hover { color: var(--color-orange); }
.footer__link--active { color: var(--color-orange) !important; }

.footer__link-arrow { width: 13px; height: 12px; }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__contact-icon {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.footer__contact-text {
  font-family: var(--font-alt);
  font-size: 16px;
  color: #262626;
}

.footer__waves {
  position: absolute;
  bottom: 0;
  top: auto;
  left: 0;
  width: 100%;
  height: 80px;
  line-height: 0;
  pointer-events: none;
}

.footer__waves-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.footer__copy {
  position: absolute;
  bottom: 25px;
  left: 0;
  right: 0;
  text-align: center;
  white-space: nowrap;
  font-family: var(--font-alt);
  font-size: 13px;
  font-weight: 400;
  color: #262626;
  padding: 0;
  line-height: 1;
  z-index: 2;
}

/* ============================================
   TABLET LANDSCAPE (1025px – 1280px)
   ============================================ */
@media (max-width: 1280px) and (min-width: 1025px) {
  .footer {
    height: auto;
    padding: 50px 40px 100px;
  }

  .footer__waves {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
  }

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

  .footer__copy {
    bottom: 22px;
    font-size: 13px;
  }
}

/* ============================================
   TABLET (769px – 1024px)
   ============================================ */
@media (max-width: 1024px) and (min-width: 769px) {
  .footer {
    height: auto;
    padding: 48px 32px 100px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px 40px;
  }

  /* Brand — full row, stacked vertically like desktop */
  .footer__brand {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column; /* ← stack vertically not row */
    align-items: flex-start;
    gap: 0;
  }

  .footer__logo {
    margin-bottom: 16px;
  }

  .footer__brand-desc {
    max-width: 60%;
    margin-bottom: 16px;
  }

  .footer__social {
    align-self: flex-start;
  }

  .footer__waves {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75px;
  }

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

  .footer__copy {
    bottom: 20px;
    font-size: 12px;
  }
}

/* ============================================
   MOBILE (≤ 768px)
   ============================================ */
@media (max-width: 768px) {
  .footer {
    height: auto;
    padding: 40px 20px 90px;
    max-width: 100%;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 0;
  }

  .footer__brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer__logo { margin-bottom: 0; }
  .footer__logo-img { width: 40px; height: 32px; }

  .footer__brand-desc {
    font-size: 14px;
    line-height: 24px;
    max-width: 100%;
    margin-bottom: 8px;
  }

  .footer__col-title { font-size: 14px; }
  .footer__links { gap: 10px; }
  .footer__link { font-size: 13px; }
  .footer__contact-text { font-size: 13px; }
  .footer__contact-icon { width: 18px; height: 18px; }

  .footer__waves {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
  }

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

  .footer__copy {
    bottom: 16px;
    font-size: 11px;
  }
}

/* ============================================
   SMALL MOBILE (≤ 480px)
   ============================================ */
@media (max-width: 480px) {
  .footer {
    padding: 32px 16px 80px;
  }

  .footer__inner { gap: 24px; }

  .footer__brand-desc,
  .footer__link,
  .footer__contact-text { font-size: 12px; }

  .footer__waves {
    left: 0;
    width: 100%;
    height: 55px;
  }

  .footer__copy {
    bottom: 13px;
    font-size: 10px;
  }
}

/* ============================================
   375px
   ============================================ */
@media (max-width: 375px) {
  .footer {
    padding: 28px 14px 75px;
  }

  .footer__inner { gap: 20px; }

  .footer__logo-img { width: 36px; height: 29px; }

  .footer__brand-desc,
  .footer__link,
  .footer__contact-text { font-size: 12px; }

  .footer__col-title { font-size: 13px; }

  .footer__waves {
    left: 0;
    width: 100%;
    height: 50px;
  }

  .footer__copy {
    bottom: 12px;
    font-size: 10px;
  }
}

/* ============================================
   INDUSTRIES PAGE SPECIFIC
   ============================================ */
.industry-nav-section {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  padding: 0 var(--page-px);
  height: 624px;
  display: flex;
  align-items: stretch;
}
.industry-nav-section__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 392px 1px 1fr;
  gap: 0;
  width: 100%;
}
.industry-sidebar {
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.industry-sidebar__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.industry-sidebar__item:hover { background: #f8f8f8; }
.industry-sidebar__item--active { background: #f8f8f8; }
.industry-sidebar__label {
  font-size: 24px;
  font-weight: 500;
  color: #636363;
  text-transform: capitalize;
  transition: color 0.2s;
}
.industry-sidebar__item--active .industry-sidebar__label { color: var(--color-orange); }
.industry-sidebar__arrow {
  width: 28px;
  height: 28px;
  transform: rotate(-90deg) scaleY(-1);
  filter: brightness(0) saturate(100%) invert(50%);
  transition: filter 0.2s;
}
.industry-sidebar__item--active .industry-sidebar__arrow {
  filter: brightness(0) saturate(100%) invert(50%) sepia(1) saturate(5) hue-rotate(0deg);
}
.industry-divider {
  width: 1px;
  background: var(--border-light);
  margin: 40px 0;
}
.industry-detail {
  padding: 40px 40px;
}
.industry-detail__tag {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-orange);
  letter-spacing: -0.14px;
  margin-bottom: 8px;
  text-transform: capitalize;
}
.industry-detail__desc {
  font-size: 16px;
  font-weight: 400;
  color: #414141;
  line-height: 23px;
  letter-spacing: -0.08px;
  margin-bottom: 40px;
}
.industry-detail__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}
.industry-detail__sub {}
.industry-detail__sub-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 8px;
}
.industry-detail__sub-body {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-muted);
  line-height: 24px;
}
.industry-detail__sub + .industry-detail__sub { border-left: 1px solid #ebebeb; padding-left: 16px; }
.industry-detail__sub:nth-child(3n+1) { border-left: none; padding-left: 0; }
.industry-detail__sub:nth-child(n+4) { padding-top: 16px; border-top: 1px solid #ebebeb; border-left: none; }
.industry-detail__sub:nth-child(n+4):not(:nth-child(3n+1)) { padding-left: 16px; border-left: 1px solid #ebebeb; }

/* Comparison cards */
.comparison-section {
  padding: 80px var(--page-px);
  max-width: calc(var(--container-max) + var(--page-px)*2);
  margin: 0 auto;
}
.comparison-section__intro {
  display: flex;
  gap: 60px;
  margin-bottom: 60px;
  align-items: flex-start;
}
.comparison-section__heading {
  font-size: 44px;
  font-weight: 600;
  line-height: 64px;
  max-width: 439px;
}
.comparison-section__heading .red-italic { font-style: italic; color: #fc3e3a; }
.comparison-section__sub {
  font-size: 22px;
  font-weight: 500;
  color: var(--color-muted);
  line-height: 38px;
  max-width: 439px;
}
.comparison-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 682px;
  margin-left: auto;
}
.comparison-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.comparison-card--averonex {
  border-color: var(--color-orange-dark);
  box-shadow: 0 0 11px 6px rgba(236,236,236,0.25);
}
.comparison-card__header {
  padding: 18px;
  text-align: center;
  border-radius: 20px 20px 0 0;
  background: #f7f7f7;
}
.comparison-card--averonex .comparison-card__header { background: #fff; }
.comparison-card__header-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-primary);
}
.comparison-card--averonex .comparison-card__header-title {
  color: var(--color-orange-dark);
  letter-spacing: 2.64px;
}
.comparison-card__list {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.comparison-card__item {
  font-size: 17px;
  font-weight: 500;
  color: #434342;
  text-align: center;
  padding: 4px 20px;
  position: relative;
}
.comparison-card--averonex .comparison-card__item { color: var(--color-primary); }
.comparison-card__item + .comparison-card__item {
  border-top: 1px solid #e0e0e0;
  padding-top: 16px;
}

/* Why Averonex dark section */
.why-averonex {
  background: #161616;
  padding: 60px var(--page-px);
}
.why-averonex__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}
.why-averonex__label {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  text-align: right;
  letter-spacing: -0.2px;
  margin-bottom: 16px;
  opacity: 0.85;
}
.why-averonex__title {
  font-size: 60px;
  font-weight: 400;
  color: #fff;
  line-height: normal;
  letter-spacing: -0.3px;
  margin-bottom: 24px;
  max-width: 1281px;
}
.why-averonex__body {
  font-size: 24px;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  line-height: 36px;
  letter-spacing: -0.12px;
  max-width: 1238px;
}

/* ============================================
   WHO WE ARE PAGE SPECIFIC
   ============================================ */
.who-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px var(--page-px);
  overflow: hidden;
}
.who-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(253,187,131,0.7) 0%, rgba(255,122,11,0.15) 30%, rgba(251,251,251,1) 70%);
}
.who-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 1174px;
}
.who-hero__tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 35px;
  border: 1px solid #000;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  color: #000;
}
.who-hero__title {
  font-size: 40px;
  font-weight: 600;
  color: #000;
  line-height: 50px;
  text-align: center;
}
.who-hero__title .orange-italic { font-style: italic; color: var(--color-orange); }
.who-hero__subtitle {
  font-size: 22px;
  font-weight: 600;
  color: #787878;
  line-height: 35px;
  text-align: center;
  max-width: 1062px;
}

/* Vision/Mission cards */
.vm-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 60px var(--page-px);
  max-width: calc(var(--container-max) + var(--page-px)*2);
  margin: 0 auto;
}
.vm-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  min-height: 472px;
}
.vm-card__header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vm-card__title {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
}
.vm-card__body { padding: 30px 40px; }
.vm-card__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.vm-card__item {
  font-size: 18px;
  font-weight: 600;
  color: #595958;
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}
.vm-card__item:last-child { border-bottom: none; padding-bottom: 0; }

/* Leadership section */
.leadership-section {
  background: #f3f3f3;
  border-radius: var(--radius-card);
  padding: 48px 48px;
  margin: 0 var(--page-px) 80px;   /* keeps side gaps */
  width: auto;                      /* ← remove any forced full width */
}
.leadership-section__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1px 1.2fr; /* ← right col gets more space */
  gap: 0;
}
.leadership-left {}
.leadership-left__label {
  font-size: 44px;
  line-height: 66px;
  margin-bottom: 16px;
}
.leadership-left__label .normal { font-weight: 400; color: #6c6c6c; }
.leadership-left__label .gradient-text {
  font-weight: 600;
  background: linear-gradient(90deg, #191816, #fa6a05 74%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1.98px;
  text-transform: uppercase;
}
.leadership-left__body {
  font-size: 21px;
  font-weight: 500;
  color: var(--color-muted);
  line-height: 36px;
  max-width: 550px;
  margin-bottom: 70px;
}
.leadership-quote {
  font-size: 24px;
  font-style: italic;
  font-weight: 500;
  color: #7e7e7e;
  line-height: 40px;
  letter-spacing: -0.12px;
  max-width: 460px;
}
.leadership-divider { width: 1px; background: #505050; margin: 0 30px; }
.leadership-right {}
.leadership-right__name {
  font-size: 40px;
  font-weight: 600;
  color: #362f2a;
  line-height: 36px;
  letter-spacing: -0.2px;
  margin-bottom: 10px;
}
.leadership-right__role {
  font-size: 22px;
  font-weight: 400;
  color: #000;
  letter-spacing: -0.11px;
  margin-bottom: 32px;
}
.leadership-right__body {
  font-size: 21px;
  font-weight: 500;
  color: #474747;
  line-height: 35px;
  margin-bottom: 24px;
}

/* ── TABLET (769px – 1100px) ── */
@media (max-width: 1100px) and (min-width: 769px) {

  .leadership-section {
    padding: 40px 32px;
    margin: 0 var(--page-px) 60px;
  }

  .leadership-section__inner {
    grid-template-columns: 1fr 1px 1fr;
  }

  /* LEFT */
  .leadership-left__label {
    font-size: 32px;
    line-height: 48px;
    margin-bottom: 12px;
  }
  .leadership-left__body {
    font-size: 17px;
    line-height: 30px;
    margin-bottom: 40px;
    max-width: 100%;
  }
  .leadership-quote {
    font-size: 18px;
    line-height: 32px;
    max-width: 100%;
  }

  /* DIVIDER */
  .leadership-divider {
    margin: 0 20px;
  }

  /* RIGHT */
  .leadership-right {
    padding-left: 20px !important;
  }
  .leadership-right__name {
    font-size: 30px;
    line-height: 38px;
    margin-bottom: 8px;
  }
  .leadership-right__role {
    font-size: 17px;
    margin-bottom: 22px;
  }
  .leadership-right__body {
    font-size: 15px;
    line-height: 27px;
    margin-bottom: 16px;
  }
}

/* ── MOBILE (≤ 768px) ── */
@media (max-width: 768px) {

  .leadership-section {
    padding: 32px 20px;
    margin: 0 16px 48px;
    border-radius: 12px;
  }

  /* Stack columns vertically, hide divider */
  .leadership-section__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .leadership-divider {
    display: none;
  }

  /* LEFT */
  .leadership-left__label {
    font-size: 26px;
    line-height: 38px;
    margin-bottom: 12px;
  }
  .leadership-left__body {
    font-size: 15px;
    line-height: 26px;
    margin-bottom: 24px;
    max-width: 100%;
  }
  .leadership-quote {
    font-size: 16px;
    line-height: 28px;
    max-width: 100%;
  }

  /* RIGHT */
  .leadership-right {
    padding-left: 0 !important;
    padding-top: 24px;
    border-top: 1px solid #d0d0d0;  /* replaces hidden vertical divider */
  }
  .leadership-right__name {
    font-size: 24px;
    line-height: 30px;
    letter-spacing: -0.1px;
    margin-bottom: 6px;
  }
  .leadership-right__role {
    font-size: 15px;
    margin-bottom: 18px;
  }
  .leadership-right__body {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 14px;
  }
}



/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Large tablet: 1024px */
@media (max-width: 1100px) {
  :root { --page-px: 40px; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-nav-section { height: auto; }
  .industry-nav-section__inner { grid-template-columns: 1fr; }
  .industry-divider { display: none; }
  .comparison-cards { max-width: 100%; }
  .vm-cards { grid-template-columns: 1fr; }
}

/* Mobile: 768px */
@media (max-width: 768px) {
  :root { --page-px: 20px; }

  .navbar { padding: 0 20px; }
  .navbar__links { display: none; flex-direction: column; gap: 20px; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--bg-nav); padding: 20px; border-bottom: 1px solid var(--border-nav); z-index: 99; }
  .navbar__links--open { display: flex; }
  .navbar__toggle { display: flex; }


  .section-complexity { padding: 40px 20px; }
  .section-complexity__heading { font-size: 28px; line-height: 42px; }
  .section-complexity__body { font-size: 16px; line-height: 28px; }

  .problem-grid { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .problem-card { min-height: auto; }

  .section-ops { grid-template-columns: 1fr; padding: 40px 20px; gap: 32px; }
  .section-ops__heading { font-size: 28px; line-height: 42px; }
  .section-ops__body { font-size: 18px; line-height: 32px; }
  .section-ops__image-wrap { height: 300px; border-radius: 16px; }
  .op-step { flex-direction: column; align-items: flex-start; padding: 20px; }
  .tech-tagline { font-size: 18px; line-height: 32px; padding: 30px 20px; }

  .section-industries-cta { flex-direction: column; gap: 30px; padding: 40px 20px; }
  .section-industries-cta__heading { font-size: 28px; line-height: 42px; }
  .section-industries-cta__sub { font-size: 18px; line-height: 32px; }

  .industry-card { width: 280px; }
  .industry-cards-section { padding: 0 20px 30px; }


  /* Industries page mobile */
  .industry-nav-section { padding: 0 20px; height: auto; }
  .industry-nav-section__inner { grid-template-columns: 1fr; }
  .industry-sidebar { padding: 20px 0; }
  .industry-detail { padding: 20px; }
  .industry-detail__grid { grid-template-columns: 1fr; }
  .industry-detail__sub + .industry-detail__sub { border-left: none; border-top: 1px solid #ebebeb; padding-left: 0; padding-top: 16px; }
  .comparison-section { padding: 40px 20px; }
  .comparison-cards { grid-template-columns: 1fr; }
  .comparison-section__intro { flex-direction: column; }
  .why-averonex { padding: 40px 20px; }
  .why-averonex__title { font-size: 32px; }
  .why-averonex__body { font-size: 16px; }

  /* Who we are mobile */
  .who-hero { padding: 60px 20px; min-height: 400px; }
  .who-hero__title { font-size: 28px; line-height: 38px; }
  .who-hero__subtitle { font-size: 16px; line-height: 28px; }
  .vm-cards { padding: 30px 20px; gap: 20px; }
  .vm-card__body { padding: 20px; }
}

/* Smooth scrolling & animations */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-up.visible { opacity: 1; transform: translateY(0); }
}