@use '../../root' as *;
@use '../../utilities' as *;

.team1 {
    border-radius: 14px;
    background: linear-gradient(180deg, #EBF3ED 0%, #FFF 100%);
    &-card {
        position: relative;
        border-radius: 10px;
        background: $white;
        box-shadow: 0px 6px 30px 0px rgba(3, 18, 33, 0.10);

        &-thumb {
            position: relative;
            padding: 15px 15px 0;
            &__img {
                position: relative;
                display: flex;
                align-items: center;
                justify-content: center;
                z-index: 1;
                width: 100%;

                &::before {
                    opacity: 0;
                    visibility: hidden;
                    content: '';
                    position: absolute;
                    z-index: 7;
                    inset: 0;
                    border-radius: 6px;
                    background: rgba(77, 123, 107, 0.70);
                    backdrop-filter: blur(0px);
                }
                img {
                    position: relative;
                    border-radius: 6px;
                    z-index: 5;
                    width: 100%;
                }
            }
            &__ratting {
                position: absolute;
                top: 27px;
                right: 30px;
                z-index: 9;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 7px;
                border-radius: 50px;
                background: #F5D04A;
                width: 75px;
                height: 30px;
                flex-shrink: 0;
                color: $title-color;
                font-family: $body-font;
                font-size: 16px;
                font-style: normal;
                font-weight: 500;
                line-height: 26px; /* 162.5% */
            }
            &__link {
                opacity: 0;
                visibility: hidden;
                display: flex;
                align-items: center;
                gap: 5px;
                position: absolute;
                top: 50%;
                left: 30%;            
                z-index: 9;
                img {
                    border-radius: 30px;
                     background: $title-color2;
                    padding: 9px;
                    width: 32px;
                    height: 32px;
                    flex-shrink: 0;
                }
                p {
                    display: flex;
                    align-items: center;
                    padding: 10px 20px;
                    border-radius: 30px;
                     background: $title-color2;
                    color: $title-color;
                    font-family: $body-font;
                    font-size: 16px;
                    font-style: normal;
                    font-weight: 500;
                    line-height: 56px; /* 350% */
                    width: 101px;
                    height: 32px;
                }
            }

        }
        &-content {
            text-align: center;

            padding: 20px 30px 30px;
            &__title {
                color: $title-color;
                font-family: $body-font;
                font-size: 20px;
                font-style: normal;
                font-weight: 600;
                line-height: 24px; /* 120% */
                padding-bottom: 8px;
            }
            &__desc {
                border-bottom:1px solid rgb(199, 203, 206) ;   
                padding-bottom: 18px;
                margin-bottom: 6px;         
                color: $title-color;
                font-family: $body-font;
                font-size: 15px;
                font-style: normal;
                font-weight: 500;
                line-height: normal;
                text-transform: uppercase;
                opacity: 0.6;
            }
            &__email {
                padding-bottom: 12px;
                padding-top: 13px;
                p {
                    color: $title-color;
                    font-family: $body-font;
                    font-size: 15px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: normal;
                    opacity: 0.7;
                }
            }
            &__phone {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 12px;

                p {
                    color: $title-color;
                    font-family: $body-font;
                    font-size: 15px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: normal;
                    opacity: 0.6;
                }
            }
        }
        &:hover {
            .team1 {
                &-card {
                    &-thumb {
                        &__img {            
                            &::before {
                                opacity: 1;
                                visibility: visible;
                                @include transition;
                            }
                        }
                        &__link {
                            opacity: 1;
                            visibility: visible;
                            @include transition;
                        }
                    }
                }
            }            
        }
    }
}
