@media only screen and (max-width: 1160px) {
    .section {
        padding: 0 50px;
    }

    .hero h1 {
        font-size: 60px;
    }

    .hero h2 {
        font-size: 20px;
    }

    .hero p {
        font-size: 16px;
    }
}

@media only screen and (max-width: 900px) {
    .header {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 20px;
    }

    .header .nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        min-height: 70vh;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero h2 {
        font-size: 18px;
    }

    .section {
        padding: 0 30px;
        margin-top: 100px;
    }

    .section .title {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .section .title .line {
        display: none;
    }

    .card {
        width: 100%;
        min-width: unset;
    }

    .projects-gallery {
        grid-template-columns: 1fr;
    }

    .modal-close {
        top: 20px;
        right: 20px;
        font-size: 40px;
    }

    .media {
        gap: 5px;
    }

    .media img {
        width: 40px;
    }

    .community-box {
        width: 100%;
        padding: 30px;
    }

    .team-member {
        width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    .header .logo h1 {
        font-size: 20px;
    }

    .header .nav {
        gap: 15px;
    }

    .header .nav a {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero h2 {
        font-size: 16px;
    }

    .hero p {
        font-size: 14px;
    }

    .section {
        padding: 0 20px;
    }

    .section .title h1 {
        font-size: 28px;
    }

    .media {
        bottom: 15px;
        right: 15px;
    }

    .media img {
        width: 35px;
    }

    .community-box h3 {
        font-size: 22px;
    }

    .community-box p {
        font-size: 14px;
    }

    .discord-btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .team-avatar {
        width: 120px;
        height: 120px;
    }

    .team-name {
        font-size: 20px;
    }
}
