* {
  margin: 0;
  padding: 0;
}
body,
#app {
  height: 100%;
  background: #f4f5f6;
  color: #2b2e4a;
}
#header {
  height: 80px;
  width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#logo {
  height: 80px;
  width: 149px;
  height: 22px;
}
#nav {
  height: 80px;
  width: 720px;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#nav a {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
#introduce {
  /* background: #ffffff; */
  display: flex;
  align-items: center;
  height: 250px;
}
.introduce-content {
  width: 1200px;
  margin: 0 auto;
}
.introduce-content h1 {
    font-size: inherit; /* 重置字体大小 */
    color: inherit; /* 继承父元素的文字颜色 */
    font-weight: 600;
}
.introduce-content div {
  font-weight: 600;
  font-size: 56px;
}
.introduce-content div span {
  color: #3742fa;
}
.introduce-content div:nth-child(2) {
  font-size: 16px;
  font-weight: 400;
  margin: 20px 0;
}

#main {
  background: url("../static/index/watermark.png") no-repeat 220px 1000px;
  background-size: 800px 130px;
}

.main-recommend {
  width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  gap: 40px;
  height: 630px;
  margin-top: 90px;
}
.main-recommend > div:first-child {
  flex: 1;
  background: #ffffff;
  border-radius: 26px;
  padding: 60px 24px;
  font-weight: 300;
  font-size: 16px;
  height: 100%;
  box-sizing: border-box;
}
.main-recommend > div:first-child > div:first-child {
  font-weight: 600;
  font-size: 40px;
  color: #000000;
  padding-bottom: 70px;
}
.main-recommend > div:last-child {
  width: 500px;
  background: #ffffff;
  border-radius: 26px;
  padding: 60px 24px;
  height: 100%;
  box-sizing: border-box;
}
.main-recommend > div:last-child > div:first-child {
  font-weight: 600;
  font-size: 40px;
  color: #000000;
  padding-bottom: 30px;
}
.main-recommend .recommend-info > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 42px;
  font-weight: 600;
  font-size: 16px;
  color: #000000;
}
.main-recommend .recommend-info > div > div:first-child {
  font-weight: 400;
  color: #8c8c8c;
}

.main-course {
  width: 1280px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 26px;
  padding: 60px 40px;
  box-sizing: border-box;
}
.main-course .course-content {
  position: relative;
}
.course-content .course-line {
  position: absolute;
  top: 0;
  left: 5px;
  height: 100%;
  background: #1677ff;
  padding-left: 3px;
}    
.course-line div {
  width: 8px;
  height: 8px;
  background: #1677ff;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: -2px;
}
.course-content .course-line>div:nth-child(2) {
  top: 27%;
}
.course-content .course-line>div:nth-child(3) {
  top: 57%;
} 
.course-content .course-line>div:nth-child(4) {
  top: 86%;
} 

.main-team {
  width: 1280px;
  margin: 0 auto;
}
.main-team>div:first-child,
.main-team>div:last-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.main-team>div:last-child{
    margin-top: 30px;
}
.main-team>div:first-child img,.main-team>div:last-child img {
  width: 40px;
  height: 40px;
}
.main-team>div:first-child>div,.main-team>div:last-child>div {
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 26px;
  padding: 44px 24px;
  display: flex;
  flex-direction: column;
   flex: 1;
}

.main-team>div:first-child>div>div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.main-team>div:first-child>div>div:first-child div{
    padding: 14px 30px;
    background: #EAEBFE;
    border-radius: 24px;
    font-weight: 600;
font-size: 14px;
color: #3742FA;
}
.main-team>div:first-child>div>div:nth-child(2),.main-team>div:last-child>div>div:nth-child(2){
  font-weight: 600;
  font-size: 20px;
  color: #000000;
  margin: 16px 0;
}
.main-team>div:first-child>div>div:nth-child(3) ,.main-team>div:last-child>div>div:nth-child(3) {
  font-size: 16px;
  color: #2b2e4a;
  line-height: 24px;
}





