/*
==================================================
HISTORY
==================================================
*/

.sidv-history{

    padding:8rem 0;

    background:#F8FAFC;

    overflow:hidden;

}

/*
==================================================
HEADER
==================================================
*/

.sidv-history__header{

    max-width:760px;

    margin:0 auto 4rem;

    text-align:center;

}

.sidv-history__eyebrow{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:.65rem 1.2rem;

    border-radius:999px;

    background:#FEF3C7;

    color:#D97706;

    font-size:.82rem;

    font-weight:700;

    letter-spacing:.08em;

    text-transform:uppercase;

}

.sidv-history__header h2{

    margin:1.25rem 0;

    font-size:clamp(2.3rem,4vw,3.4rem);

    color:#0F172A;

}

.sidv-history__header p{

    color:#64748B;

    line-height:1.85;

}

/*
==================================================
STATS
==================================================
*/

.sidv-history__stats{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:1.5rem;

    margin-bottom:5rem;

}

.sidv-history__stats article{

    padding:2rem;

    border-radius:24px;

    background:#FFF;

    border:1px solid #E5E7EB;

    text-align:center;

    transition:.35s;

}

.sidv-history__stats article:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 45px rgba(15,23,42,.08);

}

.sidv-history__stats strong{

    display:block;

    margin-bottom:.5rem;

    font-size:2rem;

    color:#F59E0B;

}

.sidv-history__stats span{

    color:#64748B;

}

/*
==================================================
TIMELINE
==================================================
*/

.sidv-history__timeline{

    overflow-x:auto;

    padding-bottom:1rem;

    scrollbar-width:none;

}

.sidv-history__timeline::-webkit-scrollbar{

    display:none;

}

.sidv-history__track{

    position:relative;

    display:grid;

    grid-template-columns:repeat(5,minmax(260px,1fr));

    gap:2rem;

    min-width:1400px;

    padding-top:3rem;

}

.sidv-history__line{

    position:absolute;

    top:48px;

    left:0;

    right:0;

    height:4px;

    background:#E2E8F0;

    border-radius:999px;

}

/*
==================================================
EVENT
==================================================
*/

.sidv-history__event{

    position:relative;

    text-align:center;

    opacity:0;

    transform:translateY(35px);

    transition:.8s ease;

}

.sidv-history.is-visible
.sidv-history__event{

    opacity:1;

    transform:none;

}

.sidv-history__event:nth-child(2){transition-delay:.05s;}
.sidv-history__event:nth-child(3){transition-delay:.15s;}
.sidv-history__event:nth-child(4){transition-delay:.25s;}
.sidv-history__event:nth-child(5){transition-delay:.35s;}
.sidv-history__event:nth-child(6){transition-delay:.45s;}

/*
==================================================
YEAR
==================================================
*/

.sidv-history__year{

    display:inline-block;

    margin-bottom:1.5rem;

    font-size:1.1rem;

    font-weight:700;

    color:#0F172A;

}

/*
==================================================
MARKER
==================================================
*/

.sidv-history__marker{

    position:relative;

    z-index:2;

    width:24px;

    height:24px;

    margin:0 auto 2rem;

    border-radius:50%;

    background:#F59E0B;

    border:6px solid #FFF;

    box-shadow:0 0 0 3px #F59E0B;

}

/*
==================================================
CARD
==================================================
*/

.sidv-history__card{

    padding:2rem;

    border-radius:24px;

    background:#FFF;

    border:1px solid #E5E7EB;

    text-align:left;

    transition:.35s;

    box-shadow:0 15px 40px rgba(15,23,42,.05);

}

.sidv-history__card:hover{

    transform:translateY(-8px);

    border-color:#F59E0B;

    box-shadow:0 25px 60px rgba(15,23,42,.08);

}

.sidv-history__card h3{

    margin-bottom:1rem;

    color:#0F172A;

    font-size:1.35rem;

}

.sidv-history__card p{

    margin:0;

    color:#64748B;

    line-height:1.85;

}

/*
==================================================
RESPONSIVE
==================================================
*/

@media(max-width:992px){

    .sidv-history{

        padding:6rem 0;

    }

    .sidv-history__stats{

        grid-template-columns:1fr;

    }

}

@media(max-width:768px){

    .sidv-history__track{

        min-width:1200px;

    }

    .sidv-history__header{

        margin-bottom:3rem;

    }

}