@media screen and (min-width: 2000px) {
    .container {
        padding: 0 288px;
    }
}
@media(min-width: 1601px) and (max-width: 1999px) {
    .container {
        padding: 0 120px;
    }
}
@media(min-width: 1281px) and (max-width: 1600px) {
    .container {
        padding: 0 100px;
    }
}
@media (min-width: 1081px) and (max-width: 1280px) {
    .container {
        padding: 0 50px;
    }
}
@media (min-width: 769px) and (max-width: 1080px) {
    .container {
        padding: 0 25px;
    }
}

@media (max-width: 1399px) {
    .hero-section {
        height: 550px;
    }
    .carousel-caption h1 {
        font-size: 42px;
    }

    .section {
        padding: 70px 0;
    }
}

/* 平板设备 (768px - 991px) */
@media (max-width: 991px) {
    body {
        font-size: 15px;
    }
    /* 头部导航 */
    .main-nav {
        display: none;
    }
    .language-switch {
        display: none;
    }

    /* 轮播图 */
    .hero-section {
        margin-top: 70px;
        height: 500px;
    }
    .carousel-caption h1 {
        font-size: 36px;
    }
    .carousel-caption p {
        font-size: 18px;
    }
    .carousel-controls {
        padding: 0 20px;
    }

    /* 通用样式 */
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 30px;
    }

    /* 新闻资讯 */
    .news-tabs {
        max-width: 100%;
    }
    .news-tab-buttons {
        flex-wrap: wrap;
    }

    /* 合作伙伴 */
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    .partner-logo {
        height: 80px;
        padding: 15px;
    }
}

/* 小平板和大型手机 (576px - 767px) */
@media (max-width: 767px) {
    /* 轮播图 */
    .hero-section {
        height: 450px;
    }
    .carousel-caption h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .carousel-caption p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .carousel-caption .btn {
        padding: 10px 25px;
        font-size: 14px;
    }
    .carousel-controls {
        display: none;
    }
    .carousel-indicators {
        bottom: 20px;
        gap: 8px;
    }
    .indicator {
        width: 10px;
        height: 10px;
    }

    /* 通用样式 */
    .container {
        padding: 0 5%;
    }
    .section {
        padding: 50px 0;
    }
    .section-title {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .section-subtitle {
        font-size: 16px;
    }
    .section-header {
        margin-bottom: 40px;
    }

    /* 新闻资讯 */
    .news-tab-buttons {
        gap: 10px;
        margin-bottom: 30px;
    }
    .news-tab-btn {
        padding: 8px 20px;
        font-size: 14px;
    }
    .news-item {
        padding: 20px;
    }
    .news-title {
        font-size: 16px;
    }
    .news-excerpt {
        font-size: 14px;
    }

    /* 合作伙伴 */
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    .partner-logo {
        height: 70px;
        padding: 10px;
    }

    /* 页脚 */
    .footer {
        padding-top: 50px;
    }
    .footer-content {
        gap: 0;
        grid-template-columns: 1fr;
        margin-bottom: 20px;
    }
    .social-links {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
    .footer-section .foot-phone span {
        font-size: var(--fontsize20);
    }
}

/* 小型手机 (<576px) */
@media (max-width: 575px) {
    /* 通用样式 */
    .section {
        padding: 40px 0;
    }
    .section-title {
        font-size: 24px;
    }
    .section-subtitle {
        font-size: 14px;
    }
    .section-header {
        margin-bottom: 30px;
    }

    /* 合作伙伴 */
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .partner-logo {
        height: 60px;
        padding: 8px;
    }
    .partner-logo img {
        max-width: 80px;
        max-height: 40px;
    }

    /* 留言表单 */
    .contact-form-section {
        padding: 50px 0;
    }
    .form-container {
        padding: 12px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 10px;
    }

    /* 页脚 */
    .footer {
        padding: 40px 0 10px;
    }
    .footer-logo h3 {
        font-size: 20px;
    }
    .footer-title {
        font-size: 16px;
    }
    .footer-links a {
        font-size: 14px;
    }
}