/* ------------------------------------------------------------------
   THEME VARIABLES
   ------------------------------------------------------------------ */
   :root {
    --color-primary: #0f172a;
    --color-primary-light: #475569;
    --color-blue-brand: #0066FF;
    
    --grad-yellow: #FDE68A;
    --grad-pink: #FBCFE8;
    --grad-blue: #BAE6FD;
    --bg-body: #ffffff;
    --bg-surface: #F8FAFC;

      /* Brand tints based on #003057 and #f3d03e */
  --grad-brand-blue-soft: rgba(0, 48, 87, 0.20);  /* #003057 */
  --grad-brand-blue-strong: rgba(0, 48, 87, 0.35);

  --grad-brand-yellow-soft: rgba(243, 208, 62, 0.20); /* #f3d03e */
  --grad-brand-yellow-strong: rgba(243, 208, 62, 0.35);
    
    --shell-width: 1120px;
    --header-height: 80px;

    /* Z-Index Scale */
    --z-back: -1;
    --z-normal: 1;
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
    --z-overlay: 2000;
  }
  
  *, *::before, *::after { box-sizing: border-box; }
  
  body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background-color: var(--bg-body);
    color: var(--color-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  button { font-family: inherit; }
  html { scroll-behavior: smooth; }
  a { text-decoration: none; color: inherit; }

  .shell {
    max-width: var(--shell-width);
    margin: 0 auto;
    padding: 0 24px;
  }

  .shell-wide {
    width: 100%; 
    max-width: 1920px; 
    margin: 0 auto;
    padding: 0 40px; 
}
  
/* ------------------------------------------------------------------
   FLOATING GLASS HEADER
   ------------------------------------------------------------------ */
   .site-header {
    position: fixed;
    top: 20px; 
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1240px; 
    z-index: var(--z-fixed);
    background: rgba(255, 255, 255, 0.05); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 16px; 
    padding: 12px 24px; 
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .site-header.scrolled {
    background: rgba(255, 255, 255, 0.65); 
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    padding: 10px 24px; 
  }
  
  .header-inner { display: flex; align-items: center; justify-content: space-between; height: 50px; }
  .logo { display: inline-flex; align-items: center; z-index: var(--z-tooltip); position: relative; }
  .logo img { display: block; max-height: 38px; width: auto; }
  
  .main-nav {
    display: flex; align-items: center; gap: 4px; background: #F1F5F9; 
    padding: 5px; border-radius: 999px; list-style: none; margin: 0;
    border: 1px solid rgba(255,255,255,0.5);
  }
  
  .nav-link {
    color: var(--color-primary-light); font-weight: 500; font-size: 0.9rem;
    padding: 8px 24px; border-radius: 999px; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  .nav-link:hover, .nav-link.active {
    background: #ffffff; color: var(--color-primary); font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  
  .header-right { display: flex; align-items: center; gap: 16px; }
  .btn { border-radius: 999px; padding: 12px 28px; border: none; cursor: pointer; font-size: 0.95rem; font-weight: 600; transition: all 0.2s ease; }
  .btn-pill { background: var(--color-blue-brand); color: #fff; display: inline-block; }
  .btn-pill:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2); }

/* ------------------------------------------------------------------
   MOBILE MENU
   ------------------------------------------------------------------ */
  .mobile-toggle {
      display: none; flex-direction: column; justify-content: center; gap: 6px;
      width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; z-index: var(--z-overlay); 
  }
  .bar { width: 24px; height: 2px; background: var(--color-primary); transition: 0.3s; margin: 0 auto; }
  .mobile-toggle[aria-expanded="true"] .top { transform: rotate(45deg) translate(5px, 6px); }
  .mobile-toggle[aria-expanded="true"] .mid { opacity: 0; }
  .mobile-toggle[aria-expanded="true"] .bot { transform: rotate(-45deg) translate(5px, -6px); }

  .mobile-menu-overlay {
      position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: #fff;
      z-index: var(--z-modal); display: flex; align-items: center; justify-content: center;
      opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  }
  .mobile-menu-overlay.active { opacity: 1; pointer-events: all; }
  .mobile-menu-inner { display: flex; flex-direction: column; align-items: center; gap: 32px; }
  .mobile-link { font-size: 1.8rem; font-weight: 800; color: var(--color-primary); transition: color 0.2s; }
  .mobile-link:hover { color: var(--color-blue-brand); }
  
/* ------------------------------------------------------------------
   HERO
   ------------------------------------------------------------------ */
     .hero-section {
        position: relative; width: 100%; min-height: 100vh; padding-top: 180px; 
        background: #ffffff; overflow: hidden; display: flex; align-items: center; justify-content: center;
        border-bottom: 1px solid #e2e8f0;
      }
      .hero-section::after {
        content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 30%; 
        background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 100%);
        z-index: var(--z-normal); pointer-events: none; 
      }
  
  .hero-blobs { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: hidden; pointer-events: none; }
  .blob {
      position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.8;
      transform: translate3d(var(--mouse-x, 0), var(--mouse-y, 0), 0);
      animation: float 10s ease-in-out infinite alternate; will-change: transform; 
  }
  .hero-blob-1 { top: -10%; left: -10%; width: 50%; height: 70%; background: var(--grad-yellow); animation-delay: 0s; }
  .hero-blob-2 { top: 10%; right: -10%; width: 60%; height: 80%; background: var(--grad-pink); animation-delay: -3s; }
  .hero-blob-3 { bottom: -20%; left: 30%; width: 50%; height: 60%; background: var(--grad-blue); animation-delay: -6s; }
  @keyframes float { 0% { transform: scale(1); } 100% { transform: scale(1.05); } }
  
  .hero-inner { position: relative; z-index: 2; text-align: center; width: 100%; max-width: 900px; padding: 0 24px; margin-top: -40px; }
  .hero-title { margin: 0 auto 32px; font-size: clamp(3.5rem, 7vw, 5.5rem); line-height: 1.05; letter-spacing: -0.04em; color: var(--color-primary); font-weight: 800; }
  .hero-highlight { background: -webkit-linear-gradient(0deg, var(--color-blue-brand), #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }
  .hero-subtitle { margin: 0 auto 48px; max-width: 680px; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.6; color: var(--color-primary-light); font-weight: 500; }
  .hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 80px; }
  
  .btn-hero-primary {
    position: relative; overflow: hidden; background: var(--color-blue-brand); color: #fff;
    padding: 18px 42px; font-size: 1.1rem; border-radius: 99px; box-shadow: 0 10px 25px rgba(0, 102, 255, 0.25);
    border: none; cursor: pointer; font-weight: 600; transition: transform 0.2s, box-shadow 0.2s;
  }
  .btn-hero-primary::before {
      content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
      background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
      transform: skewX(-20deg); animation: shimmer 3s infinite;
  }
  @keyframes shimmer { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }
  .btn-hero-primary:hover { background: #005ce6; transform: translateY(-2px); box-shadow: 0 15px 35px rgba(0, 102, 255, 0.35); }
  
  .btn-hero-secondary {
    background: rgba(255,255,255,0.7); color: var(--color-primary); padding: 18px 42px;
    font-size: 1.1rem; border-radius: 99px; border: 1px solid rgba(0,0,0,0.05); backdrop-filter: blur(10px);
    cursor: pointer; font-weight: 600; transition: all 0.2s;
  }
  .btn-hero-secondary:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,0.05); }

/* ------------------------------------------------------------------
   LOGO MARQUEE
   ------------------------------------------------------------------ */
   .logo-marquee-container { 
      width: 100%; max-width: 900px; margin: 0 auto; overflow: hidden; position: relative; 
      mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent); 
      -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent); 
    }
   .marquee-track { display: flex; align-items: center; gap: 80px; width: max-content; animation: scroll 40s linear infinite; }
   .marquee-logo { height: 48px; width: auto; object-fit: contain; filter: grayscale(100%) opacity(0.5); transition: all 0.3s; }
   .marquee-logo:hover { filter: grayscale(0%) opacity(1); transform: scale(1.05); }
   @keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 40px)); } }
   
   .hero-trusted-label { 
       display: flex; align-items: center; justify-content: center; gap: 24px; 
       margin: 80px auto 40px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; 
       color: #94a3b8; font-weight: 600; opacity: 0.5; white-space: nowrap; 
    }
   .hero-trusted-label::before, .hero-trusted-label::after { content: ""; height: 1px; background-color: #e2e8f0; flex: 1; opacity: 0.5; }

/* ------------------------------------------------------------------
   SECTIONS GENERAL
   ------------------------------------------------------------------ */
  .section-pad { padding: 120px 0; background: #fff; border-bottom: 1px solid #e2e8f0; }
  .section-header { text-align: left; margin-bottom: 60px; }
  .overline { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--color-blue-brand); font-weight: 700; margin-bottom: 16px; display: block; }
  .section-title { font-size: 2.8rem; color: var(--color-primary); font-weight: 800; letter-spacing: -0.03em; }

/* ------------------------------------------------------------------
   REPLICA BENTO GRID (Updated with Outer Card)
   ------------------------------------------------------------------ */

/* Outer Wrapper for the Bento Grid */
.bento-outer-card {
    background: #ffffff;
    padding: 24px; 
    border-radius: 40px; 
    border: 1px solid #cbd5e1; 
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05);
}

