@charset "UTF-8";

:root {
  --primary: #2563eb;
  --secondary: #3b82f6;
  --hover: #1d4ed8;
  --text-main: #1e293b;
  --text-secondary: #64748b;
  --border: #e2e8f0;
  --bg-light: #f8fafc;
  --bg-dark: #0f172a;
}

@keyframes pulse-slow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.5;
  }
}

@keyframes pulse-slow-delay {
  0%, 100% {
    transform: scale(1);
    opacity: 0.25;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.4;
  }
}

.animate-pulse-slow {
  animation: pulse-slow 8s ease-in-out infinite;
}

.animate-pulse-slow-delay {
  animation: pulse-slow-delay 10s ease-in-out infinite;
  animation-delay: 1s;
}

.carousel-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
}

.carousel-slide img {
  transform: scale(1.2);
  transition: none;
}

.carousel-slide.active img {
  animation: kenburns 10s ease-out forwards;
}

@keyframes kenburns {
  0% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.carousel-indicator {
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background-color: white !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--text-main);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.btn-primary {
  display: inline-block;
  padding: 12px 32px;
  background-color: var(--primary);
  color: white;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--primary);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--hover);
  border-color: var(--hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-block;
  padding: 12px 32px;
  background-color: transparent;
  color: var(--primary);
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--primary);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.card {
  background: white;
  border: 1px solid var(--border);
  padding: 32px;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
  transform: translateY(-4px);
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

.card-content {
  color: var(--text-secondary);
  font-size: 15px;
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-image {
  transform: scale(1.05);
}

.nav-link {
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary);
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 48px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.3;
  max-width: 600px;
  word-wrap: break-word;
}

.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}

/* 轮播图按钮样式 */
.carousel .btn-primary,
.carousel .btn-secondary {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.text-animate {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: var(--hover);
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }
}

.nav-transparent .nav-link {
  color: white;
}

.nav-transparent .nav-link:hover {
  color: #3b82f6;
}

.nav-transparent .nav-link::after {
  background-color: #3b82f6;
}

.nav-transparent .nav-link.active::after {
  background-color: #3b82f6;
}

.nav-transparent .nav-link.active {
  color: #3b82f6;
}

.nav-transparent a.text-text-main {
  color: white;
}

.nav-transparent .mobile-menu-btn svg {
  stroke: white;
}

.nav-solid .nav-link {
  color: var(--text-main);
}

.nav-solid .nav-link:hover {
  color: var(--primary);
}

.nav-solid .nav-link::after {
  background-color: var(--primary);
}

.nav-solid .nav-link.active::after {
  background-color: var(--primary);
}

.nav-solid .nav-link.active {
  color: var(--primary);
}

.nav-solid a.text-text-main {
  color: var(--text-main);
}

.nav-solid .mobile-menu-btn svg {
  stroke: var(--text-main);
}

.section-padding {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}

.stat-label {
  font-size: 16px;
  color: var(--text-secondary);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.card:hover .feature-icon {
  background-color: var(--primary);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--primary);
  transition: fill 0.3s ease;
}

.card:hover .feature-icon svg {
  fill: white;
}

.feature-icon i {
  font-size: 32px;
  color: var(--primary);
  transition: color 0.3s ease;
}

.card:hover .feature-icon i {
  color: white;
}

@media (max-width: 768px) {
  .stat-number {
    font-size: 36px;
  }
  
  .stat-label {
    font-size: 14px;
  }
  
  .feature-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
  }
  
  .feature-icon svg,
  .feature-icon i {
    width: 28px;
    height: 28px;
    font-size: 28px;
  }
  
  /* 服务场景圆形图片响应式 */
  .w-80 {
    width: 16rem !important;
    height: 16rem !important;
  }
  
  .w-24.h-24 {
    width: 5rem !important;
    height: 5rem !important;
  }
}

/* Timeline 发展历程样式 */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -44px;
  top: 0;
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-year {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline-content {
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .timeline {
    padding-left: 30px;
  }
  
  .timeline-item::before {
    left: -34px;
  }
  
  .timeline-year {
    font-size: 16px;
  }
}

/* 表单输入框样式 */
.input-field {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: white;
}

.input-field:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.input-field::placeholder {
  color: #94a3b8;
}

.textarea-field {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: white;
  resize: vertical;
  min-height: 120px;
}

.textarea-field:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.textarea-field::placeholder {
  color: #94a3b8;
}
