:root {
  --color-main: #0D47A1;
  --color-sub: #FF6B00;
  --color-dark: #1A237E;
}
body {
  font-family: "Microsoft YaHei", sans-serif;
  scroll-behavior: smooth;
}
.navbar {
  transition: all 0.3s;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.navbar-nav {
  display: flex;
  align-items: center;
}
.navbar-nav .nav-item {
  min-width: 100px;
  text-align: center;
  margin: 0 5px;
}
.navbar-nav .nav-link {
  white-space: nowrap;
  padding: 0.5rem 0.75rem;
  font-size: 14px;
}
.navbar-nav .nav-item.dropdown {
  min-width: auto;
}

/* Language dropdown styles */
#languageDropdown {
  cursor: pointer;
  transition: all 0.3s ease;
}

#languageDropdown:hover {
  color: var(--color-sub) !important;
}

.dropdown-menu {
  background-color: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
  min-width: 130px;
  margin-top: 0.5rem !important;
  animation: dropdownFadeIn 0.3s ease;
  z-index: 1050;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  padding: 0.6rem 1.5rem;
  transition: all 0.2s ease;
  font-size: 14px;
  color: var(--color-dark);
  font-weight: 500;
}

.dropdown-item:hover {
  background-color: rgba(13, 71, 161, 0.1);
  color: var(--color-sub);
}

.dropdown-item:active {
  background-color: rgba(13, 71, 161, 0.2);
  color: var(--color-sub);
}

/* Mobile dropdown styles */
@media (max-width: 991px) {
  /* Navbar adjustments */
  .navbar {
    padding: 0.2rem 1rem;
    min-height: 60px;
  }
  
  .navbar-brand img {
    height: 28px;
  }
  
  .navbar-toggler {
    padding: 0.25rem 0.5rem;
  }
  
  .brand-name {
    font-size: 14px;
  }
  
  .navbar-nav .nav-item.dropdown {
    margin-left: 0;
  }
  
  .navbar-nav .nav-link.dropdown-toggle {
    padding-left: 0;
  }
  
  .dropdown-menu {
    position: static !important;
    float: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    margin-top: 0.25rem !important;
    width: 100%;
  }
  
  .dropdown-item {
    padding: 0.75rem 1.5rem;
    font-size: 15px;
  }
  
  .dropdown-item:hover {
    background-color: rgba(13, 71, 161, 0.05);
  }
  
  /* Banner adjustments */
  #home {
    padding-top: 60px;
  }
  
  .carousel-caption {
    bottom: 30% !important;
  }
  
  .carousel-caption h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  
  .carousel-caption p {
    font-size: 0.9rem;
  }
  
  .carousel-caption .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}
.navbar-brand img {
  height: 80px;
}

.navbar.fixed-top.scrolled {
  padding: 0.3rem 1rem;
}
.carousel-item {
  height: 50vh;
  min-height: 500px;
}
.carousel-item img {
  height: 100%;
  object-fit: cover;
}
.carousel-overlay {
  position: absolute;
  top:0;left:0;right:0;bottom:0;
  background: rgba(0,0,0,0.45);
  z-index:1;
}
.carousel-caption {
  z-index:2;
  bottom: 35%;
}
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}
.section-title h2 {
  font-weight: 700;
  color: var(--color-dark);
}
.section-title::after {
  content:'';
  width:70px;
  height:3px;
  background: var(--color-sub);
  position: absolute;
  left:50%;
  transform: translateX(-50%);
  bottom:-10px;
}
.card-hover {
  transition: 0.3s;
  border:none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border-radius:10px;
  height:100%;
}
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.icon-box {
  width:65px;
  height:65px;
  border-radius:50%;
  background: rgba(13,71,161,0.1);
  display: flex;
  align-items:center;
  justify-content: center;
  margin:0 auto 1rem;
  color: var(--color-main);
  font-size:24px;
  transition:0.3s;
}
.advantage-item:hover .icon-box {
  background: var(--color-main);
  color:#fff;
}
.fade-in {
  opacity:0;
  transform: translateY(30px);
  transition: 0.8s ease;
}
.fade-in.show {
  opacity:1;
  transform: translateY(0);
}
.btn-custom {
  background: var(--color-sub);
  color:#fff;
}
.btn-custom:hover {
  background: #e56000;
  color:#fff;
}
.text-main {
  color: var(--color-main);
}
.text-sub {
  color: var(--color-sub);
}
footer {
  background: #0F172A;
  color:#fff;
  padding-top:3rem;
}
.footer-link {
  color:#ccc;
}
.footer-link:hover {
  color:var(--color-sub);
  text-decoration:none;
}
.video-bg{
  position: relative;
}
.video-bg video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.color-f{
  color: #fff !important;
}
.x-card{
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ba-f{
  background: rgba(255,255,255,.3);
}
.bor-f{
  border-color: #fff;
}

@media (min-width: 768px) {
  .col-md-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
  }
  .carousel-item {
    height: 80vh !important;
    min-height: 500px;
  }
  /* .carousel-caption {
    z-index:2;
    bottom: 35%;
  } */
}

/* 核心优势排版 */
.advantage-item {
  padding: 20px;
  height: 100%;
}
.icon-box {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 50%;
  background: #007bff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  flex-shrink: 0;
}
.advantage-item h6 {
  font-size: 16px;
  margin-bottom: 6px;
}
.advantage-item p {
  line-height: 1.5;
}
#advantage {
  position: relative;
  z-index: 999999; 
  .container{
    position: relative;
  z-index: 999999; 
    transform: translateY(-115px);
  }
  .advantage-item {
    background: #fff;
    padding: 32px 28px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;

    &:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 22px rgba(0,0,0,0.09);
    }
  }

  .icon-box {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 50%;
    background: #e0e7f1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    i {
      color: #fff;
      font-size: 28px;
    }
    img{
      width: 50%;
    }
  }

  .advantage-content {
    flex: 1;

    h6 {
      font-size: 20px;
      color: #1956bb;
      margin-bottom: 10px;
    }

    p {
      line-height: 1.7;
    }
  }

  @media (max-width: 991px) {
    .advantage-item {
      padding: 26px 22px;
    }
    .icon-box {
      width: 62px;
      height: 62px;
      min-width: 62px;
      i {
        font-size: 24px;
      }
    }
  }

  @media (max-width: 767px) {
    .col-md-6 {
      max-width: 100%;
    }
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: 0.6s ease;
  &.show {
    opacity: 1;
    transform: translateY(0);
  }
}

.advantage-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  width: 100%;
  height: 100%;
  gap: 24px;
  transition: all 0.3s ease;

  &:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  }
}

.icon-box {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: 50%;
  background-color: #194fbb;
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin: 0; */

  i {
    color: #fff;
    font-size: 32px;
    line-height: 1;
  }
}

.advantage-text {
  flex: 1;

  h6 {
    font-size: 22px;
    color: #222;
    line-height: 1.4;
  }

  p {
    font-size: 16px;
    color: #888;
    line-height: 1.6;
  }
}

@media (max-width: 768px) {
  .advantage-item {
    padding: 24px;
    gap: 18px;
  }
  .icon-box {
    width: 68px;
    height: 68px;
    min-width: 68px;
    i {
      font-size: 26px;
    }
  }
  .advantage-text h6 {
    font-size: 19px;
  }
}

@media (min-width: 1024px) {
  .scale{
    transform: scale(1.1);
  }
  .pad0{
    padding-left:0;
  }
}