/* latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/static/fonts/lato-400-1.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/static/fonts/lato-400-2.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(/static/fonts/lato-700-1.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(/static/fonts/lato-700-2.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'fl-icon';
    src: url(/static/fonts/fl-icons.woff2) format('woff2');
}


:root {
    --bs-body-font-family: Lato, sans-serif;
    --color-primary: #6abf43;
    --color-secondary: #201f5a;
    --fs-color-primary: #0e1728;
    --fs-color-secondary: #f4d58d;
    --fs-color-success: #ffba08;
    --fs-color-alert: #2b2d42;
    --fs-experimental-link-color: #d6d6d6;
    --fs-experimental-link-color-hover: #8d99ae;
    --text-color-secondary: #fff;
}


.btn-outline-success {
    --bs-btn-color: white;
    --bs-btn-bg: var(--color-primary);
    --bs-btn-border-color: var(--color-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgb(95.4, 171.9, 60.3);
    --bs-btn-hover-border-color: var(--color-primary);
    --bs-btn-focus-shadow-rgb: 25,135,84;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--color-primary);
    --bs-btn-active-border-color: rgb(95.4, 171.9, 60.3);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: rgb(95.4, 171.9, 60.3);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: rgb(95.4, 171.9, 60.3);
    --bs-gradient: none;
}

.color-primary {
    color: var(--color-primary);
}

.color-secondary {
    color: var(--color-secondary);
}

.text-primary {
    --bs-primary-rgb: 106, 191, 67;
}

.text-secondary {
    --bs-secondary-rgb: 32, 31, 90;
}

.shadow-md {
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    box-shadow: var(--shadow-md);
}

body {
    font-size: .7rem; /* 默认字体大小 */
}

@media (min-width: 576px) {
    body {
        font-size: .6rem; /* 小屏设备 */
    }
}

@media (min-width: 768px) {
    body {
        font-size: .8rem; /* 中屏设备 */
    }
}

@media (min-width: 992px) {
    body {
        font-size: 1rem; /* 大屏设备 */
    }
}

#feedback-form{
    .modal-header{
        border-bottom: none;
    }
}

#pop-form{
    font-size: 1em;
    .modal-content{
        form{
            padding:0 2em 2em 2em;
        }
    }
    .modal-header{
        border-bottom: none;
    }
    .btn{
        padding: .5em 2em;
    }
}

.modal-backdrop{
    --bs-backdrop-zindex:1010;
}
.clearfix{
    clear: both;
}
section.container-fluid{
    padding: 0;
}
i[class*=" icon-"], i[class^=icon-] {
    font-family: 'fl-icon', serif;
    font-style: normal;
    vertical-align: middle;
    margin: 0 .5em;
}
.icon-angle-right:before {content: "";}
.icon-map-pin-fill:before{content: "";}
.icon-angle-left:before{content: "";}
.icon-whatsapp:before{content: "";}
.icon-facebook:before{content: "";}
.icon-twitter:before{content: "";}
.icon-envelop:before{content: "";}
.icon-pinterest:before{content: "";}
.icon-linkedin:before{content: "";}

.text-red{
    color: #ef233c;
}

.fill-bg{
    background: var(--fs-color-primary);
}
a:hover{
    filter: brightness(90%);
}

.top-bar {
    min-height: 30px;
    background: var(--fs-color-primary);
    line-height: 26px;

    .container {
        text-align: center;
        font-weight: 400;

        .btn-contact {
            background: transparent;
            color: var(--text-color-secondary);
            display: inline-block;
            border: transparent;
            font-size: .9em;
            text-transform: uppercase;
            padding: 0 1.2em;
            font-style: normal;
            font-weight: bolder;
        }
    }

    span {
        color: var(--text-color-secondary);
        font-size: .9em;
    }
}

/*
.container-fluid {
    max-width: 1080px;
}
*/

@keyframes stuckMoveDown {
    0% {
        transform: translateY(-100%)
    }
    to {
        transform: translateY(0)
    }
}

.navbar {
    width: 100%;
    z-index: 1001;
    padding: 0;
    background: rgba(255, 255, 255, .95);

    .container-fluid {
        border-bottom: 1px solid rgba(43, 44, 66, .1);
    }

    .header-logo {
        height: auto;
        width: 157px;
    }

    .nav-link {
        text-transform: uppercase;
        font-weight: bold;
        white-space: nowrap;

        &.active {
            color: var(--fs-color-primary);
        }
    }
    &.stuck{
        position: fixed;
        top: 0;
        transition: all .5s;
        box-shadow: rgba(0, 0, 0, 0.15) 1px 1px 10px;
        .container-fluid {
            border-bottom: none;
        }
        animation: stuckMoveDown .6s;
    }
}

