/* ===============================
   ATMS Success Stories
================================ */

.atms-success-stories {
  width: 100%;
  background: #fdfff6;
  color: #000000;
  font-family: "Geist", Arial, sans-serif;
  padding: 44px 0 64px;
  overflow: hidden;
}

.atms-success-container {
  width: 100%;
  max-width: 1184px;
  margin: 0 auto;
  overflow: visible;
}

.atms-success-title {
  margin: 0 0 86px;
  padding-left: 0;
  padding-right: 0;
  color: #5e5e5e;
  font-family: "Geist", Arial, sans-serif;
  font-size: 39px;
  font-weight: 600;
  line-height: 33px;
  letter-spacing: 0;
}

/* ===============================
   Manual Horizontal Slider
================================ */

.atms-success-slider {
  width: 100vw;
  margin-left: calc((1184px - 100vw) / 2);
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  cursor: grab;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.atms-success-slider::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.atms-success-slider.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.atms-success-track {
  display: flex;
  align-items: stretch;
  gap: 56px;
  width: max-content;
  padding-left: calc((100vw - 1184px) / 2);
  padding-right: calc((100vw - 1184px) / 2);
  animation: testimonial-scroll 42s linear infinite;
}
@keyframes testimonial-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 26.5px));
  }
}

.atms-success-track:hover {
  animation-play-state: paused;
}
/* ===============================
   Card
================================ */

.atms-success-card {
  width: 892px;
  height: 516px;
  flex: 0 0 892px;

  border: 1px solid #5e5e5e;
  border-radius: 50px;
  background: transparent;
  color: #000000;

  padding: 75px 52px 70px;
  display: flex;
  flex-direction: column;

  transition:
    background 550ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 550ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 550ms ease;
}

.atms-success-card:hover {
  background: #ffe331;
  border-color: #d5bd22;
 /* transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.13); */
}

.atms-success-card h3 {
  margin: 0 0 95px;
  color: #000000;
  font-family: "Geist", Arial, sans-serif;
  font-size: 39px;
  font-weight: 600;
  line-height: 33px;
  letter-spacing: 0;
}

.atms-success-card p {
  margin: 0;
  max-width: 781px;
  color: #000000;
  font-family: "Geist", Arial, sans-serif;
  font-size: 19px;
  font-weight: 300;
  line-height: 30px;
  letter-spacing: 0;
}

.atms-success-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.atms-success-bottom span {
  color: #000000;
  font-family: "Geist", Arial, sans-serif;
  font-size: 19px;
  font-weight: 300;
  line-height: 30px;
}

.atms-success-btn {
  width: 155px;
  height: 50px;
  border-radius: 10px;
  background: #204b82;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-family: "Geist", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;

  transition:
    background 250ms ease,
    color 250ms ease,
    transform 300ms ease;
}

.atms-success-btn:hover,
.atms-success-btn:focus {
  background: #035695;
  color: #ffffff;
  /* transform: translateY(-2px); */
}

/* protect from Hello Elementor reset */
.atms-success-stories a,
.atms-success-stories a:hover,
.atms-success-stories a:focus {
  text-decoration: none;
}

/* ===============================
   Laptop
================================ */

@media (max-width: 1366px) {
  .atms-success-stories {
    padding: 56px 0 60px;
  }

  .atms-success-container {
    max-width: 980px;
  }

  .atms-success-title {
    margin-bottom: 70px;
    padding-left: 0;
    padding-right: 0;
    font-size: 34px;
    line-height: 32px;
  }

  .atms-success-slider {
    margin-left: calc((980px - 100vw) / 2);
  }

  .atms-success-track {
    gap: 44px;
    padding-left: calc((100vw - 980px) / 2);
    padding-right: calc((100vw - 980px) / 2);
  }

  .atms-success-card {
    width: 720px;
    height: 430px;
    flex-basis: 720px;
    border-radius: 42px;
    padding: 58px 44px 54px;
  }

  .atms-success-card h3 {
    font-size: 34px;
    line-height: 34px;
    margin-bottom: 70px;
  }

  .atms-success-card p {
    font-size: 17px;
    line-height: 28px;
  }

  .atms-success-bottom span {
    font-size: 17px;
    line-height: 26px;
  }
}

/* ===============================
   Tablet
================================ */

@media (max-width: 991px) {
  .atms-success-stories {
    padding: 54px 0 60px;
  }

  .atms-success-container {
    max-width: 720px;
  }

  .atms-success-title {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 46px;
    font-size: 34px;
    line-height: 34px;
  }

  .atms-success-slider {
    margin-left: calc((720px - 100vw) / 2);
  }

  .atms-success-track {
    gap: 28px;
    padding-left: calc((100vw - 720px) / 2);
    padding-right: calc((100vw - 720px) / 2);
  }

  .atms-success-card {
    width: 620px;
    height: 430px;
    flex-basis: 620px;
    border-radius: 36px;
    padding: 48px 36px 44px;
  }

  .atms-success-card h3 {
    font-size: 30px;
    line-height: 34px;
    margin-bottom: 56px;
  }

  .atms-success-card p {
    font-size: 16px;
    line-height: 27px;
  }

  .atms-success-bottom {
    gap: 18px;
  }

  .atms-success-bottom span {
    font-size: 15px;
    line-height: 24px;
  }

  .atms-success-btn {
    width: 145px;
    height: 46px;
  }
}

/* ===============================
   Mobile
================================ */

@media (max-width: 767px) {
  .atms-success-stories {
    padding: 48px 0 54px;
  }

  .atms-success-container {
    max-width: none;
    padding: 0 20px;
  }

  .atms-success-title {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 36px;
    font-size: 30px;
    line-height: 32px;
  }

  .atms-success-slider {
    width: calc(100% + 40px);
    margin-left: -20px;
  }

  .atms-success-track {
    gap: 20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .atms-success-card {
    width: calc(100vw - 48px);
    height: auto;
    min-height: 430px;
    flex-basis: calc(100vw - 48px);
    border-radius: 30px;
    padding: 38px 28px 34px;
  }

  .atms-success-card h3 {
    font-size: 28px;
    line-height: 32px;
    margin-bottom: 44px;
  }

  .atms-success-card p {
    font-size: 15px;
    line-height: 26px;
  }

  .atms-success-bottom {
    margin-top: 70px;
    flex-direction: column;
    align-items: flex-start;
  }

  .atms-success-bottom span {
    font-size: 15px;
    line-height: 24px;
  }

  .atms-success-btn {
    width: 145px;
    height: 46px;
    font-size: 13px;
  }
}

/* ===============================
   Small Mobile
================================ */

@media (max-width: 480px) {
  .atms-success-container {
    padding: 0 18px;
  }

  .atms-success-title {
    font-size: 28px;
    line-height: 30px;
  }

  .atms-success-slider {
    width: calc(100% + 36px);
    margin-left: -18px;
  }

  .atms-success-track {
    padding-left: 18px;
    padding-right: 18px;
  }

  .atms-success-card {
    width: calc(100vw - 36px);
    flex-basis: calc(100vw - 36px);
    min-height: 410px;
    border-radius: 26px;
    padding: 34px 24px 30px;
  }

  .atms-success-card h3 {
    font-size: 25px;
    line-height: 30px;
    margin-bottom: 34px;
  }

  .atms-success-card p {
    font-size: 14px;
    line-height: 24px;
  }
}