:root {
  --color-accent-1: #ffaa00;
  --color-accent-3: #8facd7;
}

/* CSS for section section:Hero */
.hero-section {
  padding: 80px 0;
  text-align: center;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.hero-subtitle {
  color: var(--primary-orange);
  font-size: 20px;
  line-height: 30px;
}
.hero-title {
  color: var(--text-dark);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
}
.hero-description {
  color: var(--text-dark);
  font-size: 20px;
  line-height: 1.5;
  max-width: 1280px;
  text-align: center;
}
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 0;
  }
  .hero-title {
    font-size: 36px;
  }
  .hero-description {
    font-size: 18px;
  }
}

/* CSS for section section:Goals */
.goals-section {
  padding-bottom: 80px;
}
.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.goal-card {
  border: 1px solid var(--text-medium);
  border-radius: 24px;
  padding: 24px;
  min-height: 144px;
  display: flex;
  align-items: center;
  position: relative;
}
.goal-card p {
  font-size: 16px;
  line-height: 1.5;
}

.goal-icon-wrapper {
  position: absolute;
  top: -25px;
  left: 24px;
  width: 51px;
  height: 50px;
  background-color: var(--icon-bg);
  /* clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  transform: rotate(90deg); */
}

/* CSS for section section:History */
.history-section {
  padding-bottom: 80px;
  position: relative;
}
.history-container {
  display: flex;
  align-items: center;
  gap: 60px;
}
.history-image-container {
  flex: 1;
  position: relative;
  max-width: 610px;
}

.history-section .featured-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.history-section .featured-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
}
.main-history-image {
  width: 100%;
  border-radius: 12px;
  display: block;
}
.play-button-overlay {
  position: absolute;
  left: calc(50% - 26px);
  top: calc(50% - 18px);
  width: 52px;
  height: 36px;
}
.history-text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 610px;
}
.history-text-content h2 {
  color: var(--text-dark);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
}
.history-text-content p {
  color: #4f4f52;
  font-size: 16px;
  line-height: 1.5;
}
.decorative-polygons-history {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 84px;
  height: 280px;
}

.decorative-polygons-history .polygon {
  position: absolute;
  width: 83.45px;
  height: 84.8px;
}

.decorative-polygons-history .p1 {
  fill: var(--color-accent-3);
  top: 0;
  transform: rotate(270deg);
}

.decorative-polygons-history .p2 {
  stroke: var(--text-medium);
  stroke-width: 0.8px;
  top: 95px;
  transform: rotate(270deg);
}

.decorative-polygons-history .p3 {
  fill: var(--primary-orange);
  top: 190px;
  transform: rotate(270deg);
}

@media (max-width: 992px) {
  .history-container {
    flex-direction: column;
    align-items: stretch;
  }
  .history-image-container,
  .history-text-content {
    width: 100%;
    max-width: 100%;
  }
  .decorative-polygons-history {
    display: none;
  }
}

/* CSS for section section:Stats */
.stats-section {
  padding: 80px 0;
}
.stats-title {
  color: var(--text-dark);
  font-size: 40px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 80px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: center;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.stat-number {
  font-size: 54px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
}
.stat-number .highlight-orange {
  color: var(--primary-orange);
}
.stat-number .highlight-red {
  color: var(--primary-red);
}
.stat-number .highlight-yellow {
  color: var(--color-accent-1);
}
.stat-description {
  font-size: 16px;
  color: var(--text-medium);
}
@media (max-width: 768px) {
  .stats-section {
    padding: 40px 0;
  }
  .stats-title {
    font-size: 32px;
    margin-bottom: 40px;
  }
  .stat-number {
    font-size: 40px;
  }
}

/* CSS for section section:Process */
.process-section {
  background-color: var(--background-offwhite);
  border-radius: 20px;
  padding: 60px 40px 28px;
  margin: 0 20px 80px 20px;
}
.process-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.process-title {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-dark);
  text-align: center;
  max-width: 964px;
}
.process-visual-container {
  position: relative;
  width: 100%;
  max-width: 1215px;
  height: 500px; /* Approximate height to contain elements */
}
.process-flow-path {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  z-index: 1;
}
.process-steps-grid {
  position: relative;
  z-index: 2;
  height: 100%;
}
.process-step-text,
.process-step-number {
  position: absolute;
}
.process-step-text {
  width: 254px;
}
.process-step-text h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.process-step-text p {
  font-size: 16px;
  line-height: 1.5;
}

.process-step-number {
  width: 157px;
  height: 154px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  font-size: 32px;
  font-weight: 700;
}

.process-step-number .polygon-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  fill: var(--color-accent-3);
  z-index: -1;
}

.process-step-number span {
  position: absolute;
  left: 60px;
}

.text-1 {
  top: 96px;
  left: 48px;
}

.number-1 {
  top: 194px;
  left: 90px;
}

.text-2 {
  top: 12px;
  right: 330px;
}

.number-2 {
  top: 194px;
  left: 365px;
}

.text-3 {
  bottom: -42px;
  left: 336px;
}

.number-3 {
  top: 194px;
  right: 390px;
}

.text-4 {
  bottom: -12px;
  right: 0px;
}

.number-4 {
  top: 194px;
  right: 65px;
}

.process-footer-text {
  font-size: 16px;
  text-align: center;
  margin-top: 40px;
}

.process-footer-text a {
  text-decoration: underline;
}

@media (max-width: 1200px) {
  .process-visual-container {
    /* display: none; */
    height: auto;
  }

  .process-section {
    padding: 40px 0px;
  }

  .process-flow-path {
    display: none;
  }

  .process-steps-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .process-step-text,
  .process-step-number {
    position: relative;
    top: unset !important;
    right: unset !important;
    bottom: unset !important;
    left: unset !important;
  }

  .process-step-text {
    width: auto;
  }

  .process-step-number {
    margin: 0 auto;
  }
}