.bento-grid.replica-grid {
    display: grid;
    /* Grid: 1.2fr (Left) | 1fr (Middle) | 1fr (Right) */
    grid-template-columns: 1.2fr 1fr 1fr;
    /* Rows match the visual proportions roughly */
    grid-template-rows: 240px 240px 140px; 
    gap: 24px;
    width: 100%;
}

/* Base Card Style */
.bento-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    padding: 32px;
    display: flex;
    flex-direction: column;
    
    /* UPDATED: Added visible borders as requested */
    border: 1px solid #e2e8f0; 
    
    box-shadow: 0 4px 12px rgba(0,0,0,0.02); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
    z-index: 2;
}

/* Gradients */
.card-pink {
    grid-row: span 3;
    background: radial-gradient(circle at 100% 100%, #ffe4e6 0%, #ffffff 60%);
}
.card-blue-light {
    background: radial-gradient(circle at 100% 100%, #dbeafe 0%, #ffffff 60%);
}
.card-blue-grad {
    background: radial-gradient(circle at 100% 100%, #bfdbfe 0%, #ffffff 70%);
}

/* Tall hero card – bias towards deep blue with a touch of yellow */
.card-pink2 {
    grid-row: span 3;
    background:
      radial-gradient(circle at 100% 0%, var(--grad-brand-yellow-soft) 0%, transparent 60%),
      radial-gradient(circle at 0% 100%, var(--grad-brand-blue-strong) 0%, transparent 70%),
      #ffffff;
  }

  

.card-blue-grad::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(#e2e8f0 1px, transparent 1px), linear-gradient(90deg, #e2e8f0 1px, transparent 1px);
    background-size: 20px 20px; opacity: 0.15; pointer-events: none;
}
.card-white { background: #ffffff; }

/* Typography */
.bento-stat-large {
    font-size: 5.5rem; font-weight: 500; color: #0f172a; line-height: 1; margin: 0; letter-spacing: -0.04em;
}
.bento-stat-medium {
    font-size: 4rem; font-weight: 500; color: #0f172a; line-height: 1; margin: 0; letter-spacing: -0.04em;
}
.bento-title-sm {
    font-size: 1.1rem; font-weight: 600; color: #0f172a; line-height: 1.4; margin: 0 0 8px 0;
}
.bento-desc-sm {
    font-size: 0.95rem; color: #64748b; line-height: 1.5; margin: 0;
}

/* Utilities */
.bento-bottom-text { margin-top: auto; }
.mt-auto { margin-top: auto; }
.mt-2 { margin-top: 8px; }
.flex-between { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; }
.flex-row-center {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* or center */
    gap: 32px; /* clean spacing */
  }  
.span-col-2 { grid-column: span 2; }

/* Icons & Flags */
.icon-group { display: flex; padding-left: 10px; }
.icon-circle { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; }
.icon-purple { background: #003057; }
.icon-black { background: #000; }
.icon-blue { background: #f3d03e; }
.flag-group { display: flex; gap: 12px; font-size: 2rem; line-height: 1; }

/* ------------------------------------------------------------------
   COLOR CHIP PROCESS CARDS
   ------------------------------------------------------------------ */
.chip-carousel-track {
    display: flex; gap: 24px; overflow-x: auto; padding: 24px 4px 60px; scroll-behavior: smooth;
    -ms-overflow-style: none; scrollbar-width: none;
}
.chip-carousel-track::-webkit-scrollbar { display: none; }
.chip-carousel-track .chip-card {
    width: calc((100% - 72px) / 4); min-width: 280px; flex-shrink: 0; height: auto; min-height: 540px; 
    display: flex; flex-direction: column;
}
.chip-card {
    background: #ffffff; padding: 16px; border-radius: 4px; border: 1px solid #000000; 
    transition: transform 0.4s ease, box-shadow 0.4s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.chip-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.chip-bg { width: 100%; height: 260px; flex-shrink: 0; border-radius: 0; }
.chip-bg.v1 { background: linear-gradient(135deg, var(--grad-yellow) 0%, #fefce8 100%); }
.chip-bg.v2 { background: linear-gradient(135deg, var(--grad-blue) 0%, #f0f9ff 100%); }
.chip-bg.v3 { background: linear-gradient(135deg, var(--grad-pink) 0%, #fdf2f8 100%); }
.chip-content { 
    flex-grow: 1; padding: 24px 8px 8px; border-top: 1px solid #e2e8f0; 
    display: flex; flex-direction: column; justify-content: flex-start;
}
.chip-step { font-size: 3rem; font-weight: 900; color: var(--color-primary); line-height: 1; margin-bottom: 8px; display: block; }
.chip-title { font-size: 1.25rem; font-weight: 800; text-transform: uppercase; margin-bottom: auto; color: var(--color-primary); }
.chip-text { font-size: 0.9rem; line-height: 1.5; color: var(--color-primary-light); margin-top: 24px; margin-bottom: 0; }

.carousel-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid #e2e8f0; }
.carousel-title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; color: var(--color-primary); letter-spacing: -0.04em; line-height: 1; margin: 0; }
.carousel-count { font-size: 1.2rem; vertical-align: super; color: var(--color-primary-light); font-weight: 500; margin-left: 8px; }
.carousel-nav { display: flex; gap: 12px; }
.nav-arrow { width: 56px; height: 56px; border-radius: 50%; border: 1px solid #e2e8f0; background: var(--color-blue-brand); display: flex; align-items: center; justify-content: center; cursor: pointer; color: #fff; transition: all 0.2s ease; }
.nav-arrow:hover { background: var(--color-primary); border-color: var(--color-primary); }

/* ------------------------------------------------------------------
   IMPACT / STATS SECTION
   ------------------------------------------------------------------ */
   .impact-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
   .impact-visual {
      width: 100%; height: 320px; background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
      border-radius: 32px; margin-bottom: 50px; position: relative; overflow: hidden; border: 1px solid #e2e8f0;
   }
   .impact-blob {
      position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60%; height: 150%;
      background: radial-gradient(circle, var(--grad-blue) 0%, rgba(255,255,255,0) 70%);
      filter: blur(60px); opacity: 0.8; animation: pulseSlow 8s infinite alternate;
   }
   @keyframes pulseSlow { 0% { transform: translate(-50%, -50%) scale(1); } 100% { transform: translate(-50%, -50%) scale(1.2); } }
   
   .impact-bottom-grid { display: grid; grid-template-columns: 1.5fr 1.5fr 1fr 1fr; gap: 40px; align-items: start; }
   .impact-text.reveal-text { font-size: 1.15rem; font-weight: 500; line-height: 1.6; color: #cbd5e1; margin: 0; }
   .impact-text.reveal-text span.active { color: var(--color-primary); }
   .stat-col { padding-left: 20px; border-left: 1px solid #e2e8f0; }
   .stat-number-lg { font-size: 3.5rem; font-weight: 700; color: var(--color-blue-brand); line-height: 1; margin-bottom: 8px; letter-spacing: -0.03em; font-feature-settings: "tnum"; }
   .stat-label-lg { font-size: 0.9rem; color: var(--color-primary-light); font-weight: 500; }

/* ------------------------------------------------------------------
   FAQ SECTION – Card Grid Style
   ------------------------------------------------------------------ */

   #faq.section-pad {
    border-bottom: none;
  }
  
  #faq .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
  }
  
  .serif-italic {
    font-family: "Playfair Display", Georgia, serif;
    font-style: italic;
    font-weight: 400;
    color: var(--color-primary-light);
  }
  
  /* Grid layout for cards */
  .faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
  
  /* Card shell */
  .faq-card {
    position: relative;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease,
      background 0.25s ease;
    cursor: pointer;
  }
  
  .faq-card-inner {
    position: relative;
    padding: 32px 32px 40px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
  }
  
  /* Question text */
  .faq-card-question {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #020617;
  }
  
  /* Answer text (hidden by default) */
  .faq-card-answer {
    margin: 16px 0 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6b7280;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }
  
  /* Toggle button (the circular + icon) */
  .faq-card-toggle {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: none;
    background: #0f172a;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  }
  
  .faq-card-toggle:focus-visible {
    outline: 2px solid var(--color-blue-brand);
    outline-offset: 2px;
  }
  
  /* Plus / X icon built from two bars */
  .faq-toggle-icon {
    position: relative;
    width: 14px;
    height: 14px;
  }
  
  .faq-toggle-icon::before,
  .faq-toggle-icon::after {
    content: "";
    position: absolute;
    inset: 50%;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    transform-origin: center;
    transition: transform 0.2s ease;
  }
  
  /* Vertical bar of the plus */
  .faq-toggle-icon::before {
    transform: translate(-50%, -50%) rotate(90deg);
  }
  
  /* Horizontal bar of the plus */
  .faq-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  
  /* Hover / active states */
  .faq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    border-color: #d1d5db;
  }
  
  /* OPEN STATE
     Add .is-open via JS on the .faq-card
  */
/* Change toggle button to brand blue when open */
.faq-card.is-open .faq-card-toggle {
    background: var(--color-blue-brand);
    box-shadow: 0 10px 24px rgba(0, 102, 255, 0.35);
  }
  
  
  .faq-card.is-open .faq-card-answer {
    max-height: 200px; /* enough for a few lines of copy */
    opacity: 1;
  }
  
  /* Plus turns into X */
  .faq-card.is-open .faq-toggle-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  
  .faq-card.is-open .faq-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  
  /* Responsive */
  @media (max-width: 1024px) {
    .faq-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  
  @media (max-width: 640px) {
    .faq-grid {
      grid-template-columns: 1fr;
    }
  
    .faq-card-inner {
      padding: 24px 24px 40px;
    }
  
    .faq-card-toggle {
      right: 18px;
      bottom: 18px;
    }
  }
  #faq {
    padding-left: 56px;
    padding-right: 56px;
  }
    
/* -------------------------------
   CTA Section – MonoAI Style
   ------------------------------- */

   .cta-section {
    padding: 120px 0 140px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
  }
  
  .cta-section .shell {
    max-width: 1120px;
  }
  
  .cta-card {
    position: relative;
    padding: 90px 40px;
    border-radius: 48px;
    text-align: center;
    overflow: hidden;
  
    background: radial-gradient(
          circle at 10% 20%,
          rgba(187, 213, 255, 0.45) 0%,
          transparent 70%
        ),
        radial-gradient(
          circle at 90% 20%,
          rgba(255, 189, 222, 0.45) 0%,
          transparent 70%
        ),
        radial-gradient(
          circle at 50% 100%,
          rgba(180, 227, 255, 0.45) 0%,
          transparent 75%
        ),
        #ffffff;
  
    border: 1px solid rgba(255, 255, 255, 0.7);
  
    box-shadow:
        0 40px 120px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255,255,255,0.4) inset;
  }
  
  .cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255,255,255,0.9);
    pointer-events: none;
    z-index: 2;
  }
  

  
  /* Heading + body copy */
  
  .cta-heading {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
  }
  
  
  .cta-text {
    margin: 0 0 40px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.6;
    color: #6b7280;
  }
  
  /* Input + button pill */
  
  .cta-actions {
    margin-top: 32px;
  }
  
  .cta-button {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 999px;
    background: var(--color-blue-brand);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 16px 35px rgba(37, 99, 235, 0.35);
    transition: all 0.2s ease;
  }
  
  .cta-button:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.45);
  }
  
  
  /* Responsive adjustments */
  
  @media (max-width: 768px) {
    .cta-card {
      padding: 56px 20px;
      border-radius: 32px;
    }
  
    .cta-input-shell {
      flex-direction: column;
      align-items: stretch;
      box-shadow: 0 18px 35px rgba(15, 23, 42, 0.18);
    }
  
    .cta-submit {
      width: 100%;
      justify-content: center;
    }
  }
  

/* ------------------------------------------------------------------
   PRODUCT PAGE & CATALOG STYLES (RESTORED)
   ------------------------------------------------------------------ */

.page-hero {
    position: relative;
    width: 100%;
    padding: 160px 0 80px; 
    background: #ffffff; 
    overflow: hidden;
    text-align: center;
}

.section-products {
    padding: 0 0 120px;
    background: #fff;
}

.product-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    color: var(--color-primary-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-line {
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 24px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    min-height: 480px; 
    position: relative;
    overflow: hidden;
    /* Default hidden state for JS filtering logic */
    display: none; 
}

/* Logic state */
.product-card.show {
    display: flex; 
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px -10px rgba(0, 102, 255, 0.1);
    border-color: var(--color-blue-brand);
}

.product-image {
    height: 180px;
    background: #f8fafc;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image img {
    max-height: 140px;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
    mix-blend-mode: multiply; 
}

.product-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 12px;
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
}

.spec-list li {
    font-size: 0.85rem;
    color: var(--color-primary-light);
    line-height: 1.6;
    padding-left: 14px;
    position: relative;
    margin-bottom: 6px;
}

.spec-list li::before {
    content: "•";
    color: var(--color-blue-brand);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.btn-sm {
    padding: 12px 24px;
    font-size: 0.9rem;
    width: 100%; 
    background: #f1f5f9;
    color: var(--color-primary);
    border: none;
}

.btn-sm:hover {
    background: var(--color-blue-brand);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 1300px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr); 
    }
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 550px) {
    .product-grid {
        grid-template-columns: 1fr; 
    }
    .shell-wide {
        padding: 0 24px; 
    }
}

/* Catalog Layout (Sidebar + 3-Column Grid) */
.catalog-layout {
    display: flex;
    gap: 48px; 
    padding: 0 40px 120px;
    align-items: flex-start; 
}

.filter-sidebar {
    width: 260px;
    flex-shrink: 0; 
    position: sticky;
    top: 100px; 
}

.filter-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary-light);
    margin-bottom: 20px;
    font-weight: 700;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-btn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 1px solid #e2e8f0;
    padding: 12px 20px;
    border-radius: 99px; 
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-primary);
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
}

.filter-btn:hover {
    border-color: var(--color-blue-brand);
    background: #f8fafc;
}

.filter-btn.active {
    background: var(--color-blue-brand);
    color: #fff;
    border-color: var(--color-blue-brand);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

.count {
    opacity: 0.6;
    font-size: 0.85rem;
}
.filter-btn.active .count { opacity: 0.8; }

.catalog-content {
    flex: 1; 
}

.catalog-content .product-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .catalog-layout {
        flex-direction: column; 
    }
    .filter-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 20px;
    }
    .filter-list {
        flex-direction: row; 
        flex-wrap: wrap;
    }
    .filter-btn {
        width: auto; 
    }
    .catalog-content .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .catalog-content .product-grid {
        grid-template-columns: 1fr;
    }
    .shell-wide { padding: 0 24px; }
}


/* ------------------------------------------------------------------
   RESPONSIVE GENERAL
   ------------------------------------------------------------------ */
@media (max-width: 1024px) {
    .bento-grid.replica-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 20px; }
    .card-pink { grid-column: span 2; grid-row: auto; min-height: 300px; flex-direction: row; align-items: center; justify-content: space-between; }
    .card-pink .bento-bottom-text { margin-top: 0; max-width: 50%; text-align: right; }
    .span-col-2 { grid-column: span 2; }
    
    .impact-bottom-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
    .stat-col { padding-left: 0; border-left: none; border-top: 1px solid #e2e8f0; padding-top: 20px; }
}

@media (max-width: 900px) {
    .desktop-only { display: none !important; }
    .mobile-toggle { display: flex; }
    .hero-title { font-size: 3rem; }
}

@media (max-width: 600px) {
    /* Mobile Header */
    .site-header { top: 0; width: 100%; max-width: none; border-radius: 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
    
    /* Bento Grid Mobile */
    .bento-outer-card { padding: 16px; border-radius: 24px; }
    .bento-grid.replica-grid { display: flex; flex-direction: column; }
    .card-pink { flex-direction: column; align-items: flex-start; }
    .card-pink .bento-bottom-text { margin-top: 24px; max-width: 100%; text-align: left; }
    .bento-stat-large { font-size: 4.5rem; }
    
    /* Impact Section Mobile */
    .impact-top { flex-direction: column; align-items: flex-start; gap: 20px; }
    .impact-visual { height: 200px; }
    .impact-bottom-grid { grid-template-columns: 1fr; }
    
    /* Unified Card Mobile */
    .unified-card-wrapper { width: calc(100% - 24px); border-radius: 32px; }
    .inner-section { padding: 60px 24px 40px; }
    
    /* Hero Mobile */
    .hero-section { min-height: auto; padding: 140px 0 80px; }
    .hero-inner { padding: 0 20px; }
    .hero-title { font-size: 2.6rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn, .hero-actions button { width: 100%; }
}
/* Text + flags row inside the big card */
.text-side {
    flex: 1;
  }
  
  /* Container for the flags – pill style */
  .flag-strip {
    display: flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  }
  
  /* Individual flag images */
  .flag-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4);
    margin-left: -10px; /* overlap effect */
  }
  
  .flag-icon:first-child {
    margin-left: 0;
  }
  /* ------------------------------------------------------------------
   GLOBAL LEADERS MARQUEE SECTION
   ------------------------------------------------------------------ */
#global-leaders {
    background: #ffffff;
    overflow: hidden; /* Prevents horizontal scrollbars from moving tracks */
}

.leaders-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* equal split */
    gap: 60px;
    align-items: center;
}

.leaders-text-side {
    max-width: none; /* let it fill its column instead of capping at 450px */
}


.leaders-text-side {
    max-width: 450px;
}

.leaders-desc {
    font-size: 1.1rem;
    color: var(--color-primary-light);
    line-height: 1.6;
    margin-bottom: 24px;
}

.leaders-marquee-side {
    position: relative;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;

    max-width: 520px;          /* ≈ 3 cards wide */
    margin-left: auto;         /* keeps it snug to the right column */

    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* Marquee Tracks */
.card-marquee-track {
    display: flex; 
    gap: 16px; 
    width: max-content;
}

.card-marquee-track.scroll-left {
    animation: scrollLeft 40s linear infinite;
}

.card-marquee-track.scroll-right {
    animation: scrollRight 40s linear infinite;
}

.logo-card {
    background: #fff;
    width: 160px;   /* card size tuned for 3-per-row look */
    height: 100px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    z-index: 2;
}

.logo-card img {
    max-width: 70%; 
    max-height: 50%; 
    width: auto; 
    height: auto; 
    filter: grayscale(100%); 
    opacity: 0.6; 
    transition: all 0.3s;
}

.logo-card:hover img {
    filter: grayscale(0%); 
    opacity: 1;
}

/* ------------------------------------------------------------------
   EXPERTISE SECTION – TIMELINE + COPY LAYOUT
   ------------------------------------------------------------------ */

   .expertise-layout {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr;
    gap: 60px;
    align-items: flex-start; /* was stretch */
}


/* Timeline card on the left */
.expertise-timeline-card {
    background: #ffffff;
    border-radius: 32px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.08);
    padding: 24px 24px 16px;
    display: flex;
    flex-direction: column;
}

.section-title-sm {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 4px 0 12px;
}

.expertise-timeline-intro {
    font-size: 0.95rem;
    color: var(--color-primary-light);
    line-height: 1.6;
    margin: 0;
}

/* Slightly smaller dates inside the home-page card */
.timeline-card-scroll .timeline-date {
    font-size: 2.2rem;
}


/* Scrollable area for the timeline */
.timeline-card-scroll {
    margin-top: 20px;
    padding-right: 8px;
    max-height: 420px;       /* adjust if you want taller/shorter */
    overflow-y: auto;
}

.timeline-card-scroll .timeline-component {
    position: relative;
    padding-left: 0;
}


.timeline-card-scroll .timeline-item {
    padding: 12px 0;
}

/* Optional: slim scrollbar */
.timeline-card-scroll::-webkit-scrollbar {
    width: 6px;
}
.timeline-card-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 999px;
}
.timeline-card-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

/* Right-hand side: heading, body copy, stats row */
.expertise-text-side {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;  /* push content up */
    gap: 16px;                    /* tighter gap under heading */
    padding-top: 4px;             /* tiny nudge up overall */
}

.expertise-heading {
    margin: 0;
    font-size: clamp(2.2rem, 3vw, 2.8rem);
    letter-spacing: -0.03em;
}

.expertise-body {
    font-size: 1.15rem;           /* bigger, more “hero” feeling */
    line-height: 1.8;
    color: var(--color-primary-light);
}

/* Stats + CTA row */
.expertise-meta-row {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;       /* so it doesn’t explode on smaller screens */
}

.expertise-stat {
    display: flex;
    flex-direction: column;
}

/* Optional: make CTA visually lighter in this context */
.expertise-cta {
    margin-left: auto;     /* pushes the button to the far right on wide screens */
}

/* Stack nicely on tablet/mobile */
@media (max-width: 900px) {
    .expertise-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .expertise-text-side {
        order: 1;
    }

    .expertise-timeline-card {
        order: 2;
    }

    .expertise-meta-row {
        flex-direction: row;
        align-items: flex-start;
    }

    .expertise-cta {
        margin-left: 0;
    }
}

/* Tweak timeline spacing inside the expertise card */
.expertise-timeline-card .timeline-component {
    max-width: 100%;
}

/* Move the vertical line + circles further left */
.expertise-timeline-card .timeline-progress-track {
    left: 32%;                 /* was centred at 50% on the about page */
    transform: translateX(-50%);
}

/* Give more room to the right-hand copy column */
.expertise-timeline-card .timeline-item {
    grid-template-columns: 0.6fr 60px 1.4fr;
}

/* Slightly smaller dates so they don’t overpower the text */
.expertise-timeline-card .timeline-date {
    font-size: 2.4rem;         /* about page is 3rem – this is just toned down */
}
.impact-text.reveal-text {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0;
}

.impact-text.reveal-text span.active {
    color: var(--color-primary);
    transition: color 0.3s ease;
}
/* Align About & Expertise with Our Story */
.expertise-text-side {
    padding-top: 10px;  /* Adjust as needed: 24–40px looks best */
}
/* Reduce space under Empowering The Tinting Industry */
.expertise-text-side .section-title {
    margin-bottom: 12px;  /* was ~32px visually */
}


/* ------------------------------------------------------------------
   RELUME-STYLE TIMELINE COMPONENT (BASE)
   ------------------------------------------------------------------ */

   .timeline-section {
    padding-bottom: 120px;
    width: 100%;
}

.timeline-component {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* Track + fill */
.timeline-progress-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: #e2e8f0;
    z-index: 0;
}

.timeline-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(
        to bottom,
        var(--color-blue-brand),
        var(--grad-pink),
        var(--grad-yellow)
    );
    transition: height 0.1s linear;
}

