﻿.about{
    width: 100%;
    height: auto;
    display: inline-block;
    margin-top: 3%;
}
.index{}
.ab-left{
    width: 35%;
    float: left;
    margin-right: 5%;
}
.ab-left img{
    width: 100%;
}
.ab-right{
    width: 60%;
    float: left;
}
.abr-top{
    width: 100%;
    height: auto;
    display: inline-block;
}
.abr-top img{
    width: 45%;
}
.abr-top h3{
    font-size: 30px;
    letter-spacing: 7px;
    padding: 2% 0;
}
.abr-top p{
    font-size: 16px;
    line-height: 30px;
}
.abr-bottom{
    width: 100%;
    height: auto;
    display: inline-block;
    margin-top: 2%;
}
.abr-bottom ul{
    width: 100%;
    height: auto;
    display: inline-block;
}
.abr-bottom li{
    width: 60%;
    float: left;
    margin-bottom: 5%;
}
.abr-bottom li img{
    width: 5%;
    float: left;
}
.abr-bottom li p{
    float: left;
    margin-left: 1%;
}
.department{
    width: 100%;
    height: auto;
    display: inline-block;
    margin-top: 3%;
    margin-bottom: 5%;
}
.dep-title{
    width: 100%;
    height: auto;
    display: inline-block;
    text-align: center;
    margin: 0 auto;
}
.dep-title h3{
    font-size: 35px;
    letter-spacing: 7px;
    font-weight: 500;
    margin-bottom: 1%;
}
.dep-title img{
    text-align: center;
    margin: 0 auto;
}
.department-box{
    width: 100%;
    height: auto;
    display: inline-block;
}
.department-box ul{
    width: 100%;
    height: auto;
    display: inline-block;
    margin-top: 4%;
}
.department-box li{
    width: 29%;
    float: left;
    padding: 0 2%;
    margin-bottom: 3%;
    height: 97px;
}
.dep-left{
    width: 18%;
    float: left;
}
.dep-left img{
    width: 100%;
}
.dep-right{
    width: 75%;
    float: right;
}
.dep-right h3{
    font-size: 17px;
    letter-spacing: 2px;
    font-weight: normal;
}
.dep-right p{
    color: #a0a0a0;
    font-size: 14px;
    line-height: 25px;
}
.time{
    width: 100%;
    height: auto;
    background-image: url(../images/tiem.png);
    display: inline-block;
    padding: 5% 0;
}
.venue{
    width: 100%;
    height: auto;
    display: inline-block;
    margin: 4% 0;
}


.container {
    width: 100%;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #3498db;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 4% 0;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
}

.coach-card {
    flex: 0 0 calc(24% - 23.5px); /* 4 cards per row with gap */
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    padding: 19px;
    text-align: center;
    min-height: 320px;
    /* display: flex; */
    /* flex-direction: column; */
    justify-content: center;
    /* align-items: center; */
}

.coach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.coach-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #f1f8ff;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.coach-name {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.coach-title {
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 8px;
    line-height: 1.4;
}

.coach-phone {
    font-size: 15px;
    color: #3498db;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.phone-icon {
    font-size: 18px;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #3498db;
    z-index: 10;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: #3498db;
    color: white;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
}

.nav-btn.prev {
    left: 20px;
}

