/* About CSS */

/* Vision, Mission, Objs, Values */
.vision, .mission, .core-vals {
    & img.icon-img {
        margin-bottom: .75rem;
        display: block;
        object-fit: contain;
        aspect-ratio: 1 / 1;
        width: 75px;
    }
}

.vision-mission {
    font-size: .875rem;
    & span {
        font-size: 1.2rem;
        font-weight: bold;
        /* text-decoration: underline; */
    }
    & p { 
        font-family: var(--secondary-font);
        font-size: 1.1rem;
    }
}
.core-vals {
    & .vals-title {
        font-size: 1.2rem;
        font-weight: bold;
        /* text-decoration: underline; */
    }
    & ul {
        /* display: flex;
        flex-direction: column;
        align-items: flex-start; */
        font-size: .875rem;
        line-height: normal;
        & li.val {
            display: flex;
            /* flex-direction: column; */
            gap: 0;
            flex-wrap: nowrap;
            align-items: flex-start;
            /* width: auto; */
            transition: all .3s;
            list-style: none;
            cursor: default;
            & img.icon-img {
                margin: 0 !important;
                object-fit: contain;
                aspect-ratio: 1 / 1;
                width: 50px;
            }
            & span:first-of-type {
                margin-left: .25rem;
                width: 100%;
                display: flex;
                flex-wrap: nowrap;
                color: var(--bs-dark-primary);
                /* text-wrap: wrap;
                white-space: wrap; */
                /* text-shadow: 0 2px 3px rgba(0, 0, 0, .35); */
                transition: all .3s;
                &::before {
                    position: relative;
                    content: "\f105";
                    font-family: "Font Awesome 5 Free";
                    font-weight: 900;
                    color: var(--bs-primary);
                    margin-right: 10px;
                }    
            }
            & span:last-of-type {
                margin: .15rem .25rem .35rem 1.5rem;
                max-width: 100%;
                display: none;
                opacity: 0;
                transition: all .3s;
                text-wrap: wrap;
                white-space: wrap;
            }
            &:hover {
                & span:first-of-type {
                    color: var(--bs-primary);
                    letter-spacing: 1px;
                    box-shadow: none;
                }
                & span:last-of-type {
                    display: block;
                    opacity: 1;
                    border-bottom: 1px solid var(--body);
                }
            }
        }
    }
}

p.coy-hist {
    margin-bottom: 1rem;
    padding-right: .5rem;
    font-family: var(--secondary-font);
    font-size: 1.1rem;
    color: var(--bs-dark-primary);
    text-align: justify;
    /* text-shadow: 0 2px 3px rgba(0, 0, 0, .35); */
}

.service-item overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .75);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
    text-shadow: 0 2px 3px rgba(0, 0, 0, .35);
    /* color: white; */
}
.service-item:hover overlay {
    padding-left: .5rem;
    height: 100%;
    opacity: 1;
}

.service-list-item { 
    display: inline-flex;
    & i {
        margin-right: .25rem;
    }
}
