
/*About us css*/

.nav-tab-btn {
  font-family: 'Mulish', sans-serif;
  background-color: var(--white-color);
  border: 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin: .5rem;
  border-radius: .5rem;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .05rem;
  transition: .5s;
}

.tab-active, .nav-tab-btn:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
  box-shadow: 0 10px 18px 0 var(--primary-color);
  transition: .5s;
}

.tab-responsive {
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .tab-responsive {
    display: flex;
    flex-direction: column;
  }
}



  .lift-up {
    transform: translateY(-20%);
  }
  
  @media (min-width: 576px) {
    .lift-up {
      transform: translateY(-20%);
    }
  }
  @media (min-width: 768px) {
    .lift-up {
      transform: translateY(-50%);
    }
  }
  @media (min-width: 992px) {
    .lift-up {
      transform: translateY(-50%);
    }
  }

  
  /*marging the company*/
  .margin-tc {
    margin-top: 3rem;
  }
  /*margin section*/
  .margin-s {
    margin-top: 6rem;
  }

  @media (max-width: 768px) {
    .margin-tc {
      margin-top: 0;
    }
    .margin-s {
      margin-top: 4rem;
    }
    .og-col-margin {
      margin-top: 2rem;
    }
  }
  
  
  .hero-title {
    font-size: 41px;
    font-weight: 800;
    text-align: center;
    margin-top: 0;
    padding-top: 4rem;
  }
  
  .section-heading {
    font-size: 41px;
    text-align: center;
  }
  
  @media (max-width: 768px) {
    .section-heading {
      font-size: 36px;
    }
  }
  
  @media (max-width: 567px) {
    .section-heading {
      font-size: 32px;
    }
  }
  

  .about-card {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    background-color: var(--white-color);
    box-shadow: 0 6px 10px 0 #d9171a09;
  }

  .img-bg {
    width: 100%;
    height: 100%;
    background-position: right top;
    background-repeat: no-repeat;
    padding: 1rem;
    background-image: url(../assets/about-page-img-bg.png);
  }

  .img-bg-2 {
    width: 100%;
    height: 100%;
    background-position: right top;
    background-repeat: no-repeat;
    padding: 1rem;
    background-image: url(../assets/about-page-img-bg-1.png);
  }

  .company-img {
    width: 100%;
    border-radius: 1rem;
  }

  /*title css*/
  .title {
    font-size: 41px;
    font-weight: 800;
    margin-top: 0;
  }

  
  @media (max-width: 768px) {
    .title {
      font-size: 36px;
    }
  }
  
  @media (max-width: 567px) {
    .title {
      font-size: 32px;
      text-align: center;
    }
    .tc-des {
      text-align: center;
    }
  }


.og-icon {
  color: var(--primary-color);
}

.og-card {
  display: flex;
  padding: 1rem;
  border-radius: .8rem;
  background-color: var(--secondary-color);
}

.og-card img{
  width: 60px;
  height: 60px;
  margin-right: 1rem;
}

