/* 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 {
    --color-primary: #D33922;
    --color-primary-dark: rgba(185, 46, 26);
    --color-primary-light: #fa4d2f;
    --color-secondary: #56423d;

    --color-surface-rgb: 55 77 110;
    --brand-color: var(--color-primary);
    --brand-color-dark: var(--color-primary-dark);
    --brand-color-light: var(--color-primary-light);
    --bs-body-font-family: Lato, sans-serif;


    --fs-experimental-link-color: #d6d6d6;
    --fs-experimental-link-color-hover: #8d99ae;
    --text-color-secondary: #fff;
}

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

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


.btn-outline-success {
    --bs-btn-color: var(--brand-color);
    --bs-btn-bg: rgb(234, 234, 234);
    --bs-btn-border-color: #ffffff;
    --bs-btn-hover-color: #dfdfdf;
    --bs-btn-hover-bg: rgba(234, 234, 234, 0.8);
    --bs-btn-hover-border-color: #ffffff;
    --bs-btn-focus-shadow-rgb: 0, 0, 0;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #cacaca;
    --bs-btn-active-border-color: #989898;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #67604c;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #595343;
    --bs-gradient: none;
}



.navbar-nav {
    --bs-nav-link-color: var(--color-primary);
    --bs-navbar-hover-color: var(--color-primary-dark);
    --bs-navbar-disabled-color: rgb(var(--color-surface-rgb));
    --bs-navbar-active-color: var(--color-primary-dark);
    --bs-navbar-nav-link-padding-x: 1.2rem;
    gap: 2px;
}

.card{
    --bs-card-cap-bg:var(--brand-color);
}

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

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

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

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

.pop-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: "";
}

.icon-search:before {
    content: "\E012";
}

.icon-arrow-right:before {
    content: "\F105";
}

.text-red {
    color: #ef233c;
}

.form-control::placeholder {
    color: #d6dce4;
}

.top-bar {
    min-height: 42px;
    background: var(--color-primary);

    .container {

        .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;
    overflow: hidden;
    background: #FFF;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    .container-fluid {
        flex: 1;
        border-bottom: 1px solid rgba(43, 44, 66, .1);
    }

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

    .nav-item {
        white-space: nowrap;
    }

    .nav-link {
        text-transform: uppercase;
        font-weight: bold;
    }

    &.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;
    }

    .navbar-collapse {
        justify-content: space-evenly;
        align-items: center;
    }

    .icon-search {
        color: var(--color-primary);
        font-size: 1.2em;
        cursor: pointer;

        &:hover {
            opacity: .8;
        }
    }


    .nav-item {
        white-space: nowrap;
        transition: transform 0.3s ease;

        &:hover {
            background: rgb(247, 247, 247);
            border-radius: 9999px;
        }

        &.active {
            background: rgb(247, 247, 247);
            border-radius: 9999px;
            a.nav-link {
                color: var(--color-primary-dark);
            }
        }
    }

}

@media (max-width: 992px) {
    .navbar {
        .icon-search {
            position: absolute;
            right: 6em;
            top: calc((80px - 1.2em * 1.5) / 2);
        }
    }

    .nav-item {
        --bs-nav-link-padding-x: 0.5rem;
    }
}


a {
    text-decoration: none;
    &.the-link {
        color: var(--color-primary-light);
        &:hover {
            text-decoration: underline;
        }
    }
}


.circle-corner {
    border-radius: 1em;
    overflow: hidden;
}

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: var(--color-primary);
    }
}

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%);
        }
    }

    .bottom-cover {
        position: absolute;
        height: 60px;
        width: 100%;
        bottom: 0;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgb(255, 255, 255, 1));
    }

    .logo-mark {
        position: absolute;
        bottom: 1em;
        right: 5%;
        width: 14%;
        height: auto;
    }
}

.divider {
    background-color: var(--color-primary);
    max-width: 100px;
    height: 4px;
    margin: 1em 0;
}

form {
    .require::after {
        content: '*';
        color: var(--color-primary);
        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.6rem 2rem;
        border: none;
        transition: all .5s;
        margin-top: 1rem;

        &:hover {
            box-shadow: 2px 2px 5px #2b2d42;
            opacity: .8;
            background: var(--color-primary);
        }
    }
}


/*table{
    th,td{
        border:1px solid currentColor;
        padding:.2em 1em;
    }
}*/

/* Creative Footer Styles */
.creative-footer {
    background: #f7f7f7;
    // color: #FFF;
    font-size: 1.2rem;

    a {
        color: var(--bs-body-color);
    }

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

}


.footer-logo {
    width: 82px;
}

.footer-nav-links {
    padding: 0;
    font-size: 1rem;
    li {
        border-bottom: 1px solid rgba(255, 255, 255, .2);
        list-style: none;
        margin: 0;
        padding: 6px 8px;
        display: flex;
        gap: 8px;
        opacity: 0.8;
    }

}

.copyright {
    min-height: 42px;
    color: rgba(255, 255, 255, 1);
    background-color: var(--bs-body-color);
    font-size: 0.875rem;
}

.policy-links a {
    color: #ccc;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.policy-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

.policy-links a:hover::after {
    width: 100%;
}