:root {
  --primary-color: #29a853; /* 主色调 */
  --accent-color: #09c43e; /* 强调色 - 海绿色 */
  --light-color: #f5f9f7; /* 浅色背景 */
  --dark-color: #1a472a; /* 深色背景 */
  --text-color: #333; /* 主要文字颜色 */
  --light-text: #ccc; /* 浅色文字 */
  --border-radius: 8px; /* 圆角 */
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* 阴影 */
}

@font-face {
  /* 字体名称 */
  font-family: "SF Pro Text";

  /* 字体文件路径和格式 */
  src:
    local("SF Pro Text Regular"),
    local("SFProText-Regular"),
    local("SF Pro Text"),
    local("SF Pro"),
    url("../fonts/sf-pro-text_regular.woff2") format("woff2");

  /* 定义字体的粗细、样式等 */
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

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

/* 头部样式 */
header {
  color: white;
  padding: 20px 0;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 999999;
}

.scrolled {
  background-color: rgba(0, 0, 0, 0.4);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  height: 26px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 600;
}

nav ul {
  display: flex;
  list-style: none;
}

nav li {
  margin-left: 30px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--accent-color);
}

.hero {
  position: relative;
}
.hero .btn {
  display: none;
  position: absolute;
  padding: 30px 10px;
  top: 50%;
  cursor: pointer;
  border-radius: 2px;
  background-color: #fff;
  opacity: 0.3;
  color: #000;
}
.hero:hover .btn {
  display: block;
}
.hero .prev {
  left: 0;
}
.hero .next {
  right: 0;
}
.hero .slides {
  position: relative;
  height: 800px;
}
.hero .picture {
  position: absolute;
  top: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  width: 100%;
  height: 800px;
}
.hero .picture img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 关键属性：裁剪填充，保持比例显示中间部分 */
  object-position: center; /* 确保从中间开始裁剪 */
}
.hero .active {
  opacity: 1 !important;
}

.hero .slides .word {
  position: absolute;
  color: white;
  z-index: 999;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero .slides .word1 {
  top: 20%;
  left: 0;
  width: 100%;
  color: #fff;
  font-weight: 900;
  text-align: center;
}

.hero .slides .word2 {
  bottom: 4%;
  left: 0;
  width: 100%;
  font-weight: bold;
  text-align: center;
}

.hero .slides .word3 {
  top: 20%;
  left: 15%;
  width: 30%;
  color: #fff;
  font-weight: bold;
}

.hero .slides .word1 h1 {
  line-height: 1.3;
  font-size: 80px !important;
}

.hero .slides .word1 h2 {
  font-size: 60px !important;
  line-height: 1;
}

.hero .slides .word2 h1 {
  font-size: 60px;
}

.hero .slides .word3 h1 {
  font-size: 60px;
  font-weight: 900;
}

.hero .slides .word3 h2 {
  font-size: 32px;
}

.hero .indicator-box {
  position: absolute;
  width: 100%;
  bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero .indicator {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  opacity: 0.5;
  background-color: #fff;

  cursor: pointer;
}

.hero .indicator-active {
  position: relative;
  width: 40px !important;
}

.hero .progress-bar {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 10px;
  border-radius: 5px;
  background-color: #999;
  z-index: 1;
}

.about {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  /* color: var(--primary-color); */
  color: black;
  font-size: 2rem;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  margin-bottom: 20px;
  color: var(--text-colo);
}

.about-text p {
  margin-bottom: 15px;
}

.about-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.financing {
  padding: 80px 0;
}

.financing-content {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.financing-content img {
  height: 160px;
}

footer {
  background-color: black;
  color: var(--light-text);
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.footer-logo h2 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.footer-links h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--light-text);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-bottom {
  /* text-align: center; */
  padding-top: 20px;
  border-top: 1px solid #616161;
}

.footer-bottom a {
  color: black;
  text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    margin-top: 20px;
  }

  nav li {
    margin: 0 10px;
  }

  .about-content {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    margin-top: 20px;
  }
}

