/* ============================================
   北京汉明德科技发展有限公司 - 企业官网样式
   高端、大气、上档次设计风格
   ============================================ */

/* CSS Variables */
:root {
  --primary-color: #1a3a5c;
  --primary-dark: #0d1f33;
  --primary-light: #2a5a8c;
  --accent-color: #c9a036;
  --accent-light: #e5c36a;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --text-muted: #6c757d;
  --bg-light: #f8f9fa;
  --bg-dark: #0a0a0a;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --transition: all 0.3s ease;
  --font-primary: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--text-light);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13, 31, 51, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(13, 31, 51, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  margin-left: 60px;
  margin-right: 40px;
}

.logo img {
  height: 50px;
  width: auto;
}

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

.nav-link {
  color: var(--text-light);
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

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

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

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

.lang-switch {
  display: flex;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 3px;
}

.lang-btn {
  padding: 6px 14px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 18px;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--accent-color);
  color: var(--text-dark);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background: var(--text-light);
  transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/video/poster.jpg') center/cover;
  opacity: 0.3;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.4) 100%);
  z-index: 2;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0.6;
  animation: float 15s infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--text-light);
  padding: 0 20px;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 25px;
  background: rgba(201, 160, 54, 0.2);
  border: 1px solid var(--accent-color);
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--accent-color);
  margin-bottom: 30px;
  letter-spacing: 2px;
  animation: fadeInDown 1s ease;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 3px;
  line-height: 1.2;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 15px;
  letter-spacing: 1px;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-slogan {
  font-size: 1.1rem;
  color: var(--accent-color);
  margin-bottom: 40px;
  letter-spacing: 2px;
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  animation: fadeInUp 1s ease 0.8s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 40px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--accent-color);
  color: var(--text-dark);
  border: 2px solid var(--accent-color);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent-color);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  border-color: var(--text-light);
  background: rgba(255,255,255,0.1);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-top: 60px;
  animation: fadeInUp 1s ease 1s both;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
}

