
.effects-banner {
  background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
}

.interactive-map {
  margin-bottom: 3rem;
}
.interactive-map h2{
  color: black;
  font-size: 1.3cm;
}
.interactive-map p {
  color: black;
  font-size: 0.6cm;
}


.map-container {
  max-width: 1000px;
  margin: 0 auto;
  background-color: rgb(192, 183, 183);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.568);
}

.world-map {
  position: relative;
  background-image: url("");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 500px;
  margin: 0 auto;
}

.map-region {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(4, 121, 0, 0.664);
  border: 2px solid rgba(19, 116, 0, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.map-region:hover {
  background-color: rgba(6, 136, 2, 0.4);
  transform: scale(1.1);
}

.region-info {
  position: absolute;
  width: 250px;
  background-color: white;
  padding: 1rem;
  border-radius:10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.map-region:hover .region-info {
  opacity: 1;
  visibility: visible;
}

.region-info h3 {
  color: rgb(0, 61, 0);
  margin-bottom: 0.5rem;
}

.arctic {
  top: 10%;
  left: 50%;
}

.north-america {
  top: 30%;
  left: 20%;
}

.europe {
  top: 25%;
  left: 45%;
}

.asia {
  top: 30%;
  left: 65%;
}

.africa {
  top: 45%;
  left: 48%;
}

.south-america {
  top: 60%;
  left: 30%;
}

.australia {
  top: 65%;
  left: 75%;
}

.antarctica {
  top: 85%;
  left: 50%;
}

.effects-categories {
  margin-bottom: 3rem;
}

.effect-tabs {
  max-width: 900px;
  margin: 0 auto;
}

.effect-tabs input[type="radio"] {
  display: none;
}

.effect-tabs label {
  display: inline-block;
  padding: 1rem 1.5rem;
  background-color: #0b5e00;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  color: white;
  margin-right: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.effect-tabs label:hover {
  background-color: #0e7c00;
}

.effect-tabs input[type="radio"]:checked + label {
  background-color: #116400;
  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.575);
}

.effect-tabs input[type="radio"]:checked + label + .tab-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.tab-image {
  flex: 1;
  min-width: 300px;
}

.tab-image img {
  border-radius: 10px;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.603);
}

.tab-text {
  flex: 2;
  min-width: 300px;
}

.tab-text h3 {
  color: #116400;
  margin-bottom: 1rem;
}

.tab-text ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 1rem;
}

.tab-text li {
  margin-bottom: 0.5rem;
}

.tipping-points-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.tipping-point {
  display: flex;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.555);
  overflow: hidden;
}

.tipping-point-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #116400;
  color: white;
  font-size: 2.5rem;
  padding: 1.5rem;
  min-width: 80px;
}

.tipping-point-content {
  padding: 1.5rem;
  flex: 1;
}

.tipping-point-content h3 {
  margin-bottom: 1rem;
  color:black;
}

.progress-container {
  height: 20px;
  background-color: #f5f5f5;
  border-radius: 10px;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(to right, #085a00, #770c00);
  border-radius: 10px;
  transition: width 1s ease;
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  font-size: 0.8rem;
  font-weight: 500;
}


@media (max-width: 768px) {
  .world-map {
    height: 300px;
  }

  .map-region {
    width: 50px;
    height: 50px;
  }

  .effect-tabs label {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .tab-content {
    padding: 1.5rem;
  }

  .tipping-point {
    flex-direction: column;
  }

  .tipping-point-icon {
    padding: 1rem;
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .world-map {
    height: 200px;
  }

  .map-region {
    width: 30px;
    height: 30px;
  }

  .region-info {
    width: 200px;
  }

  .effect-tabs {
    display: flex;
    flex-direction: column;
  }

  .effect-tabs label {
    margin-right: 0;
    margin-bottom: 0.5rem;
    text-align: center;
  }
}
