.inner-text {
    padding: 30px 0;
    animation: moveup 0.8s ease forwards;
    opacity: 0;
}
.inner-text h2 {
    font-weight: bold;
    color: #133957;
    margin-bottom: 20px;
    position: relative;
}
.inner-text h2::after {
    content: "";
    width: 120px;
    height: 3px;
    background-color: #a5312d;
    position: absolute;
    bottom: -10px;
    left: 2%;
}
.inner-text h2.key-title {
    color: #426179;
    text-transform: uppercase;
}
.inner-text .para-1 {
    font-family: "Kaisei Opti", "Times New Roman", Times, serif;
    font-size: 16px;
    color: #808f9a;
    text-align: justify;
}
.timeline-wrapper {
    margin: 20px 10px;
    border-left: 1px dashed #062e4d;
}
.timeline-list {
    margin-bottom: 0;
    list-style: none;
}
.timeline-list li {
    margin-bottom: 15px;
    font-size: 12px;
    font-family: "Kaisei Opti", "Times New Roman", Times, serif;
    color: #426179;
    text-transform: uppercase;
    position: relative;
}
.timeline-list li::before {
    content: "";
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: #426179;
    position: absolute;
    left: -38px;
    top: 15px;
}
.timeline-list li.current::before {
    content: "";
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #b32225;
    border: 5px solid #bbcedb;
    left: -45px;
    top: 10px;
}
.timeline-list li.current {
    color: #b32225;
}
.timeline-list li.current h3 {
    color: #b32225;
}
.timeline-list h3 {
    font-size: 30px;
    font-family: "Kaisei Opti", "Times New Roman", Times, serif;
    color: #426179;
}
.dark-gradient {
    background: url("../img/light-gradient.png") no-repeat center center / cover;
}

