@charset "UTF-8";

/* ========== CSS Reset & Base ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  color: #333333;
  line-height: 1.8;
  background-color: #FFFFFF;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #3A7CBF;
  text-decoration: none;
  transition: color 0.1s ease;
}
a:hover { color: #1B3A5C; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 600;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ========== Variables (custom properties) ========== */
:root {
  --primary: #1B3A5C;
  --primary-hover: #2D5F8A;
  --accent: #3A7CBF;
  --gold: #D4A843;
  --green: #2E8B57;
  --white: #FFFFFF;
  --gray-light: #F5F7FA;
  --gray-mid: #E0E5EC;
  --text-dark: #333333;
  --text-mid: #666666;
  --max-width: 1400px;
  --nav-height: 70px;
  --transition: 0.2s ease;
  --shadow-card: 0 2px 8px rgba(27,58,92,0.08);
  --shadow-card-hover: 0 4px 16px rgba(27,58,92,0.12);
  --radius: 6px;
  --radius-sm: 4px;
}

/* ========== Utility ========== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 1199px) { .container { padding: 0 24px; } }
@media (max-width: 767px) { .container { padding: 0 16px; } }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ========== Header / Navigation ========== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--primary);
  height: var(--nav-height);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}
/* Logo 图片高度微调，适配无文字后的视觉重心 */
.logo-img {
  height: 48px;
  width: auto;
  display: block;
}
/* 替换旧圆形图标 */
.logo-icon { 
  display: none; 
}
/* 公司名称隐藏 */
.logo-text {
  display: none;
}
@media (max-width: 767px) {
  .logo-text { font-size: 15px; }
  .logo-icon { width: 36px; height: 36px; font-size: 15px; }
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-desktop a {
  color: rgba(255,255,255,0.9);
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  white-space: nowrap;
  transition: color 0.1s ease;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 16px; right: 16px;
  height: 2px;
  background: var(--white);
  transform: scaleX(0);
  transition: transform 0.15s ease;
}
.nav-desktop a:hover {
  color: var(--white);
}
.nav-desktop a.active {
  color: #5CA9E8;
  font-weight: 600;
}
.nav-desktop a:hover::after {
  transform: scaleX(1);
}
.nav-desktop a.active::after {
  transform: scaleX(1);
  background: #5CA9E8;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 160px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  border-radius: var(--radius-sm);
  overflow: hidden;
  z-index: 1001;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu a {
  display: block;
  color: var(--text-dark);
  padding: 10px 20px;
  font-size: 14px;
  white-space: nowrap;
}
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover {
  background: var(--gray-light);
  color: var(--primary);
}
.nav-dropdown-menu a.active {
  color: var(--primary);
  font-weight: 600;
  background: rgba(58,124,191,0.08);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1002;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height); left: 0; right: 0; bottom: 0;
  background: var(--primary);
  z-index: 999;
  overflow-y: auto;
  padding: 20px 0;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  color: rgba(255,255,255,0.9);
  padding: 14px 32px;
  font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-mobile a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}
.nav-mobile a.active {
  color: #5CA9E8;
  background: rgba(92,169,232,0.08);
  font-weight: 600;
}
.nav-mobile-sub {
  display: none;
  background: rgba(0,0,0,0.15);
}
.nav-mobile-sub.open { display: block; }
.nav-mobile-sub a {
  padding-left: 56px;
  font-size: 15px;
}
.nav-mobile-parent {
  position: relative;
}
.nav-mobile-toggle {
  position: absolute;
  right: 24px; top: 50%; transform: translateY(-50%);
  background: none; border: none;
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  cursor: pointer;
  padding: 8px;
  transition: transform 0.2s;
}
.nav-mobile-toggle.open { transform: translateY(-50%) rotate(180deg); }

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  margin-top: var(--nav-height);
  height: 600px;
  background: var(--primary);
  overflow: hidden;
}
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-slide-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(27,58,92,0.65);
}
.hero-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
}
.hero-slide-content h1 {
  font-size: 48px;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.hero-slide-content p {
  font-size: 20px;
  margin-bottom: 32px;
  max-width: 700px;
  opacity: 0.95;
}
@media (max-width: 1199px) {
  .hero { height: 460px; }
  .hero-slide-content h1 { font-size: 36px; }
  .hero-slide-content p { font-size: 18px; }
}
@media (max-width: 767px) {
  .hero { height: 380px; }
  .hero-slide-content h1 { font-size: 28px; }
  .hero-slide-content p { font-size: 15px; margin-bottom: 24px; }
}

/* Hero buttons */
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (max-width: 767px) {
  .hero-buttons { flex-direction: column; align-items: center; }
}

/* Hero indicators */
.hero-indicators {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-indicator {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.hero-indicator.active {
  background: var(--white);
  border-color: var(--white);
}

/* ========== Sections ========== */
.section {
  padding: 80px 0;
}
@media (max-width: 1199px) { .section { padding: 60px 0; } }
@media (max-width: 767px) { .section { padding: 40px 0; } }

.section-alt { background: var(--gray-light); }

.section-title {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px; height: 3px;
  background: var(--accent);
  margin-top: 12px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-mid);
  margin-bottom: 48px;
  max-width: 600px;
}
@media (max-width: 1199px) {
  .section-title { font-size: 28px; }
  .section-subtitle { margin-bottom: 36px; }
}
@media (max-width: 767px) {
  .section-title { font-size: 22px; }
  .section-subtitle { margin-bottom: 28px; }
}

/* ========== Page Header (inner pages) ========== */
.page-header {
  margin-top: var(--nav-height);
  background: var(--primary);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0 60px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(27,58,92,0.85) 0%, rgba(45,95,138,0.7) 100%);
}
.page-header .container {
  position: relative;
  z-index: 1;
}
.page-header h1 {
  font-size: 40px;
  margin-bottom: 12px;
}
.page-header p {
  font-size: 18px;
  opacity: 0.9;
}
@media (max-width: 1199px) {
  .page-header h1 { font-size: 32px; }
  .page-header { padding: 60px 0 40px; }
}
@media (max-width: 767px) {
  .page-header h1 { font-size: 24px; }
  .page-header p { font-size: 15px; }
  .page-header { padding: 50px 0 32px; }
}

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
  border: 2px solid transparent;
  text-align: center;
  line-height: 1.4;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn-sm { padding: 10px 24px; font-size: 14px; }

/* ========== Cards ========== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--gray-mid);
}
.news-grid .card-img,
.case-grid .card-img {
  height: 200px;
}
.card-body {
  padding: 24px;
}
.card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}
.card-text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}
.card-meta {
  font-size: 13px;
  color: var(--text-mid);
  margin-top: 12px;
}

/* ========== Service Cards ========== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.service-icon {
  width: 60px; height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.service-icon svg {
  width: 40px; height: 40px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}
.service-card h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 600;
}
.service-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ========== Grid Layouts ========== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ========== About Section ========== */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img {
  border-radius: var(--radius);
  overflow: hidden;
}
.about-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.about-text h2 {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 20px;
}
.about-text p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}
@media (max-width: 900px) {
  .about-block { grid-template-columns: 1fr; gap: 32px; }
  .about-text h2 { font-size: 26px; }
}
@media (max-width: 767px) {
  .about-img img { height: 260px; }
}

