* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.carousel-slides {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

/* Mobile Layout: Stacked with gradient background */
.slide-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  /* Background set via Elementor controls */
}

.slide-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1.5rem;
  color: white;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
}

.slide-text-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
}

.slide-text-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.slide-image-container {
  flex: 1;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.5s ease;
}

.slide-logo {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  opacity: 0.9;
  width: 100%;
}

.slide-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.slide-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
  width: 100%;
}

.slide-button {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: white;
  color: #0a2540;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  align-self: flex-start;
  border: 2px solid white;
}

.slide-button:hover {
  background: transparent;
  color: white;
  transform: translateY(-2px);
}

/* Desktop Layout: Image as background with text on left */
@media (min-width: 768px) {
  .slide-content {
    position: relative;
    display: block;
  }

  .slide-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    flex: none;
  }

  .slide-image {
    filter: brightness(0.7);
  }

  .slide-text {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 4rem 3rem;
    margin: 0;
    /* Background set via Elementor controls */
  }

  .slide-text-wrapper {
    height: 100%;
    align-items: stretch;
  }

  .slide-text-container {
    width: 100%;
  }

  .slide-title {
    font-size: 3.5rem;
  }

  .slide-subtitle {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .slide-text {
    padding: 5rem 4rem;
  }

  .slide-title {
    font-size: 4rem;
  }
}

/* Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: gray;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 0.5rem;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.carousel-arrow:hover {
  color: #666;
}

.carousel-arrow svg {
  width: 24px;
  height: 24px;
}

.carousel-arrow.prev {
  left: 1rem;
}

.carousel-arrow.next {
  right: 1rem;
}

@media (min-width: 768px) {
  .carousel-arrow.prev {
    left: 2rem;
  }

  .carousel-arrow.next {
    right: 2rem;
  }
}

/* Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.indicator {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: white;
  transform: scale(1.2);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .carousel-indicators {
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
  }
}
