* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; color: #333; background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Header */
.header { background: #fff; border-bottom: 2px solid #1e9fff; position: sticky; top: 0; z-index: 100; }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo-box { display: flex; align-items: center; }
.logo-school { font-size: 20px; color: #1e9fff; font-weight: 600; letter-spacing: 1px; margin-right: 14px; }
.logo-program { line-height: 1.4; border-left: 1px solid #ddd; padding-left: 14px; }
.logo-program h1 { font-size: 15px; color: #1e9fff; font-weight: 500; }
.logo-program p { font-size: 11px; color: #888; margin-top: 2px; }
.nav { display: flex; align-items: center; }
.nav a { padding: 0 22px; font-size: 15px; color: #555; transition: all .2s; height: 60px; line-height: 60px; }
.nav a:hover { color: #1e9fff; }
.nav a.active { background: #1e9fff; color: #fff; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 4px; width: 42px; height: 42px; padding: 10px; border: none; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: #1e9fff; border-radius: 2px; transition: all .25s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Carousel */
.banner-wrap { position: relative; }
.banner-carousel { position: relative; overflow: hidden; height: 680px; }
.banner-carousel .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s; }
.banner-carousel .slide.active { opacity: 1; }
.banner-img { width: 100%; height: 100%; object-fit: cover; }
.banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 44px; height: 64px; border: none; background: rgba(0,0,0,.35); color: #fff; font-size: 24px; cursor: pointer; opacity: 0; transition: opacity .2s; }
.banner-arrow.prev { left: 0; border-radius: 0 4px 4px 0; }
.banner-arrow.next { right: 0; border-radius: 4px 0 0 4px; }
.banner-wrap:hover .banner-arrow { opacity: 1; }

.thumb-nav { background: rgba(0,0,0,.65); position: absolute; bottom: 0; left: 0; right: 0; z-index: 10; }
.thumb-list { display: flex; justify-content: center; padding: 12px 0; }
.thumb-item { width: 160px; height: 90px; margin: 0 8px; cursor: pointer; border: 2px solid transparent; opacity: .85; transition: all .2s; }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }
.thumb-item:hover, .thumb-item.active { opacity: 1; border-color: #1e9fff; }

/* Section title */
.section { padding: 60px 0; }
.section-title { text-align: center; font-size: 28px; color: #222; margin-bottom: 12px; font-weight: 500; }
.section-subtitle { text-align: center; font-size: 15px; color: #888; margin-bottom: 40px; }
.section-bg { background: #f8f9fa; }
section[id] { scroll-margin-top: 70px; }

/* Management */
.manage-title { text-align: center; font-size: 22px; color: #444; line-height: 1.8; margin-bottom: 50px; font-weight: 400; }
.manage-title strong { color: #333; font-weight: 500; }
.feature-cards { display: flex; flex-wrap: wrap; justify-content: space-between; }
.feature-card { width: 30%; text-align: center; margin-bottom: 45px; }
.feature-icon { width: 56px; height: 56px; margin: 0 auto 18px; color: #1e9fff; }
.feature-icon svg { width: 100%; height: 100%; fill: none; stroke: #1e9fff; stroke-width: 1.6; }
.feature-card h4 { font-size: 17px; color: #333; margin-bottom: 14px; font-weight: 500; }
.feature-card p { font-size: 13px; color: #777; line-height: 1.9; text-align: justify; text-align-last: center; }

/* Majors */
.major-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.major-item { width: 12.5%; text-align: center; padding: 10px; }
.major-icon { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; }
.major-item p { font-size: 14px; color: #444; }
.c1 { background: #5cc0c4; }
.c2 { background: #5b9bd5; }
.c3 { background: #d4b483; }
.c4 { background: #5b9bd5; }
.c5 { background: #f4a261; }
.c6 { background: #70c17c; }
.c7 { background: #7db9de; }
.c8 { background: #b8a9d9; }

.major-desc { text-align: center; font-size: 13px; color: #777; line-height: 1.8; max-width: 900px; margin: 35px auto 0; }

/* Laptop */
.laptop-section { text-align: center; }
.laptop-section img { margin: 0 auto; }

/* Activities */
.act-grid { display: flex; flex-wrap: wrap; justify-content: space-between; }
.act-item { width: 32%; margin-bottom: 18px; overflow: hidden; border-radius: 4px; }
.act-item img { width: 100%; height: 200px; object-fit: cover; transition: transform .3s; }
.act-item:hover img { transform: scale(1.05); }

/* Partners */
.partner-section { text-align: center; }
.partner-section img { margin: 0 auto; }

/* Guide cards */
.guide-grid { display: flex; justify-content: space-between; }
.guide-card { width: 32%; background: #fff; padding: 28px; border-radius: 4px; box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.guide-card h4 { font-size: 18px; color: #1e9fff; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid #eee; }
.guide-card p { font-size: 13px; color: #666; line-height: 2; }
.guide-card ul { list-style: none; }
.guide-card li { font-size: 13px; color: #666; line-height: 2.2; padding-left: 14px; position: relative; }
.guide-card li::before { content: ""; position: absolute; left: 0; top: 12px; width: 5px; height: 5px; background: #1e9fff; border-radius: 50%; }

/* Footer */
.footer { background: #2c2c2c; color: #999; padding: 40px 0 25px; text-align: center; font-size: 13px; }
.footer p { line-height: 2; }
.footer a:hover { color: #1e9fff; }

/* Responsive */
@media (max-width: 768px) {
    .container { padding: 0 12px; }
    .nav-toggle { display: flex; }
    .nav { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 2px solid #1e9fff; box-shadow: 0 6px 14px rgba(0,0,0,.08); }
    .nav.open { display: flex; }
    .nav a { width: 100%; height: 46px; line-height: 46px; padding: 0 18px; font-size: 14px; border-top: 1px solid #f4f4f4; }
    .banner-carousel { height: 240px; }
    .banner-arrow { display: none; }
    .thumb-nav { bottom: 6px; }
    .thumb-list { padding: 0; }
    .thumb-item { width: 64px; height: 40px; margin: 0 4px; border-width: 1px; }
    .section { padding: 40px 0; }
    .section-title { font-size: 20px; line-height: 1.5; }
    .section-subtitle { font-size: 13px; margin-bottom: 24px; }
    .manage-title { font-size: 16px; line-height: 1.7; margin-bottom: 30px; }
    .feature-card { width: 100%; margin-bottom: 30px; }
    .feature-card p { text-align: center; text-align-last: center; }
    .major-item { width: 25%; padding: 8px; }
    .major-icon { width: 52px; height: 52px; font-size: 18px; }
    .major-desc { font-size: 12px; margin-top: 24px; }
    .act-item { width: 48%; margin-bottom: 12px; }
    .act-item img { height: 120px; }
    .guide-grid { flex-wrap: wrap; }
    .guide-card { width: 100%; margin-bottom: 14px; padding: 20px; }
    .footer { padding: 30px 0 20px; font-size: 12px; }
}
