.about_history{
    padding: 130px 0 120px;
    background-color: #F4F4F4;
}
.about_history .head h2{
    line-height: 58px;
    margin-top: 15px;
}
.about_history .head{
    margin-bottom: 30px;
}
.about_history .nav{
    margin-bottom: 100px;
}
.about_history .nav ul{
    display: flex;
    gap: 11px;
}
.about_history .nav li{
    display: block;
    text-align: center;
    line-height: 50px;
    background-color: #0C0D10;
    color: white;
    min-width: 145px;
    font-weight: 500;
    font-size: 20px;
    font-family: 'Saira', sans-serif;
    padding: 0 30px;
    cursor: pointer;
    transition: all 0.3s;
    clip-path: polygon(
        0 0,
        100% 0,
        100% 100%,
        0px 100%,
        0 calc(100% - 0px)
    );

}
.about_history .nav li.active{
    background-color: var(--primary);
    clip-path: polygon(
        0 0,
        100% 0,
        100% 100%,
        9px 100%,
        0 calc(100% - 9px)
    );
}
.about_history .left{
    width: 44.444%;
}
.about_history .left .img{
    aspect-ratio: 640/650;
    display: none;
    position: relative;
    z-index: 5;
}
.about_history .left .img.active{
    display: block;
}
.about_history .swiper_history{
    transform: translateY(-10px);
    max-height: 653px;
    overflow: hidden;
    padding-left: 43px;
}
.about_history .right{
    width: 47.5%;
    position: relative;
}
.about_history .right:before{
    content: "";
    width: 2px;
    height: 100%;
    background-color: #e0e0e0;
    position: absolute;
    left: 8px;
    top: 4px;
}
.about_history .right strong{
    font-size: 28px;
    font-weight: 700;
    color: #14171d;
    font-family: 'Saira', sans-serif;
    display: flex;
    margin-bottom: 10px;
    position: relative;
    transition: all 0.3s;
}
.about_history .right strong:before{
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    background-color: white;
    position: absolute;
    left: -43px;
    top: 12px;
}
.about_history .right li{
    font-size: 15px;
    line-height: 22px;
    color: #222;
    list-style: disc;
    margin-left: 20px;
}
.about_history .right li + li{
    margin-top: 10px;
}

.about_history .right .active strong{
    color: var(--primary);
}

.about_history .imgs{
    position: relative;
}
.about_history .imgs:before{
    content: "";
    width: 177px;
    height: 260px;
    position: absolute;
    left: -80px;
    top: -30px;
    z-index: 1;
    background: url('../img/history_icon1.svg') no-repeat center/contain;
}

.about_history .imgs:after{
    content: "";
    width: 154px;
    height: 131px;
    position: absolute;
    right: -78px;
    bottom: -40px;
    z-index: 9;
    background: url('../img/history_icon2.svg') no-repeat center/contain;
}

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */
@media screen and (max-width: 1024px) {
  .about_history {
    padding: 90px 0 80px;
  }
  .about_history .nav {
    margin-bottom: 50px;
  }
  .about_history .imgs:before,
  .about_history .imgs:after {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .about_history {
    padding: 50px 0;
  }
  .about_history .head {
    margin-bottom: 20px;
  }
  .about_history .head h2 {
    line-height: 1.3;
    margin-top: 8px;
  }
  .about_history .nav {
    margin-bottom: 30px;
    width: calc(100% + 40px);
    margin-left: -20px;
    padding: 0 20px;
    overflow-x: auto;
  }
  .about_history .nav::-webkit-scrollbar {
    display: none;
  }
  .about_history .nav ul {
    flex-wrap: nowrap;
  }
  .about_history .nav li {
    flex-shrink: 0;
    min-width: unset;
    line-height: 44px;
    font-size: 15px;
    padding: 0 20px;
  }
  .about_history .main {
    flex-direction: column;
    gap: 30px;
  }
  .about_history .left,
  .about_history .right {
    width: 100%;
  }
  .about_history .swiper_history {
    max-height: none;
    padding-left: 30px;
    transform: none;
  }
  .about_history .right strong {
    font-size: 20px;
  }
  .about_history .right strong:before {
    left: -30px;
  }
  .about_history .right li {
    font-size: 14px;
  }
}