@import url('https://fonts.cdnfonts.com/css/myriad-pro');

body, html {
  font-family: 'Myriad Pro', sans-serif !important;
}

b{
  font-weight: 600;
}
.wrapper {
  padding-top: 80px;
}

.path-power {
  background: linear-gradient(90deg, #f7f9fb 60%, #bf966922 100%);
  padding: 8rem 0 4.5rem 0;
}

.path-title {
  text-align: center;
  color: #bf9669;
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: -1px;
  border-bottom: 2px solid #2e3d33;
  padding-bottom: 0.2em;
  margin-bottom: 0.8em;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.path-heading {
  text-align: center;
  color: #2e3d33;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 2.1em;
}

.path-lead {
  font-weight: 300;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5em auto;
  font-size: 1.17rem;
  color: #2e3d33;
}

.path-timeline {
  display: flex;
  flex-direction: column;
  gap: 2.2em;
  position: relative;
  margin: 0 auto 3.3em auto;
  max-width: 850px;
}

.timeline-item {
  display: flex;
  align-items: center;
}

.timeline-marker {
  flex-shrink: 0;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: #bf9669;
  border: 3.5px solid #fff;
  box-shadow: 0 0 0 2px #bf966922;
  margin-right: 1.5rem;
  position: relative;
  z-index: 2;
}

.timeline-content {
  background: #fff;
  border-radius: 12px;
  border: 2px solid #2e3d33;
  box-shadow: 0 2px 10px #2e3d3311;
  padding: 1.15em 1.5em;
  font-size: 1.17rem;
  color: #2e3d33;
  font-weight: 300;
  flex: 1 1 auto;
  min-width: 0;
}

.path-timeline::before {
  content: "";
  position: absolute;
  left: 0.65rem;
  top: 0;
  bottom: 0;
  width: 3.5px;
  background: #2e3d33;
  z-index: 0;
}

.path-bottom-block {
  text-align: center;
  max-width: 830px;
  margin: 0 auto;
  background: #E6E7E8;
    border-left: 5px solid #48524B;
  border-radius: 8px;
  box-shadow: 0 1px 10px #bf966911;
  padding: 2.1em 1.5em;
  color: #2e3d33;
  font-size: 1.17rem;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}

/* CTA Button za certifikate */
.certificates-btn {
  background-color: #bf9669;
  color: #fff;
  padding: 0.9em 2.3em;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.17rem;
  box-shadow: 0 4px 20px #bf966960;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: none;
  display: inline-block;
  letter-spacing: 0.03em;
}

.certificates-btn:hover,
.certificates-btn:focus {
  background-color: #2e3d33;
  color: #fffbe7;
  box-shadow: 0 6px 26px #2e3d3360;
  outline: none;
}

@media (max-width: 700px) {
  .path-power .container {
    padding-right: 1.5rem; /* malo više desnog razmaka */
  }

  /* Opcionalno, ako želiš osigurati i s lijeve strane */
  .path-power .container {
    padding-left: 1rem;
  }

  .path-title {
    font-size: 1.15rem;
  }
  .path-timeline {
    padding-left: 1rem;
  }
  .timeline-content {
    padding: 1em 0.7em;
    font-size: 0.98rem;
  }
  .path-lead,
  .path-bottom-block {
    font-size: 1.01rem;
  }

  .certificates-btn{
    font-size: 0.9rem !important;
    padding: 0.5rem 1rem !important; /* smanji padding po potrebi */
  }
}
