/* CSS Variables */
:root {
  --primary: #0056b3;
  --primary-dark: #003d82;
  --accent: #17a2b8;
  --accent-dark: #138496;
  --white: #ffffff;
  --gray-light: #f8f9fa;
  --gray: #e9ecef;
  --gray-dark: #6c757d;
  --text: #333333;
  --text-light: #666666;
  --font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --container-width: 1200px;
  --nav-height: 70px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

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

ul, ol {
  list-style: none;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-phone {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 86, 179, 0.9) 0%, rgba(23, 162, 184, 0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 10px;
  opacity: 0.9;
}

.hero-desc {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.8;
}

.hero-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-white {
  background-color: var(--white);
}

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

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-title-en {
  font-size: 16px;
  color: var(--gray-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-text p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
}

.about-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-number {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: var(--gray-dark);
}

.about-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--gray-dark);
}

/* Footprints Section */
.footprints-content {
  max-width: 900px;
  margin: 0 auto;
}

.footprints-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 30px;
  text-align: center;
}

.footprints-map {
  text-align: center;
}

.footprints-map img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Clients Section */
.clients-slogan {
  text-align: center;
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 40px;
  font-style: italic;
}

/* Clients Categories */
.clients-categories {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.client-category {
  background-color: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.client-category-title {
  background-color: var(--primary-color, #0056b3);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  padding: 12px 8px;
  margin: 0;
  letter-spacing: 0.5px;
}

.client-list {
  list-style: none;
  padding: 14px 12px;
  margin: 0;
  flex: 1;
}

.client-list li {
  font-size: 14px;
  color: var(--text-color, #333);
  line-height: 1.9;
  padding: 2px 0;
  border-bottom: 1px dashed #eee;
  text-align: center;
}

.client-list li:last-child {
  border-bottom: none;
  color: var(--text-light, #888);
}

/* Clients Categories */
.clients-categories {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.client-category {
  background-color: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.client-category-title {
  background-color: var(--primary-color, #0056b3);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  padding: 12px 8px;
  margin: 0;
  letter-spacing: 0.5px;
}

.client-list {
  list-style: none;
  padding: 14px 12px;
  margin: 0;
  flex: 1;
}

.client-list li {
  font-size: 14px;
  color: var(--text-color, #333);
  line-height: 1.9;
  padding: 2px 0;
  border-bottom: 1px dashed #eee;
  text-align: center;
}

.client-list li:last-child {
  border-bottom: none;
  color: var(--text-light, #888);
}

/* Partners Grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 16px;
  height: 100px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.partner-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Certificates Section */
.cert-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.cert-stat {
  text-align: center;
  padding: 20px 30px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  min-width: 120px;
}

.cert-number {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 5px;
}

.cert-label {
  font-size: 14px;
  color: var(--text-light);
}

.cert-images {
  text-align: center;
}

.cert-images img {
  max-width: 100%;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Capability Section */
.table-wrapper {
  overflow-x: auto;
  margin-bottom: 20px;
}

.capability-table,
.service-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.capability-table th,
.capability-table td,
.service-table th,
.service-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--gray);
}

.capability-table th,
.service-table th {
  background-color: var(--primary);
  color: var(--white);
  font-weight: 600;
  text-align: center;
}

.capability-table tr:nth-child(even),
.service-table tr:nth-child(even) {
  background-color: var(--gray-light);
}

.capability-table tr:hover,
.service-table tr:hover {
  background-color: rgba(0, 86, 179, 0.05);
}

.capability-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-light);
  margin-top: 20px;
}

/* Cases Section */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.case-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.case-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.case-info {
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-tag {
  display: inline-block;
  padding: 4px 10px;
  background-color: var(--gray-light);
  border-radius: 4px;
  font-size: 13px;
  color: var(--text-light);
}

/* Services Section */
.service-block {
  background-color: var(--white);
  border-radius: 8px;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.service-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 25px 30px;
  color: var(--white);
}

.service-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 5px;
}

.service-title-en {
  font-size: 14px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-body {
  padding: 30px;
}

.service-body p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
}

.service-advantages {
  margin-top: 25px;
  padding: 20px;
  background-color: var(--gray-light);
  border-radius: 8px;
  border-left: 4px solid var(--accent);
}

.service-advantages h4 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 15px;
}

.service-advantages ul {
  list-style: none;
  padding: 0;
}

.service-advantages li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  color: var(--text-light);
}

.service-advantages li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Warranty Packages */
.warranty-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

.package-card {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 8px;
  color: var(--white);
}

.package-card h4 {
  font-size: 16px;
  font-weight: 600;
}

.warranty-notes {
  margin-top: 20px;
  padding: 20px;
  background-color: var(--gray-light);
  border-radius: 8px;
}

.warranty-notes p {
  font-weight: 600;
  margin-bottom: 10px;
}

.warranty-notes ol {
  padding-left: 20px;
}

.warranty-notes li {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Relocation Steps */
.relocation-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 25px 0;
}

.step {
  text-align: center;
  padding: 20px;
  background-color: var(--gray-light);
  border-radius: 8px;
  border-top: 3px solid var(--accent);
}

.step h4 {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 15px;
}

.step ul {
  text-align: left;
  padding-left: 20px;
}

.step li {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 8px;
  position: relative;
  padding-left: 15px;
}

.step li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.relocation-slogan {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 25px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(0, 86, 179, 0.1) 0%, rgba(23, 162, 184, 0.1) 100%);
  border-radius: 8px;
}

/* Training List */
.training-list {
  margin-top: 25px;
  padding: 25px;
  background-color: var(--gray-light);
  border-radius: 8px;
}

.training-list h4 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 15px;
}

.training-list ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.training-list li {
  padding: 10px 15px;
  background-color: var(--white);
  border-radius: 6px;
  font-size: 15px;
  color: var(--text-light);
  border-left: 3px solid var(--accent);
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-contact p {
  margin-bottom: 10px;
  font-size: 15px;
  opacity: 0.9;
}

.footer-contact a {
  color: var(--white);
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-qr {
  display: flex;
  gap: 30px;
  justify-content: flex-end;
  align-items: flex-start;
}

.qr-item {
  text-align: center;
}

.qr-item img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.qr-item p {
  font-size: 14px;
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
  font-size: 14px;
  opacity: 0.7;
}
