/*

北海信源信息技术有限公司 - 官网样式
主色: 蓝色金融风格

*/


/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )
-----------------------------------------*/
:root {
  --white-color:                  #ffffff;
  --primary-color:                #1a5fb4;
  --primary-light:                #3584e4;
  --primary-dark:                 #0d3b7a;
  --accent-color:                 #e8a800;
  --secondary-color:              #1c7ed6;
  --section-bg-color:             #f0f4fb;
  --dark-color:                   #0d1b2a;
  --p-color:                      #5a6a7e;

  --body-font-family:             'DM Sans', sans-serif;

  --h1-font-size:                 60px;
  --h2-font-size:                 42px;
  --h3-font-size:                 36px;
  --h4-font-size:                 32px;
  --h5-font-size:                 24px;
  --h6-font-size:                 22px;
  --p-font-size:                  18px;
  --menu-font-size:               14px;
  --copyright-text-font-size:     16px;

  --font-weight-normal:           400;
  --font-weight-medium:           500;
  --font-weight-bold:             700;
}

body {
    background: var(--white-color);
    font-family: var(--body-font-family);
}


/*---------------------------------------
  TYPOGRAPHY
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
  letter-spacing: -1px;
}

h1 {
  font-size: var(--h1-font-size);
  letter-spacing: -2px;
}

h2 {
  font-size: var(--h2-font-size);
  letter-spacing: -2px;
}

h3 {
  font-size: var(--h3-font-size);
  line-height: inherit;
}

h4 {
  font-size: var(--h4-font-size);
  line-height: inherit;
}

h5 {
  font-size: var(--h5-font-size);
  line-height: normal;
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

a,
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--p-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}

::selection {
  background: var(--primary-color);
  color: var(--white-color);
}

::-moz-selection {
  background: var(--primary-color);
  color: var(--white-color);
}

.section-padding {
  padding-top: 120px;
  padding-bottom: 120px;
}

.custom-border-radius {
  border-radius: 20px;
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

.small-title {
  text-transform: uppercase;
  color: var(--primary-color);
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: var(--font-weight-medium);
}


/*---------------------------------------
  CUSTOM BUTTON
-----------------------------------------*/
.custom-btn {
  background: var(--primary-color);
  border-radius: 100px;
  color: var(--white-color);
  font-size: var(--copyright-text-font-size);
  font-weight: var(--font-weight-bold);
  padding: 12px 28px;
  border: 2px solid var(--primary-color);
}

.custom-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--white-color);
}

.custom-btn-outline {
  background: transparent;
  border: 2px solid var(--white-color);
  border-radius: 100px;
  color: var(--white-color);
  font-size: var(--copyright-text-font-size);
  font-weight: var(--font-weight-bold);
  padding: 12px 28px;
}

.custom-btn-outline:hover {
  background: var(--white-color);
  color: var(--primary-color);
}

