:root {
  --primary: #0053b3;
  --secondary: #00a0e9;
  --accent: #ffc107;
  --light: #f8f9fa;
  --dark: #212529;
  --success: #28a745;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.logo-text span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a.active {
  color: var(--primary);
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
}

.btn {
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  border: none;
}

.btn-primary:hover {
  background-color: #004494;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--dark);
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: white;
  text-decoration: underline;
}
/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 20px;
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  color: #6c757d;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.value-card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s;
}

.value-card:hover {
  transform: translateY(-10px);
}

.value-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.value-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 22px;
}

/* Services Section */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-img {
  height: 200px;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-img img {
  max-width: 100%;
  max-height: 100%;
}

.service-content {
  padding: 25px;
}

.service-content h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

/* Brands Section */
.brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.brand-item {
  opacity: 0.7;
  transition: opacity 0.3s;
  height: 60px;
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-item:hover {
  opacity: 1;
}

/* Stats Section */
.stats {
  background-color: var(--primary);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 48px;
  margin-bottom: 10px;
}

/* CTA Section */
.cta {
  background-color: var(--accent);
  text-align: center;
  padding: 60px 0;
}

.cta h2 {
  color: var(--dark);
  margin-bottom: 30px;
}

/* Footer Section */
footer {
  background-color: var(--dark);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #495057;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

about-content h2 {
  color: var(--primary);
  font-size: 36px;
  margin-bottom: 25px;
}

.about-content p {
  margin-bottom: 20px;
  font-size: 17px;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
  .nav-links {
      display: none;
  }
  
  .mobile-menu-btn {
      display: block;
  }
  
  .hero h1 {
      font-size: 36px;
  }
  
  .hero p {
      font-size: 18px;
  }
  
  .section {
      padding: 60px 0;
  }
  
  .section-title h2 {
      font-size: 30px;
  }
  
  .contact-form-container {
      padding: 30px 20px;
  }
  
  .contact-grid {
      gap: 20px;
  }
  
  .brand-filters {
      flex-direction: column;
      gap: 10px;
  }
  
  .product-table th, 
  .product-table td {
      padding: 10px 8px;
  }
  
  .about-intro {
      grid-template-columns: 1fr;
  }
  
  .timeline::before {
      left: 30px;
  }
  
  .timeline-item::after {
      left: 30px;
  }
  
  .timeline-content {
      width: calc(100% - 60px);
      margin-left: 60px !important;
  }
  
  .timeline-item:nth-child(odd) .timeline-year,
  .timeline-item:nth-child(even) .timeline-year {
      left: 0;
      right: auto;
      text-align: left;
  }
}

/* Product Page Specific Styles */
.page-title {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 40px 0;
  text-align: center;
}

.page-title h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.filter-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 20px;
  margin: 30px 0;
}

.filter-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary);
}

.brand-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.brand-filter {
  display: flex;
  align-items: center;
  margin-right: 15px;
}

.toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin-right: 10px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.product-table-container {
  overflow-x: auto;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-bottom: 40px;
}

.product-table {
  width: 100%;
  border-collapse: collapse;
}

.product-table th {
  background-color: var(--primary);
  color: white;
  text-align: left;
  padding: 15px;
  position: sticky;
  top: 0;
}

.product-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}

.product-table tr:hover {
  background-color: #f5f5f5;
}

.product-table .contact-btn {
  background-color: var(--secondary);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s;
}

.product-table .contact-btn:hover {
  background-color: #0088cc;
}

.product-table td:nth-child(3) {
  width: 150px; /* 设定固定宽度 */
  vertical-align: middle; /* 垂直居中，防止按钮偏移 */
}

.pagination {
  display: flex;
  justify-content: start;
  margin: 30px 0;
  gap: 10px;
}

.pagination button {
  padding: 8px 16px;
  border: 1px solid #ddd;
  background-color: white;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s;
}

.pagination button:hover, 
.pagination button.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.pagination button:disabled {
  background-color: #eee;
  color: #999;
  cursor: not-allowed;
  border-color: #ddd;
}

/* Product brand badges */
.brand-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 5px;
}

.brand-dell {
  background-color: #0076CE;
  color: white;
}

.brand-hp {
  background-color: #0096D6;
  color: white;
}

.brand-lenovo {
  background-color: #E2231A;
  color: white;
}

.brand-asus {
  background-color: #00539B;
  color: white;
}

.brand-acer {
  background-color: #83B81A;
  color: white;
}

.brand-epson {
  background-color: #3E2B83;
  color: white;
}

.brand-samsung {
  background-color: #1428A0;
  color: white;
}

.brand-lg {
  background-color: #A50034;
  color: white;
}

/* Contact Page Specific Styles */
.contact-section {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.contact-info-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s;
}

.contact-info-card:hover {
  transform: translateY(-10px);
}

.contact-icon {
  font-size: 40px;
  margin-bottom: 20px;
  color: var(--primary);
}

.contact-info-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary);
}

.contact-info-card p {
  color: var(--dark);
  margin-bottom: 5px;
}

.contact-form-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.form-title {
  text-align: center;
  color: var(--primary);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0,83,179,0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

.submit-btn {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #004494;
}

.map-container {
  margin-top: 60px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  height: 400px;
  background-color: #eee;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
  color: #666;
  font-size: 18px;
}

.faq-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.faq-title {
  text-align: center;
  margin-bottom: 40px;
}

.faq-title h2 {
  color: var(--primary);
  font-size: 32px;
  margin-bottom: 15px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary);
}

.faq-answer {
  padding: 0 20px 20px;
  color: #555;
}

/* 响应式布局 */
@media (max-width: 768px) {
  .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 60px;
      right: 0;
      background-color: white;
      width: 100%;
      box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
      padding: 10px;
  }

  .nav-links a {
      display: block;
      padding: 10px;
      text-align: center;
      border-bottom: 1px solid #ddd;
  }

  .mobile-menu-btn {
      display: block;
  }

  /* 展开菜单时 */
  .mobile-menu {
      display: flex;
  }
}