.about-timeline {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: linear-gradient(25.53deg, #A7A9AC -57.48%, #FFFFFF 99.47%); 
  border-radius: 20px; 
}

.title {
  font-size: 38px;
  color: #616161;
  font-style: italic;
  font-weight: 800;
}

.timeline {
  width: 100%;
  padding:30px;
  position: relative;
  border-radius: 20px;
}
.timeline .swiper-container {
  height:92vh;
  width: 100%;
  position: relative;
}
.timeline .swiper-wrapper {
  transition: 2s cubic-bezier(0.68, -0.4, 0.27, 1.34) 0.2s;
}
.timeline .swiper-slide {
  position: relative;
  color: #fff;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.swiper-pagination-clickable .swiper-pagination-bullet span { display: none; font-size: 30px; }
.swiper-pagination-clickable .swiper-pagination-bullet-active span { display: block; }


.timeline .swiper-slide-content {
  position: absolute;
  text-align: center;
  width: 80%;
  max-width:600px;
  right: 50%;
  top: 13%;
  transform: translate(50%, 0);
  font-size: 12px;
  z-index: 2;
}
.timeline .swiper-slide .timeline-year {
  display: block;
  font-style: italic;
  font-size: 42px;
  margin-bottom: 50px;
  transform: translate3d(20px, 0, 0);
  color: #d4a024;
  font-weight: 300;
  opacity: 0;
  transition: 0.2s ease 0.4s;
}
.timeline .swiper-slide .timeline-title {
  font-weight: 800;
  font-size: 34px;
  margin: 0 0 30px;
  opacity: 0;
  transform: translate3d(20px, 0, 0);
  transition: 0.2s ease 0.5s;
  color: var(--primary-color);
}
.timeline .swiper-slide .timeline-text {
  line-height: 1.5;
  opacity: 0;
  transform: translate3d(20px, 0, 0);
  transition: 0.2s ease 0.6s;
}
.timeline .swiper-slide-active .timeline-year {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: 0.4s ease 1.6s;
}
.timeline .swiper-slide-active .timeline-title {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: 0.4s ease 1.7s;
}
.timeline .swiper-slide-active .timeline-text {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: 0.4s ease 1.8s;
  font-size: 18px;
  font-weight: 500;
}
.timeline .swiper-pagination {
  right: 55% !important;
  height: 100%;
  display: none;
  flex-direction: column;
  justify-content: center;
  font-weight: 600;
  font-size:20px;
  z-index: 1;
}
.timeline .swiper-pagination::before {
    content: "";
    position: absolute;
    right: -12px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: var(--secondary-color);
}
.timeline .swiper-pagination-bullet {
  width: auto;
  height: auto;
  text-align: right;
  opacity: 1;
  background: transparent;
  color: #ECC98F;
  margin: 20px 0 !important;
  position: relative;
  padding-right: 40px;
  font-weight: 700;
  line-height: 1;
}

.timeline .swiper-pagination-bullet::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -24px;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    background-color: var(--secondary-color);
    transform: scale(0.6) translateY(-50%);
    transition: 0.2s;
    opacity: 0.7;
}

.timeline .swiper-pagination-bullet::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -24px;
    width: 25px;
    height: 25px;
    border-radius: 100%;
    background-color: #ffa400;
    transform: scale(0);
    transition: 0.2s;
}


.timeline .swiper-pagination-bullet-active {
  color: #ffa400;
  font-size: 80px;
  line-height: 1;
}
.timeline .swiper-pagination-bullet-active::before {
  transform: scale(1) translateY(-50%);
}
.timeline .swiper-button-next,
.timeline .swiper-button-prev {
  background-size: 20px 20px;
  top: 15%;
  width: 20px;
  height: 20px;
  margin-top: 0;
  z-index: 2;
  transition: 0.2s;
}
.timeline .swiper-button-prev {
  left: 8%;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23d4a024'%2F%3E%3C%2Fsvg%3E");
}
.timeline .swiper-button-prev:hover {
  transform: translateX(-3px);
}
.timeline .swiper-button-next {
  right: 8%;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23d4a024'%2F%3E%3C%2Fsvg%3E");
}
.timeline .swiper-button-next:hover {
  transform: translateX(3px);
}
@media screen and (min-width: 768px) {
  .timeline .swiper-slide-content {
    right: auto;
    left: 50%;
    top: 50%;
    transform: translateY(-50%);
    width:50%;
    font-size: 18px;
    text-align: left;
    left: 40% !important;
    width: 100% !important;
    max-width: 55%;
  }
  .timeline .swiper-slide .timeline-year {
    margin-bottom: 0;
    font-size: 32px;
  }
  .timeline .swiper-slide .timeline-title {
    font-size:40px;
    margin: 0 0 10px;
    font-weight:700;    
  }
  .timeline .swiper-pagination {
    display: flex;
    right:70% !important;
  }
  .timeline .swiper-button-prev {
    top: 15%;
    left: auto;
    right:402%;
    transform: rotate(90deg) translate(0, 10px);
  }
  .timeline .swiper-button-prev:hover {
    transform: rotate(90deg) translate(-3px, 10px);
  }
  .timeline .swiper-button-next {
    top: auto;
    bottom: 15%;
    right: 42%;
    transform: rotate(90deg) translate(0, 10px);
  }
  .timeline .swiper-button-next:hover {
    transform: rotate(90deg) translate(3px, 10px);
  }
  .timeline .about-timeline-title{
    position: absolute;
    top:30px;
    left: 30px;
    position: unset;
    padding: 30px;
  }
  .timeline{
    padding: 0;
  }
  .swiper-buttons{display: none;}
}
@media (min-width: 768px) and (max-width: 1023px) {
  .timeline .swiper-slide .timeline-title { font-size: 30px; }
  .timeline .swiper-slide .timeline-text,
  .timeline .swiper-slide-active .timeline-text { font-size: 15px; }
  .timeline .swiper-pagination-bullet { margin: 13px 0 !important; }
  .timeline .swiper-pagination-bullet-active { font-size: 60px; }
  .swiper-pagination-clickable .swiper-pagination-bullet span { font-size: 20px; }
}
@media (max-width: 767px) {
  .timeline .swiper-slide .timeline-title { margin-bottom: 10px; }
  .timeline .swiper-slide-active .timeline-text { font-size: 16px; }
  .timeline .swiper-slide-content { width: 100%; }

  .about-timeline-title{    
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .swiper-buttons{
    display: flex;
    gap:10px;
  }
  .timeline .swiper-button-next, .timeline .swiper-button-prev{position: unset;}
}
@media (max-width: 520px){
  .timeline .swiper-pagination {
    display: block;
    right: unset !important;
    top: -15px !important;
    left: unset !important;
    bottom: unset !important;
    position: absolute;
    text-align: right;
  }
  .timeline .swiper-pagination::before,
  .timeline .swiper-pagination-bullet::after,
  .timeline .swiper-pagination-bullet-active::before{
    content: unset;
  }
  .timeline .swiper-pagination-bullet:not(.swiper-pagination-bullet-active){
    display: none;
  }
  .timeline .swiper-pagination-bullet-active{
    font-size: 30px;
    padding-right: 0;
  }
  .swiper-pagination-clickable .swiper-pagination-bullet span{
    font-size: 20px;
  }
}
@media screen and (min-width: 1024px) {
  .timeline .swiper-slide-content {
    left:50%;
    width: 500px;
  }
}