.hero-v3-wrapper {
  background-image: url('../../images/nexoya-green-shape.png');
  background-position: right;
  background-repeat: no-repeat;
}

.hero-v3-section {
  width: 100%;
  max-width: 1195px;
  margin: 0 auto 68px;
  padding-top: 174px;
  display: flex;
}

.hero-v3-left {
  width: 60%;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.hero-v3-left h1 {
  font-size: 45px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 0px;
  font-family: 'euclidcircularb-medium';
  max-width: 563px;
  line-height: 3.6rem;
}

.hero-v3-left .subtitle,
.hero-v3-right .right-side-subtitle {
  color: #131314;
  font-size: 16px;
  font-weight: 400;
  margin: 16px 0 50px;
}

.hero-v3-left .subtitle span,
.hero-v3-right .right-side-subtitle span {
  color: #0ec76a;
  font-weight: 600;
}

.hero-v3-left .hero-v3-cta {
  padding: 11px 37px;
  font-size: 15px;
  display: block;
  max-width: 188px;
}

.hero-v3-left .advantages .advantage,
.hero-v3-left .advantages {
  display: flex;
}

.hero-v3-left .advantages {
  margin-top: auto;
  gap: 17px;
  height: 24px;
}

.hero-v3-left .advantages .advantage {
  align-items: center;
  gap: 9px;
}

.hero-v3-left .advantages .advantage img {
  width: 24px;
  height: 24px;
}

.hero-v3-left .advantages .advantage p {
  color: #131314;
  font-size: 13px;
  font-family: 'euclidcircularb-medium';
  font-weight: 500;
}

.hero-v3-right {
  width: 40%;
}

.hero-v3-right .right-side-subtitle {
  text-align: center;
  margin: 6px auto 13px;
}

.hero-v3-right .testimonials-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  width: 100%;
}

.hero-v3-right .testimonials-wrapper .testimonial {
  height: 103px;
  border: 1px solid #eaeaea;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
}

.hero-v3-right .testimonials-wrapper .testimonial.active {
  border-color: #0ec76a;
  opacity: 1;
}

.hero-v3-right .testimonials-wrapper .testimonial p {
  font-size: 14px;
  text-align: center;
  color: #131314;
  margin: 0;
}

.hero-v3-right .testimonials-wrapper .testimonial span {
  display: block;
  font-weight: bold;
}

.hero-v3-right .testimonials-wrapper .testimonial .testimonial-logo {
  height: 25px;
  width: 80px;
  object-fit: contain;
}

.hero-v3-right .big-boxes {
  position: relative;
  height: 212px; /* visina kontejnera – jednaka visini boxa */
  margin-top: 16px;
}

.hero-v3-right .big-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 212px;
  border-radius: 5px;
  border: 1px solid #eaeaea;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  gap: 20px;
}

.hero-v3-right .big-box.active {
  opacity: 1;
  pointer-events: auto;
}

.progress-bar {
  position: absolute;
  bottom: -1.2px; /* malo ispod boxa, možeš prilagoditi */
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 95%;
  height: 5px;
  background: transparent;
  overflow: hidden;
  border-radius: 5px;
}

.progress-bar .progress {
  width: 0%;
  height: 100%;
  background: #0ec76a;
  background: linear-gradient(
    90deg,
    rgba(14, 199, 106, 1) 65%,
    rgba(255, 255, 255, 0) 100%
  );
}

.big-boxes .big-box picture {
  width: 35%;
  height: auto;
  object-fit: contain;
  border-radius: 50%;
}

.big-boxes .big-box p {
  margin: 0;
}

.big-boxes .big-box .person-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 50%;
}

.big-boxes .big-box .testimonial-info {
  width: 65%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-v3-right .big-box .testimonial-text {
  font-size: 16px;
  color: #131314;
  font-weight: 600;
}

.hero-v3-right .big-box .testimonial-text span {
  color: #0ec76a;
}

.hero-v3-right .big-box .testimonial-role {
  font-size: 14px;
  font-weight: 300;
  color: #131314;
}

.hero-v3-right .big-box .testimonial-role span {
  display: block;
  font-weight: 600;
}

.hero-v3-right .big-box .testimonial-logo {
  height: 35px;
  width: 90px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .hero-v3-section {
    flex-direction: column;
  }
  .big-boxes .big-box picture {
    width: 100%;
    height: 100%;
  }
  .hero-v3-right .big-boxes {
    margin-top: 70px;
  }

  .hero-v3-left,
  .hero-v3-right {
    flex: 0 0 100%;
    width: 100%;
    padding: 0px 15px;
  }
  .hero-v3-left {
    max-width: 100%;
    text-align: center;
  }
  .hero-v3-left .advantages {
    margin: 30px auto;
  }
  .hero-v3-left .subtitle {
    margin-bottom: 20px;
  }
  .hero-v3-left h1 {
    font-size: 32px;
    max-width: 100%;
  }
  .hero-v3-left .hero-v3-cta {
    margin: auto;
  }
  .hero-v3-right {
    margin: auto;
    padding: 0px 15px;
  }
}
@media (min-width: 900px) and (max-width: 1200px) {
  .hero-v3-section {
    padding: 174px 15px 0px 15px;
  }

  .big-boxes .big-box picture {
    width: 23%;
    height: auto;
  }
}

@media (max-width: 900px) {
  .big-boxes .big-box picture {
    width: 23%;
    height: auto;
  }

  .hero-v3-right .big-box {
    height: 233px;
  }

  .hero-v3-right .big-boxes {
    height: 233px;
    margin-top: 16px;
  }

  .hero-v3-section {
    padding-top: 120px;
    margin-bottom: 20px;
  }
}

@media (max-width: 650px) {
  .hero-v3-left .advantages {
    margin: 35px auto 32px;
  }

  .hero-v3-left .advantages .advantage p {
    text-align: left;
  }

  .hero-v3-left .advantages {
    height: auto;
  }

  .hero-v3-left h1 {
    line-height: 3rem;
  }
}

@media (min-width: 1441px) {
  .hero-v3-wrapper {
    background-image: none;
  }
}
