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

.service1 {
    &-card {
        position: relative;
        display: flex;
        align-items: center;
        border-radius: 10px;
        background: $bg-color;
        @include breakpoint (max-xl){
            flex-direction: column-reverse;
        }

        &--bg {
            border-radius: 10px;
            background: $bg-color4;
        }

        &__thumb {
            position: relative;
            flex: none;
            border-radius: 0 10px 10px 0;
            img {
                border-radius: 0 10px 10px 0;
            }
            @include breakpoint (max-xl){
                width: 100%;
                border-radius: 10px;

                img {
                    width: 100%;
                    border-radius: 10px;
                }
            }
        }
        &-content {
            padding: 40px 30px 40px 40px;
            @include breakpoint (max-xxl){
                padding: 30px 20px 30px 20px;
            }

            &__icon {
                padding-bottom: 52px;
                @include breakpoint (max-md){
                    padding-bottom: 20px;
                }
            }
            &__title {
                color: $title-color;
                font-family: $body-font;
                font-size: 22px;
                font-style: normal;
                font-weight: 600;
                line-height: normal;
                padding-bottom: 16px;
            }
            &__desc {
                padding-bottom: 44px;
                p {
                    color: rgba(31, 31, 31, 0.70);
                    font-family: $body-font;
                    font-size: 15px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 24px; /* 160% */
                }
            }
            &__link {
                color: $title-color;
                font-family: $body-font;
                font-size: 16px;
                font-style: normal;
                font-weight: 500;
                line-height: normal;

                i {
                    padding-left: 5px;
                    color: $black;
                }
                &:hover {
                    i {
                        color: $theme-color;
                    }
                }
            }
        }
    }
}