/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #333;
}

/* 自定义滚动条样式 */
/* 整体滚动条 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

/* 滚动条轨道 */
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  background: #c01e32;
  border-radius: 10px;
}

/* Firefox滚动条 (需要Firefox 64+) */
* {
  scrollbar-width: thin;
  scrollbar-color: #c01e32 #f1f1f1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

input {
  outline: none;
}

/* 版心 */
.main {
  max-width: 1256px;
  margin: 0 auto;
}

.iconfont {
  font-size: 12px !important;
}

.nav-top-wrapper {
  background-color: rgb(246, 246, 246);
}

.nav-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 30px;
  min-height: 44px;
  padding-right: 30px;
}

.search-container {
  position: relative;
}

.search {
  border: none;
  width: 167px;
  height: 28px;
  padding: 0 15px 0 28px;
  border-radius: 16px;
  background-color: rgb(237, 237, 237);
  color: rgb(148, 148, 148);
}

.icon-fangdajing {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
}

.menu-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  background-color: #fff;
  z-index: 99;
  border-bottom: solid 1px rgb(246, 246, 246);
}

.menu {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 100px;
}

.logo-content {
  flex: 1;
  padding-left: 20px;
  display: flex;
  align-items: center;
}

h1.logo {
  margin-left: 20px;
}

.menu-content {
  flex: 2;
  font-size: 16px;
  letter-spacing: 0.24px;
  line-height: 22.4px;
  color: rgb(181, 9, 56);
}

.borrow {
  font-size: 16px !important;
}

.menu-item {
  display: inline-block;
  line-height: 95px;
  border-bottom: solid 2px rgb(181, 9, 56);
}

/* borrow */
.borrow-container {
  background-color: rgb(0, 62, 126);
  color: white;
  height: 224px;
}

.borrow-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 20px;
}

.borrow-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 57.6px;
  margin-bottom: 16px;
}

.borrow-description {
  font-size: 16px;
}

/* quick-loan */
.quick-loan {
  display: flex;
  justify-content: space-between;
  height: 550px;
}

.loan-left,
.loan-right {
  flex: 1;
}

.loan-right {
  background-image: url(./images/l1.jpg);
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.loan-left {
  background-color: #adb8ad;
  color: #fff;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.loan-left-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  max-width: 590px;
  margin-right: 20px;
}

.loan-text-one {
  font-size: 18px;
  line-height: 22px;
  color: rgb(239, 223, 210);
}

.loan-left .loan-left-content > h2 {
  font-size: 48px;
  line-height: 60px;
  letter-spacing: 0.72px;
}

.loan-text-two {
  font-size: 16px;
  letter-spacing: 0.24px;
  line-height: 22px;
}

button {
  cursor: pointer;
  padding: 12px 24px;
  font-size: 14px;
  border: none;
  font-weight: 500;
  line-height: 20px;
  color: #fff;
  background-color: rgb(181, 9, 56);
  border-radius: 20px;
  width: fit-content;
}

/* Loan Features Section Styles */
.loan-features-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.loan-features-section {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.loan-features-row {
  margin-bottom: 70px;
  position: relative;
}

.loan-features-row:last-child {
  margin-bottom: 0;
}

.loan-features-row::after {
  content: "";
  display: block;
  clear: both;
}

.loan-feature-left {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.loan-feature-left::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #c01e32;
}

.loan-feature-left h2 {
  color: #333;
  font-size: 32px;
  margin-bottom: 15px;
  font-weight: 700;
}

.loan-feature-left p {
  color: #666;
  font-size: 18px;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.loan-feature-right {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.feature-item {
  background-color: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: #c01e32;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  margin-bottom: 15px;
  color: #c01e32;
  font-size: 24px;
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 50%;
  background-color: rgba(192, 30, 50, 0.1);
}

.feature-content h3 {
  color: #333;
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 600;
}

.feature-content p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* 响应式样式 */
@media (max-width: 992px) {
  .loan-feature-right {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .loan-feature-left h2 {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .loan-features-container {
    padding: 0 15px;
  }

  .loan-feature-left h2 {
    font-size: 24px;
  }

  .loan-feature-left p {
    font-size: 16px;
  }

  .feature-item {
    padding: 20px;
  }

  .feature-icon {
    font-size: 20px;
    width: 40px;
    height: 40px;
    line-height: 40px;
  }

  .feature-content h3 {
    font-size: 18px;
  }

  .feature-content p {
    font-size: 14px;
  }
}

/* start your application */

.application {
  background-color: rgb(251, 251, 251);
  padding: 40px 0;
  display: flex;
  justify-content: center;
}

.title-info {
  margin-bottom: 32px;
}

h3.app-title {
  font-size: 32px;
  letter-spacing: 0.48px;
  line-height: 38px;
  text-align: center;
  color: rgb(0, 62, 126);
  margin-bottom: 16px;
}

p.app-desc {
  font-size: 16px;
  letter-spacing: 0.24px;
  line-height: 22px;
  text-align: center;
  color: rgb(33, 33, 33);
  margin-bottom: 16px;
}

.name-content {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.input-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.tip-wrapper {
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  color: rgb(33, 33, 33);
  letter-spacing: 0.24px;
}

.color-red {
  color: #ed1849;
}

input {
  border-radius: 0;
  border: solid 1px #ccc;
  height: 40px;
  width: 460px;
  padding-left: 20px;
}

input:hover {
  border-color: #ed1849;
}

/* footer */
footer {
  background-color: rgb(246, 246, 246);
}

.footer-top {
  border-bottom: solid 1px rgb(237, 237, 237);
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  line-height: 24px;
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  padding: 16px 0;
}
