@font-face {
    font-family: 'Misan-Bold';
    src: url('../fonts/MiSans-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Misan-Medium';
    src: url('../fonts/MiSans-Medium.TTF') format('truetype');
}

@font-face {
    font-family: 'Misan-Regular';
    src: url('../fonts/MiSans-Regular.TTF') format('truetype');
}

/*common start*/
::-webkit-scrollbar {
    display: none;
}

/* Firefox 兼容 */
* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Back to Top button */
.backTop {
    position: fixed;
    right: 100px;
    bottom: 100px;
    width: 64px;
    height: 64px;
    border-radius: 32px;
    background-color: #AC130A;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.backTop::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 10px solid #fff;
    /* white upward triangle */
}

.backTop.backTop--visible {
    opacity: 1;
    pointer-events: auto;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    z-index: 100001;
    font-size: 0.875rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.toast-container.show {
    opacity: 1;
}

.toast-container.toast-success {
    background: rgba(22, 115, 87, 0.92);
}

.toast-container.toast-error {
    background: rgba(140, 35, 35, 0.92);
}

html,
body {
    margin: 0;
    padding: 0;
    font-size: 0.83328vw;
    color: #000;
}

.form-control:focus,
.form-check-input:focus,
.form-select:focus {
    border-color: #000 !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075) !important;
}

.line-clamp {
    display: -webkit-box;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.line-clamp-4 {
    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp:4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.line-clamp-6 {
    display: -webkit-box;
    line-clamp: 6;
    -webkit-line-clamp:6;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.bg-f5 {
    background: #f5f5f5;
}

.container {
    max-width: 80%;
    padding: 0;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

ul,li{
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #000;
}

button {
    outline: none !important;
}

button:focus {
    border: none !important;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    border: none !important
}


/*固定图片比例*/
.fixed-ratio {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
}

/*默认3:2*/
.fixed-ratio::before {
    content: "\0020";
    display: block;
    width: 100%;
    height: 0;
    padding: 33.33% 0;
}

/*比例4:2.5*/
.fixed-ratio.rectangle::before {
    content: "\0020";
    display: block;
    width: 100%;
    height: 0;
    padding: 31.25% 0;
}

/*比列2:1*/
.fixed-ratio.half::before {
    padding: 25% 0;
}

/*比列1:1*/
.fixed-ratio.square::before {
    padding: 50% 0;
}

/*比列5:6*/
.fixed-ratio.frectangle::before {
    padding: 60% 0;
}

.fixed-ratio>img,
.fixed-ratio>div {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.fixed-ratio>img,
.fixed-ratio>img {
    object-fit: cover;
}

/*common end*/

/* Header begin */
header {
    background: rgba(255, 255, 255, 1);
    position: fixed;
    width: 100%;
    z-index: 99999;
    top: 0;
    left: 0;
    transition: all 0.5s;
}

.navbar {
    position: relative;
}

.header-inner {
    width: 90%;
    margin: 0 auto;
    gap: 2rem;
    padding:0;
}

.logo{
    height: 2.625rem;
    width: 6.875rem;
    display: block;
    background: url(../images/logo.png) no-repeat center center/contain;
    padding: 0;
    margin: 0;
}

.navbar-collapse {
    align-items: center;
}

.primary-nav {
    gap: 5rem;
}

.navbar-nav .nav-link {
    font-size: 1rem;
    color: #000;
    padding: 1.75rem 0;
    position: relative;
    cursor: pointer;
}
.navbar-nav .nav-link.active{
    color: #012B82;
}
.navbar-nav .nav-link.active:after,.navbar-nav .nav-link:hover::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1rem;
    height: 2px;
    width: 2rem;
    border-radius: 2px;
    background: #012B82;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.toggler-bars {
    display: inline-block;
    width: 24px;
    height: 18px;
    position: relative;
}

.toggler-bars i {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #000;
    transform-origin: center;
    transition: transform .25s ease, opacity .2s ease, top .25s ease;
}

.toggler-bars i:nth-child(1) {
    top: 0;
}

.toggler-bars i:nth-child(2) {
    top: 8px;
}

.toggler-bars i:nth-child(3) {
    top: 16px;
}

.navbar-toggler[aria-expanded="true"] .toggler-bars i:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .toggler-bars i:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-bars i:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
}

header.bgNone{
    background: rgba(255, 255, 255, 0);
}
header.bgNone .logo{
    background: url(../images/logo-white.png) no-repeat center center/cover;
}
header.bgNone .navbar-nav .nav-link{
    color: white;
}
header.bgNone .navbar-nav .nav-link.active:after, header.bgNone .navbar-nav .nav-link:hover::after {
    background: white;
}
/* Header end */

/*moreBtn*/
.moreBtn{
    margin: 0 auto;
}
.moreBtn a{
    padding: 0.875rem 2.5rem;
    background: none;
    color: #012B82;
    font-size: 0.875rem;
    border-radius: 4rem;
	border: 1px solid #012B82;
    transition: all 0.3s;
    position: relative;
    gap: 0;
    top:0
}
.moreBtn .pic{
    width: 0.875rem;
    background: url(../images/arrow-right_blue.png) no-repeat center center/cover;
}
.moreBtn a:hover{
    background: #012B82;
    color: white;
    top: -0.5rem;
    gap: 0.25rem;
}
.moreBtn a:hover .pic{
    background: url(../images/arrow-right_white.png) no-repeat center center/cover;
}
.moreBtn.txt-white a{
    color: white;
    border-color: white;
}
.moreBtn.txt-white .pic{
    background: url(../images/arrow-right_white.png) no-repeat center center/cover;
}
/*moreBtn end*/

/*footer*/
footer {
    background: url(../images/footerBg.jpg) no-repeat center bottom/cover;
}
.footer-logo{
    border-bottom: 1px solid #2C3D6A;
}
.footer-logo img{
    height: 2.5rem;
}
.footer-logo .footer-nav a{
    color: white;
    position: relative;
}
.footer-logo .footer-nav a:hover::after{
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -0.5rem;
    height: 2px;
    width: 2rem;
    border-radius: 2px;
    background: white;
}
.foot{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}
footer .pic{
    width: 1rem;
}
footer .picTxt{
    color: #3757AC;
    font-weight: normal;
    font-size: 0.875rem;
}
footer span{
    display: block;
}
footer span.kf{
    font-size: 2rem;
    color: white;
    font-family: 'Misan-Regular';
}
footer span.tel{
    color: white;
    font-family: 'Misan-Regular';
    margin-top: 0.5rem;
}
footer span.addr{
    font-size: 1rem;
    color: white;
    margin-top: 0.5rem;
}
footer span b{
	font-weight: normal;
}
footer form{
    max-width: 50rem;
    flex:1 ;
}
footer form h3{
    color: white;
    font-size: 1.5rem;
}
footer form input{
    width: 25%;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    background: unset;
    border:1px solid rgba(255,255,255,0.3);
    padding: 1rem;
    border-radius: 6px;
    background: white;
}
footer form input:last-child{
    margin-right: 0;
    width: 44%;
}
footer form input:focus{
    outline: none;
    border-color: white;
}
footer form button{
    width: 12.5rem;
    background: #AC130A;
    color: white;
    padding: 0.75rem;
    border-radius: 24px;
    margin: 1rem auto;
    display: block;
	border: none;
}
footer form p{
    color: #3757AC;
    text-align: center;
    font-size: 0.875rem;
}
footer .text-rght{
    font-size: 0.875rem;
}
footer .text-rght .bot_code{
    width: 7.5rem;
    border-radius: 0.25rem;
	margin:0 0 0 auto;
}
footer .text-rght span{
    color: white;
}


.foot-copy{
    border-top: 1px solid #2C3D6A;
    gap: 1rem;
}
.foot-copy .copy{
    font-size: 0.75rem;
    color: #3757AC;
    margin: 0;
}
/*footer end*/

/*breadcrumb begin*/
.breadcrumb {
    margin: 0;
    border-bottom: 1px solid #eee;
    min-height: 80px;
}
.breadcrumb ul,.breadcrumb li{
    list-style: none;
    margin: 0;
    padding: 0;  
}
.breadcrumb li {
    font-size: 0.875rem;
    display: flex;
    text-transform: capitalize;
    color: #666;
    line-height: 1;
}
.breadcrumb li a{
    color: #666;
}
.breadcrumb li .icon{
    width: 1rem;
}

.breadcrumb li+li::before{content:">";display:inline-block;margin:0 .5rem;color:#888}

.breadcrumb .nav a{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 4rem;
    background: #F5F5F5;
}
.breadcrumb .nav a.active,.breadcrumb .nav a:hover{
    color: white;
    background: #AC130A;
}
/*breadcrumb end*/


/*base banner begin*/

.base_banner {
    width: 100%;
    height: 37.5rem;
    overflow: hidden;
    position: relative;
}
.base_banner .cite {
    font-size: 1rem;
    color: white;
    position: relative;
    z-index: 9;
}
.base_banner .cite span{
    font-size: 1.25rem;
    font-family: 'Misan-Regular';
    display: inline-block;
    text-transform: uppercase;
}
.base_banner .title {
    font-size: 3rem;
    color: white;
    text-transform: capitalize;
    position: relative;
    z-index: 9;
}
.base_banner .sub-desc{
    font-size: 1rem;
    position: relative;
    z-index: 9;
    color: white;
    margin-bottom: 3rem;
    display: block;
}
.base_banner .sub-title {
    font-size: 1rem;
    color: white;
    text-transform: capitalize;
    position: relative;
    z-index: 9;
}

.base_banner .bg {
    position: absolute;
    inset: 0;
    transform: scale(1.3);
    animation: contactZoom 5s ease-out forwards
}
.parallax-bg{
    background-position: center 0;
    will-change: background-position;
}
@keyframes contactZoom {
    from {
        transform: scale(1.1)
    }

    to {
        transform: scale(1)
    }
}
/*base banner end*/

/*page begin*/
.page{
    margin: 5rem 0;
}
.page .item{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
}
.page .item:hover,
.page .item.active{
    background: #012B82;
    color: white;
}
/*page end*/



@media (max-width: 1200px) {
    
    html, body{
        font-size: 16px;
    }
    .grid-container{
        gap: 0.625rem;
    }

    .navbar-collapse {
        width: 100%;
    }
    .navbar-nav .nav-link.active:after, .navbar-nav .nav-link:hover::after {
        display: none;
    }
    .navbar-nav .nav-link{
        border-bottom: 1px solid #ddd;
    }
    .navbar-nav .nav-item:last-child .nav-link{
        border-bottom: none;
    }
    
    .primary-nav {
        gap: 1rem;
    }
    .breadcrumb{
        height: 70px;
    }

    footer .left{
        width: 100%;
    }
    footer .left .item{
        justify-content: center;
    }
    footer .picTxt{
        font-size: 1rem;
    }
    footer .pic{
        width: 1.25rem;
    }
    footer form {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        flex: unset;
    }
    footer .text-rght{
        width: 100%;
        justify-content: center !important;
        gap: 2rem;
    }
    footer span{
        text-align: center;
    }

    .base_banner {
        height: 50vh;
    }

    .breadcrumb .nav a{
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }

}


@media (max-width: 768px) {
    .backTop{
        width: 2.5rem;
        height: 2.5rem;
        right: 1rem;
    }
    .container{
        max-width: 90%;
    }
    .primary-nav {
        gap: 0;
    }
    .breadcrumb{
        height: auto;
    }
    .logo{
        height: 34px;
        width: 90px;
    }
    .navbar{
        padding: 0.5rem 0;
    }
    .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 1rem 0;
    }

    .page{
        margin: 2rem 0;
    }
    .page .item{
        font-size: 0.875rem;
        width: 2.5rem;
        height: 2.5rem;
    }

    footer form h3{
        font-size: 1.25rem;
        font-weight: bold;
    }
    footer form input,footer form input:last-child{
        width: 100%;
    }
    footer .text-rght{
        margin-top: 2rem;
    }
    .foot-copy{
        gap: 0.25rem;
    }

    .moreBtn a{
        padding: 0.75rem 2rem;
    }

    .base_banner {
        height: 25vh;
    }
    .base_banner .title{
        text-align: center;
        font-size: 1.75rem;
    }

    .base_banner .cite{
        text-align: center;
    }
    .base_banner .cite span{
        font-size: 0.75rem;
    }
    .base_banner .sub-title{
        text-align: center;
        font-size: 0.875rem;
        margin: 0;
    }
    .breadcrumb .nav{
        width: 100%;
        justify-content: center;
        gap: 1rem;
    }
    .breadcrumb .nav a{
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }


}

