/* Differentiator: "Product" pillars section (#pillars) */

.banner-brand-name {
  font-weight: 500;
}

.differentiator-praxxi-different-group {
  height: 75vh;
  padding: 150px 120px 19px 70px;
  font-family: Montserrat, -apple-system, Roboto, Helvetica, sans-serif;
  border-radius: 0;
}

.differentiator-praxxi-different-group .differentiator-container {
  display: flex;
  gap: 20px;
  position: absolute;
  top: 0;
}

.differentiator-praxxi-different-group .differentiator-bold-text {
  font-weight: 600;
}

.differentiator-intro-column {
  width: 45%;
}

.differentiator-intro-content {
  margin-top: 33px;
  font-weight: 400;
}

.differentiator-main-heading {
  color: var(--color-gray-700);
  font-size: 30px;
  font-weight: 400;
  margin: 0;
}

.differentiator-main-description {
  color: var(--color-gray-900);
  font-size: 16px;
  margin-top: 42px;
  line-height: 24px;
}

.differentiator-content-column {
  width: 78%;
}

.differentiator-content-wrapper {
  width: 100%;
  height: 500px;
  padding-left: 20px;
}

.differentiator-leadership-card {
  position: relative;
  width: 18vw;
  height: 60vh;
  border-radius: 10px;
  background-color: rgba(46, 141, 180, 1);
  box-shadow: -4px 4px 4px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.differentiator-m-card {
  position: relative;
  width: 18vw;
  height: 60vh;
  border-radius: 10px;
  background-color: var(--color-teal-dark);
  box-shadow: -4px 4px 4px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.differentiator-o-card {
  position: relative;
  width: 18vw;
  height: 60vh;
  border-radius: 10px;
  background-color: var(--color-purple-mid);
  box-shadow: -4px 4px 4px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.differentiator-leadership-card.differentiator-white-background {
  background-color: unset;
  position: relative;
  width: 18vw;
  box-shadow: none;
}

.differentiator-leadership-card-inner {
  position: relative;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.differentiator-leadership-card:hover .differentiator-leadership-card-inner {
  transform: rotateY(180deg);
}

.differentiator-leadership-content-front,
.differentiator-leadership-content-back {
  position: absolute;
  height: 100%;
  width: 100%;
  -webkit-backface-visibility: hidden;
  /* Safari */
  backface-visibility: hidden;
}

.differentiator-leadership-content-front {
  margin-top: auto;
  margin-bottom: auto;
  align-self: stretch;
}

.differentiator-leadership-content-back {
  margin-top: auto;
  margin-bottom: auto;
  align-self: stretch;
  font-size: 16px;
  color: rgba(255, 255, 255, 1);
  font-weight: 600;
  transform: rotateY(180deg);
}

.differentiator-leadership-inner {
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 1);
  display: flex;
  justify-content: center;
  padding: 20px 15px;
  flex-direction: column;
  align-items: stretch;
  height: 100;
  margin: 10px;
  height: 100%;
}

.differentiator-leadership-title {
  align-self: flex-start;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.differentiator-leadership-title.differentiator-backcard-title {
  color: white;
  margin-top: 0px;
  margin-bottom: 0px;
  align-self: center;
  line-height: 23px;
}

.differentiator-leadership-title:not(:first-child) {
  margin-top: 30px;
}

.differentiator-leadership-description {
  font-size: 13px;
  font-weight: 400;
  margin-top: auto;
  margin-bottom: auto;
}

.differentiator-source-link {
  text-decoration: underline;
  font-size: 8px;
  color: inherit;
}

.differentiator-methodology-card {
  position: relative;
  width: 18vw;
  height: 60vh;
  border-radius: 10px;
  background-color: var(--color-teal-dark);
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.differentiator-card-icon {
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  width: 20px;
  align-self: flex-end;
  margin-right: 15px;
}

.differentiator-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 15px;
}

.differentiator-card-content-top-half {
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
}

.differentiator-card-content-bottom-half {
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
}

.differentiator-card-title {
  margin-top: auto;
  /* Pushes title to bottom of top half */
  color: var(--color-gray-800);
  font-size: 20px;
  font-weight: 600;
}

.differentiator-card-description {
  margin-top: auto;
  /* Pushes description to bottom of bottom half */
  font-size: 13px;
  font-weight: 400;
}

.differentiator-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.differentiator-card-content-top-half {
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
}

.differentiator-card-title {
  color: var(--color-gray-800);
  font-size: 20px;
  font-weight: 600;
  margin-top: auto;
  /* This pushes the title to the bottom */
  margin-bottom: 20px;
}

.differentiator-card-divider-blue {
  background-color: rgba(44, 147, 188, 1);
  height: 3px;
  margin-top: 0px;
}

.differentiator-card-divider-purple {
  background-color: var(--color-purple-mid);
  height: 3px;
  margin-top: 0px;
}

.differentiator-card-divider-green {
  background-color: var(--color-teal-dark);
  height: 3px;
  margin-top: 0px;
}

.differentiator-card-description {
  color: var(--color-gray-700);
  font-size: 13px;
  font-weight: 400;
  margin-top: 53px;
}

.differentiator-leadership-text-column {
  width: 100%;
}

.differentiator-outcomes-card {
  width: 18vw;
  height: 60vh;
  border-radius: 10px;
  border: 1px solid var(--color-gray-200);
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
  z-index: 10;
  display: flex;
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 13px;
  padding-bottom: 23px;
  flex-direction: column;
  align-self: stretch;
  align-items: stretch;
}

.differentiator-outcomes-title {
  color: var(--color-purple-mid);
}

.differentiator-leadership-title {
  color: rgba(44, 147, 188, 1);
}

.differentiator-outcomes-card .differentiator-card-content {
  padding: 0 15px;
  margin-bottom: 0;
}

.differentiator-outcomes-card .differentiator-card-description {
  margin-top: 40px;
}

.differentiator-back-preview-media {
  width: 100%;
  align-self: stretch;
  box-sizing: border-box;
  padding: 0 1rem;
  margin: 0 0 0.5rem 0;
}

.differentiator-back-preview-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.differentiator-background-image-container {
  height: 70vh;
  top: 0;
  position: relative;
}

.differentiator-background-image {
  object-fit: contain;
  background-image: url("../resources/differentiator-background.png");
  object-position: center;
  background-size: 300px;
  height: 100%;
  background-position-x: right;
  background-repeat: no-repeat;
}

/* Interactive elements */
.differentiator-card-title,
.differentiator-source-link {
  transition: color 0.3s ease;
}

.differentiator-source-link:hover,
.differentiator-source-link:focus {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.differentiator-methodology-card:hover,
.differentiator-outcomes-card:hover {
  transform: translateY(-2px);
  transition: transform 0.3s ease;
  box-shadow: 4px 8px 12px rgba(0, 0, 0, 0.3);
}

.differentiator-methodology-card,
.differentiator-outcomes-card {
  transition: transform 0.3s ease;
}

.differentiator-card-icon {
  transition: transform 0.3s ease;
}

.differentiator-methodology-card:hover .differentiator-card-icon,
.differentiator-outcomes-card:hover .differentiator-card-icon {
  transform: rotate(10deg);
}

@media (max-width: 1025px) {
  .differentiator-content-wrapper {
    height: 430px;
  }

  .differentiator-praxxi-different-group {
    padding-top: 90px !important;
  }

  .differentiator-outcomes-card,
  .differentiator-leadership-card,
  .differentiator-m-card,
  .differentiator-o-card {
    height: 60vh;
  }

  .differentiator-praxxi-different-group,
  .differentiator-background-image-container {
    height: 62vh;
  }
}

@media (max-width: 991px) {
  .differentiator-outcomes-card,
  .differentiator-leadership-card,
  .differentiator-m-card,
  .differentiator-o-card {
    height: 13vh;
  }

  .differentiator-praxxi-different-group,
  .differentiator-background-image-container {
    height: 15vh;
  }

  .differentiator-leadership-title.differentiator-backcard-title {
    margin-top: 0px;
    font-size: 14px;
  }

  .differentiator-praxxi-different-group {
    padding-left: 55px;
    height: unset;
  }

  .differentiator-praxxi-different-group .differentiator-container {
    flex-direction: column;
    align-items: stretch;
    gap: 1;
    width: 80vw;
    height: auto;
  }

  .differentiator-container {
    position: relative;
    bottom: auto;
  }

  .differentiator-leadership-card.differentiator-white-background {
    width: 80vw;
  }

  .differentiator-content-column {
    width: 100%;
    margin-left: 0;
    position: relative;
  }

  .differentiator-intro-column {
    padding-bottom: 20px;
  }

  .differentiator-intro-column,
  .differentiator-content-column {
    width: 100%;
    margin-left: 0;
  }

  .differentiator-intro-content {
    margin-top: -3vh;
  }

  .differentiator-main-heading {
    width: 65%;
  }

  .differentiator-main-description {
    color: var(--color-gray-900);
    font-size: 16px;
    margin-top: 20px;
  }

  .differentiator-leadership-description {
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 12px;
  }

  .differentiator-leadership-content-back {
    margin-top: 0px;
  }

  .differentiator-leadership-title:not(:first-child) {
    margin-top: 15px;
  }

  .differentiator-methodology-card {
    padding-bottom: 100px;
  }

  .differentiator-leadership-card {
    width: 80vw;
  }

  .differentiator-m-card {
    width: 80vw;
  }

  .differentiator-o-card {
    width: 80vw;
  }

  .differentiator-leadership-card .differentiator-white-background {
    width: 90vw;
  }

  .differentiator-card-icon {
    margin-right: 10px;
  }

  .differentiator-card-content {
    margin-bottom: 10px;
    padding: 0 20px;
    margin-top: 0px;
  }

  .differentiator-card-description {
    margin-top: 40px;
  }

  .differentiator-outcomes-card .differentiator-card-description {
    margin-top: 10px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .differentiator-outcomes-card {
    width: 80vw;
  }

  .differentiator-content-wrapper {
    padding-left: 0;
  }
}

@media (max-width: 855px) {
  .differentiator-content-wrapper {
    height: 765px;
  }

  .differentiator-praxxi-different-group {
    padding-top: 30px !important;
  }
}

@media (max-width: 768px) {
  .differentiator-content-wrapper {
    height: 670px;
  }

  .differentiator-outcomes-card,
  .differentiator-leadership-card,
  .differentiator-m-card,
  .differentiator-o-card {
    height: 20vh;
  }

  .differentiator-praxxi-different-group,
  .differentiator-background-image-container {
    height: 22vh;
  }
}

@media (max-width: 540px) {
  .differentiator-content-wrapper {
    height: 550px;
  }

  .differentiator-outcomes-card,
  .differentiator-leadership-card,
  .differentiator-m-card,
  .differentiator-o-card {
    height: 23vh;
  }

  .differentiator-praxxi-different-group,
  .differentiator-background-image-container {
    height: 25vh;
  }
}

@media (max-width: 480px) {
  /* height of differentiator cards wrapper */
  .differentiator-content-wrapper {
    height: 620px;
  }

  .differentiator-outcomes-card,
  .differentiator-leadership-card,
  .differentiator-m-card,
  .differentiator-o-card {
    height: 22vh;
  }

  .differentiator-praxxi-different-group,
  .differentiator-background-image-container {
    height: 22vh;
  }

  .differentiator-outcomes-card {
    width: 80vw;
    height: 20vh;
  }
}

@media (max-width: 413px) {
  .differentiator-praxxi-different-group {
    padding-top: 0px !important;
  }
}

@media (max-width: 394px) {
  .differentiator-praxxi-different-group {
    padding-top: 20px !important;
  }

  .differentiator-outcomes-card,
  .differentiator-leadership-card,
  .differentiator-m-card,
  .differentiator-o-card {
    height: 20vh;
  }

  .differentiator-praxxi-different-group,
  .differentiator-background-image-container {
    height: 22vh;
  }

  .differentiator-content-wrapper {
    height: 565px;
  }
}

@media (max-width: 380px) {
  .differentiator-praxxi-different-group {
    padding-top: 150px !important;
  }

  .differentiator-content-wrapper {
    height: 620px;
  }

  .differentiator-outcomes-card,
  .differentiator-leadership-card,
  .differentiator-m-card,
  .differentiator-o-card {
    height: 28vh;
  }

  .differentiator-praxxi-different-group,
  .differentiator-background-image-container {
    height: 30vh;
  }
}

@media (max-width: 350px) {

  .differentiator-background-image {
    width: 265px;
  }

  .differentiator-main-heading {
    width: 100%;
  }

  .differentiator-praxxi-different-group {
    padding-left: 50px;
    padding-top: 45px !important;
  }
}

@media (max-width: 344px) {
  /* height of differentiator cards wrapper */
  .differentiator-content-wrapper {
    height: 800px;
  }
}

/* Phones and tablets: the section flows normally and each card is as tall as its content.
   Front and back faces share one grid cell, so the card takes the height of the taller face
   (the back, with the preview image and text) and both faces stay the same size for the flip.
   Kept last so it overrides the fixed vh/px heights in the breakpoints above. */
@media (max-width: 991px) {
  .differentiator-praxxi-different-group {
    height: auto;
    padding-top: 60px !important;
    padding-right: 20px;
    padding-bottom: 40px;
  }

  .differentiator-background-image-container {
    height: auto;
  }

  /* the 60px top padding alone sets the space after the banner (was -3vh, varying by screen) */
  .differentiator-intro-content {
    margin-top: 0;
  }

  .differentiator-background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 340px;
    z-index: -1;
    pointer-events: none;
  }

  .differentiator-praxxi-different-group .differentiator-container {
    position: relative;
    top: auto;
    width: 100%;
    gap: 20px;
  }

  .differentiator-content-wrapper {
    height: auto;
  }

  .differentiator-leadership-card.differentiator-white-background {
    width: 100%;
    max-width: 520px;
    height: auto;
  }

  .differentiator-leadership-card-inner {
    display: grid;
  }

  .differentiator-leadership-content-front,
  .differentiator-leadership-content-back {
    position: relative;
    grid-area: 1 / 1;
    height: auto;
    margin: 0;
  }

  .differentiator-outcomes-card {
    margin: 0;
  }

  .differentiator-leadership-content-front .differentiator-container,
  .differentiator-leadership-text-column,
  .differentiator-outcomes-card {
    height: 100%;
  }

  .differentiator-outcomes-card {
    width: 100%;
    box-sizing: border-box;
  }

  .differentiator-leadership-content-back > div {
    width: 100%;
    height: 100%;
  }

  .differentiator-leadership-inner {
    height: auto;
    box-sizing: border-box;
    justify-content: flex-start;
    gap: 12px;
  }

  .differentiator-back-preview-media {
    padding: 0;
    margin: 0;
  }

  .differentiator-back-preview-image {
    width: auto;
    max-width: 100%;
    max-height: 180px;
    margin: 0 auto;
  }
}
