* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.secswip {
  background: #040128;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-container {
  width: 150px;
  height: auto;
  padding: 50px 20px;
}

@media (min-width: 300px) {
  .swiper-container {
    width: 180px;
  }
}

@media (min-width: 576px) {
  .swiper-container {
    width: 300px;
  }
}

@media (min-width: 992px) {
  .swiper-container {
    width: 500px;
  }
}

.swiper-slide {
  width: 80%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: transform 0.5s, scale 0.5s;
  box-shadow: 0 15px 50px rgba(0,0,0,0.2);
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  color: white;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  z-index: 1;
}

.slide-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.swiper-slide-active {
  transform: scale(1.2);
  z-index: 2;
}

.swiper-slide-prev, .swiper-slide-next {
  transform: scale(0.9);
  opacity: 0.7;
}

.title {
  font-size: 2em;
  margin-bottom: 10px;
  transform: translateY(50px);
  opacity: 0;
  transition: 0.3s;
}

.subtitle {
  font-size: 1.2em;
  transform: translateY(30px);
  opacity: 0;
  transition: 0.3s 0.1s;
}

.swiper-slide-active .title, .swiper-slide-active .subtitle {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 360px) {
  .swiper-slide {
    width: 25%;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .swiper-slide {
    width: 50%;
    height: 400px;
  }
}

@media (min-width: 360px) {
  .title {
    font-size: 0.7em;
    margin-bottom: 5px;
  }
}

@media (min-width: 768px) {
  .title {
    font-size: 1.5em;
  }
}

@media (min-width: 360px) {
  .subtitle {
    font-size: 0.5em;
    margin-bottom: 1px;
  }
}

@media (min-width: 768px) {
  .subtitle {
    font-size: 1em;
  }
}