/* Items layout */
.timeline-item {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    align-items: flex-start;
    width: 100%;
    padding-top: 80px;
    position: relative;
    z-index: 1;
}

.timeline-left {
    text-align: right;
    padding-top: 8px;
}

.timeline-date {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-blue-brand);
    line-height: 1;
    letter-spacing: -0.03em;
    opacity: 0.4;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.timeline-center {
    display: flex;
    justify-content: center;
    padding-top: 12px;
}

.timeline-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #cbd5e1;
    box-shadow: 0 0 0 4px #fff;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.timeline-right {
    text-align: left;
    padding-left: 0;
}

.timeline-heading {
    margin: 0 0 16px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.timeline-text {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-primary-light);
}

/* Active state */
.timeline-item.active .timeline-date {
    opacity: 1;
    transform: scale(1.1);
}

.timeline-item.active .timeline-circle {
    background-color: var(--color-blue-brand);
    border-color: var(--color-blue-brand);
    transform: scale(1.3);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-component {
        align-items: flex-start;
    }

    .timeline-progress-track {
        left: 20px;
        transform: none;
    }

    .timeline-item {
        display: grid;
        grid-template-columns: 60px 1fr;
        padding-top: 60px;
    }

    .timeline-left {
        display: block;
        grid-column: 2;
        grid-row: 1;
        text-align: left;
        padding-bottom: 8px;
        padding-top: 0;
    }

    .timeline-date {
        font-size: 2rem;
    }

    .timeline-center {
        grid-column: 1;
        grid-row: 1 / span 3;
        padding-left: 12px;
    }

    .timeline-right {
        grid-column: 2;
        grid-row: 2;
    }
}

