/* =====================================================
   BISPAGE LEGACY TIMELINE
===================================================== */

.bp-legacy{
    position:relative;
    padding:120px 0;
    background:#f7f9fc;
    overflow:hidden;
}

.bp-legacy::before{
    content:'';
    position:absolute;
    width:700px;
    height:700px;
    background:radial-gradient(circle,
    rgba(19,123,194,.08),
    transparent 70%);
    top:-250px;
    right:-150px;
}

.bp-legacy::after{
    content:'';
    position:absolute;
    width:500px;
    height:500px;
    background:radial-gradient(circle,
    rgba(229,203,144,.12),
    transparent 70%);
    bottom:-200px;
    left:-150px;
}

/* Heading */

.legacy-subtitle{

    display:inline-block;
    padding:8px 20px;

    background:#137bc2;
    color:#fff;

    border-radius:50px;

    font-size:13px;
    letter-spacing:2px;
    font-weight:600;

    margin-bottom:20px;

}

.legacy-title{

    font-size:52px;
    font-weight:700;
    color:#1b2430;
    line-height:1.2;

}

.legacy-title span{

    color:#137bc2;

}

.legacy-text{

    max-width:700px;
    margin:auto;
    margin-top:25px;

    font-size:18px;
    color:#6d7786;
    line-height:1.8;

}

/* Statistics */

.legacy-stats{

    margin-top:70px;

    display:flex;

    justify-content:center;

    gap:30px;

    flex-wrap:wrap;

}

.stat{

    width:190px;

    background:#fff;

    border-radius:22px;

    padding:35px 25px;

    text-align:center;

    box-shadow:0 20px 60px rgba(0,0,0,.06);

    transition:.4s;

}

.stat:hover{

    transform:translateY(-8px);

}

.stat h3{

    font-size:42px;

    color:#137bc2;

    font-weight:700;

    margin-bottom:5px;

}

.stat span{

    color:#666;

    font-size:15px;

}

/* Timeline */

.timeline-wrapper{

    margin-top:90px;

    position:relative;

}

.timeline-line{

    height:6px;

    background:#d9e4ef;

    border-radius:50px;

    position:absolute;

    left:0;

    right:0;

    top:24px;

}

.timeline-years{

    display:flex;

    justify-content:space-between;

    position:relative;

    z-index:2;

}

.timeline-node{

    text-align:center;

    cursor:pointer;

    width:90px;

}

.circle{

    width:26px;

    height:26px;

    margin:auto;

    border-radius:50%;

    background:#fff;

    border:5px solid #137bc2;

    transition:.4s;

    box-shadow:0 0 0 10px rgba(19,123,194,.10);

}

.timeline-node span{

    display:block;

    margin-top:16px;

    font-weight:600;

    color:#444;

}

.timeline-node:hover .circle,

.timeline-node.active .circle{

    background:#137bc2;

    transform:scale(1.25);

    box-shadow:

    0 0 0 14px rgba(19,123,194,.18);

}

/* Story Card */

.story-card{

    margin:90px auto 0;

    max-width:760px;

    background:rgba(255,255,255,.75);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.5);

    border-radius:30px;

    padding:45px;

    display:flex;

    align-items:center;

    gap:35px;

    box-shadow:0 35px 80px rgba(0,0,0,.08);

    transition:.5s;

}

.story-card:hover{

    transform:translateY(-8px);

}

.story-icon{

    width:90px;

    height:90px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:42px;

    background:#137bc2;

    color:#fff;

    flex-shrink:0;

}

.story-content small{

    color:#137bc2;

    font-size:15px;

    font-weight:700;

    letter-spacing:1px;

}

.story-content h3{

    margin:10px 0 15px;

    font-size:34px;

    color:#1d2a39;

}

.story-content p{

    color:#67717e;

    line-height:1.9;

}

/* Responsive */

@media(max-width:992px){

.legacy-title{

font-size:40px;

}

.timeline-years{

overflow-x:auto;

padding-bottom:20px;

gap:40px;

}

.timeline-line{

display:none;

}

.story-card{

flex-direction:column;

text-align:center;

}

}

@media(max-width:576px){

.bp-legacy{

padding:80px 0;

}

.legacy-title{

font-size:30px;

}

.legacy-text{

font-size:16px;

}

.stat{

width:48%;

padding:25px 15px;

}

.story-card{

padding:30px 20px;

border-radius:20px;

}

.story-content h3{

font-size:26px;

}

}

/* Reveal Animation */

.hidden{
    opacity:0;
    transform:translateY(40px);
    transition:all .8s ease;
}

.show{
    opacity:1;
    transform:translateY(0);
}

.story-icon,
.story-content h3,
.story-content p{
    transition:.35s;
}