/* Hamburger Menu Cross Button Fix */

.header-bar {
    position: relative;
    cursor: pointer;
    width: 25px;
    height: 20px;
    margin-left: 30px;
}

.header-bar span {
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 3px;
    transition: all 0.3s ease;
    background-color: #fff;
    left: 0;
    border-radius: 1px;
}

.header-bar span:first-child {
    top: 0;
}

.header-bar span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.header-bar span:last-child {
    bottom: 0;
}

/* Active state - proper cross */
.header-bar.active span:first-child {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

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

.header-bar.active span:last-child {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Mobile specific adjustments */
@media screen and (max-width: 576px) {
    .header-bar {
        width: 20px;
        height: 16px;
    }

    .header-bar span {
        height: 2px;
        width: 20px;
    }
}