/* ------------------------------------------------------------------
   ABOUT PAGE: FIXED BACKGROUND & HERO
   ------------------------------------------------------------------ */

   .fixed-background-blobs {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    z-index: 1;
}

.timeline-page-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.timeline-hero {
    text-align: center;
    padding-top: 200px;
    padding-bottom: 80px;
}
/* ------------------------------------------------------------------
   RELUME-STYLE TIMELINE COMPONENT
   ------------------------------------------------------------------ */

   .timeline-section {
    padding-bottom: 120px;
    width: 100%;
}

.timeline-component {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* Grey vertical track */
.timeline-progress-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: #e2e8f0;
    z-index: 0;
}

/* Blue-pink-yellow gradient fill */
.timeline-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(
        to bottom,
        var(--color-blue-brand),
        var(--grad-pink),
        var(--grad-yellow)
    );
    transition: height 0.1s linear;
}

/* Timeline item layout */
.timeline-item {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    align-items: flex-start;
    width: 100%;
    padding-top: 80px;
    position: relative;
    z-index: 1;
}

/* Date (left) */
.timeline-left {
    text-align: right;
    padding-top: 8px;
}

.timeline-date {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-blue-brand);
    line-height: 1;
    letter-spacing: -0.03em;
    opacity: 0.4;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Marker (center) */