/* ========== Stats ========== */
.stats-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
}
.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}
.stat-label {
  font-size: 14px;
  color: var(--text-mid);
  margin-top: 4px;
}

/* ========== CTA Banner ========== */
.cta-section {
  background: var(--primary);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
  position: relative;
}
.cta-section h2 {
  font-size: 32px;
  margin-bottom: 12px;
}
.cta-section p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 32px;
}
@media (max-width: 1199px) {
  .cta-section { padding: 60px 0; }
  .cta-section h2 { font-size: 28px; }
}
@media (max-width: 767px) {
  .cta-section { padding: 48px 0; }
  .cta-section h2 { font-size: 22px; }
}

/* ========== Homepage Job Grid ========== */
#jobGridHome {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { #jobGridHome { grid-template-columns: 1fr; } }

/* 恢复图文左右排版 */
#jobGridHome .job-card {
  display: flex;
  flex-direction: row; /* 水平排列 */
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  padding: 16px; /* 卡片内边距 */
  height: 150px; /* 固定卡片高度，确保整齐 */
  overflow: hidden;
}
#jobGridHome .job-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
#jobGridHome .job-card-img {
  width: 180px; /* 固定宽度 */
  height: 110px; /* 固定高度 */
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0; /* 防止被压缩 */
  margin-right: 16px; /* 图文间距 */
  background: var(--gray-mid);
}
#jobGridHome .job-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* ========== Job Cards (List View) ========== */
.job-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.job-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.job-card-img {
  width: 180px;
  height: 120px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--gray-mid);
}
.job-card-body {
  flex: 1;
  min-width: 0;
}
.job-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.job-card-info {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 12px;
}
.job-card-tag {
  display: inline-block;
  padding: 2px 10px;
  background: var(--gray-light);
  border-radius: 3px;
  font-size: 12px;
  color: var(--accent);
  border: 1px solid var(--gray-mid);
}
@media (max-width: 767px) {
  .job-card { flex-direction: column; }
  .job-card-img { width: 100%; height: 150px; }
}

