.custom-slider-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 8px;
}

.custom-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Base slide styles */
.custom-slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  display: flex;
  align-items: center;
  transform-origin: center center;
  z-index: 1;
  will-change: transform, opacity;
}

.custom-slider-slide.active {
  opacity: 1;
  z-index: 2;
}

/* FADE ANIMATION */
.custom-slider-wrapper[data-transition="fade"] .custom-slider-slide {
  transition: opacity 0.8s ease-in-out;
}

/* SLIDE ANIMATIONS */
.custom-slider-wrapper[data-transition="slide"] .custom-slider-slide {
  opacity: 1;
  transition: transform 0.8s ease-in-out;
}

/* Horizontal Slide */
.custom-slider-wrapper[data-transition="slide"][data-slide-direction="horizontal"] .custom-slider-slide {
  transform: translateX(100%);
}

.custom-slider-wrapper[data-transition="slide"][data-slide-direction="horizontal"] .custom-slider-slide.active {
  transform: translateX(0);
}

.custom-slider-wrapper[data-transition="slide"][data-slide-direction="horizontal"] .custom-slider-slide.slide-out {
  transform: translateX(-100%);
}

/* Vertical Slide */
.custom-slider-wrapper[data-transition="slide"][data-slide-direction="vertical"] .custom-slider-slide {
  transform: translateY(100%);
}

.custom-slider-wrapper[data-transition="slide"][data-slide-direction="vertical"] .custom-slider-slide.active {
  transform: translateY(0);
}

.custom-slider-wrapper[data-transition="slide"][data-slide-direction="vertical"] .custom-slider-slide.slide-out {
  transform: translateY(-100%);
}

/* Diagonal Slide Up */
.custom-slider-wrapper[data-transition="slide"][data-slide-direction="diagonal-up"] .custom-slider-slide {
  transform: translate(100%, 100%);
}

.custom-slider-wrapper[data-transition="slide"][data-slide-direction="diagonal-up"] .custom-slider-slide.active {
  transform: translate(0, 0);
}

.custom-slider-wrapper[data-transition="slide"][data-slide-direction="diagonal-up"] .custom-slider-slide.slide-out {
  transform: translate(-100%, -100%);
}

/* Diagonal Slide Down */
.custom-slider-wrapper[data-transition="slide"][data-slide-direction="diagonal-down"] .custom-slider-slide {
  transform: translate(100%, -100%);
}

.custom-slider-wrapper[data-transition="slide"][data-slide-direction="diagonal-down"] .custom-slider-slide.active {
  transform: translate(0, 0);
}

.custom-slider-wrapper[data-transition="slide"][data-slide-direction="diagonal-down"] .custom-slider-slide.slide-out {
  transform: translate(-100%, 100%);
}

/* PUSH ANIMATION */
.custom-slider-wrapper[data-transition="push"] .custom-slider-slide {
  transition: transform 0.8s ease-in-out;
  opacity: 1;
}

.custom-slider-wrapper[data-transition="push"][data-slide-direction="horizontal"] .custom-slider-slide {
  transform: translateX(100%);
}

.custom-slider-wrapper[data-transition="push"][data-slide-direction="horizontal"] .custom-slider-slide.active {
  transform: translateX(0);
}

.custom-slider-wrapper[data-transition="push"][data-slide-direction="horizontal"] .custom-slider-slide.push-out {
  transform: translateX(-100%);
}

.custom-slider-wrapper[data-transition="push"][data-slide-direction="vertical"] .custom-slider-slide {
  transform: translateY(100%);
}

.custom-slider-wrapper[data-transition="push"][data-slide-direction="vertical"] .custom-slider-slide.active {
  transform: translateY(0);
}

.custom-slider-wrapper[data-transition="push"][data-slide-direction="vertical"] .custom-slider-slide.push-out {
  transform: translateY(-100%);
}

/* COVER ANIMATION */
.custom-slider-wrapper[data-transition="cover"] .custom-slider-slide {
  transition: transform 0.8s ease-in-out;
  opacity: 1;
}

.custom-slider-wrapper[data-transition="cover"][data-slide-direction="horizontal"] .custom-slider-slide {
  transform: translateX(100%);
}

