:root {
  --color-text: #000;
  --color-text-white: #fff;
  --red-color: #db002f;
  --red-label-color: #d8002f;
  --btn-border-red-color: #c6002b;
  --btn-bg-color: #282828;
  --currency-dark-color: #0c0003;
  --btn-hero-bg-color: #1a0004;
  --section-bg-gray-color: #f4f4f4;
  --img-default-bg-color: #e5e5e5;
  --light-gray: #717171;
  --dark-gray: #424242;
  --shape-gray-color: #f5f5f5;
  --prefooter-bg-color: #2e2e2e;
  --white-color: #fff;
  --bottom-footer-text: #525252;
  --footer-border-color: #eb093a;
  --btn-color-dark-transparent: #1a00048f;
  --main-light-gray: #f8f8f8;
  --add-red: #c8002b;
  --add-red-darker: #ba002b;
  --add-pink: #ffb4b4;
  --add-dark: #292929;
  --add-gray: #ececec;
  --gray-button: #4b4b4b;
  --menu-transp-bg: rgba(0, 0, 0, 0.8);
  --btn-border-dark-grey: #2b2b2b;
  --breadcrumbs-text-color: #b0b0b0;
  --section-bg-gray-lighten-color: #f3f3f3;
  --section-bg-gray-darker-color: #e9e9e9;
  --tabs-inactive: #c7c7c7;
  --tabs-bg-content: #fbfbfb;
  --tabs-bg-btn-disabled: #5e5e5e;
  --main-light-gray-opacity: rgba(248, 248, 248, 0.5);
  --gray-color: #c7c7c7;
  --add-red-border: #c3002a;
  --box-color: #f1f1f1;
  --medium-gray: #303030;
  --column-border: #dc0030;
  --checkbox-bgcolor: #c8c8c8;
  --source-code-pro: "Source Code Pro", monospace;
  --pop-up-grey: #979797;
  --dark-grey-trans: rgba(66, 66, 66, 0.6);
  --color-gray-add: #838383;
  --newsletter-alert: #190e90;
  --hiring-number: #e8e9e9;
  --li-color: #db1d2f;
  --btn-border-dark: #2f2f2f;
  --dot-gray-dark: #3d3d3d;
  --offer-header-white: #eaeaea;
  --offer-header-white-100: #f2f2f2;
  --offset-col-bg: #ededed;
  --support-pack-bg: #fafafa;
  --support-features-bg: #e9e9e9;
  --btn-light-gray: #272727;
  --users-choice-bg: #313131;
  --expert-pattern-bg: #dedede;
  --newsletter-popup-bg: #f0f0f0;
  --green-color: #00b300;
  --igaming-bg: #181716;
  --igaming-hero-form: #181716;
  --white-half-opacity: rgba(255, 255, 255, 0.5);
  --case-study-archieve-single-description-color: #010001;
  --red-survey: #dc0432;
  --fast-track-btn-bg: #171717;
}

.client-cases {
  position: relative;
  padding: 6.25rem 0;
  overflow: hidden;
}

.client-cases__pattern {
  position: absolute;
  top: 2.25rem;
  left: 0;
  right: 0;
  height: 18.1875rem;
  display: flex;
  gap: 5.75rem;
  transform: translateX(-9.0625rem);
}