/* ========== News Cards ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }

/* ========== Case Cards ========== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .case-grid { grid-template-columns: 1fr; } }

/* ========== Download Cards ========== */
.download-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.download-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.download-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.download-icon {
  width: 48px; height: 48px;
  background: var(--gray-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.download-info {
  flex: 1;
}
.download-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}
.download-desc {
  font-size: 13px;
  color: var(--text-mid);
  margin-top: 4px;
}
.download-meta {
  font-size: 12px;
  color: var(--text-mid);
}

@media (max-width: 767px) {
  .download-item { flex-direction: column; align-items: flex-start; }
}

/* ========== Contact Page ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-block {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-mid);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-info-label {
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 4px;
}
.contact-info-value {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 500;
}

.contact-form {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58,124,191,0.1);
}
.form-group textarea {
  height: 120px;
  resize: vertical;
}
.form-group input.error,
.form-group textarea.error {
  border-color: #E74C3C;
}
.form-error {
  font-size: 12px;
  color: #E74C3C;
  margin-top: 4px;
}

/* ========== Map ========== */
.map-section {
  margin-top: 60px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.map-section .map-link {
  display: block;
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: var(--radius);
}
.map-section .map-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map-section .map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.3);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  transition: background .3s;
}
.map-section .map-link:hover .map-overlay {
  background: rgba(0,0,0,.5);
}
@media (max-width: 767px) {
  .map-section .map-link { height: 280px; }
}

/* ========== Tab Navigation ========== */
.tabs {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--gray-mid);
  margin-bottom: 32px;
}
.tab-btn {
  padding: 12px 24px;
  font-size: 15px;
  color: var(--text-mid);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  font-weight: 500;
  transition: color 0.15s;
}
.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.15s;
}
.tab-btn.active,
.tab-btn:hover {
  color: var(--primary);
}
.tab-btn.active::after,
.tab-btn:hover::after {
  transform: scaleX(1);
}
@media (max-width: 767px) {
  .tab-btn { padding: 10px 16px; font-size: 14px; }
}

/* ========== Detail Page ========== */
.detail-content {
  max-width: 900px;
  margin: 0 auto;
}
.detail-content h2 { font-size: 24px; color: var(--primary); margin: 32px 0 16px; }
.detail-content h3 { font-size: 20px; color: var(--primary); margin: 24px 0 12px; }
.detail-content p { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; }
.detail-content img { margin: 24px 0; border-radius: var(--radius); }
.detail-content ul, .detail-content ol { padding-left: 24px; margin-bottom: 16px; }
.detail-content-body { margin-top: 24px; }
.detail-content-body p { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; }
.detail-content-body strong { font-weight: 600; color: var(--text-dark); }
.detail-content li { font-size: 15px; color: var(--text-mid); line-height: 2; }
.detail-content ul li { list-style: disc; }
.detail-content ol li { list-style: decimal; }

/* ========== Pagination ========== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.page-btn {
  min-width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  padding: 0 12px;
}
.page-btn:hover { background: var(--gray-light); }
.page-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ========== Breadcrumb ========== */
.breadcrumb {
  padding: 16px 0;
  font-size: 14px;
  color: var(--text-mid);
}
.breadcrumb a { color: var(--text-mid); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 8px; }

/* ========== Footer ========== */
.footer {
  background: linear-gradient(rgba(27,58,92, 0.96), rgba(27,58,92, 0.96)), url('../images/unsplash/photo-1486406146926-c627a92ad1ab-1920.jpg') no-repeat center/cover;
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 340px;
}
.footer h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 20px;
}
.footer-links a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  padding: 5px 0;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--white); }
.footer-contact p {
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  background: #0F2640;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ========== Scroll Animations ========== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Process Steps ========== */
.process-steps {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.process-step {
  flex: 1;
  min-width: 180px;
  text-align: center;
  position: relative;
}
.process-step::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -10px;
  width: 20px;
  height: 2px;
  background: var(--accent);
}
.process-step:last-child::after { display: none; }
.step-number {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}
.step-desc {
  font-size: 13px;
  color: var(--text-mid);
  margin-top: 6px;
}
@media (max-width: 767px) {
  .process-step::after { display: none; }
}

/* ========== Content Page Layout ========== */
.content-page {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  min-height: 400px;
}
@media (max-width: 900px) {
  .content-page { grid-template-columns: 1fr; }
}

/* ========== Certificate Display & Modal ========== */
.cert-grid {
  gap: 16px;
}
.cert-card {
  padding: 10px;
  cursor: pointer;
  transition: transform 0.2s;
}
.cert-card:hover {
  transform: scale(1.02);
}
.cert-card img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--gray-mid);
}
.img-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 9999;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
}
.modal-content {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}
.close-btn {
  position: absolute;
  top: 20px; right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
/* ========== Service Detail ========== */
.service-detail {
  padding: 40px 0;
}
.service-detail + .service-detail {
  border-top: 1px solid var(--gray-mid);
  padding-top: 40px;
}
.service-detail h3 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 12px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}
.service-detail p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ========== Video Recruitment ========== */
.section-video {
  padding-top: 120px;
  padding-bottom: 120px;
}
@media (max-width: 1199px) {
  .section-video { padding-top: 90px; padding-bottom: 90px; }
}
@media (max-width: 767px) {
  .section-video { padding-top: 60px; padding-bottom: 60px; }
}

