@media (max-width: 1100px) {
    .nav {
        position: fixed;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 2rem;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: #ffffff11;
        backdrop-filter: blur(5px);
        border-bottom: 1px solid rgba(229, 231, 235, 0.5);
        transition: transform 0.3s ease;
    }

    .nav-top {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 100%;
        height: 48px;
    }

    .nav-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .nav-logo a {
        text-align: center;
        font-size: 1.25rem;
        margin: 0;
        padding-left: 0;
        padding-top: 0;
    }

    .burger {
        display: block;
        font-size: 2rem;
        background: none;
        border: none;
        color: #1f2937;
        cursor: pointer;
        position: absolute;
        right: 0rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    .lang-toggle-wrapper.mobile-only {
        display: flex;
        align-items: center;
        position: absolute;
        left: 0rem;
        top: 35%;
        transform: translateY(-50%);
        z-index: 1002;
    }

    .lang-toggle-wrapper.mobile-only .lang-button {
        background: none;
        border: none;
        padding: 0;
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .lang-toggle-wrapper.mobile-only .lang-button span {
        display: none;
    }

    .lang-toggle-wrapper.mobile-only .lang-button img {
        width: 28px;
        height: auto;
    }

        .lang-toggle-wrapper.desktop-only {
            display: none !important;
        }
        
    .nav-links {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        overflow: hidden;
        max-height: 0;
        transition: max-height 1s ease-out;
        gap: 0.5rem;
        padding: 0 1rem;
        text-align: left;
    }

    .nav-links.active {
        max-height: 600px;
        padding: 1rem 1.5rem;
    }

    .nav-links a {
        all: unset;
        display: block;
        font-size: 1.1rem;
        color: #1f2937;
        font-weight: 500;
        padding: 0.5rem 0;
        border-bottom: 1px solid #e5e7eb;
        cursor: pointer;
        transition: color 0.3s ease;
    }

    @media (max-width: 768px) {

        .nav-links a:hover,
        .nav-links a.active-section {
            background-color: transparent;
            color: #1f2937;
            border: none;
            outline: none;
            text-decoration: none;
        }
    }

    .lang-toggle-wrapper {
        justify-content: center;
        margin-top: 0.5rem;
    }

    section#hero.hero {
        padding-top: 0rem !important;
        min-height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        padding: 1rem !important;
        flex-wrap: nowrap !important;
    }

    section#hero.hero .hero-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        padding: 0 1rem !important;
        gap: 2rem !important;
        flex-wrap: nowrap !important;
    }

    .hero-image {
        order: 1;
        margin: 0;
        padding: 0;
        text-align: center;
        margin-top: 5rem;
        margin-right: 0 !important;
        padding-top: 0 !important;
    }

    .hero-text {
        order: 2;
        text-align: center;
        align-items: center;
        justify-content: center;
        display: flex;
        flex-direction: column;
        margin-left: 0 !important;
        margin-top: 0rem;
        flex: none;
    }

    h1,
    h2 {
        margin-top: -1rem;
    }

    .techstack-card {
        order: 3;
        position: static !important;
        width: 100% !important;
        max-width: 320px !important;
        text-align: center !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 auto !important;
        display: block !important;
        box-sizing: border-box !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .hero-buttons {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        margin-top: 0rem;
    }

    .hero-buttons img {
        height: 40px;
        object-fit: contain;
        transition: transform 0.2s ease;
    }

    .hero-buttons img:hover {
        transform: scale(1.1);
    }

    section {
        padding: 2rem 1rem;
        min-height: 100vh;
    }

    footer {
        padding: 2rem 1rem;
        min-height: 100vh;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .card {
        padding: 1rem;
    }

    .badge2-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .badge2 {
        max-width: 400px;
    }

    .footer-contact-container {
        flex-direction: column !important;
        align-items: center;
    }

    .footer-box {
        width: 100%;
        max-width: 300px;
    }
}