/* shared styles */
.pp-section-header {
  font-size: 44px;
  color: var(--title-dark);
  font-weight: 600;
  line-height: 1.5;

  @media only screen and (max-width: 768px) {
    font-size: 28px;
    line-height: 1.25;
  }
}

.pp-section-text {
  font-size: 28px;
  color: var(--title-dark);

  @media only screen and (max-width: 768px) {
    font-size: 20px;
    line-height: 1.25;
  }
}
/* end of shared styles */

/* hero styles */
.pp-container {
  padding-inline: 32px;
  margin-inline: auto;
  max-width: 1472px;

  @media only screen and (max-width: 768px) {
    padding-inline: 16px;
  }
}

.pp-container-section {
  padding-block: 32px;
}

.pp-main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pp-main * {
  box-sizing: border-box;
}

.pp-hero {
  width: 100%;
  min-height: 144px;
  background: linear-gradient(96deg, rgba(0, 170, 142, 1) 56%, rgba(7, 61, 65, 1) 77%, rgba(7, 61, 65, 0.75) 90%), right url(../img/pepperpay-logo-bg.png);
}

.pp-hero-image {
  display: block;
  position: absolute;
  right: 0;
  height: 100%;
}

.pp-hero-mask {
  position: absolute;
  width: 1300px;
  height: 100%;
  top: 0;
  right: 0;
  background: linear-gradient(96deg, rgba(0, 170, 142, 1) 7%, rgba(0, 106, 112, 1) 30%, rgba(0, 106, 112, 0.2) 55%, rgba(7, 61, 65, 0) 100%);

  @media only screen and (max-width: 1024px) {
    background: linear-gradient(96deg, rgba(0, 170, 142, 1) 7%, rgba(0, 106, 112, 1) 45%, rgba(0, 106, 112, 0.2) 75%, rgba(7, 61, 65, 0) 100%);
  }

  @media only screen and (max-width: 768px) {
    background: linear-gradient(96deg, rgba(0, 170, 142, 1) 7%, rgba(0, 106, 112, 1) 40%, rgba(0, 106, 112, 0.6) 75%, rgba(7, 61, 65, 0.8) 100%);
  }
}

.pp-hero-container {
  display: flex;
  align-items: center;
  position: relative;
  height: 720px;
  width: 100vw;
  max-width: 2400px;
  margin: 0 auto;
}

.pp-hero-title {
  font-size: 54px;
  font-weight: 600;
  line-height: 64px;
  color: #fff;

  @media only screen and (max-width: 768px) {
    font-size: 50px;
    line-height: 48px;
  }
}

.pp-hero-message {
  font-size: 20px;
  line-height: 1.5;
  color: #fff;

  @media only screen and (max-width: 768px) {
    font-size: 18px;
  }
}

.pp-hero-content {
  position: relative;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, 1fr);

  @media only screen and (max-width: 768px) {
    grid-template-columns: repeat(1, 1fr);
  }
}

.pp-hero-body {
  display: flex;
  flex-direction: column;
  gap: 32px;

  @media only screen and (max-width: 768px) {
    gap: 16px;
  }
}
/* end of hero styles */

/* buttons styles */
.pp-secondary-button {
  display: inline-block;
  text-decoration: none;
  padding: 12px 28px;
  background-color: var(--secondary-button-bg);
  color: var(--secondary-button-contrast);
  border-radius: 28px;
  font-size: 20px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  width: fit-content;
  transition: transform 150ms linear;
}

.pp-secondary-button:hover {
  color: #004448;
  background-color: #baf7bb;
  transform: translateY(-3px);
  animation: 150ms linear rise;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transform: translateY(-3px);
}
/* end of button styles */

/* about-us page */
.pp-join-our-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 32px 0;
  gap: 16px;
  text-align: center;

  @media only screen and (max-width: 768px) {
    gap: 8px;
  }
}

.pp-join-our-team-link {
  display: flex;
  gap: 16px;
  align-items: center;
}

.pp-join-our-team-link:hover {
  color: var(--title-dark);
  text-decoration: underline;
}

.pp-team-section {
  width: 100%;
  background-color: var(--green-main);
  color: var(--main-text-color-contrast);
}

.pp-team-section-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  gap: 32px;
}

.pp-team-section-title {
  color: #fff;
  font-size: 36px;
  line-height: 1.5;
  font-weight: 600;
  text-align: center;
}

.pp-team-section-team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  width: 100%;

  @media only screen and (max-width: 768px) {
    grid-template-columns: repeat(1, 1fr);
  }
}

.pp-team-section-team-member {
  padding: 24px 32px;
  text-align: center;

  @media only screen and (max-width: 768px) {
    padding: 0;
  }
}

.pp-team-section-team-name {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 16px;
  gap: 16px;
}

.pp-team-section-team-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-size: 28px;
  font-weight: 600;
}

.pp-team-section-team-link:hover {
  color: #fff;
}

.pp-mission-section-content {
  display: flex;
  flex-direction: column;
  max-width: 928px;
  margin: 0 auto;
  text-align: center;
  gap: 16px;
}

.pp-mission-section-image {
  width: 100%;
  border-radius: 32px;
  margin-top: 48px;

  @media only screen and (max-width: 768px) {
    margin-top: 24px;
  }
}

.pp-values-section {
  width: 100%;
  text-align: center;
}

.pp-values-section-content {
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(3, 1fr);
  padding: 32px;

  @media only screen and (max-width: 768px) {
    grid-template-columns: repeat(1, 1fr);
    padding-inline: 0;
  }
}

.pp-values-section-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;

  @media only screen and (max-width: 768px) {
    gap: 8px;
  }
}

.pp-values-section-card-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--title-dark);
}

/* end of about-us page */