* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑", sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
}

/* 顶部导航 */
.top-nav {
    position: absolute;
    right: 120px; /* 为右侧二维码留出空间 */
    z-index: 10;
}

.top-nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 8px;
    font-size: 14px;
}

.top-nav .lang {
    color: #fff;
    font-size: 12px;
}

/* 头部banner */
.banner {
    position: relative;
    background: url('tmp1755854557_2311551_s.jpg') no-repeat center/cover;
    color: #fff;
    overflow: hidden;
}

.banner-t {
    margin: auto;
    max-width: 1200px;
    margin: 160px auto 50px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.banner-logo {
    position: absolute;
    top: 40px;
    left: 140px;
    font-size: 25px;
    font-weight: bold;
    z-index: 10;
    color: #FBFDF4;
}

.banner-content {
    left: 50px;
    max-width: 400px;
    z-index: 10;
}

.banner-content .tag {
    color: #0056b3;
    font-size: 40px;
    font-weight: bold;
}


.banner-content p {
    font-size: 25px;
    margin-bottom: 20px;
    color: #D9D8D2;
}

.banner-content .tag1 {
    font-size: 16px;
    margin-bottom: 40px;
    color: #D9D8D2;
}

a {
    text-decoration: none;
    /* 核心：移除下划线 */
    color: inherit;
    /* 继承父元素颜色 */
    transition: color 0.3s ease;
    /* 过渡效果 */
}

.banner-btn {
    background: #0056b3;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    cursor: pointer;
    width: 240px;
    display: block;
    text-align: center;
    margin-bottom: 30px;

}

/* 关于我们 */
.about {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.about-text {
    flex: 3;
    margin-right: 144px;
    color: #0056b3;
}


.about-text h2 {
    font-size: 22px;
    margin-bottom: 20px;
}

.about-text ul {
    list-style: disc;
    margin-left: 20px;
    font-size: 14px;
    line-height: 1.8;
}

.about-logo {
    flex: 1;
    font-size: 32px;
    font-weight: bold;
    color: #0056b3;
    text-align: right;
    margin-top: 120px;
}

/* 葡萄牙建筑图 */
.building {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.building img {
    width: 100%;
    max-height: 600px;
    display: block;
}

/* 课程选择 */
.courses {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
    position: relative;
}

.courses-title {
    text-align: center;
}

.couse-img {
    position: absolute;
    width: 90%;
    height: 100px;
    left: 6%;
    margin: auto;
    top: 14px;
}

.courses-smal-title {
    position: relative;
    font-size: 26px;
    top: 40px;
    color: #ffffff;
}

.courses-card-main {
    padding: 20px;
    box-shadow: 0 5px 55px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.courses-card {
    background: #fff;
    border: 2px dashed #bdd7f5;
    border-radius: 12px;
    padding: 30px 20px;
    margin-top: 10px;
    display: flex;
    justify-content: space-around;
}

.course-item {
    text-align: center;
    width: 45%;
    margin-top: 15px;
}



.course-item h3 {
    color: #0056b3;
    font-size: 15px;
    margin-bottom: 20px;
}

.course-item .info {
    margin: 10px 0;
    font-size: 14px;
    color: #0056b3;
}

/* 联系我们 */
.contact {
    padding: 0 20px;
    width: 100%;
    position: relative;
    background: url('tmp1755856901_2311551_s.jpg') no-repeat center/cover;
}

.course-item-1 {
    width: 300px;
    max-height: 200px;
    margin-bottom: 30px;
    max-width: 100%;
}

.contact-bg {
    width: 100%;
    height: 50px;
    border-radius: 8px;
    position: relative;
}

.contact-content-main {
    margin: auto;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-content {
    color: #fff;
    margin-bottom: 50px;
    width: 600px;
}

.contact-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #0056b3;
}

.contact-content p {
    font-size: 16px;
    margin: 8px 0;
}

.contact-bm {
    font-size: 24px !important;
    margin: 20px 0 !important;
}


.contact-qrcode {
    z-index: 2;
    gap: 30px;
    width: 300px;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    height: 450px;
    padding-top: 60px;
    margin-bottom: 60px;

}

.qrcode-item {
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
}

.qrcode-item img {
    width: 80px;
    height: 80px;
    background: #fff;
    padding: 5px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.qrcode-item p {
    font-size: 14px;
}

/* 页脚 */
.footer {
    background: #0056b3;
    color: #fff;
    text-align: center;
    padding: 60px 0;
    font-size: 14px;
}

.top-dingb {
    position: fixed;
    padding: 40px;
    width: 100%;
    height: 120px;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 20;
}
.app-qr {
    position: absolute;
    top: 37px;
    right: 28px;
    display: flex;
    gap: 14px;
    z-index: 11;
}

.app-qr-item {
    position: relative;
}

.app-qr-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 18px;
    background: rgba(0,0,0,0.25);
}

.app-qr-icon {
    width: 16px;
    height: 16px;
}

.qr-popup {
    position: absolute;
    top: 42px;
    right: 0;
    width: 160px;
    padding: 10px 10px 8px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    display: none;
    text-align: center;
}

.qr-popup img {
    width: 140px;
    height: 140px;
    background: #fff;
    padding: 6px;
    border-radius: 6px;
    object-fit: contain;
}

.qr-popup p {
    margin-top: 8px;
    font-size: 12px;
    color: #fff;
}

.app-qr-item:hover .qr-popup,
.app-qr-item:focus-within .qr-popup {
    display: block;
}
.main_co{
    color:#0056b3 !important;
}
#about {
    scroll-margin-top: 140px;
}

#courses,
#contact {
    scroll-margin-top: 120px;
}
.mobile-download{
    display: none;
}
@media (max-width: 767px) {
    .about-text {
        margin-right: 0px;
    }

    .about-logo {
        display: none;
    }

    .top-nav-1 {
        display: none;
    }
    .top-dingb {
        height: 60px;
        padding: 20px;
    }
    .app-qr { display: none; }
    .banner-logo {
        top: 12px;
        left:20px;
    }
    .banner-t { 
        margin: 80px auto 30px; 
    }
    .banner-content .tag {
        font-size: 30px;
    }
    
    
    .banner-content p {
        font-size: 20px;
    }
    
    .banner-content .tag1 {
        font-size: 12px;
    }
    .courses-card {
        padding: 30px 7px;
    }
    .course-item h3 {
       height: 30px;
    }
    .course-item .info_desc {
       height: 80px;
    } 
    
    .zw .course-item .info_desc {
        height: 40px;
    }
    .contact-bm {
        font-size: 18px !important;
    }
    #contact {
        scroll-margin-top: 30px;
    }
    .mobile-download{
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
        color: #FBFDF4;
    }
} 