.hero-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 60px 0;
  height: 450px;
  background: #f5f5f5;
  background-image:linear-gradient(rgba(22, 85, 156, 0.7), rgba(22, 85, 156, 0.7)), url('../images/shakinghands.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right center;
}

.contact-text{
    text-align: center;
    font-size: 60px;
    color: aliceblue;
}

.about {
  text-align: center;
  padding: 190px 20px 280px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.title-about {
  font-size: 2.5rem;
  margin: 40px 0px;
  text-align: center;
}

hr.center-diamond {
  background: #6495ED;
}

.team-text-left{
  text-align: left;
  width: 100%;
  padding: 20px;
  align-content: center;
}

.team-text-right{
  text-align: right;
  width: 100%;
  padding: 20px;
  align-content: center;
}

.team-text-container{
  display: flex;
  gap: 50px;
  /* flex-wrap: wrap; */
}
.team-grid {
  display: flex;
  gap: 6.15rem;
  justify-content: center;
  flex-wrap: wrap;
}


@media (max-width: 330px) {

  .team-text-container {
        padding: 1.5rem;
  }
}

@media (max-width: 420px) {
  .contact-text {
    font-size: 40px;
  }
  .team-text-container {
        padding: 2.5rem;
  }
}

@media (max-width: 525px) {

  .team-text-left{
    font-size: small;
  }

  .team-text-right{
    font-size: small;
  }

  .team-text-container {
    padding: 4.5rem;
  }
}

@media (max-width: 858px) {

  .team-grid {
    gap: 0;
  }

  .team-text-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    gap: 1.5rem;
  }

  .team-text-container .team-member {
    order: 0;
  }

  .team-text-container .team-text-left,
  .team-text-container .team-text-right {
    order: 1;
  }
  .team-member {
    display: flex;
    justify-content: center;
  }
  .team-member img {
    max-width: 100%;
    height: auto;
  }
  .nav-links {
    display: none; 
  }
  .menu-dot {
    display: block; 
  }
  nav ul li {
    margin-left: 0px;
  }
 .aboutus-content {
    flex-direction: column;
    text-align: center;
  }

  .text-box, .image-box {
    width: 100%;
  }

  .text-box {
    padding: 30px 20px;
  }

  .team-text-container {
    display: flex;
    padding: 4rem;
    flex-wrap: wrap;
  }
  .team-text-left{
    text-align: center;
    padding: 20px;

  }

  .team-text-right{
    text-align: center;
    padding: 20px

  }
}
