/* index.css */
a {text-decoration: none;color: #999;}
a:hover {color: #dc19a8;text-decoration: none;}
.fl {float: left;}
.fr {float: right;}
.clearfix:after{content: ''; display: block; height: 0; clear: both; visibility: hidden;}
.clearfix { zoom: 1; }
.mytitle {
    width: 100%;
    padding: 25px 15px 0 15px;
    text-align: center;
    overflow: hidden;
}
.mytitle h1 {
    display: block;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 5px 0;
    background: linear-gradient(to right, #60323d, #9b4361);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;    
}
.mytitle p {
    display: block;
    font-size: 14px;
    color: #111;
}

.myzixun {
    width: 50%;
    margin: 20px auto 0 auto;
    overflow: hidden;
}
.myzixun a {
    display: block;
    font-size: 16px;
    color: #fff;
    font-weight: 700;
    background: #ff73a9;
    line-height: 40px;
    border-radius: 20px;
    text-align: center;
}
.mymain { 
    padding: 20px 15px 0 15px;
    overflow: hidden;
}

.mybanner {overflow: hidden; width: 100%; text-align: center;}

.mytrouble {
    width: 100%;
    overflow: hidden;
}
.mytrouble .showimg {
    display: flex;
    align-items: top;
    gap: 15px;
    width: 100%;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px #f1e5e5;
    margin-bottom: 15px;
    overflow: hidden;
}
.mytrouble .img {
    width: 50%;
    height: auto;
    object-fit: cover;
    overflow: hidden;
}
.mytrouble .showimg .des {
    flex: 1;
    padding: 10px 10px 10px 0;
    background: url(../images/yuan.png) right 10px bottom 10px no-repeat;
}
.mytrouble .showimg1 .des {
    padding: 10px 0 10px 10px;
}
.mytrouble .des h2 {
    display: block;
    font-size: 16px;
    color: #ff73a9;
    padding-bottom: 8px;
    position: relative;
    z-index: 1;
}
.mytrouble .des h2:before {
    content: '';
    display: block;
    width: 25%;
    height: 3px;
    background: #ff73a9;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
}
.mytrouble .des p {
    display: block;
    font-size: 14px;
    color: #333;
    padding-top: 5px;
}
.mytrouble .myzixun {
    margin-top: 5px;
}

.page-ad {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 25px;
    overflow: hidden;
}

.mywhy {
    width: 100%;
    padding-bottom: 25px;
    overflow: hidden;
}
.mywhy ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;   
    width: 100%;
    overflow: hidden; 
}
.mywhy ul li {
    border: 1px solid #ffe2ea;
    border-radius: 5px;
    padding: 10px 5px;
    text-align: center;
}
.mywhy ul li img {
    width: 42%;
    margin: 0 auto;
}
.mywhy ul li h3 {
    display: block;
    font-size: 18px;
    font-weight: bold;
    padding-top: 5px;
    color: #ff73a9;
}
.mywhy ul li span {
    display: block;
    width: 100%;
    font-size: 14px;
    font-weight: bold;
    color: #6d3b4c;
    padding-bottom: 5px;
    border-bottom: 1px solid #ffe2ea;
}
.mywhy ul li p {
    display: block;
    font-size: 12px;
    color: #333;
    padding-top: 5px;
}
.mywhy .img {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 5px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
}
.mywhy .myzixun {
    margin-top: 0;
}

.myreason {
    background: #faf3f5;
    width: 100%;
    padding-bottom: 25px;
    overflow: hidden;
}

.mycourse {
    width: 100%;
    padding-bottom: 25px;
    overflow: hidden;
}
.mycourse .showpic {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;  
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #cbcbcb;     
}
.mycourse .showpic:first-child {
    padding-top: 0;
}
.mycourse .showpic:last-child {
    border: none;
}
.mycourse .showpic img {
    width: 50%;
    border-radius: 5px;
}
.mycourse .showpic .des {
    font-size: 14px;
    overflow: hidden;
}
.mycourse .showpic h2 {
    display: block;
    width: 100%;
    font-size: 18px;
    font-weight: bold;
    color: #6d3b4c;
}
.mycourse .showpic span {
    display: block;
    line-height: 26px;
    border-radius: 15px;
    background: #faf3f5;
    font-size: 14px;
    color: #6d3b4c;
    text-align: center;
    margin-top: 5px;
}
.mycourse .showpic b {
    display: block;
    width: 100%;
    font-size: 14px;
    color: #3e3e3e;
    margin: 5px 0;
}
.mycourse .showpic p {
    display: block;
    font-size: 14px;
    color: #333;
}
.mycourse .myzixun {
    margin-top: 5px;
}

.myxuezi {
    padding: 25px 0;
    background: #faf3f5;
    width: 100%;
    overflow: hidden;
}
.myxuezi .swiper-container {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 20px;
}
.myxuezi .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.myxuezi .swiper-container-horizontal>.swiper-pagination-bullets {
    bottom: 0;
}
.myxuezi .swiper-pagination-bullet-active {
    background: #e96177;
}

.myyoushi {
    width: 100%;
    padding-top: 25px;
    padding-bottom: 25px;
    overflow: hidden;
}
.myyoushi .mymain {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;    
}
.myyoushi .slides {
    border: 1px solid #ffe0e8;
    text-align: center;
    border-radius: 5px;
    overflow: hidden;
}
.myyoushi .slides h2 {
    padding-top: 5px;
    display: block;
    font-size: 16px;
    color: #6d3b4c;
}
.myyoushi .slides p {
    display: block;
    font-size: 14px;
    padding: 5px;
    color: #333;
}

.myhuanjing {
    width: 100%;
    background: #faf3f5;
    padding-bottom: 25px;
    overflow: hidden;
}
.myhuanjing .listbox {
    width: 100%;
    background: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: hidden;
}
.myhuanjing .listt {
    width: 50%;
    line-height: 35px;
    background: #faf3f5;
    font-size: 16px;
    font-weight: bold;
    color: #2b2b2b;
    text-align: center;
    border-radius: 20px;
    margin: 15px auto;
    overflow: hidden;
}
.myhuanjing ul {
    width: 100%;
    padding: 0 15px 15px 15px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.myhuanjing ul {
    text-align: center;
    font-size: 14px;
    color: #333;
}
.myhuanjing ul p {
    display: block;
    padding-top: 5px;
}
.myhuanjing .myzixun {
    margin-top: 0;
}

.mywenti {
    width: 100%;
    padding: 0 15px 25px 15px;
    overflow: hidden;
}
/* 主容器 */
.faq-container {
    width: 100%;
    margin: 20px auto 0 auto;
    background: #ffffff;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.2s ease;
}

/* 问答列表区域 */
.faq-list {
    overflow: hidden;
}

/* 折叠式卡片 */
.faq-item {
    background: #fefafb;
    border-radius: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ffe0e8;
    overflow: hidden;
    transition: all 0.2s;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    background: #ffffff;
    transition: background 0.2s;
    font-weight: 600;
    font-size: 1rem;
    color: #522e3b;
}

.faq-question:hover {
    background: #fff5f8;
}

.question-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    font-size: 1.05rem;
}

.question-text .q-mark {
    background: #ffe4ec;
    color: #ff73a9;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 60px;
    font-weight: 800;
    font-size: 0.85rem;
}

.toggle-icon {
    font-size: 1.4rem;
    font-weight: 400;
    color: #ff73a9;
    transition: transform 0.3s ease;
    width: 28px;
    text-align: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.33, 1, 0.68, 1);
    background: #fffdfe;
    border-top: 0px solid #ffcdda;
    line-height: 1.5;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    border-top-width: 1px;
    padding: 1.2rem 1.8rem 1.5rem 1.8rem;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.answer-content {
    color: #4e3a28;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.answer-content strong {
    color: #ff73a9;
    font-weight: 600;
}

.btn-light {
    background: #ffeef3;
    border: none;
    color: #cf6385;
    border-radius: 40px;
    padding: 0.2rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    cursor: default;
}

.extra-questions-wrapper {
    margin-top: 0.5rem;
    transition: all 0.3s;
}

.extra-questions {
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.extra-questions.show {
    display: flex;
}

.btn-show-more {
    background: none;
    border: 1px solid #ffcdda;
    padding: 0.7rem 1.2rem;
    border-radius: 60px;
    color: #ff73a9;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    width: 100%;
    text-align: center;
    background: white;
    transition: all 0.2s;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-show-more:hover {
    background: #fff0f4;
    border-color: #ff9aba;
}

@media (max-width: 580px) {
    .faq-question {
        padding: 1rem;
    }
    .question-text {
        font-size: 0.95rem;
    }
    .faq-item.active .faq-answer {
        padding: 1rem 1.2rem 1.2rem 1.2rem;
    }
    .faq-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
.mywenti .myzixun {
    margin-top: 10px;
}
.mybottom {background: #faf3f5; padding: 20px 35px; font-size: 14px; overflow: hidden;}
.mybottom span {color: #333; float: left;}
.mybottom p {color: #333; float: right;}

/* 底部悬浮栏样式 */
.nav_list {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    background-color: #f8f8f8;
    border-top: 1px solid #e0e0e0;
    z-index: 1000;
    padding: 10px;
    box-sizing: border-box;
    /* 添加投影效果 */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    font-size: 14px;
}
.nav_xf,
.nav_dh {
    flex: 1;
    text-align: center;
    cursor: pointer;
}

.nav_list a {
    text-decoration: none;
    color: #333;
}
.nav_lq { flex: 1.5; text-align: center;}

.nav_lq a {
    display: inline-block;
    line-height: 35px;
    height: 35px;
    border-radius: 50px;
    font-size: 14px;
    color: #fff;
    background: #ff73a9;
    width: 80%;
    animation: mscale 1s infinite;
    margin-top: 8px;
}
.nav_list i {font-size: 20px; color: #ff73a9; font-weight: bold;}