﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
}

    * a {
        text-decoration: none;
    }

.header {
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    width: 100%;
    box-shadow: 3px 4px 15px 0px rgba(39,93,191,0.1);
}

.header-left {
    display: flex;
    align-items: center;

    img {
        width: 199px;
        margin-right: 10px;
    }

    span {
        font-size: 24px;
    }
}

.header-right {
    display: flex;
    align-items: center;



    .nav {
        display: flex;
        align-items: center;
        justify-content: space-around;
        height: 100%;
    }

        .nav a {
            text-decoration: none;
            margin: 0 20px;
            position: relative;
            padding: 0 4px;
            display: flex;
            align-items: center;
            height: 100%;
            color: #333;
        }

          

            .nav a:active {
                color: #33b08a;
            }
        a.menu-active {
            color: #275DBF;
        }
    /*    a:first-child {
        color: #275DBF;
    }*/
    /*	.nav a:first-child::after {
		content: '';
		position: absolute;
		left: 50%;
		bottom: 0;
		transform: translateX(-50%);
		width: 100%;
		height: 8px;
		background-color: #275DBF;
		border-radius: 4px;
	}*/

        a.menu-active {
            color: #275DBF;
        }

        a.menu-active::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
            width: 100%;
            height: 8px;
            background-color: #275DBF;
            border-radius: 4px;
        }


    .language {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 187px;
        height: 60px;
        border-radius: 30px;
        background-color: #275DBF;
        margin-right: 36px;
        cursor: pointer;

        img {
            width: 20px;
            height: 20px;
            margin-right: 8px;
        }

        .icon-duoyuyan {
            font-size: 27px;
            color: #fff;
            margin-right: 8px;
        }

        span {
            font-size: 16px;
            color: #fff;
            margin: 0 29px 0 0;
        }

        .icon-ln_jiantouxia {
            font-size: 14px;
            color: #fff;
        }
    }

    .language-drop {
        position: absolute;
        top: 80px;
        right: 36px;
        width: 187px;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        margin-top: 8px;
        overflow: hidden;
        display: none;
    }

        .language-drop.show {
            display: block;
        }

    .lang-item {
        cursor: pointer;
        height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        font-size: 16px;

        img {
            width: 20px;
            height: 20px;
        }

        i {
            font-size: 27px;
            color: #000;
        }
    }

        .lang-item:first-child {
            border-bottom: 1px solid #eee;
        }

    .lang-flag {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        flex-shrink: 0;
    }

    .check-mark {
        position: absolute;
        right: 12px;
        color: #3478e8;
        font-weight: bold;
        font-size: 28px;
    }
}

.contact-section {
    position: relative;
    width: 100%;
    padding: 10px 0;
    overflow: hidden;
    box-sizing: border-box;
    /* min-height: 100vh; */
    display: flex;
    flex-direction: column;
}

.contact-bg {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.contact-top,
.contact-line,
.contact-nav,
.contact-info,
.contact-footer {
    position: relative;
    z-index: 2;
}

.contact-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 160px;
}

.contact-head img {
    display: block;
    width: 50%;
    /* height: 72px; */
}

.contact-text p {
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 24px;
    color: #fff;
}

.contact-line {
    margin: 0 160px;
    height: 2px;
    border: 1px solid #FFFFFF;
    opacity: 0.05;
    margin-bottom: 80px;
}


.contact-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 160px;
    color: #fff;
    gap: 60px;
    position: relative;
    z-index: 2;
    flex: 1;
}

.contact-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
}

.contact-navv {
    display: flex;
    flex-wrap: wrap;
    gap: 50px 80px;
}

.contact-nav-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .contact-nav-item h4 {
        font-family: Microsoft YaHei;
        font-weight: 400;
        font-size: 16px;
        color: #FFFFFF;
        margin: 0 0 10px;
    }

    .contact-nav-item a {
        font-family: Microsoft YaHei;
        font-weight: 400;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.4);
        text-decoration: none;
    }

        .contact-nav-item a:hover {
            color: #fff;
        }

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    color: #ccc;
    margin-top: 40px;
}

.contact-info-left,
.contact-info-right {
    display: flex;
    flex-direction: column;
}

.contact-info h4 {
    margin-bottom: 20px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 16px;
    color: #FFFFFF;
}

