.containers {
  position: relative;
  width: 100%;
  height: 600px;
  padding-top: 40px;
  padding-bottom: 30px;
}

.content {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 70px;
  padding: 0 100px;
}

.img-wrapper {
  position: relative;
  width: 30%;
  aspect-ratio: 4 / 5;
  padding: 10px;
  border-radius: 10px;
  transform-origin: center center;
  z-index: 1;
}

.img-wrapper::before,
.img-wrapper::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  z-index: -1;
  top: 10px;
  left: 10px;
  transform: rotate(-4deg);
}

.img-wrapper::after {
  top: 20px;
  left: 20px;
  z-index: -2;
}

.img-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.text {
  flex: 1;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 300;
  line-height: 1.8;
  color: #222;
  opacity: 1;
  transform: translateY(0);

  /* Make height match the container */
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;

  /* Removed min-height for flexible height */
  /* min-height: 340px; */
}

.text h2 {
  font-weight: 700; 
  font-size: 1.875rem; 
}

.content:not(:first-child) .text {
  opacity: 0;
}

.content:not(:first-child) .img-wrapper {
  opacity: 0;
  transform: translateY(-200%);
}



/* Need this Css*/
/* PRotected  */
.swiper-button-next::after,
.swiper-button-prev::after {
  content: none !important;    
}



