.hero {
  padding-top: 0px;
  padding-bottom: 0px;
  position: relative;
  color: black;
}

.hero .container {
  object-fit: contain;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
  background-size: 70%;
  padding-top: 100px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
}

.hero__bg {
  width: 100%;
}
.hero__bg img {
  width: 100%;
}

.hero__text {
  z-index: 10;
  position: relative;
  max-width: 380px;
}

.hero__text h1 {
  font-size: 50px;
}

.hero__text b {
  color: var(--color-orange);
}

.hero__text p {
  color: var(--text-gray);
  font-size: 16px;
}

.about-us {
  background: #fafafa;
}

.about-us .container {
  display: flex;
  text-align: left;

  align-items: center;
  justify-content: space-between;
}

.about-us__images img {
  max-width: 600px;
  width: 100%;
}

.about-us__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.about-us__text h2 {
  margin-bottom: 0px;
  text-align: left;
}

.about-us__text p {
  margin-top: 0px;
  max-width: 500px;
}

.about-us__text .button {
  background: white;
  color: black;

  box-shadow: none;
  border: 1px solid rgba(145, 158, 171, 0.32);
  border-radius: 8px;
  padding: 11px 42px;
}

.services {
  display: flex;
  flex-wrap: wrap;
  max-width: 500px;
  gap: 20px;
  justify-content: flex-start;
}

.service {
  border-radius: 5px;
  background: #f3f3f3;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service img {
  width: 50px;
}

.service h3 {
  font-size: 14px;
  margin: 0;
}

.clients {
  position: relative;
}

.clients__bg {
  width: 100%;
}

.container {
  box-sizing: border-box;
}

.clients__list {
  margin-top: 40px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-around;
  gap: 10px;
  max-width: 100%;
  flex-wrap: wrap;
}
.clients__list img {
  width: 100%;
  max-width: 140px;
  height: 60px;
  background: rgb(228, 228, 228);
  object-fit: scale-down;
  padding: 20px;
  border-radius: 5px;
}

.clients-title {
  text-align: center;
  margin: 0 auto;
  margin-bottom: 100px;
  max-width: 800px;
}

.reviews {
  padding-top: 40px;
  padding-bottom: 40px;
  background: url("../images/about/Testimonials.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  overflow: hidden;
}

.reviews .section-subtitle {
  color: white;
  text-align: left;
  margin: 0;
  margin-bottom: 50px;
}

.reviews .section-title {
  text-align: left;
}

.reviews__link {
  color: var(--color-orange);
}

.reviews .container {
  display: flex;
  align-items: center;
  gap: 25px;
  justify-content: space-between;
}

.reviews__text {
  max-width: 360px;
  margin-right: 40px;
}

.reviews-wrapper {
  display: flex;
  gap: 24px;
}

#second-list {
  margin-top: -270px;
}

.reviews__list {
  gap: 25px;
  display: flex;
  flex-direction: column;
  max-height: 700px;
}

.review {
  border-radius: 16px;

  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.04);
  max-width: 276px;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 24px;
}

.review h4 {
  color: rgb(255, 255, 255);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0px;
  text-align: left;
}

.review span {
  color: rgb(145, 158, 171);
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0px;
  text-align: left;
}

.stars {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}

.review p {
  color: rgb(255, 255, 255);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0px;
  text-align: left;
}

@media (max-width: 1300px) {
  .about-us .container {
    flex-direction: column;
    gap: 100px;
  }
}

@media (max-width: 1000px) {
  .reviews .container {
    flex-direction: column-reverse;
  }

  .reviews-wrapper {
    overflow: hidden;
    align-items: center;
  }

  .reviews__text .section-subtitle {
    text-align: center;
  }

  .reviews__text .section-title {
    text-align: center;
  }

  .reviews__text {
    text-align: center;
  }

  .clients-title {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .hero__text p {
    font-size: 14px;
  }

  .about-us__images {
    justify-content: center;
  }

  .hero .container {
    flex-direction: column;
  }

  .hero__bg img {
    max-height: 300px;
    object-fit: scale-down;
  }

  .hero .container {
    padding-top: 50px;
  }

  .clients-title {
    font-size: 15px;
    text-align: justify;
  }


}

@media (max-width:600px){
  
  .clients__list img {
    max-width: 200px;
    width: 45%;
    box-sizing: border-box;
    max-width: 140px;
    height: 60px;
    background: rgb(228, 228, 228);
    object-fit: scale-down;
    padding: 20px;
    border-radius: 5px;
  }
}

@media (max-width: 668px) {
  .proffesion img {
    height: 200px;
    object-fit: cover;
  }

  
  .clients img {
    max-width: 200px;
    width: 45%;
    box-sizing: border-box;
    max-width: 140px;
    height: 60px;
    background: rgb(228, 228, 228);
    object-fit: scale-down;

    border-radius: 5px;
    padding: 5px;
  }
}

@media (max-width: 500px) {
  .reviews-wrapper {
    flex-direction: column;
  }

  #second-list {
    display: none;
  }
}
