html {
  font-size: 16px;
}
:root {
    --theme-color: #111;
    --sub-theme-color: #ff5a8c;
    --iti-hover-color: rgba(0, 0, 0, 0.05);
    --iti-border-color: #ccc;
    --iti-dialcode-color: #999;
    --iti-dropdown-bg: white;
    --iti-spacer-horizontal: 8px;
    --iti-flag-height: 12px;
    --iti-flag-width: 16px;
    --iti-border-width: 1px;
    --iti-arrow-height: 4px;
    --iti-arrow-width: 6px;
    --iti-triangle-border: calc(var(--iti-arrow-width) / 2);
    --iti-arrow-padding: 6px;
    --iti-arrow-color: #555;
    --iti-path-flags-1x: url(../images/flags.webp);
    --iti-flag-sprite-width: 3904px;
    --iti-flag-sprite-height: 12px;
    --iti-mobile-popup-margin: 30px;
}
a {
    text-decoration: none;
    color: #333;
}
body {
    color: white;
    user-select: none
}
input,
textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}
/* 取消 navbar-toggler 的点击样式 */
.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}
/* 移动端点击高亮（Safari / Chrome） */
.navbar-toggler {
    -webkit-tap-highlight-color: transparent;
}

@media (min-width: 768px) {
  html {
    font-size: 18px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: var(--theme-color);
}
/* Navbar 初始状态（透明） */
#mainNavbar {
    background-color: transparent;
    transition: background-color .3s ease, backdrop-filter .3s ease, box-shadow .3s ease;
}

    /* 滚动后的状态 */
    #mainNavbar.scrolled {
        background-color: #121212cc;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(0,0,0,.08);
        color:white;
    }

/* banner 示例 */
.banner {
    height: 600px;
    background: url("https://picsum.photos/1920/700") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 滚动后文字颜色切换 */
#mainNavbar.scrolled .navbar-brand,
#mainNavbar.scrolled .nav-link {
/*    color: #333 !important;*/
}

/* 初始状态文字颜色 */
#mainNavbar .navbar-brand,
#mainNavbar .nav-link {
    color: #fff;
}
/*菜单栏*/
.custom-toggler {
    border: none;
    background: none;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 1051;
}

    .custom-toggler span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: #fff;
        border-radius: 2px;
        transition: all .3s ease;
    }

        .custom-toggler span:nth-child(1) {
            top: 0;
        }

        .custom-toggler span:nth-child(2) {
            top: 9px;
        }

        .custom-toggler span:nth-child(3) {
            top: 18px;
        }

    .custom-toggler.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }

    .custom-toggler.active span:nth-child(2) {
        opacity: 0;
    }

    .custom-toggler.active span:nth-child(3) {
        transform: rotate(-45deg);
        top: 9px;
    }
.navbar-collapse {
    transition: height .3s ease;
}

/* 手机端菜单背景 */
@media (max-width: 991.98px) {
    .navbar-collapse .navbar-nav {
        align-items: flex-end; 
        text-align: right;
    }
}

/*header-index-video*/
.video-banner {
    position: relative;
    width: 100%;
    height: 70vh; 
    overflow: hidden;
}
.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
    transition: transform .3s ease;
}

/* 手机和平板 */
@media (max-width: 991.98px) {
    .bg-video {
        min-width: 120%; 
        min-height: 120%; 
        transform: translate(-50%, -50%) scale(0.9); 
    }

    .video-banner {
        height: 50vh; 
    }
}

/* 小屏手机 */
@media (max-width: 576px) {
    .bg-video {
        transform: translate(-50%, -50%) scale(1.1); 
    }

    .video-banner {
        height: 85vh;
    }
}
.content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    top: 50%;
    transform: translateY(-50%);
}
.glob-btn {
    box-sizing: border-box;
    padding: 5px;
    text-align: center;
    border: 2px solid var(--sub-theme-color);
    transition: all .35s cubic-bezier(.215, .61, .355, 1);
}
.glob-btn > * {
    padding: 0;
    margin: 0;
}
.glob-btn:hover {
    background-color: var(--sub-theme-color);
    color: white;
}
/*banner*/
.banner-content {
    position: absolute;
    inset: 0;
    font-size: 1.2rem;
}
.banner-page {
    display: flex;
    margin-top: 10px;
    flex-flow: column;
    justify-content: flex-start;
    align-items: center;

}
.banner-page h4 {
    font-size: 1.5em;
}
.banner-page > * {
    color: white;
}
.banner-page .fz-small {
    color: var(--sub-theme-color);
    font-size: .8em;
}
@media (max-width: 576px) {
    .banner-page p {
        font-size: 1.1rem;
    }
    .banner-page .fz-small {
        font-size: .75em;
    }
}

/*--- Section Page ====  */

