/*------------------------------------*\
    #INDUSTRIES
\*------------------------------------*/
.industries {
    position      : relative;
    padding-top   : 104px;
    padding-bottom: 110px;

    @media #{$maxTablet} {
        padding-top   : 64px;
        padding-bottom: 70px;
    }

    .industries-overlay {
        position     : absolute;
        top          : 50%;
        left         : 50%;
        transform    : translate(-50%, -50%);
        width        : calc(100% - 5%);
        border-radius: 8px;
        height       : 100%;
        z-index      : 1;

        @media #{$noteBook} {
            width: calc(100% - 2%);
        }

        @media #{$maxSmall} {
            width        : 100%;
            border-radius: 8px 8px 0 0;
        }
    }

    .industries-content {
        position: relative;
        z-index : 2;
    }

    .actions-holder {
        display    : flex;
        align-items: center;

        @media #{$maxTablet} {
            justify-content: center;
        }

        @media #{$maxSmall} {
            flex-direction: column;
        }

        .btn {
            width     : 232px;
            height    : 65px;
            box-shadow: 0px 3px 63px 0px rgba(6, 52, 100, 0.12);

            i {
                font-size: 10px;
            }
        }
    }

    &.industries-2 {
        padding-top   : 124px;
        padding-bottom: 0px;

        @media #{$maxTablet} {
            padding-top: 64px;
        }

        .processes-note {
            padding-top   : 0px;
            padding-bottom: 0px;
            margin-top    : 13px;
            margin-bottom : 52px;
        }
    }
}

