.sec-timeline{
  margin: 5.6rem 0 10.4rem;
  overflow-x: clip;
}
.sec-timeline .title{
  position: relative;
  z-index: 2;
  margin-bottom: 7rem;
}
.sec-timeline:has(.sub-title) .title{
  margin-bottom: 10.4rem;
}
.sec-timeline .h3 strong{
  margin-left: 11.7rem;
}
.sec-timeline .sub-title {
  margin-bottom: 4rem;
}
.sec-timeline .sub-title strong{
  display: inline-block;
}
.timeline-block{
  min-height: 34.8rem;
}
.timeline-list{
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  max-width: 99rem;
  margin: 0 auto;
}
.timeline-list::after{
  position: absolute;
  content: "";
  left: 3.8rem;
  bottom: 1.2rem;
  height: 0.2rem;
  width: calc(100% - 7.6rem);
  background: var(--white);
}
.timeline-item{
  width: 7.5rem;
  text-align: center;
  position: relative;
  cursor: pointer;
}
.timeline-item::before{
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  width: 76.1rem;
  height: 76.1rem;
  background: radial-gradient(50% 50% at 50% 50%, rgba(166, 236, 255, 0.5) 0%, rgba(115, 115, 115, 0) 100%);
  transform: translate(-50%,-50%);
  display: none;
  opacity: 0.5;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.timeline-item:has(.timeline-title:hover)::before,
.timeline-item:has(.timeline-dot:hover)::before,
.timeline-item.active::before,
.timeline-item.active::before{
  display: block;
}
.timeline-title{
  min-height: 10.8rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding-bottom: 0.7rem;
}
.timeline-item h6{
  font-size: 3.2rem;
  font-weight: normal;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.timeline-item:hover h6,
.timeline-item.active h6{
  color: var(--yellow);
  font-weight: 900;
  -webkit-transform: scale(2.7);
  transform: scale(2.7);
  -webkit-transform-origin: bottom;
  transform-origin: bottom;
}
.timeline-dot{
  position: relative;
  z-index: 1;
  margin: auto;
  height: 2.8rem;
  width: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-dot::after{
  position: absolute;
  content: "";
  width: 1.6rem;
  height: 1.6rem;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: #ED1C24;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.timeline-item:hover .timeline-dot::after,
.timeline-item.active .timeline-dot::after{
  width: 100%;
  height: 100%;
  border-color: var(--yellow);
  background: var(--yellow);
}
.timeline-tooltip{
  position: absolute;
  z-index: 1;
  width: 20rem;
  top: 18.3rem;
  left: 50%;
  background: var(--white);
  border-radius: 1.8rem;
  text-align: center;
  color: var(--black);
  padding: 2.4rem 2.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%,1rem);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.timeline-item:hover .timeline-tooltip,
.timeline-item.active .timeline-tooltip{
  opacity: 1;
  visibility: visible;
  transform: translate(-50%,0);
}
.timeline-tooltip::before{
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  top: -0.4rem;
  margin: auto;
  width: 5rem;
  height: 5rem;
  background: var(--white);
  transform: rotate(45deg);
}
.timeline-tooltip *{
  position: relative;
  z-index: 1;
}
@media(min-width:1200px) and (max-width:1259.98px){
  .sec-timeline {
    margin: 5.6rem 0 8.4rem;
  }
  .sec-timeline:has(.sub-title) .title {
    margin-bottom: 8rem;
  }
  .sec-timeline .title {
    margin-bottom: 5rem;
  }
  .timeline-list {
    max-width: 95rem;
  }
}
@media(min-width:992px) and (max-width:1199.98px){
  .sec-timeline {
    margin: 5.6rem 0 8.4rem;
  }
  .sec-timeline:has(.sub-title) .title {
    margin-bottom: 8rem;
  }
  .sec-timeline .h3 strong {
    margin-left: 8.7rem;
  }
  .timeline-list {
    max-width: 79rem;
  }
  .timeline-block {
    min-height: 32.8rem;
  }
  .sec-timeline .title {
    margin-bottom: 6rem;
  }
  .timeline-title {
    min-height: 9.6rem;
  }
  .timeline-item h6 {
    font-size: 2.8rem;
  }
}
@media(min-width:768px) and (max-width:991.98px){
  .sec-timeline {
    margin: 4.8rem 0 8rem;
  }
  .sec-timeline .title {
    margin-bottom: 4rem;
  }
  .sec-timeline:has(.sub-title) .title {
    margin-bottom: 6.4rem;
  }
  .sec-timeline .sub-title {
    margin-bottom: 2.4rem;
  }
  .timeline-block {
    min-height: 30rem;
  }
  .timeline-list {
    max-width: 94%;
    margin: 0 auto;
  }
  .timeline-title {
    min-height: 8.8rem;
  }
  .timeline-item h6 {
    font-size: 2.6rem;
  }
  .timeline-item:hover h6,
  .timeline-item.active h6 {
    -webkit-transform: scale(2);
    transform: scale(2);
  }
  .timeline-tooltip {
    top: 15.3rem;
    width: 17rem;
    padding: 1.6rem 1.2rem;
  }
}
@media(max-width:767.98px){
  .sec-timeline {
    margin: 4.8rem 0 6.4rem;
  }
  .sec-timeline .title {
    margin-bottom: 3.2rem;
  }
  .sec-timeline:has(.sub-title) .title {
    margin-bottom: 3.2rem;
  }
  .sec-timeline .sub-title {
    margin-bottom: 3.2rem;
  }
  .sec-timeline .sub-title br{
    display: none;
  }
  .timeline-list {
    display: block;
    padding-left: 3.2rem;
  }
  .timeline-list::after {
    left: 0.8rem;
    top: 1rem;
    bottom: auto;
    height: 100%;
    width: 0.3rem;
  }
  .timeline-item{
    width: 100%;
    margin-bottom: 3.2rem;
  }
  .timeline-item::before{
    content: none;
  }
  .timeline-item:last-child{
    margin-bottom: 0;
  }
  .timeline-title {
    min-height: initial;
    padding-bottom: 0;
    justify-content: flex-start;
  }
  .timeline-item h6 {
    font-size: 2.4rem;
  }
  .timeline-item:hover h6,
  .timeline-item.active h6 {
    font-weight: normal;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  .timeline-dot {
    position: absolute;
    top: 0;
    left: -3.6rem;
  }
  .timeline-item:hover .timeline-dot::after,
  .timeline-item.active .timeline-dot::after {
    width: 1.6rem;
    height: 1.6rem;
    border-color: var(--white);
    background: #ED1C24;
  }
  .timeline-tooltip {
    position: relative;
    width: 100%;
    top: auto;
    left: 0;
    background: transparent;
    border-radius: 0;
    text-align: left;
    color: var(--white);
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: translate(0) !important;
  }
  .timeline-tooltip::before{
    content: none;
  }
}