.nav-btn.next {
    right: 20px;
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-btn:disabled:hover {
    background-color: white;
    color: #3498db;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #3498db;
    transform: scale(1.2);
}
.coach-avatar-placeholder img{

    text-align: center;

    margin: 0 auto;
}
/* 响应式设计 */
@media (max-width: 992px) {
    .coach-card {
        flex: 0 0 calc(33.333% - 20px); /* 3 cards per row */
    }

    .nav-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .coach-card {
        flex: 0 0 calc(50% - 15px); /* 2 cards per row */
        min-height: 300px;
        padding: 25px;
    }

    .coach-avatar {
        width: 100px;
        height: 100px;
    }

    .coach-name {
        font-size: 20px;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .nav-btn.prev {
        left: 10px;
    }

    .nav-btn.next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    body {
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .coach-card {
        flex: 0 0 88%; /* 1 card per row */
        min-height: auto;
        padding: 9px;
        margin: 0 5%;
    }

    .carousel-wrapper {
        gap: 0px;
        width: 59%;
    }

    .coach-avatar {
        width: 90px;
        height: 90px;
    }

    .coach-name {
        font-size: 18px;
    }

    .coach-title {
        font-size: 14px;
    }

    .coach-phone {
        font-size: 14px;
    }

    .nav-btn {
        display: none;
    }

    .indicators {
        margin-top: 20px;
    }
}

@media screen and (max-width: 1024px) and (min-width: 0px) {
    .index {
        width: 90%;
        margin: 0 auto;
    }
    .ab-left {
        width: 100%;
        float: left;
        margin-right: 5%;
    }
    .ab-right {
        width: 100%;
        float: left;
        margin-top: 5%;
    }
    .abr-top h3 {
        font-size: 28px;
        letter-spacing: 6px;
        padding: 2% 0;
    }
    .abr-top p {
        font-size: 14px;
        line-height: 29px;
    }
    .abr-bottom li {
        width: 100% !important;
        float: left;
        margin-bottom: 5%;
    }
    .abr-bottom li img {
        width: 6%;
        float: left;
    }
    .abr-bottom li p {
        float: left;
        margin-left: 2%;
        font-size: 14px;
        width: 90%;
    }
    .dep-title h3 {
        font-size: 25px;
        letter-spacing: 5px;
        font-weight: 500;
        margin-bottom: 2%;
    }
    .department-box {
        width: 100%;
        height: auto;
        display: inline-block;
        margin-top: 5%;
    }
    .department-box li {
        width: 46%;
        float: left;
        padding: 0 2%;
        margin-bottom: 3%;
        height: auto;
    }
    .dep-left {
        width: 100%;
        float: left;
        text-align: center;
        margin: 0 auto;
        display: inline-block;
    }
    .dep-left img {
        width: 45%;
        text-align: center;
        margin: 0 auto;
        margin-bottom: 6%;
    }
    .dep-right {
        width: 100%;
        float: right;
        text-align: center;
    }
    .dep-right h3 {
        font-size: 17px;
        letter-spacing: 2px;
        font-weight: normal;
        margin-bottom: 5%;
    }
    .department-box li {
        width: 46%;
        float: left;
        padding: 0 2%;
        margin-bottom: 5%;
        height: auto;
    }
    .diepic .swiper-button-prev {
        left: -6%;
        top: 50%;
        width: 35px !important;
        height: 60px;
        border-radius: 50%;
        background: none;
    }
    .diepic .swiper-button-next {
        right: -6%;
        background: none;
        border-radius: 50%;
        top: 50%;
        width: 35px !important;
        height: 60px;
    }
    .diepic .swiper-slide {
        width: 55.7% !important;
        height: auto;
        transition: all .4s cubic-bezier(.4, 0, .2, 1);
        cursor: pointer;
        background: #fff;
        box-shadow: 0 6px 10px 0 rgba(20, 34, 67, .1);
        text-align: center;
        margin: 0 auto;
        display: inline-block;
        padding-bottom: 0px;
    }
    .diepic {
        position: relative;
        width: 83% !important;
        margin: 40px auto 0 auto;
    }
    .diepic .swiper-slide img {
        width: 140% !important;
        height: auto;
        display: block;
        box-shadow: 0 6px 10px 0 rgba(20, 34, 67, .1);
    }
    .ewm {
        text-align: center;
        margin: 0 auto;
        position: unset;
        top: 0px;
        left: 0px;
        top: 22%;
    }
    .ewm p {
        color: #000;
        padding: 2% 0;
        font-size: 14px;
        letter-spacing: 2px;
    }
    .dep-right p {
        color: #a0a0a0;
        font-size: 14px;
        line-height: 25px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
    }
    .ewm h3 {
        font-size: 21px;
        color: #000;
    }
    .footer {
        width: 100%;
        height: auto;
        display: inline-block;
        margin-bottom: 5%;
    }
    .coach-avatar-placeholder img{
        width: 80% !important;
        text-align: center;
        margin: 0 auto;
    }
    .container {
        width: 100%;
        margin-top: 6%;
    }
    .carousel-container {
        position: relative;
        overflow: hidden;
        padding: 4% 0;
        width: 100%;
        height: auto;
        display:inline-block;
    }
    .indicator {
        width: 12px;
        height: 6px;
        border-radius: 50%;
        background-color: #ddd;
        cursor: pointer;
        transition: all 0.3s ease;
    }
}