.industry-panel {
    border-radius: 4px;
    box-shadow   : 0px 3px 63px 0px rgba(6, 52, 100, 0.11);
    padding      : 50px;
    display      : flex;
    align-items  : flex-end;
    min-height   : 470px;
    margin-bottom: 40px;
    position     : relative;

    @media#{$maxTablet} {
        max-width: 370px;
        margin   : 0 auto 40px;
    }

    @media #{$noteBook} {
        padding-left : 25px;
        padding-right: 25px;
        ;
    }

    @media #{$maxSmall} {
        padding-left : 25px;
        padding-right: 25px;
        ;
    }

    &:hover {
        .industry-img {
            img {
                transform: scale(1.05);
            }

            .industry-img-overlay {
                opacity   : 1;
                visibility: visible;
            }
        }

        .industry-content {
            .industry-title {
                transform : translateY(100%);
                opacity   : 0;
                visibility: hidden;
            }

            .industry-body {
                transform : translateY(0);
                opacity   : 1;
                visibility: visible;
            }
        }
    }

    .industry-content {
        position: relative;
        z-index : 5;
        overflow: hidden;

        .industry-title {
            display         : flex;
            align-items     : center;
            justify-content : center;
            text-align      : center;
            padding         : 0 20px;
            height          : 70px;
            width           : 100%;
            background-color: var(--global--color-white);
            border-radius   : 4px;
            position        : absolute;
            bottom          : 0;
            left            : 0;
            transition      : 0.3s ease-in-out;

            @media #{$noteBook} {
                padding-left : 20px;
                padding-right: 20px;
                ;
            }

            @media #{$maxSmall} {
                padding-left : 20px;
                padding-right: 20px;
                ;
            }

            h3 {
                font-family   : var(--global--font-heading);
                font-size     : 19px;
                font-weight   : 500;
                line-height   : 30px;
                margin-bottom : 0px;
                text-transform: capitalize;

                a {
                    color     : var(--global--color-heading);
                    transition: 0.3s ease-in-out;

                    &:hover {
                        color: var(--global--color-heading);
                    }
                }
            }
        }

        .industry-body {
            margin-top      : 15px;
            padding         : 32px 30px 37px;
            background-color: var(--global--color-white);
            border-radius   : 4px;
            position        : relative;
            transition      : 0.3s ease-in-out;
            opacity         : 0;
            visibility      : hidden;
            transform       : translateY(100%);

            @media #{$noteBook} {
                padding-left : 20px;
                padding-right: 20px;
                ;
            }

            @media #{$maxSmall} {
                padding-left : 20px;
                padding-right: 20px;
                ;
            }

            .industry-label {
                position        : absolute;
                top             : -15px;
                left            : 30px;
                display         : flex;
                align-items     : center;
                justify-content : center;
                padding         : 0 10px;
                height          : 30px;
                border-radius   : 4px 4px 4px 0;
                background-color: var(--global--color-primary-alt);

                @media #{$noteBook} {
                    left: 20px;
                }

                @media #{$maxSmall} {
                    left: 20px;
                }

                &::before {
                    content         : '';
                    width           : 9px;
                    height          : 7px;
                    position        : absolute;
                    top             : calc(100% - 1px);
                    left            : 0;
                    background-color: var(--global--color-primary-alt);
                    clip-path       : polygon(100% 0, 0 0, 0 100%);
                }

                span {
                    font-family: var(--global--font-body);
                    font-weight: 400;
                    font-size  : 14px;
                    color      : var(--global--color-white);
                }
            }

            .industry-name {
                margin-bottom: 15px;

                h3 {
                    font-family   : var(--global--font-heading);
                    font-size     : 18px;
                    font-weight   : 500;
                    line-height   : 30px;
                    margin-bottom : 0px;
                    text-transform: capitalize;

                    a {
                        color     : var(--global--color-heading);
                        transition: 0.3s ease-in-out;

                        &:hover {
                            color: var(--global--color-heading);
                        }
                    }
                }
            }

            .industry-desc {
                margin-bottom: 19px;

                p {
                    font-family  : var(--global--font-body);
                    color        : #8e949e;
                    font-size    : 15px;
                    font-weight  : 400;
                    line-height  : 25px;
                    margin-bottom: 0;
                    transition   : 0.3s ease-in-out;
                }
            }

            .industry-more {
                a {
                    font-family   : var(--global--font-body);
                    color         : var(--global--color-heading);
                    font-size     : 14px;
                    font-weight   : 700;
                    transition    : 0.3s ease-in-out;
                    text-transform: capitalize;

                    &:hover {
                        i {
                            margin-right: 15px;
                        }
                    }

                    i {
                        font-size   : 10px;
                        color       : var(--global--color-primary);
                        transition  : 0.3s ease-in-out;
                        margin-right: 10px
                    }
                }
            }
        }
    }

    .industry-img {
        @include overlay(transparent);
        z-index      : 2;
        border-radius: 4px;
        transition   : 0.3s ease-in-out;
        overflow     : hidden;

        .industry-img-overlay {
            @include overlay(transparent);
            z-index      : 3;
            border-radius: 4px;
            opacity      : 0;
            visibility   : hidden;
            overflow     : hidden;
            transition   : 0.3s ease-in-out;

            &::before {
                content: '';
                @include overlay(rgba(32, 115, 211, 0.85));
                z-index   : 1;
                transition: 0.3s ease-in-out;
            }

            &::after {
                content: '';
                @include overlay(linear-gradient(rgba(40, 205, 250, 0) 0%, rgba(29, 101, 185, 0) 0%, rgba(29, 101, 185, 0) 16.43%, #1d65b9 97.66%, #1d65b9 100%));
                z-index   : 2;
                transition: 0.3s ease-in-out;
            }
        }

        img {
            width     : 100%;
            height    : 100%;
            object-fit: cover;
            transition: 0.5s ease-in-out;
        }
    }
}

.industry-single {
    padding-top   : 110px;
    padding-bottom: 100px;

    @media #{$maxTablet} {
        padding-top   : 70px;
        padding-bottom: 70px;
    }

    .industry-entry {
        .entry-content {
            .entry-infos {
                margin-bottom: 66px;

                @media #{$maxTablet} {
                    text-align: center;
                }

                .entry-heading {
                    font-size     : 24px;
                    line-height   : 1;
                    font-weight   : 700;
                    margin-bottom : 21px;
                    color         : #05213f;
                    text-transform: capitalize;
                }

                .entry-desc {
                    font-size    : 17px;
                    line-height  : 27px;
                    margin-bottom: 25px;

                    &:last-child {
                        margin-bottom: 0;
                    }
                }

                &.entry-introduction {
                    margin-bottom: 32px;

                    .entry-heading {
                        margin-bottom: 17px;

                        @media #{$minLarge} {
                            transform: translateY(-3px);
                        }
                    }
                }

                &.entry-offers {
                    .prices-list {
                        padding         : 37px 40px 28px;
                        border-radius   : 8px;
                        background-color: #f4f4f4;

                        h3 {
                            font-family   : var(--global--font-heading);
                            font-weight   : 500;
                            font-size     : 19px;
                            line-height   : 1;
                            margin-bottom : 26px;
                            color         : #05213f;
                            text-transform: capitalize;
                        }

                        ul {
                            margin-bottom: 0;

                            li {
                                display        : flex;
                                justify-content: space-between;
                                align-items    : center;
                                text-transform : capitalize;
                                font-size      : 15px;
                                font-weight    : 700;
                                font-family    : var(--global--font-body);
                                color          : #848e9f;
                                text-transform : capitalize;
                                border-bottom  : 1px solid rgb(230, 234, 239);
                                margin-bottom  : 14px;
                                padding-bottom : 12px;

                                &:last-child {
                                    @media #{$minTablet} {
                                        margin-bottom: 0px;
                                        border-bottom: 0;
                                    }
                                }

                                .price {
                                    display         : flex;
                                    justify-content : center;
                                    align-items     : center;
                                    height          : 27px;
                                    margin-left     : 5px;
                                    font-family     : var(--global--font-body);
                                    font-weight     : 700;
                                    font-size       : 15px;
                                    color           : var(--global--color-white);
                                    background-color: var(--global--color-secondary);
                                    padding         : 0px 10px;
                                    border-radius   : 2px;
                                }
                            }
                        }

                        &.inversed {
                            @media #{$maxTablet} {
                                margin-top: 30px;
                            }

                            ul {
                                li {
                                    .price {
                                        background-color: var(--global--color-primary-alt);
                                    }
                                }
                            }
                        }
                    }
                }

                &.entry-why {
                    margin-bottom: 68px;

                    .entry-desc {
                        margin-bottom: 32px;
                    }
                }

                &.entry-benefits {
                    margin-bottom: 0px;

                    @media #{$maxTablet} {
                        margin-bottom: 70px;
                    }

                    .entry-heading {
                        margin-bottom: 37px;
                    }
                }
            }
        }
    }
}