.custom-slider-wrapper[data-transition="cover"][data-slide-direction="horizontal"] .custom-slider-slide.active {
  transform: translateX(0);
  z-index: 3;
}

.custom-slider-wrapper[data-transition="cover"][data-slide-direction="vertical"] .custom-slider-slide {
  transform: translateY(100%);
}

.custom-slider-wrapper[data-transition="cover"][data-slide-direction="vertical"] .custom-slider-slide.active {
  transform: translateY(0);
  z-index: 3;
}

/* UNCOVER ANIMATION */
.custom-slider-wrapper[data-transition="uncover"] .custom-slider-slide {
  transition: transform 0.8s ease-in-out;
  opacity: 1;
}

.custom-slider-wrapper[data-transition="uncover"] .custom-slider-slide.active {
  transform: translateX(0);
  z-index: 1;
}

.custom-slider-wrapper[data-transition="uncover"][data-slide-direction="horizontal"] .custom-slider-slide.uncover-out {
  transform: translateX(-100%);
  z-index: 3;
}

.custom-slider-wrapper[data-transition="uncover"][data-slide-direction="vertical"] .custom-slider-slide.uncover-out {
  transform: translateY(-100%);
  z-index: 3;
}

/* ZOOM ANIMATIONS */
.custom-slider-wrapper[data-transition="zoom"] .custom-slider-slide {
  transform: scale(0.8);
  transition: all 0.8s ease-in-out;
}

.custom-slider-wrapper[data-transition="zoom"] .custom-slider-slide.active {
  opacity: 1;
  transform: scale(1);
}

.custom-slider-wrapper[data-transition="zoom-out"] .custom-slider-slide {
  transform: scale(1.2);
  transition: all 0.8s ease-in-out;
}

.custom-slider-wrapper[data-transition="zoom-out"] .custom-slider-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* FLIP ANIMATIONS */
.custom-slider-wrapper[data-transition="flip"] {
  perspective: 1000px;
}

.custom-slider-wrapper[data-transition="flip"] .custom-slider-slide {
  transform: rotateY(-90deg);
  transition: transform 0.8s ease-in-out;
  opacity: 1;
}

.custom-slider-wrapper[data-transition="flip"] .custom-slider-slide.active {
  transform: rotateY(0deg);
}

.custom-slider-wrapper[data-transition="flip-vertical"] {
  perspective: 1000px;
}

.custom-slider-wrapper[data-transition="flip-vertical"] .custom-slider-slide {
  transform: rotateX(-90deg);
  transition: transform 0.8s ease-in-out;
  opacity: 1;
}

.custom-slider-wrapper[data-transition="flip-vertical"] .custom-slider-slide.active {
  transform: rotateX(0deg);
}

/* CUBE ANIMATIONS */
.custom-slider-wrapper[data-transition="cube"] {
  perspective: 1200px;
}

.custom-slider-wrapper[data-transition="cube"] .custom-slider-slide {
  transform: rotateY(-90deg) translateZ(-250px);
  transition: transform 0.8s ease-in-out;
  opacity: 1;
}

.custom-slider-wrapper[data-transition="cube"] .custom-slider-slide.active {
  transform: rotateY(0deg) translateZ(0);
}

.custom-slider-wrapper[data-transition="cube-vertical"] {
  perspective: 1200px;
}

.custom-slider-wrapper[data-transition="cube-vertical"] .custom-slider-slide {
  transform: rotateX(-90deg) translateZ(-250px);
  transition: transform 0.8s ease-in-out;
  opacity: 1;
}

.custom-slider-wrapper[data-transition="cube-vertical"] .custom-slider-slide.active {
  transform: rotateX(0deg) translateZ(0);
}