.main-course > div:first-child {
  font-weight: 600;
  font-size: 20px;
  color: rgba(0, 0, 0, 0.85);
  padding-bottom: 23px;
}
.course-content > div {
  padding-left: 30px;
  height: 150px;
  /* display: flex;
  flex-direction: column;
  gap: 23px; */
}
.course-content > div:last-child {
  height: auto;
}
.course-content > div > div:first-child {
  font-weight: 600;
  font-size: 14px;
  color: #3742fa;
}
.course-content > div > div:nth-child(2) {
  font-weight: 600;
  font-size: 18px;
  color: #000000;
  line-height: 20px;
  margin: 6px 0;
}
.course-content > div > div:nth-child(3) {
  font-weight: 300;
  font-size: 14px;
  color: #2b2e4a;
  line-height: 20px;
}

.main-title {
  padding-top: 90px;
  font-weight: 600;
  font-size: 56px;
  color: #2b2e4a;
  line-height: 72px;
  text-align: center;
}
.main-title span {
  color: #3742fa;
  display: inline-block;
  margin-left: 30px;
}
.main-desc {
  /* font-weight: 500; */
  font-size: 16px;
  color: #2b2e4a;
  line-height: 24px;
  text-align: center;
  padding-top: 16px;
  padding-bottom: 70px;
}
.main-desc h3,.main-title h2  {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: 0;
}
.main-core {
  margin: 0 auto 85px;
  width: 1280px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
}
.main-core > div {
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 26px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  /* justify-content: center;
  align-items: center; */
}
.main-core > div img {
  width: 40px;
  height: 40px;
}
.main-core > div div:nth-child(2) {
  font-weight: 600;
  font-size: 20px;
  color: #000000;
  margin: 16px 0;
}
.main-core > div div:nth-child(3) {
  font-size: 16px;
  color: #2b2e4a;
  line-height: 24px;
}

.main-certification {
  width: 1280px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 26px;
  padding: 80px 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}
.certification-show {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 20px;
}
.certification-show > div {
  width: 186px;
  /* height: 92px; */
  background: #f7f8f9;
  border-radius: 8px;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px 0;
}
.certification-show > div:nth-child(-n+9) {
  grid-column: span 2;
}
/* .certification-show > div:nth-child(n+10):nth-child(-n+11) {
  grid-column: span 3;
   width:100%;
} */
.certification-show > div > div {
  font-weight: 300;
  font-size: 12px;
  color: #2b2e4a;
}
.certification-show > div > div:first-child {
  font-weight: 600;
  font-size: 18px;
  color: #3742fa;
  padding-bottom: 3px;
}
.certification-show img{
  width: auto;
  height: 70px;
}
.certification-introduce {
  flex: 1;
  padding-left: 100px;
}
.certification-introduce > div:first-child {
  font-weight: 600;
  font-size: 56px;
  line-height: 64px;
}
.certification-introduce > div:nth-child(2) {
  font-weight: 600;
  font-size: 16px;
  margin: 14px 0 40px;
}
.certification-introduce > div:nth-child(3) {
  height: 52px;
  border-radius: 24px;
  border: 2px solid #3742fa;
  padding: 14px 70px;
  width: fit-content;
  box-sizing: border-box;
  color: #3742fa;
  letter-spacing: 1px;
  font-size: 14px;
}

