/*
 * Methodology Module
 * ========================================================================
 * Styles for process/methodology sections with step-by-step content.
 * Includes layout for methodology steps, timelines, and process visualization.
 */

/* ==========================================================================
   Base Methodology Section Styles
   ========================================================================== */

.methodology-section {
  padding: 3.75rem 0;
  position: relative;
  color: var(--bs-white);

  @media (max-width: 61.99875rem) {
    padding: 3.125rem 0;
    text-align: left;
  }

  .tick-list {
    li {
      &::before {
        background-image: url("../../images/check-alt.svg");
      }
    }
  }

  .button-wrapper .btn {
    @media (max-width: 61.99875rem) {
      width: 100%;
    }
  }
}

/* ==========================================================================
   Methodology Tag
   ========================================================================== */

.methodology-tag {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.25rem;
  text-transform: uppercase;
}

/* ==========================================================================
   Methodology Title
   ========================================================================== */

.methodology-title {
  font-size: 2.5rem;
  line-height: 3.4375rem;
  font-weight: 400;

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 2.5rem;
    line-height: 3.4375rem;
    font-weight: 400;
    margin-bottom: 0;
  }

  p {
    margin-bottom: 0;
  }

  span {
    color: var(--bs-secondary);
  }

  .font-serif {
    font-size: 3.4375rem;
    line-height: 3.4375rem;
    font-weight: 400;
  }

  @media (max-width: 61.99875rem) {
    font-size: 2.125rem;
    line-height: 2.75rem;

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      font-size: 2.125rem;
      line-height: 2.75rem;
    }

    .font-serif {
      font-size: 2.875rem;
      line-height: 2.75rem;
    }
  }
}

/* ==========================================================================
   Methodology Description
   ========================================================================== */

.methodology-description {
  font-size: 1.25rem;
  line-height: 1.875rem;
  margin-top: 2rem;
  font-weight: 400;

  ul {
    margin-bottom: 0;

    li:not(:last-child) {
      margin-bottom: 0.5rem;
    }
  }
}

/* ==========================================================================
   Methodology Card
   ========================================================================== */

.methodology-card {
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
  opacity: 1;
  border-radius: 1.25rem;
  padding: 1.5rem 2rem;
  font-weight: 500;
  font-size: 2.375rem;
  line-height: 2.625rem;
  letter-spacing: 0%;
  background-color: var(--bs-primary-500);

  span {
    color: var(--bs-secondary);
  }
}

/* ==========================================================================
   Methodology Items
   ========================================================================== */

.methodology-items {
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
  font-size: 1.25rem;
  line-height: 1.875rem;
  text-align: center;
  align-items: center;

  .methodology-icon {
    height: 4.375rem;
    width: auto;

    img {
      height: 100%;
      width: auto;
    }
  }

  @media (max-width: 61.99875rem) {
    align-items: center;
  }
}

/* ==========================================================================
   Full Button Section
   ========================================================================== */

.full-button-section {
  .button-wrapper {
    justify-content: center;
  }
}
