/* .wrapper {
  display: flex;
  justify-content: center;
}
.content {
  width: 100%;
  /* max-width: 1300px; */
  /* padding: 80px 40px; */
  /*position: relative;
} */
.op-rotate-slider-wrapper {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
	padding: 0;
/* opacity: 0;
  visibility: hidden; /* ensures it's not shown before load */
/*   transition: opacity 1s ease-in; */
}



.op-rotate-slider-wrapper ul {
	margin-bottom: 0;
}

/* Slider container: relative to allow absolute positioning */
.op-rotate-slider {
  position: relative;
  width: 100%;
  background: #dcd5c5;
  min-height: 500px;
  overflow: hidden;	
}
/* Each slide is absolutely positioned so they stack.
       The active slide has high z-index and full opacity.
       An exiting slide is marked with a lower z-index.
    */
.op-rotate-slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  opacity: 0;
  z-index: 0;
}
.op-rotate-slider-slide.slide-active {
  z-index: 3;
  opacity: 1;
}
.op-rotate-slider-slide.exiting {
  z-index: 2;
}
/* Inner containers for image and text */
.op-rotate-slider-image,
.op-rotate-slider-content {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2em;
  height: 100%;
}
.op-rotate-slider-content {
  padding: 2em 2em 2em 3em;
}
.op-rotate-slider-image {
  	padding: 2em 3em 2em 2em;
}

.op-rotate-slider-image-inner
,.op-rotate-slider-content-inner {
	height: inherit;
	width: 100%;
	display: flex;
	justify-content: center;
	align-self: end;
	max-width: 700px;
}

.op-rotate-slider-image-inner {
	align-self: end;
}

.op-rotate-slider-content-inner {
	flex-direction: column;
	align-self: start;
	align-items: center;
}

/* Set up the image container to host the overlay */
.op-rotate-slider-image {
  position: relative;
  overflow: hidden;
}
/* Overlay using a pseudo-element: slides up from the bottom, fading from 0 to 1.
       The background color is set using a custom property (--overlay-color) */
.op-rotate-slider-image::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;
  background: var(--overlay-color, #000);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}
/* When overlay-anim is added, trigger the slide-up and fade-in animation */
.op-rotate-slider-image.overlay-anim::before {
  animation: slideOverlayUp 1000ms ease forwards;
}
@keyframes slideOverlayUp {
  from {
    bottom: -100%;
    opacity: 0;
  }
  to {
    bottom: 0;
    opacity: 1;
  }
}
/* Image styling: position above the overlay */
.op-rotate-slider-image img {
  height: 100%;
  width: auto;
  object-fit: cover;
  display: block;
  border-radius: 100%;
  position: relative;
  z-index: 2;
}
/* Keyframes for image rotation and opacity */
@keyframes enterTransform {
  from {
    transform: rotate(45deg);
  }
  to {
    transform: rotate(0deg);
  }
}
@keyframes enterOpacity {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes exitTransform {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-45deg);
  }
}
@keyframes exitOpacity {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
/* Animation classes with opacity transition */
.enter-anim {
  animation: enterTransform 1000ms forwards ease,
    enterOpacity 200ms 200ms forwards ease;
}
.exit-anim {
  animation: exitTransform 1000ms forwards ease, exitOpacity 200ms forwards ease;
}
/* Animation classes without opacity transition */
.enter-anim-no-opacity {
  animation: enterTransform 1000ms forwards ease;
}
.exit-anim-no-opacity {
  animation: exitTransform 1000ms forwards ease;
}
/* Keyframes for text content animations – same timing */
@keyframes enterContentTransform {
  from {
    transform: translateY(300px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes enterContentOpacity {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes exitContentTransform {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-300px);
  }
}
@keyframes exitContentOpacity {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
/* Combined animations for text content */
.enter-content-anim {
  animation: enterContentTransform 1000ms forwards ease,
    enterContentOpacity 800ms 600ms forwards ease;
}
.exit-content-anim {
  animation: exitContentTransform 1000ms forwards ease,
    exitContentOpacity 200ms forwards ease;
}
/* Typography */
.op-rotate-slider-content h2 {
  font-size: 3em;
  margin: 0 0 10px 0;
}
.op-rotate-slider-content p {
  font-size: 1.4em;
  margin: 0 0 1em 0;
	text-align: center;
	line-height: 1.2;
}
.op-rotate-slider-content button {
  margin-top: 30px;
}

.op-rotate-slider-tagline {
	font-size: .8em;
	letter-spacing: 4px;
	text-transform: uppercase;
	margin-bottom: 1.5em;
	text-align: center;
}


/* Navigation buttons styling (hidden in this demo) */
.nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  position: absolute;
  right: 0;
  bottom: 30px;
  text-align: center;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  padding: 0 2em;
}
.nav-buttons button {
  background: none;
  border: none;
  width: 20px;
  height: 20px;
  padding: 0;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36'><polyline points='0,0 0,36 36,36' stroke='black' stroke-width='15' fill='none'/></svg>");
  opacity: 0.5;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition-duration: 200ms;
}
.nav-buttons button:hover {
  opacity: 1;
}
#prevBtn {
  rotate: 135deg;
}
#nextBtn {
  rotate: -45deg;
}
/* Pagination Dots styling */
.pagination-dots {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
	flex-direction: column;
  align-items: center;
	gap: 8px;
  z-index: 11;
}
.pagination-dots .dot {
  width: 32px;
  height: 32px;
/*   margin: 8px 0; */
  background-color: #c1c1c1;
border: 1px solid #adadad;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.pagination-dots .dot:hover {
    background-color: var(--global-palette2);
}

.pagination-dots .dot.active {
  background-color: var(--global-palette1);
		cursor: default;
}

@media (max-width: 1024px) {
	.op-rotate-slider {
		height: 600px;
	}
	.op-rotate-slider-slide {
		grid-template-columns: 1fr;
	}
	.pagination-dots {
		  flex-direction: row;
	}
	.pagination-dots .dot {
	  width: 24px;
	  height: 24px;
	}
	.op-rotate-slider-image
	,.op-rotate-slider-content {
		height: 300px;
	}
	
	.op-rotate-slider-image-inner {
		padding: 2em 0;
	}
	.op-rotate-slider-image-inner {
		align-self: center;
	}
	
	.op-rotate-slider-content h2 {
	  font-size: 2em;
	  margin: 0 0 10px 0;
	}
	.op-rotate-slider-content p {
	  font-size: 1em;
	  margin: 0 0 0 0;
		text-align: center;
		line-height: 1.2;
	}
	.op-rotate-slider-tagline { 
		font-size: .7em;
	}
	
}