.main-consult {
  padding: 50px 74px 50px;
  margin-top: 40px;
  width: 1280px;
  margin: 0 auto;
  background: linear-gradient( 90deg, #324FBC 0%, #4D71F8 70.63%, #496EF6 100%);
  border-radius: 26px;
  box-sizing: border-box;
  display: flex;
  font-size: 16px;
  color: #ffffff;
}
.consult-content {
  flex: 1;
}
.consult-content > div:first-child {
  font-weight: 600;
  font-size: 56px;
  line-height: 64px;
}
.consult-content > div:nth-child(2) {
  font-weight: 600;
  padding: 20px 0 27px;
}
.consult-phone {
  font-weight: 400;
  line-height: 26px;
}
.consult-btn {
  width: 230px;
  height: 52px;
  line-height: 52px;
  border-radius: 26px;
  /* border: 2px solid #3742fa; */
  text-align: center;
  color: #3742fa;
  box-sizing: border-box;
  align-self: end;
  background: #FFFFFF;
}
.consult-btn a {
  color: #3742fa;
  text-decoration: none;
}

.footer {
  margin-top: 80px;
  background: #ffffff;
}
.footer > div:first-child {
  display: flex;
  justify-content: space-between;
  width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
  padding-top: 80px;
  padding-bottom: 40px;
  border-bottom: 1px solid #979797;
}
.footer > div:first-child img {
  width: 130px;
  height: 20px;
}
.footer > div:first-child > div {
  width: 360px;
}
.footer > div:first-child > div > div {
  font-size: 12px;
  line-height: 24px;
}
.footer > div:first-child > div > div:first-child {
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 20px;
}
.footer > div:last-child {
  text-align: center;
  font-weight: bold;
  font-size: 12px;
  color: #6e6f81;
  padding: 20px 0;
}
.footer > div:last-child a {
  color: inherit;
  text-decoration: none;
}
.footer > div:first-child .footer-middle{
  width: 140px;
}

.footer-middle>div:not(:first-child){
  cursor: pointer;
}
.footer-middle>div:not(:first-child):hover{
  color: #1677ff;
}
.footer-middle a {
  color: inherit;
  text-decoration: none;
}
#nav a:hover{
  color: #3742fa;
}
/* 桌面端隐藏汉堡按钮 */
#nav-toggle {
  display: none;
}
.nav-toggle-btn {
  display: none;
}

@media (min-width: 992px){
  .head-bg{
    background: url('../static/index/headerBackground.webp') no-repeat 0 0;
    background-size: 100% auto;
  }
}

/* 平板及移动端导航折叠菜单 (≤991px) */
@media (max-width: 991px) {
  .nav-toggle-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 24px;
    cursor: pointer;
  }
  .nav-toggle-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background: #2b2e4a;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  /* 展开时汉堡按钮变为关闭图标 */
  #nav-toggle:checked ~ .nav-toggle-btn span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  #nav-toggle:checked ~ .nav-toggle-btn span:nth-child(2) {
    opacity: 0;
  }
  #nav-toggle:checked ~ .nav-toggle-btn span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  #header {
    position: relative;
    width: 100%;
    height: auto;
    padding: 16px 20px;
    box-sizing: border-box;
  }
  #logo {
    height: 22px;
  }
  #nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 15px;
    background: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 100;
  }
  #nav > a {
    display: block;
    width: 100%;
    padding: 14px 4px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
  }
  #nav > a:hover {
    background: #f4f5f6;
    color: #3742fa;
    padding-left: 14px;
  }
  #nav > a:last-child {
    border-bottom: none;
  }
  /* 勾选时展开导航 */
  #nav-toggle:checked ~ #nav {
    display: flex;
  }
}