.timeline-center {
    display: flex;
    justify-content: center;
    padding-top: 12px;
}

.timeline-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #cbd5e1;
    box-shadow: 0 0 0 4px #fff;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

/* Content (right) */
.timeline-right {
    text-align: left;
    padding-left: 0;
}

.timeline-heading {
    margin: 0 0 16px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.timeline-text {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-primary-light);
}

/* Active state */
.timeline-item.active .timeline-date {
    opacity: 1;
    transform: scale(1.1);
}

.timeline-item.active .timeline-circle {
    background-color: var(--color-blue-brand);
    border-color: var(--color-blue-brand);
    transform: scale(1.3);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.8);
}
/* ------------------------------------------------------------------
   TIMELINE RESPONSIVE
   ------------------------------------------------------------------ */

   @media (max-width: 768px) {

    .timeline-component {
        align-items: flex-start;
    }

    .timeline-progress-track {
        left: 20px;
        transform: none;
    }

    .timeline-item {
        grid-template-columns: 60px 1fr;
        padding-top: 60px;
    }

    .timeline-left {
        display: block;
        grid-column: 2;
        grid-row: 1;
        text-align: left;
        padding-bottom: 8px;
    }

    .timeline-date {
        font-size: 2rem;
    }

    .timeline-center {
        justify-content: flex-start;
        padding-left: 12px;
        grid-column: 1;
        grid-row: 1 / span 3;
    }

    .timeline-right {
        grid-column: 2;
        grid-row: 2;
        padding-left: 16px;
    }
}


