

/* Contact Page Styles */
/* 隐藏联系页面的hero section */
.top-bar{
    background-color: #144279;
    background-image: none;
}

.top-bar .hero {
    display: none;
}

/* learn main */
.banner{
    background-image: url(../img/learn/u14.png);
    width: 100%;
    height: 490rem;
    background-size: cover;
    background-position: center;
}
.banner-content{
    width: 1440rem;
    margin: 0 auto;
    border: 1px solid transparent;
    height: 100%;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8rem;
    margin-bottom: 40rem;
    font-size: 14rem;
    color: #fff;
    margin-top: 12rem;
}

.breadcrumb-home {
    color: #fff;
    text-decoration: none;
}


.breadcrumb-separator {
    color: #fff;
}

.breadcrumb-current {
    color: #fff;
}

.learn-hero{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 280rem;
    gap: 24rem;
}

.learn-search-bar{
    display: flex;
    align-items: center;
    width: 800rem;
    max-width: 100%;
    background-color: #ffffff;
    border-radius: 10rem;
    height: 48rem;
    padding: 2rem 10rem 2rem 0;
    box-sizing: border-box;
}

.learn-search-filter{
    display: flex;
    align-items: center;
    padding: 0 24rem;
    border-right: 1px solid #e0e0e0;
    font-size: 14rem;
    color: #333333;
    gap: 8rem;
    height: 100%;
}

.learn-search-filter-icon{
    width: 0;
    height: 0;
    border-left: 5rem solid transparent;
    border-right: 5rem solid transparent;
    border-top: 6rem solid #999999;
}

.learn-search-input{
    flex: 1;
    border: none;
    padding: 0 16rem;
    font-size: 14rem;
    color: #333333;
    outline: none;
    height: 100%;
}

.learn-search-input::placeholder{
    color: #b0b0b0;
}

.learn-search-button{
    width: 45rem;
    height: 33rem;
    min-width: 45rem;
    background-color: #144279;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25rem;
    flex-shrink: 0;
}

.learn-search-button::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    border: 2rem solid #ffffff;
    box-sizing: border-box;
}

.learn-search-button::after{
    content: "";
    position: absolute;
    width: 6rem;
    height: 2rem;
    background-color: #ffffff;
    transform-origin: left center;
    top: 50%;
    left: 50%;
    transform: translate(4rem, 4rem) rotate(45deg);
}

/* Ecademy Section */
.ecademy-section{
    background-color: #ffffff;
    padding-top: 16rem;
}

.ecademy-nav{
    border-bottom: 1px solid #e0e0e0;
}

.ecademy-nav-inner{
    width: 1440rem;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 20rem;
}

.ecademy-nav-link{
    padding: 18rem 0;
    font-size: 18rem;
    color: #333;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.ecademy-nav-link::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3rem;
    background-color: #c57a1a;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* .ecademy-nav-link:hover{
    color: #8B4513;
} */

.ecademy-nav-link:hover::after{
    transform: scaleX(1);
}

.ecademy-nav-link.active{
    font-weight: 700;
}

.ecademy-nav-link.active::after{
    transform: scaleX(1);
}

.ecademy-login{
    padding: 48rem 0 50rem;
}

.ecademy-login-inner{
    width: 1440rem;
    max-width: 100%;
    margin: 0 auto;
}

.ecademy-login-title{
    font-size: 28rem;
    font-weight: 700;
    color: #004a80;
    margin-bottom: 16rem;
}

.ecademy-login-description{
    font-size: 16rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 28rem;
    max-width: 720rem;
}

.ecademy-login-buttons{
    display: flex;
    gap: 12rem;
}

