* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif; color: #333; background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 1200px; margin: 0 auto; padding: 0 15px; }
@media (max-width: 1240px) { .container { width: 100%; } }

/* ===== Header ===== */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.08); transition: all .3s; }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.header .logo { display: flex; align-items: center; gap: 12px; }
.header .logo img { height: 48px; width: auto; }
.header .logo span { font-size: 20px; font-weight: 700; color: #1a3a6b; letter-spacing: 2px; }
.nav { display: flex; align-items: center; gap: 0; }
.nav > li { position: relative; }
.nav > li > a { display: block; padding: 0 18px; line-height: 80px; font-size: 15px; color: #333; transition: color .3s; font-weight: 500; }
.nav > li > a:hover,
.nav > li.active > a { color: #1a73e8; }
.nav > li > a::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background: #1a73e8; transition: width .3s; border-radius: 2px 2px 0 0; }
.nav > li > a:hover::after,
.nav > li.active > a::after { width: 60%; }

.dropdown { position: absolute; top: 100%; left: 0; min-width: 200px; background: #fff; box-shadow: 0 5px 20px rgba(0,0,0,.12); border-radius: 0 0 8px 8px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; z-index: 100; }
.nav > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: 12px 20px; font-size: 14px; color: #555; border-bottom: 1px solid #f0f0f0; transition: all .3s; }
.dropdown li:last-child a { border-bottom: none; border-radius: 0 0 8px 8px; }
.dropdown li a:hover { background: #f5f8ff; color: #1a73e8; padding-left: 28px; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: #333; border-radius: 2px; transition: all .3s; }

/* ===== Page Banner ===== */
.page-banner { margin-top: 80px; padding: 80px 0; background: linear-gradient(135deg, #1a3a6b 0%, #1a73e8 100%); color: #fff; text-align: center; }
.page-banner h1 { font-size: 36px; font-weight: 700; margin-bottom: 10px; }
.page-banner p { font-size: 16px; opacity: .85; }

/* ===== Inner Page Layout ===== */
.page-wrap { display: flex; gap: 40px; padding: 50px 0; min-height: 500px; }
.sidebar { width: 260px; flex-shrink: 0; background: #f8f9fa; border-radius: 10px; overflow: hidden; align-self: flex-start; position: sticky; top: 110px; }
.sidebar .side-title { padding: 18px 24px; background: #1a73e8; color: #fff; font-size: 18px; font-weight: 700; }
.sidebar ul li a { display: block; padding: 14px 24px; font-size: 15px; color: #555; border-bottom: 1px solid #eee; transition: all .3s; position: relative; }
.sidebar ul li a::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #1a73e8; opacity: 0; transition: opacity .3s; }
.sidebar ul li a:hover,
.sidebar ul li.active a { background: #eef3ff; color: #1a73e8; padding-left: 30px; }
.sidebar ul li a:hover::before,
.sidebar ul li.active a::before { opacity: 1; }
.page-content { flex: 1; min-width: 0; }
.page-content h2 { font-size: 26px; color: #1a3a6b; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 2px solid #e8edf5; }
.page-content h3 { font-size: 20px; color: #1a3a6b; margin: 30px 0 15px; }
.page-content p { margin-bottom: 15px; font-size: 15px; line-height: 1.8; text-indent: 2em; }
.page-content .info-list { margin: 20px 0; }
.page-content .info-list li { padding: 10px 0 10px 24px; position: relative; font-size: 15px; line-height: 1.8; border-bottom: 1px dashed #eee; }
.page-content .info-list li::before { content: ''; position: absolute; left: 4px; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: #1a73e8; }

/* ===== Breadcrumb ===== */
.breadcrumb { padding: 15px 0; background: #f8f9fa; border-bottom: 1px solid #eee; margin-top: 80px; }
.breadcrumb .container { font-size: 13px; color: #999; }
.breadcrumb .container a { color: #1a73e8; }
.breadcrumb .container span { margin: 0 6px; color: #ccc; }

/* ===== Home Page ===== */
.home-banner { margin-top: 80px; height: 550px; background: linear-gradient(135deg, #0d2137 0%, #1a73e8 50%, #4a9eff 100%); position: relative; overflow: hidden; display: flex; align-items: center; }
.home-banner .container { position: relative; z-index: 2; }
.home-banner h1 { font-size: 48px; color: #fff; font-weight: 800; margin-bottom: 20px; letter-spacing: 3px; }
.home-banner h1 span { color: #ffd700; }
.home-banner p { font-size: 18px; color: rgba(255,255,255,.85); margin-bottom: 35px; max-width: 600px; }
.home-banner .btn { display: inline-block; padding: 14px 40px; background: #ffd700; color: #1a3a6b; font-size: 16px; font-weight: 700; border-radius: 30px; transition: all .3s; }
.home-banner .btn:hover { background: #ffc107; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,215,0,.3); }
.home-banner .banner-shapes { position: absolute; right: -50px; top: -50px; width: 600px; height: 600px; border-radius: 50%; background: rgba(255,255,255,.05); }
.home-banner .banner-shapes::after { content: ''; position: absolute; right: 80px; top: 80px; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,.05); }

.section { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 32px; color: #1a3a6b; font-weight: 700; margin-bottom: 10px; }
.section-title h2::after { content: ''; display: block; width: 50px; height: 3px; background: #1a73e8; margin: 15px auto 0; border-radius: 2px; }
.section-title p { font-size: 15px; color: #999; }

.section.bg-gray { background: #f8f9fa; }

/* Home: Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.feature-card { background: #fff; border-radius: 12px; padding: 35px 25px; text-align: center; box-shadow: 0 3px 15px rgba(0,0,0,.06); transition: all .4s; cursor: default; }
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 12px 35px rgba(26,115,232,.15); }
.feature-card .icon { width: 70px; height: 70px; margin: 0 auto 20px; background: linear-gradient(135deg, #e8f0fe 0%, #d2e3fc 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #1a73e8; transition: all .4s; }
.feature-card:hover .icon { background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%); color: #fff; }
.feature-card h3 { font-size: 18px; color: #1a3a6b; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: #888; line-height: 1.7; text-indent: 0; }

/* Home: About Preview */
.about-preview { display: flex; gap: 50px; align-items: center; }
.about-preview .text { flex: 1; }
.about-preview .text h3 { font-size: 28px; color: #1a3a6b; margin-bottom: 20px; }
.about-preview .text p { margin-bottom: 15px; font-size: 15px; color: #666; line-height: 1.8; text-indent: 2em; }
.about-preview .text .btn { display: inline-block; margin-top: 10px; padding: 12px 35px; background: #1a73e8; color: #fff; border-radius: 25px; font-size: 15px; transition: all .3s; }
.about-preview .text .btn:hover { background: #1557b0; transform: translateX(3px); }
.about-preview .image { flex: 1; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.about-preview .image img { width: 100%; height: 350px; object-fit: cover; background: linear-gradient(135deg, #1a73e8, #4a9eff); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; }

/* Home: Statistics */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 30px 20px; border-right: 1px solid rgba(255,255,255,.15); }
.stat-item:last-child { border-right: none; }
.stat-item .num { font-size: 42px; font-weight: 800; color: #ffd700; margin-bottom: 5px; }
.stat-item .label { font-size: 15px; color: rgba(255,255,255,.8); }

/* Home: Services Grid */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.service-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 3px 15px rgba(0,0,0,.06); transition: all .4s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 35px rgba(26,115,232,.12); }
.service-card .img { height: 180px; background: linear-gradient(135deg, #e8f0fe, #d2e3fc); display: flex; align-items: center; justify-content: center; font-size: 48px; color: #1a73e8; }
.service-card .info { padding: 20px 25px 25px; }
.service-card .info h3 { font-size: 18px; color: #1a3a6b; margin-bottom: 8px; }
.service-card .info p { font-size: 14px; color: #888; line-height: 1.7; margin-bottom: 12px; text-indent: 0; }
.service-card .info a { color: #1a73e8; font-size: 14px; font-weight: 500; transition: all .3s; }
.service-card .info a:hover { color: #1557b0; }

/* Home: Qualification */
.qual-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.qual-card { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 30px 20px; text-align: center; transition: all .3s; }
.qual-card:hover { border-color: #1a73e8; box-shadow: 0 5px 20px rgba(26,115,232,.1); }
.qual-card .icon { font-size: 40px; margin-bottom: 15px; }
.qual-card h4 { font-size: 15px; color: #333; }

/* ===== Contact Info Block ===== */
.contact-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.contact-card { background: #fff; border-radius: 12px; padding: 30px 25px; text-align: center; box-shadow: 0 3px 15px rgba(0,0,0,.05); border: 1px solid #f0f0f0; }
.contact-card .icon { font-size: 36px; margin-bottom: 15px; }
.contact-card h3 { font-size: 16px; color: #1a3a6b; margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: #888; line-height: 1.7; text-indent: 0; }

/* ===== Footer ===== */
.footer { background: #0d2137; color: rgba(255,255,255,.7); padding: 60px 0 0; }
.footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-col h4 { color: #fff; font-size: 18px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: #1a73e8; }
.footer-col p { font-size: 14px; line-height: 1.8; margin-bottom: 10px; text-indent: 0; }
.footer-col ul li a { display: block; padding: 6px 0; font-size: 14px; color: rgba(255,255,255,.6); transition: all .3s; }
.footer-col ul li a:hover { color: #fff; padding-left: 5px; }
.footer-col .contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 14px; }
.footer-col .contact-item .label { color: #1a73e8; font-weight: 500; white-space: nowrap; }
.footer-bottom { margin-top: 40px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08); text-align: center; font-size: 13px; color: rgba(255,255,255,.4); }

/* ===== Form ===== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 14px; color: #555; font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: 12px 16px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; color: #333; transition: border-color .3s; font-family: inherit; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: #1a73e8; box-shadow: 0 0 0 3px rgba(26,115,232,.1); }
.form-group textarea { min-height: 120px; resize: vertical; }
.btn-submit { padding: 14px 40px; background: #1a73e8; color: #fff; font-size: 16px; border: none; border-radius: 8px; cursor: pointer; transition: all .3s; font-weight: 600; }
.btn-submit:hover { background: #1557b0; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(26,115,232,.25); }

/* ===== Table ===== */
.table-wrap { overflow-x: auto; margin: 20px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
table thead th { background: #1a3a6b; color: #fff; padding: 12px 16px; text-align: left; font-weight: 600; }
table tbody td { padding: 12px 16px; border-bottom: 1px solid #eee; }
table tbody tr:hover { background: #f5f8ff; }

/* ===== Image Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin: 20px 0; }
.gallery-item { border-radius: 8px; overflow: hidden; height: 200px; background: #e8f0fe; display: flex; align-items: center; justify-content: center; color: #1a73e8; font-size: 14px; border: 1px solid #eee; transition: all .3s; }
.gallery-item:hover { transform: scale(1.02); box-shadow: 0 5px 20px rgba(0,0,0,.1); }

/* ===== Team ===== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.team-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 3px 15px rgba(0,0,0,.06); text-align: center; transition: all .3s; }
.team-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,.1); }
.team-card .avatar { width: 120px; height: 120px; border-radius: 50%; margin: 30px auto 15px; background: linear-gradient(135deg, #e8f0fe, #d2e3fc); display: flex; align-items: center; justify-content: center; font-size: 48px; color: #1a73e8; }
.team-card h3 { font-size: 18px; color: #1a3a6b; }
.team-card .pos { font-size: 14px; color: #1a73e8; margin: 5px 0 15px; font-weight: 500; }
.team-card .desc { padding: 0 20px 25px; font-size: 14px; color: #888; line-height: 1.7; text-indent: 0; }

/* ===== Qualification Page ===== */
.qual-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.qual-item { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 25px; display: flex; gap: 20px; align-items: flex-start; transition: all .3s; }
.qual-item:hover { border-color: #1a73e8; box-shadow: 0 5px 20px rgba(26,115,232,.08); }
.qual-item .badge { width: 60px; height: 60px; flex-shrink: 0; background: linear-gradient(135deg, #1a73e8, #4a9eff); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; }
.qual-item .info h4 { font-size: 16px; color: #1a3a6b; margin-bottom: 6px; }
.qual-item .info p { font-size: 14px; color: #888; text-indent: 0; margin: 0; }

/* ===== Timeline ===== */
.timeline { position: relative; padding-left: 40px; margin: 30px 0; }
.timeline::before { content: ''; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: #d2e3fc; }
.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-item::before { content: ''; position: absolute; left: -28px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #1a73e8; border: 3px solid #d2e3fc; }
.timeline-item .year { font-size: 18px; font-weight: 700; color: #1a73e8; margin-bottom: 5px; }
.timeline-item p { font-size: 14px; color: #666; text-indent: 0; }

/* ===== Case Page ===== */
.case-card { display: flex; gap: 25px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 3px 15px rgba(0,0,0,.06); margin-bottom: 25px; transition: all .3s; }
.case-card:hover { transform: translateX(5px); box-shadow: 0 8px 30px rgba(26,115,232,.12); }
.case-card .thumb { width: 300px; min-height: 200px; flex-shrink: 0; background: linear-gradient(135deg, #e8f0fe, #d2e3fc); display: flex; align-items: center; justify-content: center; font-size: 48px; color: #1a73e8; }
.case-card .detail { padding: 25px; flex: 1; }
.case-card .detail h3 { font-size: 18px; color: #1a3a6b; margin-bottom: 8px; }
.case-card .detail .tag { display: inline-block; padding: 3px 12px; background: #e8f0fe; color: #1a73e8; border-radius: 15px; font-size: 12px; margin-bottom: 10px; }
.case-card .detail p { font-size: 14px; color: #888; line-height: 1.7; text-indent: 0; }

/* ===== Back to Top ===== */
.back-top { position: fixed; right: 30px; bottom: 50px; width: 45px; height: 45px; background: #1a73e8; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; opacity: 0; visibility: hidden; transition: all .3s; z-index: 999; }
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: #1557b0; transform: translateY(-3px); }

/* ===== Mobile Nav ===== */
@media (max-width: 991px) {
  .menu-toggle { display: flex; }
  .nav { display: none; position: absolute; top: 80px; left: 0; width: 100%; background: #fff; flex-direction: column; box-shadow: 0 5px 20px rgba(0,0,0,.1); }
  .nav.open { display: flex; }
  .nav > li > a { line-height: 50px; padding: 0 20px; border-bottom: 1px solid #f0f0f0; }
  .dropdown { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; padding-left: 20px; }
  .nav > li:hover .dropdown { display: block; }
  .dropdown li a { border-bottom: 1px solid #f5f5f5; }
  .home-banner { height: auto; padding: 80px 0; }
  .home-banner h1 { font-size: 32px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .about-preview { flex-direction: column; }
  .qual-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info { grid-template-columns: 1fr; }
  .footer .container { grid-template-columns: 1fr 1fr; }
  .page-wrap { flex-direction: column; }
  .sidebar { width: 100%; position: static; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .qual-list { grid-template-columns: 1fr; }
  .case-card { flex-direction: column; }
  .case-card .thumb { width: 100%; height: 200px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .header .container { height: 60px; }
  .header .logo span { font-size: 16px; }
  .header .logo img { height: 36px; }
  .home-banner { margin-top: 60px; padding: 60px 0; }
  .home-banner h1 { font-size: 26px; }
  .features { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .qual-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .footer .container { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .page-banner { padding: 50px 0; }
  .page-banner h1 { font-size: 26px; }
  .page-content h2 { font-size: 22px; }
  .section-title h2 { font-size: 26px; }
  .contact-info { grid-template-columns: 1fr; }
}