.expertise-text-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.expertise-body {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-primary-light);
}

.expertise-stats-row {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 8px;
    flex-wrap: wrap; /* so it still behaves on smaller widths */
}

.expertise-stats-row .stat-col {
    display: flex;
    flex-direction: column;
}

.expertise-text-side .stat-number-lg {
    font-size: 2.4rem;      /* smaller than hero stats */
    line-height: 1;
}

.expertise-text-side .stat-label-lg {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary-light);
}



/* Animation Keyframes */
@keyframes scrollLeft { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}

@keyframes scrollRight { 
    0% { transform: translateX(-50%); } 
    100% { transform: translateX(0); } 
}

/* Responsive */
@media (max-width: 1024px) {
    .leaders-layout { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    .leaders-text-side { 
        max-width: 100%; 
        text-align: center; 
        margin: 0 auto; 
    }
    .leaders-marquee-side { 
        width: 100%; 
        max-width: 600px; 
        margin: 0 auto; 
    }
}
/* --- Home "Our Story" section alignment tweaks --- */

#unified-expertise .expertise-layout {
    align-items: flex-start; /* top-align the two columns */
  }
  
  #unified-expertise .expertise-text-side {
    justify-content: flex-start;
    padding-top: 0;          /* remove extra vertical offset */
  }
  
  #unified-expertise .expertise-text-side .section-title-sm,
  #unified-expertise .expertise-text-side .section-title {
    margin-top: 0;           /* make sure the heading isn’t pushed down */
  }
  
  #unified-expertise .impact-top {
    margin-bottom: 16px;     /* slightly tighten gap between heading and body copy */
  }

/* ------------------------------------------------------------------
   CLEAN FOOTER FIX (FINAL & CONSOLIDATED)
   ------------------------------------------------------------------ */
/* 1. Force Body to be a Flex Column so Footer sits at bottom */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1; /* This pushes the footer down if content is short */
    width: 100%;
}

/* 2. The Footer Container - Full Width */
.mega-footer {
    position: relative;
    width: 100%;
    background: #ffffff;
    padding: 80px 0 0;
    margin-top: auto; /* Double insurance to push to bottom */
    overflow: visible; /* Allow gradient to show through */
    z-index: 10;
}

.footer-content {
    position: relative;
    z-index: 2; /* Sits on top of the big text */
}

/* 3. The Grid Layout */
.footer-grid {
    display: grid;
    /* Brand (Wide) | Company (Narrow) | Contact (Medium) */
    grid-template-columns: 1.4fr 0.6fr 1.2fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* 4. Brand Column & Pink Separator */
.footer-col.brand-col {
    padding-right: 60px;
    border-right: 1px solid var(--grad-pink); /* The Pink Line */
}

/* 5. Headers & Links */
.footer-col h5 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin: 0 0 24px 0;
    font-weight: 800;
}