/* 平板端适配 (768px - 991px) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  #introduce {
    height: auto;
    padding: 48px 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f5f6 100%);
  }
  .introduce-content {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
  .introduce-content div {
    font-size: 40px;
    line-height: 56px;
    margin: 0 auto;
  }
  .introduce-content div:nth-child(2) {
    font-size: 14px;
    line-height: 24px;
    margin: 16px 0 0;
    padding: 0 24px;
  }
  .main-title {
    font-size: 40px;
    line-height: 56px;
    padding: 56px 24px 0;
  }
  .main-desc {
    width: 90%;
    padding-bottom: 48px;
  }
  .main-recommend {
    width: 100%;
    flex-direction: column;
    height: auto;
    padding: 0 24px;
    box-sizing: border-box;
    gap: 24px;
    margin-top: 56px;
  }
  .main-recommend > div:first-child {
    width: 100%;
    padding: 36px 28px;
  }
  .main-recommend > div:first-child > div:first-child {
    font-size: 28px;
    padding-bottom: 24px;
  }
  .main-recommend > div:last-child {
    width: 100%;
    padding: 36px 28px;
  }
  .main-recommend > div:last-child > div:first-child {
    font-size: 28px;
    padding-bottom: 20px;
  }
  .main-recommend .recommend-info > div {
    line-height: 36px;
    font-size: 14px;
  }
  .main-course {
    width: calc(100% - 48px);
    padding: 40px 32px;
  }
  .course-content > div {
    height: 130px;
  }
  .main-team {
    width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
  }
  .main-team > div:first-child,
  .main-team > div:last-child {
    gap: 20px;
  }
  .main-team > div:first-child > div,
  .main-team > div:last-child > div {
    padding: 32px 22px;
  }
  .main-certification {
    width: calc(100% - 48px);
    flex-direction: column;
    padding: 48px 32px;
    gap: 36px;
  }
  .certification-show {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 16px;
  }
  .certification-show img {
    height: 50px;
  }
  .certification-show > div {
    width: 100%;
    padding: 14px 24px;
  }
  .certification-show > div:nth-child(-n+9) {
    grid-column: span 1;
  }
  .certification-show > div:nth-child(n+10):nth-child(-n+11) {
    grid-column: span 3;
  }
  .certification-introduce {
    padding-left: 0;
    text-align: center;
  }
  .certification-introduce > div:first-child {
    font-size: 40px;
    line-height: 52px;
  }
  .certification-introduce > div:nth-child(3) {
    margin: 0 auto;
  }
  .main-core {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    padding: 0 24px;
    box-sizing: border-box;
    grid-gap: 16px;
  }
  .main-consult {
    width: calc(100% - 48px);
    flex-direction: column;
    align-items: stretch;
    padding: 48px 28px;
    gap: 32px;
    text-align: center;
  }
  .consult-content > div:first-child {
    font-size: 40px;
    line-height: 52px;
  }
  .consult-btn {
    align-self: center;
  }
  .footer > div:first-child {
    width: 100%;
    padding: 48px 24px;
    flex-wrap: wrap;
    gap: 32px;
  }
  .footer > div:first-child > div {
    width: 45%;
  }
  .footer > div:first-child .footer-middle {
    width: 45%;
   }
}

/* 移动端适配 (<768px) */
@media (max-width: 767px) {
  #introduce {
    height: auto;
    padding: 32px 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f5f6 100%);
  }
  .introduce-content {
    width: 100%;
    box-sizing: border-box;
  }
  .introduce-content div {
    font-size: 26px;
    line-height: 38px;
    text-align: center;
  }
  .introduce-content div:nth-child(2) {
    font-size: 14px;
    line-height: 24px;
    margin: 14px 0 0;
  }
  .main-title {
    font-size: 26px;
    line-height: 38px;
    padding: 40px 16px 0;
  }
  .main-title span {
    display: block;
    margin-left: 0;
    margin-top: 8px;
  }
  .main-desc {
    width: 92%;
    font-size: 14px;
    padding: 12px 0 36px;
  }
  .main-recommend {
    width: 100%;
    flex-direction: column;
    height: auto;
    padding: 0 16px;
    box-sizing: border-box;
    gap: 16px;
    margin-top: 40px;
  }
  .main-recommend > div:first-child {
    width: 100%;
    padding: 28px 20px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 24px;
  }
  .main-recommend > div:first-child > div:first-child {
    font-size: 22px;
    padding-bottom: 18px;
  }
  .main-recommend > div:last-child {
    width: 100%;
    padding: 28px 20px;
    border-radius: 18px;
  }
  .main-recommend > div:last-child > div:first-child {
    font-size: 22px;
    padding-bottom: 16px;
  }
  .main-recommend .recommend-info > div {
    line-height: 32px;
    font-size: 13px;
  }
  .main-course {
    width: calc(100% - 32px);
    padding: 28px 18px;
    border-radius: 18px;
  }
  .main-course > div:first-child {
    font-size: 18px;
    padding-bottom: 18px;
  }
  .course-content > div {
    height: 160px;
    padding-left: 22px;
  }
  .course-content > div > div:nth-child(2) {
    font-size: 16px;
  }
  .course-content > div > div:nth-child(3) {
    font-size: 13px;
    line-height: 22px;
  }
  .course-content .course-line>div:nth-child(2) {
        top: 25%;
  }
  .course-content .course-line>div:nth-child(3) {
        top: 51%;
  }
  .course-content .course-line>div:nth-child(4) {
        top: 77%;
  }
  .main-team {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }
  .main-team > div:first-child,
  .main-team > div:last-child {
    display: flex;
    gap: 16px;
  }
  .main-team > div:first-child {
    flex-direction: column;
  }
  .main-team > div:first-child > div {
    flex: none;
  }
  .main-team > div:last-child img {
    width: 28px;
    height: 28px;
  }
  .main-team > div:last-child {
    align-items: stretch;
  }
  .main-team > div:last-child>div{
    min-height: 160px;
  }
  .main-team > div:first-child > div,
  .main-team > div:last-child > div {
    padding: 28px 20px;
    border-radius: 18px;
  }
  .main-team > div:first-child > div > div:first-child div {
    padding: 10px 20px;
    font-size: 13px;
  }
  .main-team > div:first-child > div > div:nth-child(2),
  .main-team > div:last-child > div > div:nth-child(2) {
    font-size: 18px;
    margin: 12px 0;
  }
  .main-team > div:first-child > div > div:nth-child(3),
  .main-team > div:last-child > div > div:nth-child(3) {
    font-size: 14px;
    line-height: 24px;
  }
  .main-certification {
    width: calc(100% - 32px);
    flex-direction: column;
    padding: 32px 18px;
    border-radius: 18px;
    gap: 28px;
  }
  .certification-show {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 12px;
  }
  .certification-show img {
    height: 30px;
  }
  .certification-show > div {
    width: 100%;
    /* height: 84px; */
    padding: 10px 20px;
  }
  .certification-show > div:nth-child(-n+9) {
    grid-column: span 1;
  }
  .certification-show > div:nth-child(n+10):nth-child(-n+11) {
    grid-column: span 3;
  }
  .certification-show > div > div:first-child {
    font-size: 16px;
  }
  .certification-show > div > div {
    font-size: 11px;
  }
  .certification-introduce {
    padding-left: 0;
    text-align: center;
  }
  .certification-introduce > div:first-child {
    font-size: 26px;
    line-height: 38px;
  }
  .certification-introduce > div:nth-child(2) {
    font-size: 14px;
    margin: 12px 0 24px;
  }
  .certification-introduce > div:nth-child(3) {
    margin: 0 auto;
  }
  .main-core {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    padding: 0 16px;
    box-sizing: border-box;
    grid-gap: 12px;
    margin-bottom: 40px;
  }
  .main-core > div {
    padding: 18px 16px;
    border-radius: 18px;
  }
  .main-core > div div:nth-child(2) {
    font-size: 18px;
    margin: 12px 0;
  }
  .main-core > div div:nth-child(3) {
    font-size: 13px;
  }
  .main-consult {
    width: calc(100% - 32px);
    margin: 32px auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: 36px 20px;
    border-radius: 18px;
    gap: 22px;
    text-align: center;
  }
  .consult-content > div:first-child {
    font-size: 26px;
    line-height: 38px;
  }
  .consult-content > div:nth-child(2) {
    font-size: 14px;
  }
  .consult-btn {
    width: 50%;
    align-self: center;
  }
  .footer {
    margin-top: 56px;
  }
  .footer > div:first-child {
    width: 100%;
    flex-direction: column;
    padding: 36px 20px;
    gap: 28px;
  }
  .footer > div:first-child > div {
    width: 100%;
  }
  .footer > div:first-child .footer-middle {
    width: 100%;
  }
  .footer > div:last-child {
    padding: 16px 20px;
    font-size: 11px;
    line-height: 18px;
  }
}
