/* 响应式样式 */

/* 大型设备（桌面，992px 及以上） */
@media (min-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    .hero-section {
        padding: 100px 0 80px;
    }
}

/* 中型设备（平板电脑，768px 及以上） */
@media (min-width: 768px) and (max-width: 991px) {
    h1 {
        font-size: 2.3rem;
    }
    
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        flex: 0 0 100%;
    }
    
    .about-image {
        margin-bottom: 30px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .feature-box {
        min-width: 220px;
    }
}

/* 小型设备（手机，768px 以下） */
@media (max-width: 767px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .stats-container {
        flex-direction: column;
    }
    
    .stat-box {
        margin-bottom: 15px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        flex: 0 0 100%;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .features-grid {
        flex-direction: column;
    }
    
    .feature-box {
        margin-bottom: 20px;
    }
    
    .testimonials-grid {
        flex-direction: column;
    }
    
    .testimonial-box {
        margin-bottom: 20px;
    }
    
    .sessions-features {
        flex-wrap: wrap;
    }
    
    .session-feature {
        flex: 0 0 50%;
        margin-bottom: 20px;
    }
    
    .schedule-container {
        flex-direction: column;
        align-items: center;
    }
    
    .schedule-box {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
}

/* 超小型设备（小型手机，576px 以下） */
@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-section {
        padding: 50px 0 30px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .session-feature {
        flex: 0 0 100%;
    }
    
    /* 调整底部固定按钮在小屏幕上的样式 */
    .whatsapp-button {
        max-width: 95%;
        font-size: 0.9rem;
        padding: 12px 20px;
        margin-bottom: 10px;
    }
}

/* 为底部添加额外的内边距，防止内容被固定按钮遮挡 */
body {
    padding-bottom: 80px;
}

/* 确保页脚内容不被底部按钮遮挡 */
.site-footer {
    margin-bottom: 70px;
}

/* 桌面设备上的按钮样式 */
@media (min-width: 992px) {
    .whatsapp-button {
        width: 400px;
    }
}

/* 平板设备上的按钮样式 */
@media (min-width: 768px) and (max-width: 991px) {
    .whatsapp-button {
        width: 350px;
    }
}
