#about{
    padding: 0;
}
#about .header h1{
    /* background: rgba(0, 0, 0, 0.5); */
    padding: 50px;
    color: white;
    font-size: 50px;
}
.header img{
    /* object-position: 0px -250px; */
}
#about main{
    display: grid;
    grid-template-columns: 30% 70%; 
    margin-top: 50px;
    padding: 0 30px;
    justify-items: center;
}
main ul h2{
    text-transform: uppercase;
    font-family: serif;
    font-size: 30px;
    /* color: var(--blue); */
    position: relative;
    margin-bottom: 20px;
}
main ul li:not(.pop-up li){
    font-size: 20px;
    margin: 15px 0;
    font-weight: 600;
    cursor: pointer;
    color: var(--blue);
    position: relative;
    width: fit-content;
}
main ul li:not(.pop-up li)::before{
    position: absolute;
    content: "";
    width: 0%;
    height: 2px;
    bottom: -3px;
    background: var(--blue);
    transition: .8s;
}
main ul li:not(.pop-up li):hover::before{
    width: 70%;
}
main ul li:not(.pop-up li).active::before{
    width: 70%;
}
#about main img:not(.pop-up img){
    width: 90%;
}
main p{
    font-size: 20px;
    line-height: 1.5em;
    margin-top: 20px;
}
#about article{
    margin-bottom: 50px;
    /* display: none; */
}
#about article h2{
    font-weight: 600;
    position: relative;
    /* margin-bottom: 50px; */
}
#about article h2:not(.values h2):after{
    content: "";
    height: 2px;
    width: 100px;
    top: 50%;
    margin-left: 10px;
    background: var(--blue);
    opacity: .5;
    position: absolute;
}


.about-us{
    /* display: none; */
}
.our-purpose{
    display: none;
}
.leadership{
    display: none;
}
.strategy{
    display: none;
}



.values h2{
    margin: 40px 0;
    /* text-align: center; */
}
.value-section{
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, 20%);
    font-size: 12px;
}
#about .values-box p{
    font-size: 15px;
    line-height: 1.5em;
    margin-top: 5px;
}
.values-box{
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}
.values-box .fa-solid{
    font-size: 300%;
}

.profiles{
    margin-top: 50px;
    /* align-items: center; */
    display: grid;
    grid-template-columns: auto auto;
    justify-items: center;
    /* flex-wrap: wrap; */
    gap: 20px;
}
.container{
    width: 300px;
    cursor: pointer;
}
.card {
    position: relative;
    width: 300px;
    height: 300px;
    border: 3px solid var(--blue);
    gap: 30px;
    background-size: cover;
    background-repeat: no-repeat;
  }
.card .text{
    position: absolute;
    bottom: 0;
    color: white;
    padding: 10px;
    font-size: 16px;
    background: linear-gradient(transparent, black);
    width: 100%;
}
#about .card .title{
    margin-top: 0;
    font-size: 13px;
}
  .container .desc{
    font-size: 16px;
    text-align: center;
    bottom: 0;
    margin-bottom: 40px;
  }

.profiles .pop-up{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
}
.profiles .pop-up-content{
    display: flex;
    gap: 50px;
    background: white;
    width: 80%;
    height: 360px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
}
.pop-up .content{
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: scroll;
}
.pop-up h1{
    margin-bottom: 0;
    font-size: 40px;
}
.pop-up p{
    margin-top: 10px;
}
.pop-up h3{
    font-size: 25px;
    letter-spacing: 3px;
}
.pop-up img{
    width: 300px;
    height: 300px;
    object-fit: cover;
}
.pop-up ul{
    margin-top: 10px;
    /* list-style: disc; */
}
.pop-up li{
    color: black;
    font-size: 20px;
    position: relative;
    /* font-size: 18px; */
    /* list-style: disc; */
    margin-left: 20px;
}
.pop-up li::before{
    position: absolute;
    content: "-";
    /* margin-right: 10px; */
    left: -20px;
}
.fa-xmark{
    cursor: pointer;
    position: absolute;
    background: var(--blue);
    width: fit-content;
    color: white;
    font-size: 20px;
    padding: 10px;
    border-radius: 50%;
    top: -15px;
    right: -15px;
}



  @media (max-width: 700px){
    .profiles{
        grid-template-columns: auto;
    }
    .container{
        width: 100%;
    }
    .container .desc{
        text-align: left;
    }
  }

  @media (max-width: 1000px){
    #about{
        margin-top: 80px;  
    }
    #about .header h1{
        padding: 20px;
        font-size: 30px;
    }
    .header img{
        object-position: 50% 50%;
    }
    #about p{
        font-size: 16px;
    }
    #about main{
        display: block;
    }
    main ul h2{
        display: none;
    }
    #about article h2:after{
        display: none;
    }
    .value-section{
        grid-template-columns: auto;
    }
    .values-box{
        text-align: left;
    }
    .card{
        width: 100%;
    }
    .profiles .pop-up-content{
        padding: 15px;
        /* top: 20%; */
        height: 80vh;
        flex-direction: column;
    }
    .pop-up img{
        width: 100%;
    }
    .pop-up li{
        font-size: 16px;
    }
  }
