/**
 * Section - Impact Numbers
 * Styles for the impact numbers section with horizontal layout
 */

.impact-numbers {
  position: relative;
  width: 100%;
  background: #36bffa;
  padding: 0;
  overflow: hidden;
}

.impact-numbers .site-container {
  background: transparent;
  padding: 0;
  margin: 0;
}

.impact-numbers__wrapper {
  margin: 0 auto;
  padding: 100px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 126px;
  max-width: 1298px;
}

/* Title Section */
.impact-numbers__title-section {
  width: 100%;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 1234px;
  text-align: left;
}

.impact-numbers__subtitle {
  width: 100%;
  max-width: 642px;
  font-family: "DM Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #ffffff;
  margin: 0;
}

.impact-numbers__title {
  width: 100%;
  max-width: 1102px;
  font-family: "Be Vietnam Pro", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 48px;
  line-height: 60px;
  color: #ffffff;
  margin: 0;
}

/* Counters Wrapper */
.impact-numbers__counters-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  max-width: 1234px;
}

/* Counters Title */
.impact-numbers__counters-title {
  font-family: "Be Vietnam Pro", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 28px;
  color: #ffffff;
  margin: 0;
  text-align: center;
}

/* Counters Section */
.impact-numbers__counters {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  width: 100%;
  padding: 0;
}

/* Counter Item */
.impact-numbers__counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
  min-width: 0;
  width: auto;
  position: relative;
  text-align: center;
  padding-top: 24px;
}

/* Horizontal Line - Vector 114 - Using ::before */
.impact-numbers__counter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #ffffff;
  width: 100%;
}

/* Counter Number */
.impact-numbers__counter-number {
  width: auto;
  font-family: "Be Vietnam Pro", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 82px;
  line-height: 100%;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px 0;
  color: #ffffff;
  transition: color 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

/* Counter Text */
.impact-numbers__counter-text {
  width: auto;
  font-family: "Be Vietnam Pro", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  margin: 0;
  text-align: center;
  white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 1400px) {
  .impact-numbers__wrapper {
    max-width: 100%;
  }

  .impact-numbers__counters {
    max-width: 100%;
    gap: 24px;
  }

  .impact-numbers__counter {
    width: auto;
    flex: 1 1 0;
    min-width: 150px;
  }

  .impact-numbers__counter::before {
    max-width: 100%;
  }
}

@media (max-width: 1280px) {
  .impact-numbers__counters-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 1200px) {
  .impact-numbers__counters {
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
  }

  .impact-numbers__counter {
    flex: 0 0 calc(50% - 20px);
    max-width: none;
    width: auto;
  }
}

@media (max-width: 1024px) {
  .impact-numbers__wrapper {
    padding: 250px 32px;
  }
}

@media (max-width: 768px) {
  .impact-numbers__wrapper {
    padding: 360px 24px 100px;
    gap: 60px;
  }

  .impact-numbers__title-section {
    padding: 0;
  }

  .impact-numbers__title {
    font-size: 32px;
    line-height: 40px;
  }

  .impact-numbers__subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .impact-numbers__counters-title {
    font-size: 20px;
    line-height: 24px;
  }

  .impact-numbers__counters {
    flex-direction: column;
    gap: 40px;
    padding-top: 0;
  }

  .impact-numbers__counter {
    width: 100%;
    max-width: 100%;
    align-items: center;
  }

  .impact-numbers__counter-number {
    font-size: 64px;
    line-height: 72px;
  }

  .impact-numbers__counter-text {
    font-size: 18px;
    line-height: 22px;
  }
}

@media (max-width: 480px) {
  .impact-numbers {
    margin-top: -100px;
  }

  .impact-numbers__wrapper {
    padding: 130px 16px;
    gap: 40px;
  }

  .impact-numbers__title {
    font-size: 24px;
    line-height: 32px;
  }

  .impact-numbers__subtitle {
    font-size: 14px;
    line-height: 20px;
  }

  .impact-numbers__counters-title {
    font-size: 18px;
    line-height: 22px;
  }

  .impact-numbers__counters {
    gap: 32px;
  }

  .impact-numbers__counter-number {
    font-size: 56px;
    line-height: 64px;
  }

  .impact-numbers__counter-text {
    font-size: 16px;
    line-height: 20px;
  }
}
