* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


#hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  background:  #051243;
  mix-blend-mode: screen;
  overflow: hidden;
}


.hero-text {
  position: absolute;
  top: 82%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 50;
  width: 90%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 2vw, 20px);
}

.text-line1 {
  color: #FFF;
  text-align: center;
  text-shadow: 0 0 48px rgba(7, 14, 39, 0.4);
  -webkit-text-stroke-width: 0.5px;
  -webkit-text-stroke-color:  #FFF;
  font-size: clamp(14px, 2.5vw, 24px);
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
}

.text-line2 {
  color: #FFF;
  text-align: center;
  font-size: clamp(28px, 5vw, 68px);
  font-weight: 600;
  line-height: 1.2;
}

.carousel-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-item {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url('../images/index/img-hero-bg.png');
  background-size: cover;
  background-position: center;
  display: none;
}

.carousel-item.active {
  display: block;
}


.carousel-dots {
  position: absolute;
  bottom: clamp(15px, 3vw, 20px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: clamp(6px, 1.5vw, 10px);
  z-index: 10;
}

.dot {
  width: clamp(24px, 4vw, 40px);
  height: clamp(6px, 1vw, 8px);
  background:  #FFF;
  opacity: 0.4;
  transition: all 0.4s ease;
  cursor: pointer;
}

.dot.active {
  width: clamp(48px, 8vw, 80px);
  opacity: 1;
}
.scroll-text {
  position: absolute;
  left: clamp(20px, 4vw, 43px);
  bottom: clamp(80px, 15vw, 125px);
  z-index: 60;
  color: #FFF;
  font-size: clamp(12px, 1.5vw, 16px);
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  transform: rotate(-90deg);
  transform-origin: left center;
}

.scroll-line {
  position: absolute;
  left: clamp(30px, 6vw, 62px);
  bottom: 0;
  z-index: 60;
  width: 1px;
  height: clamp(100px, 20vw, 180px);
  background: rgba(255,255,255,0.2);
  overflow: hidden;
}

.scroll-line::before {
  content: "";
  width: 100%;
  height: 100%;
  background: #fff; 
  position: absolute;
  top: 0;
  left: 0;
  animation: eyecatch-scroll 2.1s cubic-bezier(0.860, 0.000, 0.070, 1.000) 0s infinite;
  -webkit-animation: eyecatch-scroll 2.1s cubic-bezier(0.860, 0.000, 0.070, 1.000) 0s infinite;
}

@keyframes eyecatch-scroll {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

@-webkit-keyframes eyecatch-scroll {
  0% {
    -webkit-transform: translateY(-100%);
  }
  100% {
    -webkit-transform: translateY(100%);
  }
}

#banner-section {
  width: 100%;
  padding: clamp(40px, 8vw, 100px) clamp(30px, 5vw, 50px) clamp(60px, 10vw, 120px);
  min-height: 400px;
  background-image: url('../images/index/img-banner.png');
  background-size: cover;
}

#banner-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.banner-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.banner-left {
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-office-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin-right:120px;
}

.banner-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.banner-title-en {
color:  #0068B6;
font-size: 64px;
font-style: italic;
font-weight: 900;
line-height: 80px;
opacity: 0.1;
}

.banner-title-ja ,
.banner-subtitle{
color:  #051243;
font-size: 32px;
font-weight: 500;
line-height: 44px; 
}

.banner-line {
  width: 60px;
  height: 3px;
  background:  #051243;
  margin: 5px 0;
}


.banner-description {
color:  #051243;
font-size: 18px;
font-weight: 400;
line-height: 32px;
}

.banner-stat-box {
  background: linear-gradient(265deg, #1892EE 5.11%, #0032D6 93.64%);
  padding: 10px 24px 16px 24px;
  margin-top: 10px;
  width: 381px;
}

.banner-stat-text {
color:  #FFF;
font-size: 18px;
font-weight: 400;
line-height: 30px; 
}

.banner-stat-text .highlight-large {
color:  #FFF;
font-size: 24px;
font-weight: 600;
line-height: 30px;
}

@media (max-width: 968px) {
  .banner-content {
    flex-direction: column;
    padding: clamp(20px, 4vw, 40px);
  }
  
  .banner-left {
    flex: 0 0 auto;
    width: 100%;
  }
  
  .banner-office-image {
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
  }
  
  .banner-right {
    width: 100%;
  }
  
  .banner-title-en {
    font-size: 48px;
    line-height: 60px;
  }
  
  .banner-title-ja,
  .banner-subtitle {
    font-size: 26px;
    line-height: 36px;
  }
  
  .banner-description {
    font-size: 16px;
    line-height: 28px;
  }
  
  .banner-stat-box {
    width: 100%;
    max-width: 381px;
  }
}

@media (max-width: 768px) {
  #banner-section {
    padding: clamp(30px, 6vw, 50px) clamp(16px, 4vw, 24px) clamp(40px, 8vw, 80px);
  }
  
  .banner-content {
    padding: clamp(15px, 3vw, 30px);
  }
  
  .banner-office-image {
    max-width: 280px;
    margin-bottom: 20px;
  }
  
  .banner-title-en {
    font-size: 36px;
    line-height: 44px;
  }
  
  .banner-title-ja,
  .banner-subtitle {
    font-size: 22px;
    line-height: 30px;
  }
  
  .banner-description {
    font-size: 14px;
    line-height: 24px;
  }
  
  .banner-stat-box {
    padding: 8px 16px 12px 16px;
  }
  
  .banner-stat-text {
    font-size: 14px;
    line-height: 24px;
  }
  
  .banner-stat-text .highlight-large {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  #banner-section {
    padding: 20px 16px 40px;
  }
  
  .banner-title-en {
    font-size: 28px;
    line-height: 36px;
  }
  
  .banner-title-ja,
  .banner-subtitle {
    font-size: 18px;
    line-height: 26px;
  }
  
  .banner-description {
    font-size: 13px;
    line-height: 22px;
  }
  
  .banner-stat-text {
    font-size: 13px;
    line-height: 22px;
  }
  
  .banner-stat-text .highlight-large {
    font-size: 16px;
  }
}

