@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuOKfMZg.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfMZg.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuI6fMZg.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuGKYMZg.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuFuYMZg.ttf) format('truetype');
}

.partner-track {
  display: flex;
  animation: scroll 15s linear infinite;
}

.animate-scroll-left {
  animation-direction: reverse;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  background-attachment: fixed;
  overflow-x: hidden;
}

.container {
  margin: 0 auto;
}

.swiper-slide {
  max-width: 300px;
}

.gradient-text {
  background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 50%, #165dff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  position: relative;
}

.nav-link.text-primary::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 50%, #165dff 100%);
  border-radius: 1px;
}

.bg-dark-blue {
  background: linear-gradient(135deg, #e0f7ff 0%, #b3e5fc 50%, #e0f7ff 100%);
}

.tech-grid {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
}

.swiper-slide {
  max-width: 300px;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1.2s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.stat-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.service-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 75px rgba(102, 126, 234, 0.3);
}

/* Certificate Swiper - ensure exactly 3 slides visible on desktop, left-aligned */
.certificate-swiper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
}

.certificate-swiper .swiper-slide {
  max-width: none !important;
}

.certificate-swiper .swiper-slide > div {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

/* Swiper轮播图自定义样式 */
.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5) !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet-active {
  background: #ffd100 !important;
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255, 209, 0, 0.5);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: #ffd100;
  border-radius: 4px;
}

::-webkit-scrollbar-track {
  background: #121212;
}

::-webkit-scrollbar-thumb:hover {
  background: #3e92cc;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, #ffd100, #3e92cc);
  transform: translateX(-50%);
}

.timeline-item {
  max-width: calc(50% - 2rem);
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item:nth-child(2n) {
  left: calc(50% + 2rem);
}

.timeline-item:nth-child(2n + 1) {
  left: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(100% + 2rem);
  width: 20px;
  height: 20px;
  background: #ffd100;
  border-radius: 50%;
  transform: translate(-50%);
  z-index: 10;
}

.timeline-item:nth-child(2n)::before {
  left: -2rem;
}

/* 时间线竖线 */
.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(50% - 1px);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, #ffd100, #8b6f00);
  z-index: 1;
}

/* 科技感自定义动画 */
@keyframes glow {
  0%,
  100% {
    box-shadow:
      0 0 5px rgba(255, 209, 0, 0.5),
      0 0 10px rgba(255, 209, 0, 0.3);
  }
  50% {
    box-shadow:
      0 0 20px rgba(255, 209, 0, 0.8),
      0 0 30px rgba(255, 209, 0, 0.5);
  }
}

