/*
Theme Name: Garage Hồng Vy
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/* FIX FLATSOME CSS */
.button.is-outline {
    border: 1px solid var(--fs-color-primary);
}

.back-to-top {
    min-width: 3rem !important;
    min-height: 3rem !important;
}

.uppercase {
    text-transform: uppercase !important;
    letter-spacing: 0 !important;
}


@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

.header-main {
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 20%, rgba(255, 200, 22, 1) 20%) !important;
    height: unset !important;
}

.header-main .logo {
    margin-right: 10px !important;
    background: #fff;
    height: 110px;
    padding: 20px 90px 0 0;
    z-index: -1;
    -webkit-clip-path: polygon(100% 0, 85% 50%, 108% 100%, 0 100%, 0 0);
    clip-path: polygon(100% 0, 85% 50%, 108% 100%, 0 100%, 0 0);

}

.header-wrapper.stuck {
    box-shadow: none !important;
}

.header-wrapper.stuck .wide-nav {
    margin-top: 0px !important;
}

.wide-nav, .blog-header-wrapper {
    margin-top: -30px !important;
}

.wide-nav .container {
    background-color: #000 !important;
    padding-right: 0 !important;
}

.wide-nav a.button.is-xlarge {
    font-size: 1.65em !important;
}

.header-bottom {
    z-index: 10 !important;
}

.has-dropdown i {
    display: none !important;
}

.wide-nav ul.header-nav>li:not(:last-child) {
    padding-right: 20px !important;
}

.content-area {
    padding: 0 !important;
    margin-top: -30px !important;
}

.content-area .hero-banner {
    background: linear-gradient(20deg, rgba(255, 255, 255, 1) 58%, rgba(255, 200, 22, 1) 58%) !important;
}

.content-area .hero-banner .banner .banner-bg:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: url('/files/uploads/hero_overlay_1_1.webp');
    background-size: 100% 100%;
    mix-blend-mode: hard-light;
}

/* COMMON */
.kk-star-ratings {
    position: fixed;
    z-index: 9999;
    padding: 10px;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 16px 16px 0 0;
    bottom: 0;
    left: 10px;
    margin: 0 !important;
    flex-direction: column !important;
    -webkit-box-align: start;
    -webkit-align-items: start;
    -ms-flex-align: start;
    align-items: start;
    gap: 10px;
}

.kk-star-ratings>div {
    margin: 0 !important;
}

.bevel-corner-bottom-left .banner-bg {
    /* độ dài đoạn cắt */
    clip-path: polygon(0 0,
            /* góc trên trái */
            100% 0,
            /* góc trên phải */
            100% 100%,
            /* góc dưới phải */
            200px 100%,
            /* điểm trên cạnh vát (hoành độ x tăng) */
            0 calc(100% - 100px)
            /* điểm dưới cạnh vát (tung độ y giảm) */
        );
}

.bevel-corner-bottom-right .col-inner {
    /* độ dài đoạn cắt */
    clip-path: polygon(0 0,
            /* góc trên trái */
            100% 0,
            /* góc trên phải */
            100% calc(100% - 100px),
            /* điểm trên cạnh vát (tung độ y giảm) */
            calc(100% - 200px) 100%,
            /* điểm dưới cạnh vát (hoành độ x giảm) */
            0 100%
            /* góc dưới trái */
        );
}

.tilt:not(.bevel-corner-bottom-left):hover {
    box-shadow: 0 40px 70px -15px rgba(0, 0, 0, 0.5);
}

.tilt.no-shadow:hover {
    box-shadow: none;
}

.white-overlay img {
    filter: brightness(0) invert(1);
}

.white-overlay:hover img {
    filter: brightness(100%) invert(0);
}

.bevel-corner-bottom-left .tilt:hover {
    box-shadow: none;
}

.dot-decor:before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 183px;
    height: 93px;
    background: url(/files/uploads/dot-decor.png) no-repeat center center;
    animation: jumpAni 7s linear infinite;
}

.jump {
    animation: jumpAni 7s linear infinite;
}

@keyframes jumpAni {
    0% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    100% {
        transform: translateY(0);
    }
}

/* SECTION 1 */


/* SECTION 2 */
.halfcircle {
    position: relative;
}

.halfcircle:before {
    content: '';
    position: absolute;
    bottom: 40px;
    left: 50px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 2px solid var(--fs-color-primary);
}

.halfcircle:after {
    content: '';
    position: absolute;
    z-index: -1;
    bottom: 40px;
    left: 25px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid #e3e3e3;
}

/* TESTIMONIALS */
.testimonial-box {
    position: relative;
    background: #fff;
    overflow: hidden;
    border-radius: 16px;
    padding: 30px 30px 100px 30px;
}

.testimonial-box:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -20px;
    width: 75%;
    height: 25%;
    background: var(--fs-color-primary);
    transform: skewX(30deg);
}

.testimonial-box:after {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 42px;
    background: url(/files/uploads/quote_2.svg) no-repeat center center;
}

.testimonial-box .icon-box-text {
    padding: 0 !important;
}

.testimonial-box .testimonial-image {
    position: absolute;
    bottom: 20px;
    left: 30px;
    z-index: 1;
}

.testimonial-box .testimonial-image img {
    width: 70px;
    border: 4px solid white;
    border-radius: 16px !important;
}

.testimonial-box .star-rating {
    position: absolute;
    bottom: 60px;
    left: 115px;
    z-index: 1;
}

.testimonial-box .testimonial-meta {
    position: absolute;
    left: 115px;
    bottom: 20px;
    color: white;
    z-index: 1;
}

.testimonial-box .testimonial-text {
    min-height: 90px;
}

/* BANNER CUU HO 24/7 */
.image-overlay .banner-bg:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: url('/files/uploads/hero_overlay_1_1.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    mix-blend-mode: hard-light;
}


/* Custom CSS Tablet */
@media (max-width: 849px) {}


/* Custom CSS Mobile */
@media (max-width: 549px) {
    .header-main {
        background: #ffc816 !important;
        height: 100px !important;
    }

    .header-main .header-inner {
        padding: 0 20px !important;
        padding-bottom: 10px !important;
    }

    .header-main .logo {
        background: #ffc816 !important;
        height: 60px !important;
        padding: 10px;
        -webkit-clip-path: none;
        clip-path: none;
    }

    .off-canvas-center .nav-vertical>li>a {
        font-size: 1rem !important;
    }

    .kk-star-ratings {
        scale: 0.8;
        bottom: -10px;
        left: -20px;
    }
}