/* BOUNCE ANIMATION */
.custom-slider-wrapper[data-transition="bounce"] .custom-slider-slide {
  transform: scale(0.3) translateY(100px);
  transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.custom-slider-wrapper[data-transition="bounce"] .custom-slider-slide.active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* ROTATE ANIMATION */
.custom-slider-wrapper[data-transition="rotate"] .custom-slider-slide {
  transform: rotate(180deg) scale(0.5);
  transition: all 0.8s ease-in-out;
}

.custom-slider-wrapper[data-transition="rotate"] .custom-slider-slide.active {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* SCALE ANIMATION */
.custom-slider-wrapper[data-transition="scale"] .custom-slider-slide {
  transform: scale(1.5);
  transition: all 0.8s ease-in-out;
}

.custom-slider-wrapper[data-transition="scale"] .custom-slider-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* SKEW ANIMATION */
.custom-slider-wrapper[data-transition="skew"] .custom-slider-slide {
  transform: skewX(45deg) scale(0.8);
  transition: all 0.8s ease-in-out;
}

.custom-slider-wrapper[data-transition="skew"] .custom-slider-slide.active {
  opacity: 1;
  transform: skewX(0deg) scale(1);
}

/* ELASTIC ANIMATION */
.custom-slider-wrapper[data-transition="elastic"] .custom-slider-slide {
  transform: scale(0.1);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-slider-wrapper[data-transition="elastic"] .custom-slider-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* BLUR ANIMATION */
.custom-slider-wrapper[data-transition="blur"] .custom-slider-slide {
  filter: blur(10px);
  transform: scale(1.1);
  transition: all 0.8s ease-in-out;
}

.custom-slider-wrapper[data-transition="blur"] .custom-slider-slide.active {
  opacity: 1;
  filter: blur(0px);
  transform: scale(1);
}

/* Content Animation Base */
.custom-slider-content-inner .content-element {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.custom-slider-slide.active .custom-slider-content-inner .content-element {
  opacity: 1;
  transform: translateY(0);
}

/* Content Animation Classes */
.custom-slider-slide.active .custom-slider-content-inner .content-element.animate-fadeIn {
  animation: contentFadeIn 0.8s ease forwards;
}

.custom-slider-slide.active .custom-slider-content-inner .content-element.animate-fadeInUp {
  animation: contentFadeInUp 0.8s ease forwards;
}

.custom-slider-slide.active .custom-slider-content-inner .content-element.animate-fadeInDown {
  animation: contentFadeInDown 0.8s ease forwards;
}

.custom-slider-slide.active .custom-slider-content-inner .content-element.animate-fadeInLeft {
  animation: contentFadeInLeft 0.8s ease forwards;
}

.custom-slider-slide.active .custom-slider-content-inner .content-element.animate-fadeInRight {
  animation: contentFadeInRight 0.8s ease forwards;
}

.custom-slider-slide.active .custom-slider-content-inner .content-element.animate-slideInUp {
  animation: contentSlideInUp 0.8s ease forwards;
}

.custom-slider-slide.active .custom-slider-content-inner .content-element.animate-slideInDown {
  animation: contentSlideInDown 0.8s ease forwards;
}

.custom-slider-slide.active .custom-slider-content-inner .content-element.animate-slideInLeft {
  animation: contentSlideInLeft 0.8s ease forwards;
}

.custom-slider-slide.active .custom-slider-content-inner .content-element.animate-slideInRight {
  animation: contentSlideInRight 0.8s ease forwards;
}

.custom-slider-slide.active .custom-slider-content-inner .content-element.animate-zoomIn {
  animation: contentZoomIn 0.8s ease forwards;
}

.custom-slider-slide.active .custom-slider-content-inner .content-element.animate-zoomInUp {
  animation: contentZoomInUp 0.8s ease forwards;
}

.custom-slider-slide.active .custom-slider-content-inner .content-element.animate-zoomInDown {
  animation: contentZoomInDown 0.8s ease forwards;
}

.custom-slider-slide.active .custom-slider-content-inner .content-element.animate-bounceIn {
  animation: contentBounceIn 0.8s ease forwards;
}

.custom-slider-slide.active .custom-slider-content-inner .content-element.animate-bounceInUp {
  animation: contentBounceInUp 0.8s ease forwards;
}

.custom-slider-slide.active .custom-slider-content-inner .content-element.animate-bounceInDown {
  animation: contentBounceInDown 0.8s ease forwards;
}

.custom-slider-slide.active .custom-slider-content-inner .content-element.animate-rotateIn {
  animation: contentRotateIn 0.8s ease forwards;
}

.custom-slider-slide.active .custom-slider-content-inner .content-element.animate-flipInX {
  animation: contentFlipInX 0.8s ease forwards;
}

.custom-slider-slide.active .custom-slider-content-inner .content-element.animate-flipInY {
  animation: contentFlipInY 0.8s ease forwards;
}

/* Content Animation Keyframes */
@keyframes contentFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes contentFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes contentFadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes contentFadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes contentFadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes contentSlideInUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes contentSlideInDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes contentSlideInLeft {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes contentSlideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes contentZoomIn {
  from {
    opacity: 0;
    transform: scale(0.3);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes contentZoomInUp {
  from {
    opacity: 0;
    transform: scale(0.3) translateY(30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes contentZoomInDown {
  from {
    opacity: 0;
    transform: scale(0.3) translateY(-30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes contentBounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes contentBounceInUp {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(30px);
  }
  50% {
    opacity: 1;
    transform: scale(1.05) translateY(-10px);
  }
  70% {
    transform: scale(0.9) translateY(5px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes contentBounceInDown {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(-30px);
  }
  50% {
    opacity: 1;
    transform: scale(1.05) translateY(10px);
  }
  70% {
    transform: scale(0.9) translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes contentRotateIn {
  from {
    opacity: 0;
    transform: rotate(-200deg);
  }
  to {
    opacity: 1;
    transform: rotate(0deg);
  }
}

@keyframes contentFlipInX {
  from {
    opacity: 0;
    transform: perspective(400px) rotateX(90deg);
  }
  40% {
    transform: perspective(400px) rotateX(-20deg);
  }
  60% {
    opacity: 1;
    transform: perspective(400px) rotateX(10deg);
  }
  80% {
    transform: perspective(400px) rotateX(-5deg);
  }
  to {
    opacity: 1;
    transform: perspective(400px) rotateX(0deg);
  }
}

@keyframes contentFlipInY {
  from {
    opacity: 0;
    transform: perspective(400px) rotateY(90deg);
  }
  40% {
    transform: perspective(400px) rotateY(-20deg);
  }
  60% {
    opacity: 1;
    transform: perspective(400px) rotateY(10deg);
  }
  80% {
    transform: perspective(400px) rotateY(-5deg);
  }
  to {
    opacity: 1;
    transform: perspective(400px) rotateY(0deg);
  }
}

/* Background Layout */
.custom-slider-slide.image-position-background .custom-slider-background {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.custom-slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: 0.2;
}

.custom-slider-slide.image-position-background .custom-slider-content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 60px;
}

.custom-slider-slide.image-position-background .custom-slider-content-inner {
  max-width: 500px;
}

/* Split Screen Layouts */
.custom-slider-slide.image-position-left .custom-slider-split-layout,
.custom-slider-slide.image-position-right .custom-slider-split-layout {
  display: flex;
  width: 100%;
  height: 100%;
}

/* Left Image Layout */
.custom-slider-slide.image-position-left .custom-slider-image-side {
  flex: 0 0 60%;
  height: 100%;
  overflow: hidden;
}

.custom-slider-slide.image-position-left .custom-slider-content-inner {
  flex: 1;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

/* Right Image Layout */
.custom-slider-slide.image-position-right .custom-slider-content-inner {
  flex: 0 0 40%;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.custom-slider-slide.image-position-right .custom-slider-image-side {
  flex: 1;
  height: 100%;
  overflow: hidden;
}

/* Image Styling */
.custom-slider-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Content Styling */
.custom-slider-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  line-height: 1.2;
  color: #ffffff;
}

.custom-slider-content {
  font-size: 1.1rem;
  margin: 0 0 30px 0;
  line-height: 1.6;
  opacity: 0.95;
  color: #ffffff;
}

.custom-slider-button-wrapper {
  margin-top: 30px;
}

.custom-slider-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #1e40af;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.custom-slider-button:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Button Icon Styling */
.custom-slider-button-icon {
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.custom-slider-button-icon i,
.custom-slider-button-icon svg {
  width: 1em;
  height: 1em;
}

/* Icon Position Specific Styles */
.custom-slider-button.icon-position-before {
  flex-direction: row;
}

.custom-slider-button.icon-position-after {
  flex-direction: row;
}

/* Icon Animation on Hover */
.custom-slider-button:hover .custom-slider-button-icon {
  transform: translateX(4px);
}

.custom-slider-button.icon-position-before:hover .custom-slider-button-icon {
  transform: translateX(-4px);
}

/* Navigation Elements */
.custom-slider-navigation {
  position: absolute;
  bottom: 20px;
  right: 80px;
  display: flex;
  gap: 10px;
  z-index: 3;
}

.custom-slider-arrow {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-slider-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.custom-slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.custom-slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-slider-dot.active,
.custom-slider-dot:hover {
  background: #ffffff;
}

.custom-slider-counter {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  z-index: 3;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .custom-slider-wrapper {
    height: 450px;
  }

  .custom-slider-heading {
    font-size: 2.2rem;
  }

  .custom-slider-content {
    font-size: 1rem;
  }

  .custom-slider-slide.image-position-left .custom-slider-content-inner,
  .custom-slider-slide.image-position-right .custom-slider-content-inner {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .custom-slider-wrapper {
    height: 400px;
  }

  .custom-slider-slide.image-position-background .custom-slider-content-wrapper {
    padding: 0 30px;
  }

  .custom-slider-heading {
    font-size: 2rem;
  }

  .custom-slider-content {
    font-size: 1rem;
  }

  /* Stack content vertically on tablet */
  .custom-slider-slide.image-position-left .custom-slider-split-layout,
  .custom-slider-slide.image-position-right .custom-slider-split-layout {
    flex-direction: column;
  }

  .custom-slider-slide.image-position-left .custom-slider-image-side,
  .custom-slider-slide.image-position-right .custom-slider-image-side {
    flex: 0 0 50%;
  }

  .custom-slider-slide.image-position-left .custom-slider-content-inner,
  .custom-slider-slide.image-position-right .custom-slider-content-inner {
    flex: 0 0 50%;
    padding: 30px 25px;
  }

  .custom-slider-navigation {
    right: 60px;
  }
}

@media (max-width: 480px) {
  .custom-slider-wrapper {
    height: 350px;
  }

  .custom-slider-slide.image-position-background .custom-slider-content-wrapper {
    padding: 0 20px;
  }

  .custom-slider-slide.image-position-left .custom-slider-content-inner,
  .custom-slider-slide.image-position-right .custom-slider-content-inner {
    padding: 20px 15px;
  }

  .custom-slider-heading {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   Full Width Slider Layout Styles
   ========================================================================== */
.custom-slider-wrapper.custom-slider-fullwidth,
.custom-slider-wrapper.custom-slider-layout-full_width {
  width: 100%;
  position: relative;
}

.custom-slider-wrapper.custom-slider-fullwidth .custom-slider-slide,
.custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-slide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.custom-slider-wrapper.custom-slider-fullwidth .custom-slider-background,
.custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-background {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  z-index: 1;
}

.custom-slider-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
  display: block;
}

.custom-slider-wrapper.custom-slider-fullwidth .custom-slider-overlay,
.custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-overlay,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-overlay,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
}

.custom-slider-wrapper.custom-slider-fullwidth .custom-slider-content-wrapper,
.custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-content-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 0;
  z-index: 2;
  pointer-events: none;
}

.custom-slider-wrapper.custom-slider-fullwidth .custom-slider-content-inner,
.custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-content-inner,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-content-inner,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-content-inner,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-slide .custom-slider-content-inner,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-slide .custom-slider-content-inner {
    max-width: 520px;
    background: transparent !important;
    background-color: transparent !important;
    padding: 40px 40px 20px 40px !important;
    height: 85% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    text-align: left !important;
    box-shadow: none !important;
    pointer-events: auto;

}

/* Fixed bottom-left button position when slide has no title/description */
.custom-slider-wrapper.custom-slider-fullwidth .custom-slider-slide.has-no-text .custom-slider-content-inner,
.custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-slide.has-no-text .custom-slider-content-inner,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-slide.has-no-text .custom-slider-content-inner,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-slide.has-no-text .custom-slider-content-inner {
  justify-content: flex-end !important;
  background: transparent !important;
  background-color: transparent !important;
}

.custom-slider-wrapper.custom-slider-fullwidth .custom-slider-heading,
.custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-heading,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-content-inner h2,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-content-inner h2 {
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #ffffff !important;
  margin-bottom: 40px !important;
}

.custom-slider-wrapper.custom-slider-fullwidth .custom-slider-content,
.custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-content,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-content-inner p,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-content-inner p {
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: #ffffff !important;
  margin-bottom: 20px !important;
  opacity: 0.95;
}

.custom-slider-wrapper.custom-slider-fullwidth .custom-slider-button-wrapper,
.custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-button-wrapper,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-button-wrapper,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-button-wrapper {
  margin-top: auto !important;
  margin-bottom: 0 !important;
  pointer-events: auto;
}

.custom-slider-wrapper.custom-slider-fullwidth .custom-slider-button,
.custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-button {
  background: #ffffff !important;
  color: #194C9F !important;
  padding: 10px 22px !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
}

.custom-slider-wrapper.custom-slider-fullwidth .custom-slider-dots,
.custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-dots,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-dots,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-dots {
  position: absolute;
  bottom: 25px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  align-items: center;
  gap: 12px !important;
  z-index: 3;
  width: auto !important;
  max-width: max-content !important;
}

.custom-slider-wrapper.custom-slider-fullwidth .custom-slider-dots .custom-slider-dot,
.custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-dots .custom-slider-dot,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-dots .custom-slider-dot,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-dots .custom-slider-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.5) !important;
  border: none !important;
  position: relative !important;
  cursor: pointer;
}

.custom-slider-wrapper.custom-slider-fullwidth .custom-slider-dots .custom-slider-dot.active,
.custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-dots .custom-slider-dot.active,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-dots button.custom-slider-dot.active,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-dots button.custom-slider-dot.active {
  background: #194C9F !important;
}

.custom-slider-wrapper.custom-slider-fullwidth .custom-slider-dot::after,
.custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-dot::after,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-dot::after,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-dot::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  left: -4px;
  top: -4px;
  border-radius: 50%;
  border: 1.5px solid #ffffff !important;
  display: block;
}

.custom-slider-wrapper.custom-slider-fullwidth .custom-slider-dots button.custom-slider-dot.active::after,
.custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-dots button.custom-slider-dot.active::after,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-dots button.custom-slider-dot.active::after,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-dots button.custom-slider-dot.active::after {
  background: #ffffff !important;
  z-index: -1 !important;
}

/* Self-contained navigation bar containing prev, counter, and next */
.custom-slider-navigation,
.custom-slider-wrapper.custom-slider-fullwidth .custom-slider-navigation,
.custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-navigation,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-navigation {
  background: #ffffff !important;
  border-radius: 100px !important;
  padding: 4px 8px !important;
  position: absolute !important;
  bottom: 20px !important;
  right: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-width: 105px !important;
  width: auto !important;
  height: 38px !important;
  z-index: 3 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  gap: 4px !important;
}

.custom-slider-navigation .custom-slider-arrow,
.custom-slider-wrapper.custom-slider-fullwidth .custom-slider-navigation .custom-slider-arrow,
.custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-navigation .custom-slider-arrow,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-navigation button.custom-slider-arrow {
  width: 28px !important;
  height: 28px !important;
  background: transparent !important;
  border: none !important;
  color: #194C9F !important;
  font-size: 18px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  transition: background 0.2s !important;
  padding: 0 !important;
}

.custom-slider-navigation .custom-slider-arrow:hover,
.custom-slider-wrapper.custom-slider-fullwidth .custom-slider-navigation .custom-slider-arrow:hover,
.custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-navigation .custom-slider-arrow:hover,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-navigation button.custom-slider-arrow:hover {
  background: #dde5ff !important;
}

/* Counter positioned inside navigation */
.custom-slider-navigation .custom-slider-counter,
.custom-slider-wrapper.custom-slider-fullwidth .custom-slider-navigation .custom-slider-counter,
.custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-navigation .custom-slider-counter,
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-navigation .custom-slider-counter {
  position: static !important;
  right: auto !important;
  bottom: auto !important;
  top: auto !important;
  left: auto !important;
  background: transparent !important;
  color: #1f2937 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  padding: 0 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 1 !important;
  pointer-events: none;
}
.custom-slider-navigation .custom-slider-arrow, .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-navigation .custom-slider-arrow, .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-navigation .custom-slider-arrow, .hom-bnr-mn .hom-bnr-sldr-col .custom-slider-navigation button.custom-slider-arrow {
    font-size: 0 !important;
}
@media (max-width: 768px) {
  .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-content-inner,
  .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-content-inner,
  .hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-slide .custom-slider-content-inner,
  .hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-slide .custom-slider-content-inner {
    max-width: 100%;
    padding: 30px 20px !important;
  }
  
  .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-heading,
  .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-heading,
  .hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-content-inner h2,
  .hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-content-inner h2 {
    font-size: 20px !important;
  }

  .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-content,
  .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-content,
  .hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-content-inner p,
  .hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-content-inner p {
    font-size: 14px !important;
  }

  .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-dots,
  .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-dots,
  .hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-dots,
  .hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-dots {
    left: 45% !important;
    bottom: 20px !important;
  }
}

@media (max-width: 480px) {
  .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-content-inner,
  .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-content-inner,
  .hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-slide .custom-slider-content-inner,
  .hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-slide .custom-slider-content-inner {
    padding: 20px 15px !important;
  }
  
  .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-heading,
  .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-heading,
  .hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-content-inner h2,
  .hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-content-inner h2 {
    font-size: 18px !important;
  }

  .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-content,
  .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-content,
  .hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-fullwidth .custom-slider-content-inner p,
  .hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper.custom-slider-layout-full_width .custom-slider-content-inner p {
    font-size: 13px !important;
  }
}

/* Per-slide picture fit and focus (set in Elementor or on the Spotlight screen).
   Kept last so it wins over the full-width layout's centre/cover rules. */
.custom-slider-slide.fit-contain .custom-slider-bg-img,
.custom-slider-slide.fit-contain .custom-slider-image-side img {
  object-fit: contain !important;
  object-position: center center !important;
}
.custom-slider-slide.fit-contain .custom-slider-image-side {
  background: #1f2f4a;
}

.custom-slider-slide.focus-top .custom-slider-bg-img,
.custom-slider-slide.focus-top .custom-slider-image-side img { object-position: center top !important; }
.custom-slider-slide.focus-bottom .custom-slider-bg-img,
.custom-slider-slide.focus-bottom .custom-slider-image-side img { object-position: center bottom !important; }
.custom-slider-slide.focus-left .custom-slider-bg-img,
.custom-slider-slide.focus-left .custom-slider-image-side img { object-position: left center !important; }
.custom-slider-slide.focus-right .custom-slider-bg-img,
.custom-slider-slide.focus-right .custom-slider-image-side img { object-position: right center !important; }
.custom-slider-slide.focus-top .custom-slider-background { background-position: center top !important; }
.custom-slider-slide.focus-bottom .custom-slider-background { background-position: center bottom !important; }
.custom-slider-slide.focus-left .custom-slider-background { background-position: left center !important; }
.custom-slider-slide.focus-right .custom-slider-background { background-position: right center !important; }

/* The picture must be exactly as tall as the slide. Elementor's
   `.elementor img { height: auto }` outranks the single-class rule above, so
   the picture kept its own height, ran past the bottom of the slide and lost
   whatever was there (faces, words), and "Show the whole picture" had no
   effect. */
.custom-slider-background .custom-slider-bg-img {
  height: 100%;
  max-width: none;
}

/* Home page Spotlight. The dark overlay only helps words typed on the slide
   stay readable; a slide without them (a designed banner) shows the picture
   at its own brightness instead of greyed out. Where there are words, the
   shading sits behind them on the left and fades out across the picture. */
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper .custom-slider-slide.has-no-text .custom-slider-overlay {
  display: none;
}
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-wrapper .custom-slider-slide.has-text-content .custom-slider-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.35) 40%, rgba(0, 0, 0, 0) 70%) !important;
  opacity: 1 !important;
}
/* A whole-picture banner sits at the right, leaving the left free for the
   button so it does not cover the banner's own words; on phones the banner
   sits at the top with the button below it. */
.hom-bnr-mn .hom-bnr-sldr-col .custom-slider-slide.has-no-text.fit-contain .custom-slider-bg-img {
  object-position: right center !important;
}
@media (max-width: 599px) {
  .hom-bnr-mn .hom-bnr-sldr-col .custom-slider-slide.has-no-text.fit-contain .custom-slider-bg-img {
    object-position: center top !important;
  }
}