.address-block {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-primary-light);
    max-width: 340px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--color-primary-light);
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--color-blue-brand);
}

/* 6. Contact Info Styling */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.icon-circle-sm {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-primary);
}

.contact-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-primary);
}

.contact-text span {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

/* 7. Bottom Bar */
.footer-bottom {
    border-top: 1px solid #f1f5f9;
    padding: 32px 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #94a3b8;
}

.legal-links a {
    margin-left: 24px;
    color: #94a3b8;
    transition: 0.2s;
}
.legal-links a:hover { color: var(--color-primary); }



/* 9. Responsive Adjustments */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-col.brand-col {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 40px;
        padding-right: 0;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    } 
} /* <--- ADD THIS BRACE HERE to close @media (max-width: 1024px) */

/* -------------------------------
   Divider + Big Logo Reveal
   ------------------------------- */
.footer-divider {
    width: 100%;
    border: none;
    border-top: 1px solid #f1f5f9;
    margin: 0;
  }
  
  .footer-logo-reveal {
    background: #ffffff;
    /* Reduced top padding and height for a tighter animation area */
    padding: 20px 0 60px; 
    min-height: 25vh; /* <--- Much smaller area */
    position: relative;
    z-index: 1;
    overflow: visible;
    margin-top: -1px; 
  }
  
  /* Remove any old background pseudo-elements if they exist */
  .footer-logo-reveal::before {
      display: none; 
  }
  
  /* Show gradient background when scrolling */
  .footer-logo-reveal.visible::before {
    opacity: 1;
  }
  
  /* centers the word and gives it some breathing room */
  .footer-logo-inner {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 40px 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* purely visual */
    position: relative;
    z-index: 1;
  }
  
  .footer-big-text {
    /* Dynamic font size */
    font-size: clamp(7rem, 19vw, 20rem);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.05em;
    text-align: center;
    position: relative;
    z-index: 1;
  
    /* THE "MONO" STYLE GRADIENT */
    /* Top is White (blends with bg), Bottom is Soft Faded Blue */
    background: linear-gradient(
      to bottom, 
      #bfdbfe 100% 
    );
    
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  
    /* Start invisible */
    opacity: 0; 
    
    /* Reduced movement (20px instead of 60px) makes it look smoother */
    transform: translateY(20px); 
    will-change: opacity, transform;
  
    /* Fix for cut-off letters */
    padding-right: 0.15em; 
    margin-right: -0.15em; 
    padding-bottom: 0.1em; 
  }

  /* Add this temporarily to styles.css inside .footer-big-text */