@media (min-width: 992px) {
    .navbar {
        .navbar-nav {
            li > .nav-link::after {
                border-left: 1px solid rgba(0, 0, 0, .1);
                content: "";
                height: 15px;
                left: -1em;
                margin-top: -7px;
                margin-left: 1em;
                top: 50%;
                width: 1px;
            }

            li:last-child > .nav-link::after {
                border: none;
            }
        }
    }
}
a{
    text-decoration: none;
    color: var(--color-primary);
}

a.button {
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    border-radius: 8px;
    background: #fff;
    color: #666;
    line-height: 2.5em;
    font-weight: 700;
    text-align: center;
    transition: all .3s;

    &:hover {
        opacity: .8;
    }

    &.link-underline {
        background: transparent;
        color: #fff;
        position: relative;

        &::before {
            background-color: currentColor;
            bottom: 0;
            content: "";
            height: 2px;
            left: 20%;
            opacity: .3;
            position: absolute;
            width: 60%;
            transition: all .3s;
        }

        &:hover::before {
            left: 0;
            width: 100%;
            opacity: 1;
        }
    }
    &.primary{
        background-color: #ef233c;
    }
}

section{
    img {
        width: 100%;
        height: auto;
        vertical-align: middle;
        overflow-clip-margin: content-box;
        overflow: clip;
    }
}

.banner{
    position: relative;
    height: 100%;
    img.bg{
        overflow-clip-margin: content-box;
        overflow: clip;
        object-fit: cover;
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        z-index: -1;
    }
    a{
        color: white;
    }
    h3{
        color:#fff;
        font-size: 2em;
        font-weight: 700;
        margin-bottom: 1em;
    }
    .text-box{
        background: rgba(0,0,0,.39);
        height: 100%;
        .text-box-inner{
            position: absolute;
            left:5%;
            right:5%;
            top: 50%;
            transform: translateY(-50%);
        }
    }
    .logo-mark{
        position: absolute;
        bottom: 1em;
        right: 5%;
        width: 14%;
        height: auto;
    }
}

.divider{
    background-color: rgb(253, 111, 94);
    max-width: 100px;
    height: 4px;
    margin: 1em 0;
}

.copyright-footer{
    text-align: center;
    color:rgba(255, 255, 255, 0.9);
    background-color: var(--color-primary);
    padding: .9em;
    font-size: .9em;
    font-weight: 400;
}

form{
    .require::after{
        content:'*';
        color:red;
        margin-left: .2em;
        margin-top: .3em;
        height: 1px;
    }
    label{
        display: flex;
        overflow: hidden;
        font-weight: 700;
        &.form-check-label{
            display: inline-block;
            font-weight: normal;
        }
    }
    .btn-primary{
        background: var(--color-primary);
        padding: 0.5em 2em;
        border:none;
        transition: all .5s;
        margin-top:1em;
        &:hover{
            box-shadow: 2px 2px 5px rgb(43.2, 143.2, 100.8);
            opacity: .8;
            background: var(--color-primary);
        }
    }
}

section.footer{
    background-color: var(--color-secondary);
    padding: 4em 2em;
    color: white;
    transition: all .3s;
    a{
        color: white;
        text-decoration: none;
    }
    .get-started{
        margin-top: -5.8em;
        padding:2em;
        background-color: var(--color-primary);
        border-radius: 1em;
        h3{
            font-size: 1.25em;
            font-weight: 700;
            line-height: 2em;
        }
        .button{
            background-color: var(--color-secondary);
            border-bottom-color: rgba(0, 0, 0, 0.05);
            padding:0 2em;
            margin-top:2em;
            text-transform: none;
            color: white;
            border-radius: 2em;
        }
    }
    .top-space {
        margin-top: 5em;
    }
    .menu-box{
        h4{
            font-size: 1.2em;
            padding: 1em 0;
        }
        ul{
            list-style: none;
            padding-left: 0;
        }
        a{
            display: block;
            line-height: 45px;
            &:hover{
                opacity: .8;
            }
        }
        .bullet-arrow{
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            font-size: .9em;
            a:before{
                font-family: 'fl-icon', serif;
                content: "";
                display: inline-block;
                margin-right: 1em;
                color: var(--fs-color-success);
            }
        }
    }
    .link-container{
        margin-top: 2em;
        a{
            &:hover{
                opacity: .8;
            }
        }
    }
    .address-box{
        // padding: 5em 1em 0 1em;
        div{
            margin:1em 0;
        }
        a{
            color: var(--color-primary);
            &:hover{
                color: rgb(95, 172, 60);
            }
        }
    }


    .partners {
        h4{
            font-size: 1.2em;
            padding: 1em 0;
        }
        ul {
            padding: 0;
            display: flex;
            flex-wrap: wrap;
            list-style: none;
            gap: .5rem;
            max-height: 320px;
            overflow: auto;
        }
        li {
            flex: 1 1 calc(50% - 1rem);
        }
    }
}