@import "global.css";


.banner {
  width: 100%;
  /* height: calc(100vw * 0.45); */
  height: 650px;
  position: relative;
  overflow: hidden;
}

.banner-slides {
  width: 300%;
  height: 100%;
  position: relative;
}

.banner-slide {
  width: 33.33%;
  height: 100%;
  float: left;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.banner-dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  margin: 0 5px;
  cursor: pointer;
}

.banner-dot.active {
  background: #fff;
}

.nav-wrapper {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  z-index: 10;
}

.nav-container {
  width: 1200px;
  margin: 0 auto;
  height: 200px;
}

.nav-logo {
  float: left;
  padding-top: 30px;
}

.nav-logo img {
  height: 35px;
}

.nav-logo span {
  padding-left: 20px;
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 2px;
  animation: colorbg 10s;
  -moz-animation: colorbg 10s;
  -moz-animation: colorbg 10s;
  -webkit-animation: colorbg 10s;
  -o-animation: colorbg 10s;
  animation-iteration-count: infinite;
}

@keyframes colorbg {
  0% {
    color: #9de0ff;
  }

  30% {
    color: #cdb9ff;
  }

  60% {
    color: #fff;
  }

  100% {
    color: #fff0ab;
  }
}

.nav-logo a {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
}

.nav-menu {
  width: 100%;
  clear: both;
  padding-top: 40px;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  margin-right: 35px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  color: #2196F3;
}

.nav-login-btn {
  display: inline-block;
  padding: 8px 20px;
  background: #2196F3;
  color: #fff;
  border-radius: 20px;
  line-height: normal;
  transition: all 0.3s ease;
}

.nav-login-btn:hover {
  background: #1976D2;
  color: #fff !important;
}


/* ... 新闻列表 ... */

.news-section {
  padding: 40px 0;
  background: #f5f5f5;
}

.news-container {
  width: 1200px;
  margin: 0 auto;
}

.news-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 30px;
  font-weight: normal;
}

.news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.news-item {
  width: calc(50% - 40px);
  background: #fff;
  display: flex;
  padding: 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.news-item:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.news-img {
  width: 200px;
  height: 140px;
  margin-right: 15px;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-content a {
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
}

.news-content a:hover {
  color: #2196F3;
}

.news-item-title {
  font-size: 18px;
  margin: 0;
  line-height: 1.5;
}

.news-meta {
  color: #999;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}

.news-more {
  text-align: center;
  margin-top: 30px;
}

.news-more a {
  color: #2196F3;
  text-decoration: none;
  font-size: 16px;
}

.news-more a:hover {
  text-decoration: underline;
}

.breadcrumb {
  width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  color: #666;
  font-size: 16px;
}

.footer {
  background: #181818;
  padding: 40px 0;
  color: #fff;
}

.footer-container {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.footer-col {
  flex: 1;
  padding: 0 20px;
}

.footer-title {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fff;
}

.footer-content {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-content a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  line-height: 1.8;
  display: block;
  transition: all 0.3s ease;
}

.footer-content a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  line-height: 1.8;
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  color: #fff;
  padding-left: 5px;
}


.partners-section {
  padding: 40px 0;
  background: #fff;
}

.partners-container {
  width: 1200px;
  margin: 0 auto;
}

.partners-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 30px;
  font-weight: normal;
}

.partners-wrapper {
  position: relative;
  overflow: hidden;
}

.partners-slides {
  width: 300%;
  position: relative;
  display: flex;
  transition: left 0.5s ease-in-out;
}

.partners-slide {
  width: 33.33%;
}

.partners-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.partners-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.partner-dot {
  width: 12px;
  height: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  display: inline-block;
  margin: 0 5px;
  cursor: pointer;
}

.partner-dot.active {
  background: #2196F3;
}

/* 新闻内容样式 */
.news-content-wrapper {
  width: 100%;
  background-color: #f5f5f5;
  padding: 30px 0;

}

.news-content1 {
  width: 1200px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.news-title {
  font-size: 28px;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.news-time {
  text-align: center;
  color: #999;
  font-size: 14px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.news-time span {
  margin: 0 15px;
}

.news-body {
  color: #333;
  line-height: 1.8;
  font-size: 16px;
  min-height: 500px;
}


.news-body p {
  margin-bottom: 15px;
  text-align: justify;
}

.news-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
}

/* 金融产品列表样式 */
.bank-section {
  padding: 40px 0;
  background: #f5f5f5;
}

.bank-container {
  width: 1200px;
  margin: 0 auto;
}


.bank-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bank-item {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
}

.bank-item:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.bank-logo {
  width: 150px;
  height: 150px;
  margin-right: 30px;
  display: flex;
  align-items: center;
}

.bank-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bank-info {
  flex: 1;
}

.bank-title {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
  font-weight: bold;
}

.bank-desc {
  color: #666;
  width: 700px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.apply-btn {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 30px;
  background: #2196F3;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
}

.apply-btn:hover {
  background: #1976D2;
  color: #fff !important;
}

/* 登录页面样式 */
.login-container {
  background-color: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  margin-top: 50px;
  margin-bottom: 50px;
}

.login-container h1 {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #555;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
}

.sms-btn {
  padding: 12px;
  background-color: #2196F3;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
  white-space: nowrap;
  width: 120px;
}

.sms-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.login-btn {
  width: 100%;
  padding: 12px;
  background-color: #2196F3;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-btn:hover {
  background-color: #1976D2;
}

.register-link {
  text-align: center;
  margin-top: 20px;
}

.register-link a {
  color: #2196F3;
  text-decoration: none;
}

.register-link a:hover {
  text-decoration: underline;
}