/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
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
*/

/*
    Timeline Custom
*/

  .tl-wrap { padding: 1.5rem 0 1rem; }

  .tl-track {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding: 0 12px;
  }
  .tl-line {
    position: absolute;
    top: 26px;
    left: 44px;
    right: 44px;
    height: 2px;
    background: #e5e5e5;
    z-index: 0;
  }
  .tl-progress {
    position: absolute;
    top: 26px;
    left: 44px;
    width: 0%;
    height: 2px;
    background: #F5B400;
    z-index: 1;
    transition: width 0.5s ease;
  }
  .tl-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
    cursor: pointer;
  }
  .tl-dot {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
    transition: border-color 0.3s, background 0.3s, transform 0.2s;
  }
  .tl-step.active .tl-dot {
    border-color: #F5B400;
    background: #FFF8E1;
    transform: scale(1.12);
    box-shadow: 0 0 0 5px rgba(245,180,0,0.12);
  }
  .tl-step.done .tl-dot {
    border-color: #F5B400;
    background: #F5B400;
  }
  .tl-num { font-size: 14px; font-weight: 500; color: #888; }
  .tl-step.active .tl-num { color: #B8860B; }
  .tl-label {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    color: #888;
    line-height: 1.3;
    max-width: 72px;
    transition: color 0.3s;
  }
  .tl-step.active .tl-label,
  .tl-step.done .tl-label { color: #222; }

  @media (max-width: 540px) {
    .tl-track {
      flex-direction: column;
      align-items: flex-start;
      padding: 0 4px;
      gap: 0;
    }
    .tl-line {
      top: 26px;
      bottom: 26px;
      left: 37px;
      right: auto;
      width: 2px;
      height: auto;
    }
    .tl-progress {
      top: 26px;
      left: 37px;
      right: auto;
      width: 2px !important;
      height: 0%;
      transition: height 0.5s ease;
    }
    .tl-step {
      flex-direction: row;
      align-items: center;
      flex: none;
      width: 100%;
      gap: 14px;
      padding: 6px 0;
    }
    .tl-label {
      max-width: none;
      text-align: left;
      font-size: 11px;
    }
    .tl-dot { flex-shrink: 0; }
  }

  .tl-card {
    margin: 1.25rem 12px 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1rem 1.25rem;
  }
  .tl-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
  .tl-card-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: #FFF8E1;
    border: 1px solid rgba(245,180,0,0.35);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0;
  }
  .tl-card-num { font-size: 11px; color: #B8860B; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
  .tl-card-title { font-size: 18px; font-weight: 600; color: #111; margin: 0; }
  .tl-card-desc { font-size: 16px; color: #555; line-height: 1.6; margin: 0; }
  .tl-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
  .tl-btn {
    font-size: 12px; padding: 5px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: transparent; color: #555;
    cursor: pointer; transition: background 0.15s;
  }
  .tl-btn:hover { background: #f5f5f5; }
  .tl-btn.primary { background: #F5B400; border-color: #F5B400; color: #000; font-weight: 500; }
  .tl-btn.primary:hover { background: #e0a500; }
  .tl-btn:disabled { opacity: 0.35; cursor: default; }

@media (max-width: 1024px) {
    .tl-wrap {
        display: none;
    }