/*
 * Worxogo Our Story Widget CSS
 *
 * Elementor Our Story Widget Styles
 */

/* ===== OUR STORY SECTION ===== */
.our-story,
.our-story * {
  box-sizing: border-box;
}

.our-story {
  position: relative;
}

.stats {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: 8px;

  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 40px 0px 40px;
  width: 100%;
  position: relative;
  margin: 0 auto;
}

.story-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;

  position: relative;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
  justify-content: center;

  max-width: 892px;
  position: relative;
}

.our-story-title {
  color: #4000a9;
  text-align: left;
  font-family: "Albert Sans", sans-serif;
  font-size: 40px;
  line-height: 110%;
  letter-spacing: -0.02em;
  font-weight: 700;
  position: relative;
}

.content2 {
  display: flex;
  flex-direction: row;
  gap: 48px;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;

  max-width: 892px;
  position: relative;
}

.story-text {
  color: #494948;
  text-align: center;
  font-family: "Albert Sans", sans-serif;
  font-size: 16px;
  line-height: 110%;
  letter-spacing: -0.02em;
  font-weight: 400;
  position: relative;
  flex: 1;
}

/* ===== STATISTICS SECTION ===== */
.statistics-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  align-self: stretch;
  flex-wrap: wrap;
  position: relative;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  flex: 1;
  min-width: 150px;
  padding: 20px 0px;
  position: relative;
}

.our-story-stat-value {
  color: #4000a9;
  text-align: center;
  font-family: "Albert Sans", sans-serif;
  font-size: 40px;
  line-height: 120%;
  font-weight: 700;
  position: relative;
}

.our-story-stat-label {
  color: #4000a9;
  text-align: center;
  font-family: "Albert Sans", sans-serif;
  font-size: 16px;
  line-height: 150%;
  font-weight: 400;
  position: relative;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .our-story {
    padding: 0 60px;
  }

  .stats {
    padding: 30px 30px 0;
    gap: 30px;
  }

  .our-story-title {
    font-size: 36px;
  }

  .story-text {
    font-size: 15px;
  }

  .our-story-stat-value {
    font-size: 32px;
  }

  .our-story-stat-label {
    font-size: 14px;
  }

  .stat-item {
    min-width: 140px;
    padding: 15px 0;
  }
}

@media (max-width: 768px) {
  .our-story {
    padding: 0 40px;
  }

  .stats {
    width: 100%;
    padding: 30px 30px 0;
    gap: 25px;
  }

  .story-container {
    gap: 25px;
  }

  .content {
    gap: 30px;
  }

  .our-story-title {
    font-size: 32px;
  }

  .content2 {
    gap: 30px;
  }

  .story-text {
    font-size: 14px;
    line-height: 130%;
  }

  .statistics-container {
    gap: 15px;
  }

  .stat-item {
    flex: 1 1 calc(33% - 15px);
    min-width: 120px;
    padding: 15px 10px;
  }

  .our-story-stat-value {
    font-size: 28px;
  }

  .our-story-stat-label {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .story-container {
    gap: 20px;
  }

  .our-story {
    padding: 0 20px;
  }

  .stats {
    padding: 20px;
    gap: 20px;
  }

  .content {
    gap: 20px;
    max-width: 100%;
  }

  .our-story-title {
    font-size: 28px;
    text-align: center;
  }

  .content2 {
    flex-direction: column;
    gap: 20px;
  }

  .story-text {
    font-size: 14px;
    line-height: 140%;
    text-align: left;
  }

  .statistics-container {
    flex-direction: column;
    gap: 10px;
  }

  .stat-item {
    flex: 1 1 100%;
    min-width: 100%;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
  }

  .our-story-stat-value {
    font-size: 24px;
    text-align: left;
  }

  .our-story-stat-label {
    font-size: 12px;
    text-align: right;
    max-width: 60%;
  }
}
