/* Large Devices (Desktops) */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

/* Medium Devices (Tablets) */
@media screen and (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    /* Header */
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    /* Stats Section */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Services Section */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Projects Section */
    .project-slide img {
        height: 350px;
    }

    /* Contact Section */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Small Devices (Mobile) */
@media screen and (max-width: 768px) {
    /* Typography */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    /* Hero Section */
    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    /* Stats Section */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Milestones */
    .milestones {
        grid-template-columns: 1fr;
    }

    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Projects Section */
    .project-slide img {
        height: 300px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Extra Small Devices */
@media screen and (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    /* Hero Section */
    .slide-content h1 {
        font-size: 2rem;
    }

    /* Contact Form */
    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
    }

    /* Partner Logos */
    .partner-slide img {
        max-width: 120px;
    }
}

/* Mobile Menu Styles */
.mobile-menu-open {
    overflow: hidden;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    padding: 2rem;
    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 1rem;
}

.mobile-nav a {
    color: var(--white);
    font-size: 1.2rem;
    text-decoration: none;
}

.close-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}


/* 响应式优化 */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .team-slider {
        padding: 0 20px;
    }
    
    .team-slide img {
        height: 300px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}
