.smw-services-slider-wrapper {
  overflow: hidden;
  /* padding: 80px 0; */
}

/* Force full-width for the entire widget wrapper - override Elementor container */
.elementor-widget-smw-services-slider {
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  overflow-x: hidden !important;
}

/* Prevent horizontal scroll on body */
body:has(.elementor-widget-smw-services-slider) {
  overflow-x: hidden;
}

.smw-services-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 56px;
}

.smw-services-section-title {
  max-width: 618px;
  color: #350f6b;
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -1.6px;
}

.smw-services-navigation {
  display: flex;
  gap: 12px;
}

.smw-services-button-prev,
.smw-services-button-next {
  position: static;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.smw-services-button-prev::after,
.smw-services-button-next::after {
  font-size: 24px;
  color: #fff;
  font-weight: bold;
}

.smw-services-button-prev {
  background-color: #350f6b;
}

.smw-services-button-next {
  background-color: #ff6b35;
}

.smw-services-button-prev:hover {
  background-color: #ff6b35;
  transform: scale(1.05);
}

.smw-services-button-next:hover {
  background-color: #350f6b;
  transform: scale(1.05);
}

/* Swiper container - full width with controlled overflow */
.smw-services-slider-wrapper .swiper {
  overflow: hidden !important;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.smw-services-slider-wrapper .swiper-wrapper {
  display: flex;
  padding-left: 0;
  align-items: center;
}

.smw-services-slider-wrapper .swiper-slide {
  height: auto;
  width: auto;
  transition: all 0.3s ease;
}

/* Center slide emphasis */
.smw-services-slider-wrapper .swiper-slide-active {
  /* transform: scale(1.05); */
  z-index: 2;
}

/* .smw-services-slider-wrapper .swiper-slide-prev,
.smw-services-slider-wrapper .swiper-slide-next {
  opacity: 0.6;
} */

.smw-service-card {
  border-radius: 32px;
  padding: 48px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 550px;
}

.smw-service-slide {
  border-radius: 32px;
}

.smw-service-slide:nth-child(3n + 1) {
  background-color: #7d24ff;
}

.smw-service-slide:nth-child(3n + 2) {
  background-color: #f8b202;
}

.smw-service-slide:nth-child(3n + 3) {
  background-color: #fe5b00;
}

.smw-service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.smw-service-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2em;
  margin: 0;
  text-transform: capitalize;
  max-width: 400px;
}

.smw-service-description {
  color: #ffffff;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3em;
  margin-bottom: 27px;
  opacity: 0.95;
  max-width: 314px;
}

.smw-service-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #fe5b00;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.25em;
  text-transform: uppercase;
  padding: 12px 23px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s;
  width: fit-content;
}

.smw-service-button:hover {
  color: #fff;
  background-color: #333;
}

.smw-service-image {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  max-width: 410px;
  width: 100%;
  mix-blend-mode: luminosity;
}

.smw-service-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
}

/* Responsive Design */
@media (max-width: 1600px) {
  .smw-service-card {
    padding: 40px;
  }

  .smw-service-title {
    font-size: 45px;
  }
}

@media (max-width: 1399px) {
  .smw-service-card {
    height: 500px;
  }

  .smw-service-card {
    padding: 40px 30px;
    gap: 30px;
  }

  .smw-service-image {
    max-width: 275px;
  }
}

@media (max-width: 1200px) {
  .smw-service-card {
    height: 440px;
  }

  .smw-services-section-title {
    font-size: 64px;
    max-width: 360px;
  }

  .smw-service-card {
    padding: 40px;
    gap: 32px;
  }

  .smw-service-title {
    font-size: 28px;
  }

  .smw-service-image {
    max-width: 240px;
  }
}

@media (max-width: 1024px) {
  .smw-service-card {
    height: 420px;
  }

  .smw-services-slider-wrapper {
    padding: 90px 0;
  }

  .smw-services-header {
    margin-bottom: 40px;
  }

  .smw-services-section-title {
    font-size: 55px;
  }

  .smw-services-button-prev,
  .smw-services-button-next {
    width: 50px;
    height: 50px;
  }

  .smw-services-button-prev::after,
  .smw-services-button-next::after {
    font-size: 20px;
  }

  .smw-service-card {
    padding: 30px 20px;
    gap: 25px;
  }

  .smw-service-title {
    font-size: 32px;
  }

  .smw-service-description {
    font-size: 16px;
  }

  .smw-service-image {
    width: 100%;
  }
  .smw-service-image img {
    /* max-width: 180px !important; */
  }
}

@media (max-width: 768px) {
  .smw-service-card {
    height: auto;
  }
  .smw-services-slider-wrapper {
    padding: 80px 0;
  }

  .smw-services-header {
    gap: 24px;
    margin-bottom: 32px;
    align-items: flex-start;
  }

  .smw-services-section-title {
    font-size: 48px;
  }

  .smw-services-navigation {
    align-self: flex-end;
  }

  .smw-services-button-prev,
  .smw-services-button-next {
    width: 48px;
    height: 48px;
  }

  .smw-services-button-prev::after,
  .smw-services-button-next::after {
    font-size: 18px;
  }

  .smw-service-card {
    padding: 32px;
    border-radius: 24px;
  }

  .smw-service-title {
    font-size: 30px;
  }

  .smw-service-description {
    font-size: 16px;
    max-width: 237px;
  }

  .smw-service-button {
    padding: 12px 24px;
    font-size: 13px;
  }
  .smw-service-image img {
    max-width: 265px !important;
  }
}

@media (max-width: 480px) {
  .smw-services-slider-wrapper .swiper {
    padding-left: 16px;
    padding-right: 16px;
  }
  .smw-services-slider-wrapper {
    padding: 48px 0;
  }

  .smw-services-header {
    gap: 20px;
    margin-bottom: 28px;
  }

  .smw-services-section-title {
    font-size: 28px;
    letter-spacing: -0.8px;
  }

  .smw-services-button-prev,
  .smw-services-button-next {
    width: 33px;
    height: 33px;
  }
  .smw-services-button-prev svg,
  .smw-services-button-next svg {
    width: 10px;
    height: 15px;
  }
  .smw-services-navigation {
    align-self: flex-start;
  }

  .smw-services-button-prev::after,
  .smw-services-button-next::after {
    font-size: 16px;
  }

  .smw-service-card {
    padding: 20px 15px 25px;
    gap: 16px;
    border-radius: 16px;
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .smw-service-content {
    gap: 16px;
  }

  .smw-service-title {
    font-size: 24px;
  }

  .smw-service-description {
    font-size: 14px;
    line-height: 1.5;
    max-width: 100%;
    margin-bottom: 24px;
  }
  .smw-service-image img {
    max-width: 265px !important;
    height: 232px !important;
  }
  .smw-service-button {
    padding: 10px 20px;
    font-size: 12px;
  }
}
