.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px; /* Tăng chiều cao logo */
    width: auto;
    object-fit: contain;
}

.nav-menu {
    margin-left: auto;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
}

.nav-link {
    color: #1A1A1A;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF5C00;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #FF5C00;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-join {
    background-color: #FF5C00;
    color: #fff;
    padding: 12px 28px; /* Tăng padding cho nút */
    border-radius: 20px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: 40px; /* Đặt chiều cao cố định */
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-join:hover {
    background-color: #E65200;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: #1A1A1A;
    margin: 2px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 16px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 16px;
    }

    .mobile-menu-toggle {
        display: flex;
        margin-left: 16px;
    }

    .header-wrapper {
        padding: 12px 0;
    }

    .logo img {
        height: 35px; /* Giảm kích thước trên tablet */
    }
    
    .btn-join {
        padding: 10px 24px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    .logo img {
        height: 32px; /* Giảm kích thước trên mobile */
    }
    
    .btn-join {
        padding: 8px 20px;
        font-size: 14px;
        height: 32px;
    }
    
    .header-wrapper {
        padding: 10px 0;
        gap: 20px;
    }
}