.dynamic-slide-pro {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  min-height: 200px;
}

.dynamic-slide-pro__slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.dynamic-slide-pro__slide {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
}

.dynamic-slide-pro__image-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.dynamic-slide-pro__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 0;
}

.dynamic-slide-pro__content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  z-index: 2;
  color: var(--text-color, #ffffff);
}

.dynamic-slide-pro__content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--overlay-color, rgba(0, 0, 0, 0.3));
  opacity: var(--overlay-opacity, 0.3);
  z-index: -1;
}

.dynamic-slide-pro__heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(20px);
}

.dynamic-slide-pro__description {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  max-width: 600px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(20px);
}

.dynamic-slide-pro__button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  background-color: var(--button-color, #000000);
  color: var(--button-text-color, #ffffff);
}

.dynamic-slide-pro__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.button-style-solid {
  background-color: var(--button-color, #000000);
  color: var(--button-text-color, #ffffff);
  border: none;
}

.button-style-outline {
  background-color: transparent;
  color: var(--button-color, #000000);
  border: 2px solid var(--button-color, #000000);
}

.button-style-ghost {
  background-color: transparent;
  color: var(--button-text-color, #ffffff);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.dynamic-slide-pro__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  color: var(--arrow-color, #000000);
}

.dynamic-slide-pro__arrow:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dynamic-slide-pro__arrow--prev {
  left: 20px;
}

.dynamic-slide-pro__arrow--next {
  right: 20px;
}

.dynamic-slide-pro__dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}

.dynamic-slide-pro__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--dot-color, rgba(255, 255, 255, 0.5));
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dynamic-slide-pro__dot.active,
.dynamic-slide-pro__dot[aria-current="true"] {
  background: var(--active-dot-color, #ffffff);
  transform: scale(1.2);
}

/* Text alignment classes */
.text-left {
  text-align: left;
  align-items: flex-start;
}

.text-center {
  text-align: center;
  align-items: center;
}

.text-right {
  text-align: right;
  align-items: flex-end;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive styles */
@media (max-width: 768px) {
  .dynamic-slide-pro__heading {
    font-size: 1.75rem;
  }

  .dynamic-slide-pro__description {
    font-size: 1rem;
  }

  .dynamic-slide-pro__arrow {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .dynamic-slide-pro__heading {
    font-size: 1.5rem;
  }

  .dynamic-slide-pro__content {
    padding: 1.5rem;
  }

  .dynamic-slide-pro__arrow {
    width: 36px;
    height: 36px;
  }
}