.oa-bg {
  background-image: url(../assets/oa-bg.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  
}

.oa-bg-1 {
  background-image: url(../assets/oa-bg-1.png);
  background-repeat: no-repeat;
  background-position: left top;
  padding-left: 1rem;
  padding-bottom: 2rem;
  padding-right: 2rem;
}

.oa-img {
  border-top-left-radius: 1rem;
  width: 100%;
}

@media (max-width: 768px) {
  .oa-bg-1 {
    padding-bottom: 1rem;
  padding-right: 1rem;
  }

}

.mp-img-bg {
  background-image: url(../assets/meggasge-provider-img-bg.png);
  background-repeat: no-repeat;
  background-position: left;
  padding: 1rem;
  border-radius: .8rem;
}

.mp-img-bg img{
  border-radius: .8rem;
}

.mp-img-bg-second {
  background-image: url(../assets/meggasge-provider-img-bg.png);
  background-repeat: no-repeat;
  background-position: right;
  padding: 1rem;
  border-radius: .8rem;
}

.mp-img-bg-second img{
  border-radius: .8rem;
}

.board-member-img {
  width: 100%;
}

.mb-header-box {
  width: fit-content;
  color: var(--white-color);
  font-weight: 500;
  padding-top: .5rem;
  padding-bottom: .6rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: .5rem;
  background-color: var(--primary-color);
}

.margin-t {
  margin-top: 6rem;
}

@media (max-width: 768px) {
  .margin-t {
    margin-top: 1.5rem;
  }

}

/*team card with phone number=========================*/
.m-team-card-phone {
  background:var(--white-color);
  border-radius: 1rem;
  padding: 1.5rem;
  height: 360px;
  transition: .7s ease-in-out;
}

.m-team-card-phone:hover {
  height: 630px;
  transition: .5s ease-in-out;
}

.m-team-phone-content h3{
  position: relative;
  color: var(--primary-color);
  font-family: 'Mulish', sans-serif;
  font-size: 20px;
  text-align: center;
  margin: .8rem 0;
  top: -3.2rem;
  text-transform: uppercase;
}

.m-team-phone-content h4{
  position: relative;
  text-align: center;
  top: -3.5rem;
}

.m-team-phone-content h5{
  position: relative;
  text-align: center;
  top: -3.7rem;
}

.m-team-phone-content p{
  position: relative;
  text-align: justify;
  line-height: 1.4rem;
  top: -6rem;
  visibility: hidden;
  opacity: 0;
  transition: .6s ease-in-out;
}

.m-team-card-phone:hover .m-team-phone-content p {
  top: -3rem;
  visibility: visible;
  opacity: 1;
  transition-delay: .7s ease-in-out;
}


/*======================team card================*/
.m-team-card {
  background:var(--white-color);
  border-radius: 1rem;
  padding: 1.5rem;
  height: 330px;
  transition: .7s ease-in-out;
}

.m-team-img {
  display: flex;
  justify-content: center;
}

.m-team-img img {
  border-radius: .8rem;
  position: relative;
  width: auto;
  height: 100%;
  top: -3.5rem;
  box-shadow: 0 4px 12px 0 #d9171a28;
}

.m-team-card:hover {
  height: 630px;
  transition: .5s ease-in-out;
}


.m-team-content h3{
  position: relative;
  color: var(--primary-color);
  font-family: 'Mulish', sans-serif;
  font-size: 20px;
  text-align: center;
  margin: .8rem 0;
  top: -3.2rem;
  text-transform: uppercase;
}

.m-team-content h4{
  position: relative;
  text-align: center;
  top: -3.5rem;
}


.m-team-content p{
  position: relative;
  text-align: justify;
  line-height: 1.4rem;
  top: -6rem;
  visibility: hidden;
  opacity: 0;
  transition: .6s ease-in-out;
}

.m-team-card:hover .m-team-content p {
  top: -1.5rem;
  visibility: visible;
  opacity: 1;
  transition-delay: .7s ease-in-out;
}


@media (max-width: 1400px) {
  .m-team-card-phone:hover {
    height: 630px;
  }
  .m-team-card:hover {
    height: 630px;
  }

}

@media (max-width: 1200px) {
  .m-team-card-phone:hover {
    height: 720px;
  }
  .m-team-card:hover {
    height: 700px;
  }

}

@media (max-width: 992px) {
  .m-team-img img {
    width: 100%;
  }
  .m-team-card-phone:hover {
    height: 870px;
  }
  .m-team-card:hover {
    height: 850px;
  }

}

@media (max-width: 768px) {
  .m-team-img img {
    width: auto;
  }
  .m-team-card-phone {
    height: 380px;
  }
  .m-team-card-phone:hover {
    height: 700px;
  }
  .m-team-card:hover {
    height: 650px;
  }

}

.team-card-down {
  position: relative;
  top: 220px;
}