.solutions-levels {
  margin-bottom: 3rem;
}

.solutions-tabs {
  max-width: 1000px;
  margin: 0 auto;
}

.solutions-tabs input[type="radio"] {
  display: none;
}

.solutions-tabs label {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #086400;
  color: white;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  margin-right: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.solutions-tabs label:hover {
  background-color: #006100;
}

.solutions-tabs input[type="radio"]:checked + label {
  background-color: #007406;
  color: white;
}

.tab-content {
  display: none;
  background-color: white;
  padding: 2rem;
  border-radius: 0 10px 10px 10px;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.541);
}

.solutions-tabs input[type="radio"]:checked + label + .tab-content {
  display: block;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.solution-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.63);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.555);
}

.solution-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.solution-card h4 {
  color: #007406;
  margin-bottom: 1rem;
  text-align: center;
}
.solution-card p{
  color: black;
}
.impact-meter {
  display: flex;
  align-items: center;
  margin-top: 1rem;
  gap: 0.5rem;
}

.impact-label {
  font-weight: 700;
  font-size: 0.9rem;
}

.impact-dots {
  display: flex;
  gap: 3px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #e0e0e0;
}

.dot.filled {
  background-color: #007406;
}

.chart-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.623);
}

.horizontal-chart {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.chart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chart-label {
  width: 150px;
  font-weight: 500;
  text-align: right;
}

.chart-bar {
  flex: 1;
  height: 25px;
  background-color: #f5f5f5;
  border-radius: 12.5px;
  position: relative;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(to right, #007406,#13a300 );
  border-radius: 12.5px;
  transition: width 1s ease;
}

.bar-value {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 500;
  font-size: 0.9rem;
}

.chart-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: black;
}

.stories-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.stories-slider input[type="radio"] {
  display: none;
}

.stories-container {
  display: flex;
  width: 400%;
  transition: transform 0.5s ease;
}

.story-slide {
  width: 25%;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.story-image img {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.61);
}

.story-content h3 {
  color: #007406;
  margin-bottom: 1rem;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.slider-controls label {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #525050;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-controls label:hover {
  background-color: #0f5c00;
}

#story1:checked ~ .stories-container {
  transform: translateX(0);
}

#story2:checked ~ .stories-container {
  transform: translateX(-25%);
}

#story3:checked ~ .stories-container {
  transform: translateX(-50%);
}

#story4:checked ~ .stories-container {
  transform: translateX(-75%);
}

#story1:checked ~ .slider-controls label:nth-child(1),
#story2:checked ~ .slider-controls label:nth-child(2),
#story3:checked ~ .slider-controls label:nth-child(3),
#story4:checked ~ .slider-controls label:nth-child(4) {
  background-color: #007406;
}

.pledge-section {
  padding: 3rem 5%;
  background-color: #f9f9f9;
  border-radius: 10px;
  margin: 3rem 5%;
}

.pledge-section h2 {
color: black;
font-size: 1.1cm;
  text-align: center;
  margin-bottom: 0.5rem;
}

.pledge-section p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: black;
}

.pledge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pledge-items {
  flex: 1;
  min-width: 300px;
}

.pledge-item {
  margin-bottom: 1rem;
  background-color: white;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.603);
  transition: transform 0.3s ease;
}

.pledge-item:hover {
  transform: translateY(-3px);
}

.pledge-checkbox {
  display: none;
}

.pledge-item label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  position: relative;
  padding-left: 35px;
}

.pledge-item label:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border: 2px solid #007406;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.pledge-checkbox:checked + label:before {
  background-color: #007406;
  border-color: #007406;
}

.pledge-checkbox:checked + label:after {
  content: "";
  position: absolute;
  left: 9px;
  top: 5px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.pledge-certificate {
  flex: 1;
  min-width: 300px;
  background-color: white;
  border: 2px solid #007406;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  position: relative;
}

.pledge-certificate:before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid #007406;
  border-radius: 10px;
  pointer-events: none;
}

.pledge-certificate h3 {
  color: black;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.certificate-name {
  font-weight: 700;
  border-bottom: 1px solid black;
  padding: 0 0.5rem;
}

.certificate-date {
  margin-top: 2rem;
  font-style: italic;
  color: black;
}

.contain {
  max-width: 1000px;
  margin: auto;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

.pledge-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.pledges, .certificate {
  flex: 1 1 300px;
  min-width: 280px;
  text-align: left;
}

.pledges label {
  display: block;
  margin-bottom: 15px;
  font-size: 1rem;
  padding: 10px;
  border-left: 5px solid rgb(0, 78, 0);
  background-color: #f1fff1;
  border-radius: 4px;
}

.certificate {
  padding: 20px;
  border: 2px solid rgb(8, 92, 0);
  border-radius: 8px;
  background-color: #f0fff0;
}

#nameInput {
  border: none;
  border-bottom: 1px solid #000000;
  font-size: 1rem;
  width: 60%;
  max-width: 300px;
}

button {
  padding: 10px 20px;
  font-size: 1rem;
  margin-top: 10px;
  background-color: #105e00;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #046d00;
}

.feedback-section {
  margin-top: 40px;
  text-align: left;
}

#feedbackInput {
  width: 100%;
  height: 100px;
  padding: 10px;
  font-size: 1rem;
  margin-top: 10px;
  border-radius: 5px;
  border: 1px solid #000000;
}

.feedback-display {
  margin-top: 20px;
  background-color: #005c00;
  color: white;
  padding: 15px;
  border-left: 5px solid #0c6300;
  border-radius: 5px;
}
.feedback-display p{
  color: white;
}

@media (max-width: 768px) {
  .pledge-container {
    flex-direction: column;
  }

  .certificate,
  .pledges {
    width: 100%;
  }

  #nameInput {
    width: 100%;
  }

  button {
    width: 100%;
  }
}


@media (max-width: 992px) {
  .solutions-tabs label {
    padding: 0.75rem 1.5rem;
  }

  .pledge-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .solutions-tabs {
    display: flex;
    flex-direction: column;
  }

  .solutions-tabs label {
    margin-right: 0;
    margin-bottom: 0.5rem;
    border-radius: 10px;
  }

  .tab-content {
    border-radius: 10px;
  }

  .chart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .chart-label {
    width: 100%;
    text-align: left;
  }

  .story-slide {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    padding: 1rem;
  }

  .chart-container {
    padding: 1rem;
  }

  .bar-value {
    font-size: 0.8rem;
  }

  .pledge-item label {
    font-size: 0.9rem;
  }
}