.ecademy-btn-register{
    padding: 16rem 32rem;
    min-width: 140rem;
    background-color: #c57a1a;
    color: #ffffff;
    border: none;
    border-radius: 24rem;
    font-size: 14rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ecademy-btn-register:hover{
    background-color: #B8B21A;
}

.ecademy-btn-login{
    padding: 10rem 32rem;
    min-width: 110rem;
    background-color: #ffffff;
    color: #c57a1a;
    border: 1rem solid #c57a1a;
    border-radius: 24rem;
    font-size: 14rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ecademy-btn-login:hover{
    background-color: #B8B21A;
    color: #ffffff;
    border: 1rem solid #B8B21A;
}

/* Courses Section */
.courses-section{
    background-color: #ffffff;
}

.courses-inner{
    width: 1440rem;
    max-width: 100%;
    margin: 0 auto;
}

.courses-title{
    font-size: 28rem;
    font-weight: 700;
    color: #004a80;
    margin-bottom: 16rem;
}

.courses-subtitle{
    font-size: 16rem;
    color: #333;
    margin-bottom: 35rem;
}

.courses-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32rem;
    margin-bottom: 40rem;
}

.course-card{
    height: 527rem;
    background-color: #ffffff;
    border-radius: 0;
    border: 1rem solid #e0e0e0;
    box-shadow: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover{
    transform: translateY(-4rem);
    box-shadow: 0 4rem 16rem rgba(0, 0, 0, 0.08);
}

.course-image{
    width: 100%;
    height: 260rem;
    overflow: hidden;
}

.course-image-blank{
    background-color: #ffffff;
}

.course-image img,
.course-image video{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-meta{
    display: flex;
    align-items: center;
    gap: 24rem;
    padding: 16rem 20rem;
    font-size: 14rem;
    color: #666666;
}

.course-modules,
.course-duration{
    display: flex;
    align-items: center;
    gap: 6rem;
}

.course-icon-play,
.course-icon-clock{
    display: inline-block;
    width: 16rem;
    height: 16rem;
    position: relative;
}

.course-icon-play::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-30%, -50%);
    width: 0;
    height: 0;
    border-left: 6rem solid #666666;
    border-top: 4rem solid transparent;
    border-bottom: 4rem solid transparent;
}

.course-icon-clock::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12rem;
    height: 12rem;
    border: 2rem solid #666666;
    border-radius: 50%;
    box-sizing: border-box;
}

.course-icon-clock::after{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2rem;
    height: 4rem;
    background-color: #666666;
    transform-origin: top center;
    transform: translate(-50%, -50%) rotate(45deg);
}

.course-name{
    font-size: 20rem;
    font-weight: 700;
    color: #144279;
    padding: 0 20rem;
    margin-bottom: 12rem;
}

.course-description{
    font-size: 14rem;
    color: #666666;
    line-height: 1.6;
    padding: 0 20rem;
    margin-bottom: 24rem;
    flex: 1;
}

.course-start-btn{
    margin: 20rem;
    padding: 15rem 32rem;
    border: 1px solid #c57a1a;
    border-radius: 50rem;
    background-color: #ffffff;
    color: #c57a1a;
    font-size: 14rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: fit-content;
}

.course-start-btn:hover{
    background-color: #B8B21A;
    border: 1px solid #B8B21A;
    color: #ffffff;
}

.courses-footer{
    text-align: center;
}

.courses-view-all{
    display: inline-block;
    color: #B8741A;
    font-size: 14rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* MyECADEMY Section */
.myecademy-section{
    background-color: #ffffff;
    padding: 80rem 0;
}

.myecademy-inner{
    width: 1440rem;
    max-width: 100%;
    margin: 0 auto;
}

.myecademy-layout{
    display: flex;
    align-items: center;
    gap: 80rem;
}

.myecademy-media{
    flex: 1;
}

.myecademy-media img{
    width: 100%;
    height: auto;
    display: block;
}

.myecademy-content{
    flex: 1;
    max-width: 560rem;
}

.myecademy-title{
    font-size: 28rem;
    font-weight: 700;
    color: #004a80;
    margin-bottom: 20rem;
    line-height: 1.3;
}

.myecademy-description{
    font-size: 16rem;
    color: #333;
    line-height: 1.3;
    margin-bottom: 32rem;
}

.myecademy-btn{
    padding: 16rem 40rem;
    background-color: #c57a1a;
    color: #ffffff;
    border: none;
    border-radius: 50rem;
    font-size: 16rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.myecademy-btn:hover{
    background-color: #B8B21A;
}

.main-bottom-section{
    background-color: #f4f5f7;
    padding: 60rem 0 50rem;
}

.main-bottom-inner{
    width: 1440rem;
    max-width: 100%;
    margin: 0 auto;
}

.main-bottom-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1rem solid #e0e0e0;
    background-color: #ffffff;
}

.main-bottom-card{
    padding: 32rem 32rem 40rem;
    border-right: 1rem solid #e0e0e0;
}

.main-bottom-card:last-child{
    border-right: none;
}

.main-bottom-icon{
    margin-bottom: 24rem;
}

.main-bottom-icon img{
    height: 48rem;
    width: auto;
}

.main-bottom-title{
    font-size: 18rem;
    font-weight: 700;
    color: #004a80;
    margin-bottom: 12rem;
}

.main-bottom-text{
    font-size: 14rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 32rem;
}

.main-bottom-btn{
    padding: 10rem 28rem;
    border-radius: 50rem;
    border: 1rem solid #c57a1a;
    background-color: #ffffff;
    color: #c57a1a;
    font-size: 14rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.main-bottom-btn:hover{
    background-color: #B8B21A;
    border-color: #B8B21A;
    color: #ffffff;
}
