.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .main-header {
        background-color: white;
    }

    .nav-container {
        padding: 10px 20px;
        position: relative;
    }

    .hamburger {
        display: block;
        position: fixed;
        right: 15px;
        top: 0px;
        z-index: 1000;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: white;
        padding: 80px 20px;
        flex-direction: column;
        align-items: center;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-item {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    .nav-trigger {
        font-size: 1.2em;
    }

    .flyout {
        position: static;
        display: none;
        width: 100%;
        background: none;
        box-shadow: none;
        padding: 10px 0;
    }

    .nav-item:hover .flyout {
        display: block;
    }

    .flyout a {
        display: block;
        padding: 10px;
        color: #666;
    }
}