﻿/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.5;
    color: #333;
    min-width: 650px;
}

/* banner样式 */
.banner {
    position: relative;
    background-image: url('../img/banner.png');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 432px;
}

/* 内容区域样式 */
.tab-content {
    width: 90%;
    max-width: 1200px;
    min-width: 650px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 导航样式 */
.nav {
    background: #fff;
    padding: 20px 0;
    /* border-bottom: 1px solid #eee; */
    margin-top: 110px;
    min-width: 600px;
}

.nav .container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav-item {
    padding: 12px 30px;
    border-radius: 24px;
    font-family: 微软雅黑, sans-serif;
    font-size: 26px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #E0E3EE;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.nav-item.active {
    background: #2C72E2;
    color: #fff;
}

/* 内容区域通用样式 */
section {
    padding: 20px 0;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.feature-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

/* 底部样式 */
.footer {
    position: relative;
    background: #2B3A4D;
    color: white;
    /* padding: 40px 0; */
    overflow: hidden;
}

.footer_header {
    width: 300px;
    height: 58px;
    margin-bottom: 20px;
    line-height: 58px;
    position: relative;
    text-align: center;
    border-radius: 0px 0px 12px 12px;
    left: calc(50% - 150px);
    top: 0px;
    color: #1A2B3E;
    font-weight: bold;
    font-size: 22px;
    background: url('../img/zixun.png')
}

.footer_content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.footer_content_p {
    text-align: left;
}

.footer_content_info {
    text-align: left;
}

.footer_content_info span {
    font-size: 14px;
    font-family: 微软雅黑, sans-serif;
    color: #1A2B3E;
    line-height: 24px;
    margin: 5px 0;
    font-weight: bold;
}

.footer_item {
    text-align: center;
    background-color: #fff;
    padding: 10px 30px;
    border-radius: 5px;
    min-width: 450px;
}

.footer_item_s {
    text-align: center;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    max-width: 300px;
}

.footer_item_l {
    width: 880px;
    text-align: center;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
}

.contact_info {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact_info_A {
    display: flex;
    justify-content: space-between;
}

.contact_info img {
    width: 160px;
    height: 160px;
    margin-right: 15px;
}

.footer_content h3 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #1A2B3E;
}

.footer_content p {
    font-size: 14px;
    font-family: 微软雅黑, sans-serif;
    color: #1A2B3E;
    line-height: 24px;
    margin: 5px 0;
}

.footer_qrcode {
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
}

.footer_qrcode img {
    width: 160px;
    height: 160px;
    margin-bottom: 10px;
}

.footer_watermark {
    position: absolute;
    left: calc(50% - 320px);
    top: 10px;
    opacity: 0.8;
    width: 656px;
    height: auto;
}

.footer_copyright {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #B4B4B4;
    font-size: 12px;
}

.tab-pane,
.footer-item {
    display: none;
}

.tab-pane.active,
.footer-item.active {
    display: block;
}

.intro-text-cfa {
    background-image: url('../img/cfa_web.png');
    background-size: cover;
    background-position: center;
    padding: 24px;
}

.intro-text-acca {
    background-image: url('../img/acca_web.png');
    background-size: cover;
    background-position: center;
    padding: 24px;
}

.intro-text-cfa p,
.intro-text-acca p {
    font-size: 16px;
    text-indent: 24px;
    background-color: #ffffffd8;
    border-radius: 5px;
    padding: 15px;
}

.left-content,
.right-content {
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
    padding: 20px 20px;
    text-indent: 24px;
}

.container-item-left {
    display: flex;
    align-items: flex-end;
    margin: 30px 0;
}

.container-item-right {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    margin: 30px 0;
}

.container-item-left img,
.container-item-right img {
    height: 2px;
    width: 70%;
    margin: 4px 5px;
}

.container-item-left h3,
.container-item-right h3 {
    font-size: 16px;
}


.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    /* margin-top: 20px; */
}

/* banner文字说明区域 */
.banner-desc {
    position: absolute;
    top: 380px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.banner-desc p {
    font-family: 微软雅黑, sans-serif;
    color: #1A2B3E;
    font-size: 18px;
    line-height: 1.8;
    text-align: justify;
    text-indent: 24px;
    font-weight: bold;
    margin: 0;
}


/* 添加特点介绍模块的样式 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    /* margin-top: 20px; */
}

.feature-grid > .feature-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.54) 0%, #F3F3F3 100%);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
}