-webkit-text-fill-color: initial !important; 
color: black !important;
  
  /* Add a visible gradient background layer behind the text */
  .footer-big-text::before {
    content: 'ESKENS';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(0, 48, 87, 0.25) 30%, rgba(243, 208, 62, 0.3) 70%, rgba(255, 255, 255, 0.15) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: -1;
    filter: blur(3px);
    opacity: var(--gradient-opacity, 0.6);
    transition: opacity 0.6s ease;
  }
  
  /* start state for scroll animation */
  .footer-big-text {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  /* responsive: keep it big but not insane on small screens */
  @media (max-width: 900px) {
    .footer-logo-inner {
      padding: 32px 24px 0;
    }
    .footer-big-text {
      font-size: 24vw;
    }
  }
  

/* Socials Buttons */
.social-links { display: flex; gap: 12px; }
.social-btn {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e2e8f0;
    display: flex; align-items: center; justify-content: center;
    color: var(--color-primary-light); transition: all 0.2s ease; background: #fff;
}
.social-btn:hover {
    border-color: var(--color-blue-brand); color: var(--color-blue-brand);
    transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.leaders-reveal-title {
    font-family: "Inter", sans-serif; /* matches Integration */
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700; /* slightly lighter than 800 hero titles */
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
    display: inline-block;
}

.leaders-reveal-title.reveal-text span {
    opacity: 0.15;
    transition: opacity 0.45s ease, color 0.45s ease;
}

.leaders-reveal-title.reveal-text span.active {
    opacity: 1;
    color: var(--color-primary);
}
.leaders-reveal-title.reveal-text span {
    transition-delay: calc(var(--i) * 60ms);
}

/* ------------------------------------------------------------------
   MOBILE FIXES — round 2
   - Story timeline (home page #unified-expertise)
   - Partnerships (#global-leaders) at small widths
   - Bento bottom card (.span-col-2 flex-row-center)
   - Tinting / shakers pages: hero, filters, product cards
   ------------------------------------------------------------------ */

@media (max-width: 900px) {
    /* Story timeline inside the unified expertise card on the home page */
    .expertise-timeline-card .timeline-component { padding-left: 0; }
    .expertise-timeline-card .timeline-progress-track {
        left: 16px !important;
        transform: none !important;
        width: 2px;
    }
    .expertise-timeline-card .timeline-item {
        grid-template-columns: 44px 1fr !important;
        padding-top: 32px;
        gap: 4px;
    }
    .expertise-timeline-card .timeline-left {
        grid-column: 2;
        grid-row: 1;
        text-align: left;
        padding: 0 0 4px !important;
    }
    .expertise-timeline-card .timeline-center {
        grid-column: 1;
        grid-row: 1 / span 3;
        padding-left: 8px !important;
        padding-top: 8px;
        justify-content: flex-start;
    }
    .expertise-timeline-card .timeline-right {
        grid-column: 2;
        grid-row: 2;
        padding-left: 8px;
        padding-right: 4px;
    }
    .expertise-timeline-card .timeline-date {
        font-size: 1.6rem !important;
    }
    .expertise-timeline-card .timeline-heading { font-size: 1.1rem; }
    .expertise-timeline-card .timeline-text { font-size: 0.95rem; line-height: 1.55; }

    /* Partnerships title sits cleaner stacked */
    .leaders-reveal-title {
        display: block;
        font-size: clamp(2rem, 7vw, 2.6rem);
        line-height: 1.08;
    }
    .leaders-text-side { align-items: flex-start; }
    .leaders-text-side .overline { display: block; margin-bottom: 8px; }

    /* Bento bottom (.span-col-2): stack copy and flag strip */
    .bento-card.span-col-2 .flex-row-center {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    .bento-card.span-col-2 .text-side { width: 100%; }
    .bento-card.span-col-2 .flag-strip { align-self: flex-start; flex-wrap: wrap; row-gap: 4px; }

    /* Tinting / Shakers product page: tame hero padding so title doesn't sit too far down */
    .page-hero { padding: 110px 0 60px; }
    .page-hero .hero-inner { margin-top: 0; padding-top: 0 !important; padding-left: 16px; padding-right: 16px; }
    .page-hero .hero-title { font-size: clamp(2.2rem, 8vw, 3rem); }
    .page-hero .hero-subtitle { font-size: 1rem; line-height: 1.55; }

    /* Catalog: tighter gutters, smaller filter chips, smaller product gap */
    .catalog-layout { padding: 0 16px 80px; gap: 24px; }
    .filter-list { gap: 8px; }
    .filter-btn { padding: 9px 14px; font-size: 0.88rem; }
    .filter-title { margin-bottom: 12px; }
    .product-card { padding: 16px; }
    .product-image { margin-bottom: 12px; }
    .product-card h3 { font-size: 1.05rem; }
    .spec-list { font-size: 0.88rem; }
}

@media (max-width: 600px) {
    /* Bento bottom card padding */
    .bento-card.span-col-2 { padding: 24px; }
    .flag-strip { padding: 4px 10px; }
    .flag-icon { width: 22px; height: 22px; margin-left: -7px; }

    /* Page hero title shrinks */
    .page-hero { padding: 100px 0 48px; }
    .page-hero .hero-title { font-size: clamp(1.9rem, 8vw, 2.4rem); margin-bottom: 12px !important; }

    /* Filters stack to a single horizontal scroll-rail so they never wrap awkwardly */
    .filter-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        scrollbar-width: none;
    }
    .filter-list::-webkit-scrollbar { display: none; }
    .filter-btn { white-space: nowrap; flex-shrink: 0; }

    /* Tighten the section-products padding so the catalog doesn't sit in a void */
    .section-products { padding: 0 0 80px; }
    .product-bar { gap: 12px; margin-bottom: 24px; font-size: 0.85rem; }
}

/* ------------------------------------------------------------------
   MOBILE FIXES (final pass — integration, timeline, partnerships)
   ------------------------------------------------------------------ */
@media (max-width: 720px) {
    /* Integration / chip-carousel header stacks; arrows align right */
    .carousel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 24px;
        padding-bottom: 16px;
    }
    .carousel-title { font-size: clamp(2rem, 7vw, 2.6rem); }
    .carousel-nav { align-self: flex-end; }
    .nav-arrow { width: 44px; height: 44px; }

    /* Chip cards tighter on phones so two are visible peeking instead of one barely */
    .chip-carousel-track { gap: 16px; padding: 16px 4px 40px; }
    .chip-carousel-track .chip-card {
        width: 78vw;
        min-width: 240px;
        min-height: 460px;
    }
    .chip-bg { height: 200px; }
    .chip-step { font-size: 2.4rem; }
    .chip-title { font-size: 1.05rem; }
    .chip-text { font-size: 0.88rem; margin-top: 16px; }

    /* Story timeline: more breathing room, smaller dates, tighter gutter */
    .timeline-component { padding: 0 8px; }
    .timeline-progress-track { left: 16px; }
    .timeline-item {
        grid-template-columns: 44px 1fr !important;
        padding-top: 44px;
        gap: 4px;
    }
    .timeline-center { padding-left: 8px !important; }
    .timeline-circle { width: 12px; height: 12px; box-shadow: 0 0 0 3px #fff; }
    .timeline-item.active .timeline-circle { box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.85); }
    .timeline-date { font-size: 1.6rem !important; }
    .timeline-heading { font-size: 1.15rem; margin-bottom: 8px; }
    .timeline-text { font-size: 0.95rem; line-height: 1.55; }
    .timeline-right { padding-left: 8px !important; padding-right: 4px; }

    /* Partnerships: collapse the dual-marquee to a single softer track */
    .leaders-marquee-side {
        height: 220px;
        max-width: 100%;
        gap: 12px;
        margin: 0 auto;
        mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    }
    .card-marquee-track.scroll-right { display: none; }
    .leaders-marquee-side .card-marquee-track.scroll-left { animation-duration: 28s; }
    .logo-card { width: 130px; height: 86px; border-radius: 12px; }

    .leaders-reveal-title { font-size: clamp(2.2rem, 9vw, 3rem); line-height: 1.05; }
    .leaders-desc { font-size: 1rem; }
}

@media (max-width: 480px) {
    .chip-carousel-track .chip-card { width: 86vw; min-width: 220px; }
    .timeline-progress-track { left: 12px; }
    .timeline-item { grid-template-columns: 36px 1fr !important; padding-top: 36px; }
    .timeline-date { font-size: 1.4rem !important; }
    .logo-card { width: 110px; height: 74px; }
}

/* ------------------------------------------------------------------
   CONTACT SECTION
   ------------------------------------------------------------------ */
.contact-section { background: #fff; }
.contact-section .section-title em {
    font-style: italic;
    font-weight: 800;
    color: var(--color-blue-brand);
    font-family: inherit;
}
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 60px;
    align-items: start;
}
.contact-text-side { display: flex; flex-direction: column; gap: 18px; }
.contact-text-side .section-title { margin: 0; }
.contact-desc {
    font-size: 1.05rem;
    color: var(--color-primary-light);
    line-height: 1.65;
    max-width: 44ch;
    margin: 0;
}
.contact-meta {
    list-style: none; padding: 0; margin: 12px 0 0;
    display: flex; flex-direction: column; gap: 14px;
}
.contact-meta li {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: baseline;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.98rem;
    color: var(--color-primary);
}
.contact-meta li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-meta li strong {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    color: var(--color-primary-light);
}
.contact-meta li a, .contact-meta li span { color: var(--color-primary); text-decoration: none; }
.contact-meta li a:hover { color: var(--color-blue-brand); }

.contact-form {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 32px;
    box-shadow: 0 12px 40px rgba(0, 48, 87, 0.06);
    display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: flex; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.form-label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    color: var(--color-primary-light);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 12px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    color: var(--color-primary);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}
.contact-form select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23003057' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.contact-form textarea { resize: vertical; min-height: 120px; font-family: 'Inter', sans-serif; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #94a3b8; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-blue-brand);
    box-shadow: 0 0 0 4px rgba(0, 48, 87, 0.10);
}
.form-actions {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    margin-top: 8px;
}
.form-status {
    font-size: 0.92rem;
    color: var(--color-blue-brand);
    font-weight: 500;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.form-status.visible { opacity: 1; transform: translateY(0); }
.form-status.error { color: #b91c1c; }

@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
    .contact-form { padding: 24px 20px; }
    .form-row-split { grid-template-columns: 1fr; gap: 18px; }
}
