/*---------------------
  Hero
-----------------------*/
.hero__item {
    height: 700px;
    display: flex;
    align-items: center;
    justify-items: center;
}

.hero__text {
    text-align: center;
    background: $white-color;
    padding: 65px 70px 70px;
    position: relative;

    &:after {
        position: absolute;
        left: 15px;
        top: 15px;
        height: calc(100% - 30px);
        width: calc(100% - 30px);
        border: 1px dashed $primary-color;
        content: "";
        opacity: .3;
    }

    h2 {
        font-size: 46px;
        color: $heading-color;
        line-height: 60px;
        font-weight: 700;
        font-style: italic;
        margin-bottom: 18px;
        position: relative;
        top: 100px;
        opacity: 0;
        @include transition(all, .3s);
    }

    .primary-btn {
        position: relative;
        top: 100px;
        opacity: 0;
        @include transition(all, .6s);
    }
}

.hero__slider {

    &.owl-carousel {

        .owl-item {

            &.active {
                
                .hero__text {
                    
                    h2 {
                        top: 0;
                        opacity: 1;
                    }

                    .primary-btn {
                        top: 0;
                        opacity: 1;
                    }
                }
            }
        }

        .owl-nav {

            button {
                height: 50px;
                width: 50px;
                background: rgba(17, 17, 17, 0.5);
                border-radius: 50%;
                color: $white-color;
                font-size: 26px;
                line-height: 50px;
                text-align: center;
                position: absolute;
                left: 30px;
                top: 50%;
                margin-top: -15px;

                &.owl-next {
                    left: auto;
                    right: 30px;
                }
            }
        }
    }
}