/* The Piksel Method page */

.piksel-method-section {
  background-color: var(--white);
  padding: 64px 0;
}

.our-approach-div {
  margin-bottom: 64px;
}

.our-approach-div h2, .allows-to-div h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 32px;
  line-height: 44px;
  margin: 0;
  margin-bottom: 32px;
}

@media (max-width: 991.98px) {
  .our-approach-div h2, .allows-to-div h2 {
    font-size: 24px;
    line-height: 38px;
  }
}

.approach-rows {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.approach-row {
  display: flex;
  flex-direction: row;
  align-items: center;
}

@media (max-width: 1200px) {
  .approach-rows {
    gap: 52px;
  }

  .approach-content-text {
    margin-bottom: 28px;
  }
}

.our-approach-div h3 {
  font-family: var(--font);
  font-weight: 400;
  font-size: 26px;
  line-height: 40px;
  margin: 0;
  margin-bottom: 16px;
}

@media (max-width: 991.98px) {
  .our-approach-div h3 {
    font-size: 20px;
    line-height: 32px;
  }
}

.goal-carousel-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.goal-card {
  position: relative;
  display: flex;
  align-items: end;
  width: 600px;
  height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.goal-card::before {
  content: "";
  position: absolute;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
  inset: 0;
}

.goal-card1 {
  background-image: url('../assets/imgs/goal1.jpg');
}

.goal-card2 {
  background-image: url('../assets/imgs/goal2.jpg');
}

.goal-card3 {
  background-image: url('../assets/imgs/goal3.jpg');
}

.goal-card4 {
  background-image: url('../assets/imgs/goal4.jpg');
}

.goal-card-text {
  position: absolute;
  bottom: 0;
  padding: 24px;
}

.goal-card-text p {
  color: var(--white);
}

@media (max-width: 991.98px) {
  .goal-card {
    width: 550px;
    height: 350px;
  }
}

@media (max-width: 767.98px) {
  .goal-carousel-wrapper {
    gap: 12px;
  }

  .goal-card {
    width: 280px;
    height: 300px;
  }

  .goal-card-text {
    padding: 16px;
  }
}