/* Hero Global ---------------------------------- */
.th-hero-wrapper {
    position: relative;
    z-index: 2;
    overflow: hidden;
    .slick-arrow {
        --pos-x: 110px;
        box-shadow: none;
    }
    .slick-dots {
        position: absolute;
        top: 50%;
        left: 80px;
        transform: translateY(-50%);
        margin: 0;
        li {
            display: block;
            margin: 0;
            ~ li {
                margin: 15px 0 0 0;
            }
        }
        button {
            height: 6px;
            width: 6px;
            background: $theme-color;
            &:before {
                background: transparent;
                border: 2px solid $theme-color;
            }
        }
    }
}
@media (max-width: 1600px) {
    .th-hero-wrapper .slick-arrow {
        --pos-x: 50px
    }
}
@include xxl {
    .th-hero-wrapper .slick-arrow {
        --pos-x: 40px;
    }
}
.th-hero-bg {
    position: absolute;
    inset: 0;
}
@keyframes anim {
    from {
      transform: scale(1);
    }
    to {
      transform: scale(1.5);
    }
}
.th-hero-overlay {
    position: absolute;
    left: 0;
    top: 0;
}
/* Hero 1 ---------------------------------- */
.hero-slider-1 {
    .slick-arrow {
        --pos-x: 110px;
        box-shadow: none;
        transform: translate(0, calc(50% + 5px));
        &.slick-next {
            left: var(--pos-x);
            transform: translate(0, calc(-50% - 5px));
        }
    }
}
.hero-video-1 {
    .play-btn > i {
        display: inline-block;
        width: var(--icon-size, 100px);
        height: var(--icon-size, 100px);
        line-height: var(--icon-size, 100px);
        color: $title-color;
        font-size: var(--icon-font-size, 20px);
        &:hover {
            color: $white-color;
        }
    }
}
.hero-subtitle {
    font-family: $body-font;
    color: $theme-color;
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    margin-top: -0.24em;
}
.hero-title {
    font-size: 80px;
    font-weight: 700;
    line-height: 90px;
    margin-bottom: 0;
    &:last-of-type {
        margin-bottom: 35px;
    }
}
.hero-text {
    margin-bottom: 43px;
}
.hero-style1 {
    position: relative;
    z-index: 6;
    padding: 200px 0;
    max-width: 710px;
}

/************hero-2***********/
.hero-2 {
    background: #F3F1F2;
    position: relative;
    overflow: hidden;
    .banner-img {
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: -1;
        top: 0;
    }
}
.hero-style2 {
    padding: 273px 0 185px;
    .hero-title {
        font-weight: 800;
        margin-bottom: 18px;
    }
    .hero-text {
        margin-bottom: 40px;
        font-size: 18px;
        font-weight: 500;
        max-width: 630px;
    }
}
.hero-3 {
    margin-top: -160px;
    .th-hero-bg {
        z-index: 0;
    }
}
.hero-style3 {
    padding: calc(160px + 173px) 0 270px;
} 
.hero-style4 {
    position: relative;
    z-index: 6;
    padding: 200px 0;
    max-width: 710px;
}
.hero-style5 {
    padding: 330px 0 180px;
    .hero-title {
        margin-bottom: 20px;
    }
    .hero-text {
        max-width: 700px;
    }
}
@media (max-width: 1600px) {
    .hero-slider-1 .slick-arrow {
        --pos-x: 50px;
    }
}
@include xxl {
    .hero-1 {
        .th-hero-bg {
            background-position: -150px center;
        }
    }
    .hero-2 .banner-anime-img {
        img {
            object-fit: cover;
            object-position: left;
        }
    }
}
@media (max-width: 1400px) {
    .hero-style4,
    .hero-style1 {
        padding: 180px 0;
    }
    .hero-title {
        font-size: 66px;
        line-height: normal;
    }
}
@include ml {
    .hero-2 .banner-anime-img {
        margin: 0;
        img {
            object-fit: cover;
            object-position: center;
        }
    }
}

@include xl {
    .hero-style1 {
        padding: 150px 0;
    }
    .hero-1 .th-hero-bg {
        background-position: -118px center;
    }
}
@include lg {
    .hero-title {
        font-size: 60px;
    }
    .hero-style3 {
        padding: calc(160px + 120px) 0 221px;
    }
    .hero-1 .th-hero-bg {
        background-position: -115px center;
    }
    .hero-style4 {
        padding: 120px 0;
    }
}

@include md {
    .hero-title {
        font-size: 45px;
        line-height: 1.2;
    }
    .hero-1 {
        .hero-slider-1 .th-hero-slide{
            padding-bottom: 110px;
        }
    }
    .hero-style1 {
        padding: 110px 0 50px;
        text-align: center;
        .btn-group {
            justify-content: center;
        }
        .hero-text {
            margin-left: auto;
            margin-right: auto;
        }
    }
    .hero-video-1 .play-btn > i {
        --icon-size: 60px
    }
    .hero-style2 .hero-text {
        font-size: 16px;
    }
    .hero-style2 {
        padding: 140px 0;
    }
    .hero-style3 {
        padding: calc(175px + 120px) 0 221px;
    }
    .hero-style5 {
        padding: 250px 0 150px;
    }
}

@include sm {
    .hero-title {
        font-size: 48px;
    }
    .hero-style2 {
        text-align: center;
        padding: 140px 0 80px;
        .btn-group {
            justify-content: center;
        }
    }
    .hero-style3 {
        padding: 120px 0 215px;
    }
    .hero-3 {
        margin-top: 0;
    }
    .hero-4 {
        .th-hero-bg {
            background-position: left;
        }
    }
    .hero-style4 {
        text-align: center;
        .btn-group {
            justify-content: center;
        }
    }
    .hero-2 .banner-img {
        background-position: left;
    }
}

@include xs {
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 12px;
    }
    .hero-title {
        font-size: 42px;
        line-height: 1.24;
        &:last-of-type {
            margin-bottom: 30px;
        }
    }
    .hero-text {
        margin-bottom: 28px;
    }
    .hero-2 .banner-anime-img img {
        object-position: left;
    }
    .hero-style2 {
        padding:  120px 0;
    }
    .hero-style5 {
        padding: 208px 0 120px;
    }
}

@media (max-width: 390px) {
    .hero-title {
        font-size: 40px;
        line-height: 1.3;
    }
}

@media (max-width: 330px) {
    .hero-title {
        font-size: 30px;
    }
}

