@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0");

.solutions-section {
  position: relative;
  overflow: hidden;
  padding-top: clamp(4.8rem, 7vw, 7rem) !important;
  padding-bottom: clamp(4.8rem, 7vw, 7rem) !important;
  background: #fff !important;
}

.solutions-section .container {
  max-width: 1320px;
}

.solutions-heading {
  max-width: 860px;
  margin-inline: 0;
  text-align: left;
}

.solutions-heading .section-kicker {
  margin-bottom: 0.8rem;
}

.solutions-heading h2 {
  max-width: 760px;
  margin: 0 0 1.1rem;
  color: #061633;
  font-size: clamp(2.45rem, 4.3vw, 4.35rem);
  font-weight: 600 !important;
  line-height: 1.04;
}

.solutions-heading p:last-child {
  max-width: 720px;
  margin: 0;
  color: #52647b;
  font-size: clamp(1rem, 1.16vw, 1.12rem);
  line-height: 1.62;
}

.solutions-carousel {
  position: relative;
  width: 100vw;
  margin-left: calc((100% - 100vw) / 2);
  margin-top: clamp(2rem, 4vw, 3.2rem);
}

.solutions-track {
  display: flex;
  gap: clamp(1rem, 1.5vw, 1.35rem);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.35rem 0 max(1rem, 1.35vw) max(1rem, calc((100vw - 1320px) / 2));
  scroll-behavior: smooth;
  scroll-padding-inline: max(1rem, calc((100vw - 1320px) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.solutions-track::-webkit-scrollbar {
  display: none;
}

.solution-card {
  position: relative;
  flex: 0 0 clamp(18.5rem, 24vw, 23.4rem);
  height: clamp(23rem, 30vw, 27rem);
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: 1.15rem;
  box-shadow: 0 1.35rem 3.4rem rgba(15, 42, 79, 0.16);
  scroll-snap-align: start;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.solution-card:hover {
  box-shadow: 0 1.6rem 4rem rgba(15, 42, 79, 0.2);
  transform: translateY(-0.18rem);
}

.solution-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.02);
  transition:
    filter 0.34s ease,
    transform 0.34s ease;
}

.solution-card:hover img {
  filter: saturate(1.1) contrast(1.04);
  transform: scale(1.06);
}

.solution-card::after {
  display: none;
  content: none;
}

.solution-card-label {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  left: 0.55rem;
  z-index: 2;
  min-height: 4.75rem;
  padding: 1rem 1.08rem;
  color: #061633;
  background: #fff;
  border: 1px solid rgba(13, 110, 253, 0.08);
  border-radius: 0.7rem;
  box-shadow: 0 0.9rem 1.8rem rgba(15, 42, 79, 0.16);
}

.solution-card-label h3 {
  margin: 0 0 0.3rem;
  color: #061633;
  font-size: clamp(1.08rem, 1.28vw, 1.24rem);
  font-weight: 600 !important;
  line-height: 1.18;
}

.solution-card-label p {
  margin: 0;
  color: #425a74;
  font-size: 0.9rem;
  line-height: 1.35;
}

.solutions-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid !important;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  padding: 0;
  color: #0d6efd;
  background: #fff !important;
  border: 1px solid rgba(13, 110, 253, 0.12);
  border-radius: 999px !important;
  box-shadow: 0 0.75rem 1.6rem rgba(15, 42, 79, 0.14);
  transform: translateY(-50%);
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    opacity 0.18s ease,
    transform 0.18s ease;
}

.solutions-control:hover {
  color: #084298;
  background: #fff !important;
  border-color: rgba(13, 110, 253, 0.26);
  transform: translateY(-50%) scale(1.04);
}

.solutions-control:disabled {
  cursor: default;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
}

.solutions-control .material-symbols-rounded {
  font-family: "Material Symbols Rounded";
  font-size: 1.45rem;
  font-weight: 400 !important;
  font-variation-settings: "FILL" 0, "wght" 520, "GRAD" 0, "opsz" 24;
  line-height: 1;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

.solutions-control-prev {
  left: max(0.7rem, calc((100vw - 1320px) / 2 - 1.25rem));
}

.solutions-control-next {
  right: 1rem;
}

@media (max-width: 991.98px) {
  .solutions-heading h2 {
    max-width: 700px;
  }

  .solution-card {
    flex-basis: clamp(17rem, 58vw, 23rem);
    height: clamp(22rem, 64vw, 27rem);
  }
}

@media (max-width: 767.98px) {
  .solutions-section {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .solutions-heading {
    max-width: none;
  }

  .solutions-heading h2 {
    max-width: 12.5ch;
    font-size: clamp(2.25rem, 11vw, 3.15rem);
  }

  .solutions-heading p:last-child {
    font-size: 1rem;
  }

  .solutions-track {
    padding-left: 1rem;
    scroll-padding-inline: 1rem;
  }

  .solution-card {
    flex-basis: min(82vw, 22rem);
    height: min(112vw, 27rem);
  }

  .solutions-control {
    width: 2.35rem;
    height: 2.35rem;
  }

  .solutions-control-prev {
    left: 0.65rem;
  }

  .solutions-control-next {
    right: 0.65rem;
  }
}
