*{
  margin: 0;
  padding: 0;
}


/* ================ 多端兼容=========== */
.footer .container{
  display: block;
}

.container{
  max-width: 1466px;
  padding: 0 50px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}


/* ============= 通用样式 ============ */

.flex{
  display: flex;
  align-items: center;
}
.flex-between{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.text-center{
  text-align: center;
}
.bg-blue{
  background-color: #1d376d;
  color: #fff;
}

/* =========== header =========== */

.headerNavItem{
  cursor: pointer;
}
.header{
  height: 120px;

  /* background-color: aquamarine; */
  position: fixed;
  top: 0;
  width: 100vw;
  background-color: #002C63;
  /* opacity: 0.65; */

  z-index: 100;
  margin-top: 0;

}

.headerNav{
  color: #fff;
}
.headerNavItem{
  margin-left: 52px;
  font-size: 18px;
  position: relative;
}
.headerNavItem--hasSub {
  display: flex;
  align-items: center;
}
.headerNavItemLabel {
  display: inline-flex;
  align-items: center;
}
.headerSubMenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -6px);
  margin-top: 0;
  background: rgba(0, 44, 99, 0.96);
  border-radius: 10px;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  min-width: 180px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease-out, transform 0.22s ease-out;
}
.headerSubGroup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 20px;
}
.headerSubGroup + .headerSubGroup {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.headerSubGroupTitle {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  cursor: pointer;
}
.headerSubItem {
  font-size: 14px;
  opacity: 0.8;
  cursor: pointer;

  margin-left: 10px;
}
.headerSubItem + .headerSubItem {
  margin-top: 4px;
}
.headerSubItem:hover,
.headerSubGroupTitle:hover {
  opacity: 1;
}
@media (min-width: 992px) {
  .headerNavItem--hasSub:hover .headerSubMenu,
  .headerSubMenu:hover {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
}

.globeIcon{
  width: 24px;
}

/* 汉堡菜单按钮 - 平板/手机显示 */
.headerMenuBtn {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.headerMenuBtn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}
.headerMenuBtn.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.headerMenuBtn.open span:nth-child(2) {
  opacity: 0;
}
.headerMenuBtn.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
@media (max-width: 991px) {
  .headerMenuBtn {
    display: flex;
  }
}
@media (min-width: 992px) {
  .headerMenuBtn {
    display: none !important;
  }
}

.logoIcon{
  height: 53px;
  width: 113px;
  margin-right: 76px;
}


/* ============ Footer 底部栏 ============ */
.footer{
  background-color: #f0f6ff;
  padding: 60px 0 30px;
}

.footerTop{
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
}

.footerColumn{
  flex: 1;
  display: flex;
  flex-direction: column;
}

.footerLogo{
  height: 35px;
  width: 71px;
  /* width: auto; */
  margin-bottom: 24px;
}

.footerMainNav{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footerNavLink{
  font-size: 16px;
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.footerNavLink:hover{
  color: #002C63;
}

.footerColumnTitle{
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
  text-decoration: none;
}

.footerColumnLinks{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footerColumnLink{
  font-size: 14px;
  color: #666;
  text-decoration: none;
  line-height: 1.6;
  transition: color 0.2s ease-in-out;
}

.footerColumnLink:hover{
  color: #002C63;
}

.footerColumnText{
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.footerDivider{
  height: 1px;
  background-color: #E5E5E5;
  margin: 30px 0;
}

.footerBottom{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
}

.footerCopyright{
  font-size: 14px;
  color: #999;
}

.footerIcp{
  font-size: 14px;
  color: #999;
}


/* ============ banner ============ */

.generalBanner{
  height: 590px;
  position: relative;
}

.digoBanner{
  height: unset;
  overflow: hidden;
}

.generalBannerVideo{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.generalBannerContainer{
  position: absolute;
  font-size:36px ;
  color: #fff;
  left: 50%;
  top: calc(50% + 60px);
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: left;
  white-space: nowrap;
}
.digoBannerContainer{

  font-size:36px ;
  margin-top: 300px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: left;
  white-space: nowrap;
  text-align: center;
  top: 800px ;
  color:#002C63 ;

}

.digoBannerContactUs{
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  background-color: #002C63;
  padding: 27px 77px;
  border-radius: 50px;
  cursor: pointer;
  max-width: 277px;
  margin: 100px auto 0;
}
.generalBannerTitle{
  font-size: 46px;
  font-weight: 700;
}
.digoBannerTitle{
  font-size: 48px;
  font-weight: bolder;
}

.generalBannerSubTitle{
  margin-top: 20px;
}


/* ============ 段落分割标题========= */
.paragraph{
  margin: 44px auto;
  text-align: center;
}
.paragraphTitle{
  font-size: 30px;
  font-weight: 700;
}
.paragraphSubTitle{
  font-size: 18px;
  font-weight: 400;
  color: #666;
  margin-top: 10px;
}

.sectionHeadLight .paragraphTitle,
.sectionHeadLight .paragraphSubTitle {
  color: #fff;
}

/* ============ 联系我们入口 ============ */
.contactUs {
  background: url('../assets/digo/contact_us_2x.png') center/cover no-repeat;
  padding: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin-top: 120px; */
}

.contactUsButton {
  font-size: 24px;
  font-weight: 300;
  color: #002c63;
  text-align: center;
  background-color: #fff;
  padding: 10px 30px;
  font-weight: bolder;
  border-radius: 30px;
  text-decoration: none;
}

/* ============ 响应式适配 ============ */
/* 断点: 大屏PC(>=1500) 小屏笔记本(992-1599) 平板(768-991) 手机(<768) */

/* 小屏笔记本 */
@media (max-width: 1499px) {
  .header{
    height: 60px;
  }
  .generalBanner {
    height: 380px;
  }
  .generalBannerContainer{
    top: calc(40% + 40px);
  }
  .generalBannerTitle {
    font-size: 32px;
  }
  .generalBannerSubTitle {
    font-size: 28px;
    margin-top: 16px;
  }
  .generalBannerContainer {
    font-size: 28px;
  }
  .container {
    padding: 0 24px;
  }
  .headerNavItem {
    margin-left: 36px;
    font-size: 12px;
  }
  .logoIcon {
    margin-right: 48px;
    height: 26px;
    width: 58px;
  }
  .globeIcon {
    width: 18px;
  }
  .paragraphTitle {
    font-size: 22px;
  }
  .paragraphSubTitle {
    font-size: 16px;
  }
  .contactUs {
    padding: 60px;
    /* margin-top: 80px; */
  }
  .contactUsButton {
    font-size: 20px;
    padding: 8px 24px;
  }
}

/* 平板 */
@media (max-width: 991px) {
  .container {
    padding: 0 20px;
  }
  .generalBanner {
    height: 400px;
  }
  .generalBannerTitle {
    font-size: 32px;
  }
  .generalBannerSubTitle {
    font-size: 24px;
    margin-top: 12px;
  }
  .generalBannerContainer {
    font-size: 24px;
    top: calc(50% + 40px);
  }
  .header {
    height: 80px;
  }
  .headerNav {
    display: none;
  }
  .headerNav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(0, 44, 99, 0.98);
    padding: 14px 14px 18px;
    gap: 0;
    z-index: 99;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .headerNav.open .headerNavItem {
    margin-left: 0;
    width: 100%;
    padding: 0;
    font-size: 16px;
    letter-spacing: 0.2px;
    border-radius: 10px;
    transition: background-color 0.18s ease;
  }
  .headerNav.open .headerNavItem + .headerNavItem {
    margin-top: 6px;
  }
  .headerNav.open .headerNavItem:active,
  .headerNav.open .headerNavItem:focus-within {
    background: rgba(255, 255, 255, 0.08);
  }

  /* 移动端二级菜单：改为折叠展开，避免 PC hover 逻辑导致无法点击 */
  .headerNav.open .headerNavItem--hasSub {
    flex-direction: column;
    align-items: flex-start;
  }
  .headerNav.open .headerNavItem--hasSub .headerNavItemLabel {
    /* width: 100%; */
    justify-content: space-between;
    padding: 14px 14px;
    border-radius: 10px;
    line-height: 22px;
    user-select: none;
  }
  .headerNav.open .headerNavItem--hasSub .headerNavItemLabel::after {
    content: '';
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-right: 2px solid rgba(255, 255, 255, 0.8);
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
    transform: rotate(45deg);
    transition: transform 0.18s ease;
    margin-left: 12px;
  }
  .headerNav.open .headerNavItem--hasSub.sub-open .headerNavItemLabel {
    background: rgba(255, 255, 255, 0.08);
  }
  .headerNav.open .headerNavItem--hasSub.sub-open .headerNavItemLabel::after {
    transform: rotate(225deg);
  }
  .headerNav.open .headerSubMenu {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    margin-top: 6px;
    padding: 10px 10px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    border-radius: 10px;
    min-width: 0;
    opacity: 1;
    pointer-events: auto;
    display: none;
    width: calc(100% - 28px);
    margin-left: 14px;
  }
  .headerNav.open .headerNavItem--hasSub.sub-open .headerSubMenu {
    display: flex;
  }
  .headerNav.open .headerSubGroup {
    padding: 10px 8px 6px;
  }
  .headerNav.open .headerSubGroup + .headerSubGroup {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .headerNav.open .headerSubGroupTitle,
  .headerNav.open .headerSubItem {
    opacity: 1;
  }
  .headerNav.open .headerSubGroupTitle {
    font-size: 14px;
    font-weight: 600;
    padding: 6px 8px 4px;
    line-height: 18px;
    color: rgba(255, 255, 255, 0.92);
  }
  .headerNav.open .headerSubItem {
    font-size: 13px;
    padding: 10px 8px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 18px;
    transition: background-color 0.18s ease;
  }
  .headerNav.open .headerSubItem:active {
    background: rgba(255, 255, 255, 0.08);
  }
  .logoIcon {
    margin-right: 0;
  }
  .footerTop {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
  .footer {
    padding: 48px 0 24px;
  }
  .paragraph {
    margin: 56px auto 40px;
  }
  .paragraphTitle {
    font-size: 24px;
  }
  .paragraphSubTitle {
    font-size: 15px;
  }
  .contactUs {
    padding: 48px 32px;
    margin-top: 60px;
  }
  .contactUsButton {
    font-size: 18px;
    padding: 8px 20px;
  }
}

/* 手机 */
@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }
  .generalBanner {
    height: 50vh;
    min-height: 300px;
  }
  .generalBannerTitle {
    font-size: 22px;
  }
  .generalBannerSubTitle {
    font-size: 16px;
    margin-top: 8px;
  }
  .generalBannerContainer {
    font-size: 16px;
    top: calc(50% + 24px);
  }
  .header {
    height: 64px;
  }
  .headerNav.open {
    top: 64px;
    padding: 16px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .logoIcon {
    height: 40px;
    width: 86px;
  }
  .globeIcon {
    width: 28px;
  }
  .footerTop {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding-bottom: 32px;
  }
  .footer {
    padding: 40px 0 20px;
  }
  .footerLogo {
    height: 30px;
    width: 60px;
  }
  .paragraph {
    margin: 40px auto 32px;
  }
  .paragraphTitle {
    font-size: 22px;
  }
  .paragraphSubTitle {
    font-size: 14px;
  }
  .contactUs {
    padding: 40px 20px;
    margin-top: 40px;
  }
  .contactUsButton {
    font-size: 16px;
    padding: 8px 16px;
  }
}

@media (max-width: 479px) {
  .generalBanner {
    height: 45vh;
    min-height: 280px;
  }
  .generalBannerTitle {
    font-size: 20px;
  }
  .generalBannerSubTitle {
    font-size: 14px;
  }
  .contactUs {
    padding: 32px 16px;
  }
  .contactUsButton {
    font-size: 14px;
    padding: 6px 14px;
  }
}