@charset "utf-8";
@font-face {
    font-family: 'HelveticaNeue';
    src: url(./font/Inter-Regular-9.otf);
}
@font-face {
    font-family: 'Inter';
    src: url(./font/Inter-VariableFont_opsz\,wght.ttf);
}
@font-face {
    font-family: 'poppins';
    src: url(./font/Poppins-Regular.ttf);
}
* {
  margin: 0;
  padding: 0;
}   
html,
body {
    font-family: Inter ,poppins,HelveticaNeue,Pingfang , Arial, sans-serif;;
  color: #000;
  height: 100%;
}
a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:any-link {
  color: unset;
}
ul,
li {
  list-style: none;
}
img{
  width: 100%;
}
.main {
  width: 100%;
}

.top-wrapper{
    background: #FFFAF0 url(images/bg.webp) no-repeat;
    background-size: 100% auto;
}
.top-content{
    margin-top: -1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0rem 3.6rem 1.4rem;
}
.top-content-left{
  flex:1;
  line-height: 0;
  margin-right: 0.35rem;
}
.top-content-info h1{
    width: 6.83rem;
    height: 1.7rem;
    font-weight: bold;
    font-size: 0.66rem;
    color: #000000;
    line-height: 0.82rem;
    text-align: left;
    font-style: normal;
    text-transform: none;
}
.top-content-info h3{
    font-family: Inter ,poppins,HelveticaNeue,Pingfang , Arial, sans-serif;
  font-size:clamp(21px, 8.816px + 1.62vw, 40px);
  line-height: 0.56rem;
  margin: 0.12rem 0 0.24rem;
  width: 5.1rem;
}
.top-content-right img{
    width: 6.03rem;
    height: 5.51rem;
    margin: 2rem 0 0 -3rem;
}
.info-txt{

    margin: 0.2rem 0 0.3rem;
    font-family: Inter ,poppins,HelveticaNeue,Pingfang , Arial, sans-serif;
  font-size:clamp(18px, 17px + 0.34vw, 21px);
  line-height: clamp(21px, 10.86px + 0.68vw, 24px);
  width: 4.89rem;
}
.btn{
  display: flex;
  line-height: 0;
}
.btn a{
width: 2rem;
  display: block;
}
.btn a:first-child{
  margin-right: 0.52rem;
}
.content-wrapper-inner{
    background-color: #fff;
  padding: 2rem 3.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.content-info{
  width: 4.6rem;
  font-size:clamp(16px, 13.44px + 0.34vw, 18px);
  line-height: 0.27rem;
}
.content-info p{
    font-family: Inter ,poppins,HelveticaNeue,Pingfang , Arial, sans-serif;
}
.content-info h4{
    font-family: Inter ,poppins,HelveticaNeue,Pingfang , Arial, sans-serif;
  font-size: clamp(22px, 18.16px + 0.51vw, 28px);
  line-height: 0.33rem;
  margin-bottom: 0.24rem;
}
.content-img{
  width: 5.8rem;
  line-height: 0;
}
.content-wrapper-gray{
  background: #F5F5F6 !important;
}
.content-info-r {
  width: 5.31rem;
}
.content-info-l{
  width: 4.19rem;
}




@media screen and (max-width: 1440px) {
    .info-txt{
        width: 6.49rem;
    }
   
    .top-content-info h3{
        width: 6.1rem;
    }
   
    .top-content-info{
        width: 10rem;
    }
    .content-info{
 line-height: 20px;
        
    }
    .top-content{
        padding: 1.3rem 2rem;
    }
    .content-info-l {
        width: 5.99rem;
    }
    .content-info h4 {
        line-height: 28px;
    
    }
    .content-wrapper-inner{
        padding: 2rem 2rem;
        justify-content: space-around;
    }
}



/* Tech Section Styles */
.tech-wrapper {
    padding: 2rem 3.6rem;
    text-align: center;
}

.tech-wrapper h2 {
    font-size: 0.36rem;
    margin-bottom: 0.5rem;
}

/* Company Section Styles */
.company-wrapper {
    padding: 2rem 3.6rem;
    text-align: center;
}

/* 最新课程模块样式 */
.courses-wrapper {
    padding: 1rem 3.6rem 1.4rem;
    background-color: #fff;
}

.courses-header {
    text-align: center;
    margin-bottom: 0.6rem;
}

.courses-header h2 {
    font-size: 0.4rem;
    font-weight: bold;
    color: #000;
    font-family: Inter, poppins, HelveticaNeue, Pingfang, Arial, sans-serif;
}

.courses-container {
    display: flex;
    gap: 0.5rem;
}

.course-card {
    cursor: pointer;
    width: 2.85rem;
    height: 3.67rem;
    border-radius: 0.12rem;
    overflow: hidden;
    box-shadow: 0 0.05rem 0.15rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-0.05rem);
}

.course-image {
    width: 100%;
    height: 2.85rem;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-info {
    padding: 0.18rem;
    background-color: #fff;
}

.course-info h3 {
    font-size: 0.18rem;
    font-weight: bold;
    color: #000;
    text-overflow: ellipsis; /* 超过部分显示省略号 */
    overflow: hidden; /* 隐藏超出部分 */
    max-width: 25ch; /* 限制最大宽度为20个字符的宽度 */
    white-space: nowrap; /* 防止换行 */
    line-height: 0.24rem;
    font-family: Inter, poppins, HelveticaNeue, Pingfang, Arial, sans-serif;
}

.course-date {
    display: flex;
    align-items: center;
    font-size: 0.13rem;
    color: #666;
}

.course-date img {
    width: 0.14rem;
    height: 0.14rem;
    margin-right: 0.05rem;
}

.view-all-container {
    width: 1.95rem;   
height: 3.67rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FFFFFF;
    box-shadow: 0px 2px 12px 0px rgba(0,0,0,0.25);
    border-radius: 12px 12px 12px 12px;
}

.view-all-button {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.18rem;
    font-weight: bold;
    color: #000;
    transition: color 0.3s ease;
}

.view-all-button:hover {
    color: #666;
}

.view-all-button img {
    width: 0.2rem;
    height: 0.2rem;
    margin-left: 0.05rem;
}

/* 响应式样式调整 */
@media screen and (max-width: 1440px) {
    .courses-wrapper {
        padding: 1rem 3.6rem 1.4rem;
    }
    
    .courses-container {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .course-card {
        width: 3.5rem;
    }
    
    .view-all-container {
        width: 3.5rem;
    }
    
    .course-info h3 {
        font-size: 0.22rem;
        line-height: 0.28rem;
    }
    
    .course-date {
        font-size: 0.16rem;
    }
}

/* 加载动画样式 */
.loading {
    text-align: center;
    padding: 20px;
    font-size: 0.18rem;
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3rem;
    width: 100%;
}

.loading:after {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border: 0.05rem solid #ddd;
    border-top: 0.05rem solid #2B60E6;
    border-radius: 50%;
    margin-left: 0.1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