.custom-bg-accent {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.custom-bg-accent:hover {
  background: var(--white-color);
  color: var(--dark-color);
  border-color: var(--white-color);
}


/*---------------------------------------
  NAVIGATION
-----------------------------------------*/
.navbar {
  z-index: 9;
  right: 0;
  left: 0;
  padding-top: 12px;
  padding-bottom: 12px;
}

.navbar-brand {
  font-size: 22px;
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
  line-height: 1.2;
}

.navbar-brand .brand-en {
  display: block;
  font-size: 11px;
  font-weight: var(--font-weight-normal);
  color: var(--p-color);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 20px;
  padding-left: 20px;
}

.navbar-nav .nav-link {
  color: var(--p-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  padding-top: 15px;
  padding-bottom: 15px;
  letter-spacing: 0.5px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--dark-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}


/*---------------------------------------
  SITE HEADER
-----------------------------------------*/
.site-header {
  background: var(--primary-dark);
  padding-top: 8px;
  padding-bottom: 8px;
}

.site-header p,
.site-header a {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}

.site-header a:hover {
  color: var(--accent-color);
}

.site-header-icon {
  color: var(--accent-color);
}

.header-divider {
  color: rgba(255,255,255,0.3);
  margin: 0 12px;
}


/*---------------------------------------
  HERO
-----------------------------------------*/
.hero {
  position: relative;
  height: 520px;
  min-height: 420px;
}

.hero-carousel,
.carousel-inner,
.carousel-item {
  height: 100%;
}

.carousel-image-wrap::before {
  content: "";
  background: linear-gradient(105deg, rgba(13,59,122,0.85) 0%, rgba(13,27,42,0.6) 60%, transparent 100%);
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.carousel-caption {
  z-index: 9;
  top: 28%;
  bottom: 0;
  left: 0;
  text-align: left;
  width: 55%;
  margin-right: 12px;
  margin-left: 12px;
}

.carousel-caption .small-title {
  color: var(--accent-color);
  font-size: 13px;
  letter-spacing: 3px;
  margin-bottom: 16px;
  display: block;
}

.carousel-caption h1 {
  color: var(--white-color);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.carousel-caption h1 .highlight {
  color: var(--accent-color);
}

.carousel-caption p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  margin-bottom: 28px;
  max-width: 480px;
}

.carousel-image-wrap {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-control-next,
.carousel-control-prev {
  top: auto;
  bottom: 20px;
  opacity: 1;
  width: auto;
  left: 50%;
  transform: translateX(-50%);
}

.carousel-control-prev {
  transform: translateX(calc(-50% - 36px));
}

.carousel-control-next {
  transform: translateX(calc(-50% + 36px));
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255,255,255,0.15);
  border-radius: 50%;
  background-size: 50%;
}

/* Stats bar */
.stats-bar {
  background: var(--primary-color);
  padding: 28px 0;
}

.stat-item {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 36px;
  font-weight: var(--font-weight-bold);
  color: var(--accent-color);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin-top: 4px;
  display: block;
}


/*---------------------------------------
  ABOUT
-----------------------------------------*/
.about-image-wrap {
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 450px;
}

.about-image-info {
  background: linear-gradient(to top, rgba(13,27,42,0.9), transparent 70%);
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 40px;
}

.about-image {
  border-radius: 20px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-thumb {
  border-radius: 20px;
  margin-bottom: 24px;
  padding: 40px;
}

.about-thumb.bg-white {
  box-shadow: 0 4px 30px rgba(26,95,180,0.08);
  border: 1px solid rgba(26,95,180,0.08);
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,95,180,0.08);
  color: var(--primary-color);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--section-bg-color);
  font-size: 15px;
  color: var(--p-color);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list .fi-icon {
  color: var(--primary-color);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}


/*---------------------------------------
  SERVICES
-----------------------------------------*/
.services {
  background: var(--section-bg-color);
}

.nav-tabs {
  border-bottom: 0;
}

.nav-tabs .nav-link,
.nav-tabs .nav-link span {
  color: var(--p-color);
  display: block;
  text-align: left;
}

.nav-tabs .nav-link {
  border-radius: 12px;
  border: 0;
  border-left: 5px solid transparent;
  margin-bottom: 0;
  padding: 20px 24px;
  transition: all 0.3s ease-in-out;
  background: var(--white-color);
}

/* 让左侧选择器撑满整列高度，避免底部大片空白 */
#nav-tab {
  height: 100%;
  justify-content: space-between;
  gap: 12px;
}

#nav-tab .nav-link {
  flex: 1;
}

.nav-tabs .nav-link h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  border-left-color: var(--primary-color);
  background: var(--white-color);
  box-shadow: 0 4px 24px rgba(26,95,180,0.12);
}

.nav-tabs .nav-link.active h3,
.nav-tabs .nav-link:focus h3,
.nav-tabs .nav-link:hover h3 {
  color: var(--primary-color);
}

.service-tab-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.service-tab-header h3 {
  margin: 0;
}

.service-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(26,95,180,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 18px;
}

.tab-content .service-img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  max-height: 280px;
}

.tab-content h5 {
  color: var(--primary-color);
  margin-top: 28px;
  margin-bottom: 12px;
}

.service-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.service-feature .sf-icon {
  color: var(--accent-color);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-feature p {
  margin: 0;
  font-size: 15px;
}


/*---------------------------------------
  ADVANTAGES
-----------------------------------------*/
.advantages {
  background: var(--white-color);
}

.advantage-card {
  background: var(--white-color);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid rgba(26,95,180,0.1);
  transition: all 0.3s;
  height: 100%;
}

.advantage-card:hover {
  box-shadow: 0 8px 32px rgba(26,95,180,0.14);
  transform: translateY(-4px);
  border-color: var(--primary-color);
}

.advantage-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  font-size: 30px;
  margin: 0 auto 20px;
}

.advantage-card h5 {
  margin-bottom: 10px;
}

.advantage-card p {
  font-size: 15px;
  margin: 0;
}


/*---------------------------------------
  PROCESS
-----------------------------------------*/
.process {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  padding-top: 120px;
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
}

