.final-project {
  display: flex;
  border: 5px solid #386539;
  border-radius: 15px;
}

.project-image img {
  max-width: 100%;
  border-radius: 10px;
}

.project-info {
  margin-top: 1rem;
  padding: 0 30px;
}

.project-info h2 {
  color: #000;
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 15px;
}

.project-info p {
  color: #333;
  margin-bottom: 15px;
}

.btn-strategic {
  background-color: #a1bf37;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}
.navbar-collapse {
  background-color: #386539;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.global {
  margin-right: 20rem;
}

.local {
  margin-left: 15rem;
}

.btn-strategic:hover {
  background-color: #8daa27;
  text-decoration: none;
  color: white;
}
.info-btn {
  margin-top: 1.6rem;
  font-size: 0.8em;
}

.header-alcance {
  background-color: #386539;
  color: white;
  text-align: center;
  padding: 6px 0;
  font-size: 1.4rem;
  font-weight: 700;
  width: 100%;
}
.background-wrapper {
  width: 100%;
  background-color: rgba(161, 191, 55, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-alcance {
  width: 80%;
  padding: 20px;
}
.angled-text {
  display: inline-block;
  color: #386539;
  font-weight: bold;
  justify-content: center;
  text-align: center;
  font-size: 2rem;
  text-align: center;
  line-height: 1.2;
}
.section-municipio {
  width: 100%;
  background: url("../images/fondo_verde_claro.jpg") no-repeat center center;
  background-size: cover;
  text-align: center;
  padding-bottom: 2rem;
}

.header-municipio {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.content-municipio {
  background-color: rgba(255, 255, 255, 0.8);
  color: black;
  padding: 20px;
  border-radius: 15px;
  margin: 10px auto;
  width: 50%;
  text-align: justify;
}

.indicators-municipio {
  display: flex;
  justify-content: center;
  margin: 20px auto;
  flex-wrap: wrap;
  border: 3px solid #386539;
  width: 58%;
  margin-top: -2rem;
  border-radius: 10px;
}

.indicator-item {
  background-color: rgba(255, 255, 255, 1);
  padding: 20px;
  width: 20%;
  text-align: justify;
  position: relative;
  margin: 0;
  box-sizing: border-box;
}

.indicator-item h4 {
  color: #000;
  text-align: center;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 1.15em;
  min-height: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.indicator-item p {
  color: #000;
  flex-grow: 1;
  font-weight: 500;
}
.indicator-item.last-indicator::after {
  display: none;
}
.indicator-item::after {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 10%;
  right: 0;
  width: 5px;
  background-color: #a1bf37;
}
.indicator-item.middle-item::after{
  content: "";
  position: absolute;
  top: 10%;
  bottom: 10%;
  right: 0;
  width: 5px;
  background-color: #a1bf37;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
  border-radius: 15px;
  border: 3px solid #386539;
}

.timeline-item {
  display: flex;
  align-items: center;
  left: -3rem;
  margin-bottom: 10px;
  position: relative;
}

.timeline-icon {
  left: 40%;
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-icon img {
  width: 100%;
  height: auto;
}

.timeline-content {
  background: rgba(255, 255, 255, 1);
  border-radius: 10px;
  padding: 10px 20px;
  margin-left: 20px;
  position: relative;
}

.timeline-content h4 {
  color: #000;
  font-size: 1rem;
  margin: 0;
}

.timeline-content p {
  margin: 5px 0 0 0;
  font-size: 0.9rem;
}
/* Mobile styles */
@media (max-width: 767px) {
  .final-project {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .project-image,
  .project-info {
    width: 100%;
    padding: 0 15px;
  }

  .project-image img {
    width: 100%;
    height: auto;
  }

  .project-info h2 {
    font-size: 1.4em;
  }

  .project-info p {
    font-size: 1em;
  }
  .global {
    margin-right: 6rem;
  }

  .local {
    margin-left: 4rem;
  }
  .content-municipio {
    width: 90%;
  }
  .indicators-municipio {
    width: 90%;
  }

  .info-btn {
    font-size: 0.9em;
  }
  .indicator-item {
    width: 50%;
    border-radius: 0 !important;
  }
  .indicator-item:nth-child(1) {
    border-top-left-radius: 10px !important;
  }
  .indicator-item:nth-child(2) {
    border-top-right-radius: 10px !important;
  }

  .indicator-item:nth-child(3) {
    width: 100%;
  }
  .indicator-item:nth-child(4) {
    border-bottom-left-radius: 10px !important;
  }
  .indicator-item:nth-child(5) {
    border-bottom-right-radius: 10px !important;
  }

  .indicator-item:nth-child(4),
  .indicator-item:nth-child(5) {
    width: 50%;
  }
  .indicator-item:nth-child(3)::after {
    display: none;
  }
  .indicator-item:nth-child(2)::after {
    display: none;
  }

  .navbar-nav {
    text-align: center;
  }

  .navbar-nav .nav-item {
    float: none;
    display: inline-block;
  }

  .container,
  .content-municipio,
  .content-alcance,
  .angled-text {
    padding-left: 15px;
    padding-right: 15px;
  }
  .timeline-icon img {
    width: 75%;
  }
  .timeline {
    width: 80%;
  }
  .timeline-content {
    padding: 0;
  }
  .timeline-content p {
    font-size: 0.65rem;
  }

  .angled-text {
    font-size: 1.5rem;
  }
  .indicator-item.middle-item::before,
  .indicator-item.middle-item::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    height: 5px;
    background-color: #a1bf37;
  }

  .indicator-item.middle-item::before {
    top: 0;
  }

  .indicator-item.middle-item::after {
    bottom: 0;
  }
}