.contact-address {
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.contact-mail {
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.contact-phone {
    font-family: Microsoft YaHei;
    font-weight: bold;
    font-size: 20px;
    color: #275DBF;
    margin-bottom: 20px;
}

.contact-day {
    font-family: Microsoft YaHei;
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    opacity: 0.4;
}

.contact-qrcode {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-self: center;
    width: auto;
}

    .contact-qrcode img {
        width: 213px;
        display: block;
        height: 213px;
    }

    .contact-qrcode p {
        font-family: Microsoft YaHei;
        font-weight: 400;
        font-size: 16px;
        color: #FFFFFF;
        margin-top: 20px;
    }

.contact-footer {
    background: #0b0f14;
    text-align: center;
    padding: 50px 0;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

    .contact-footer p {
        font-family: Microsoft YaHei;
        font-weight: 400;
        font-size: 16px;
        color: #FFFFFF;
    }

/* ===== 全局 Bootstrap Modal 弹窗样式 ===== */
#globalAlertModal .modal-dialog {
    max-width: 420px;
}

#globalAlertModal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 4px 16px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
}

/* 顶部彩色装饰条 */
#globalAlertModal .modal-content::before {
    content: '';
    display: block;
    height: 4px;
    width: 100%;
    flex-shrink: 0;
}

#globalAlertModal.alert-success .modal-content::before { background: linear-gradient(90deg, #28a745, #5dd475); }
#globalAlertModal.alert-danger .modal-content::before { background: linear-gradient(90deg, #dc3545, #f08080); }
#globalAlertModal.alert-warning .modal-content::before { background: linear-gradient(90deg, #275DBF, #4a8af4); }
#globalAlertModal.alert-info .modal-content::before { background: linear-gradient(90deg, #17a2b8, #4dd0e1); }

#globalAlertModal .modal-header {
    border-bottom: none;
    padding: 20px 28px 0 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

#globalAlertModal .modal-header .alert-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
    line-height: 1;
}

#globalAlertModal.alert-success .alert-icon-wrap { background: #e8f5e9; color: #28a745; }
#globalAlertModal.alert-danger .alert-icon-wrap { background: #fbe9e7; color: #dc3545; }
#globalAlertModal.alert-warning .alert-icon-wrap { background: #fff8e1; color: #e6a800; }
#globalAlertModal.alert-info .alert-icon-wrap { background: #e0f7fa; color: #17a2b8; }

#globalAlertModal .modal-header .modal-title {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a2e;
    flex: 1;
}

#globalAlertModal .modal-header .btn-close {
    font-size: 14px;
    opacity: 0.4;
    transition: opacity 0.2s;
}
#globalAlertModal .modal-header .btn-close:hover {
    opacity: 0.8;
}

#globalAlertModal .modal-body {
    padding: 16px 28px 8px 28px;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

#globalAlertModal .modal-footer {
    border-top: none;
    padding: 8px 28px 24px 28px;
    justify-content: center;
}

#globalAlertModal .modal-footer .btn {
    min-width: 120px;
    border-radius: 20px;
    padding: 8px 32px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

#globalAlertModal .modal-footer .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

#globalAlertModal .modal-footer .btn:active {
    transform: translateY(0);
}

#globalAlertModal.alert-success .modal-footer .btn { background: #28a745; color: #fff; }
#globalAlertModal.alert-danger .modal-footer .btn { background: #dc3545; color: #fff; }
#globalAlertModal.alert-warning .modal-footer .btn { background: #275DBF; color: #fff; }
#globalAlertModal.alert-info .modal-footer .btn { background: #17a2b8; color: #fff; }

#globalAlertModal.alert-success .modal-footer .btn:hover { background: #218838; }
#globalAlertModal.alert-danger .modal-footer .btn:hover { background: #c82333; }
#globalAlertModal.alert-warning .modal-footer .btn:hover { background: #1e4da3; }
#globalAlertModal.alert-info .modal-footer .btn:hover { background: #138496; }

/* 弹窗动画 */
.modal.fade .modal-dialog {
    transform: scale(0.85) translateY(-20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
    opacity: 0;
}
.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-backdrop {
    background-color: #000 !important;
}
.modal-backdrop.show {
    opacity: 0.2 !important;
}

/* 覆盖 Bootstrap 自带 alert-warning 背景色 */
.alert-warning {
    background-color: transparent !important;
}
.alert-info {
    background-color: transparent !important;
}

.alert-success {
    background-color: transparent !important;
}
.alert-danger {
    background-color: transparent !important;
}
