body {
    background-color: var(--primary-color);
}

.leadership h3, h2 {
    color: #ffde59;
}

.leadership h3 {
    font-weight: 800;
}

.leadership h2 {
    font-size: 1.3rem;
    font-weight: 800;
}

.leadership p {
    color: white;
    margin-bottom: 0.5rem;
    font-size: medium;
}

.leadership {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.leadership:last-child {
    border-bottom: none;
}

.leadership .background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    height: calc(100vh - (90px + 1rem));
}
.bio-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.description-area {
    flex-grow: 1;
}

.description-container {
    position: relative;
    /* 96px - logo footer
        114px- header
        3rem - padding
    */
    height: calc(100vh - 96px - 114px - 3rem);
    overflow: hidden;
    transition: height 0.4s ease, overflow 0.4s ease;
    margin-bottom: 15px;
    min-height: 100px;
}

.description-container.is-expanded {
    height: auto;
    overflow: visible;
}

.description-inner {
    position: relative;
    height: 100%;
    overflow: hidden;
    transition: mask-image 0.4s ease, -webkit-mask-image 0.4s ease;
}

.description-container:not(.is-expanded) .description-inner {
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}

.description {
    margin-bottom: 40px;
    width: 100%;
}

.description-container.is-expanded .description-inner {
    height: auto;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
}

.read-more-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #ffde59;
    font-weight: bold;
    text-decoration: none;
    width: 100%;
    text-align: center;
    z-index: 10;
    padding: 8px 0;
    cursor: pointer;
}

.read-less-btn {
    display: none;
    color: #ffde59;
    font-weight: bold;
    text-decoration: none;
    width: 100%;
    text-align: center;
    margin-top: 10px;
    cursor: pointer;
}

.description-container.is-expanded .read-more-btn {
    display: none;
}

.description-container.is-expanded .read-less-btn {
    display: block;
}

.read-more-btn:hover, .read-less-btn:hover {
    text-decoration: underline;
    color: #ffd025;
}

.description-container.no-overflow .read-more-btn {
     display: none;
}

.educations {
    margin-top: auto;
    padding-top: 15px;
}

.bg-image-mobile {
    display: none;
}
.description-container:not(.is-expanded):not(.no-overflow) .description-inner {
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    transition: mask-image 0.4s ease, -webkit-mask-image 0.4s ease;
    overflow: hidden;
}

.description-container.is-expanded .description-inner,
.description-container.no-overflow .description-inner {
    -webkit-mask-image: none;
    mask-image: none;
    overflow: visible;
}

@media (max-width: 991px) {
    .bg-image-mobile {
        display: block;
        margin-top: 20px;
    }
     .description-container {
         height: auto;
         max-height: 250px;
    }
     .description-inner {
         height: auto;
         max-height: 250px;
    }
     .description-container.is-expanded .description-inner {
        max-height: 5000px;
    }
    .description-container.is-expanded {
        max-height: 5000px;
     }
    .description-container:not(.is-expanded):not(.no-overflow) .description-inner {
         mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%,rgba(0,0,0,1) 55%, rgba(0,0,0,0) 90%);
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 90%);
    }
}




.side-profile {
    height: 100vh;
    max-height: 100vh;
    object-position: top;
    object-fit: cover;
    width: 100%;
}

.educations {
    background-color: white;
    border-radius: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.educations img {
    height: 4rem;
    width: 9rem;
    object-fit: contain;
    padding: 0.2rem;
    background-color: white;
    border: 1px solid #eaeaea;
    border-radius: 0.5rem;
}

.side-profile.background{
    display: none;
}
.image-person{
    position: relative;
}
@media(min-width: 991px){
    .image-person-container{
        display: flex;
        flex-direction: column;
    }
    .image-person{
        margin-top: auto;
    }
}
@media (max-width: 768px) {
    .leadership {
        min-height: auto;
    }
    .image-person {
         padding: 0 1rem;
         margin: 0 1rem;
    }
}
@media (min-width: 700px) and (max-width: 991px){
    .side-profile {
        height: 50vh;
        width: 100%;
        object-fit: contain;
    }
    .description-container{
        margin: 1rem 3rem;
    }
    .leadership h3, .leadership h2{
        margin: 1rem 3rem;
    }
}
@media (max-width: 700px){
    .side-profile.background{
        display: block;
        position: absolute;
        top: 0;
        height: 50vh;
        left: 0;
        right: 0;
        z-index: 2;
        object-fit: cover;
        padding: 0 1rem;
        object-position: bottom right;
    }
    .side-profile {
        position: relative;
        height: 50vh;
        z-index: 3;
        object-fit: contain;
        object-position: left;
    }
    .description-container{
        margin: 1rem;
    }
    .description-container p{
        font-size: small;
    }
    .leadership h3, .leadership h2{
        margin: 1rem;
        font-size: medium;
    }
}