.client-cases__pattern-item {
  flex: 0 0 18.125rem;
  height: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.client-cases__header {
  position: relative;
  z-index: 10;
  margin-bottom: 6.25rem;
}

.client-cases__title {
  font-family: "Montserrat",sans-serif;
  color: var(--color-text-white);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 3.4375rem;
  margin: 0;
  position: relative;
  transition-property: color;
  transition-duration: .3s;
  transition-timing-function: ease;
  transition-delay: 0s;
}

.client-cases__decorative-line {
  width: 3.75rem;
  height: .3125rem;
  background: var(--color-text-white);
  margin: 2.5rem 0;
}

.client-cases__subtitle {
  font-weight: 700;
  font-size: 1rem;
  line-height: 2.75rem;
  color: var(--color-text-white);
  margin: 0;
  transition-property: color;
  transition-duration: .3s;
  transition-timing-function: ease;
  transition-delay: 0s;
}

.client-cases__wrapper {
  position: relative;
  z-index: 5;
}

.client-cases__item {
  display: flex;
  align-items: center;
  margin-bottom: 2.5rem;
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

.client-cases__media {
  position: relative;
  flex: 0 0 100%;
  z-index: 1;
}

.client-cases__image {
  width: 100%;
}

.client-cases__image--desktop {
  display: block;
}

.client-cases__image--mobile {
  display: none;
}

.client-cases__image img {
  margin-block: 0;
  width: 100%;
  height: auto;
}

.client-cases__logo {
  position: absolute;
  top: 2.5rem;
  left: 3.75rem;
  max-width: 10.5625rem;
  transition-property: transform;
  transition-duration: .3s;
  transition-timing-function: ease;
  transition-delay: 0s;
}

.client-cases__logo img {
  max-width: 100%;
  height: auto;
}

.client-cases__item-box {
  position: absolute;
  left: -2.5rem;
  bottom: -2.5rem;
  padding: 2.5rem 3.75rem;
  z-index: 2;
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition-property: background-color;
  transition-duration: .3s;
  transition-timing-function: ease;
  transition-delay: 0s;
}

.client-cases__client-name {
  font-family: "Montserrat",sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 3.4375rem;
  color: var(--color-text-white);
  margin: 0;
}

.client-cases__item--reverse {
  padding-top: 6.25rem;
}

@media (max-width: 767px) {
  .client-cases__item--reverse {
    margin-bottom: 0 !important;
  }
}

.client-cases__item--reverse .client-cases__item-box {
  right: -2.5rem;
  left: auto;
  bottom: -2.5rem;
}

.client-cases__item--reverse .client-cases__logo {
  left: auto;
  right: 3.75rem;
}

.client-cases__content {
  display: flex;
  gap: 3.125rem;
  align-items: flex-start;
}

.client-cases__section {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  max-width: 18.75rem;
  gap: .5rem;
}

.client-cases__section-header {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.client-cases__section-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.client-cases__section-icon img {
  width: 2.25rem;
  height: 2.25rem;
}

.client-cases__section-title {
  font-family: "Montserrat",sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 2.75rem;
  text-transform: uppercase;
  color: var(--color-text-white);
  margin: 0;
  transition-property: color;
  transition-duration: .3s;
  transition-timing-function: ease;
  transition-delay: 0s;
}

.client-cases__section-content {
  font-family: "Montserrat",sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 2rem;
  color: var(--color-text-white);
  margin: 0;
  transition-property: color;
  transition-duration: .3s;
  transition-timing-function: ease;
  transition-delay: 0s;
}

@media (max-width: 1199px) {
  .client-cases__item {
    flex-direction: column;
    margin-bottom: 14.6875rem;
  }

  .client-cases__item--reverse {
    flex-direction: column;
  }

  .client-cases__media {
    max-width: 100%;
    margin-bottom: -2.5rem;
  }

  .client-cases__item-box {
    margin: 0;
    width: 100%;
    top: 70%;
    padding: 1.5rem 2.5rem;
  }

  .client-cases__content {
    gap: 1.5rem;
  }

  .client-cases__section {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .client-cases {
    padding: 3.75rem 0;
  }

  .client-cases__pattern {
    gap: 5.75rem;
    transform: translateX(-9.0625rem);
  }

  .client-cases__header {
    padding: 0 1.3125rem;
  }

  .client-cases__title {
    font-size: 2.5rem;
    margin: 1rem 0 0 0;
  }

  .client-cases__subtitle {
    line-height: 2.25rem;
  }

  .client-cases__image {
    overflow: hidden;
  }

  .client-cases__image--desktop {
    display: none;
  }

  .client-cases__image--mobile {
    display: block;
  }

  .client-cases__image img {
    width: 100%;
    height: 100%;
    transform: scale(1.9) translateY(20%);
  }

  .client-cases__media {
    order: 1;
  }

  .client-cases__content {
    flex-direction: column;
  }

  .client-cases__item {
    margin-bottom: 1.25rem;
  }

  .client-cases__item-box {
    order: 2;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    width: calc(100% + 35px);
    margin-top: 1.5rem;
    padding: 2.5rem 2.5rem;
  }

  .client-cases__section-title {
    font-size: 1.125rem;
    line-height: 1.5rem;
  }

  .client-cases__section-content {
    font-size: 1rem;
    max-width: 17.5rem;
  }

  .client-cases__logo {
    top: 1.25rem;
    left: 1.25rem;
  }

  .client-cases__item--reverse {
    padding-top: 1.25rem;
  }

  .client-cases__item--reverse .client-cases__item-box {
    order: 2;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    width: calc(100% + 35px);
    margin-top: 1.5rem;
    padding: 2.5rem 2.5rem;
  }

  .client-cases__item--reverse .client-cases__logo {
    top: 1.25rem;
    left: 1.25rem;
  }
}
