/*=================================================================
  Hero
==================================================================*/
.hero {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: linear-gradient( to right, rgba(23, 23, 23, 0.80), rgba(23, 0, 0, 0) ), 
    url(../img/about-us.jpeg) !important;
    padding: 15vh 0;
    color: #FFF;
}

#img-rd img{
  border-radius: 8rem 0 5rem 0;
  border: 8px solid #932FB6;
}
#vision p, #core-values p{
   color: #fff;
}
#vvision p{
   color: #000 !important;
}
.hero-text {
    color: #FFF;
    text-align: center;
    font-size: 2rem;
    font-style: normal;
    font-weight: 500;
    line-height: 31px; /* 155% */
    letter-spacing: 0.1px;
}

/*====================================================================
Who We Are
=====================================================================*/
#vvision, #whorow{
  align-items: center;
  display: flex !important;
 flex-direction: row;
justify-content: space-between !important;
  width: 70%;
  margin-left: 15%;
  gap: 40px !important;
}
#vision{
  /*align-items: center;*/
  display: flex !important;
 /*flex-direction: row;*/
justify-content: space-between !important;
  width: 70%;
  margin-left: 15%;
  gap: 40px !important;
}
.col{
  width: 50%;
}

.about-nav ul {
  display: flex;
  flex-direction: row;
  list-style: none;
  gap:2em;
  //border-bottom: 1px solid #F2F2F2 ;
  overflow-x: auto;
  white-space: nowrap;
 padding: 30px 0;

}

.about-nav h2 {
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 400;
  line-height: 34.5px; /* 172.5% */
  letter-spacing: 0.1px;
}


.about-nav ul a{
  color: #000000;
}

#whoWeAre img {
  width: 100%;
  margin: 3em 0;
}

/* .mission-block {
  border-radius: 8px;
  background: #531F59;
  color: #FFFFFF;
  box-shadow: 0px 2px 4px 4px rgba(0, 0, 0, 0.10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  padding: .6em 2em 2em 2em;
  margin: 2em 0;
  height: 250px;
}
*/
.mission-block h3 {
  color: #FFFFFF;
}

.mission-block p {
  font-size: 2rem;
  font-style: normal;
  font-weight: 400;
  line-height: 146.6%; /* 29.32px */
  letter-spacing: -0.1px;
}




@media (max-width:768){
#vision, #vvision, .row, #whorow{
  align-items: center;
  display: flex !important;
/*  flex-direction: column;*/
  width: 80%;
 margin-left: 10%;
}
.col{
  width: 100%;
}
/*.card-left img{
    max-width:50%;
    margin:0 auto;
}*/
}
@media (min-width:50em){

  #whoWeAre article {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
  }

  #whoWeAre article div {
    width: 40%;
  }
}

/*====================================================================
About cont
=====================================================================*/

#about-cont img {
  width: 100%;
  margin: 3em 0;
}

/* pop up */
.backdrop {
    background: fixed;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 10;
}

#toggleform{
  position: fixed;
  top: 15vh;
  left: 50%;
  background-color: rgba(255, 255, 255);
  border-radius: 50%;
  border: transparent;
  color: #000;
  z-index: 999;
  /*width: 30px;
  height: 30px;*/
  padding: 10px 20px;
  display: none;
}

.dialog {
  position: fixed;
  top: 10vh;
  left: 10%;
  width: 80%;
  z-index: 100;
  border: none;
  background-color: rgb(255, 255, 255) !important;
  max-height: 80vh;
  overflow-y: scroll !important;
   padding: 2.5rem 2rem;

    border-radius: 2rem;

    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.06);

}
.dialog-text{
  padding: 10px 0;
  overflow-y: scroll !important;
  max-height: 100%;
}
.dialogimg{
    width: 100%;
    display: none;
}

.pop-close{
    margin-top: -60px;
    padding-right: 50px;
    font-weight: 100 !important;
    color: #273765;
    font-size:  30px !important;
    line-height: 30px;
    cursor: pointer;
}
.consultantdetail{
display: none;
overflow-y: scroll !important;

}




@media (min-width:50em){
  #whoWeAre article {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
  }

  #whoWeAre article div {
    width: 40%;
  }
}

/*====================================================================
About cont
=====================================================================*/

#about-cont img {
  width: 100%;
  margin: 3em 0;
}

@media (min-width:50em){
  #about-cont article {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin: 3em auto;
  }

  #about-cont article div {
    width:40%;
  }


}

/*====================================================================
Core Values
=====================================================================*/

#core-values {
  background: #531F59;
  color: #FFFFFF;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 400;
  line-height: 34px; /* 212.5% */
  letter-spacing: 0.08px;
  padding: 2em 0;
}

