/* CSS Variables */
:root { --primary: #0f3460; --primary-light: #1a5276; --primary-dark: #0a1f3a; --bg: #ffffff; --bg-alt: #f0f4f8; --text: #1a1a2e; --text-light: #5a6a7a; --text-muted: #8899aa; --border: #dce3ea; --radius: 12px; --max-width: 1100px; }

/* Global */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: #333; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.6; }
a { color: #0f3460; text-decoration: none; }

/* Navbar */
.navbar { position: sticky; top: 0; background: #fff; border-bottom: 1px solid #e5e7eb; z-index: 100; }
.nav-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 10px 24px; }
.nav-logo { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; color: #0f3460; }
.logo-img { height: 32px; }
.nav-links { display: flex; list-style: none; gap: 20px; flex-wrap: wrap; }
.nav-links a { font-size: 14px; color: #555; transition: color 0.2s; }
.nav-links a:hover { color: #0f3460; }

/* Hero */
.hero { background: linear-gradient(135deg, #0f3460 0%, #1a5276 40%, #2980b9 100%); padding: 60px 24px 50px; }
.hero-inner { max-width: 900px; margin: 0 auto; }
.hero-main { text-align: center; margin-bottom: 36px; }
.hero-main h1 { font-size: 38px; color: #fff; margin: 0 0 10px; font-weight: 800; letter-spacing: 2px; }
.hero-subtitle { font-size: 20px; color: rgba(255,255,255,0.85); margin: 0 0 16px; letter-spacing: 4px; }
.hero-desc { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.8; max-width: 620px; margin: 0 auto; }
.hero-stats { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.hero-stats .stat { background: rgba(255,255,255,0.12); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.15); border-radius: 14px; padding: 22px 32px; text-align: center; min-width: 140px; transition: all 0.3s; }
.hero-stats .stat:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }
.hero-stats .stat strong { display: block; font-size: 34px; color: #fff; font-weight: 800; }
.hero-stats .stat span { display: block; font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 6px; }
@media (max-width: 600px) { .hero-main h1 { font-size: 26px; } .hero-stats { gap: 12px; } .hero-stats .stat { min-width: 110px; padding: 16px 18px; } .hero-stats .stat strong { font-size: 26px; } }

/* Three Module Cards */
.modules-section { background: #f0f4f8; padding: 48px 0; }
.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.module-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 36px 28px; border-radius: 14px; background: #fff; border: 1px solid #e5e7eb; box-shadow: 0 2px 12px rgba(0,0,0,0.04); text-decoration: none; transition: all 0.3s; }
.module-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.1); border-color: #0f3460; transform: translateY(-4px); }
.mc-icon { font-size: 44px; margin-bottom: 16px; }
.module-card h3 { font-size: 20px; color: #0f3460; margin-bottom: 12px; }
.module-card p { font-size: 14px; color: #666; line-height: 1.7; }
@media (max-width: 700px) { .modules-grid { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: 56px 24px; }
.section-alt { background: #f8fafd; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-title { font-size: 28px; font-weight: 700; text-align: center; color: #0f3460; margin-bottom: 8px; }
.section-title::after { content: ""; display: block; width: 40px; height: 3px; background: #0f3460; margin: 10px auto 0; border-radius: 2px; }
.section-desc { text-align: center; color: #888; font-size: 15px; margin-bottom: 30px; }
.subsection-title { font-size: 20px; color: #1a1a2e; margin: 24px 0 14px; text-align: center; }
.text-center { text-align: center; }

/* About */
.about-intro { max-width: 800px; margin: 0 auto 20px; font-size: 15px; line-height: 1.8; color: #555; }

/* Mission */
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 20px 0 28px; }
.mission-card { background: #fff; border: 1px solid #e8ecf0; box-shadow: 0 2px 12px rgba(0,0,0,0.04); border-radius: 12px; padding: 24px 20px; text-align: center; transition: all 0.3s; }
.mission-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.1); border-color: #0f3460; transform: translateY(-3px); }
.mission-icon { font-size: 36px; margin-bottom: 10px; }
.mission-card h4 { font-size: 18px; color: #0f3460; margin-bottom: 6px; }
.mission-card p { font-size: 13px; color: #888; margin-bottom: 12px; }
.mission-card ul { list-style: none; font-size: 13px; color: #666; line-height: 1.8; }
.mission-card li::before { content: "• "; color: rgba(255,255,255,0.35); }
@media (max-width: 768px) { .mission-grid { grid-template-columns: 1fr; } }

/* Partners */
.partners-section { background: var(--bg-alt); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 14px; color: #666; }
.contact-icon { font-size: 20px; }
.social-links { display: flex; flex-direction: column; gap: 12px; }
.social-item { font-size: 14px; color: #666; }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--primary-dark); text-align: center; padding: 24px; font-size: 13px; color: rgba(255,255,255,0.5); }
.footer a { color: rgba(255,255,255,0.7); }
.footer-tagline { margin-top: 6px; color: rgba(255,255,255,0.35); font-size: 12px; }

/* GEO */
.schema-org { display: none; }

/* Service Institutions */
.service-section { background: var(--bg-alt); padding: 48px 24px; }
.service-section .section-title { text-align: center; font-size: 28px; color: #fff; margin-bottom: 8px; }
.service-section .section-title::after { content: ""; display: block; width: 40px; height: 3px; background: #0f3460; margin: 10px auto 0; border-radius: 2px; }
.service-section .section-desc { text-align: center; color: #888; font-size: 15px; }

/* ─── Horizontal Timeline ─── */
.h-timeline { display: flex; gap: 0; overflow-x: auto; padding: 30px 0 20px; max-width: 1100px; margin: 0 auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.15) transparent; }
.ht-item { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; position: relative; min-width: 140px; }
.ht-item::after { content: ""; position: absolute; top: 46px; left: 50%; width: 100%; height: 2px; background: rgba(255,255,255,0.12); }
.ht-item:last-child::after { display: none; }
.ht-year { font-size: 12px; font-weight: 700; color: #0f3460; margin-bottom: 8px; background: #eef2f7; padding: 3px 10px; border-radius: 8px; white-space: nowrap; }
.ht-dot { width: 12px; height: 12px; border-radius: 50%; background: #0f3460; border: 2px solid rgba(255,255,255,0.4); margin-bottom: 10px; position: relative; z-index: 1; flex-shrink: 0; }
.ht-item:first-child .ht-dot { background: #fff; border-color: #0f3460; }
.ht-item:last-child .ht-dot { background: #2980b9; border-color: rgba(255,255,255,0.6); }
.ht-text { font-size: 12px; color: #666; text-align: center; line-height: 1.5; max-width: 130px; }
.ht-item:nth-child(odd) .ht-text { margin-top: 4px; }
@media (max-width: 768px) { .h-timeline { gap: 0; padding: 20px 0 16px; } .ht-item { min-width: 110px; } .ht-text { font-size: 11px; max-width: 100px; } }

/* ─── Business 2x3 ─── */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.biz-card { background: #fff; border: 1px solid #e8ecf0; box-shadow: 0 2px 12px rgba(0,0,0,0.04); border-radius: 12px; padding: 32px 24px; text-align: center; transition: all 0.3s; }
.biz-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.1); border-color: #0f3460; transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.biz-icon { font-size: 38px; margin-bottom: 14px; display: block; }
.biz-card h3 { font-size: 17px; color: #0f3460; margin-bottom: 8px; }
.biz-card p { font-size: 13px; color: #888; line-height: 1.7; }
@media (max-width: 768px) { .biz-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .biz-grid { grid-template-columns: 1fr; } }

/* ─── Team ─── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card { background: #fff; border: 1px solid #e8ecf0; border-radius: 10px; padding: 22px 20px; text-align: center; transition: all 0.3s; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.team-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.1); border-color: #0f3460; transform: translateY(-3px); }
.team-avatar { font-size: 48px; margin-bottom: 12px; display: block; }
.team-card h3 { font-size: 17px; color: #0f3460; margin-bottom: 4px; }
.team-title { font-size: 13px; color: #888; margin-bottom: 8px; }
.team-desc { font-size: 12px; color: #aaa; line-height: 1.7; }
@media (max-width: 768px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

/* ─── Lecturers ─── */
.lecturer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 18px; }
.lecturer-card { background: #fff; border: 1px solid #e8ecf0; box-shadow: 0 1px 6px rgba(0,0,0,0.03); border-radius: 10px; padding: 16px 18px; transition: all 0.3s; }
.lecturer-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); border-color: #0f3460; }
.lecturer-card h4 { font-size: 15px; color: #0f3460; margin-bottom: 4px; }
.lecturer-card p { font-size: 12px; color: #999; line-height: 1.6; }

.team-card h3 { font-size: 17px; color: #0f3460; margin-bottom: 6px; }

/* ─── Honor Banner ─── */
.honor-banner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.honor-tag { background: linear-gradient(135deg, #0f3460, #1a5276); color: #fff; font-size: 12px; padding: 6px 16px; border-radius: 20px; font-weight: 600; }

/* ─── Advantage Cards ─── */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv-grid .adv-card:last-child:nth-child(3n-1) { grid-column: span 1; }
.adv-card { display: flex; align-items: flex-start; gap: 16px; background: #fff; border: 1px solid #e8ecf0; border-radius: 10px; padding: 22px 20px; transition: all 0.3s; box-shadow: 0 2px 12px rgba(0,0,0,0.03); }
.adv-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); border-color: #0f3460; transform: translateY(-2px); }
.adv-icon { font-size: 34px; flex-shrink: 0; line-height: 1; }
.adv-body h3 { font-size: 16px; color: #0f3460; margin-bottom: 6px; }
.adv-body p { font-size: 13px; color: #777; line-height: 1.7; }

@media (max-width: 768px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .adv-grid { grid-template-columns: 1fr; } }