/* 增加内部板块间距 */
.section-video .section-title {
  margin-bottom: 40px !important; /* 增加标题间距 */
}

.video-hall-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px; /* 增加卡片间距 20px (原24px) */
  margin-top: 20px; /* 增加模块顶部间距 */
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .video-hall-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .video-hall-grid { grid-template-columns: 1fr; }
}

.video-room-card {
  background-color: var(--primary);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  box-shadow: var(--shadow-card-hover);
  transition: transform 0.2s;
}
.video-room-card:hover { transform: translateY(-4px); }
.video-room-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8));
  z-index: 1;
}
.video-room-card > * { position: relative; z-index: 2; }

/* Badges */
.badge-live, .badge-online, .badge-waiting {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.badge-live { background: #E53E3E; color: white; animation: pulse 1.5s infinite; }
.badge-online { background: #38A169; color: white; }
.badge-waiting { background: #D69E2E; color: white; }

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}

.room-info h3 {
  color: white;
  font-size: 22px;
  margin-bottom: 6px;
}
.room-info p {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  margin: 0;
}

/* Video Call Modal (Immersive) */
.video-call-modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 9999;
  background: #000000;
  color: white;
  display: flex;
}
.call-ui-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Status Bar */
.call-status-bar {
  position: absolute;
  top: 20px; left: 0; right: 0;
  padding: 10px;
  text-align: center;
  z-index: 10;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
}
.room-name { font-weight: 600; font-size: 16px; }
#callTimer { font-family: monospace; font-size: 15px; opacity: 0.8; }

/* Main Video Area */
.video-main-bg {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1A1A1A;
}
.recruiter-avatar {
  text-align: center;
  opacity: 0.8;
}
.recruiter-avatar span {
  display: block;
  width: 100px; height: 100px;
  line-height: 100px;
  border-radius: 50%;
  background: var(--accent);
  font-size: 32px;
  margin-bottom: 16px;
}

/* Self View (PiP) */
.self-video-view {
  position: absolute;
  bottom: 100px; right: 20px;
  width: 140px; height: 200px;
  background: #333;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
}
.video-placeholder svg { opacity: 0.6; }

/* Control Bar */
.video-controls {
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  background: rgba(0,0,0,0.8);
}
.ctrl-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
  user-select: none;
}
.ctrl-btn:hover { background: rgba(255,255,255,0.2); }
.ctrl-btn.active { background: var(--primary); }
.ctrl-btn.end-call { background: #E53E3E; }
.ctrl-btn.end-call:hover { background: #C53030; }
.ctrl-btn svg { width: 24px; height: 24px; stroke: currentColor; }
.ctrl-btn span { font-size: 12px; }

@media (max-width: 600px) {
  .self-video-view { width: 100px; height: 140px; right: 10px; bottom: 110px; }
  .video-controls { gap: 15px; padding: 0 10px; height: 80px; }
  .ctrl-btn { padding: 8px 12px; }
}

/* Schedule Modal */
.interview-modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 9999;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-box {
  background: white;
  width: 90%;
  max-width: 500px;
  padding: 32px;
  border-radius: var(--radius);
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.close-modal {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #888;
  transition: 0.2s;
}
.close-modal:hover { color: #333; }

/* ========== Online Video ========== */
.video-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card-hover);
}
.video-container iframe,
.video-container video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ========== Resume Form ========== */
.resume-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-top: 24px;
}
.resume-form-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.resume-info-card {
  background: var(--primary);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card-hover);
  color: var(--white);
}
.resume-info-card h3 {
  font-size: 18px;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.resume-info-card ul {
  padding-left: 0;
}
.notice-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}
.req { color: var(--green); font-size: 16px; } /* 绿色表示必填 */

.file-upload-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.file-upload-wrapper input[type="file"] {
  font-size: 13px;
  padding: 6px;
  border: 1px dashed var(--gray-mid);
  border-radius: var(--radius-sm);
  background: var(--gray-light);
}
.file-upload-hint {
  font-size: 12px;
  color: var(--text-mid);
}

.contact-cta {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.contact-cta h4 {
  font-size: 15px;
  color: var(--gold);
  margin-bottom: 6px;
}
.contact-cta p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

@media (max-width: 900px) {
  .resume-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .resume-form-card { padding: 20px; }
  .resume-info-card { padding: 20px; }
}
