/*======= Team =======*/
.team-members {
    .team-member {
        text-align: center;
        margin-top: 30px;

        .member-desc {
            padding: 40px;
            border: 2px solid #f5f9fa;
            border-top: none;
            @include transition(0.3s);

            @include respond-below(lg) {
                padding: 35px 20px;
            }

            .name {
                text-transform: uppercase;
                font-size: 30px;
                margin-bottom: 30px;
                letter-spacing: -1px;

                @include respond-below(lg) {
                    font-size: 24px;
                }

                @include respond-below(sm) {
                    font-size: 22px;
                }
            }

            .position {
                line-height: 1;
                font-size: 16px;
                font-weight: 700;
                font-family: $raj;
                text-transform: uppercase;
                letter-spacing: 2px;
                color: $primary-color;
                margin-bottom: 5px;
            }

            .social-links {
                display: flex;
                align-items: center;
                justify-content: center;

                a {
                    height: 50px;
                    width: 50px;
                    line-height: 48px;
                    text-align: center;
                    border: 2px solid #f5f9fa;
                    color: $text-color;
                    font-size: 16px;
                    margin: 0 5px;
                    @include transition(0.3s);
                    position: relative;

                    @include respond-below(sm) {
                        font-size: 14px;
                        width: 40px;
                        height: 40px;
                        line-height: 38px;
                        margin: 0 2px;
                    }

                    &::before {
                        position: absolute;
                        left: 50%;
                        top: 50%;
                        width: 0;
                        height: 0;
                        z-index: -1;
                        transform: translate(-50%, -50%);
                        @include transition(0.3s);
                        background-color: $primary-color;
                        content: "";
                    }

                    &:hover {
                        &::before {
                            height: 100%;
                            width: 100%;
                        }
                    }
                }
            }
        }

        .member-image {
            overflow: hidden;
        }

        &:hover {
            .member-desc {
                box-shadow: 0px 16px 32px 0px rgba(7, 28, 31, 0.04);
                border-color: transparent;
            }

            .member-image img {
                transform: scale(1.1);
            }
        }
    }
}