.feature-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.system-grid-item {
    background: #fff;
    padding: 10px;
    /* border-radius: 8px; */
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

.feature-icon {
    height: 60px;
    margin-bottom: 15px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-item h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-item p {
    color: #1A2B3E;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    text-indent: 24px;
    font-family: 微软雅黑, sans-serif;
}

/* 课程体系部分样式 */
.course-system {
    padding: 40px 0;
}

.system-content {
    margin-top: 30px;
}

.system-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 25px;
}

.system-item p {
    color: #1A2B3E;
    font-size: 14px;
    line-height: 22px;
    margin-top: 20px;
    text-indent: 24px;
    font-family: 微软雅黑, sans-serif;
}

.system-img-left,
.system-img-right {
    display: flex;
}

.system-img-left h3 {
    text-align: left;
}

.system-img-right h3 {
    text-align: right;
}

.system-img-left div,
.system-img-right div {
    padding: 10px 15px;
}

.sgi-left div ,.sgi-right div{
    padding: 10px 0;
}

.system-img-left img,
.system-img-right img {
    width: 49%;
    height: auto;
}

/* 添加数据来源部分的样式 */
.data-source {
    margin-top: 20px;
    text-align: center;
}

.data-source img {
    width: 112px;
    height: 104px;
    margin-bottom: 10px;
}

.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-start;
    margin-top: 10px;
}

.legend-item {
    font-size: 8px;
    color: #666;
    padding: 2px 0 1px 20px;
    border-radius: 4px;
    position: relative;
}

.legend-item[data-color]::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--dot-color);
}

.legend-item[data-color="#4453CE"]::before {
    --dot-color: #4453CE;
}

.legend-item[data-color="#59B786"]::before {
    --dot-color: #59B786;
}

.legend-item[data-color="#E28245"]::before {
    --dot-color: #E28245;
}

.legend-item[data-color="#E8A958"]::before {
    --dot-color: #E8A958;
}

.legend-item[data-color="#F2D15D"]::before {
    --dot-color: #F2D15D;
}

.legend-item[data-color="#F5D8B5"]::before {
    --dot-color: #F5D8B5;
}

.legend-item[data-color="#7ADDBC"]::before {
    --dot-color: #7ADDBC;
}

.legend-item[data-color="#7D2EEE"]::before {
    --dot-color: #7D2EEE;
}

.legend-item[data-color="#9A9A9A"]::before {
    --dot-color: #9A9A9A;
}

.liangdian-s {
    display: none;
}

.liangdian-l {
    display: block;
}

.liangdian-item {
    display: flex;
    justify-content: space-around;
    margin-right: 50px;
}

.liangdian-item span {
    margin-right: 20px;
}

.detail-grid {
    display: grid;
    gap: 30px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.system-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* gap: 30px; */
    padding: 0px 0px !important;
}

.zhishi-m {
    display: none;
}

.zhishi-web {
    display: block;
}

.system-grid-item img {
    width: 100%;
    height: auto;
}

.system-grid-item h5 {
    font-size: 14px;
    font-weight: bold;
}

.system-grid-item p {
    text-indent: 0;
}
.course-intro-info p{
    text-indent: 24px;
}
.course-intro-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.cig-item{
    margin: 10px;
    padding: 10px;
    text-align: center;
}
.cig-item-icon img{
    width: 100%;
    height: auto;
}
.cig-item h3{
    font-size: 16px;
    margin: 10px 0;
}
.cig-item h4{
    font-size: 14px;
    font-weight: bold;
    text-align: left;
    line-height: 22px;
    margin: 10px 0;
}
.cig-item p {
    color: #1A2B3E;
    font-size: 14px;
    font-family: 微软雅黑, sans-serif ;
    margin-top: 10px;
    text-align: left;
    text-indent: 24px;
    line-height: 22px;
}