#services-section {
  width: 100%;
  padding: clamp(30px, 5vw, 40px) clamp(30px, 5vw, 40px) clamp(60px, 10vw, 120px);
  background-color: #ffffff;
  background-image: url('../images/index/img-services-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.services-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

#services-section .section-header {
  text-align: left;
  margin-bottom: clamp(30px, 5vw, 50px);
  position: relative;
  padding-left: 10px;
}

#services-section .title-en {
  color: #0068B6;
  font-size: clamp(32px, 6vw, 64px);
  font-style: italic;
  font-weight: 900;
  line-height: 1.2;
  opacity: 0.1;
  text-align: left;
}

#services-section .title-ja {
  color:  #051243;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
}


.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 3vw, 30px);
  grid-auto-rows: 1fr;  
}

.service-grid a {
  text-decoration: none;
  height: 100%; 
}

/* 大于1024px时显示3列 */
@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: #ffffff;
  padding: clamp(16px, 3vw, 24px);
  box-shadow: 0 4px 15 rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%; 
  gap: clamp(8px, 1.5vw, 12px);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.card-top h4 {
  color: #051243;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 500;
  line-height: 1.3;
}


.card-icon {
  flex-shrink: 0;
  width: clamp(50px, 8vw, 80px);
  height: clamp(50px, 8vw, 80px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.service-card p {
  color:  #051243;
  font-size: clamp(12px, 1.5vw, 14px);
  font-weight: 400;
  line-height: 1.6;
}

#about-section {
  width: 100%;
  background-color: #ffffff;
  padding: clamp(50px, 8vw, 100px) 0 clamp(80px, 12vw, 150px) 0;
}

.about-container {
  width: 100%;
  margin: 0 auto;
}


#about-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

#about-section .title-en {
  color: #0068B6;
  font-size: 64px;
  font-style: italic;
  font-weight: 900;
  line-height: 80px;
  opacity: 0.1;
  text-align: center;
  margin: 0;
}

#about-section .title-ja {
  color: #051243;
  text-align: center;
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: 48px;
  margin: 0;
}


.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0;
}


.about-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}


.about-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nav > .nav-item > .nav-link.active {
  color: #0032D6 !important;
}
.nav > .nav-item > .nav-link.active::after {
  transform: scaleX(1) !important;
  bottom: -8px !important;
  height: 2px !important;
  background: linear-gradient(265deg, #1892EE 5.11%, #0032D6 93.64%) !important;
}

.dropdown-menu a::after,
.lang-menu a::after {
  display: none !important;
}

.card-mask {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: clamp(50px, 8vw, 72px);
  z-index: 1;
    opacity: 0.9;
}

.about-card:nth-child(1) .card-mask {
  background: linear-gradient(265deg, #1892EE 5.11%, #0032D6 93.64%);
}

.about-card:nth-child(2) .card-mask {
  background: radial-gradient(58.66% 175.16% at 50% 100%, #0A6CCB 0%, #051243 100%);
}

.card-info {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: clamp(50px, 8vw, 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  z-index: 2;
}

.card-text {
  color: #fff;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 500;
  white-space: nowrap;
  line-height: 32px;
}

.arrow-icon {
  width: clamp(12px, 1.5vw, 16px);
  height: clamp(12px, 1.5vw, 16px);
  object-fit: contain;
  transition: transform 0.3s ease;
}
.about-card:hover .arrow-icon {
  transform: translateX(10px); 
}

/* 响应式媒体查询 */
@media (max-width: 1200px) {
  .services-container {
    padding: 0 clamp(20px, 4vw, 40px);
  }
}

@media (max-width: 768px) {
  #hero-carousel {
    height: clamp(400px, 80vh, 600px);
  }
  
  .hero-text {
    width: 95%;
    padding: 0 15px;
  }
  
  .scroll-text,
  .scroll-line {
    display: none;
  }
  
  #services-section {
    padding: clamp(20px, 4vw, 30px) clamp(15px, 3vw, 20px) clamp(40px, 6vw, 60px);
  }
  
  .service-grid {
    grid-template-columns: 1fr;
    gap: clamp(12px, 2.5vw, 20px);
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .card-mask,
  .card-info {
    height: clamp(45px, 7vw, 60px);
  }
}

@media (max-width: 480px) {
  #hero-carousel {
    height: clamp(350px, 70vh, 500px);
  }
  
  .text-line2 {
    font-size: clamp(20px, 4.5vw, 28px);
  }
  
  .carousel-dots {
    bottom: 10px;
  }
  
  .dot {
    width: clamp(18px, 5vw, 24px);
    height: 6px;
  }
  
  .dot.active {
    width: clamp(36px, 10vw, 48px);
  }
  
  #about-section {
    padding: clamp(30px, 6vw, 50px) 0 clamp(50px, 10vw, 80px) 0;
  }
}
/* banner 滚动出现动画 */
#banner-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

#banner-section.visible {
  opacity: 1;
  transform: translateY(0);
}