/* entire page */
.section > .container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-32);
}

#sec-3-tech .btn > span,
#sec-4-tech .btn > span,
#sec-5-tech .btn > span,
#sec-6-tech .btn > span {
  font-size: var(--font-size-18) !important;
  line-height: 24px !important;
  width: max-content;
  min-width: 24px;
}

/* section 1 */

#sec-1-tech .col-7 p:not(.page-reference){
  font-size: var(--font-size-18);
  line-height: 28px;
}

#sec-1-tech .col-5 > img {
  width: 100%;
  max-width: 400px;
}

/* section 2 */
#sec-2-tech {
  position: relative;
}

#sec-2-tech .left-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-24); 
}

#sec-2-tech > img {
  position: absolute;
  left: 0;
  bottom: -144px;
  width: min(100%, 466px);
  height: min(100%, 466px);
}

#sec-2-tech .right-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-16);
}

#sec-2-tech .right-col .side-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: var(--spacing-40);
  gap: var(--spacing-16);
  border-radius: var(--spacing-16);
  background-color: var(--color-surface-pink);
  position: relative;
}

#sec-2-tech .right-col .side-card img {
  min-width: 120px;
  height: 110px;
}

#sec-2-tech .right-col .side-card .text-container p:first-of-type {
  font-size: 44px;
  line-height: 48px;
}
#sec-2-tech .right-col .side-card .text-container p:last-of-type {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 28px;
}

/* section 3 */
#sec-3-tech .cols.title-col .right {
  text-align: center;
}

#sec-3-tech .cols.title-col .right img {
  width: min(100%, 368px);
}

#sec-3-tech .col-12 .h3 {
  margin-bottom: var(--spacing-40);
}

#sec-3-tech .col-12 .left-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-24);
}

#sec-3-tech .col-12 .right-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-8);
}

#sec-3-tech .col-12 .right-col img {
  display: none;
}

#sec-3-tech .col-12 .right-col .red-dot-list {
  list-style: none;
}

#sec-3-tech .col-12 .right-col .red-dot-list li {
  margin-bottom: var(--spacing-16);
  position: relative;
}

#sec-3-tech .col-12 .right-col .red-dot-list li::before {
  position: absolute;
  content: "\25CF";
  font-size: 12px;
  left: -32px;
  color: #b15d65;
  top: calc(50% - 16px);
}

/* section 4 */
#sec-4-tech .reference-right-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-24);
}

#sec-4-tech .tech-card-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--spacing-24);
}

#sec-4-tech .tech-card-container .tech-card {
  box-sizing: border-box;
  display: grid;
  flex-direction: column;
  justify-items: center;
  align-items: flex-start;
  gap: var(--spacing-24);
  width: 392px;
  min-width: 392px;
  padding: var(--spacing-40);
  border-radius: var(--spacing-16);
  background-color: var(--color-surface-pink);
}

#sec-4-tech .tech-card-container .tech-card .text-container > p:first-of-type {
  font-size: var(--font-size-32);
  font-weight: 700;
  line-height: 40px;
  margin-bottom: var(--spacing-16);
  color: var(--color-primary-4);
}

#sec-4-tech .tech-card-container .tech-card .text-container > p:last-of-type {
  font-size: var(--font-size-18);
  line-height: 28px;
  color: var(--color-primary-4);
  margin-bottom: 0;
}

#sec-4-tech .tech-card-container .tech-card .btn {
  align-self: flex-end;
}

#sec-4-tech .cols:last-of-type {
  display: flex;
}

#sec-4-tech .cols:last-of-type .col-5 {
  text-align: center;
}

#sec-4-tech .cols:last-of-type .col-5 img {
  width: min(359px, 100%);
  height: auto;
}

#sec-4-tech .roadmap-right-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-24);
}

/* section 5 */
#sec-5-tech .right-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-24);
}

#sec-5-tech .right-col .btn-container {
  display: flex;
  flex-direction: row;
  gap: var(--spacing-24);
}

/* section 6 */
#sec-6-tech .left-col * {
  margin: 0;
}

#sec-6-tech .left-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-40);
}

#sec-6-tech .left-col > a {
  width: fit-content;
}

#sec-6-tech .right-col {
  display: flex;
  justify-content: center;
}

#sec-6-tech .right-col > img {
  width: 100%;
  max-width: 420px;
}

@media (max-width: 768px) {
  /* entire page */
  .section > .container {
    gap: var(--spacing-8);
  }

  #sec-3-tech .btn > span,
  #sec-4-tech .btn > span,
  #sec-5-tech .btn > span,
  #sec-6-tech .btn > span {
    width: fit-content;
  }

  /* section 1 */
  #sec-1-tech h2,
  #sec-1-tech .d-block {
    font-size: clamp(40px, 14vw, 52px);
    line-height: 60px;
  }

  /* section 2 */
  #sec-2-tech > img {
    display: none;
  }

  #sec-2-tech .right-col {
    gap: var(--spacing-108);
    margin-top: var(--spacing-32);
  }

  #sec-2-tech .right-col .side-card {
    padding: var(--spacing-24);
  }

  #sec-2-tech .right-col .side-card img {
    position: absolute;
    right: 20px;
    top: -75px;
  }

  #sec-2-tech .right-col .side-card .text-container p:first-of-type {
    font-size: var(--font-size-32);
    line-height: 40px;
    margin-top: var(--spacing-24);
    }

  #sec-2-tech .right-col .side-card .text-container p:last-of-type {
    font-size: 20px;
    line-height: 30px;
  }


  /* section 3 */
  #sec-3-tech .cols.title-col .right {
    display: none;
  }

  #sec-3-tech .col-12 .h3 {
    margin-bottom: var(--spacing-16);
  }

  #sec-3-tech .col-12 .right-col img {
    display: inline-block;
    width: min(100%, 368px);
    margin-top: var(--spacing-64);
  }

  /* section 4 */

  #sec-4-tech .cols:nth-of-type(2) .h3{
    margin-block: -1rem;
  }

  #sec-4-tech .tech-card-container {
    flex-direction: column;
    gap: var(--spacing-24);
  }

  #sec-4-tech .tech-card-container .tech-card {
    width: 100%;
    min-width: unset;
  }

  #sec-4-tech .tech-card-container .tech-card img {
    display: none;
  }

  #sec-4-tech
    .tech-card-container
    .tech-card
    .text-container
    > p:first-of-type {
    margin-bottom: var(--spacing-24);
    font-size: var(--font-size-24);
    line-height: 36px;
  }

  #sec-4-tech .tech-card-container .tech-card .btn {
    justify-self: flex-start;
  }

  #sec-4-tech .cols:last-of-type .h3 {
    margin-bottom: 0;
  }

  #sec-4-tech .cols:last-of-type {
    flex-direction: column;
  }

  #sec-4-tech .roadmap-right-col {
    order: -1;
  }

  /* section 5 */
  #sec-5-tech .right-col .btn-container {
    flex-direction: column;
  }

  #sec-5-tech .right-col .btn-container .btn {
    width: 261px;
  }

  /* section 6 */
  #sec-6-tech .cols {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-16);
  }

  #sec-6-tech .left-col {
    gap: var(--spacing-24);
    order: 2;
  }

  #sec-6-tech .left-col > h2 {
    font-size: var(--font-size-32);
    line-height: 40px;
  }

  #sec-6-tech .left-col > p {
    font-size: var(--font-size-20);
    line-height: 30px;
    padding-bottom: var(--spacing-16);
  }

  #sec-6-tech .right-col {
    order: 1;
  }
}

@media (max-width: 1192px) {
}
