/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: Hello Elementor Child Theme - A lightweight child theme for Hello Elementor. Add your custom code here without losing changes on parent theme updates.
Author: Your Name
Author URI: https://yourwebsite.com
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* =================================================================
   ADD YOUR CUSTOM CSS BELOW THIS LINE
   ================================================================= */


 /* ---------- Scroll lock (applied via JS) ---------- */
  html.preloader-active,
  html.preloader-active body {
    overflow: hidden !important;
    height: 100% !important;
    touch-action: none;
  }

  /* ---------- Full-screen white background ---------- */
  .preloader {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.6s ease;
  }
  .preloader.is-hidden {
    opacity: 0;
    pointer-events: none;
  }

  /* ---------- Space reserved for the flying logo ---------- */
  .preloader-logo-slot {
    /* The clone sits on top of this space, centered in the viewport.
       We keep the slot empty so the progress bar sits below the logo. */
    margin-bottom: 40px;
    min-height: 80px;   /* visual breathing room while logo loads */
  }

  /* ---------- Percentage text (0 -> 100) ---------- */
  .preloader-percent {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    font-variant-numeric: tabular-nums; /* numbers don't jitter */
  }

  /* ---------- Progress bar ---------- */
  .preloader-bar {
    width: 240px;
    max-width: 60vw;
    height: 4px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
  }
  .preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: #2563eb;       /* change to match your brand */
    border-radius: 999px;
    transition: width 0.3s ease;
  }

  /* ---------- The flying logo clone ---------- */
  .preloader-logo-clone {
    position: fixed !important;
    z-index: 1000000;
    pointer-events: none;
    object-fit: contain;
    will-change: top, left, width, height;
    transition:
      top 0.9s cubic-bezier(0.77, 0, 0.175, 1),
      left 0.9s cubic-bezier(0.77, 0, 0.175, 1),
      width 0.9s cubic-bezier(0.77, 0, 0.175, 1),
      height 0.9s cubic-bezier(0.77, 0, 0.175, 1);
  }
  
  
  
  