/* ============= New design =============== */
.keystone-bg {
    width: 100%;
    /* height: 480px; */
    background: url("../img/keystone.png") no-repeat center center / cover;
}
.key-title2 {
    font-size: 40px;
    font-family: "Kaisei Opti", "Times New Roman", Times, serif;
    font-weight: bold;
    color: #133957;
    opacity: 0;
}
.key-grid {
    padding: 40px 0;
}
.key-grid .left {
    margin-bottom: 50px;
}
.key-grid .right {
    position: relative;
}
.key-grid .right::before {
    content: "";
    width: 2px;
    height: 100%;
    border-left: 2px dashed #133957;
    position: absolute;
    top: 0;
    left: 22%;
}
.key-grid .row-grid {
    display: grid;
    grid-template-columns: 0.3fr 1fr;
    padding: 20px 0;
}
.key-grid .row-grid.active {
    animation: moveup 0.5s ease-in-out forwards;
    opacity: 0;
}
#right-content {
    opacity: 0;
}
@keyframes moveup {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes fadeleft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
.year-text {
    font-size: 24px;
    color: #426179;
    font-family: "Kaisei Opti", "Times New Roman", Times, serif;
    margin-bottom: 0;
    position: relative;
    cursor: pointer;
}
.row-wrap {
    display: flex;
    flex-direction: column;
    height: 500px;
    overflow: hidden;
}
.bullet-point {
    position: absolute;
    top: 12px;
    right: -2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #426179;
    cursor: pointer;
}
.year-text.active {
    font-size: 28px;
    color: #b32225;
    position: relative;
}
.bullet-point.active {
    position: absolute;
    top: 8px;
    right: -7px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #b32225;
    border: 3px solid #bbcedb;
}
.detail {
    font-size: 16px;
    color: #030f20;
    font-family: "Kaisei Opti", "Times New Roman", Times, serif;
    margin-bottom: 0;
    padding-left: 20px;
    display: none;
}
.detail.active {
    display: block;
}
.arrup {
    position: absolute;
    top: -30px;
    left: 19%;
    width: 22px;
    cursor: pointer;
}
.arrdown {
    position: absolute;
    bottom: -30px;
    left: 19%;
    width: 22px;
    cursor: pointer;
}
@media screen and (min-width: 768px) {
    .inner-text h2::after {
        left: 1%;
    }
    .key-grid .right::before {
        left: 18%;
    }
    .arrup,
    .arrdown {
        left: 16.5%;
    }
    .key-grid .row-grid {
        grid-template-columns: 128px 1fr;
        padding: 10px 0;
    }
    .detail {
        padding-left: 40px;
    }
}
@media screen and (min-width: 992px) {
    .key-grid {
        display: grid;
        grid-template-columns: 0.8fr 1fr;
        align-items: center;
        padding: 50px 0;
    }
    .year-text.active {
        font-size: 50px;
    }
    .year-text {
        font-size: 30px;
        text-align: end;
    }
    .detail {
        font-size: 18px;
        padding-left: 50px;
    }
    .detail.active {
        margin-top: 10px;
    }
    .key-grid .right::before {
        left: 28%;
    }
    .key-title2 {
        font-size: 60px;
    }
    .arrup,
    .arrdown {
        left: 26%;
    }
    .bullet-point.active {
        top: 25px;
        right: -28px;
    }
    .bullet-point {
        right: -23px;
    }
}
@media screen and (min-width: 1024px) {
    .inner-text.first {
        max-width: 800px;
        margin: 0 auto;
    }
    .inner-text h2 {
        font-size: 40px;
        text-align: center;
    }
    .inner-text h2::after {
        width: 150px;
        left: 50%;
        transform: translateX(-50%);
    }
    .timeline-wrapper {
        border: none;
    }
    .row-1 {
        padding: 8px 0;
    }
    .row-1 .timeline-list {
        display: grid;
        grid-template-columns: 1fr repeat(4, 0.75fr);
    }
    .row-1 .timeline-list li {
        margin-right: 30px;
    }
    .row-1 .timeline-list li:last-child {
        margin-right: 0;
    }
    .row-2 {
        padding: 8px 0;
        position: relative;
    }
    .row-2::before {
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        right: -20px;
        border-radius: 0 5% 5% 0 / 50%;
        border-top: 1px dashed #062e4d;
        border-right: 1px dashed #062e4d;
        border-bottom: 1px dashed #062e4d;
    }
    .row-2 .timeline-list {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
    }
    .row-2 .timeline-list li {
        margin-right: 30px;
    }
    .row-2 .timeline-list li:last-child {
        margin-right: 0;
    }
    .row-3 {
        padding: 8px 0;
        position: relative;
    }
    .row-3:before {
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        top: -1px;
        left: -30px;
        padding: 20px 0;
        border-radius: 5% 0 0 5% / 50%;
        border-top: 1px dashed #062e4d;
        border-left: 1px dashed #062e4d;
        border-bottom: 1px dashed #062e4d;
    }
    .row-3 .timeline-list {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
    }
    .row-3 .timeline-list li {
        margin-right: 30px;
    }
    .row-3 .timeline-list li:last-child {
        margin-right: 0;
    }
    .row-2 .timeline-list li:first-child {
        margin-right: 0;
    }
    .row-2 .timeline-list li:last-child {
        margin-right: 30px;
    }
    .col--1 {
        grid-column: 5;
        grid-row: 1;
    }
    .col--2 {
        grid-column: 4;
        grid-row: 1;
    }
    .col--3 {
        grid-column: 3;
        grid-row: 1;
    }
    .col--4 {
        grid-column: 2;
        grid-row: 1;
    }
    .col--5 {
        grid-column: 1;
        grid-row: 1;
    }
    .timeline-list li::before {
        left: 10px;
        bottom: -28px;
        z-index: 10;
        top: unset;
    }
    .timeline-list li.current::before {
        left: 10px;
        bottom: -34px;
        z-index: 10;
        top: unset;
    }

    .inner-text .para-1 {
        text-align: center;
    }
}
@media screen and (min-width: 1200px) {
    .inner-text h2 {
        font-size: 50px;
        margin-bottom: 30px;
    }
    .inner-text.first {
        max-width: 1020px;
        margin: 0 auto;
    }
    .inner-text {
        padding: 50px 0;
    }
    .row-1,
    .row-2,
    .row-3 {
        padding: 15px 0;
    }
    .timeline-list li {
        margin-bottom: 0;
        margin-top: 20px;
    }
    .timeline-list li.current::before {
        bottom: -27px;
    }
    .timeline-list li::before {
        bottom: -20px;
    }
    .row-2::before {
        right: -22px;
    }
    .inner-text .para-1 {
        font-size: 18px;
    }
    .key-grid {
        max-width: 1100px;
        margin: 0 auto;
    }
    .key-grid .row-grid {
        grid-template-columns: 155px 1fr;
    }
}
@media screen and (min-width: 1400px) {
    .row-2::before {
        right: -33px;
    }
    .row-3:before {
        left: -38px;
    }
    .key-grid {
        grid-template-columns: 1fr 1fr;
    }
    .key-grid .row-grid {
        grid-template-columns: 136px 1fr;
    }
}
