/* ══════════════════════════════════════════════════════════════════
   EUMAX — FOOTER "OUR JOURNEY" PREVIEW                     (24-11-2026)
   Small timeline card under the footer's About Us text on every page.
   Links to the full animated timeline: vision-mission.html#our-history
   Years / titles live in each page's footer HTML; colours match the
   full timeline on the Vision & Mission page.
═══════════════════════════════════════════════════════════════════ */
.eu-ft-history { margin-top: 22px; padding: 16px 18px 14px; border-radius: 14px; text-align: left;
    background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.10); }
.eu-ft-history-kicker { display: block; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
    color: #eaa51e; margin-bottom: 14px; line-height: 1.4; }
.eu-ft-tl { list-style: none; margin: 0 0 12px; padding: 0; position: relative; display: flex; justify-content: space-between; }
.eu-ft-tl::before, .eu-ft-tl::after { content: ""; position: absolute; left: 7px; right: 7px; top: 6px; height: 2px; border-radius: 2px; }
.eu-ft-tl::before { background: rgba(255,255,255,.14); }
.eu-ft-tl::after { background: linear-gradient(90deg, #2dd4bf, #f5b83d 35%, #ff7a59 60%, #ff4d8d 80%, #a78bfa);
    box-shadow: 0 0 8px rgba(255,150,120,.45); transform-origin: 0 50%; transition: transform 1.4s cubic-bezier(.4,0,.2,1); }
.eu-ft-tl li { position: relative; display: flex; flex-direction: column; align-items: center; width: 14px; margin: 0; padding: 0; line-height: 1; }
.eu-ft-tl li::before { display: none; }
.eu-ft-dot { position: relative; z-index: 1; width: 14px; height: 14px; border-radius: 50%; background: #0b2445;
    border: 2px solid var(--c); box-shadow: 0 0 10px var(--c); transition: transform .3s ease, background-color .3s ease, opacity .4s ease; }
.eu-ft-tl li:last-child .eu-ft-dot { background: var(--c); animation: euFtPulse 1.8s ease-out infinite; }
@keyframes euFtPulse { 0% { box-shadow: 0 0 0 0 var(--c), 0 0 10px var(--c); } 100% { box-shadow: 0 0 0 9px rgba(0,0,0,0), 0 0 10px var(--c); } }
.eu-ft-year { margin-top: 7px; font-size: 12px; font-weight: 700; color: var(--c); white-space: nowrap; transition: opacity .4s ease; }
.eu-ft-tl li:hover .eu-ft-dot { transform: scale(1.35); background: var(--c); }
.eu-ft-tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 4px); white-space: nowrap;
    font-size: 12px; line-height: 1; padding: 6px 9px; border-radius: 6px; background: #fff; color: #06213f; font-weight: 600;
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, transform .2s ease; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.eu-ft-tl li:first-child .eu-ft-tip { left: 0; transform: translate(-4px, 4px); }
.eu-ft-tl li:last-child .eu-ft-tip { left: auto; right: 0; transform: translate(4px, 4px); }
.eu-ft-tl li:hover .eu-ft-tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.eu-ft-tl li:first-child:hover .eu-ft-tip { transform: translate(-4px, 0); }
.eu-ft-tl li:last-child:hover .eu-ft-tip { transform: translate(4px, 0); }
a.eu-ft-history-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; line-height: 1.4; color: #fff !important; text-decoration: none; }
a.eu-ft-history-link .eu-ft-arrow { color: #eaa51e; font-size: 15px; transition: transform .2s ease; }
a.eu-ft-history-link:hover, a.eu-ft-history-link:focus { color: #eaa51e !important; text-decoration: none; }
a.eu-ft-history-link:hover .eu-ft-arrow { transform: translateX(4px); }
a.eu-ft-history-link:focus-visible { outline: 2px solid #eaa51e; outline-offset: 3px; border-radius: 4px; }
/* draws in once when the footer comes into view (script adds .is-ready, then .is-in) */
.eu-ft-history.is-ready .eu-ft-tl::after { transform: scaleX(0); }
.eu-ft-history.is-ready .eu-ft-dot, .eu-ft-history.is-ready .eu-ft-year { opacity: .25; }
.eu-ft-history.is-in .eu-ft-tl::after { transform: scaleX(1); }
.eu-ft-history.is-in .eu-ft-dot, .eu-ft-history.is-in .eu-ft-year { opacity: 1; transition-delay: calc(var(--n, 0) * 260ms); }
@media (prefers-reduced-motion: reduce) {
    .eu-ft-history *, .eu-ft-tl::after { transition: none !important; animation: none !important; }
}
/* the link's target on the Vision & Mission page: keep it clear of the fixed header */
#our-history { scroll-margin-top: var(--eu-header-h, 90px); }
