@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 20px;
    }

    nav {
        height: auto;
        padding: 10px 0;
    }

    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1000;
        border-radius: 0;
    }

    .hamburger span {
        width: 100%;
        height: 3px;
        background: white;
        transition: 0.3s;
        border-radius: 3px;
    }

    /* Transform hamburger to X */
    body.menu-open .hamburger span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }
    body.menu-open .hamburger span:nth-child(2) {
        opacity: 0;
    }
    body.menu-open .hamburger span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }

    nav ul {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: var(--green);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 999;
        margin: 0;
        padding: 0;
    }

    body.menu-open nav ul {
        display: flex;
    }

    body.menu-open {
        overflow: hidden;
    }

    nav ul li a {
        font-size: 24px;
        font-weight: 500;
    }

    .header {
        height: auto;
        min-height: 50vh;
        padding: 16px 20px;
    }

    .info-register, .picture .chip {
        display: none;
    }

    .info-register.mobile {
        display: flex;
        width: 100%;
        color: white;
        transform: none;
        width: 90%;
        margin: 0 auto;
        position: relative;
        padding: 24px;
        gap: 16px;
    }

    .section.reverse-mobile {
        flex-direction: column-reverse;
    }

    .section {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }

    .fixed-height {
        height: auto;
    }

    .w-5, .w-7, .w-10 {
        width: 100% !important;
        margin-left: 0 !important;
    }

    .row {
        margin-bottom: 0px;
    }

    .picture {
        height: 250px;
        margin-bottom: 20px;
    }

    .popup .form {
        width: 90%;
        padding: 20px;
    }

    .buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .buttons button {
        width: 100%;
    }

    footer {
        height: auto;
        padding: 20px 0;
        margin-top: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