.cig-item-tab{
    display: flex;
    justify-content: space-around;
    margin-right: 20px;
    color: #1A2B3E;
    font-weight: bold;
    font-family: 微软雅黑, sans-serif;
    font-size: 14px;
}

.cig-item-img {
    width: auto;
    height: 26px;
}

/* 响应式适配 */
@media (max-width: 1023px) {

    .cig-item-img {
        height: auto;
    }
    h2 {
        font-size: 2.5rem;
    }
    .nav{
        margin-top: 6cm;
    }
    .liangdian-s {
        display: block;
    }

    .liangdian-l {
        display: none;
    }

    .liangdian-item {
        justify-content: space-evenly;
    }

    /* banner样式 */
    .banner {
        position: relative;
        background-image: url('../img/banner750.png');
        background-size: cover;
        background-position: center;
        width: 100%;
        height: 260px;
    }

    .intro-text-cfa p, .intro-text-acca p {
        font-size: 2rem;
    }

    .intro-text-cfa {
        background-image: url('../img/cfa_m.png');
    }

    .intro-text-acca {
        background-image: url('../img/acca_m.png');
    }

    .nav-item {
        display: block;
        padding: 10px 20px;
        margin: 10px 0;
        font-size: 1.8rem;
        text-align: center;
        justify-content: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-item p {
        font-size: 2rem;
    }
    .system-grid-item h5{
        font-size: 2rem;
    }
    .feature-item h3 {
        font-size: 2rem;
    }

    .container-item-left h3, .container-item-right h3 {
        font-size: 2rem;
    }

    .system-img-left h3, .system-img-right h3 {
        font-size: 2rem;
    }

    .footer_content h3 {
        font-size: 2rem;
    }

    .footer_content_info span, .footer_content p {
        font-size: 1.7rem;
    }

    .container-item-left img,
    .container-item-right img {
        height: 0.3rem;
        width: 50%;
    }
    .course-intro-info p {
        font-size: 2rem;
    }

    .liangdian-item span {
        font-size: 1.5rem;
    }

    .system-grid {
        grid-template-columns: 1fr;
    }

    .system-item p{
        font-size: 2rem;
        line-height: unset;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }
    .course-intro-grid{
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .cig-item h3 {
        font-size: 2.5rem;
    }
    .cig-item p{
        font-size: 2rem;
        line-height: unset;
    }

    .detail-content {
        grid-template-columns: 1fr;
    }

    .detail-content p{
        font-size: 2rem;
    }

    .banner-desc {
        position: absolute;
        top: 220px;
        min-width: 620px;
        transform: translateX(-50%);
        width: 90%;
        padding: 15px 20px;
    }

    .banner-desc p {
        font-size: 1.5em;
        /*line-height: 1.6;*/
    }

    .footer_content {
        display: grid;
        grid-template-columns: 1fr;
    }

    .footer_item_s {
        max-width: 1023px;
    }

    .footer_watermark {
        width: 200px;
    }

    .footer_content_p {
        text-align: center;
    }

    .contact_info_A {
        min-width: 200px;
    }

    .footer_item_l {
        width: auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .materials-grid {
        grid-template-columns: 1fr;
    }

    .activity-grid {
        grid-template-columns: 1fr;
    }

    .activity-grid img {
        height: auto;
    }

    .legend {
        gap: 5px;
    }

    .legend-item {
        font-size: 1em;
        padding: 2px 0 1px 16px;
    }

    .legend-item[data-color]::before {
        width: 6px;
        height: 6px;
        left: 6px;
    }

    .system-img-left div,
    .system-img-right div {
        padding: 10px 10px;
    }

    .system-img-left {
        flex-direction: column-reverse;
    }

    .system-img-right {
        flex-direction: column;
    }

    .system-img-left img,
    .system-img-right img {
        width: 100%;
        height: auto;
    }
    .container-item-left,
    container-item-right {
        margin: 20px 0;
    }

    .zhishi-m {
        display: block;
        padding: 0 !important;
    }

    .zhishi-web {
        display: none;
    }

    .sgi-right {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
    }

    .sgi-left {
        display: flex;
        align-items: center;
    }

    .system-grid-item img {
        width: 50%;
        height: auto;
    }
}