* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}
html,body {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}
.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
@media (max-width: 1200px) {
    .container { width: 100%; }
}
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 9999;
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(0,0,0.08);
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.logo .cn {
    font-size: 22px;
    font-weight: bold;
    color: #0f427d;
}
.logo .en {
    font-size: 14px;
    color: #666;
    display: block;
}
.menu {
    display: flex;
    flex-wrap: wrap;
}
.menu a {
    margin: 0 10px;
    text-decoration: none;
    color: #333;
    font-size: 15px;
}
.menu a:hover {
    color: #ff7a2f;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}
.lang-switch button {
    background: none;
    border: 1px solid #0f427d;
    padding: 4px 8px;
    font-size: 13px;
    color: #0f427d;
    cursor: pointer;
}
.consult-btn a {
    background: #ff7a2f;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
}
.banner {
    height: 520px;
    background: linear-gradient(rgba(15,66,125,0.88), rgba(15,66,125,0.88)), url('images/banner.jpg') center/cover no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 120px;
}
.banner-text {
    max-width: 900px;
    margin: 0 auto;
}
.enroll-tag {
    display: inline-block;
    background: #ff7a2f;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 15px;
    margin-bottom: 16px;
}
.banner h1 {
    font-size: 36px;
    margin-bottom: 16px;
}
.banner p {
    font-size: 16px;
    margin-bottom: 30px;
}
.banner-data {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}
.data-item h2 {
    font-size: 20px;
}
.data-item span {
    font-size: 14px;
    opacity: 0.9;
}
.banner-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
}
.banner-btn {
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 15px;
}
.orange { background: #ff7a2f; color: #fff; }
.white { background: #fff; color: #0f427d; }

.section-gray { background: #f5f8fc; padding: 70px 0; }
.section-white { background: #fff; padding: 70px 0; }
.section-dark { background: #0f427d; padding: 70px 0; color: #fff; }

.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 28px;
    color: #0f427d;
    margin-bottom: 10px;
}
.section-title p {
    font-size: 16px;
    color: #666;
}
.white-title h2 { color: #fff; }
.white-title p { color: #eee; }

.course-card-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}
.course-card, .lang-card {
    width: 270px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0.06);
}
.card-img {
    height: 160px;
    background-position: center;
    background-size: cover;
}
.school-img1 { background: url("images/school1.jpg") center/cover; }
.school-img2 { background: url("images/school2.jpg") center/cover; }
.school-img3 { background: url("images/school3.jpg") center/cover; }
.school-img4 { background: url("images/school4.jpg") center/cover; }
.uni-img1 { background: url("images/uni1.jpg") center/cover; }
.uni-img2 { background: url("images/uni2.jpg") center/cover; }
.uni-img3 { background: url("images/uni3.jpg") center/cover; }
.uni-img4 { background: url("images/uni4.jpg") center/cover; }
.lang-img1 { background: url("images/lang1.jpg") center/cover; }
.lang-img2 { background: url("images/lang2.jpg") center/cover; }
.lang-img3 { background: url("images/lang3.jpg") center/cover; }
.lang-img4 { background: url("images/lang4.jpg") center/cover; }
.imm-img1 { background: url("images/imm1.jpg") center/cover; }
.imm-img2 { background: url("images/imm2.jpg") center/cover; }
.imm-img3 { background: url("images/imm3.jpg") center/cover; }
.imm-img4 { background: url("images/imm4.jpg") center/cover; }
.house-img1 { background: url("images/house1.jpg") center/cover; }
.house-img2 { background: url("images/house2.jpg") center/cover; }
.house-img3 { background: url("images/house3.jpg") center/cover; }
.house-img4 { background: url("images/house4.jpg") center/cover; }

.course-card h3, .lang-card {
    padding: 16px 16px 8px;
    font-size: 17px;
    color: #0f427d;
}
.course-card p, .lang-card p {
    padding: 0 16px 18px;
    font-size: 14px;
    color: #666;
}

.form-box {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
}
.form-box input,.form-box select,.form-box textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
}
.form-box textarea {
    height: 120px;
    resize: none;
}
.submit-btn {
    width: 100%;
    padding: 13px;
    background: #ff7a2f;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.footer {
    background: #111;
    color: #ccc;
    padding: 40px 0;
    font-size: 14px;
    text-align: center;
    line-height: 1.7;
}

/* 悬浮按钮样式 */
.float-contact {
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.float-btn:hover {
    transform: scale(1.08);
}
.float-btn img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* 微信弹窗 */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0.7);
    z-index: 100000;
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    position: relative;
    text-align: center;
    max-width: 380px;
    width: 90%;
}
.close-btn {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
}
.qrcode-img {
    width: 100%;
    max-width: 300px;
    height: auto;
}

/* 移动端适配 */
@media (max-width:768px) {
    .banner { height: auto; padding-bottom: 40px; }
    .banner h1 { font-size: 24px; }
    .banner-data { flex-direction: column; gap:16px; }
    .course-card-wrap { flex-direction: column; align-items: center; }
    .course-card,.lang-card { width:100%; max-width:380px; }
    .menu { display:none; }
    .float-contact { right:15px; bottom:20px; }
    .float-btn { width:45px; height:45px; }
    .float-btn img { width:25px; height:25px; }
}