.stat-number span {
  font-size: 1.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-top: 10px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Section Styles
   ============================================ */
.section {
  padding: 100px 0;
}

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

.section-badge {
  display: inline-block;
  padding: 6px 20px;
  background: linear-gradient(135deg, rgba(26,58,92,0.1), rgba(42,90,140,0.1));
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.section-title span {
  color: var(--primary-color);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   About Section (Home)
   ============================================ */
.about-section {
  background: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: var(--text-light);
}

.about-image-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.about-content h2 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.about-content h2 span {
  color: var(--primary-color);
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 25px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.3rem;
}

.about-feature-text h4 {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.about-feature-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.stat-card {
  text-align: center;
  color: var(--text-light);
  padding: 30px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,0.1);
  border-color: var(--accent-color);
}

.stat-card-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--accent-color);
}

.stat-card-number {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}

/* ============================================
   Services Section
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--text-light);
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(26,58,92,0.1), rgba(42,90,140,0.1));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-light);
}

.service-card h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   Products Section
   ============================================ */
.products-section {
  background: var(--bg-light);
}

.products-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 25px;
  background: transparent;
  border: 2px solid var(--border-color);
  border-radius: 25px;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.product-card {
  background: var(--text-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-image img {
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26,58,92,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-overlay-btn {
  padding: 12px 25px;
  background: var(--accent-color);
  color: var(--text-dark);
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  transform: translateY(20px);
  transition: var(--transition);
}

.product-card:hover .product-overlay-btn {
  transform: translateY(0);
}

/* Touch devices: show overlay by default */
@media (hover: none) {
  .product-overlay {
    opacity: 0.85;
  }
  .product-overlay-btn {
    transform: translateY(0);
  }
}

.product-info {
  padding: 20px;
}

.product-category {
  font-size: 0.8rem;
  color: var(--primary-color);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.product-title {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.case-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 350px;
  cursor: pointer;
  display: block;
  color: inherit;
  text-decoration: none;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover img {
  transform: scale(1.1);
}

.case-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent 40%, rgba(0,0,0,0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: var(--text-light);
  transition: var(--transition);
}

.case-card:hover .case-overlay {
  background: linear-gradient(transparent 20%, rgba(26,58,92,0.95) 100%);
}

.case-category {
  display: inline-block;
  padding: 5px 15px;
  background: var(--accent-color);
  color: var(--text-dark);
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.case-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.case-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.case-card:hover .case-desc {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Clients Section
   ============================================ */
.clients-section {
  background: var(--bg-light);
  padding: 60px 0;
}

.clients-scroll {
  overflow: hidden;
  position: relative;
}

.clients-track {
  display: flex;
  gap: 60px;
  animation: scroll 30s linear infinite;
}

.client-logo {
  flex-shrink: 0;
  width: 150px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--text-light);
  border-radius: 10px;
  padding: 15px;
  box-shadow: var(--shadow-sm);
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition);
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.contact-detail p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--text-light);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--primary-color);
  color: var(--text-light);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 0.8fr 0.8fr 1.3fr 1.3fr;
  gap: 20px;
  margin-bottom: 50px;
}

.footer-brand img {
  height: 60px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent-color);
  color: var(--text-dark);
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: var(--transition);
  overflow-wrap: break-word;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

.footer-icp a {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: var(--transition);
}

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

.footer-certifications {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-certifications img {
  height: 40px;
  opacity: 0.6;
  transition: var(--transition);
}

.footer-certifications img:hover {
  opacity: 1;
}

/* ============================================
   Page Header (Inner Pages)
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  padding: 160px 0 80px;
  text-align: center;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 3px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
}

.breadcrumb a {
  color: var(--accent-color);
}

.breadcrumb span {
  color: rgba(255,255,255,0.5);
}

/* ============================================
   About Page
   ============================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro-content h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.about-intro-content h2 span {
  color: var(--primary-color);
}

.about-intro-content p {
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 20px;
}

.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 30px);
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 30px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  border-radius: 50%;
  border: 4px solid var(--text-light);
  box-shadow: var(--shadow-sm);
}

.timeline-content {
  background: var(--text-light);
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  max-width: 400px;
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.timeline-content h4 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================
   Certifications Section
   ============================================ */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.cert-card {
  background: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.cert-image {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.cert-image img {
  max-height: 100%;
  object-fit: contain;
}

.cert-card h4 {
  font-size: 1rem;
  color: var(--text-dark);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 20px;
    gap: 10px;
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    gap: 40px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 30px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .services-grid,
  .products-grid,
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .solution-card {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .solution-card:nth-child(even) {
    direction: ltr;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 60px;
    padding-right: 0;
    justify-content: flex-start;
  }

  .timeline-dot {
    left: 20px;
  }
}

/* ============================================
   Mobile Small (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
  .nav-container {
    padding: 0 15px;
  }

  .logo {
    margin-left: 10px;
    margin-right: 10px;
  }

  .logo img {
    height: 36px;
  }

  .mobile-menu-btn {
    padding: 12px;
  }

  .mobile-menu-btn span {
    width: 22px;
  }

  .lang-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .hero {
    min-height: 600px;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-slogan {
    font-size: 0.9rem;
    letter-spacing: 0;
  }

  .hero-badge {
    font-size: 0.7rem;
    letter-spacing: 0;
    padding: 6px 14px;
  }

  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-item {
    min-width: 70px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .section {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
  }

  .page-header {
    padding: 100px 0 40px;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .stat-card {
    padding: 20px 10px;
  }

  .stat-card-icon {
    font-size: 1.8rem;
  }

  .stat-card-number {
    font-size: 1.8rem;
  }

  .stat-card-label {
    font-size: 0.75rem;
  }

  .certs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .cert-card {
    padding: 15px 10px;
  }

  .cert-card h4 {
    font-size: 0.8rem;
  }

  .contact-form {
    padding: 20px;
  }

  .about-intro-content h2 {
    font-size: 1.3rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 25px;
  }

  .footer-column {
    min-width: 0;
  }

  .footer-certifications img {
    height: 40px;
  }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Reusable section utilities */
.section-alt {
  background: var(--bg-light);
}

/* CTA section (shared across products/solutions/cases) */
.cta-title {
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta-desc {
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact form card */
.contact-form-card {
  background: var(--text-light);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  margin-bottom: 30px;
  color: var(--text-dark);
}

/* Map placeholder */
.map-placeholder {
  margin-top: 40px;
  background: var(--bg-light);
  border-radius: 10px;
  padding: 40px;
  text-align: center;
}

.map-placeholder-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

/* Form select styling */
.form-group select {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Cert modal (about page) */
.cert-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.cert-modal.active {
  display: flex;
}

.cert-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10000;
  background: none;
  border: none;
}

.cert-modal-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 6px;
  object-fit: contain;
}

.cert-modal-title {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-top: 15px;
  text-align: center;
}

/* Stats section on dark background */
.stats-dark .section-title {
  color: var(--text-light);
}

.stats-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}
