/* ==========================================================
   安徽科培教育科技有限公司 - 品牌官网样式表
   主题：现代 / 专业 / 教育机构气质 / 深蓝科技蓝 + 白
   ========================================================== */

:root {
  --primary: #0b3d91;
  --primary-dark: #07295f;
  --primary-light: #1e5fbf;
  --accent: #00a0e3;
  --accent-gradient: linear-gradient(135deg, #0b3d91 0%, #1e5fbf 55%, #00a0e3 100%);
  --text-dark: #1c2b3a;
  --text-body: #4a5a6a;
  --text-light: #8a97a5;
  --bg-light: #f5f8fc;
  --bg-white: #ffffff;
  --border: #e2e9f2;
  --shadow: 0 8px 30px rgba(11, 61, 145, 0.10);
  --shadow-lg: 0 16px 48px rgba(11, 61, 145, 0.16);
  --radius: 14px;
  --container: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-body);
  line-height: 1.7;
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--text-dark); font-weight: 700; line-height: 1.35; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.topbar a { color: #fff; }
.topbar .tb-contact span { margin: 0 14px 0 0; }

/* ---------- 导航栏 ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-white);
  box-shadow: 0 2px 12px rgba(7, 41, 95, 0.08);
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(11, 61, 145, 0.3);
}
.brand-text strong {
  display: block;
  color: var(--primary);
  font-size: 17px;
  letter-spacing: 0.5px;
}
.brand-text span {
  font-size: 12px;
  color: var(--text-light);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary-light); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(11, 61, 145, 0.3);
  transition: background 0.25s, transform 0.25s;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }
.nav-cta::after { display: none; }

/* 汉堡菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0 9px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: 0.3s;
}

/* ---------- 通用 Section ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-light); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}
.section-head .tag {
  display: inline-block;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 { font-size: 34px; margin-bottom: 14px; }
.section-head p { color: var(--text-body); font-size: 16px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  transition: 0.25s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(11, 61, 145, 0.32);
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.btn-white:hover { transform: translateY(-2px); }

/* ---------- 首页首屏 Hero ---------- */
.hero {
  position: relative;
  background: var(--accent-gradient);
  color: #fff;
  padding: 110px 0 130px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}
.hero::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.10);
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: 46px;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
.hero h1 .hl { color: #7dd3fc; }
.hero .hero-slogan { font-size: 18px; opacity: 0.92; margin-bottom: 34px; }
.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  backdrop-filter: blur(4px);
}
.hero-feature .ic {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-card {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  padding: 34px 30px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.20);
}
.hero-card .stat { font-size: 40px; font-weight: 800; color: #fff; }
.hero-card .stat-label { font-size: 14px; opacity: 0.85; margin-top: 4px; }
.hero-card .divider { height: 1px; background: rgba(255,255,255,0.2); margin: 18px 0; }
.hero-card ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin: 8px 0;
}
.hero-card ul li::before { content: "✓"; color: #7dd3fc; font-weight: 700; }

/* ---------- 核心优势 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: var(--accent-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.feature-item h3 { font-size: 19px; margin-bottom: 10px; }
.feature-item p { font-size: 14.5px; }

/* ---------- 服务预览卡片 ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; }
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card .s-img {
  height: 160px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(255,255,255,0.95);
}
.service-card .s-body { padding: 26px 24px; }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; margin-bottom: 16px; }
.service-card .s-more { color: var(--primary-light); font-size: 14px; font-weight: 600; }
.service-card .s-more:hover { color: var(--accent); }

/* ---------- 数据横幅 ---------- */
.stats-band {
  background: var(--accent-gradient);
  color: #fff;
  padding: 64px 0;
}
.stats-band .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-box .num { font-size: 40px; font-weight: 800; }
.stat-box .label { font-size: 14px; opacity: 0.9; margin-top: 6px; }

/* ---------- 新闻动态 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card .date {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary-light);
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.news-card h3 { font-size: 17px; margin-bottom: 8px; }
.news-card p { font-size: 14px; }

/* ---------- 关于：双栏 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-visual {
  min-height: 360px;
  border-radius: var(--radius);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 90px;
  color: rgba(255,255,255,0.9);
  box-shadow: var(--shadow-lg);
}
.about-text h2 { font-size: 32px; margin-bottom: 18px; }
.about-text p { margin-bottom: 16px; }
.about-points { margin-top: 22px; }
.about-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}
.about-points .prefix {
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}
.about-points strong { display: block; color: var(--text-dark); }
.about-points span { font-size: 14px; color: var(--text-light); }

/* ---------- 价值观 ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.value-item:hover { transform: translateY(-5px); }
.value-item .vi { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--bg-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.value-item h3 { font-size: 17px; margin-bottom: 8px; }
.value-item p { font-size: 13.5px; }

/* ---------- 服务列表页 ---------- */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.svc-block {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
}
.svc-block .sb-icon {
  width: 58px; height: 58px; border-radius: 14px;
  background: var(--accent-gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.svc-block h3 { font-size: 20px; margin-bottom: 10px; }
.svc-block p { font-size: 14.5px; margin-bottom: 16px; }
.svc-block ul li {
  position: relative; padding: 6px 0 6px 22px; font-size: 14.5px;
}
.svc-block ul li::before {
  content: "›"; position: absolute; left: 4px; color: var(--accent); font-weight: 700;
}
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-item { position: relative; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 22px; text-align: center; box-shadow: var(--shadow); }
.process-item::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--accent-gradient); color: #fff; font-weight: 800; font-size: 17px;
  line-height: 46px;
}
.process-item h3 { font-size: 16px; margin-bottom: 8px; }
.process-item p { font-size: 13.5px; }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info .ci-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 22px; margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.contact-info .ci-icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: var(--accent-gradient); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.contact-info h4 { font-size: 15px; margin-bottom: 4px; }
.contact-info p { font-size: 14.5px; }
.contact-form {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow-lg);
}
.contact-form h3 { font-size: 22px; margin-bottom: 6px; }
.contact-form .cf-sub { font-size: 14px; color: var(--text-light); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13.5px; color: var(--text-dark); font-weight: 600; margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 10px; font-size: 14.5px; font-family: inherit;
  color: var(--text-dark); background: var(--bg-light);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 3px rgba(0,160,227,0.14);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-tip { font-size: 12.5px; color: var(--text-light); margin-top: 10px; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background: var(--accent-gradient); color: #fff; padding: 70px 0; text-align: center;
}
.cta-band h2 { color: #fff; font-size: 32px; margin-bottom: 12px; }
.cta-band p { opacity: 0.92; margin-bottom: 28px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer .fbrand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer .fbrand .brand-logo { width: 40px; height: 40px; }
.footer p { font-size: 14px; margin-bottom: 10px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 14px; transition: color 0.25s; }
.footer ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0; font-size: 13px; text-align: center;
}
.footer-bottom a { color: rgba(255,255,255,0.85); }

/* ---------- 面包屑 / 页头 ---------- */
.page-hero {
  background: var(--accent-gradient); color: #fff; padding: 70px 0;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: 36px; margin-bottom: 10px; }
.page-hero p { opacity: 0.92; font-size: 16px; }
.breadcrumb { font-size: 13.5px; margin-top: 12px; opacity: 0.8; }
.breadcrumb a:hover { color: #fff; }

/* ---------- 时间轴（发展历程） ---------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: var(--accent-gradient);
}
.tl-item { position: relative; padding: 0 0 34px 26px; }
.tl-item::before {
  content: ""; position: absolute; left: -26px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent); box-shadow: 0 0 0 4px rgba(0,160,227,0.2);
}
.tl-item .tl-year { color: var(--accent); font-weight: 800; font-size: 16px; }
.tl-item h3 { font-size: 17px; margin: 4px 0; }
.tl-item p { font-size: 14px; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .hero .container { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .stats-band .container { grid-template-columns: 1fr 1fr; }
  .svc-detail { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer .container { grid-template-columns: 1fr 1fr; }
  .hero { padding: 80px 0 100px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    padding: 10px 24px 22px; box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 13px 0; width: 100%; text-align: left; }
  .nav-links .nav-cta { display: inline-block; margin-top: 10px; text-align: center; }
  .topbar .tb-contact { display: none; }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 27px; }
  .hero h1 { font-size: 32px; }
  .hero-features { grid-template-columns: 1fr; }
  .feature-grid, .service-grid, .news-grid, .values-grid { grid-template-columns: 1fr; }
  .stats-band .container { grid-template-columns: 1fr 1fr; }
  .process-steps, .form-row { grid-template-columns: 1fr; }
  .footer .container { grid-template-columns: 1fr; }
  .about-visual { min-height: 240px; }
  .page-hero h1 { font-size: 28px; }
}
