.appointmentBox {
    background-color: #165DFF;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.appointmentBox::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%),
                      radial-gradient(circle at 40% 80%, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%);
    z-index: 1;
}
.appointment-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.appointment-content h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
}
.appointment-content p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}
.appointment-btn {
    background-color: #fff;
    color: #1e88e5;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}
.appointment-btn:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .appointmentBox {
        padding: 40px 15px;
    }
    .appointment-content h2 {
        font-size: 20px;
    }
    .appointment-content p {
        font-size: 14px;
    }
    .appointment-btn {
        padding: 10px 25px;
        font-size: 13px;
    }
}
@media (max-width: 480px) {
    .appointmentBox {
        padding: 30px 10px;
    }
    .appointment-content h2 {
        font-size: 18px;
    }
    .appointment-content p {
        font-size: 13px;
    }
    .appointment-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* schoolBox styles */
.schoolBox {
    padding: 40px 10px;
    background-color: #fff;
}
.school-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}
.school-header {
    text-align: center;
    margin-bottom: 40px;
}
.school-header h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}
.school-header p {
    font-size: 16px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}
.school-carousel-container {
    margin-bottom: 10px;
    overflow: hidden;
}
.school-carousel {
    padding: 5px 0;
    display: flex;
    gap: 30px;
    white-space: nowrap;
    width: max-content;
    animation: scroll 120s linear infinite;
}
/* 为每个轮播容器设置不同的动画延迟，确保错开 */
.school-carousel-container:nth-child(1) .school-carousel {
    animation-delay: 0s;
    animation-duration: 120s;
}
.school-carousel-container:nth-child(2) .school-carousel {
    animation-delay: -40s;
    animation-duration: 125s;
}
.school-carousel-container:nth-child(3) .school-carousel {
    animation-delay: -60s;
    animation-duration: 130s;
}
.school-carousel:hover {
    animation-play-state: paused;
}
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.school-carousel-container {
    position: relative;
}
.school-carousel-container::before,
.school-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    z-index: 1;
}
.school-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}
.school-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}
.school-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 15px 30px;
    min-width: 280px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: left;
    flex-shrink: 0;
}
.school-logo {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #f5f5f5;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.school-item span {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}
.school-footer {
    text-align: center;
    margin-top: 20px;
}
.school-more-btn {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #1e88e5;
    border-radius: 20px;
    color: #1e88e5;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.school-more-btn:hover {
    background-color: #1e88e5;
    color: #fff;
}

@media (max-width: 768px) {
    .schoolBox {
        padding: 40px 15px;
    }
    .school-header h2 {
        font-size: 20px;
    }
    .school-header p {
        font-size: 14px;
    }
    .school-carousel {
        gap: 25px;
    }
    .school-item {
        width: 240px;
        padding: 12px;
    }
    .school-logo {
        width: 55px;
        height: 55px;
        margin-right: 8px;
    }
    .school-item span {
        font-size: 13px;
    }
    .school-more-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .schoolBox {
        padding: 30px 10px;
    }
    .school-header h2 {
        font-size: 18px;
    }
    .school-header p {
        font-size: 12px;
    }
    .school-carousel {
        gap: 20px;
    }
    .school-item {
        width: 200px;
        padding: 10px;
    }
    .school-logo {
        width: 55px;
        height: 55px;
        margin-right: 6px;
    }
    .school-item span {
        font-size: 12px;
    }
    .school-more-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
}
.footerBox {
    background-color: #000;
    color: #fff;
    padding: 40px 15px;
    box-sizing: border-box;
    overflow: hidden;
}
@media (max-width: 768px) {
    .footerBox {
        padding: 30px 10px;
    }
}
@media (max-width: 480px) {
    .footerBox {
        padding: 20px 5px;
    }
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1500px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.footer-logo {
    flex: 0 0 auto;
    min-width: 140px;
}
.logo-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.logo-circle {
    width: 40px;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-text {
    font-size: 18px;
    font-weight: bold;
    margin-top: 5px;
}
.footer-nav {
    flex: 1;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 20px;
    min-width: 0;
}
.nav-column {
    margin: 0 15px;
}
.nav-column h4 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}
.nav-column ul {
    list-style: none;
}
.nav-column ul li {
    font-size: 12px;
    margin-bottom: 8px;
}
.nav-column ul li a {
    color: #fff;
    text-decoration: none;
}
.nav-column ul li a:hover {
    text-decoration: underline;
}
.footer-follow {
    flex: 0 0 auto;
    min-width: 140px;
    text-align: right;
}
.footer-follow h4 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}
.qrcode {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.qrcode-image {
    width: 100px;
    height: 100px;
    background-color: #fff;
    margin-bottom: 10px;
    position: relative;
}
.qrcode-image::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid #000;
}
.qrcode-text {
    font-size: 12px;
}
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    max-width: 1500px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.copyright p {
    font-size: 12px;
    margin-bottom: 5px;
}
.designer p {
    font-size: 12px;
}
@media (max-width: 1400px) {
    .footer-content {
        gap: 25px;
    }
    .footer-nav {
        margin: 0 15px;
        gap: 15px;
    }
    .nav-column {
        margin: 0 10px;
        min-width: 120px;
    }
    .nav-column h4 {
        font-size: 13px;
    }
    .nav-column ul li {
        font-size: 11px;
    }
    .qrcode-image {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 1200px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    .footer-logo {
        margin-bottom: 20px;
    }
    .footer-nav {
        width: 100%;
        max-width: 800px;
        margin: 0;
        justify-content: center;
        gap: 25px;
    }
    .nav-column {
        margin: 0 15px;
        min-width: 140px;
    }
    .footer-follow {
        margin-top: 20px;
        text-align: center;
    }
    .qrcode {
        align-items: center;
    }
    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}


@media (max-width: 768px) {
    .footerBox {
        padding: 30px 20px;
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 30px;
    }
    .footer-logo {
        flex: 0 0 50px;
        margin-bottom: 20px;
    }
    .logo-text {
        font-size: 16px;
    }
    .footer-nav {
        flex-direction: column;
        align-items: center;
        padding-left: 0;
        width: 100%;
        margin-bottom: 20px;
    }
    .nav-column {
        margin: 15px 0;
        width: 100%;
        max-width: 300px;
    }
    .nav-column h4 {
        font-size: 14px;
        margin-bottom: 10px;
        border-bottom: 1px solid #333;
        padding-bottom: 5px;
        width: 100%;
        text-align: center;
    }
    .nav-column ul {
        display: block;
        text-align: center;
    }
    .nav-column ul li {
        margin: 5px 0;
        font-size: 12px;
    }
    .footer-follow {
        margin-top: 20px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .qrcode {
        align-items: center;
    }
    .qrcode-image {
        width: 80px;
        height: 80px;
    }
    .footer-bottom {
        padding-top: 15px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .copyright {
        margin-bottom: 10px;
    }
    .copyright p,
    .designer p {
        font-size: 10px;
        text-align: center;
    }
}
@media (max-width: 480px) {
    .footerBox {
        padding: 20px 15px;
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-logo {
        flex: 0 0 20px;
        margin-bottom: 15px;
    }
    .logo-circle {
        width: 30px;
        height: 30px;
    }
    .logo-circle::before {
        width: 18px;
        height: 18px;
    }
    .logo-text {
        font-size: 14px;
    }
    .footer-nav {
        padding-left: 0;
        width: 100%;
        margin-bottom: 15px;
    }
    .nav-column {
        margin: 10px 0;
        width: 100%;
        max-width: 250px;
    }
    .nav-column h4 {
        font-size: 13px;
        text-align: center;
    }
    .nav-column ul {
        text-align: center;
    }
    .footer-follow {
        margin-top: 15px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .qrcode {
        align-items: center;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .nav-column ul li {
        font-size: 11px;
    }
    .qrcode-image {
        width: 70px;
        height: 70px;
    }
    .qrcode-text {
        font-size: 11px;
    }
}