
.style-8 {
  padding: 80px 0;
  background: #f4f6fb;
}

.style-8 .container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.style-8 .feature-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 100px;
  position: relative;
}

.style-8 .feature-item.reverse {
  flex-direction: row-reverse;
}

/* IMAGE */
.style-8 .feature-media {
  width: 50%;
  position: relative;
  z-index: 2;
}

.style-8 .feature-media img {
  width: 100%;
  border-radius: 30px;
  transform: rotate(-2deg);
  transition: 0.5s ease;
}

/* hover */
.style-8 .feature-item:hover .feature-media img {
  transform: rotate(0deg) scale(1.05);
}

/* CONTENT */
.style-8 .feature-content {
  width: 45%;
  padding: 45px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
}

/* TEXT */
.style-8 .feature-content h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #222;
}

.style-8 .feature-content p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* BUTTON */
.style-8 .feature-content a {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 30px;
  background: linear-gradient(135deg, #6c63ff, #a855f7);
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.style-8 .feature-content a:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(108, 99, 255, 0.4);
}

/* BACKGROUND SHAPE */
.style-8 .feature-item::before {
  content: "";
  position: absolute;
  width: 60%;
  height: 100%;
  background: linear-gradient(135deg, #e0e7ff, #f3e8ff);
  border-radius: 40px;
  transform: skewX(-10deg);
  z-index: 1;
  left: 0;
}

.style-8 .feature-item.reverse::before {
  left: auto;
  right: 0;
  transform: skewX(10deg);
}
@media(max-width:992px){
  .style-8 .feature-content {
    padding: 30px;
  }

  .style-8 .feature-content h3 {
    font-size: 24px;
  }
}
@media(max-width:768px){
	.style-8 .feature-item,
  .style-8 .feature-item.reverse {
    flex-direction: column;
    margin-bottom: 60px;
  }

  .style-8 .feature-media,
  .style-8 .feature-content {
    width: 100%;
  }

  .style-8 .feature-content {
    margin-top: 20px;
  }

  .style-8 .feature-item::before {
    display: none;
  }

  .style-8 .feature-media img {
    transform: none;
  }
  }
}