
    body.contact-colorful {
      background-color: #f8fafc !important; 
      color: #0F172A !important;
      font-family: 'Inter', sans-serif;
      margin: 0;
      padding: 0;
      overflow-x: hidden;
    }
    
    .contact-grid {
      position: absolute;
      inset: 0;
      background-size: 60px 60px;
      background-image: 
        linear-gradient(to right, rgba(0, 87, 255, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 87, 255, 0.1) 1px, transparent 1px);
      z-index: 0;
      animation: panGrid 20s linear infinite;
    }
    
    @keyframes panGrid {
      0% { background-position: 0 0; }
      100% { background-position: 60px 60px; }
    }

    .contact-glow {
      position: absolute;
      top: -20%;
      right: -10%;
      width: 1000px;
      height: 1000px;
      background: radial-gradient(circle, rgba(0, 87, 255, 0.08) 0%, transparent 60%);
      z-index: 0;
      pointer-events: none;
    }

    .contact-section {
      position: relative;
      padding: 130px 5% 120px;
      min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1;
    }
    
    .contact-container {
      max-width: 1250px;
      width: 100%;
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 80px;
      align-items: flex-start;
      position: relative;
    }

    .contact-info { padding-top: 20px; }
    
    .contact-info h1 {
      font-family: 'Outfit', sans-serif;
      font-size: clamp(3rem, 5vw, 4.5rem);
      font-weight: 900;
      line-height: 1.1;
      margin-bottom: 24px;
      letter-spacing: -1px;
      color: #0F172A; 
      text-transform: uppercase;
      text-shadow: 4px 4px 0px rgba(0, 87, 255, 0.15);
    }
    
    .contact-info p.lead-text {
      color: #334155; 
      font-size: 1.25rem;
      line-height: 1.7;
      margin-bottom: 50px;
      max-width: 90%;
      font-weight: 500;
    }
    
    .info-card {
      display: flex;
      align-items: center;
      gap: 20px;
      margin-bottom: 25px;
      padding: 20px 24px;
      background: #ffffff;
      border: 3px solid #0F172A; 
      border-radius: 16px;
      box-shadow: 6px 6px 0px #0F172A; 
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      color: #0F172A;
    }
    
    .info-card:hover {
      transform: translate(-4px, -4px);
      box-shadow: 10px 10px 0px #0F172A;
    }
    
    .info-icon {
      width: 50px;
      height: 50px;
      border-radius: 12px;
      background: #255bbd;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      flex-shrink: 0;
      border: 2px solid #0F172A;
    }
    
    .info-text h3 {
      font-size: 1.1rem;
      margin: 0 0 4px;
      color: #0F172A;
      font-family: 'Outfit', sans-serif;
      font-weight: 800;
      text-transform: uppercase;
    }
    
    .info-text p {
      font-size: 1.05rem;
      color: #475569;
      margin: 0;
      font-weight: 500;
    }

    .contact-form-card {
      background: #ffffff;
      border: 4px solid #0F172A;
      border-radius: 24px;
      padding: 50px 50px 50px; 
      box-shadow: 12px 12px 0px rgba(0,0,0,0.1);
      color: #0F172A;
      position: relative;
      overflow: visible; /* CRITICAL: Allows train to sit ON TOP of the card */
      margin-top: 40px; /* Space for the train above */
    }
    
    /* Railway Track */
    .railway-track {
      position: absolute;
      top: 0; left: 0; width: 100%; height: 10px;
      background: repeating-linear-gradient(
        90deg,
        #cbd5e1,
        #cbd5e1 16px,
        #0F172A 16px,
        #0F172A 32px
      );
      border-bottom: 4px solid #0F172A;
      border-radius: 20px 20px 0 0;
      z-index: 10;
    }

    /* HIGH DEFINITION ANIMATED TRAIN */
    .train-container {
      position: absolute;
      top: -34px; /* Sits perfectly exactly on the top edge of the track */
      left: -500px;
      width: 450px;
      height: 40px;
      animation: trainZoom 8s linear infinite;
      z-index: 15;
    }

    @keyframes trainZoom {
      0% { transform: translateX(-500px); }
      100% { transform: translateX(1100px); }
    }

    /* Beaming headlight animation */
    @keyframes pulseBeam {
      0%, 100% { opacity: 0.8; transform: scaleX(1); }
      50% { opacity: 0.4; transform: scaleX(0.9); }
    }
    .headlight-beam {
      animation: pulseBeam 0.2s infinite;
      transform-origin: left center;
    }

    /* Speedy lines following train (now on the left trailing the train) */
    .speed-lines {
      position: absolute;
      top: 15px;
      left: 0px;
      width: 40px;
      height: 20px;
      display: flex;
      flex-direction: column;
      gap: 4px;
      opacity: 0.5;
    }
    .speed-line {
      height: 2px;
      background: #255bbd;
      border-radius: 2px;
      animation: dash 0.5s linear infinite;
    }
    .speed-line:nth-child(1) { width: 40px; animation-delay: 0.1s; }
    .speed-line:nth-child(2) { width: 20px; animation-delay: 0.3s; margin-left: 10px; }
    .speed-line:nth-child(3) { width: 30px; animation-delay: 0.2s; margin-left: 5px; }

    @keyframes dash {
      0% { transform: translateX(-20px); opacity: 0; }
      50% { opacity: 1; }
      100% { transform: translateX(20px); opacity: 0; }
    }

    .contact-form-card h2 {
      font-family: 'Outfit', sans-serif;
      font-size: 2.2rem;
      font-weight: 800;
      margin: 0 0 30px;
      color: #0F172A;
      text-transform: uppercase;
      margin-top: 10px;
    }
    
    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin-bottom: 20px;
    }
    
    .form-group { margin-bottom: 20px; }
    
    .form-group label {
      display: block;
      font-size: 0.95rem;
      font-weight: 700;
      color: #0F172A;
      margin-bottom: 8px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    
    .form-control {
      width: 100%;
      padding: 16px 18px;
      background: #f8fafc;
      border: 3px solid #cbd5e1;
      border-radius: 12px;
      color: #0F172A;
      font-family: 'Inter', sans-serif;
      font-size: 1.05rem;
      font-weight: 500;
      transition: all 0.2s ease;
      box-sizing: border-box;
    }
    
    .form-control:focus {
      outline: none;
      border-color: #255bbd;
      background: #ffffff;
      box-shadow: 4px 4px 0px #255bbd;
    }
    
    textarea.form-control {
      resize: vertical;
      min-height: 140px;
    }
    
    .submit-btn {
      width: 100%;
      padding: 18px;
      background: #255bbd;
      color: #ffffff;
      border: 3px solid #0F172A;
      border-radius: 12px;
      font-family: 'Outfit', sans-serif;
      font-size: 1.25rem;
      font-weight: 800;
      text-transform: uppercase;
      cursor: pointer;
      transition: all 0.2s ease;
      box-shadow: 6px 6px 0px #0F172A;
      margin-top: 10px;
    }
    
    .submit-btn:hover {
      transform: translate(-2px, -2px);
      box-shadow: 8px 8px 0px #0F172A;
      background: #0046cc;
    }

    .navbar { background: #ffffff !important; border-bottom: 1px solid #e2e8f0; }
    .navbar .nav-link, .navbar .logo-text { color: #0F172A !important; }
    .navbar .nav-link svg { stroke: #0F172A !important; }

    @media (max-width: 992px) {
      .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
      }
      .contact-section { padding: 100px 5% 80px; }
      .form-row { grid-template-columns: 1fr; gap: 20px; }
    }
  
/* --- GLOBAL MOBILE OPTIMIZATION PATCH --- */
@media (max-width: 768px) {
  /* Fix container paddings */
  section, .container, .container-balanced, .container-expanded, .main-content, .hero-container, .content-wrapper {
    padding-left: 15px !important;
    padding-right: 15px !important;
    min-width: 0 !important;
  }
  
  /* Reset rigid min-widths causing overflow or squishing */
  [style*="min-width"], .bento-card, .glass-card, .r-card, .step-card, .folder-box, .glass-box {
    min-width: 0 !important;
    width: 100% !important;
  }
  
  /* Force inline flex containers to wrap */
  [style*="display: flex"] {
    flex-wrap: wrap !important;
  }
  
  /* Force common grid/flex layouts to stack vertically */
  .hero-bubble-layout, .bento-container, .glass-grid, .retail-grid, .hero-container, .zig-zag-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
  }
  
  /* Reduce massive padding inside cards and CTA sections */
  .bento-card, .glass-card, .r-card, .step-card, .folder-box, .bento-glass, .glass-box, .massive-cta, .cta-glass-panel, .retail-cta, .r-cta-content {
    padding: 25px 20px !important;
  }
  
  /* Fix overlapping absolute elements in hero sections (e.g., Shopify page) */
  section > div > div[style*="position: relative; width: 100%; display: flex"] {
    flex-direction: column !important;
    gap: 30px !important;
  }
  
  /* Avoid giant box shadows pushing width */
  .folder-box, .glass-card, .step-card, .bento-card {
    box-shadow: 5px 5px 15px rgba(0,0,0,0.05) !important;
  }
}
