#proiect {
  max-width: 1920px;
  margin: 0 auto;
}

#proiect .main-container {
  width: 90%;
  margin: 0 auto;
}

#proiect #section-1 {
  padding: 70px 0 20px;
}

#proiect #section-1 .main-container {
  max-width: 720px;
  margin: auto;
}

#proiect #section-1 .title {
  font-size: 40px;
  margin-bottom: 40px;
  text-align: center;
}

#proiect #section-1 p { /* .text */
  margin-bottom: 40px;
  font-family: Arimo-Medium;
}

#proiect #section-1 h2 { /* .subtitle */
  font-size: 24px;
  margin-bottom: 30px;
  font-family: Arimo-Medium;
}

#proiect #section-1 .detalii-proiect {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  margin-bottom: 50px;
}

#proiect
  #section-1
  .detalii-proiect
  #proiect
  #section-1
  .detalii-proiect
  .left {
  color: #6b7084;
  padding: 0 10px;
  text-align: right;
}

#proiect #section-1 .detalii-proiect .left .text {
  display: flex;
  justify-content: flex-end;
  text-align: right;
  width: 130px;
}

#proiect #section-1 .detalii-proiect .right .text {
  margin-left: 10px;
  width: 250px;
}

#proiect #section-1 .detalii-proiect .text,
#proiect #section-1 .detalii-proiect .text-strong {
  margin-bottom: 20px;
}

#proiect #section-1 ul {
  margin-left: 20px;
}

#proiect #section-1 ul li {
  margin-bottom: 20px;
  font-family: Arimo-Medium;
}

#proiect #section-1 ul li:last-child {
  margin-bottom: 0;
}

#proiect #section-1 ul li::marker {
  color: #ffc10e;
}

#proiect #section-2 {
  padding: 50px 0 80px;
}

#proiect #section-2 .main-container {
  max-width: 1100px;
  margin: auto;
}

.proiect-inainte,
.proiect-dupa {
  padding: 24px 0;
  border-top: 1px solid #979797;
}

#proiect .proiect-inainte .text-strong,
#proiect .proiect-dupa .text-strong {
  font-size: 24px;
}

#proiect #proiect-inainte-swiper .swiper-slide,
#proiect #proiect-dupa-swiper .swiper-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

#proiect .swiper-container .swiper-slide img {
  width: 100%;
  height: 35vh;
  object-fit: contain;
}

#proiect .swiper-pagination {
  display: none;
}

#proiect .swiper-button-prev,
#proiect .swiper-button-next {
  outline: none;
  color: #000;
  border: 1px solid #e4e4e4;
  padding: 20px;
  border-radius: 50%;
  position: absolute;
  top: 20px;
}

#proiect .swiper-button-prev::after,
#proiect .swiper-button-next::after {
  font-size: 15px;
  font-weight: bold;
}

#proiect .swiper-button-prev {
  left: 220px;
}

#proiect .swiper-button-next {
  right: 20px;
}

#proiect #section-3 {
  padding: 50px 10px 80px;
  background-color: #f2f3f7;
}

#proiect #section-3 .title {
  font-size: 32px;
  margin: auto;
  text-align: center;
  margin-bottom: 50px;
}

#proiect #section-3 .proiecte-asemanatoare .proiect-asemanator {
  /* margin: 10px; */
  display: inline-block;
  position: relative;
  cursor: pointer;
}

#proiect #section-3 .proiecte-asemanatoare .proiect-asemanator img {
  opacity: 1;
  height: 320px;
  object-fit: contain;
  width: 100%;
}

#proiect #section-3 .proiecte-asemanatoare .proiect-asemanator .middle {
  transition: 0.5s ease;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #2f344973;
  z-index: 2;
}

#proiect
  #section-3
  .proiecte-asemanatoare
  .proiect-asemanator
  .middle
  .text-strong {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #fff;
  font-size: 20px;
  z-index: 3;
}

#proiect #section-3 .proiecte-asemanatoare .proiect-asemanator:hover .middle {
  opacity: 1;
}

#proiect #section-3 .button {
  border: 1px solid var(--primary-color);
  background-color: #f2f3f7;
  padding: 20px 25px;
  margin: auto;
  margin-top: 60px;
  display: flex;
}

#proiect #section-4 {
  background: url("../assets/images/proiect-section-4-background.png") no-repeat
    center center/cover;
  padding: 70px 10px;
  text-align: center;
}

#proiect #section-4 .title {
  text-align: center;
  font-size: 34px;
  margin-bottom: 28px;
}

#proiect #section-4 .text {
  font-size: 18px;
  margin-bottom: 50px;
}

#proiect #section-4 a.button {
  color: #fff;
  padding: 18px 28px;
  background-color: var(--secondary-color);
  border-radius: 4px;
  font-family: Arimo-Bold;
  font-size: 16px;
  text-decoration: none;
  width: 270px;
  margin: auto;
}

@media screen and (max-width: 1100px) {
  #proiect .swiper-button-prev,
  #proiect .swiper-button-next {
    /* display: none; */
    left: inherit;
  }

  #proiect #section-2 .col-md-4{
    display: flex;
    flex-direction: column;
  }

  #proiect .proiect-inainte .text-strong,
  #proiect .proiect-dupa .text-strong {
    text-align: center;
    margin-bottom: 20px;
  }

  #proiect .swiper-container {
    height: fit-content;
  }

  #proiect .swiper-pagination {
    display: block;
    color: #000;
    position: absolute;
    bottom: 10px;
  }

  #proiect .swiper-pagination-bullet {
    background-color: black;
  }
}

@media screen and (max-width: 992px) {
  #proiect #section-3 .proiecte-asemanatoare .proiect-asemanator .middle {
    opacity: 1;
  }
}

@media screen and (max-width: 500px) {
  #proiect #section-2 {
    padding: 30px 0 0;
  }
}

@media screen and (max-width: 430px) {
  #proiect #section-1 {
    padding: 30px 0 0;
  }

  #proiect #section-1 .title {
    font-size: 32px;
  }

  #proiect #section-1 .detalii-proiect {
    margin-bottom: 30px;
  }

  #proiect #section-1 .detalii-proiect .text {
    margin-bottom: 14px;
  }

  #proiect #section-1 .detalii-proiect .text {
    font-size: 14px;
  }

  #proiect #section-1 .detalii-proiect .left .text {
    width: 113px;
  }

  #proiect #section-1 .detalii-proiect .right .text {
    width: 218px;
  }

  #proiect #section-1 .text {
    margin-bottom: 30px;
  }

  #proiect #section-2 {
    padding: 30px 0;
  }

  #proiect #section-2 .proiect-inainte .text-strong,
  #proiect #section-2 .proiect-dupa .text-strong {
    font-size: 20px;
  }

  #proiect #section-3 .title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  #proiect #section-3 .proiecte-asemanatoare .proiect-asemanator img {
    width: 300px;
    margin: auto;
  }
}

@media screen and (max-width: 340px) {
  #proiect #section-1 .detalii-proiect .left .text {
    width: 50px;
  }

  #proiect #section-1 .detalii-proiect .right .text {
    width: 218px;
  }
}
