/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Microsoft YaHei", sans-serif;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}
a:hover {
  color: #003686;
}
.py-8 {
  padding-top: 80px;
  padding-bottom: 80px;
}
.py-10 {
  padding-top: 100px;
  padding-bottom: 100px;
}
.mb-4 {
  margin-bottom: 24px !important;
}
.mb-6 {
  margin-bottom: 36px !important;
}
.mb-8 {
  margin-bottom: 48px !important;
}
.mt-8 {
  margin-top: 48px !important;
}
.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  border-bottom: 2px solid #003686;
  display: inline-block;
  padding-bottom: 8px;
  /* 标题渐显 */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.section-title.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 导航栏（新增悬浮动效） */
.nav-bg {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  transition: background-color 0.5s ease;
}
.navbar-brand {
  font-size: 24px;
  font-weight: 700;
  transition: transform 0.3s ease;
}
.navbar-brand:hover {
  transform: scale(1.05);
}
.nav-link {
  font-size: 18px;
  margin-left: 20px;
  position: relative;
  color:#353535;
}
.nav-link:focus, .nav-link:hover{
	color:#003686;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #003686;
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link.active {
  color: #003686 !important;
}

/* Banner轮播（新增透明过渡+文字动画） */
.banner {
  height: 100vh;
  margin-top: -76px;
  padding-top: 76px;
  overflow: hidden;
}
.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease-in-out;
}
.banner-content h1,.banner-content p{
	color:#DEE7FF
}
.carousel-item.active .banner-bg {
  opacity: 1;
}
.carousel-item .banner-bg {
  opacity: 0;
}
.banner-content {
  position: relative;
  z-index: 2;
}
.banner-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}
.animate-title {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease 0.3s forwards;
}
.animate-subtitle {
  font-size: 28px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease 0.6s forwards;
}
/* 文字渐入上移动画 */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 机构简介（新增文字滚动+数字计数样式） */
.institution-title {
  font-size: 36px;
  font-weight: 700;
  color: #222;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.institution-title.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-text-container {
  overflow: hidden;
  position: relative;
}
.scroll-text {
  font-size: 18px;
  color: #555;
  max-width: 1200px;
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s ease, transform 1s ease;
}
.scroll-text.visible {
  opacity: 1;
  transform: translateX(0);
}
.num-card-group {
  margin-top: 20px;
}
.num-card {
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}
.num-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.num-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.num {
  font-size: 60px;
  font-weight: normal;
  color: #003686;
  display: block;
  margin-bottom: 16px;
}
.num-desc {
  font-size: 18px;
  color: #333;
  margin: 0;
}
.num-card .num-desc{
	height:60px;
}
/* Founder's Fund（新增Logo渐显+缩放） */
.founder-fund {
  background-color: #f8f9fa !important;
}
.founder-desc {
  font-size: 18px;
  color: #555;
  max-width: 1200px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}
.founder-desc.visible {
  opacity: 1;
  transform: translateY(0);
}
.logo-title {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  border-left: 4px solid #003686;
  padding-left: 12px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.logo-title.visible {
  opacity: 1;
  transform: translateX(0);
}
.logo-list {
  padding: 20px 0;
}
.logo-item {
  width: 120px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
  opacity: 0;
  transform: scale(0.9);
}
.logo-item.fade-in {
  animation: fadeInScale 0.8s ease forwards;
}
@keyframes fadeInScale {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.logo-item:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.logo-item img {
  max-width: 100px;
  max-height: 60px;
  object-fit: contain;
  transition: opacity 0.3s ease;
}
.logo-item:hover img {
  opacity: 0.9;
}
.logo-item.ellipsis {
  font-size: 30px;
  color: #999;
  font-weight: 700;
  opacity: 1;
  transform: scale(1);
}

/* 投资地图（新增Logo悬停缩放+透明） */
.investment-map .map-desc {
  font-size: 18px;
  color: #555;
  max-width: 1200px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}
.investment-map .map-desc.visible {
  opacity: 1;
  transform: translateY(0);
}
.map-table table {
  border-color: #ddd;
  font-size: 18px;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 1s ease, transform 1s ease;
}
.map-table table.visible {
  opacity: 1;
  transform: scale(1);
}
.map-table th {
  vertical-align: middle;
  padding: 16px;
  background-color: #f8f9fa;
  font-weight: normal;
  transition: background-color 0.3s ease;
}
.map-table th:hover {
  background-color: #ffffff;
}
.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 20px;
}
.logo-cell {
  padding: 20px !important;
}
.logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.logo-hover-zoom {
  max-width: 80px;
  max-height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.85;
}
.logo-hover-zoom:hover {
  transform: scale(1.2);
  opacity: 1;
}
.grid-3 {grid-template-columns: repeat(3, 1fr);}
.grid-4 {grid-template-columns: repeat(4, 1fr);}
.grid-5 {grid-template-columns: repeat(5, 1fr);}
.grid-6 {grid-template-columns: repeat(6, 1fr);}
.grid-16 {grid-template-columns: repeat(4, 1fr);}
.grid-18 {grid-template-columns: repeat(6, 1fr);}

/* 联系我们（新增按钮悬浮透明+缩放） */
.contact-link {
  margin-top: 20px;
}
.link-item {
  font-size: 24px;
  font-weight: 500;
  color: #222;
  padding: 20px 40px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
  margin: 5px;
}
.link-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.link-item i {
  font-size: 30px;
  color: #003686;
  transition: all 0.3s ease;
}
.link-item:hover {
  background-color: #003686;
  color: #fff;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}
.link-item:hover i {
  color: #fff;
  transform: rotate(5deg);
}

/* 底部（新增透明过渡） */
.footer {
  background-color: #111 !important;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}
.footer.visible {
  opacity: 1;
  transform: translateY(0);
}
.footer-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  border-bottom: 1px solid #444;
  padding-bottom: 8px;
  display: inline-block;
  transition: color 0.3s ease;
}
.footer-title:hover {
  color: #003686;
}
.footer p {
  color: #ccc;
  font-size: 16px;
  transition: color 0.3s ease;
}
.footer p:hover {
  color: #fff;
}
.copyright {
  color: #999;
  transition: color 0.3s ease;
}
.copyright:hover {
  color: #ccc;
}

/* 响应式适配 */
@media (max-width: 992px) {
  .animate-title {font-size: 40px;}
  .animate-subtitle {font-size: 22px;}
  .section-title {font-size: 28px;}
  .institution-title {font-size: 32px;}
  .num {font-size: 48px;}
  .logo-item {width: 100px; height: 70px;}
  .link-item {font-size: 20px; padding: 16px 32px;}
}
@media (max-width: 768px) {
  .animate-title {font-size: 32px;}
  .animate-subtitle {font-size: 18px;}
  .num {font-size: 36px;}
  .logo-item {width: 80px; height: 60px;}
  .vertical-text {writing-mode: horizontal-tb;}
  .grid-18, .grid-16 {grid-template-columns: repeat(3, 1fr);}
  .link-item {font-size: 18px; padding: 12px 24px; margin-bottom: 16px;}
}
@media (max-width: 576px) {
  .banner {height: 80vh;}
  .animate-title {font-size: 24px;}
  .section-title {font-size: 24px;}
  .scroll-text, .founder-desc, .map-desc {font-size: 16px;}
  .logo-item {width: 70px; height: 50px;}
  .logo-hover-zoom {max-width: 60px; max-height: 40px;}
}