.core-values {
  display: flex;
  flex-direction: column;
  gap: 2em;
  margin: 2em auto;
}

.core-value-content-block h3 {
  color: #FFFFFF;
  font-size: 2rem;
  font-weight: 700;
}

.core-value-content-block {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

@media (min-width:50em){
  .core-values {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
  }

  .core-value-content-block {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
  }
  .core-value-content-block div {
    width: 40%;
  }
}

/*====================================================================
Our Strength
=====================================================================*/
article.pic {
  width: 90vw;
  min-height: 90vw;
  border-radius: 8px;
}

.gallery{
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;

 margin: 0 auto;
}

.gallery article:nth-child(3), .gallery article:nth-child(4){
  grid-row: span 2;
}

@media (min-width:50em) {
  .gallery {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);

    margin-inline: auto;
  }

  article.pic {
    width: 20vw;
    min-height: 20vw;
    border-radius: 8px;
  }

  .gallery article:nth-child(3){
    grid-column-start: 2;
    grid-row: span 2;
  }

  .gallery article:nth-child(4){
    grid-column-start: 3;
    grid-row: span 2;
  }


  .gallery article:nth-child(2){
    grid-row-start: 2;
    grid-column-start: 1;
  }


}

@media (min-width:1400px) {
  article.pic {
    width: 300px;
    min-height: 300px;
    border-radius: 8px;
  }
}

/*====================================================================
Our Board
=====================================================================*/

.profile-photo {
  border-radius: 4px;
}

.name-card {
  border-radius: 8px;
  background: #F6E4F6;
  padding: 10px 20px;
  max-width:380px;
  box-sizing: border-box;
  transform:translateY(-4rem);
}

@media (min-width: 50em){
  .name-card {
    max-width: 100%;
  }
}

.accomplishments {
  color: #9C8AA3;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.profession {
  color: #615865;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.profile-card {
  margin: 4rem auto;
}

.card-body-short, .card-text {
  color: #050517;
  font-style: normal;
  font-weight: 400;
  line-height: 39.5px;
  letter-spacing: 0.32px;
  max-width: 375px;
}

.continue-reading, .close-profile {
  color: #932FB6;
  font-weight: 500;
  line-height: 39.5px;
  letter-spacing: 0.32px;
}

a.continue-reading:visited, a.close-profile:visited  {
  color: #932FB6;
}

@media (min-width:820px) {


}

@media (min-width:1400px) {

  .profile-card {
    margin: 10rem auto;
  }
  .face-card {
    display: flex;
    flex-direction: row;
  }
  
  .profile-card:nth-child(even) .face-card{
    display: flex;
    flex-direction: row-reverse;
  }
  .card-left, .card-right {
    box-sizing: border-box;  
  }
  .card-left{
    width: 37%;

  }
  .card-right{
    padding-top: 8rem;
    padding-left: 40px;    
    width:63%
  }
  .card-right p{
padding-right: 50px;
}

  .name-card, .card-text {
    max-width: 100%;
  }
  .card-body-short {
    max-width: 90%;
    padding-top: 40px !important;
  }

  .name-card{
    transform: translateX(-10rem);
    max-width: 850px;
  }

  .profile-card:nth-child(even) .name-card {
    transform: translateX(3rem);
  }
}

/*====================================================================
Our Consultants
=====================================================================*/

#consultants {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.consultant-card {
    flex: 0 0 100%; /* Default for mobile: takes 100% of the width of its container */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    padding: 25px 20px;
    border-radius: 20px;
}

.consultant-card img {
  max-width: 100%;
    height: auto;
}

/* Tablet and up */
@media (min-width: 768px) {
  .consultant-card {
      flex: 0 0 calc(33.3333% - 30px); /* Minus 30px to account for the gap */
  }
}

/* Desktop and up */
@media (min-width: 1024px) {
  .consultant-card {
      flex: 0 0 calc(33.3333% - 30px);
  }
}

/*====================================================================
Awards
=====================================================================*/

#awards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.award-card {
  flex: 0 0 100%; /* Default for mobile: takes 100% of the width of its container */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  padding: 25px 20px;
  border-radius: 20px;
}

.award-card img {
  max-width: 100%;
    height: auto;
}


/* Tablet and up */
@media (min-width: 768px) {
  .award-card {
      flex: 0 0 calc(33.3333% - 30px); /* Minus 30px to account for the gap */
  }
}

/* Desktop and up */
@media (min-width: 1024px) {
  .award-card {
      flex: 0 0 calc(33.3333% - 30px);
  }
}