.section-page {
    padding-top: 45px;
    padding-bottom: 30px;
}
.m2-btn {
    border: 1px solid var(--sub-theme-color);
    box-shadow: none;
    color: white;
    background-color: #0000;
    border-radius: 0;
    justify-content: center;
    align-items: center;
    min-width: 156px;
    min-height: 2.6875rem;
    padding: .75rem 1.5rem;
    font-family: Poppins, Impact, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    border-width: .25rem;
    border-color: var(--sub-theme-color);
    background-color: #0000;
    min-width: auto;
}
.m2-btn:hover {
    background-color: var(--sub-theme-color);
}
footer {
    background-color: #181819;
    padding-top: 40px;
    padding-bottom: 40px;
}
.footer-top {
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    display: flex;
}
.footer-desc {
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    flex-flow: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 33%;
    height: 100%;
    display: flex;
}
.footer-first {
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    flex-flow: column;
    display: flex;
}
    .footer-first a {
        max-width: 100%;
        display: inline-block;
    }
    .footer-first img {
        width: 70%;
        min-width: 100px;
        max-width: 11.875rem;
        display: inline-block;
        vertical-align: middle;
    }
.footer-contact {
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    flex-flow: column;
    display: flex;
}
    .footer-contact a {
        grid-column-gap: 5px;
        grid-row-gap: 5px;
        justify-content: flex-start;
        align-items: center;
        text-decoration: none;
        transition: opacity .35s cubic-bezier(.215, .61, .355, 1);
        display: flex;
    }
    .footer-contact span {
        font-size: 14px;
        color: #fff;
        line-height: 1.57143;
    }
.footer-contact-text {
    color: #fff;
    letter-spacing: .21px;
    line-height: 1.57143;
    font-size: 14px;
}
.footer-sign {
    width: 315px;
    max-width: 100%;
    margin-bottom: 0;
}
.footer-form-title {
    color: #fff;
    text-align: center;
    text-transform: capitalize;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
}

.input-block {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    display: flex;
}
.footer-form-input {
    border: 1px solid var(--sub-theme-color);
    color: #fff;
    background-color: #0000;
    border-radius: 0;
    height: 48px;
    margin-bottom: 0;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 22px;
    transition: all .2s;
    width: 100%;
    display: block;
}
.footer-links {
    grid-column-gap: 6.25rem;
    grid-row-gap: 6.25rem;
    justify-content: flex-end;
    align-items: stretch;
    width: 33%;
    display: flex;
}
.footer-list-wrap {
    grid-column-gap: 1.25rem;
    grid-row-gap: 1.25rem;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    display: flex;
}
.list-tit {
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    line-height: 32px;
}
ul.link-list {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    flex-flow: column;
    margin-bottom: 0;
    padding-left: 0;
    list-style-type: none;
    display: flex;
    margin-top: 0;
}
li a {
    color: #fff;
    margin-top: 20px;
    line-height: 100%;
    text-decoration: none;
}
.iti-country .iti-flags {
    margin-right: var(--iti-spacer-horizontal);
}
.iti-flags {
    --iti-flag-offset: 100px;
    height: var(--iti-flag-height);
    width: var(--iti-flag-width);
    border-radius: 1px;
    box-shadow: 0 0 1px 0 #888;
    background-image: var(--iti-path-flags-1x);
    background-repeat: no-repeat;
    background-position: var(--iti-flag-offset) 0;
    background-size: var(--iti-flag-sprite-width) var(--iti-flag-sprite-height);
}
.iti-us {
    --iti-flag-offset: -3616px;
}
.iti-es {
    --iti-flag-offset: -1056px;
}
.iti-gb {
    --iti-flag-offset: -1200px;
}
.iti-af {
    --iti-flag-offset: -48px;
}
.iti-ax {
    --iti-flag-offset: -224px;
}
@media screen and (max-width: 991px) {
    .footer-top {
        flex-wrap: wrap;
    }
    .footer-desc {
        width: auto;
    }
    .footer-sign {
        width: 100%;
        margin-top: 40px;
        margin-bottom: 40px;
    }
    .footer-links {
        grid-column-gap: 3rem;
        grid-row-gap: 3rem;
        justify-content: flex-start;
        align-items: stretch;
        width: auto;
    }
    #sign-form {
        max-width: 350px;
    }
}
@media screen and (max-width: 767px) {
    .footer-bottom {
        grid-column-gap: 1rem;
        grid-row-gap: 1rem;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

        .footer-bottom .info {
            flex-flow: column;
            justify-content: center;
            align-items: center;
        }
    .footer-bottom .info {
        font-size: 14px;
        line-height: 20px;
    }
}
@media screen and (max-width: 479px) {
    .footer .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .footer-top {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

        .footer-bottom .info {
            grid-column-gap: 1rem;
            grid-row-gap: 1rem;
            justify-content: center;
            align-items: flex-start;
        }
    #sign-form {
        max-width: none;
    }
    .footer-list-wrap {
        margin-top: 40px;
    }
}