.process::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.process::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.process .small-title {
  color: var(--accent-color);
}

.process h2 {
  color: var(--white-color);
}

.process-step {
  position: relative;
  text-align: center;
  padding: 0 16px;
}

.process-step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--dark-color);
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.process-step-line {
  position: absolute;
  top: 32px;
  left: calc(50% + 32px);
  right: calc(-50% + 32px);
  height: 2px;
  background: rgba(255,255,255,0.2);
  z-index: 0;
}

.process-step:last-child .process-step-line {
  display: none;
}

.process-step h5 {
  color: var(--white-color);
  font-size: 18px;
  margin-bottom: 8px;
}

.process-step p {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  margin: 0;
}


/*---------------------------------------
  CONTACT INFO
-----------------------------------------*/
.contact-thumb {
  position: relative;
  bottom: 140px;
  margin-bottom: -140px;
}

.contact-info {
  border-radius: 20px;
  padding: 48px;
}

.contact-icon {
  color: var(--primary-color);
  font-size: 28px;
}

.contact-info h4 a {
  color: var(--dark-color);
  font-size: 26px;
}

.contact-info h4 a:hover {
  color: var(--primary-color);
}

.contact-info h5 a {
  color: var(--p-color);
  font-size: 18px;
}

.contact-info h5 a:hover {
  color: var(--primary-color);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--section-bg-color);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(26,95,180,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 22px;
  flex-shrink: 0;
}

.contact-info-text h6 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--p-color);
  font-weight: var(--font-weight-medium);
  margin-bottom: 4px;
}

.contact-info-text p {
  margin: 0;
  font-size: 16px;
  color: var(--dark-color);
  font-weight: var(--font-weight-medium);
}

.contact-info-text a {
  color: var(--dark-color);
  font-size: 16px;
  font-weight: var(--font-weight-medium);
}

.contact-info-text a:hover {
  color: var(--primary-color);
}


/*---------------------------------------
  CONTACT SECTION
-----------------------------------------*/
.contact-container-wrap {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  padding-bottom: 120px;
}

.contact-container-wrap svg path {
  fill: var(--primary-color);
}


/*---------------------------------------
  SITE FOOTER
-----------------------------------------*/
.site-footer {
  background: var(--primary-dark);
  padding-top: 40px;
  padding-bottom: 40px;
}

.site-footer .copyright-text {
  color: rgba(255,255,255,0.7);
  font-size: var(--copyright-text-font-size);
}

.site-footer .footer-link {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  margin-left: 20px;
}

.site-footer .footer-link:hover {
  color: var(--accent-color);
}

.icp-text {
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  margin-top: 6px;
}


/*---------------------------------------
  RESPONSIVE STYLES
-----------------------------------------*/
@media screen and (max-width: 1280px) {
  .contact svg {
    bottom: 0;
    margin-bottom: 0;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 28px;
  }

  h4 {
    font-size: 26px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .custom-btn,
  .custom-btn-outline {
    font-size: 15px;
    padding: 10px 22px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 0;
  }

  .navbar-nav .nav-link {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .carousel-caption {
    width: 90%;
  }

  .hero {
    height: 420px;
    min-height: 360px;
  }

  .about-image-wrap {
    min-height: 300px;
  }

  .about-thumb {
    padding: 28px;
  }

  .stats-bar .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 14px 0;
  }

  .stats-bar .stat-item:last-child {
    border-bottom: none;
  }

  .process {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .process-step-line {
    display: none;
  }

  .process-step {
    margin-bottom: 40px;
  }

  .contact-container-wrap {
    padding-bottom: 60px;
  }

  .contact-thumb {
    bottom: 0;
    margin-bottom: 0;
  }

  .contact-info {
    padding: 32px 28px;
  }

  .site-footer {
    text-align: center;
  }

  .site-footer .footer-link {
    margin-left: 0;
    margin-right: 0;
    display: block;
    margin-top: 4px;
  }
}

@media screen and (max-width: 576px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 24px;
  }

  .carousel-caption {
    width: 100%;
    top: 20%;
  }

  .carousel-caption h1 {
    font-size: 30px;
  }

  .carousel-caption p {
    font-size: 15px;
  }

  .stat-number {
    font-size: 28px;
  }

  .contact-icon {
    font-size: 22px;
  }

  .contact-info {
    padding: 24px 20px;
  }

  .advantage-card {
    padding: 28px 20px;
  }

  .nav-tabs .nav-link {
    padding: 16px 18px;
  }

  .site-header {
    display: none;
  }
}
