.global-section {
  padding-block: 60px;
}

.section-1 {
  background: transparent linear-gradient(90deg, #d6e4e6 0%, #e7fff2 100%) 0% 0%
    no-repeat padding-box;
  margin-top: 140px;

  @media (max-width: 600px) {
    margin-top: 100px;
  }

  h1 {
    font-size: 40px;
    width: min(32ch, 100%) !important;
    text-transform: lowercase;

    &::first-letter {
      text-transform: capitalize;
    }

    @media (max-width: 565px) {
      font-size: 1.5rem;
    }
  }
}

.firsy-h2 {
  width: 80%;
}

.img-bg-agile {
  position: relative;
  background-color: #e0ebed;
}

.img-bg-agile .flex-50:last-child {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  background: url('/wp-content/themes/pas/pasv2/images/pages/about/about-section-2.png')
    center center / cover no-repeat;

  @media (max-width: 820px) {
    left: 0;
    width: 100%;
    height: 50%;
  }

  @media (max-width: 565px) {
    height: 32%;
  }
}

p.partner-us {
  color: #303030;
  font-size: 25px;
  font-weight: 600;
  margin-top: 50px;
  margin-bottom: 20px;
}

.partner-trust-row {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 12px 41px;

  @media (max-width: 565px) {
    grid-template-columns: 1fr;
    grid-template-rows: unset;
    grid-auto-flow: unset;
    margin-inline-start: 1rem;
  }

  .partner-items {
    p {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      font-size: 15px;
      font-weight: 500;
      line-height: 1;

      &::before {
        content: '';
        flex: 0 0 22px;
        background: url('/wp-content/themes/pas/pasv2/images/pages/about/check.svg')
          center center / cover no-repeat;
        display: inline-block;
        width: 22px;
        height: 22px;
      }
      br {
        display: none;
      }
    }
  }
}

.nosuprise p {
  font-size: 18px;
}

.section-3 h2 {
  color: #004e64;
}

.global-section.section-4 {
  background-color: #fff;
  background-size: cover;
  background-repeat: no-repeat;
}

.cta-container {
  background-color: #005866;
  border-radius: 30px;
  padding: 73px 102px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin-left: auto;
  margin-right: auto;

  @media (max-width: 1024px) {
    padding: 2rem 3rem;
  }

  @media (max-width: 820px) {
    justify-content: center;
    gap: 20px;
  }
}
.cta-container .cta-text-left {
  width: min(50ch, 100%);
}
p.cta-1 {
  color: #00e1a9;
  font-size: 25px;
  line-height: 30px;
  margin-bottom: 15px;
  font-weight: 700;
}
p.cta-2 {
  color: #ffffff;
  font-size: 25px;
  line-height: 30px;
  margin-bottom: 0;
  font-weight: 700;
}

.section-4 .cta-container button.pas-button {
  width: 270px;
}

.section-4 .cta-container .pas-button.--button-dark-blue {
  background: unset;
  width: unset;
  border-radius: 3px;
  padding: 0;
  height: unset;
  margin-top: 0;
}
.section-4 .cta-container .pas-button a {
  color: #004e64;
  background-color: #ffffff;
  font-weight: 500;
  font-size: 17px;
  padding: 13px 32px;
  transition: all 0.3s ease;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-4 .cta-container .pas-button a::after {
  content: '>';
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  margin-top: 2px;
  transition: transform 0.3s ease;
}

.section-4 .cta-container .pas-button a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 78, 100, 0.2);
}

.section-4 .cta-container .pas-button a:hover::after {
  transform: translateX(5px);
}

h3.about-above {
  font-size: 25px;
  font-weight: 500;
  display: flex;
  justify-content: center;
}

.section-1 h1 {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.global-section.section-2 {
  .__appendImageHere + img {
    @media (max-width: 565px) {
      width: 100%;
    }
  }
}

@media only screen and (max-width: 1240px) {
  .--show-desktop {
    width: 100%;
  }
}

@media only screen and (max-width: 820px) {
  .section-2 img {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
  }

  h2.firsy-h2 {
    margin-left: auto;
    margin-right: auto;
  }

  .section-1 h1 {
    width: 90%;
  }
  .partner-items p {
    text-align: left;
    font-size: 15px;
  }
  .img-bg-agile .flex-row {
    margin-top: 400px;
  }
  .cta-container {
    flex-wrap: wrap;
    align-content: center;
  }
}

@media only screen and (max-width: 600px) {
  .global-section.section-4 {
    padding-block: 60px;
  }
  .img-bg-agile .flex-row {
    margin-top: 290px;
  }
  .cta-container {
    height: auto;
    padding: 20px;
  }
  p.partner-us {
    font-size: 20px;
  }
  p.cta-1,
  p.cta-2 {
    font-size: 25px;
  }
  h2.firsy-h2 {
    width: 100%;
  }
}
