.sr-only {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.history-slider-wrapper {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  padding: 60px 30px;
  transform: skewX(-9deg);
}

.history-image-swiper {
  padding: 20px 0;
  overflow: visible !important;
  transform: skewX(9deg);
}

.history-slide {
  height: 450px;
  position: relative;
  z-index: 1;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.history-skew-mask {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  transform: skewX(-15deg) scale(0.9);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  background: #000;
}

.history-skew-mask .slide-image {
  width: 160%;
  height: 100%;
  margin-left: -30%;
  background-size: cover;
  background-position: center;
  transform: skewX(15deg);
}

.swiper-slide-active .history-skew-mask {
  transform: skewX(-15deg) scale(1.2);
  opacity: 1;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.swiper-slide-active {
  z-index: 10;
}

.history-nav-prev,
.history-nav-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f60;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 50;
  transition: transform 0.2s;
}
.history-nav-prev:hover,
.history-nav-next:hover {
  transform: translateY(-50%) scale(1.1);
}
.history-nav-prev {
  left: 10%;
}
.history-nav-next {
  right: 10%;
}

.history-content-container {
  max-width: 700px;
  margin: 50px auto 0;
  text-align: center;
  color: #fff;
  transform: skewX(9deg);
}
.history-text-item {
  margin-top: 80px;
  display: none;
  animation: fadeUp 0.6s ease forwards;
  font-family: "Gotham Narrow Medium", sans-serif;
}
.history-text-item.active {
  display: block;
}
.history-text-item h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .history-slide {
    height: 250px;
  }
  .history-skew-mask {
    transform: skewX(-10deg) scale(0.95);
  }
  .swiper-slide-active .history-skew-mask {
    transform: skewX(-10deg) scale(1.05);
  }
  .history-nav-prev {
    left: 10px;
  }
  .history-nav-next {
    right: 10px;
  }
}
