.what-we-solve-slide {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.what-we-solve-slider .slide-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 30px 0 30px 38px;
}
.what-we-solve-slider .slide-top h4 {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  line-height: 1.3;
  font-size: 40px;
  margin: 0;
  margin-bottom: 20px;
}
.what-we-solve-slider .slide-top p {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  line-height: 1.3;
  font-size: 28px;
  max-width: 700px;
  margin: 0;
}
.what-we-solve-slider .slide-top img {
  max-height: 350px;
}
.what-we-solve-slider .slide-top .main-text a {
  display: none;
}
.what-we-solve-slider .slide-bottom {
  display: flex;
  flex-direction: row;
  justify-content: stretch;
  gap: 70px;
}
.what-we-solve-slider .long-card,
.what-we-solve-slider .short-card {
  display: flex;
  flex-direction: row;
  background-color: #ffffff;
  padding: 20px;
  gap: 20px;
}
.what-we-solve-slider .short-card {
  max-width: 380px;
  position: relative;
}
.what-we-solve-slider .short-card::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 100%;
  left: -35px;
  top: 0;
  background: linear-gradient(to bottom, transparent, #cbcbcb, transparent);
}
.what-we-solve-slider .client-profile {
  display: flex;
  flex-direction: column;
  max-width: 240px;
}
.what-we-solve-slider .client-profile img {
  min-width: 240px;
  max-height: 180px;
  margin-bottom: 20px;
}
.what-we-solve-slider .client-profile h5 {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 22px;
  margin: 0;
  margin-bottom: 2px;
}
.what-we-solve-slider .client-profile p {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}
.what-we-solve-slider .client-quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.what-we-solve-slider .client-quote p {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}
.what-we-solve-slider .logo-and-read-more {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.what-we-solve-slider .logo-and-read-more a {
  font-size: 14px;
  font-weight: 600;
  font-family: "Manrope", sans-serif;
  color: #e93735;
  text-decoration: none;
}
.what-we-solve-slider .logo-and-read-more a::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-size: contain;
  transform: translateY(2px);
  background-image: url("./images/arrow-right-red.svg");
  margin-left: 10px;
}
@media screen and (max-width: 1200px) {
  .what-we-solve-slider .client-profile img {
    min-width: 160px;
    max-height: 120px;
  }
}
@media screen and (max-width: 1024px) {
  .what-we-solve-slider .long-card {
    flex-direction: column;
    gap: 10px;
  }
  .what-we-solve-slider .long-card .client-profile {
    flex-direction: row;
    gap: 20px;
  }
  .what-we-solve-slider .client-profile img {
    max-height: 80px;
  }
}
@media screen and (max-width: 768px) {
  .what-we-solve-slider .what-we-solve-slide {
    position: relative;
    margin: 0;
    padding: 0;
  }
  .what-we-solve-slider .slide-top {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    padding: 0;
    aspect-ratio: 1 / 1;
  }
  .what-we-solve-slider .slide-top img {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    top: 0;
    bottom: 0;
  }
  .what-we-solve-slider .slide-top .main-text {
    z-index: 10;
    padding: 30px;
    color: white;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    padding-bottom: 76px;
  }
  .what-we-solve-slider .slide-top h4 {
    color: white;
    z-index: 10;
    font-size: 28px;
    line-height: 1.3;
  }
  .what-we-solve-slider .slide-top p {
    font-size: 14px;
    line-height: 1.5;
    max-width: 400px;
  }
  .what-we-solve-slider .slide-top .main-text a {
    color: white;
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 700;
    font-family: "Manrope", sans-serif;
    text-decoration: none;
    position: relative;
  }
  .what-we-solve-slider .slide-top .main-text a::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background-size: contain;
    transform: translateY(2px);
    background-image: url("./images/arrow-right-white.svg");
    margin-left: 10px;
  }
  .what-we-solve-slider .slide-bottom {
    display: none;
  }
}

.what-we-solve-slider .slide-selector {
  position: relative;
  padding-bottom: 50px;
  padding-top: 60px;
}

.what-we-solve-slider .slide-selector ul {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  align-items: center;
  padding: 0;
  gap: 10px;
}

.what-we-solve-slider .slide-selector ul li a {
  background-color: #d3cfcf;
  height: 4px;
  width: 10px;
  display: block;
  position: relative;
  transition: width 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.what-we-solve-slider .slide-selector ul li a:after {
  content: "";
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: -5px;
  right: -5px;
}

.what-we-solve-slider .slide-selector ul li a.active {
  background-color: #e93735;
  width: 30px;
}

.what-we-solve-slider .slide-selector ul img {
  cursor: pointer;
}

.what-we-solve-slider .slide-selector ul img.next {
  margin-left: 38px;
}
.what-we-solve-slider .slide-selector ul img.prev {
  margin-right: 38px;
  transform: rotate(180deg);
}
